diff options
author | Alin Năstac <mrness@gentoo.org> | 2007-11-02 14:27:16 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2007-11-02 14:27:16 +0000 |
commit | 9e3f0ca4d5f4b1f2e9d85bde002d0926fa588594 (patch) | |
tree | 9980d5c81c9c074103cdf2d25463593adb7a250b /net-proxy/adzapper | |
parent | amd64 stable, bug 194496 (diff) | |
download | historical-9e3f0ca4d5f4b1f2e9d85bde002d0926fa588594.tar.gz historical-9e3f0ca4d5f4b1f2e9d85bde002d0926fa588594.tar.bz2 historical-9e3f0ca4d5f4b1f2e9d85bde002d0926fa588594.zip |
Version bump.
Package-Manager: portage-2.1.2.12
Diffstat (limited to 'net-proxy/adzapper')
-rw-r--r-- | net-proxy/adzapper/ChangeLog | 7 | ||||
-rw-r--r-- | net-proxy/adzapper/Manifest | 24 | ||||
-rw-r--r-- | net-proxy/adzapper/adzapper-20071023.ebuild | 55 | ||||
-rw-r--r-- | net-proxy/adzapper/files/digest-adzapper-20071023 | 3 |
4 files changed, 80 insertions, 9 deletions
diff --git a/net-proxy/adzapper/ChangeLog b/net-proxy/adzapper/ChangeLog index 32fe4661c882..6b3cf9d7b120 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.46 2007/08/02 12:00:50 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/adzapper/ChangeLog,v 1.47 2007/11/02 14:27:15 mrness Exp $ + +*adzapper-20071023 (02 Nov 2007) + + 02 Nov 2007; Alin Năstac <mrness@gentoo.org> +adzapper-20071023.ebuild: + Version bump. 02 Aug 2007; Alin Năstac <mrness@gentoo.org> -adzapper-20060203.ebuild, -adzapper-20060424.ebuild, -adzapper-20060909.ebuild, diff --git a/net-proxy/adzapper/Manifest b/net-proxy/adzapper/Manifest index 8333212847b4..dc38d22799e6 100644 --- a/net-proxy/adzapper/Manifest +++ b/net-proxy/adzapper/Manifest @@ -2,14 +2,19 @@ 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 EBUILD adzapper-20070317.ebuild 1519 RMD160 287a093fd907722ab3aef12b312df3762ea12795 SHA1 ee28a7deb5cfb82a15bc2beb237600d585114f5f SHA256 e30946836eca2c8ccf240df621be925e3494fa9d878c6dca94a8375f6bfd04b6 MD5 caccb20e3f30f559adc61c30e36afc2d adzapper-20070317.ebuild 1519 RMD160 287a093fd907722ab3aef12b312df3762ea12795 adzapper-20070317.ebuild 1519 SHA256 e30946836eca2c8ccf240df621be925e3494fa9d878c6dca94a8375f6bfd04b6 adzapper-20070317.ebuild 1519 -MISC ChangeLog 8997 RMD160 6eacd35e62419e895570b09fb76196af03e3b26a SHA1 948f1913fb7ae880cac0e55fec0084336c0d0d8d SHA256 a299619ebbf86cf309949e96c67349eb4e0d543d9ee2b3bb89b69fa447c7fef3 -MD5 56ea6285a3695a83a9379010ec7e2415 ChangeLog 8997 -RMD160 6eacd35e62419e895570b09fb76196af03e3b26a ChangeLog 8997 -SHA256 a299619ebbf86cf309949e96c67349eb4e0d543d9ee2b3bb89b69fa447c7fef3 ChangeLog 8997 +EBUILD adzapper-20071023.ebuild 1524 RMD160 8312c1b9c7fcb127d8f97b7b3ed0d895e2f7ed3e SHA1 6e02f3631f5a8789301863400124f2b8e2cd63ef SHA256 d08f3e7e64bcfd9ec65246a67afff58ca4d47b552efcbb0aa5560aa0d757ecca +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 MISC metadata.xml 279 RMD160 709b7617dd193fb1af6f8dc706f72223a0f838dc SHA1 e0208f01ac6493c23c2bd75416f0d2ae8c0473bf SHA256 56f4b53d553e31b70095de70341ab48f0aa0145793d8933d0b454f910939282d MD5 fae29d14dc1747ee9d3a07900bdd3990 metadata.xml 279 RMD160 709b7617dd193fb1af6f8dc706f72223a0f838dc metadata.xml 279 @@ -17,10 +22,13 @@ SHA256 56f4b53d553e31b70095de70341ab48f0aa0145793d8933d0b454f910939282d metadata MD5 a21121f7ca4ed3fb5ed41803bf45c8f3 files/digest-adzapper-20070317 241 RMD160 a77739dd72b6b814225d9440aca69983923f6ba6 files/digest-adzapper-20070317 241 SHA256 9eeac9f1c084350b092f98fff56f80f5e5dcbf4e038a4986c2b6b16b84670500 files/digest-adzapper-20070317 241 +MD5 3c574316924fa0143b9e2247dfa9d85d files/digest-adzapper-20071023 241 +RMD160 c51b0d5245edd9dcefa5fc7c656da2e51be77e23 files/digest-adzapper-20071023 241 +SHA256 fb7e93d53e4b3f562132c6242fe46728d60cc38c8a39053cc42c06436b1596c5 files/digest-adzapper-20071023 241 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.4 (GNU/Linux) +Version: GnuPG v2.0.5 (GNU/Linux) -iD8DBQFGscd3VSA5X31g7/gRApVEAJ9kJgTZqOWFbu1/m+sdGY12aE0DyACghTKh -6ubH6LLGpl4VSzpoAmXYZNQ= -=PAE7 +iD8DBQFHKzPSVSA5X31g7/gRAqObAKCKel/NlZezkzcynOHMfFonLicb+wCfVlWU +gwF42xZm0qv6qLjSLtF3XYY= +=D08G -----END PGP SIGNATURE----- diff --git a/net-proxy/adzapper/adzapper-20071023.ebuild b/net-proxy/adzapper/adzapper-20071023.ebuild new file mode 100644 index 000000000000..27688b6fba0c --- /dev/null +++ b/net-proxy/adzapper/adzapper-20071023.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-20071023.ebuild,v 1.1 2007/11/02 14:27:15 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-20071023 b/net-proxy/adzapper/files/digest-adzapper-20071023 new file mode 100644 index 000000000000..19f161ff8e80 --- /dev/null +++ b/net-proxy/adzapper/files/digest-adzapper-20071023 @@ -0,0 +1,3 @@ +MD5 eed17fb7a728bf57bcf38b42d3fcef81 adzap-20071023.tar.gz 54066 +RMD160 90a5514557b682611d8253e72663981921f6179c adzap-20071023.tar.gz 54066 +SHA256 19c70558121417f0f9b8e315c06f506ee7e343da74a80d97fee1619d6a313016 adzap-20071023.tar.gz 54066 |