summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Jones <carpaski@gentoo.org>2002-07-19 05:26:07 +0000
committerNicholas Jones <carpaski@gentoo.org>2002-07-19 05:26:07 +0000
commit34c33129d1d2b5acb63860ba4f4dde6ea4bd88a4 (patch)
tree25e8ca9e8487d13271e1591d43b5f7b42668d8e1 /net-www/privoxy/files
parentfixed a doc location problem in the 3.2.4 ebuild. There is also a license qu... (diff)
downloadhistorical-34c33129d1d2b5acb63860ba4f4dde6ea4bd88a4.tar.gz
historical-34c33129d1d2b5acb63860ba4f4dde6ea4bd88a4.tar.bz2
historical-34c33129d1d2b5acb63860ba4f4dde6ea4bd88a4.zip
New Package. Bug 3285
Diffstat (limited to 'net-www/privoxy/files')
-rw-r--r--net-www/privoxy/files/digest-privoxy-2.9.14_beta1
-rw-r--r--net-www/privoxy/files/privoxy-gentoo.diff93
-rw-r--r--net-www/privoxy/files/privoxy.rc619
3 files changed, 113 insertions, 0 deletions
diff --git a/net-www/privoxy/files/digest-privoxy-2.9.14_beta b/net-www/privoxy/files/digest-privoxy-2.9.14_beta
new file mode 100644
index 000000000000..806f43c69496
--- /dev/null
+++ b/net-www/privoxy/files/digest-privoxy-2.9.14_beta
@@ -0,0 +1 @@
+MD5 406ef39a81c371a9723aa69460028534 privoxy-2.9.14-beta-src.tar.gz 980020
diff --git a/net-www/privoxy/files/privoxy-gentoo.diff b/net-www/privoxy/files/privoxy-gentoo.diff
new file mode 100644
index 000000000000..65f885e2b377
--- /dev/null
+++ b/net-www/privoxy/files/privoxy-gentoo.diff
@@ -0,0 +1,93 @@
+diff -ur privoxy-2.9.14-beta.orig/config privoxy-2.9.14-beta/config
+--- privoxy-2.9.14-beta.orig/config Tue Apr 2 22:11:35 2002
++++ privoxy-2.9.14-beta/config Mon Jul 8 17:55:11 2002
+@@ -1,3 +1,8 @@
++#
++# Small changes to the original for Gentoo ebuild
++#
++# i.e. only two directory locations
++
+ # Sample Configuration file for Privoxy
+
+ #
+@@ -72,13 +77,13 @@
+ # for CGI results.
+ #
+ # No trailing /, please.
+-confdir .
++confdir /etc/privoxy
+
+ #
+ # The directory where all logging (i.e. logfile and jarfile) takes place
+ # No trailing /, please.
+ #
+-logdir .
++logdir /var/log/privoxy
+
+ # Note that all file specifications below are relative to
+ # the above two directories!!!
+@@ -120,7 +125,7 @@
+ #
+ # Default: Log to the standard error channel, not to a file
+ #
+-logfile logfile
++logfile privoxy.log
+
+ #
+ # The jarfile defines where Privoxy stores the cookies it
+diff -ur privoxy-2.9.14-beta.orig/default.action privoxy-2.9.14-beta/default.action
+--- privoxy-2.9.14-beta.orig/default.action Thu Apr 11 09:37:54 2002
++++ privoxy-2.9.14-beta/default.action Mon Jul 8 18:00:25 2002
+@@ -1,3 +1,9 @@
++#
++# Small change for Gentoo ebuild
++
++# set +image-blocker{blank} in the Defaults section
++# for explanation see: http://www.privoxy.org/faq/configuration.html#AEN442
++
+ #############################################################################
+ #
+ # Bare-bones actions file for Privoxy pre release testdrive
+@@ -14,7 +20,6 @@
+
+ # Shops should be allowed to set persistent cookies
+ shop = -filter -no-cookies-keep
+-
+ #############################################################################
+ # Defaults
+ #############################################################################
+@@ -22,28 +27,28 @@
+ -add-header \
+ -block \
+ +deanimate-gifs{last} \
+--downgrade \
+-+filter{html-annoyances} \
+-+filter{content-cookies} \
++-downgrade +filter{html-annoyances} \
+ +filter{js-annoyances} \
+++filter{content-cookies} \
+ +filter{no-popups} \
+ +filter{webbugs} \
+ +filter{nimda} \
+ +filter{banners-by-size} \
+-+no-compression \
+ +hide-forwarded \
+ +hide-from{block} \
+ +hide-referer{forge} \
+ -hide-user-agent \
+ -image \
+-+image-blocker{pattern} \
+++image-blocker{blank} \
+++no-compression \
+ +no-cookies-keep \
+ -no-cookies-read \
+ -no-cookies-set \
+ +no-popups \
+ -vanilla-wafer \
+--wafer \
++-wafer\
+ }
++
+ / # Match all URLs
+
+ {+filter{noflash}}
diff --git a/net-www/privoxy/files/privoxy.rc6 b/net-www/privoxy/files/privoxy.rc6
new file mode 100644
index 000000000000..b5ac890e4759
--- /dev/null
+++ b/net-www/privoxy/files/privoxy.rc6
@@ -0,0 +1,19 @@
+#!/sbin/runscript
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting privoxy"
+ start-stop-daemon --start --quiet --exec /usr/sbin/privoxy -- /etc/privoxy/config &
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping privoxy"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/privoxy
+ eend $?
+}