diff options
author | Alin Năstac <mrness@gentoo.org> | 2005-06-04 14:09:45 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2005-06-04 14:09:45 +0000 |
commit | 2f1dc7934a6cbeb5ca26e8ebd84a71822d41d0e7 (patch) | |
tree | b79e223e8ad50ef2fc9c4e39ba917190baa06bfd /net-proxy | |
parent | Stable on hppa. (diff) | |
download | historical-2f1dc7934a6cbeb5ca26e8ebd84a71822d41d0e7.tar.gz historical-2f1dc7934a6cbeb5ca26e8ebd84a71822d41d0e7.tar.bz2 historical-2f1dc7934a6cbeb5ca26e8ebd84a71822d41d0e7.zip |
version bump
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'net-proxy')
-rw-r--r-- | net-proxy/adzapper/ChangeLog | 7 | ||||
-rw-r--r-- | net-proxy/adzapper/Manifest | 10 | ||||
-rw-r--r-- | net-proxy/adzapper/adzapper-20050524.ebuild | 57 | ||||
-rw-r--r-- | net-proxy/adzapper/files/digest-adzapper-20050524 | 1 |
4 files changed, 70 insertions, 5 deletions
diff --git a/net-proxy/adzapper/ChangeLog b/net-proxy/adzapper/ChangeLog index d4fecf43bc34..becfc44db805 100644 --- a/net-proxy/adzapper/ChangeLog +++ b/net-proxy/adzapper/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-proxy/adzapper # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/adzapper/ChangeLog,v 1.3 2005/05/29 23:57:52 cryos Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/adzapper/ChangeLog,v 1.4 2005/06/04 14:09:45 mrness Exp $ + +*adzapper-20050524 (04 Jun 2005) + + 04 Jun 2005; Alin Nastac <mrness@gentoo.org> +adzapper-20050524.ebuild: + Version bump. 29 May 2005; Marcus D. Hanwell <marcus@gentoo.org> adzapper-20050316.ebuild: diff --git a/net-proxy/adzapper/Manifest b/net-proxy/adzapper/Manifest index 5a29d2ced7c0..aa6ff6547b29 100644 --- a/net-proxy/adzapper/Manifest +++ b/net-proxy/adzapper/Manifest @@ -2,17 +2,19 @@ Hash: SHA1 MD5 401d6b80a466c0b6896910485242328b adzapper-20040408.ebuild 1464 +MD5 7a2e1b647d0f7f17dfb3c044da507b01 adzapper-20050524.ebuild 1513 MD5 3eab3dc89efc128fdf797eb3d3c05a52 adzapper-20050106.ebuild 1512 MD5 4d55a11f4e18e73ee15dbfaf12e3afac adzapper-20050316.ebuild 1510 -MD5 0e4dd868e93f0127f535dff7c743d621 ChangeLog 3758 +MD5 aa940096700197ad77fb39f93b5ce75a ChangeLog 3884 MD5 865192a4aa5233381a3358f03460b9be metadata.xml 368 MD5 d1666b04a8c2b141f1a5875a0eea33f0 files/digest-adzapper-20040408 65 MD5 e7d816cf4877320a48ec63fb3b3b7d6c files/digest-adzapper-20050106 65 MD5 2d648a6b3987ab877735484f8fa35b59 files/digest-adzapper-20050316 65 +MD5 238922a3c9c8c8a2e886fbcb1eb40328 files/digest-adzapper-20050524 65 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) -iD8DBQFCmlcWntT9W3vfTuoRAtbtAJ9zHYqKQiVjQrwNixJWbB7V7oI//ACfSZY1 -/RFQN5xvbUo6Y5E4PR5bASc= -=Hfx8 +iD8DBQFCobZAjiC39V7gKu0RApTiAJ0RUcT4lwzSVO5fdvOSqNaF+vrtzgCbBK3r +Vket7oqovC6+Csyb8yEqLF4= +=Yr/a -----END PGP SIGNATURE----- diff --git a/net-proxy/adzapper/adzapper-20050524.ebuild b/net-proxy/adzapper/adzapper-20050524.ebuild new file mode 100644 index 000000000000..98ac1b67650d --- /dev/null +++ b/net-proxy/adzapper/adzapper-20050524.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/adzapper/adzapper-20050524.ebuild,v 1.1 2005/06/04 14:09:45 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 ~ppc ~sparc ~x86" +IUSE="" + +RDEPEND="net-proxy/squid" + +S="${WORKDIR}/adzap" + +src_unpack() { + unpack ${A} + + SCRPATH="/etc/adzapper/squid_redirect" + + cd ${S}/scripts || die "Error no scripts dir." + + # update the zapper path in various scripts + for src in wrapzap update-zapper*; do + mv $src $src.orig || die + sed -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\"|" \ + $src.orig > $src || die "sed updating failed." + rm $src.orig + 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 squid.conf:" + einfo "redirect_program /etc/adzapper/wrapzap" + einfo "redirect_children 10" +} diff --git a/net-proxy/adzapper/files/digest-adzapper-20050524 b/net-proxy/adzapper/files/digest-adzapper-20050524 new file mode 100644 index 000000000000..441d896a527f --- /dev/null +++ b/net-proxy/adzapper/files/digest-adzapper-20050524 @@ -0,0 +1 @@ +MD5 5476c61a1dd3799f851e28084f5c2e10 adzap-20050524.tar.gz 50030 |