summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2008-07-12 23:04:37 +0000
committerAlin Năstac <mrness@gentoo.org>2008-07-12 23:04:37 +0000
commite2450429fbb03f38a1d591f01d2f637573438b8f (patch)
tree77065bd764c73ae7cebb50a14d9cac6ad916098c /net-proxy
parentVersion bump. (diff)
downloadhistorical-e2450429fbb03f38a1d591f01d2f637573438b8f.tar.gz
historical-e2450429fbb03f38a1d591f01d2f637573438b8f.tar.bz2
historical-e2450429fbb03f38a1d591f01d2f637573438b8f.zip
Version bump.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'net-proxy')
-rw-r--r--net-proxy/adzapper/ChangeLog9
-rw-r--r--net-proxy/adzapper/Manifest14
-rw-r--r--net-proxy/adzapper/adzapper-20080508.ebuild55
3 files changed, 75 insertions, 3 deletions
diff --git a/net-proxy/adzapper/ChangeLog b/net-proxy/adzapper/ChangeLog
index 70ba3cf14386..391feb622c6a 100644
--- a/net-proxy/adzapper/ChangeLog
+++ b/net-proxy/adzapper/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-proxy/adzapper
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/adzapper/ChangeLog,v 1.48 2007/12/30 10:10:55 mrness Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/adzapper/ChangeLog,v 1.49 2008/07/12 23:04:37 mrness Exp $
+
+*adzapper-20080508 (12 Jul 2008)
+
+ 12 Jul 2008; Alin Năstac <mrness@gentoo.org> +adzapper-20080508.ebuild:
+ Version bump.
*adzapper-20071120 (30 Dec 2007)
diff --git a/net-proxy/adzapper/Manifest b/net-proxy/adzapper/Manifest
index a4a89234faaa..8130dbe5e42b 100644
--- a/net-proxy/adzapper/Manifest
+++ b/net-proxy/adzapper/Manifest
@@ -1,8 +1,20 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
DIST adzap-20070317.tar.gz 53803 RMD160 2960f75cc979e971a08e79d67b1593c4ac23b63b SHA1 12c0bf7dc09a7cc3c644f660850f750b3f5e32be SHA256 4fa6d15af8a74778f41775218916bc1fd681235c0d19481f87fecfc6606013e9
DIST adzap-20071023.tar.gz 54066 RMD160 90a5514557b682611d8253e72663981921f6179c SHA1 2c456988d711467c002e161674a4c273c7416a86 SHA256 19c70558121417f0f9b8e315c06f506ee7e343da74a80d97fee1619d6a313016
DIST adzap-20071120.tar.gz 56267 RMD160 7a7f84e4ac4a02d3b48c49bbad0a7f7bee2433f3 SHA1 7cdfeed277c91814a797fc094826dfc10bac6cbb SHA256 6a2983fe13007ad0f732719f135871382411ed1718aa4c3873bedf65f3f2f145
+DIST adzap-20080508.tar.gz 57061 RMD160 2ed46689d44db601daaebd72c1fdf29069f00f91 SHA1 ea58a23a1db4d1913b44a97cf10fe61b3af48d06 SHA256 293e52fc237e32ac46f3dc4906e67103eb54b3809032793d71a7a1d83d56d00b
EBUILD adzapper-20070317.ebuild 1519 RMD160 287a093fd907722ab3aef12b312df3762ea12795 SHA1 ee28a7deb5cfb82a15bc2beb237600d585114f5f SHA256 e30946836eca2c8ccf240df621be925e3494fa9d878c6dca94a8375f6bfd04b6
EBUILD adzapper-20071023.ebuild 1524 RMD160 8312c1b9c7fcb127d8f97b7b3ed0d895e2f7ed3e SHA1 6e02f3631f5a8789301863400124f2b8e2cd63ef SHA256 d08f3e7e64bcfd9ec65246a67afff58ca4d47b552efcbb0aa5560aa0d757ecca
EBUILD adzapper-20071120.ebuild 1524 RMD160 aed194794c1296b22e42b1f47b9fff2cef7c16ef SHA1 c25bb40c4639f8bae1af622c8317c9b7b3f614b2 SHA256 3d6a5a73cd5f1ae67d3e730dae02d96eaf6bb33dad8751c569b6e26d3b102888
-MISC ChangeLog 9249 RMD160 987ca028bf9cfcaa10835b09bc298af07ad8bf6a SHA1 fa265b43dea17e3d772a59c4d5882ec02fbe687b SHA256 f5c913e9a2c42f84de9080848449860aacf447a404314f0a550c5fe043e4cb41
+EBUILD adzapper-20080508.ebuild 1524 RMD160 0bb79392f5ceca62c99a467c0887368fb47101a0 SHA1 d26d41fde1ae258c41cfa08dd7c968bbc245985d SHA256 a17bd7fa061369068c1a0bde999c52c8f73c7bd917543eee3e8dddd4c36967fb
+MISC ChangeLog 9375 RMD160 eba7d105095672aebb260a5a87545e72901c1f71 SHA1 feacf0a96a19cba9040056721c5ee5161314f719 SHA256 0adfd08867640d412a54ae1c33824c034f8b77fdf18d17c42f67e9e273f3e0ae
MISC metadata.xml 279 RMD160 709b7617dd193fb1af6f8dc706f72223a0f838dc SHA1 e0208f01ac6493c23c2bd75416f0d2ae8c0473bf SHA256 56f4b53d553e31b70095de70341ab48f0aa0145793d8933d0b454f910939282d
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkh5OI0ACgkQPrHvTlXvhttNngCfZb3HnvJVxdH/mkc3H3W0MWyy
+s6wAnjm/eIUoajJEHArcN0TZr0GLyn3h
+=JqQ4
+-----END PGP SIGNATURE-----
diff --git a/net-proxy/adzapper/adzapper-20080508.ebuild b/net-proxy/adzapper/adzapper-20080508.ebuild
new file mode 100644
index 000000000000..85e3d259585b
--- /dev/null
+++ b/net-proxy/adzapper/adzapper-20080508.ebuild
@@ -0,0 +1,55 @@
+# 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-20080508.ebuild,v 1.1 2008/07/12 23:04:37 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 " url_rewrite_program /etc/adzapper/wrapzap"
+ einfo " url_rewrite_children 10"
+}