Patch to add chown modify at the end of the install. This will correctly assign
the owner of the config, log, and run directories for the owner specified by the port (by default this is ircd:ircd) PR: ports/172184 Submitted by: Jr Aquino <tanawts@gmail.com> (maintainer)
This commit is contained in:
parent
0776e6b4df
commit
bbf48f757c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=305474
@ -176,6 +176,9 @@ post-install:
|
||||
@[ -f ${CONFIGDIR}/help.conf ] || ${INSTALL_DATA} ${EXAMPLESDIR}/help.conf ${CONFIGDIR}
|
||||
@[ -f ${CONFIGDIR}/spamfilter.conf ] || ${INSTALL_DATA} ${EXAMPLESDIR}/spamfilter.conf ${CONFIGDIR}
|
||||
@[ -f ${CONFIGDIR}/unrealircd.conf ] || ${INSTALL_DATA} ${EXAMPLESDIR}/unrealircd.conf ${CONFIGDIR}
|
||||
@${CHOWN} -R ${USERS}:${GROUPS} ${CONFIGDIR}
|
||||
@${CHOWN} ${USERS}:${GROUPS} ${RUNDIR}
|
||||
@${CHOWN} ${USERS}:${GROUPS} ${LOGDIR}
|
||||
.if defined(WITH_SQLMOD)
|
||||
@${CP} ${WRKSRC}/SQLMod/sample.conf ${CONFIGDIR}/m_sqlmod.conf
|
||||
@${CP} ${WRKSRC}/SQLMod/Changes ${DOCSDIR}/Changes.sqlmod
|
||||
|
Loading…
Reference in New Issue
Block a user