summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2007-12-30 10:10:56 +0000
committerAlin Năstac <mrness@gentoo.org>2007-12-30 10:10:56 +0000
commit9a78e62b5ac626ec61d0ead6cbce904d827b2c66 (patch)
treed6b42c3627cd513e798698d9851e6cdaf62e7b5e /net-proxy
parentVersion bump. (diff)
downloadhistorical-9a78e62b5ac626ec61d0ead6cbce904d827b2c66.tar.gz
historical-9a78e62b5ac626ec61d0ead6cbce904d827b2c66.tar.bz2
historical-9a78e62b5ac626ec61d0ead6cbce904d827b2c66.zip
Version bump.
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'net-proxy')
-rw-r--r--net-proxy/adzapper/ChangeLog7
-rw-r--r--net-proxy/adzapper/Manifest24
-rw-r--r--net-proxy/adzapper/adzapper-20071120.ebuild55
-rw-r--r--net-proxy/adzapper/files/digest-adzapper-200711203
4 files changed, 80 insertions, 9 deletions
diff --git a/net-proxy/adzapper/ChangeLog b/net-proxy/adzapper/ChangeLog
index 6b3cf9d7b120..70ba3cf14386 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.47 2007/11/02 14:27:15 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/adzapper/ChangeLog,v 1.48 2007/12/30 10:10:55 mrness Exp $
+
+*adzapper-20071120 (30 Dec 2007)
+
+ 30 Dec 2007; Alin Năstac <mrness@gentoo.org> +adzapper-20071120.ebuild:
+ Version bump.
*adzapper-20071023 (02 Nov 2007)
diff --git a/net-proxy/adzapper/Manifest b/net-proxy/adzapper/Manifest
index dc38d22799e6..94e20ca8bbeb 100644
--- a/net-proxy/adzapper/Manifest
+++ b/net-proxy/adzapper/Manifest
@@ -3,6 +3,7 @@ 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
EBUILD adzapper-20070317.ebuild 1519 RMD160 287a093fd907722ab3aef12b312df3762ea12795 SHA1 ee28a7deb5cfb82a15bc2beb237600d585114f5f SHA256 e30946836eca2c8ccf240df621be925e3494fa9d878c6dca94a8375f6bfd04b6
MD5 caccb20e3f30f559adc61c30e36afc2d adzapper-20070317.ebuild 1519
RMD160 287a093fd907722ab3aef12b312df3762ea12795 adzapper-20070317.ebuild 1519
@@ -11,10 +12,14 @@ EBUILD adzapper-20071023.ebuild 1524 RMD160 8312c1b9c7fcb127d8f97b7b3ed0d895e2f7
MD5 d5c403d24f9bf25bff5904d016bfd9da adzapper-20071023.ebuild 1524
RMD160 8312c1b9c7fcb127d8f97b7b3ed0d895e2f7ed3e adzapper-20071023.ebuild 1524
SHA256 d08f3e7e64bcfd9ec65246a67afff58ca4d47b552efcbb0aa5560aa0d757ecca adzapper-20071023.ebuild 1524
-MISC ChangeLog 9123 RMD160 1e8571158646388609221735d199da21f1fc726e SHA1 def47c86759a5e5f6f1ea3e867eddcd5cce4beec SHA256 26b7184eda1345503dc5a479c48e222f0de8eb565c87ae9748f156cb877b8dd4
-MD5 ecf656a3cf00fbfd0eda64ae9602a7b0 ChangeLog 9123
-RMD160 1e8571158646388609221735d199da21f1fc726e ChangeLog 9123
-SHA256 26b7184eda1345503dc5a479c48e222f0de8eb565c87ae9748f156cb877b8dd4 ChangeLog 9123
+EBUILD adzapper-20071120.ebuild 1524 RMD160 aed194794c1296b22e42b1f47b9fff2cef7c16ef SHA1 c25bb40c4639f8bae1af622c8317c9b7b3f614b2 SHA256 3d6a5a73cd5f1ae67d3e730dae02d96eaf6bb33dad8751c569b6e26d3b102888
+MD5 f2b4e1b847411794e232793e7f4c58ca adzapper-20071120.ebuild 1524
+RMD160 aed194794c1296b22e42b1f47b9fff2cef7c16ef adzapper-20071120.ebuild 1524
+SHA256 3d6a5a73cd5f1ae67d3e730dae02d96eaf6bb33dad8751c569b6e26d3b102888 adzapper-20071120.ebuild 1524
+MISC ChangeLog 9249 RMD160 987ca028bf9cfcaa10835b09bc298af07ad8bf6a SHA1 fa265b43dea17e3d772a59c4d5882ec02fbe687b SHA256 f5c913e9a2c42f84de9080848449860aacf447a404314f0a550c5fe043e4cb41
+MD5 19a1af5df421f95b841ea6a797e31e77 ChangeLog 9249
+RMD160 987ca028bf9cfcaa10835b09bc298af07ad8bf6a ChangeLog 9249
+SHA256 f5c913e9a2c42f84de9080848449860aacf447a404314f0a550c5fe043e4cb41 ChangeLog 9249
MISC metadata.xml 279 RMD160 709b7617dd193fb1af6f8dc706f72223a0f838dc SHA1 e0208f01ac6493c23c2bd75416f0d2ae8c0473bf SHA256 56f4b53d553e31b70095de70341ab48f0aa0145793d8933d0b454f910939282d
MD5 fae29d14dc1747ee9d3a07900bdd3990 metadata.xml 279
RMD160 709b7617dd193fb1af6f8dc706f72223a0f838dc metadata.xml 279
@@ -25,10 +30,13 @@ SHA256 9eeac9f1c084350b092f98fff56f80f5e5dcbf4e038a4986c2b6b16b84670500 files/di
MD5 3c574316924fa0143b9e2247dfa9d85d files/digest-adzapper-20071023 241
RMD160 c51b0d5245edd9dcefa5fc7c656da2e51be77e23 files/digest-adzapper-20071023 241
SHA256 fb7e93d53e4b3f562132c6242fe46728d60cc38c8a39053cc42c06436b1596c5 files/digest-adzapper-20071023 241
+MD5 2f14e08535984766e294f8bce6e4b528 files/digest-adzapper-20071120 241
+RMD160 2a0a3040cfabce120136f8dda1df3ee3aa1bf486 files/digest-adzapper-20071120 241
+SHA256 0194c5d2c609fec70800b7c556616b3b18665cba60a00be35545a3ae9326a984 files/digest-adzapper-20071120 241
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.5 (GNU/Linux)
+Version: GnuPG v2.0.8 (GNU/Linux)
-iD8DBQFHKzPSVSA5X31g7/gRAqObAKCKel/NlZezkzcynOHMfFonLicb+wCfVlWU
-gwF42xZm0qv6qLjSLtF3XYY=
-=D08G
+iEYEARECAAYFAkd3brkACgkQ+fWpoTWIA9HIIACfZ8bbO1U/ZXi5BdfIATh0Wlc6
+4ZgAni8g76SLEgkdLtiPb5rRFgysrjOF
+=86hD
-----END PGP SIGNATURE-----
diff --git a/net-proxy/adzapper/adzapper-20071120.ebuild b/net-proxy/adzapper/adzapper-20071120.ebuild
new file mode 100644
index 000000000000..6a3d7aeae0a5
--- /dev/null
+++ b/net-proxy/adzapper/adzapper-20071120.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2007 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.1 2007/12/30 10:10:55 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"
+}
diff --git a/net-proxy/adzapper/files/digest-adzapper-20071120 b/net-proxy/adzapper/files/digest-adzapper-20071120
new file mode 100644
index 000000000000..534014d87622
--- /dev/null
+++ b/net-proxy/adzapper/files/digest-adzapper-20071120
@@ -0,0 +1,3 @@
+MD5 32eb82f36f36079b793d9ee8593178f3 adzap-20071120.tar.gz 56267
+RMD160 7a7f84e4ac4a02d3b48c49bbad0a7f7bee2433f3 adzap-20071120.tar.gz 56267
+SHA256 6a2983fe13007ad0f732719f135871382411ed1718aa4c3873bedf65f3f2f145 adzap-20071120.tar.gz 56267