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) Fix: Patch attached with submission follows:
Responsible Changed From-To: freebsd-ports-bugs->cs I'll take it.
Author: cs Date: Sun Oct 7 13:30:18 2012 New Revision: 305474 URL: http://svn.freebsd.org/changeset/ports/305474 Log: 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) Modified: head/irc/unreal/Makefile Modified: head/irc/unreal/Makefile ============================================================================== --- head/irc/unreal/Makefile Sun Oct 7 13:23:27 2012 (r305473) +++ head/irc/unreal/Makefile Sun Oct 7 13:30:18 2012 (r305474) @@ -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 _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thank you very much.