Date: Sun, 30 Sep 2012 16:45:47 GMT From: Jr Aquino <tanawts@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/172184: Patch for permissions fix of UnrealIRCD Message-ID: <201209301645.q8UGjlT5038014@red.freebsd.org> Resent-Message-ID: <201209301650.q8UGo2XN008664@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 172184 >Category: ports >Synopsis: Patch for permissions fix of UnrealIRCD >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Sep 30 16:50:02 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Jr Aquino >Release: FreeBSD 9.0-RELEASE >Organization: >Environment: FreeBSD daemon 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 01:47:53 UTC 2012 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: 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) >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ruN unreal/Makefile unreal/Makefile --- Makefile.orig 2012-09-30 09:24:36.000000000 -0700 +++ Makefile 2012-09-30 09:23:51.000000000 -0700 @@ -176,6 +176,9 @@ @[ -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 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209301645.q8UGjlT5038014>