summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2006-09-20 08:34:25 +0000
committerAlin Năstac <mrness@gentoo.org>2006-09-20 08:34:25 +0000
commit6fbf9f01c8a21afde54c1ee8064a1ba8af1533f6 (patch)
tree405703411cf158f574930d4ecf80f176135b11e7 /net-proxy/adzapper
parentAdded new option to call all parts of src_unpack, but not unpack. (diff)
downloadhistorical-6fbf9f01c8a21afde54c1ee8064a1ba8af1533f6.tar.gz
historical-6fbf9f01c8a21afde54c1ee8064a1ba8af1533f6.tar.bz2
historical-6fbf9f01c8a21afde54c1ee8064a1ba8af1533f6.zip
Version bump.
Package-Manager: portage-2.1.1
Diffstat (limited to 'net-proxy/adzapper')
-rw-r--r--net-proxy/adzapper/ChangeLog7
-rw-r--r--net-proxy/adzapper/Manifest24
-rw-r--r--net-proxy/adzapper/adzapper-20060909.ebuild59
-rw-r--r--net-proxy/adzapper/files/digest-adzapper-200609093
4 files changed, 84 insertions, 9 deletions
diff --git a/net-proxy/adzapper/ChangeLog b/net-proxy/adzapper/ChangeLog
index ce671762193e..85234cd1744f 100644
--- a/net-proxy/adzapper/ChangeLog
+++ b/net-proxy/adzapper/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-proxy/adzapper
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/adzapper/ChangeLog,v 1.31 2006/08/17 20:58:07 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/adzapper/ChangeLog,v 1.32 2006/09/20 08:34:25 mrness Exp $
+
+*adzapper-20060909 (20 Sep 2006)
+
+ 20 Sep 2006; Alin Nastac <mrness@gentoo.org> +adzapper-20060909.ebuild:
+ Version bump.
17 Aug 2006; Gustavo Zacarias <gustavoz@gentoo.org>
adzapper-20060424.ebuild:
diff --git a/net-proxy/adzapper/Manifest b/net-proxy/adzapper/Manifest
index 4d9855a01b5a..fcfb307f454e 100644
--- a/net-proxy/adzapper/Manifest
+++ b/net-proxy/adzapper/Manifest
@@ -3,6 +3,7 @@ Hash: SHA1
DIST adzap-20060203.tar.gz 52728 RMD160 3536ee82d4c76a4a4ab9c07a5865db2a4bbb7240 SHA1 e07969281065c12dae1e69d6a8344187c8890caa SHA256 b812264db684d5a72f552a99b2e69ea09f5030758d9639c648b78611fd3c0a25
DIST adzap-20060424.tar.gz 53278 RMD160 7ecf0bfc24460800cd4a10af0ffce9c2524bc62e SHA1 da2dfc27b5d1b31a202ec52a492b0a2d057c0789 SHA256 2d2a16713c8fdd4ae770c08973c8741a488c5448b36c9c9538f79eeda68ebb1a
+DIST adzap-20060909.tar.gz 53472 RMD160 53ed865cc45815674338cec4fe36261318925620 SHA1 ae1cd419b07b2e72aa890b7792d8a8d954f3519f SHA256 933445060f19394c7e5a50876812aaf5c9147f58f2ff38081df740820de086b1
EBUILD adzapper-20060203.ebuild 1522 RMD160 e54b2a9a74da51ac04b3d5c311f726005c8ac77d SHA1 e44929962cfec239cf988b66b5b2c6631c03a5e3 SHA256 76e50146bc085b90649467b2d4dd828834db8b4e23ecd0975f04421988bee2e0
MD5 2f8a8ebaabb090eb9659a67b931800de adzapper-20060203.ebuild 1522
RMD160 e54b2a9a74da51ac04b3d5c311f726005c8ac77d adzapper-20060203.ebuild 1522
@@ -11,10 +12,14 @@ EBUILD adzapper-20060424.ebuild 1517 RMD160 ed809c2b7a977b6f68717691958976ceb06b
MD5 8066b68f6ae8593362eace2a7e77926a adzapper-20060424.ebuild 1517
RMD160 ed809c2b7a977b6f68717691958976ceb06b94e1 adzapper-20060424.ebuild 1517
SHA256 64cf5f7a6554ee98cc6c6b9803e32dcb14a8b18d005951c896eb1242b4abc4db adzapper-20060424.ebuild 1517
-MISC ChangeLog 7156 RMD160 d057dc41873eafa0dffb4161c2f65ccace394b78 SHA1 4cfd07907d6c37b158bbb924c4f8dfc769fc2f20 SHA256 a9165e754bee4a9c91c1c49dafe8d56cf8235f6c89ec25b86ae35676468102b7
-MD5 86be6cb2bf82a50b30a610a5d5b46afa ChangeLog 7156
-RMD160 d057dc41873eafa0dffb4161c2f65ccace394b78 ChangeLog 7156
-SHA256 a9165e754bee4a9c91c1c49dafe8d56cf8235f6c89ec25b86ae35676468102b7 ChangeLog 7156
+EBUILD adzapper-20060909.ebuild 1670 RMD160 b43ed4212dd445d7ac4fe6d72969fcc34e83d0f6 SHA1 fbe1848f4c643620ee53021fde59a30aae6cfa44 SHA256 22660b27ac17a0cd75df395ec2df8a05ef0be0cb4987a315176436270309a7d4
+MD5 fc5a04078a390791ddeb2c28cb21be8d adzapper-20060909.ebuild 1670
+RMD160 b43ed4212dd445d7ac4fe6d72969fcc34e83d0f6 adzapper-20060909.ebuild 1670
+SHA256 22660b27ac17a0cd75df395ec2df8a05ef0be0cb4987a315176436270309a7d4 adzapper-20060909.ebuild 1670
+MISC ChangeLog 7279 RMD160 c91cd65271bcb148a0f09ef2c409e4bc5e2b8436 SHA1 7521d48fbe19c546b22d9e36a2336bb73907cbf0 SHA256 94aeb7d65fe25d6aa87093396939ab8f0b4f35d3ed7ff86970cb2176d9d16eab
+MD5 5685c17816d2837f1dbdbaa1ceaf93bc ChangeLog 7279
+RMD160 c91cd65271bcb148a0f09ef2c409e4bc5e2b8436 ChangeLog 7279
+SHA256 94aeb7d65fe25d6aa87093396939ab8f0b4f35d3ed7ff86970cb2176d9d16eab ChangeLog 7279
MISC metadata.xml 279 RMD160 709b7617dd193fb1af6f8dc706f72223a0f838dc SHA1 e0208f01ac6493c23c2bd75416f0d2ae8c0473bf SHA256 56f4b53d553e31b70095de70341ab48f0aa0145793d8933d0b454f910939282d
MD5 fae29d14dc1747ee9d3a07900bdd3990 metadata.xml 279
RMD160 709b7617dd193fb1af6f8dc706f72223a0f838dc metadata.xml 279
@@ -25,10 +30,13 @@ SHA256 24beef3948f46792dc4a9ae282abf84e76babcc3e18ecc6f9eee24a1285a06b0 files/di
MD5 4a42e10efede836b4252add6a085974e files/digest-adzapper-20060424 241
RMD160 e4371c1917374105bb79dea96be73dcf00ce16a2 files/digest-adzapper-20060424 241
SHA256 6f1e4aee9a5f6681e08960b7881e462def6c6a29bf9bc73c9e7be2fd5ba1ff25 files/digest-adzapper-20060424 241
+MD5 22c8fd658965b221a4100ea97749e5d7 files/digest-adzapper-20060909 241
+RMD160 057017ee3c7924736b1bf870d66731537e28f305 files/digest-adzapper-20060909 241
+SHA256 ee60a7d7ccfdbf65802141c3c7c5124d6047f11e455d780a446b73a3288b6124 files/digest-adzapper-20060909 241
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5-ecc0.1.6 (GNU/Linux)
+Version: GnuPG v1.4.5 (GNU/Linux)
-iD8DBQFE5NhtKRy60XGEcJIRApgnAKCthIKaYefUTLpmDwbcQCw7JrUcNQCcDPRJ
-omf4fzvBdfFLBTux+d3aqGc=
-=W321
+iD8DBQFFEP0e3sf9c6kjmR8RAjVxAJ9xUFYcP9/bKOjrMzn1ljil5Aa3fACbBBdK
+pkz31AC2xDfFS8ex8iJWqmM=
+=RxRE
-----END PGP SIGNATURE-----
diff --git a/net-proxy/adzapper/adzapper-20060909.ebuild b/net-proxy/adzapper/adzapper-20060909.ebuild
new file mode 100644
index 000000000000..d75be6c8af8f
--- /dev/null
+++ b/net-proxy/adzapper/adzapper-20060909.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/adzapper/adzapper-20060909.ebuild,v 1.1 2006/09/20 08:34:25 mrness Exp $
+
+MY_P=${P/zapper/zap}
+
+DESCRIPTION="Redirector for squid that intercepts advertising, page counters and some web bugs"
+HOMEPAGE="http://adzapper.sourceforge.net/"
+SRC_URI="http://adzapper.sourceforge.net/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="dev-lang/perl
+ net-proxy/squid"
+
+S="${WORKDIR}/adzap"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}/scripts" || die "Scripts directory not found"
+
+ # update the zapper path in various scripts
+ local f SCRPATH="/etc/adzapper/squid_redirect"
+ for f in wrapzap update-zapper*; do
+ sed -i -e "s|^zapper=.*|zapper=${SCRPATH}|" \
+ -e "s|^ZAPPER=.*|ZAPPER=\"${SCRPATH}\"|" \
+ -e "s|^pidfile=.*|pidfile=/var/run/squid.pid|" \
+ -e "s|^PIDFILE=.*|PIDFILE=\"/var/run/squid.pid\"|" \
+ -e "s|^RESTARTCMD=.*|RESTARTCMD=\"/etc/init.d/squid restart\"|" \
+ $f || die "sed updating failed."
+ done
+}
+
+src_install() {
+ cd "${S}/scripts"
+ exeinto /etc/adzapper
+ doexe wrapzap zapchain squid_redirect
+
+ insinto /etc/adzapper
+ doins update-zapper*
+
+ cd "${S}/zaps"
+ insinto /var/www/localhost/htdocs/zap
+ doins *
+}
+
+pkg_postinst() {
+ einfo "To enable adzapper, add the following lines to /etc/squid/squid.conf:"
+ einfo " - for squid ver 2.5"
+ einfo " redirect_program /etc/adzapper/wrapzap"
+ einfo " redirect_children 10"
+ einfo " - for squid ver 2.6"
+ einfo " url_rewrite_program /etc/adzapper/wrapzap"
+ einfo " url_rewrite_children 10"
+}
diff --git a/net-proxy/adzapper/files/digest-adzapper-20060909 b/net-proxy/adzapper/files/digest-adzapper-20060909
new file mode 100644
index 000000000000..10117d4efac7
--- /dev/null
+++ b/net-proxy/adzapper/files/digest-adzapper-20060909
@@ -0,0 +1,3 @@
+MD5 35bda30d571e98d5fada42e6c99166bf adzap-20060909.tar.gz 53472
+RMD160 53ed865cc45815674338cec4fe36261318925620 adzap-20060909.tar.gz 53472
+SHA256 933445060f19394c7e5a50876812aaf5c9147f58f2ff38081df740820de086b1 adzap-20060909.tar.gz 53472