summaryrefslogtreecommitdiff
path: root/www/privoxy/patches
diff options
context:
space:
mode:
authorkim <kim>2003-06-16 03:02:04 +0000
committerkim <kim>2003-06-16 03:02:04 +0000
commitee6c1400afdd96b96572a1df666544d9cd32cf40 (patch)
treead3ac4def7217bb6a0701f0d89afc6dc85886627 /www/privoxy/patches
parentd46cc5c59769106293cb047ad9a2d79a71a09d11 (diff)
downloadpkgsrc-ee6c1400afdd96b96572a1df666544d9cd32cf40.tar.gz
privoxy-3.0.2 (stable)
Privoxy is a web proxy with advanced filtering capabilities for protecting privacy, filtering web page content, managing cookies, controlling access, and removing ads, banners, pop-ups and other obnoxious Internet junk. Privoxy has a very flexible configuration and can be customized to suit individual needs and tastes. Privoxy has application for both stand-alone systems and multi-user networks.
Diffstat (limited to 'www/privoxy/patches')
-rw-r--r--www/privoxy/patches/patch-aa22
-rw-r--r--www/privoxy/patches/patch-ab38
2 files changed, 60 insertions, 0 deletions
diff --git a/www/privoxy/patches/patch-aa b/www/privoxy/patches/patch-aa
new file mode 100644
index 00000000000..38779048a64
--- /dev/null
+++ b/www/privoxy/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/06/16 03:02:04 kim Exp $
+
+--- config.orig 2003-03-05 11:34:15.000000000 -0500
++++ config 2003-06-15 19:35:33.000000000 -0400
+@@ -104,7 +104,7 @@
+ # flat, except for confdir/templates, where the HTML templates
+ # for CGI output reside (e.g. Privoxy's 404 error page).
+ #
+-confdir .
++confdir @PKG_SYSCONFDIR@
+
+ #
+ # 1.2. logdir
+@@ -131,7 +131,7 @@
+ #
+ # No trailing "/", please
+ #
+-logdir .
++logdir /var/log/privoxy
+
+ #
+ # 1.3. actionsfile
diff --git a/www/privoxy/patches/patch-ab b/www/privoxy/patches/patch-ab
new file mode 100644
index 00000000000..a5aeb64c40c
--- /dev/null
+++ b/www/privoxy/patches/patch-ab
@@ -0,0 +1,38 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/06/16 03:02:04 kim Exp $
+
+--- GNUmakefile.in.orig 2002-11-04 02:04:03.000000000 -0500
++++ GNUmakefile.in 2003-06-15 19:55:34.000000000 -0400
+@@ -246,7 +246,7 @@
+ CFLAGS = @CFLAGS@ @CPPFLAGS@ $(OTHER_CFLAGS) $(SPECIAL_CFLAGS) -Wall \
+ @STATIC_PCRE_ONLY@ -Ipcre
+
+-LDFLAGS = $(DEBUG_CFLAGS) $(SPECIAL_CFLAGS)
++LDFLAGS = @LDFLAGS@ $(DEBUG_CFLAGS) $(SPECIAL_CFLAGS)
+
+
+ #############################################################################
+@@ -1104,15 +1104,15 @@
+ -$(INSTALL) $(INSTALL_T) privoxy.1 $(MAN_DEST)/privoxy.1
+
+ @# Change the config file default directories according to the configured ones
+- @$(ECHO) Rewriting config for this installation
+- @if [ -f config.base ] ; then \
+- $(CAT) config >config~ ;\
+- $(MV) config.base config ;\
+- fi
+- $(SED) 's+confdir .+confdir $(CONF_DEST)+' config | \
+- $(SED) 's+logdir .+logdir $(LOG_DEST)+' >config.updated
+- $(MV) config config.base
+- $(MV) config.updated config
++ @#$(ECHO) Rewriting config for this installation
++ @#if [ -f config.base ] ; then \
++ @# $(CAT) config >config~ ;\
++ @# $(MV) config.base config ;\
++ @#fi
++ @#$(SED) 's+confdir .+confdir $(CONF_DEST)+' config | \
++ @#$(SED) 's+logdir .+logdir $(LOG_DEST)+' >config.updated
++ @#$(MV) config config.base
++ @#$(MV) config.updated config
+
+ @# Install the config support files. Test for root install, and abort
+ @# if there is no privoxy user, and no other user was enabled during