pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/fwknop



Module Name:    pkgsrc
Committed By:   khorben
Date:           Sun Nov  7 18:37:03 UTC 2021

Modified Files:
        pkgsrc/net/fwknop: Makefile
        pkgsrc/net/fwknop/files: fwknopd.sh

Log Message:
fwknop: 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.4 -r1.5 pkgsrc/net/fwknop/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/fwknop/files/fwknopd.sh

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

Modified files:

Index: pkgsrc/net/fwknop/Makefile
diff -u pkgsrc/net/fwknop/Makefile:1.4 pkgsrc/net/fwknop/Makefile:1.5
--- pkgsrc/net/fwknop/Makefile:1.4      Sat May 29 22:39:45 2021
+++ pkgsrc/net/fwknop/Makefile  Sun Nov  7 18:37:02 2021
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2021/05/29 22:39:45 khorben Exp $
+# $NetBSD: Makefile,v 1.5 2021/11/07 18:37:02 khorben Exp $
 
 DISTNAME=      fwknop-2.6.10
+PKGREVISION=   1
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=mrash/}
 

Index: pkgsrc/net/fwknop/files/fwknopd.sh
diff -u pkgsrc/net/fwknop/files/fwknopd.sh:1.1 pkgsrc/net/fwknop/files/fwknopd.sh:1.2
--- pkgsrc/net/fwknop/files/fwknopd.sh:1.1      Sat May 29 22:39:46 2021
+++ pkgsrc/net/fwknop/files/fwknopd.sh  Sun Nov  7 18:37:03 2021
@@ -1,6 +1,6 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: fwknopd.sh,v 1.1 2021/05/29 22:39:46 khorben Exp $
+# $NetBSD: fwknopd.sh,v 1.2 2021/11/07 18:37:03 khorben Exp $
 #
 # Startup script for fwknopd
 #
@@ -8,14 +8,14 @@
 # REQUIRE: DAEMON
 # KEYWORD: shutdown
 #
-# You will need to set some variables in /etc/rc.conf to start fwknopd:
+# You will need to set some variables in @SYSCONFBASE@/rc.conf to start fwknopd:
 #
 # fwknopd=YES
 #
 # Optionally, "fwknopd_flags" contains additional parameters for the service.
 # See fwknopd(8) for possible options.
 
-. /etc/rc.subr
+$_rc_subr_loaded . @SYSCONFBASE@/rc.subr
 
 name="fwknopd"
 rcvar=${name}



Home | Main Index | Thread Index | Old Index