aboutsummaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2003-04-20 18:32:01 +0800
committerknu <knu@FreeBSD.org>2003-04-20 18:32:01 +0800
commitafcce499520a161b214a0463f3b72a0b7ebf55fa (patch)
tree411bf54d312c822903b197888a32edafec73add0 /irc
parentc48841930c0127ac25e20f4b7f05f4fa8236bcc1 (diff)
downloadfreebsd-ports-gnome-afcce499520a161b214a0463f3b72a0b7ebf55fa.tar.gz
freebsd-ports-gnome-afcce499520a161b214a0463f3b72a0b7ebf55fa.tar.zst
freebsd-ports-gnome-afcce499520a161b214a0463f3b72a0b7ebf55fa.zip
Fix directory permissions.
Diffstat (limited to 'irc')
-rw-r--r--irc/dancer-ircd/Makefile6
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