version update Fix: diff -ruN /usr/ports/sysutils/ldap-account-manager/Makefile /root/ldap-account-manager/Makefile --- /usr/ports/sysutils/ldap-account-manager/Makefile 2014-04-20 09:36:26.000000000 +0300 +++ /root/ldap-account-manager/Makefile 2014-06-14 23:07:48.956836001 +0300 @@ -1,7 +1,7 @@ # $FreeBSD: head/sysutils/ldap-account-manager/Makefile 351612 2014-04-20 06:36:26Z rm $ PORTNAME= ldap-account-manager -PORTVERSION= 4.5 +PORTVERSION= 4.6 CATEGORIES= sysutils www MASTER_SITES= SF/${SHORTNAME}/LAM/${PORTVERSION} diff -ruN /usr/ports/sysutils/ldap-account-manager/distinfo /root/ldap-account-manager/distinfo --- /usr/ports/sysutils/ldap-account-manager/distinfo 2014-04-20 09:34:11.000000000 +0300 +++ /root/ldap-account-manager/distinfo 2014-06-14 23:08:02.638832621 +0300 @@ -1,2 +1,2 @@ -SHA256 (ldap-account-manager-4.5.tar.bz2) = 7652475905fdfb27b40feaa6c0dc39dc78caa6465e1654539799f5c40ae8f714 -SIZE (ldap-account-manager-4.5.tar.bz2) = 11729338 +SHA256 (ldap-account-manager-4.6.tar.bz2) = df9f267c33ddce52e598ac540fecce0f3dc2546a0cc339f8200f39a1baa411f1 +SIZE (ldap-account-manager-4.6.tar.bz2) = 12358788
Maintainer update. Fix Synopsis.
The plist looks wrong: ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist Error: Orphaned: %%WWWDIR%%/config/config.cfg Error: Orphaned: %%WWWDIR%%/config/lam.conf
yes, config's does't exist in package. Please look in Makefile CONFIGS= config.cfg lam.conf .if !exists(${STAGEDIR}${WWWDIR}/config/${CONFIG}) <------>@${CP} ${STAGEDIR}${WWWDIR}/config/${CONFIG}_sample ${STAGEDIR}${WWWDIR}/config/${CONFIG} .endif
Then please fix either the Makefile or the plist, as I can't commit something that does not pass check-plist. While at it, how about replacing those manual TMPPLIST manipulation with a separate pkg-plist using keywords such as @sample?
http://www.freebsd.org/doc/en/books/porters-handbook/plist-config.html Note: The sample configuration files should always have the .sample suffix. If for some historical reason you cannot use the standard suffix, you can still use this construct: But, I have files with name config.cfg_sample lam.conf_sample. How set ?
Created attachment 144013 [details] lam46_1 fixed config @sample in plist
(In reply to Raphael Kubo da Costa from comment #4) > Then please fix either the Makefile or the plist, as I can't commit > something that does not pass check-plist. > > While at it, how about replacing those manual TMPPLIST manipulation with a > separate pkg-plist using keywords such as @sample? I fix plist
A commit references this bug: Author: rakuco Date: Sun Jun 22 14:39:50 UTC 2014 New revision: 358807 URL: http://svnweb.freebsd.org/changeset/ports/358807 Log: - Update to 4.6. - Use the @sample helper for handling config files. PR: 191037 Submitted by: basil@vpm.net.ua (maintainer) Changes: head/sysutils/ldap-account-manager/Makefile head/sysutils/ldap-account-manager/distinfo
Committed, thank you. I still don't get why you don't use a regular plist file instead of directly manipulating TMPPLIST, or why you don't use the port's autoconf infrastructure, though...
(In reply to Raphael Kubo da Costa from comment #9) > Committed, thank you. > > I still don't get why you don't use a regular plist file instead of directly > manipulating TMPPLIST, or why you don't use the port's autoconf > infrastructure, though... It's worked :) and not required many time for creating port update