pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/ircd-hybrid ircd-hybrid: let the RC script work u...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/22b3cf554551
branches:  trunk
changeset: 457582:22b3cf554551
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Sun Aug 29 18:38:53 2021 +0000

description:
ircd-hybrid: let the RC script work unprivileged

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

Bumps PKGREVISION.

diffstat:

 chat/ircd-hybrid/Makefile             |  3 ++-
 chat/ircd-hybrid/files/ircd-hybrid.sh |  7 +++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (32 lines):

diff -r 304eeaef0b1f -r 22b3cf554551 chat/ircd-hybrid/Makefile
--- a/chat/ircd-hybrid/Makefile Sun Aug 29 18:32:29 2021 +0000
+++ b/chat/ircd-hybrid/Makefile Sun Aug 29 18:38:53 2021 +0000
@@ -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
diff -r 304eeaef0b1f -r 22b3cf554551 chat/ircd-hybrid/files/ircd-hybrid.sh
--- a/chat/ircd-hybrid/files/ircd-hybrid.sh     Sun Aug 29 18:32:29 2021 +0000
+++ b/chat/ircd-hybrid/files/ircd-hybrid.sh     Sun Aug 29 18:38:53 2021 +0000
@@ -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