pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/chat/ircd-hybrid



Module Name:    pkgsrc
Committed By:   khorben
Date:           Sun Aug 29 18:38:53 UTC 2021

Modified Files:
        pkgsrc/chat/ircd-hybrid: Makefile
        pkgsrc/chat/ircd-hybrid/files: ircd-hybrid.sh

Log Message:
ircd-hybrid: let the RC script work unprivileged

This takes advantage of the introduction of the SYSCONFBASE variable.
Tested on NetBSD/amd64.

Bumps PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 pkgsrc/chat/ircd-hybrid/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/chat/ircd-hybrid/files/ircd-hybrid.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/chat/ircd-hybrid/Makefile
diff -u pkgsrc/chat/ircd-hybrid/Makefile:1.78 pkgsrc/chat/ircd-hybrid/Makefile:1.79
--- pkgsrc/chat/ircd-hybrid/Makefile:1.78       Mon Aug 16 19:22:51 2021
+++ pkgsrc/chat/ircd-hybrid/Makefile    Sun Aug 29 18:38:53 2021
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.78 2021/08/16 19:22:51 fox Exp $
+# $NetBSD: Makefile,v 1.79 2021/08/29 18:38:53 khorben Exp $
 
 DISTNAME=      ircd-hybrid-8.2.39
+PKGREVISION=   1
 CATEGORIES=    chat
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=ircd-hybrid/}
 EXTRACT_SUFX=  .tgz

Index: pkgsrc/chat/ircd-hybrid/files/ircd-hybrid.sh
diff -u pkgsrc/chat/ircd-hybrid/files/ircd-hybrid.sh:1.5 pkgsrc/chat/ircd-hybrid/files/ircd-hybrid.sh:1.6
--- pkgsrc/chat/ircd-hybrid/files/ircd-hybrid.sh:1.5    Thu Sep 11 21:59:33 2008
+++ pkgsrc/chat/ircd-hybrid/files/ircd-hybrid.sh        Sun Aug 29 18:38:53 2021
@@ -1,13 +1,12 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: ircd-hybrid.sh,v 1.5 2008/09/11 21:59:33 wiz Exp $
+# $NetBSD: ircd-hybrid.sh,v 1.6 2021/08/29 18:38:53 khorben Exp $
 #
 # PROVIDE: ircdhybrid
 # REQUIRE: DAEMON
 
-if [ -f /etc/rc.subr ]
-then
-       . /etc/rc.subr
+if [ -f @SYSCONFBASE@/rc.subr ]; then
+       . @SYSCONFBASE@/rc.subr
 fi
 
 name="ircdhybrid"



Home | Main Index | Thread Index | Old Index