summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2012-08-01 19:42:44 +0000
committerJeroen Roovers <jer@gentoo.org>2012-08-01 19:42:44 +0000
commit8cb69b0d68f0338cfa2a6d73cc65bab8f964af1d (patch)
tree202856d6c3fdaf7e11dfda8dffc76844699d3e0b /net-proxy/adzapper
parentAdd ~amd64-fbsd keyword, with permission from ryao. (diff)
downloadgentoo-2-8cb69b0d68f0338cfa2a6d73cc65bab8f964af1d.tar.gz
gentoo-2-8cb69b0d68f0338cfa2a6d73cc65bab8f964af1d.tar.bz2
gentoo-2-8cb69b0d68f0338cfa2a6d73cc65bab8f964af1d.zip
Old.
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'net-proxy/adzapper')
-rw-r--r--net-proxy/adzapper/ChangeLog5
-rw-r--r--net-proxy/adzapper/adzapper-20071120.ebuild55
2 files changed, 4 insertions, 56 deletions
diff --git a/net-proxy/adzapper/ChangeLog b/net-proxy/adzapper/ChangeLog
index d386a54cab0e..e2673debcea2 100644
--- a/net-proxy/adzapper/ChangeLog
+++ b/net-proxy/adzapper/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-proxy/adzapper
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/adzapper/ChangeLog,v 1.60 2012/08/01 19:36:05 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/adzapper/ChangeLog,v 1.61 2012/08/01 19:42:44 jer Exp $
+
+ 01 Aug 2012; Jeroen Roovers <jer@gentoo.org> -adzapper-20071120.ebuild:
+ Old.
*adzapper-20110915 (01 Aug 2012)
diff --git a/net-proxy/adzapper/adzapper-20071120.ebuild b/net-proxy/adzapper/adzapper-20071120.ebuild
deleted file mode 100644
index 9fdad1e28d6e..000000000000
--- a/net-proxy/adzapper/adzapper-20071120.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/adzapper/adzapper-20071120.ebuild,v 1.5 2008/08/08 21:08:50 beandog 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 " url_rewrite_program /etc/adzapper/wrapzap"
- einfo " url_rewrite_children 10"
-}