- 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)
This commit is contained in:
Beech Rintoul 2009-01-28 04:39:39 +00:00
parent 9cb033eb0c
commit 4094396d89

View file

@ -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)