summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Laue <brad@gentoo.org>2003-06-11 16:55:15 +0000
committerBrad Laue <brad@gentoo.org>2003-06-11 16:55:15 +0000
commit7065b90ac71261e5876f3b1c80067326081af16f (patch)
tree07eae3391da4e86b3cc9a3f4c426f8de68c01c46 /net-www
parentRemove debug "echo" from ebuild. (diff)
downloadgentoo-2-7065b90ac71261e5876f3b1c80067326081af16f.tar.gz
gentoo-2-7065b90ac71261e5876f3b1c80067326081af16f.tar.bz2
gentoo-2-7065b90ac71261e5876f3b1c80067326081af16f.zip
Commit submitted ebuild from bugsubmit@snerk.org
Diffstat (limited to 'net-www')
-rw-r--r--net-www/adzapper/ChangeLog10
-rw-r--r--net-www/adzapper/Manifest4
-rw-r--r--net-www/adzapper/adzapper-20030611.ebuild57
-rw-r--r--net-www/adzapper/files/digest-adzapper-200306111
4 files changed, 70 insertions, 2 deletions
diff --git a/net-www/adzapper/ChangeLog b/net-www/adzapper/ChangeLog
index 08bba5564fbc..040155137f7f 100644
--- a/net-www/adzapper/ChangeLog
+++ b/net-www/adzapper/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for net-www/adzapper
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/adzapper/ChangeLog,v 1.7 2003/06/05 22:32:54 brad Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/adzapper/ChangeLog,v 1.8 2003/06/11 16:55:06 brad Exp $
+
+*adzapper-20030611 (11 Jun 2003)
+
+ 11 Jun 2003; Brad Laue <brad@gentoo.org> adzapper-20030611.ebuild:
+ Submitted by Stewart <bugsubmit@snerk.org>
+
+ Update to 20030611 snapshot, add stable keywords for all platforms supported
+ by squid.
05 Jun 2003; Brad Laue <brad@gentoo.org> adzapper-20030525.ebuild:
Marking stable on x86.
diff --git a/net-www/adzapper/Manifest b/net-www/adzapper/Manifest
index 5f526597c559..68f99ec9796c 100644
--- a/net-www/adzapper/Manifest
+++ b/net-www/adzapper/Manifest
@@ -1,5 +1,7 @@
MD5 34c58b1e9cdc53326c9bcaeb384f9032 adzapper-20030111.ebuild 1447
MD5 057ea62ca5b27e6c19a63eabc0bcdff7 adzapper-20030525.ebuild 1464
-MD5 fa531343b4cfd37723f6082849478448 ChangeLog 1064
+MD5 ec993bddcb13022aabf7bafd0e92dc34 ChangeLog 1307
+MD5 d62f06478bb9fcdc9a5e7326d3971fd3 adzapper-20030611.ebuild 1461
MD5 742f1b62464905c66b4b852293227925 files/digest-adzapper-20030111 65
MD5 7e44cc6b5c8fc3c862ed5266e1dff0fc files/digest-adzapper-20030525 65
+MD5 d33f6e6caebc18dadd48b320241f322b files/digest-adzapper-20030611 65
diff --git a/net-www/adzapper/adzapper-20030611.ebuild b/net-www/adzapper/adzapper-20030611.ebuild
new file mode 100644
index 000000000000..3d2256b6efbc
--- /dev/null
+++ b/net-www/adzapper/adzapper-20030611.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/adzapper/adzapper-20030611.ebuild,v 1.1 2003/06/11 16:55:06 brad 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"
+IUSE=""
+
+DEPEND=""
+RDEPEND="net-www/squid"
+
+src_unpack() {
+ unpack ${A}
+
+ SCRPATH="/etc/adzapper/squid_redirect"
+
+ cd ${S}/scripts || die
+
+ # 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
+ 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 /home/httpd/htdocs/zaps
+ 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/net-www/adzapper/files/digest-adzapper-20030611 b/net-www/adzapper/files/digest-adzapper-20030611
new file mode 100644
index 000000000000..f62a32e13bb9
--- /dev/null
+++ b/net-www/adzapper/files/digest-adzapper-20030611
@@ -0,0 +1 @@
+MD5 24b450a7d1a0f1ff02b9a2df56bfee2e adzap-20030611.tar.gz 33384