aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Zander <riggs@FreeBSD.org>2016-12-31 09:07:13 +0000
committerThomas Zander <riggs@FreeBSD.org>2016-12-31 09:07:13 +0000
commite09e151f86bb332d05e771473513595e1ed12ec1 (patch)
tree242549a514af8988237a56addee676b74389799c
parent0394719c85b03742412da895cd11609f434903c2 (diff)
downloadports-e09e151f86bb332d05e771473513595e1ed12ec1.tar.gz
ports-e09e151f86bb332d05e771473513595e1ed12ec1.zip
Update to upstream version 5.6
Detailed maintainer log: - Upgrade to 5.6 - fixed warning about @exec depreciation in plist While on it: - WANT_PHP_WEB -> USES php:web PR: 215620 Submitted by: basil@vpm.net.ua (maintainer)
Notes
Notes: svn path=/head/; revision=430098
-rw-r--r--sysutils/ldap-account-manager/Makefile17
-rw-r--r--sysutils/ldap-account-manager/distinfo6
2 files changed, 11 insertions, 12 deletions
diff --git a/sysutils/ldap-account-manager/Makefile b/sysutils/ldap-account-manager/Makefile
index a627a2e6a6a4..0e824b45f423 100644
--- a/sysutils/ldap-account-manager/Makefile
+++ b/sysutils/ldap-account-manager/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= ldap-account-manager
-PORTVERSION= 5.5
+PORTVERSION= 5.6
CATEGORIES= sysutils www
MASTER_SITES= SF/${SHORTNAME}/LAM/${PORTVERSION}
@@ -16,9 +16,8 @@ RUN_DEPENDS= p5-Quota>=0:sysutils/p5-Quota \
NO_BUILD= yes
NO_ARCH= yes
-USES= gettext perl5 tar:bzip2
+USES= gettext perl5 php:web tar:bzip2
USE_PHP= gettext hash iconv ldap mcrypt pcre session simplexml spl xml json zip openssl
-WANT_PHP_WEB= yes
SHORTNAME= lam
PORTDOCS= docs HISTORY README copyright
@@ -30,10 +29,10 @@ WRITEABLES= config sess tmp
OPTIONS_DEFINE= DOCS
do-install:
- @${ECHO_CMD} '@exec if [ -f %D/${WWWDIR_REL}/config/shells ]; then ${RM} %D/${WWWDIR_REL}/config/shells; fi' >> ${TMPPLIST}
+ @${ECHO_CMD} '@preexec if [ -f %D/${WWWDIR_REL}/config/shells ]; then ${RM} %D/${WWWDIR_REL}/config/shells; fi' >> ${TMPPLIST}
.for CONFIG in ${CONFIGS}
@${ECHO_CMD} '@sample ${WWWDIR_REL}/config/${CONFIG}.sample' >> ${TMPPLIST}
- @${ECHO_CMD} '@exec if [ -f %D/${WWWDIR_REL}/config/${CONFIG}_sample ]; then ${RM} %D/${WWWDIR_REL}/config/${CONFIG}_sample; fi' >> ${TMPPLIST}
+ @${ECHO_CMD} '@postexec if [ -f %D/${WWWDIR_REL}/config/${CONFIG}_sample ]; then ${RM} %D/${WWWDIR_REL}/config/${CONFIG}_sample; fi' >> ${TMPPLIST}
.endfor
.for I in ${LAMDATA}
@${FIND} -s ${WRKSRC}/${I} -type f -not -name '*.sample' | ${SED} -e 's,^${WRKSRC},${WWWDIR_REL},' >> ${TMPPLIST}
@@ -42,11 +41,11 @@ do-install:
@${ECHO_CMD} '@dir ${WWWDIR_REL}' >> ${TMPPLIST}
@cd ${WRKSRC} && ${COPYTREE_SHARE} "${LAMDATA}" ${STAGEDIR}${WWWDIR}
.for DIR in ${WRITEABLES}
- @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN} %D/${WWWDIR_REL}/${DIR}' >> ${TMPPLIST}
- @${ECHO_CMD} '@exec ${CHMOD} -R u+w %D/${WWWDIR_REL}/${DIR}' >> ${TMPPLIST}
+ @${ECHO_CMD} '@postexec ${CHOWN} -R ${WWWOWN} %D/${WWWDIR_REL}/${DIR}' >> ${TMPPLIST}
+ @${ECHO_CMD} '@postexec ${CHMOD} -R u+w %D/${WWWDIR_REL}/${DIR}' >> ${TMPPLIST}
.endfor
- @${ECHO_CMD} '@exec ${CHOWN} ${WWWOWN} %D/${WWWDIR_REL}/${DIR}/lib/lamdaemon.pl' >> ${TMPPLIST}
- @${ECHO_CMD} '@exec ${CHMOD} u+x %D/${WWWDIR_REL}/${DIR}/lib/lamdaemon.pl' >> ${TMPPLIST}
+ @${ECHO_CMD} '@postexec ${CHOWN} ${WWWOWN} %D/${WWWDIR_REL}/${DIR}/lib/lamdaemon.pl' >> ${TMPPLIST}
+ @${ECHO_CMD} '@postexec ${CHMOD} u+x %D/${WWWDIR_REL}/${DIR}/lib/lamdaemon.pl' >> ${TMPPLIST}
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/sysutils/ldap-account-manager/distinfo b/sysutils/ldap-account-manager/distinfo
index 50cd35312d8c..aace969458f9 100644
--- a/sysutils/ldap-account-manager/distinfo
+++ b/sysutils/ldap-account-manager/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1473567562
-SHA256 (ldap-account-manager-5.5.tar.bz2) = f5cf22ec2fcec7bdd54062d105b01b54f2c432f6c45da35a3abde17af31e8be7
-SIZE (ldap-account-manager-5.5.tar.bz2) = 14751801
+TIMESTAMP = 1482870107
+SHA256 (ldap-account-manager-5.6.tar.bz2) = 2b6232c8fd88eda86e8e9bcb273585d1837d89c56f02f4517a159818ec84ab8d
+SIZE (ldap-account-manager-5.6.tar.bz2) = 15223282