Hi,

I noted that several templates of privoxy are installed in
${LOCALBASE}/share/examples/privoxy/templates/, but not copied as
samples in /etc/privoxy/templates/

It results 500 Internal Privoxy Error when privoxy needs the missing
template.

There are 3 files in examples but with @sample entries:
        privoxy/templates/connection-timeout
        privoxy/templates/no-server-data
        privoxy/templates/url-info-osd.xml

The following diff annotate them as @sample, in order to let pkg_add
installs them in SYSCONFDIR.

Comments or OK ?
-- 
Sebastien Marie

Index: Makefile
===================================================================
RCS file: /cvs/ports/www/privoxy/Makefile,v
retrieving revision 1.32
diff -u -p -r1.32 Makefile
--- Makefile    26 Jan 2016 21:52:17 -0000      1.32
+++ Makefile    28 Mar 2016 10:18:16 -0000
@@ -6,6 +6,7 @@ V=              3.0.24
 DISTNAME=      privoxy-${V}-stable
 PKGNAME=       privoxy-${V}
 CATEGORIES=    www
+REVISION=      0
 
 HOMEPAGE=      http://www.privoxy.org/
 
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/privoxy/pkg/PLIST,v
retrieving revision 1.10
diff -u -p -r1.10 PLIST
--- pkg/PLIST   2 May 2011 17:43:43 -0000       1.10
+++ pkg/PLIST   28 Mar 2016 10:18:16 -0000
@@ -111,6 +111,9 @@ share/examples/privoxy/templates/connect
 @owner
 @group
 share/examples/privoxy/templates/connection-timeout
+@owner _privoxy
+@group _privoxy
+@sample ${SYSCONFDIR}/privoxy/templates/connection-timeout
 share/examples/privoxy/templates/default
 @owner _privoxy
 @group _privoxy
@@ -202,6 +205,9 @@ share/examples/privoxy/templates/mod-uns
 @owner
 @group
 share/examples/privoxy/templates/no-server-data
+@owner _privoxy
+@group _privoxy
+@sample ${SYSCONFDIR}/privoxy/templates/no-server-data
 share/examples/privoxy/templates/no-such-domain
 @owner _privoxy
 @group _privoxy
@@ -257,6 +263,9 @@ share/examples/privoxy/templates/untrust
 @owner
 @group
 share/examples/privoxy/templates/url-info-osd.xml
+@owner _privoxy
+@group _privoxy
+@sample ${SYSCONFDIR}/privoxy/templates/url-info-osd.xml
 share/examples/privoxy/user.action
 @owner _privoxy
 @group _privoxy

Reply via email to