diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2003-04-20 10:32:01 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2003-04-20 10:32:01 +0000 |
commit | 896f13c4d227726238a2c0142c1e4d87c2cf58af (patch) | |
tree | 06fdfea43331668c3192e4a510f25f8a2d5b5ac7 | |
parent | Fix directory permissions. (diff) |
Fix directory permissions.
Notes
Notes:
svn path=/head/; revision=79349
-rw-r--r-- | irc/dancer-ircd/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/irc/dancer-ircd/Makefile b/irc/dancer-ircd/Makefile index 028493754002..ebaf0f725ba8 100644 --- a/irc/dancer-ircd/Makefile +++ b/irc/dancer-ircd/Makefile @@ -7,6 +7,7 @@ PORTNAME= dancer-ircd PORTVERSION= 1.0.31m8 +PORTREVISION= 1 CATEGORIES= irc MASTER_SITES= http://www.doc.ic.ac.uk/~aps100/dancer/%SUBDIR%/ MASTER_SITE_SUBDIR= ${PORTNAME}/stable/releases @@ -45,7 +46,10 @@ post-install: ${CP} ${PREFIX}/etc/dancer-ircd/${f}.sample ${PREFIX}/etc/dancer-ircd/${f}; \ fi .endfor - ${CHMOD} -R ${SHAREMODE} ${PREFIX}/etc/dancer-ircd + ${FIND} ${PREFIX}/etc/dancer-ircd -type d -print0 | \ + ${XARGS} -0 ${CHMOD} 700 + ${FIND} ${PREFIX}/etc/dancer-ircd -type f -print0 | \ + ${XARGS} -0 ${CHMOD} 600 ${CHOWN} -R ircd:ircd ${PREFIX}/etc/dancer-ircd ${SED} -e "s,%PREFIX%,${PREFIX},g" ${FILESDIR}/dancer-ircd.sh \ > ${WRKDIR}/dancer-ircd.sh |