Date: Sun, 7 Oct 2012 13:30:19 +0000 (UTC) From: Carlo Strub <cs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r305474 - head/irc/unreal Message-ID: <201210071330.q97DUJjF006711@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210071330.q97DUJjF006711>