ports/172184: Patch for permissions fix of UnrealIRCD

Jr Aquino tanawts at gmail.com
Sun Sep 30 16:50:02 UTC 2012


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



More information about the freebsd-ports-bugs mailing list