summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Savchenko <bircoph@gmail.com>2015-01-26 23:53:17 +0300
committerAndrew Savchenko <bircoph@gmail.com>2015-01-26 23:53:17 +0300
commita7e11cd02f4232d03b78a236ef36c53b38895ff5 (patch)
tree26ba271e415264bc0e81ef42feeda9349aa4801a /net-proxy
parentopendx: in tree now (diff)
downloadbircoph-a7e11cd02f4232d03b78a236ef36c53b38895ff5.tar.gz
bircoph-a7e11cd02f4232d03b78a236ef36c53b38895ff5.tar.bz2
bircoph-a7e11cd02f4232d03b78a236ef36c53b38895ff5.zip
privoxy: version bump for CVE fixes and testing
See bug 537884.
Diffstat (limited to 'net-proxy')
-rw-r--r--net-proxy/privoxy/ChangeLog568
-rw-r--r--net-proxy/privoxy/Manifest8
-rw-r--r--net-proxy/privoxy/files/privoxy-3.0.19-gentoo.patch114
-rw-r--r--net-proxy/privoxy/files/privoxy.initd29
-rw-r--r--net-proxy/privoxy/files/privoxy.logrotate9
-rw-r--r--net-proxy/privoxy/files/privoxy.service10
-rw-r--r--net-proxy/privoxy/metadata.xml20
-rw-r--r--net-proxy/privoxy/privoxy-3.0.23.ebuild81
8 files changed, 839 insertions, 0 deletions
diff --git a/net-proxy/privoxy/ChangeLog b/net-proxy/privoxy/ChangeLog
new file mode 100644
index 0000000..25ab7bb
--- /dev/null
+++ b/net-proxy/privoxy/ChangeLog
@@ -0,0 +1,568 @@
+# ChangeLog for net-proxy/privoxy
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/privoxy/ChangeLog,v 1.106 2015/01/25 11:21:25 ago Exp $
+
+ 25 Jan 2015; Agostino Sarubbo <ago@gentoo.org> privoxy-3.0.22.ebuild:
+ Stable for alpha, wrt bug #531292
+
+ 15 Jan 2015; Agostino Sarubbo <ago@gentoo.org> privoxy-3.0.22.ebuild:
+ Stable for ppc, wrt bug #531292
+
+ 14 Jan 2015; Agostino Sarubbo <ago@gentoo.org> privoxy-3.0.22.ebuild:
+ Stable for ppc64, wrt bug #531292
+
+ 13 Jan 2015; Agostino Sarubbo <ago@gentoo.org> privoxy-3.0.22.ebuild:
+ Stable for sparc, wrt bug #531292
+
+ 12 Jan 2015; Agostino Sarubbo <ago@gentoo.org> privoxy-3.0.22.ebuild:
+ Stable for amd64, wrt bug #531292
+
+ 11 Jan 2015; Andreas Schuerch <nativemad@gentoo.org> privoxy-3.0.22.ebuild:
+ x86 stable, see bug 531292
+
+ 09 Jan 2015; Andrew Savchenko <bircoph@gentoo.org> privoxy-3.0.22.ebuild:
+ Cosmetics: move REQUIRED_USE to an upper part.
+
+ 09 Jan 2015; Andrew Savchenko <bircoph@gentoo.org>
+ files/privoxy-3.0.22-force.patch:
+ Fix bug 536082: remove patch chunk mangled by CVS, it is not needed
+ to fix build with --disable-force.
+
+*privoxy-3.0.22 (08 Jan 2015)
+
+ 08 Jan 2015; Andrew Savchenko <bircoph@gentoo.org> +privoxy-3.0.22.ebuild,
+ +files/privoxy-3.0.22-force.patch, metadata.xml:
+ Version bump. Provides security fix for bug 531292.
+ Add ipv6 USE flag, fixes bug 528072.
+ Add multiple USE flags for package fine-tuning.
+
+ 08 Jan 2015; Andrew Savchenko <bircoph@gentoo.org> metadata.xml:
+ Add myself to maintainers.
+
+*privoxy-3.0.21-r2 (08 Jan 2015)
+
+ 08 Jan 2015; Pacho Ramos <pacho@gentoo.org> +privoxy-3.0.21-r2.ebuild,
+ -privoxy-3.0.21-r1.ebuild:
+ reintroduce proper revision (#535994 by monogolid and Duncan)
+
+ 07 Jan 2015; Pacho Ramos <pacho@gentoo.org> -privoxy-3.0.21-r2.ebuild,
+ -privoxy-3.0.21.ebuild, metadata.xml:
+ Reassign as and cleanup discussed at https://www.mail-archive.com/gentoo-
+ dev@lists.gentoo.org/msg66357.html
+
+ 04 Nov 2014; Jeroen Roovers <jer@gentoo.org>
+ -files/privoxy-3.0.12-gentoo.patch, -files/privoxy-3.0.13_beta-gentoo.patch,
+ -files/privoxy-3.0.14_beta-gentoo.patch,
+ -files/privoxy-3.0.15_beta-gentoo.patch, -files/privoxy-3.0.16-gentoo.patch,
+ -files/privoxy-3.0.17-gentoo.patch, metadata.xml:
+ Remove short <longdescription>. Remove old.
+
+ 18 Jan 2014; Agostino Sarubbo <ago@gentoo.org> privoxy-3.0.21-r2.ebuild:
+ Stable for alpha, wrt bug #485236
+
+ 23 Dec 2013; Agostino Sarubbo <ago@gentoo.org> privoxy-3.0.21-r2.ebuild:
+ Stable for sparc, wrt bug #485236
+
+ 22 Dec 2013; Agostino Sarubbo <ago@gentoo.org> privoxy-3.0.21-r2.ebuild:
+ Stable for ppc64, wrt bug #485236
+
+ 21 Dec 2013; Agostino Sarubbo <ago@gentoo.org> privoxy-3.0.21-r2.ebuild:
+ Stable for ppc, wrt bug #485236
+
+ 07 Dec 2013; Pacho Ramos <pacho@gentoo.org> privoxy-3.0.21-r2.ebuild:
+ x86 stable, bug #485236
+
+ 27 Nov 2013; Markus Meier <maekke@gentoo.org> privoxy-3.0.21-r2.ebuild:
+ arm stable, bug #485236
+
+ 19 Oct 2013; Pacho Ramos <pacho@gentoo.org> privoxy-3.0.21-r2.ebuild:
+ amd64 stable, bug #485236
+
+ 17 Oct 2013; Markus Meier <maekke@gentoo.org> privoxy-3.0.21-r1.ebuild:
+ arm stable, bug #485236
+
+*privoxy-3.0.21-r2 (08 Oct 2013)
+
+ 08 Oct 2013; Pavlos Ratis <dastergon@gentoo.org> +privoxy-3.0.21-r2.ebuild,
+ privoxy-3.0.21-r1.ebuild:
+ Revision bump: EAPI 5 and added new configure option
+
+*privoxy-3.0.21-r1 (03 Sep 2013)
+
+ 03 Sep 2013; Pacho Ramos <pacho@gentoo.org> +files/privoxy.service,
+ +privoxy-3.0.21-r1.ebuild:
+ Add unit file (#483370 by Andrius Štikonas)
+
+ 17 Mar 2013; Agostino Sarubbo <ago@gentoo.org> -privoxy-3.0.12.ebuild,
+ -privoxy-3.0.13_beta.ebuild, -privoxy-3.0.14_beta.ebuild,
+ -privoxy-3.0.15_beta.ebuild, -privoxy-3.0.16.ebuild, -privoxy-3.0.17.ebuild,
+ -privoxy-3.0.19.ebuild:
+ Remove old
+
+ 17 Mar 2013; Agostino Sarubbo <ago@gentoo.org> privoxy-3.0.21.ebuild:
+ Stable for sparc, wrt bug #461526
+
+ 17 Mar 2013; Agostino Sarubbo <ago@gentoo.org> privoxy-3.0.21.ebuild:
+ Stable for alpha, wrt bug #461526
+
+ 17 Mar 2013; Agostino Sarubbo <ago@gentoo.org> privoxy-3.0.21.ebuild:
+ Stable for arm, wrt bug #461526
+
+ 17 Mar 2013; Agostino Sarubbo <ago@gentoo.org> privoxy-3.0.21.ebuild:
+ Stable for ppc64, wrt bug #461526
+
+ 17 Mar 2013; Agostino Sarubbo <ago@gentoo.org> privoxy-3.0.21.ebuild:
+ Stable for ppc, wrt bug #461526
+
+ 17 Mar 2013; Agostino Sarubbo <ago@gentoo.org> privoxy-3.0.21.ebuild:
+ Stable for x86, wrt bug #461526
+
+ 17 Mar 2013; Agostino Sarubbo <ago@gentoo.org> privoxy-3.0.21.ebuild:
+ Stable for amd64, wrt bug #461526
+
+*privoxy-3.0.21 (13 Mar 2013)
+
+ 13 Mar 2013; Tom Wijsman <TomWij@gentoo.org> +privoxy-3.0.21.ebuild:
+ Version bump to 3.0.21.
+
+ 29 Jul 2012; Raúl Porcel <armin76@gentoo.org> privoxy-3.0.19.ebuild:
+ alpha/sparc stable wrt #415763
+
+ 29 May 2012; Brent Baude <ranger@gentoo.org> privoxy-3.0.19.ebuild:
+ Marking privoxy-3.0.19 ppc for bug 415763
+
+ 29 May 2012; Brent Baude <ranger@gentoo.org> privoxy-3.0.19.ebuild:
+ Marking privoxy-3.0.19 ppc64 for bug 415763
+
+ 28 May 2012; Markus Meier <maekke@gentoo.org> privoxy-3.0.19.ebuild:
+ arm stable, bug #415763
+
+ 23 May 2012; Mike Frysinger <vapier@gentoo.org> privoxy-3.0.12.ebuild,
+ privoxy-3.0.13_beta.ebuild, privoxy-3.0.14_beta.ebuild,
+ privoxy-3.0.15_beta.ebuild, privoxy-3.0.16.ebuild, privoxy-3.0.17.ebuild,
+ privoxy-3.0.19.ebuild:
+ Inherit user for enewuser/etc...
+
+ 13 May 2012; Jeff Horelick <jdhore@gentoo.org> privoxy-3.0.19.ebuild:
+ marked x86 per bug 415763
+
+ 13 May 2012; Markos Chandras <hwoarang@gentoo.org> privoxy-3.0.19.ebuild:
+ Stable on amd64 wrt bug #415763
+
+ 25 Apr 2012; Justin Lecher <jlec@gentoo.org> privoxy-3.0.12.ebuild,
+ privoxy-3.0.13_beta.ebuild, privoxy-3.0.14_beta.ebuild,
+ privoxy-3.0.15_beta.ebuild, privoxy-3.0.16.ebuild, privoxy-3.0.17.ebuild:
+ Drop unnessecary die
+
+*privoxy-3.0.19 (18 Mar 2012)
+
+ 18 Mar 2012; Torsten Veller <tove@gentoo.org> +privoxy-3.0.19.ebuild,
+ +files/privoxy-3.0.19-gentoo.patch:
+ Version bump (#391853,#405517). Move to EAPI=4 (#382533)
+
+ 01 Mar 2011; Brent Baude <ranger@gentoo.org> privoxy-3.0.17.ebuild:
+ stable ppc64, bug 353284
+
+ 22 Feb 2011; nixnut <nixnut@gentoo.org> privoxy-3.0.17.ebuild:
+ ppc stable #353284
+
+ 13 Feb 2011; Raúl Porcel <armin76@gentoo.org> privoxy-3.0.17.ebuild:
+ alpha/sparc stable wrt #353284
+
+ 10 Feb 2011; Markos Chandras <hwoarang@gentoo.org> privoxy-3.0.17.ebuild:
+ Stable on amd64 wrt bug #353284
+
+ 06 Feb 2011; Markus Meier <maekke@gentoo.org> privoxy-3.0.17.ebuild:
+ arm stable, bug #353284
+
+ 05 Feb 2011; Christian Faulhammer <fauli@gentoo.org>
+ privoxy-3.0.17.ebuild:
+ stable x86, bug 353284
+
+*privoxy-3.0.17 (23 Nov 2010)
+
+ 23 Nov 2010; Torsten Veller <tove@gentoo.org> +privoxy-3.0.17.ebuild,
+ +files/privoxy-3.0.17-gentoo.patch:
+ Version bump
+
+ 06 Jun 2010; Raúl Porcel <armin76@gentoo.org> privoxy-3.0.12.ebuild:
+ arm stable wrt #300829
+
+*privoxy-3.0.16 (08 May 2010)
+
+ 08 May 2010; Torsten Veller <tove@gentoo.org> +privoxy-3.0.16.ebuild,
+ +files/privoxy-3.0.16-gentoo.patch:
+ Version bump (#308615). Fix docdir and logdir (#297206)
+
+ 23 Jan 2010; Raúl Porcel <armin76@gentoo.org> privoxy-3.0.12.ebuild,
+ privoxy-3.0.13_beta.ebuild, privoxy-3.0.14_beta.ebuild,
+ privoxy-3.0.15_beta.ebuild:
+ Add ~arm wrt #300829
+
+*privoxy-3.0.15_beta (22 Oct 2009)
+
+ 22 Oct 2009; Alin Năstac <mrness@gentoo.org> -privoxy-3.0.10.ebuild,
+ -privoxy-3.0.11.ebuild, -privoxy-3.0.11-r1.ebuild,
+ -files/privoxy-3.0.11-gentoo.patch, -files/privoxy-3.0.11-timeout.patch,
+ +privoxy-3.0.15_beta.ebuild, +files/privoxy-3.0.15_beta-gentoo.patch:
+ Version bump.
+
+ 27 Sep 2009; Brent Baude <ranger@gentoo.org> privoxy-3.0.12.ebuild:
+ Marking privoxy-3.0.12 ppc64 for bug 277487
+
+*privoxy-3.0.14_beta (08 Aug 2009)
+
+ 08 Aug 2009; Alin Năstac <mrness@gentoo.org>
+ +files/privoxy-3.0.14_beta-gentoo.patch, +privoxy-3.0.14_beta.ebuild:
+ Version bump (#279447).
+
+ 27 Jul 2009; <chainsaw@gentoo.org> privoxy-3.0.12.ebuild:
+ Marked stable on AMD64 as requested by Alin Năstac <mrness@gentoo.org> in
+ bug #277487. Compile-tested with USE="ipv6 threads zlib (-selinux)" on a
+ Core2 Duo.
+
+ 22 Jul 2009; Raúl Porcel <armin76@gentoo.org> privoxy-3.0.12.ebuild:
+ alpha/sparc stable wrt #277487
+
+ 19 Jul 2009; nixnut <nixnut@gentoo.org> privoxy-3.0.12.ebuild:
+ ppc stable #277487
+
+ 14 Jul 2009; Christian Faulhammer <fauli@gentoo.org>
+ privoxy-3.0.12.ebuild:
+ stable x86, bug 277487
+
+*privoxy-3.0.13_beta (12 Jul 2009)
+
+ 12 Jul 2009; Alin Năstac <mrness@gentoo.org>
+ +files/privoxy-3.0.13_beta-gentoo.patch, +privoxy-3.0.13_beta.ebuild:
+ Version bump (#277085).
+
+*privoxy-3.0.12 (09 Apr 2009)
+
+ 09 Apr 2009; Alin Năstac <mrness@gentoo.org>
+ +files/privoxy-3.0.12-gentoo.patch, +privoxy-3.0.12.ebuild:
+ Version bump. Add IPv6 support, thanks to Petr Pisar <petr dot pisar at
+ atlas dot cz> (#265354).
+
+*privoxy-3.0.11-r1 (22 Mar 2009)
+
+ 22 Mar 2009; Alin Năstac <mrness@gentoo.org>
+ +files/privoxy-3.0.11-timeout.patch, +privoxy-3.0.11-r1.ebuild:
+ Import upstream fix for a bug regarding timeout handling (#262820).
+
+*privoxy-3.0.11 (13 Mar 2009)
+
+ 13 Mar 2009; Alin Năstac <mrness@gentoo.org>
+ +files/privoxy-3.0.11-gentoo.patch, +privoxy-3.0.11.ebuild:
+ Version bump (#261865).
+
+ 13 Dec 2008; Alin Năstac <mrness@gentoo.org>
+ -files/privoxy-3.0.6-implicit-decl.patch, -privoxy-3.0.6.ebuild,
+ -privoxy-3.0.8.ebuild, -privoxy-3.0.9_beta-r1.ebuild:
+ Remove obsolete versions.
+
+ 13 Nov 2008; Brent Baude <ranger@gentoo.org> privoxy-3.0.10.ebuild:
+ stable ppc64, bug 242542
+
+ 21 Oct 2008; Raúl Porcel <armin76@gentoo.org> privoxy-3.0.10.ebuild:
+ alpha/sparc/x86 stable wrt #232542
+
+ 18 Oct 2008; Dawid Węgliński <cla@gentoo.org> privoxy-3.0.10.ebuild:
+ Stable on amd64 (bug #242542)
+
+ 18 Oct 2008; nixnut <nixnut@gentoo.org> privoxy-3.0.10.ebuild:
+ Stable on ppc wrt bug 242542
+
+*privoxy-3.0.10 (07 Sep 2008)
+
+ 07 Sep 2008; Alin Năstac <mrness@gentoo.org> +privoxy-3.0.10.ebuild:
+ Version bump (#236875).
+
+*privoxy-3.0.9_beta-r1 (30 Jul 2008)
+
+ 30 Jul 2008; Alin Năstac <mrness@gentoo.org> -privoxy-3.0.9_beta.ebuild,
+ +privoxy-3.0.9_beta-r1.ebuild:
+ Remove pcre USE flag and add libpcre as unconditional dependency (#233358).
+
+*privoxy-3.0.9_beta (24 Jul 2008)
+
+ 24 Jul 2008; Alin Năstac <mrness@gentoo.org>
+ +files/privoxy-3.0.6-implicit-decl.patch, +privoxy-3.0.6.ebuild,
+ +privoxy-3.0.9_beta.ebuild:
+ Revive the previous stable version and bump to the latest beta version
+ (#229049).
+
+ 13 Jul 2008; Alin Năstac <mrness@gentoo.org>
+ -files/privoxy-3.0.6-implicit-decl.patch, -privoxy-3.0.6.ebuild:
+ Remove obsolete version.
+
+ 28 Jun 2008; Raúl Porcel <armin76@gentoo.org> privoxy-3.0.8.ebuild:
+ alpha stable wrt #228745
+
+ 25 Jun 2008; nixnut <nixnut@gentoo.org> privoxy-3.0.8.ebuild:
+ Stable on ppc wrt bug 228745
+
+ 23 Jun 2008; Friedrich Oslage <bluebird@gentoo.org> privoxy-3.0.8.ebuild:
+ Stable on sparc, bug #228745
+
+ 22 Jun 2008; Kenneth Prugh <ken69267@gentoo.org> privoxy-3.0.8.ebuild:
+ amd64 stable, bug #228745
+
+ 22 Jun 2008; Markus Rothe <corsair@gentoo.org> privoxy-3.0.8.ebuild:
+ Stable on ppc64; bug #228745
+
+ 22 Jun 2008; Christian Faulhammer <opfer@gentoo.org> privoxy-3.0.8.ebuild:
+ stable x86, bug 228745
+
+ 30 Jan 2008; Alin Năstac <mrness@gentoo.org> privoxy-3.0.8.ebuild:
+ Add threads and zlib USE flags (#208129).
+
+*privoxy-3.0.8 (29 Jan 2008)
+
+ 29 Jan 2008; Alin Năstac <mrness@gentoo.org> +privoxy-3.0.8.ebuild:
+ Version bump (#204182).
+
+ 14 Nov 2007; Alin Năstac <mrness@gentoo.org> files/privoxy.initd:
+ Set PIDFILE and CONFFILE init script parameters to values based on service
+ name (#199031).
+
+ 04 Nov 2007; Alin Năstac <mrness@gentoo.org> privoxy-3.0.6.ebuild:
+ Remove useless pkg_preinst function.
+
+ 28 Oct 2007; Markus Rothe <corsair@gentoo.org> privoxy-3.0.6.ebuild:
+ Stable on ppc64; bug #174109
+
+ 04 Aug 2007; Markus Rothe <corsair@gentoo.org> privoxy-3.0.6.ebuild:
+ Added ~ppc64
+
+ 17 Jun 2007; Alin Năstac <mrness@gentoo.org>
+ -files/privoxy-3.0.3-zlib.patch, +files/privoxy.initd, -files/privoxy.rc7,
+ -files/privoxy-zlib.patch, -privoxy-3.0.3-r3.ebuild,
+ -privoxy-3.0.3-r5.ebuild, -privoxy-3.0.5_beta.ebuild,
+ privoxy-3.0.6.ebuild:
+ Remove obsolete versions.
+
+ 24 Apr 2007; Tobias Scherbaum <dertobi123@gentoo.org>
+ privoxy-3.0.6.ebuild:
+ ppc stable, bug #174157
+
+ 22 Apr 2007; Bryan Østergaard <kloeri@gentoo.org> privoxy-3.0.6.ebuild:
+ Stable on Alpha, bug 174157.
+
+ 11 Apr 2007; Alin Năstac <mrness@gentoo.org>
+ +files/privoxy-3.0.6-implicit-decl.patch, privoxy-3.0.6.ebuild:
+ Fix QA issue.
+
+ 13 Mar 2007; Raúl Porcel <armin76@gentoo.org> privoxy-3.0.6.ebuild:
+ x86 stable
+
+ 09 Mar 2007; Gustavo Zacarias <gustavoz@gentoo.org> privoxy-3.0.6.ebuild:
+ Stable on sparc
+
+ 17 Jan 2007; Alin Năstac <mrness@gentoo.org> privoxy-3.0.6.ebuild:
+ Stable on amd64.
+
+*privoxy-3.0.6 (01 Dec 2006)
+
+ 01 Dec 2006; Alin Năstac <mrness@gentoo.org> +privoxy-3.0.6.ebuild:
+ Version bump (#156728).
+
+*privoxy-3.0.5_beta (20 Oct 2006)
+
+ 20 Oct 2006; Alin Nastac <mrness@gentoo.org> +privoxy-3.0.5_beta.ebuild:
+ Version bumped without zlib USE flag, the patch being incompatible with this
+ version (#151737).
+
+ 21 Aug 2006; Daniel Gryniewicz <dang@gentoo.org> privoxy-3.0.3-r5.ebuild:
+ Marked stable on amd64 for bug #144559
+
+ 17 Aug 2006; Gustavo Zacarias <gustavoz@gentoo.org>
+ privoxy-3.0.3-r5.ebuild:
+ Stable on sparc
+
+ 17 Jul 2006; Alin Nastac <mrness@gentoo.org> privoxy-3.0.3-r5.ebuild:
+ Revise installed files permissions and owner:group (#140610).
+
+ 16 Jul 2006; Diego Pettenò <flameeyes@gentoo.org>
+ privoxy-3.0.3-r5.ebuild:
+ Don't use root group, use group 0 instead, for Gentoo/Alt compatibility. Add
+ ~x86-fbsd keyword.
+
+ 25 Jun 2006; Tobias Scherbaum <dertobi123@gentoo.org>
+ privoxy-3.0.3-r5.ebuild:
+ ppc stable
+
+ 18 Jun 2006; Alin Nastac <mrness@gentoo.org> privoxy-3.0.3-r5.ebuild:
+ Stable on x86.
+
+*privoxy-3.0.3-r5 (06 Apr 2006)
+
+ 06 Apr 2006; Alin Nastac <mrness@gentoo.org> -privoxy-3.0.3-r4.ebuild,
+ +privoxy-3.0.3-r5.ebuild:
+ Apply zlib patch only if zlib USE flag is enabled (#127917).
+
+*privoxy-3.0.3-r4 (30 Mar 2006)
+
+ 30 Mar 2006; Alin Nastac <mrness@gentoo.org>
+ +files/privoxy-3.0.3-zlib.patch, +privoxy-3.0.3-r4.ebuild:
+ Activate scanning on compressed pages through zlib USE flag.
+ Thanks goes to Georg Sauthoff <g_sauthoff@web.de> (#127917).
+
+ 12 Jan 2006; Marcus D. Hanwell <cryos@gentoo.org> privoxy-3.0.3-r3.ebuild:
+ Stable on amd64.
+
+ 06 Dec 2005; Alin Nastac <mrness@gentoo.org> files/privoxy.logrotate:
+ Fix log files permissions in logrotate config file (#113803).
+
+ 04 Jun 2005; Alin Nastac <mrness@gentoo.org> -files/privoxy.rc6,
+ -privoxy-3.0.2.ebuild, -privoxy-3.0.3.ebuild:
+ Remove obsolete versions.
+
+ 25 Apr 2005; Bryan Østergaard <kloeri@gentoo.org>
+ privoxy-3.0.3-r3.ebuild:
+ Stable on alpha.
+
+ 22 Apr 2005; Alin Nastac <mrness@gentoo.org> :
+ Rename category & herd www-proxy to net-proxy
+
+ 08 Apr 2005; Michael Hanselmann <hansmi@gentoo.org>
+ privoxy-3.0.3-r3.ebuild:
+ Stable on ppc.
+
+ 08 Apr 2005; Gustavo Zacarias <gustavoz@gentoo.org>
+ privoxy-3.0.3-r3.ebuild:
+ Stable on sparc
+
+ 06 Apr 2005; Alin Nastac <mrness@gentoo.org> privoxy-3.0.3-r3.ebuild:
+ Stable on x86
+
+*privoxy-3.0.3-r3 (27 Feb 2005)
+
+ 27 Feb 2005; Alin Nastac <mrness@gentoo.org> -files/privoxy-3.0.3.2.patch,
+ -privoxy-3.0.3-r1.ebuild, -privoxy-3.0.3-r2.ebuild,
+ +privoxy-3.0.3-r3.ebuild:
+ Remove patch added from #83205. See #83278 for more info.
+
+*privoxy-3.0.3-r2 (27 Feb 2005)
+
+ 27 Feb 2005; Alin Nastac <mrness@gentoo.org> +files/privoxy-3.0.3.2.patch,
+ +files/privoxy-zlib.patch, privoxy-3.0.2.ebuild, privoxy-3.0.3-r1.ebuild,
+ +privoxy-3.0.3-r2.ebuild, privoxy-3.0.3.ebuild:
+ Bump version to 3.0.3-2 (#83205) and add support for zlib decompression
+ (#83278).
+
+*privoxy-3.0.3-r1 (24 Feb 2005)
+
+ 24 Feb 2005; Alin Nastac <mrness@gentoo.org> metadata.xml,
+ -files/privoxy-gentoo.diff, +files/privoxy.logrotate, +files/privoxy.rc7,
+ -privoxy-2.9.14_beta.ebuild, +privoxy-3.0.3-r1.ebuild:
+ Changed herd from web-apps to www-proxy. Added pcre and logrotate support,
+ thanks to Torsten Veller <tove@gentoo.org> (#71557). Removed old version.
+
+ 29 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
+ Change encoding to UTF-8 for GLEP 31 compliance
+
+ 05 Sep 2004; Sven Wegener <swegener@gentoo.org> :
+ Fixed ChangeLog header.
+
+ 03 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org>
+ privoxy-3.0.2.ebuild:
+ Masked privoxy-3.0.2.ebuild stable for ppc
+
+ 15 Aug 2004; Stuart Herbert <stuart@gentoo.org> privoxy-2.9.14_beta.ebuild,
+ privoxy-3.0.2.ebuild, privoxy-3.0.3.ebuild:
+ Fix pkg_preinst() -> pkg_setup()
+
+*privoxy-3.0.2 (08 Aug 2004)
+
+ 08 Aug 2004; Stuart Herbert <stuart@gentoo.org> +metadata.xml,
+ +files/privoxy-gentoo.diff, +files/privoxy.rc6, +privoxy-2.9.14_beta.ebuild,
+ +privoxy-3.0.2.ebuild, +privoxy-3.0.3.ebuild:
+ Moved from net-www/privoxy to www-proxy/privoxy.
+
+ 27 Jul 2004; Rob Holland <tigger@gentoo.org> privoxy-2.9.14_beta.ebuild,
+ privoxy-3.0.2.ebuild, privoxy-3.0.3.ebuild:
+ Fix user/group addition re #58526
+
+ 11 Jun 2004; Bryan Østergaard <kloeri@gentoo.org> privoxy-3.0.3.ebuild:
+ Stable on alpha.
+
+ 26 Apr 2004; Aron Griffis <agriffis@gentoo.org> privoxy-3.0.2.ebuild,
+ privoxy-3.0.3.ebuild:
+ Add die following econf for bug 48950
+
+ 13 Apr 2004; Danny van Dyk <kugelfang@gentoo.org> privoxy-3.0.3.ebuild:
+ marked ~amd64
+
+ 11 Apr 2004; Jason Wever <weeve@gentoo.org> privoxy-3.0.2.ebuild:
+ Stable on sparc.
+
+ 06 Apr 2004; Joshua Brindle <method@gentoo.org> privoxy-2.9.14_beta.ebuild,
+ privoxy-3.0.2.ebuild, privoxy-3.0.3.ebuild:
+ added selinux policy to rdepend
+
+ 22 Mar 2004; Jason Wever <weeve@gentoo.org> privoxy-3.0.2.ebuild,
+ privoxy-3.0.3.ebuild:
+ Added ~sparc keywords to 3.0.2 and 3.0.3
+
+*privoxy-3.0.3 (16 Feb 2004)
+
+ 16 Feb 2004; Martin Holzer <mholzer@gentoo.org> privoxy-3.0.3.ebuild:
+ Version bumped.
+
+ 03 Feb 2004; Martin Holzer <mholzer@gentoo.org> privoxy-2.9.14_beta.ebuild:
+ fixing .keep issue. closes 39827
+
+ 18 Jan 2004; Martin Holzer <mholzer@gentoo.org> privoxy-3.0.0.ebuild,
+ privoxy-3.0.2.ebuild:
+ adding keepdir for logfile and RESTRICT=nomirror
+
+ 19 Oct 2003; Martin Holzer <mholzer@gentoo.org> privoxy-3.0.2.ebuild:
+ x86 stable.
+
+ 01 Oct 2003; Tavis Ormandy <taviso@gentoo.org> privoxy-3.0.2.ebuild:
+ Stable on alpha
+
+ 11 Jun 2003; Jon Portnoy <avenj@gentoo.org> privoxy-3.0.2.ebuild :
+ Removed textbrowser dependency to fix bug #20265.
+
+ 09 Jun 2003; <msterret@gentoo.org> privoxy-3.0.0.ebuild,
+ privoxy-3.0.2.ebuild:
+ DEPEND on sed >= 4
+
+*privoxy-3.0.2 (29 Apr 2003)
+
+ 29 Apr 2003; Martin Holzer <mholzer@gentoo.org> privoxy-3.0.0.ebuild,
+ privoxy-3.0.2.ebuild, files/privoxy-3.0.0-gentoo.diff:
+ diff now done with sed. Version bumped. Closes #20011.
+
+*privoxy-3.0.0 (14 Dec 2002)
+
+ 16 Apr 2003; Tavis Ormandy <taviso@gentoo.org> privoxy-3.0.0.ebuild:
+ Marking ~alpha.
+
+ 27 Feb 2003; Martin Holzer <mholzer@gentoo.org> privoxy-3.0.0.ebuild :
+ Marked as stable and changed SLOT="2" to prevent broken package.
+ Closes #16462.
+
+ 15 Feb 2003; Mark Guertin <gerk@gentoo.org> privoxy-3.0.0.ebuild :
+ set ~ppc in keywords
+
+ 14 Dec 2002; Seemant Kulleen <seemant@gentoo.org> privoxy-3.0.0.ebuild
+ files/digest-privoxy-3.0.0 files/privoxy-3.0.0-gentoo.diff
+ files/privoxy.rc6 :
+
+ Version bump and fixes from fridtjof@fbunet.de (Fridtjof Busse) in bug
+ #11835
+
+*privoxy-2.9.14_beta (07 Jul 2002)
+
+ 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+
+ 29 Aug 2002; Seemant Kulleen <seemant@gentoo.org> privoxy-2.9.14_beta :
+
+ Cleaned up ebuild slightly, and added a virtual/textbrowser dependency,
+ which closes bug #7175 by: fridtjof@fbunet.de Also added a .keep file in
+ /var/log/privoxy
+
+ 07 Jul 2002; Georg Sauthoff <g_sauthoff@web.de> *: Initial Ebuild!
diff --git a/net-proxy/privoxy/Manifest b/net-proxy/privoxy/Manifest
new file mode 100644
index 0000000..ed18804
--- /dev/null
+++ b/net-proxy/privoxy/Manifest
@@ -0,0 +1,8 @@
+AUX privoxy-3.0.19-gentoo.patch 3661 SHA256 71c6e6b042a820c44e7110c8a60f7987c826900fd4b22073565977ce63d4860a SHA512 e0f916f33b8f17375b60686a0e4795883f29e46c55e273e0a69fae63d4b4e5a2585bb86b04aa288fdd75cdf51eedf7d72a9f8092e13a853e934e0029ae919a24 WHIRLPOOL 701a5c7ec31b7d2d68801005d81f01ec727712aab7d5d866427a78c940ef2d63201f6ba9e1679bf8e919653b355ea8a0577d4bce5c13b24812d43f2b09797553
+AUX privoxy.initd 745 SHA256 224496b498b4f692ae3316a95b5c7c8b6230dcd5fee0ca163956a7acde243de9 SHA512 5d3870a672cd58d2d88a14af1ebb9c953f951016ba9e0905d7b9bd4ad1b699bf8b77bbb8bc8f31a71a928d3cd4c7f47c6cc20e01962a5ee89981414573fc0972 WHIRLPOOL d55a1df238e24589602174592bfc67af3333f3228abdf9be0f39527d35e7c088421472851b3c54bdb4af9273e714782598c939947fdda6f7e5673fc4b53cb0aa
+AUX privoxy.logrotate 191 SHA256 a14373c8a26aab32f6f025c11a5521d7923ce900d00b31aa61da9f3979e3bb2e SHA512 118caaeac3aba751584c5bdfc737bf5bfeddf1a62fda1f44bcd4654ae2e33183bc1ce6fc66d4a1bdd79766e42e669b1615a6d46d528a1bd49cabdf98385a3bb9 WHIRLPOOL 4f7f576eb52a02daf38ccec68c49ee5ae0d449cbefdc11ecd1a9790eeee99f800576e05467f80a915423aa077ed3769e85a7c03a92679f31d6b3fe4a3aa3a792
+AUX privoxy.service 248 SHA256 35fee00be175e22dffafcd4a61de3a117268d64d506e99b9b3518702c3a20f35 SHA512 0f3484f06521a66b984fda7238f175a135b22fa5a00dc0c8caadd380d21bfecdae7a6c8d2c0d9a4a3c2858539913722be2b7d4fddd17ea2c95f4e151c3f74ca0 WHIRLPOOL 681c7fe28220ddc4194e6e83974878530b4a3aefd3b1a2de66f9b950ea1eb36252b484077c31af9fbbe335d777898e551455ee5c57892f4e43e5966b23b2d05c
+DIST privoxy-3.0.23-stable-src.tar.gz 1715099 SHA256 80b1a172d0518a9f95cde83d18dc62b9c7f117b9ada77bdcd3d310107f28f964 SHA512 487513f4f6f8c868b537132599d0f573384a0b7ed2b3c6778b163d61f94a419e1594d4e0bff286051902bfca292d68c5eeef215955f072c1744bef50db279c25 WHIRLPOOL 68f3ce6dd86a95bb515af2dfe4f166263800f8ff71fb266cb7d8630888f30c93194634b74c5d491a5687afc5842428bd23811ef71ee9358f1cd7ec5ad1ce11a4
+EBUILD privoxy-3.0.23.ebuild 2250 SHA256 b2292b0b6c9b677a4680f91aa59aa011783a17827737589e1c549b8cd87a1b60 SHA512 6e4a639d298b5a43f3a0ffcaa8c0b601b16b32e14c01bcd9ecd014088b96d263ea9fc5306373d020f214bc864f079fe23a9fc1511f3edf71468e5f934c5fe058 WHIRLPOOL 1d63a35219c8cba8ab66278550818a00e872a36fa2538e83efa54c2fc0fee2974242c23601782b8809fe9c3149e4c82f08252e91ff968f15505259b949bf6464
+MISC ChangeLog 19877 SHA256 5a6707d8a6b7f92bb5a0150de9d885d328f53edf1d9f3fa949d2771279e7469c SHA512 e17184457778d5b86ea1fc33c26aeeb30cf1520f19be08c5eebe88dc8d07a64dd0a705b96242276443e9b761d6ee88bb1bc2d6196827dc271c690e2668ff4f77 WHIRLPOOL 3787263a793d68703620594950ab6726857b2856ce3da755923c1a4dd80f6f6684ac10054b3576d15e5ccc5649f3d4672eec69a8c84488e374f588b3af6ff78a
+MISC metadata.xml 1056 SHA256 22f63a2ff4c284f142c7583912701733d538d03214c69d86b2fe3d03daf4dfa3 SHA512 eaf871e571e70ed96d80b8bbd6897d9eb11c096d589a92b5eebf3b1873289817c56051f39725729c3bbc7ec962aa201125191f046bedb750662adf69c9754330 WHIRLPOOL 264ad98af64124e21a65c9b585339dd76e31c154e8a82b9154e9bf8c97f826db6e9d15235e0ec6f49074bf93ce0fdc8be33019e4a9672d92d3155c3d7639adc1
diff --git a/net-proxy/privoxy/files/privoxy-3.0.19-gentoo.patch b/net-proxy/privoxy/files/privoxy-3.0.19-gentoo.patch
new file mode 100644
index 0000000..4571e24
--- /dev/null
+++ b/net-proxy/privoxy/files/privoxy-3.0.19-gentoo.patch
@@ -0,0 +1,114 @@
+--- a/GNUmakefile.in
++++ b/GNUmakefile.in
+@@ -62,8 +62,8 @@
+ MAN_DEST = $(MAN_DIR)/man1
+ MAN_PAGE = privoxy.1
+ SHARE_DEST = @datadir@
+-DOC_DEST = $(SHARE_DEST)/doc/privoxy
+-VAR_DEST = @localstatedir@
++DOC_DEST = @docdir@
++VAR_DEST = /var
+ LOGS_DEST = $(VAR_DEST)/log/privoxy
+ PIDS_DEST = $(VAR_DEST)/run
+
+@@ -852,7 +852,6 @@
+ $(INSTALL) $(INSTALL_T) $(DOK_WEB)/man-page/*html $(DESTDIR)$$DOC/man-page;\
+ $(INSTALL) $(INSTALL_T) $(DOK_WEB)/privoxy-index.html $(DESTDIR)$$DOC/index.html;\
+ $(INSTALL) $(INSTALL_T) AUTHORS $(DESTDIR)$$DOC;\
+- $(INSTALL) $(INSTALL_T) LICENSE $(DESTDIR)$$DOC;\
+ $(INSTALL) $(INSTALL_T) README $(DESTDIR)$$DOC;\
+ $(INSTALL) $(INSTALL_T) ChangeLog $(DESTDIR)$$DOC;\
+ $(INSTALL) $(INSTALL_T) $(DOK_WEB)/p_doc.css $(DESTDIR)$$DOC;\
+@@ -923,34 +922,8 @@
+ fi ;\
+ $(ECHO) Installing configuration files to $(DESTDIR)$(CONF_DEST);\
+ for i in $(CONFIGS); do \
+- if [ "$$i" = "default.action" ] || [ "$$i" = "default.filter" ] ; then \
+- $(RM) $(DESTDIR)$(CONF_DEST)/$$i ;\
+- $(ECHO) Installing fresh $$i;\
+ $(INSTALL) $$INSTALL_CONF $$i $(DESTDIR)$(CONF_DEST) || exit 1;\
+- elif [ -s "$(CONF_DEST)/$$i" ]; then \
+- $(ECHO) Installing $$i as $$i.new ;\
+- $(INSTALL) $$INSTALL_CONF $$i $(DESTDIR)$(CONF_DEST)/$$i.new || exit 1;\
+- NEW=1;\
+- else \
+- $(INSTALL) $$INSTALL_CONF $$i $(DESTDIR)$(CONF_DEST) || exit 1;\
+- fi ;\
+ done ;\
+- if [ -n "$$NEW" ]; then \
+- $(CHMOD) $(RWD_MODE) $(DESTDIR)$(CONF_DEST)/*.new || exit 1 ;\
+- $(ECHO) "Warning: Older config files are preserved. Check new versions for changes!" ;\
+- fi ;\
+- [ ! -f $(DESTDIR)$(LOG_DEST)/logfile ] && $(ECHO) Creating logfiles in $(DESTDIR)$(LOG_DEST) || \
+- $(ECHO) Checking logfiles in $(DESTDIR)$(LOG_DEST) ;\
+- $(TOUCH) $(DESTDIR)$(LOG_DEST)/logfile || exit 1 ;\
+- if [ x$$USER != x ]; then \
+- $(CHOWN) $$USER $(DESTDIR)$(LOG_DEST)/logfile || \
+- $(ECHO) "** WARNING ** current install user different from configured user. Logging may fail!!" ;\
+- fi ;\
+- if [ x$$GROUP_T != x ]; then \
+- $(CHGRP) $$GROUP_T $(DESTDIR)$(LOG_DEST)/logfile || \
+- $(ECHO) "** WARNING ** current install user different from configured user. Logging may fail!!" ;\
+- fi ;\
+- $(CHMOD) $(RWD_MODE) $(DESTDIR)$(LOG_DEST)/logfile || exit 1 ;\
+ if [ "$(prefix)" = "/usr/local" ] || [ "$(prefix)" = "/usr" ]; then \
+ if [ -f /etc/slackware-version ] && [ -d /etc/rc.d/ ] && [ -w /etc/rc.d/ ] ; then \
+ $(SED) 's+%PROGRAM%+$(PROGRAM)+' slackware/rc.privoxy.orig | \
+--- a/config
++++ b/config
+@@ -265,7 +265,7 @@
+ #
+ # No trailing "/", please.
+ #
+-confdir .
++confdir /etc/privoxy
+ #
+ #
+ # 2.2. templdir
+@@ -322,7 +322,7 @@
+ #
+ # No trailing "/", please.
+ #
+-logdir .
++logdir /var/log/privoxy
+ #
+ #
+ # 2.4. actionsfile
+@@ -462,7 +462,7 @@
+ # Any log files must be writable by whatever user Privoxy is
+ # being run as (on Unix, default user id is "privoxy").
+ #
+-logfile logfile
++logfile privoxy.log
+ #
+ #
+ # 2.7. trustfile
+--- a/default.action.master
++++ b/default.action.master
+@@ -566,7 +566,7 @@
+ +client-header-tagger{css-requests} \
+ +client-header-tagger{image-requests} \
+ +hide-from-header{block} \
+-+set-image-blocker{pattern} \
+++set-image-blocker{blank} \
+ }
+ standard.Cautious
+
+@@ -588,7 +588,7 @@
+ +hide-from-header{block} \
+ +hide-referrer{conditional-block} \
+ +session-cookies-only \
+-+set-image-blocker{pattern} \
+++set-image-blocker{blank} \
+ }
+ standard.Medium
+
+@@ -627,7 +627,7 @@
+ +hide-referrer{conditional-block} \
+ +limit-connect{,} \
+ +overwrite-last-modified{randomize} \
+-+set-image-blocker{pattern} \
+++set-image-blocker{blank} \
+ }
+ standard.Advanced
+
diff --git a/net-proxy/privoxy/files/privoxy.initd b/net-proxy/privoxy/files/privoxy.initd
new file mode 100644
index 0000000..84d6186
--- /dev/null
+++ b/net-proxy/privoxy/files/privoxy.initd
@@ -0,0 +1,29 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/privoxy/files/privoxy.initd,v 1.2 2007/11/14 05:14:56 mrness Exp $
+
+CONFFILE=/etc/${SVCNAME}/config
+PIDFILE=/var/run/${SVCNAME}.pid
+
+depend() {
+ need net
+}
+
+start() {
+ if [ ! -f "${CONFFILE}" ]; then
+ eerror "Configuration file ${CONFFILE} not found!"
+ return 1
+ fi
+
+ ebegin "Starting privoxy"
+ start-stop-daemon --start --quiet --exec /usr/sbin/privoxy --pidfile "${PIDFILE}" \
+ -- --pidfile "${PIDFILE}" --user privoxy.privoxy "${CONFFILE}" #2>/dev/null
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping privoxy"
+ start-stop-daemon --stop --quiet --pidfile "${PIDFILE}"
+ eend $?
+}
diff --git a/net-proxy/privoxy/files/privoxy.logrotate b/net-proxy/privoxy/files/privoxy.logrotate
new file mode 100644
index 0000000..aa7463b
--- /dev/null
+++ b/net-proxy/privoxy/files/privoxy.logrotate
@@ -0,0 +1,9 @@
+/var/log/privoxy/privoxy.log /var/log/privoxy/jarfile {
+ missingok
+ notifempty
+ create 0640 privoxy privoxy
+ sharedscripts
+ postrotate
+ killall -HUP privoxy 2>/dev/null || true
+ endscript
+}
diff --git a/net-proxy/privoxy/files/privoxy.service b/net-proxy/privoxy/files/privoxy.service
new file mode 100644
index 0000000..5681239
--- /dev/null
+++ b/net-proxy/privoxy/files/privoxy.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Privoxy Web Proxy With Advanced Filtering Capabilities
+After=network.target
+
+[Service]
+ExecStart=/usr/sbin/privoxy --no-daemon --user privoxy.privoxy /etc/privoxy/config
+SuccessExitStatus=15
+
+[Install]
+WantedBy=multi-user.target
diff --git a/net-proxy/privoxy/metadata.xml b/net-proxy/privoxy/metadata.xml
new file mode 100644
index 0000000..3fed981
--- /dev/null
+++ b/net-proxy/privoxy/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>bircoph@gentoo.org</email>
+</maintainer>
+<use>
+ <flag name="editor">Enable the web-based actions file editor</flag>
+ <flag name="external-filters">Allow to filter content with scripts and programs. Experimental</flag>
+ <flag name="fast-redirects">Support fast redirects</flag>
+ <flag name="force">Allow single-page disable (force load)</flag>
+ <flag name="graceful-termination">Allow to shutdown Privoxy through the webinterface</flag>
+ <flag name="image-blocking">Allows the +handle-as-image action, to send "blocked" images instead of HTML</flag>
+ <flag name="lfs">Support large files (>2GB) on 32-bit systems</flag>
+ <flag name="png-images">Use PNG format instead of GIF for built-in images</flag>
+ <flag name="stats">Keep statistics</flag>
+ <flag name="toggle">Support temporary disable toggle via web interface</flag>
+ <flag name="whitelists">Support trust files (white lists)</flag>
+</use>
+</pkgmetadata>
diff --git a/net-proxy/privoxy/privoxy-3.0.23.ebuild b/net-proxy/privoxy/privoxy-3.0.23.ebuild
new file mode 100644
index 0000000..6f56445
--- /dev/null
+++ b/net-proxy/privoxy/privoxy-3.0.23.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/privoxy/privoxy-3.0.22.ebuild,v 1.8 2015/01/25 11:21:25 ago Exp $
+
+EAPI="5"
+
+inherit eutils toolchain-funcs autotools systemd user
+
+[ "${PV##*_}" = "beta" ] &&
+ PRIVOXY_STATUS="beta" ||
+ PRIVOXY_STATUS="stable"
+
+HOMEPAGE="http://www.privoxy.org http://sourceforge.net/projects/ijbswa/"
+DESCRIPTION="A web proxy with advanced filtering capabilities for protecting privacy against Internet junk"
+SRC_URI="mirror://sourceforge/ijbswa/${P%_*}-${PRIVOXY_STATUS}-src.tar.gz"
+
+IUSE="+acl editor external-filters +fast-redirects +force graceful-termination
++image-blocking ipv6 lfs png-images selinux +stats +threads toggle
+whitelists +zlib"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+LICENSE="GPL-2"
+
+DEPEND="dev-libs/libpcre
+ zlib? ( sys-libs/zlib )"
+RDEPEND="${DEPEND}
+ selinux? ( sec-policy/selinux-privoxy )"
+
+REQUIRED_USE="toggle? ( editor )"
+
+S="${WORKDIR}/${P%_*}-${PRIVOXY_STATUS}"
+
+pkg_setup() {
+ enewgroup privoxy
+ enewuser privoxy -1 -1 /etc/privoxy privoxy
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-3.0.19-gentoo.patch
+ # autoreconf needs to be called even if we don't modify any autotools source files
+ # See main makefile
+ eautoreconf
+}
+
+src_configure() {
+
+ econf \
+ $(use_enable acl acl-support) \
+ $(use_enable editor) \
+ $(use_enable fast-redirects) \
+ $(use_enable force) \
+ $(use_enable graceful-termination) \
+ $(use_enable image-blocking) \
+ $(use_enable ipv6 ipv6-support) \
+ $(use_enable lfs large-file-support) \
+ $(use_enable png-images no-gifs) \
+ $(use_enable stats) \
+ $(use_enable threads pthread) \
+ $(use_enable toggle) \
+ $(use_enable whitelists trust-files) \
+ $(use_enable zlib) \
+ $(usex zlib --enable-compression "") \
+ --enable-dynamic-pcre \
+ --with-user=privoxy \
+ --with-group=privoxy \
+ --sysconfdir=/etc/privoxy \
+ --docdir=/usr/share/doc/${PF}
+}
+
+src_install () {
+ default
+
+ newinitd "${FILESDIR}/privoxy.initd" privoxy
+ systemd_dounit "${FILESDIR}"/${PN}.service
+
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/privoxy.logrotate" privoxy
+
+ diropts -m 0750 -g privoxy -o privoxy
+ keepdir /var/log/privoxy
+}