summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus D. Hanwell <cryos@gentoo.org>2005-02-23 15:56:15 +0000
committerMarcus D. Hanwell <cryos@gentoo.org>2005-02-23 15:56:15 +0000
commiteaed89e64e28e2d9d5ece2143b99f39d198a0688 (patch)
tree7b87aeae21af44b0207f321db66ae18091261fd1 /www-proxy
parentSome formatting changes (diff)
downloadhistorical-eaed89e64e28e2d9d5ece2143b99f39d198a0688.tar.gz
historical-eaed89e64e28e2d9d5ece2143b99f39d198a0688.tar.bz2
historical-eaed89e64e28e2d9d5ece2143b99f39d198a0688.zip
Version bump - closes bug 63717.
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'www-proxy')
-rw-r--r--www-proxy/adzapper/ChangeLog7
-rw-r--r--www-proxy/adzapper/Manifest10
-rw-r--r--www-proxy/adzapper/adzapper-20050106.ebuild57
-rw-r--r--www-proxy/adzapper/files/digest-adzapper-200501061
4 files changed, 70 insertions, 5 deletions
diff --git a/www-proxy/adzapper/ChangeLog b/www-proxy/adzapper/ChangeLog
index c00673529efb..748d31c93f0d 100644
--- a/www-proxy/adzapper/ChangeLog
+++ b/www-proxy/adzapper/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-proxy/adzapper
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-proxy/adzapper/ChangeLog,v 1.6 2005/02/16 22:13:59 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-proxy/adzapper/ChangeLog,v 1.7 2005/02/23 15:56:15 cryos Exp $
+
+*adzapper-20050106 (23 Feb 2005)
+
+ 23 Feb 2005; Marcus D. Hanwell <cryos@gentoo.org> +adzapper-20050106.ebuild:
+ Version bump, thanks to Stefan Briesenick <sbriesen@gmx.de>, bug 63717.
17 Feb 2005; Alin Nastac <mrness@gentoo.org> metadata.xml,
-adzapper-20031105.ebuild, -adzapper-20040104.ebuild,
diff --git a/www-proxy/adzapper/Manifest b/www-proxy/adzapper/Manifest
index 759500cc0b54..07d4d2f23816 100644
--- a/www-proxy/adzapper/Manifest
+++ b/www-proxy/adzapper/Manifest
@@ -2,13 +2,15 @@
Hash: SHA1
MD5 7bd9ec75f217ba0e17a7faa4bc115466 adzapper-20040408.ebuild 1464
-MD5 e21ae98ad81501a6f7fee38e531a12ab ChangeLog 3230
+MD5 6468530c7f00afcc485ded995f848d10 adzapper-20050106.ebuild 1521
+MD5 6fa0b5433ce642178cafe67679ed3d9c ChangeLog 3417
MD5 721f99d55a63f5e643476a5340957c04 metadata.xml 368
MD5 d1666b04a8c2b141f1a5875a0eea33f0 files/digest-adzapper-20040408 65
+MD5 e7d816cf4877320a48ec63fb3b3b7d6c files/digest-adzapper-20050106 65
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
-iD8DBQFCE8WxjiC39V7gKu0RAnu9AKChsDuc4QmumS4ILYMLWyMmi5X6zgCg5CZd
-MoQojGlp0o9TATjKLZ9CKNw=
-=9WwJ
+iD8DBQFCHKe/ntT9W3vfTuoRAieeAJ9GSBG+L+8Wxf50oA5Czz6NdAWY3ACfWwOj
+/BOttK+/zpZUi7JHT9Ux3rw=
+=mMM4
-----END PGP SIGNATURE-----
diff --git a/www-proxy/adzapper/adzapper-20050106.ebuild b/www-proxy/adzapper/adzapper-20050106.ebuild
new file mode 100644
index 000000000000..afd48cb6d847
--- /dev/null
+++ b/www-proxy/adzapper/adzapper-20050106.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-proxy/adzapper/adzapper-20050106.ebuild,v 1.1 2005/02/23 15:56:15 cryos Exp $
+
+DESCRIPTION="Redirector for squid that intercepts advertising, page counters and some web bugs"
+HOMEPAGE="http://adzapper.sourceforge.net/"
+
+MY_P=${P/zapper/zap}
+S="${WORKDIR}/adzap"
+
+SRC_URI="http://adzapper.sourceforge.net/${MY_P}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64"
+IUSE=""
+
+DEPEND=""
+RDEPEND="www-proxy/squid"
+
+src_unpack() {
+ unpack ${A}
+
+ SCRPATH="/etc/adzapper/squid_redirect"
+
+ cd ${S}/scripts || die "Error no scripts dir."
+
+ # update the zapper path in various scripts
+ for src in wrapzap update-zapper*; do
+ mv $src $src.orig || die
+ sed -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\"|" \
+ $src.orig > $src || die "sed updating failed."
+ rm $src.orig
+ 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 squid.conf:"
+ einfo "redirect_program /etc/adzapper/wrapzap"
+ einfo "redirect_children 10"
+}
diff --git a/www-proxy/adzapper/files/digest-adzapper-20050106 b/www-proxy/adzapper/files/digest-adzapper-20050106
new file mode 100644
index 000000000000..3b9e345dd730
--- /dev/null
+++ b/www-proxy/adzapper/files/digest-adzapper-20050106
@@ -0,0 +1 @@
+MD5 df586dc6839a9b6b3783cd000be3abf6 adzap-20050106.tar.gz 48058