aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2009-01-28 12:39:39 +0800
committerbeech <beech@FreeBSD.org>2009-01-28 12:39:39 +0800
commit7129bb497077cc5babc5d7970d25460e6152208a (patch)
treeb770cd794b8976e151d20c4a825fc0dd79151aec
parent5c3c4ae6944a2764cb9af026344c4cddcc2504dc (diff)
downloadfreebsd-ports-gnome-7129bb497077cc5babc5d7970d25460e6152208a.tar.gz
freebsd-ports-gnome-7129bb497077cc5babc5d7970d25460e6152208a.tar.zst
freebsd-ports-gnome-7129bb497077cc5babc5d7970d25460e6152208a.zip
- In order to modify ban files such as kline.conf and xline.conf,
ircd-ratbox 2.2.x needs write permissions to the directory containing these files so it can manipulate their temporary counterparts during the update process. To facilitate this, and to save the user from having to make this change themselves, the '/usr/local/etc/ircd-ratbox/' directory is now set to be owned by the IRCD user instead of root. PR: ports/131060 Submitted by: Lewis <moggie@elasticmind.net> (maintainer)
-rw-r--r--irc/ircd-ratbox/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/irc/ircd-ratbox/Makefile b/irc/ircd-ratbox/Makefile
index 44a9022a28f0..acdc63e59950 100644
--- a/irc/ircd-ratbox/Makefile
+++ b/irc/ircd-ratbox/Makefile
@@ -179,9 +179,10 @@ post-patch:
pre-su-install:
@${SETENV} "PKG_PREFIX=${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
- ${MKDIR} ${PREFIX}/etc/${PORTNAME}
- ${MKDIR} ${DATADIR}/help
- ${MKDIR} ${PREFIX}/lib/${PORTNAME}/modules
+ ${MKDIR} ${PREFIX}/etc/${PORTNAME}
+ ${CHOWN} ircd:ircd ${PREFIX}/etc/${PORTNAME}
+ ${MKDIR} ${DATADIR}/help
+ ${MKDIR} ${PREFIX}/lib/${PORTNAME}/modules
post-install:
.if !defined(NOPORTDOCS)