svn commit: r305474 - head/irc/unreal

Carlo Strub cs at FreeBSD.org
Sun Oct 7 13:30:19 UTC 2012


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 at 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



More information about the svn-ports-all mailing list