diff options
author | Xin LI <delphij@FreeBSD.org> | 2009-03-13 01:06:27 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2009-03-13 01:06:27 +0000 |
commit | 4a7be535d20343a55eb3a503292b854964429370 (patch) | |
tree | ed4fb05a598314c8deb3e979a9b0b9eab189dc8a /sysutils | |
parent | 0df2d764e4bd578b488e0cb3b7b953ad9658af12 (diff) | |
download | ports-4a7be535d20343a55eb3a503292b854964429370.tar.gz ports-4a7be535d20343a55eb3a503292b854964429370.zip |
- fix config.cfg overwriting
- fix lamdaemon.pl permissions
Submitted by: maintainer
PR: ports/132555
Notes
Notes:
svn path=/head/; revision=229978
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/ldap-account-manager/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sysutils/ldap-account-manager/Makefile b/sysutils/ldap-account-manager/Makefile index a722c73ca8d6..ce1a2ebb93f4 100644 --- a/sysutils/ldap-account-manager/Makefile +++ b/sysutils/ldap-account-manager/Makefile @@ -7,6 +7,7 @@ PORTNAME= ldap-account-manager PORTVERSION= 2.5.0 +PORTREVISION= 1 CATEGORIES= sysutils www MASTER_SITES= SF/${PNAME} DISTNAME= ${PORTNAME:L}-${PORTVERSION} @@ -44,16 +45,16 @@ do-install: .endif post-install: - @if [ ! -f ${WWWDIR}/config/config.conf ]; then \ + @if [ ! -f ${WWWDIR}/config/config.cfg ]; then \ ${CP} -p ${WWWDIR}/config/config.cfg_sample ${WWWDIR}/config/config.cfg ; \ fi @if [ ! -f ${WWWDIR}/config/lam.conf ]; then \ ${CP} -p ${WWWDIR}/config/lam.conf_sample ${WWWDIR}/config/lam.conf ; \ fi - @${FIND} ${WWWDIR} -type f -exec ${CHMOD} 644 {} \; @${FIND} ${WWWDIR} -type d -exec ${CHMOD} 755 {} \; @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/config ${WWWDIR}/sess ${WWWDIR}/tmp + @${CHMOD} 755 ${WWWDIR}/lib/lamdaemon.pl @${LN} -sf /etc/shells ${WWWDIR}/config/shells @${CAT} ${PKGMESSAGE} |