summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2005-03-20 22:34:20 +0000
committerAlin Năstac <mrness@gentoo.org>2005-03-20 22:34:20 +0000
commit61e143ff5099a83c79179d1220ab1a7e99f2eea1 (patch)
tree0314dab7713fca98d768c0d9345ac5639bdc95fe /www-proxy
parentRemove x11 depend, add pkgconfig depend, add domenu for the .desktop file (diff)
downloadgentoo-2-61e143ff5099a83c79179d1220ab1a7e99f2eea1.tar.gz
gentoo-2-61e143ff5099a83c79179d1220ab1a7e99f2eea1.tar.bz2
gentoo-2-61e143ff5099a83c79179d1220ab1a7e99f2eea1.zip
version bumped (#86041)
(Portage version: 2.0.51.19)
Diffstat (limited to 'www-proxy')
-rw-r--r--www-proxy/adzapper/ChangeLog7
-rw-r--r--www-proxy/adzapper/Manifest12
-rw-r--r--www-proxy/adzapper/adzapper-20050316.ebuild58
-rw-r--r--www-proxy/adzapper/files/digest-adzapper-200503161
4 files changed, 67 insertions, 11 deletions
diff --git a/www-proxy/adzapper/ChangeLog b/www-proxy/adzapper/ChangeLog
index 748d31c93f0d..1cbfe571ab17 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.7 2005/02/23 15:56:15 cryos Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-proxy/adzapper/ChangeLog,v 1.8 2005/03/20 22:34:20 mrness Exp $
+
+*adzapper-20050316 (21 Mar 2005)
+
+ 21 Mar 2005; Alin Nastac <mrness@gentoo.org> +adzapper-20050316.ebuild:
+ Version bump (#86041).
*adzapper-20050106 (23 Feb 2005)
diff --git a/www-proxy/adzapper/Manifest b/www-proxy/adzapper/Manifest
index 07d4d2f23816..bc70f4fe5bbf 100644
--- a/www-proxy/adzapper/Manifest
+++ b/www-proxy/adzapper/Manifest
@@ -1,16 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 7bd9ec75f217ba0e17a7faa4bc115466 adzapper-20040408.ebuild 1464
MD5 6468530c7f00afcc485ded995f848d10 adzapper-20050106.ebuild 1521
+MD5 41e44a3ea838b10f44e2b7b0d94e0f48 adzapper-20050316.ebuild 1522
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)
-
-iD8DBQFCHKe/ntT9W3vfTuoRAieeAJ9GSBG+L+8Wxf50oA5Czz6NdAWY3ACfWwOj
-/BOttK+/zpZUi7JHT9Ux3rw=
-=mMM4
------END PGP SIGNATURE-----
+MD5 2d648a6b3987ab877735484f8fa35b59 files/digest-adzapper-20050316 65
diff --git a/www-proxy/adzapper/adzapper-20050316.ebuild b/www-proxy/adzapper/adzapper-20050316.ebuild
new file mode 100644
index 000000000000..a04ad2448979
--- /dev/null
+++ b/www-proxy/adzapper/adzapper-20050316.ebuild
@@ -0,0 +1,58 @@
+# 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-20050316.ebuild,v 1.1 2005/03/20 22:34:20 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="~x86 ~ppc ~sparc ~alpha ~amd64"
+IUSE=""
+
+DEPEND=""
+RDEPEND="www-proxy/squid"
+
+S="${WORKDIR}/adzap"
+
+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-20050316 b/www-proxy/adzapper/files/digest-adzapper-20050316
new file mode 100644
index 000000000000..e617475e9192
--- /dev/null
+++ b/www-proxy/adzapper/files/digest-adzapper-20050316
@@ -0,0 +1 @@
+MD5 c5e85d7664b873deea48f8ad16a5f68e adzap-20050316.tar.gz 49003