forked from Lainports/freebsd-ports
- 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:
parent
9cb033eb0c
commit
4094396d89
1 changed files with 4 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue