diff options
author | Alin Năstac <mrness@gentoo.org> | 2006-04-14 07:44:40 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2006-04-14 07:44:40 +0000 |
commit | 58e9e5332b6fefebe25f22361d958107438140dc (patch) | |
tree | 8c9af120dcbeaadd8c7d5781c7fafa328d74f666 /net-proxy | |
parent | x86 (diff) | |
download | historical-58e9e5332b6fefebe25f22361d958107438140dc.tar.gz historical-58e9e5332b6fefebe25f22361d958107438140dc.tar.bz2 historical-58e9e5332b6fefebe25f22361d958107438140dc.zip |
version bump
Package-Manager: portage-2.0.54
Diffstat (limited to 'net-proxy')
-rw-r--r-- | net-proxy/adzapper/ChangeLog | 7 | ||||
-rw-r--r-- | net-proxy/adzapper/Manifest | 12 | ||||
-rw-r--r-- | net-proxy/adzapper/adzapper-20060414.ebuild | 56 | ||||
-rw-r--r-- | net-proxy/adzapper/files/digest-adzapper-20060414 | 1 |
4 files changed, 70 insertions, 6 deletions
diff --git a/net-proxy/adzapper/ChangeLog b/net-proxy/adzapper/ChangeLog index 6dffe85c3b29..8b4b9acb80e6 100644 --- a/net-proxy/adzapper/ChangeLog +++ b/net-proxy/adzapper/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-proxy/adzapper # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/adzapper/ChangeLog,v 1.27 2006/03/30 16:31:45 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/adzapper/ChangeLog,v 1.28 2006/04/14 07:44:40 mrness Exp $ + +*adzapper-20060414 (14 Apr 2006) + + 14 Apr 2006; Alin Nastac <mrness@gentoo.org> +adzapper-20060414.ebuild: + Version bump. 30 Mar 2006; Alin Nastac <mrness@gentoo.org> -adzapper-20050524.ebuild, -adzapper-20050712.ebuild, -adzapper-20051024.ebuild: diff --git a/net-proxy/adzapper/Manifest b/net-proxy/adzapper/Manifest index 9dfff30c1bab..244bd3db7fba 100644 --- a/net-proxy/adzapper/Manifest +++ b/net-proxy/adzapper/Manifest @@ -1,14 +1,16 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 3a79aa192c99dd53f16ff66fcb683e40 ChangeLog 6673 +MD5 edc63f384176a1345946f82677e6e018 ChangeLog 6798 MD5 2f8a8ebaabb090eb9659a67b931800de adzapper-20060203.ebuild 1522 +MD5 0542a0f3ebd90f273acb8bfb85e45f74 adzapper-20060414.ebuild 1528 MD5 342d3000ea838cbd63451c90148cf202 files/digest-adzapper-20060203 65 +MD5 394dc5e5d8eb907cc69f29211483270c files/digest-adzapper-20060414 65 MD5 fae29d14dc1747ee9d3a07900bdd3990 metadata.xml 279 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2.2 (GNU/Linux) +Version: GnuPG v1.4.1 (GNU/Linux) -iD8DBQFELA0JjG8pv1lIUX4RAtWIAJ9EmHeU3ppRUtvnP8QWRxc7SGUqtgCfYh6J -5/v5qtKsbBQF1PPt/v4VXoA= -=T2uQ +iD8DBQFEP1L1jG8pv1lIUX4RAimhAJsFhJ+FmI9KtOk6XwhbDXQHburpqwCdGdyr +RAXmY+MtOYZ5M8B8bNPXMbY= +=YNyc -----END PGP SIGNATURE----- diff --git a/net-proxy/adzapper/adzapper-20060414.ebuild b/net-proxy/adzapper/adzapper-20060414.ebuild new file mode 100644 index 000000000000..29dc703d98b5 --- /dev/null +++ b/net-proxy/adzapper/adzapper-20060414.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/adzapper/adzapper-20060414.ebuild,v 1.1 2006/04/14 07:44:40 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="" + +DEPEND="" +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 " redirect_program /etc/adzapper/wrapzap" + einfo " redirect_children 10" +} diff --git a/net-proxy/adzapper/files/digest-adzapper-20060414 b/net-proxy/adzapper/files/digest-adzapper-20060414 new file mode 100644 index 000000000000..ec2a05f1a861 --- /dev/null +++ b/net-proxy/adzapper/files/digest-adzapper-20060414 @@ -0,0 +1 @@ +MD5 fb37024393b3e8f8485e7b6e019343c8 adzap-20060414.tar.gz 99457 |