pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/privoxy



Module Name:    pkgsrc
Committed By:   khorben
Date:           Thu Nov 18 03:13:29 UTC 2021

Modified Files:
        pkgsrc/www/privoxy: Makefile
        pkgsrc/www/privoxy/files: privoxy.sh

Log Message:
privoxy: 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.69 -r1.70 pkgsrc/www/privoxy/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/www/privoxy/files/privoxy.sh

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

Modified files:

Index: pkgsrc/www/privoxy/Makefile
diff -u pkgsrc/www/privoxy/Makefile:1.69 pkgsrc/www/privoxy/Makefile:1.70
--- pkgsrc/www/privoxy/Makefile:1.69    Mon May 24 19:55:56 2021
+++ pkgsrc/www/privoxy/Makefile Thu Nov 18 03:13:29 2021
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.69 2021/05/24 19:55:56 wiz Exp $
+# $NetBSD: Makefile,v 1.70 2021/11/18 03:13:29 khorben Exp $
 
 DISTNAME=      ${PKGNAME_NOREV}-stable-src
 PKGNAME=       privoxy-3.0.29
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    www
 MASTER_SITES=  https://www.privoxy.org/sf-download-mirror/Sources/${PKGVERSION_NOREV}%20(stable)/
 

Index: pkgsrc/www/privoxy/files/privoxy.sh
diff -u pkgsrc/www/privoxy/files/privoxy.sh:1.5 pkgsrc/www/privoxy/files/privoxy.sh:1.6
--- pkgsrc/www/privoxy/files/privoxy.sh:1.5     Wed Feb  4 21:20:39 2009
+++ pkgsrc/www/privoxy/files/privoxy.sh Thu Nov 18 03:13:29 2021
@@ -1,12 +1,17 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: privoxy.sh,v 1.5 2009/02/04 21:20:39 drochner Exp $
+# $NetBSD: privoxy.sh,v 1.6 2021/11/18 03:13:29 khorben Exp $
+#
+# Startup script for privoxy
 #
-
 # PROVIDE: privoxy
 # REQUIRE: DAEMON
+#
+# You will need to set some variables in @SYSCONFBASE@/rc.conf to start privoxy:
+#
+# privoxy=YES
 
-. /etc/rc.subr
+$_rc_subr_loaded . @SYSCONFBASE@/rc.subr
 
 name="privoxy"
 rcvar=$name



Home | Main Index | Thread Index | Old Index