summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2004-08-08 18:05:31 +0000
committerStuart Herbert <stuart@gentoo.org>2004-08-08 18:05:31 +0000
commit1f1df76bb8e1681225f0cb27c8e7cf92364c0abd (patch)
tree93257bcec3b6f506f5f03ce6526494b3a35a0659 /www-proxy
parentMoved from net-www/pound to www-servers/pound (diff)
downloadhistorical-1f1df76bb8e1681225f0cb27c8e7cf92364c0abd.tar.gz
historical-1f1df76bb8e1681225f0cb27c8e7cf92364c0abd.tar.bz2
historical-1f1df76bb8e1681225f0cb27c8e7cf92364c0abd.zip
Moved from net-www/privoxy to www-proxy/privoxy.
Diffstat (limited to 'www-proxy')
-rw-r--r--www-proxy/privoxy/ChangeLog97
-rw-r--r--www-proxy/privoxy/Manifest10
-rw-r--r--www-proxy/privoxy/files/digest-privoxy-2.9.14_beta1
-rw-r--r--www-proxy/privoxy/files/digest-privoxy-3.0.21
-rw-r--r--www-proxy/privoxy/files/digest-privoxy-3.0.31
-rw-r--r--www-proxy/privoxy/files/privoxy-gentoo.diff93
-rw-r--r--www-proxy/privoxy/files/privoxy.rc620
-rw-r--r--www-proxy/privoxy/metadata.xml9
-rw-r--r--www-proxy/privoxy/privoxy-2.9.14_beta.ebuild77
-rw-r--r--www-proxy/privoxy/privoxy-3.0.2.ebuild74
-rw-r--r--www-proxy/privoxy/privoxy-3.0.3.ebuild74
11 files changed, 457 insertions, 0 deletions
diff --git a/www-proxy/privoxy/ChangeLog b/www-proxy/privoxy/ChangeLog
new file mode 100644
index 000000000000..1167a88dedfe
--- /dev/null
+++ b/www-proxy/privoxy/ChangeLog
@@ -0,0 +1,97 @@
+# ChangeLog for net-www/privoxy
+# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-proxy/privoxy/ChangeLog,v 1.1 2004/08/08 18:05:31 stuart Exp $
+
+*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/www-proxy/privoxy/Manifest b/www-proxy/privoxy/Manifest
new file mode 100644
index 000000000000..87c4c53f0510
--- /dev/null
+++ b/www-proxy/privoxy/Manifest
@@ -0,0 +1,10 @@
+MD5 e2c788ea2d43aba089bea2cedd06f07f privoxy-3.0.2.ebuild 1880
+MD5 865858436b5412e362041d4951d5a33b privoxy-3.0.3.ebuild 1888
+MD5 a07ad85d232413d677d222353a3239e3 privoxy-2.9.14_beta.ebuild 1730
+MD5 a307c1f37c5e457ff867f1ebbb3b7e53 ChangeLog 3113
+MD5 c339473e0ff43da76eb2f2607c441921 metadata.xml 280
+MD5 3633255c0f7643530768ad4edbc48b82 files/privoxy-gentoo.diff 2374
+MD5 a0be004362422bbf19e3cadf3cba42bd files/digest-privoxy-2.9.14_beta 75
+MD5 dbb4193e3be24f0614f3f9781c8f5e03 files/privoxy.rc6 523
+MD5 498b2ae85af76ed736ac4979e28bfe8a files/digest-privoxy-3.0.2 77
+MD5 56d88e9a6970c67adde3386b83dcb2ae files/digest-privoxy-3.0.3 77
diff --git a/www-proxy/privoxy/files/digest-privoxy-2.9.14_beta b/www-proxy/privoxy/files/digest-privoxy-2.9.14_beta
new file mode 100644
index 000000000000..806f43c69496
--- /dev/null
+++ b/www-proxy/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/www-proxy/privoxy/files/digest-privoxy-3.0.2 b/www-proxy/privoxy/files/digest-privoxy-3.0.2
new file mode 100644
index 000000000000..2e45d5b22967
--- /dev/null
+++ b/www-proxy/privoxy/files/digest-privoxy-3.0.2
@@ -0,0 +1 @@
+MD5 9a9e25ad4420dac73d57a8efe6be58a0 privoxy-3.0.2-stable-src.tar.gz 1925287
diff --git a/www-proxy/privoxy/files/digest-privoxy-3.0.3 b/www-proxy/privoxy/files/digest-privoxy-3.0.3
new file mode 100644
index 000000000000..8293b5fba301
--- /dev/null
+++ b/www-proxy/privoxy/files/digest-privoxy-3.0.3
@@ -0,0 +1 @@
+MD5 b0710be8af09409bfb03f52523a17010 privoxy-3.0.3-stable-src.tar.gz 1561072
diff --git a/www-proxy/privoxy/files/privoxy-gentoo.diff b/www-proxy/privoxy/files/privoxy-gentoo.diff
new file mode 100644
index 000000000000..65f885e2b377
--- /dev/null
+++ b/www-proxy/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/www-proxy/privoxy/files/privoxy.rc6 b/www-proxy/privoxy/files/privoxy.rc6
new file mode 100644
index 000000000000..12540376e60c
--- /dev/null
+++ b/www-proxy/privoxy/files/privoxy.rc6
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-proxy/privoxy/files/privoxy.rc6,v 1.1 2004/08/08 18:05:31 stuart Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting privoxy"
+ start-stop-daemon --start --quiet --exec /usr/sbin/privoxy -- /etc/privoxy/config --user privoxy.privoxy &
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping privoxy"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/privoxy
+ eend $?
+}
diff --git a/www-proxy/privoxy/metadata.xml b/www-proxy/privoxy/metadata.xml
new file mode 100644
index 000000000000..13bc126c7d91
--- /dev/null
+++ b/www-proxy/privoxy/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>web-apps</herd>
+<maintainer>
+<email>web-apps@gentoo.org</email>
+<name>Gentoo Web Application Packages Maintainers</name>
+</maintainer>
+</pkgmetadata>
diff --git a/www-proxy/privoxy/privoxy-2.9.14_beta.ebuild b/www-proxy/privoxy/privoxy-2.9.14_beta.ebuild
new file mode 100644
index 000000000000..a28dabc65377
--- /dev/null
+++ b/www-proxy/privoxy/privoxy-2.9.14_beta.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-proxy/privoxy/privoxy-2.9.14_beta.ebuild,v 1.1 2004/08/08 18:05:31 stuart Exp $
+
+inherit eutils
+
+IUSE="selinux"
+MY_P=${P/_beta/-beta}
+S=${WORKDIR}/${MY_P}
+HOMEPAGE="http://www.privoxy.org"
+DESCRIPTION="A web proxy with advanced filtering capabilities for protecting privacy against internet junk."
+SRC_URI="mirror://sourceforge/ijbswa/${MY_P}-src.tar.gz"
+
+DEPEND="virtual/textbrowser"
+RDEPEND="selinux? ( sec-policy/selinux-privoxy )"
+
+SLOT="2"
+KEYWORDS="x86 sparc"
+LICENSE="GPL-2"
+
+pkg_preinst() {
+ enewgroup privoxy
+ enewuser privoxy -1 /bin/false /etc/privoxy privoxy
+}
+
+src_unpack() {
+ unpack ${A}
+ patch -p0 < ${FILESDIR}/privoxy-gentoo.diff
+
+ cd ${S}
+ autoheader || die "autoheader failed"
+ autoconf || die "autoconf failed"
+}
+
+src_compile() {
+
+ econf \
+ --sysconfdir=/etc/privoxy || die "./configure failed"
+
+ emake || die "make failed."
+
+}
+
+src_install () {
+ cd ${WORKDIR}/privoxy-2.9.14-beta
+
+ diropts -m 0750 -g privoxy -o privoxy
+ dodir /var/log/privoxy
+ keepdir /var/log/privoxy
+ dodir /etc/privoxy /etc/privoxy/templates
+
+ insopts -m 0640 -g privoxy -o privoxy
+ insinto /etc/privoxy
+ doins default.filter trust default.action config
+
+ insinto /etc/privoxy/templates
+ doins templates/*
+
+ doman privoxy.1
+
+ dodoc LICENSE README AUTHORS doc/text/faq.txt ChangeLog
+
+ insopts
+ for i in developer-manual faq man-page user-manual
+ do
+ insinto /usr/share/doc/${PF}/$i
+ doins doc/webserver/$i/*
+ done
+
+ insopts -m 0754 -g privoxy -o privoxy
+ insinto /etc/init.d
+ newins ${FILESDIR}/privoxy.rc6 privoxy
+
+ insopts -m 0750 -g privoxy -o privoxy
+ insinto /usr/sbin
+ doins privoxy
+}
diff --git a/www-proxy/privoxy/privoxy-3.0.2.ebuild b/www-proxy/privoxy/privoxy-3.0.2.ebuild
new file mode 100644
index 000000000000..d507c1bca28e
--- /dev/null
+++ b/www-proxy/privoxy/privoxy-3.0.2.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-proxy/privoxy/privoxy-3.0.2.ebuild,v 1.1 2004/08/08 18:05:31 stuart Exp $
+
+inherit eutils
+
+S="${WORKDIR}/${P}-stable"
+HOMEPAGE="http://www.privoxy.org"
+DESCRIPTION="A web proxy with advanced filtering capabilities for protecting privacy against internet junk."
+SRC_URI="mirror://sourceforge/ijbswa/${P}-stable-src.tar.gz"
+RESTRICT="nomirror"
+
+IUSE="selinux"
+SLOT="2"
+KEYWORDS="x86 ~ppc alpha sparc"
+LICENSE="GPL-2"
+
+DEPEND=">=sys-apps/sed-4"
+RDEPEND="selinux? ( sec-policy/selinux-privoxy )"
+
+pkg_preinst() {
+ enewgroup privoxy
+ enewuser privoxy -1 /bin/false /etc/privoxy privoxy
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i 's:confdir .:confdir /etc/privoxy:' config
+ sed -i 's:logdir .:logdir /var/log/privoxy:' config
+ sed -i 's:logfile logfile:logfile privoxy.log:' config
+ sed -i 's:set-image-blocker{pattern}:set-image-blocker{blank}:' default.action.master
+
+ autoheader || die "autoheader failed"
+ autoconf || die "autoconf failed"
+}
+
+src_compile() {
+ econf \
+ --sysconfdir=/etc/privoxy || die "econf failed"
+
+ emake || die "make failed."
+}
+
+src_install () {
+ diropts -m 0750 -g privoxy -o privoxy
+ dodir /var/log/privoxy
+ keepdir /var/log/privoxy
+ dodir /etc/privoxy /etc/privoxy/templates
+
+ insopts -m 0640 -g privoxy -o privoxy
+ insinto /etc/privoxy
+ doins default.action default.filter config standard.action trust user.action
+
+ insinto /etc/privoxy/templates
+ doins templates/*
+
+ doman privoxy.1
+
+ dodoc LICENSE README AUTHORS doc/text/faq.txt ChangeLog
+
+ insopts
+ for i in developer-manual faq man-page user-manual
+ do
+ insinto /usr/share/doc/${PF}/$i
+ doins doc/webserver/$i/*
+ done
+
+ insopts -m 0750 -g root -o root
+ insinto /usr/sbin
+ doins privoxy
+ insinto /etc/init.d
+ newins ${FILESDIR}/privoxy.rc6 privoxy
+}
diff --git a/www-proxy/privoxy/privoxy-3.0.3.ebuild b/www-proxy/privoxy/privoxy-3.0.3.ebuild
new file mode 100644
index 000000000000..e14d3f8995d9
--- /dev/null
+++ b/www-proxy/privoxy/privoxy-3.0.3.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-proxy/privoxy/privoxy-3.0.3.ebuild,v 1.1 2004/08/08 18:05:31 stuart Exp $
+
+inherit eutils
+
+S="${WORKDIR}/${P}-stable"
+HOMEPAGE="http://www.privoxy.org"
+DESCRIPTION="A web proxy with advanced filtering capabilities for protecting privacy against internet junk."
+SRC_URI="mirror://sourceforge/ijbswa/${P}-stable-src.tar.gz"
+RESTRICT="nomirror"
+
+IUSE="selinux"
+SLOT="2"
+KEYWORDS="~x86 ~ppc alpha ~sparc ~amd64"
+LICENSE="GPL-2"
+
+DEPEND=">=sys-apps/sed-4"
+RDEPEND="selinux? ( sec-policy/selinux-privoxy )"
+
+pkg_preinst() {
+ enewgroup privoxy
+ enewuser privoxy -1 /bin/false /etc/privoxy privoxy
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i 's:confdir .:confdir /etc/privoxy:' config
+ sed -i 's:logdir .:logdir /var/log/privoxy:' config
+ sed -i 's:logfile logfile:logfile privoxy.log:' config
+ sed -i 's:set-image-blocker{pattern}:set-image-blocker{blank}:' default.action.master
+
+ autoheader || die "autoheader failed"
+ autoconf || die "autoconf failed"
+}
+
+src_compile() {
+ econf \
+ --sysconfdir=/etc/privoxy || die "econf failed"
+
+ emake || die "make failed."
+}
+
+src_install () {
+ diropts -m 0750 -g privoxy -o privoxy
+ dodir /var/log/privoxy
+ keepdir /var/log/privoxy
+ dodir /etc/privoxy /etc/privoxy/templates
+
+ insopts -m 0640 -g privoxy -o privoxy
+ insinto /etc/privoxy
+ doins default.action default.filter config standard.action trust user.action
+
+ insinto /etc/privoxy/templates
+ doins templates/*
+
+ doman privoxy.1
+
+ dodoc LICENSE README AUTHORS doc/text/faq.txt ChangeLog
+
+ insopts
+ for i in developer-manual faq man-page user-manual
+ do
+ insinto /usr/share/doc/${PF}/$i
+ doins doc/webserver/$i/*
+ done
+
+ insopts -m 0750 -g root -o root
+ insinto /usr/sbin
+ doins privoxy
+ insinto /etc/init.d
+ newins ${FILESDIR}/privoxy.rc6 privoxy
+}