summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2009-03-13 20:00:28 +0000
committerAlin Năstac <mrness@gentoo.org>2009-03-13 20:00:28 +0000
commite27627a2523a89a938da38d57051f81971746b1a (patch)
tree724ddb818ffaaeb2c2efa6eadbd244ce5e853a11 /net-proxy
parenttowitoko: don't enable devfs, this results in obsolete paths not available in... (diff)
downloadhistorical-e27627a2523a89a938da38d57051f81971746b1a.tar.gz
historical-e27627a2523a89a938da38d57051f81971746b1a.tar.bz2
historical-e27627a2523a89a938da38d57051f81971746b1a.zip
Version bump (#261865).
Package-Manager: portage-2.1.6.7/cvs/Linux x86_64
Diffstat (limited to 'net-proxy')
-rw-r--r--net-proxy/privoxy/ChangeLog10
-rw-r--r--net-proxy/privoxy/Manifest13
-rw-r--r--net-proxy/privoxy/files/privoxy-3.0.11-gentoo.patch86
-rw-r--r--net-proxy/privoxy/privoxy-3.0.11.ebuild63
4 files changed, 165 insertions, 7 deletions
diff --git a/net-proxy/privoxy/ChangeLog b/net-proxy/privoxy/ChangeLog
index dda195bce9c4..cd5870db4722 100644
--- a/net-proxy/privoxy/ChangeLog
+++ b/net-proxy/privoxy/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-proxy/privoxy
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/privoxy/ChangeLog,v 1.44 2008/12/13 13:51:33 mrness Exp $
+# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/privoxy/ChangeLog,v 1.45 2009/03/13 20:00:28 mrness Exp $
+
+*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,
diff --git a/net-proxy/privoxy/Manifest b/net-proxy/privoxy/Manifest
index 478324979979..29cbcf56c5ad 100644
--- a/net-proxy/privoxy/Manifest
+++ b/net-proxy/privoxy/Manifest
@@ -1,16 +1,19 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX privoxy-3.0.11-gentoo.patch 2779 RMD160 ecf39b26d63e5c98a7f961348c5526ee910cea89 SHA1 aba3d1788b323c6ef3a3002e669f3208fc414bad SHA256 b8fe11ad45493d000016e40b68d1fbf7e7f3c0eb8ca98b996dbb35b2c2ec7cb2
AUX privoxy.initd 745 RMD160 42a6a3399293098eaa6d00d8aa5974ecaa66ae89 SHA1 edcc340c1751d3f3193b138cc2ce1cacf49b4b89 SHA256 224496b498b4f692ae3316a95b5c7c8b6230dcd5fee0ca163956a7acde243de9
AUX privoxy.logrotate 191 RMD160 0619507db8b0ad5bdd3d0a390807e52da4afca3f SHA1 78e91faf72b5541cb98467b99f5be1d93fff014c SHA256 a14373c8a26aab32f6f025c11a5521d7923ce900d00b31aa61da9f3979e3bb2e
DIST privoxy-3.0.10-stable-src.tar.gz 1957465 RMD160 91c8d56b71a5c606554bf509827197d689d8fc10 SHA1 0ce51a8dc938fe6412daa7f6edf159b98fd66d54 SHA256 3d9f9f56482012ddab396caf73f4c401746a4eeebd6c763b04f6108e48a9094f
+DIST privoxy-3.0.11-stable-src.tar.gz 2050049 RMD160 2d867cd8132e13fa137db74f59db8ecb9e7a843e SHA1 e9f41412b78ea5f3b1cd8ca6a651ee5801837a9f SHA256 cd1a3d2be048cba26ba70b4896709d8a0d2d2bbc0adca4b5a260319674098926
EBUILD privoxy-3.0.10.ebuild 2040 RMD160 531ff25e224dffad4c25480bdeddd2b14e224598 SHA1 62fdc9e63e04f133a4e56cdb5c35f1cb96ae985e SHA256 30ab6b401d2c424f579e1d9d5a1a7598bf81ffdcb51f6634adaf8f1edb05da7a
-MISC ChangeLog 10814 RMD160 48e0caaf4b9d7a926a9451fe5bdde8451f3b2007 SHA1 b74764a81d47645134e49151baec554bddd6e0c2 SHA256 90b6233a0682e8ef920fd1c6a63ad7dc52ec49f4cb3a18665f6f157a95588910
+EBUILD privoxy-3.0.11.ebuild 1630 RMD160 c6722bccb514c3d2f2c1a457312a6cac76e5f6e5 SHA1 7df0dc8b8c1f94830e3a75ac444b6f409b5b85c2 SHA256 3ff39faccf51ca8e3719c90eeb76c34394be7aef6acf978809872346749cd76a
+MISC ChangeLog 10982 RMD160 0afbdf42f0aadc620aa9f96976326410babef70d SHA1 8a28a1c4eb3d381aa8bf86cc472eb0d33519342c SHA256 defadf76a57a4be2039e5398f4105b2e7e58e1e553fa13fd47cb0c48d5606a9b
MISC metadata.xml 291 RMD160 1e9cbadea15378b291cd003139d8fbdc8cf4595b SHA1 27e52a5679b01f661170e997bdc9578ef42a5d18 SHA256 694b05be02eb88162313a10a1e3e44acf89214381eab941a0ec497ab8925049c
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
+Version: GnuPG v2.0.10 (GNU/Linux)
-iEYEARECAAYFAklDvfIACgkQPrHvTlXvhttFbQCfZT84nYM9XNJ4BR18HiGHiPg6
-zroAoITzFlJWBX9I2luXuiG+f6Io6THn
-=rKjI
+iEYEARECAAYFAkm6u2cACgkQts85UDFmaOVLEACffTK6O9iE2TSTQALO69E0Jg6S
+0xoAn1uwr3AZOhGIpuo148cJRRLrz4Wl
+=uN8K
-----END PGP SIGNATURE-----
diff --git a/net-proxy/privoxy/files/privoxy-3.0.11-gentoo.patch b/net-proxy/privoxy/files/privoxy-3.0.11-gentoo.patch
new file mode 100644
index 000000000000..3276c1f2ac7e
--- /dev/null
+++ b/net-proxy/privoxy/files/privoxy-3.0.11-gentoo.patch
@@ -0,0 +1,86 @@
+diff -Nru privoxy-3.0.11-stable.orig/GNUmakefile.in privoxy-3.0.11-stable/GNUmakefile.in
+--- privoxy-3.0.11-stable.orig/GNUmakefile.in 2009-02-08 18:35:48.000000000 +0000
++++ privoxy-3.0.11-stable/GNUmakefile.in 2009-03-13 19:56:45.000000000 +0000
+@@ -1140,22 +1140,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 ;\
+diff -Nru privoxy-3.0.11-stable.orig/config privoxy-3.0.11-stable/config
+--- privoxy-3.0.11-stable.orig/config 2009-02-19 17:26:26.000000000 +0000
++++ privoxy-3.0.11-stable/config 2009-03-13 19:21:49.000000000 +0000
+@@ -267,7 +267,7 @@
+ #
+ # No trailing "/", please.
+ #
+-confdir .
++confdir /etc/privoxy
+ #
+ #
+ # 2.2. templdir
+@@ -324,7 +324,7 @@
+ #
+ # No trailing "/", please.
+ #
+-logdir .
++logdir /var/log/privoxy
+ #
+ #
+ # 2.4. actionsfile
+@@ -464,7 +464,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
+diff -Nru privoxy-3.0.11-stable.orig/default.action.master privoxy-3.0.11-stable/default.action.master
+--- privoxy-3.0.11-stable.orig/default.action.master 2009-02-12 19:08:32.000000000 +0000
++++ privoxy-3.0.11-stable/default.action.master 2009-03-13 19:22:01.000000000 +0000
+@@ -564,7 +564,7 @@
+ { \
+ +change-x-forwarded-for{block} \
+ +hide-from-header{block} \
+-+set-image-blocker{pattern} \
+++set-image-blocker{blank} \
+ }
+ standard.Cautious
+
+@@ -584,7 +584,7 @@
+ +hide-from-header{block} \
+ +hide-referrer{conditional-block} \
+ +session-cookies-only \
+-+set-image-blocker{pattern} \
+++set-image-blocker{blank} \
+ }
+ standard.Medium
+
+@@ -623,7 +623,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/privoxy-3.0.11.ebuild b/net-proxy/privoxy/privoxy-3.0.11.ebuild
new file mode 100644
index 000000000000..308dc86e98ff
--- /dev/null
+++ b/net-proxy/privoxy/privoxy-3.0.11.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/privoxy/privoxy-3.0.11.ebuild,v 1.1 2009/03/13 20:00:28 mrness Exp $
+
+EAPI="2"
+
+inherit eutils toolchain-funcs autotools
+
+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/_/-}-stable-src.tar.gz"
+
+IUSE="selinux threads zlib"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+LICENSE="GPL-2"
+
+DEPEND="dev-libs/libpcre
+ zlib? ( sys-libs/zlib )"
+RDEPEND="${DEPEND}
+ selinux? ( sec-policy/selinux-privoxy )"
+
+S="${WORKDIR}/${P/_/-}-stable"
+
+pkg_setup() {
+ enewgroup privoxy
+ enewuser privoxy -1 -1 /etc/privoxy privoxy
+}
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+ # autoreconf needs to be called even if we don't modify any autotools source files
+ # See main makefile
+ eautoreconf || die "eautoreconf failed"
+}
+
+src_configure() {
+ export CC=$(tc-getCC)
+ econf \
+ $(use_enable zlib) \
+ $(use_enable threads pthread) \
+ --enable-dynamic-pcre \
+ --with-user=privoxy \
+ --with-group=privoxy \
+ --sysconfdir=/etc/privoxy \
+ --docdir=/usr/share/doc/${PF} \
+ || die "econf failed"
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ newinitd "${FILESDIR}/privoxy.initd" privoxy
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/privoxy.logrotate" privoxy
+
+ diropts -m 0750 -g privoxy -o privoxy
+ keepdir /var/log/privoxy
+}