diff options
author | J Robert Ray <jrray@gentoo.org> | 2003-01-02 18:42:54 +0000 |
---|---|---|
committer | J Robert Ray <jrray@gentoo.org> | 2003-01-02 18:42:54 +0000 |
commit | ed7c0901b14546425f491829e22681c39f4d2f05 (patch) | |
tree | 64234936a465aa3015e8645dfdcc5bd069dfe76b /net-www/adzapper | |
parent | Committed new patch. (diff) | |
download | gentoo-2-ed7c0901b14546425f491829e22681c39f4d2f05.tar.gz gentoo-2-ed7c0901b14546425f491829e22681c39f4d2f05.tar.bz2 gentoo-2-ed7c0901b14546425f491829e22681c39f4d2f05.zip |
version bump
Diffstat (limited to 'net-www/adzapper')
-rw-r--r-- | net-www/adzapper/ChangeLog | 11 | ||||
-rw-r--r-- | net-www/adzapper/adzapper-20021128.ebuild | 57 | ||||
-rw-r--r-- | net-www/adzapper/files/digest-adzapper-20021111 | 2 | ||||
-rw-r--r-- | net-www/adzapper/files/digest-adzapper-20021128 | 1 |
4 files changed, 67 insertions, 4 deletions
diff --git a/net-www/adzapper/ChangeLog b/net-www/adzapper/ChangeLog index e5ed50621097..ce0d986cd02c 100644 --- a/net-www/adzapper/ChangeLog +++ b/net-www/adzapper/ChangeLog @@ -1,8 +1,13 @@ # ChangeLog for net-www/adzapper # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/adzapper/ChangeLog,v 1.1 2002/11/11 05:23:24 jrray Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/adzapper/ChangeLog,v 1.2 2003/01/02 18:42:54 jrray Exp $ + +*adzapper-20021128 (02 Jan 2003) + + 02 Jan 2003; J Robert Ray <jrray@gentoo.org> : Version bump, and fixed + the digest of the old version, the rules changed a little but the file + was not renamed. *adzapper-20021111 (10 Nov 2002) - 10 Nov 2002; J Robert Ray <jrray@gentoo.org> : - New ebuild. + 10 Nov 2002; J Robert Ray <jrray@gentoo.org> : New ebuild. diff --git a/net-www/adzapper/adzapper-20021128.ebuild b/net-www/adzapper/adzapper-20021128.ebuild new file mode 100644 index 000000000000..64c44d7a4737 --- /dev/null +++ b/net-www/adzapper/adzapper-20021128.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-www/adzapper/adzapper-20021128.ebuild,v 1.1 2003/01/02 18:42:54 jrray Exp $ + +DESCRIPTION="redirector for squid that intercepts advertising, page counters and some web bugs" +HOMEPAGE="http://adzapper.sourceforge.net/" + +MY_P=${P/zapper/zap} +S="${WORKDIR}/adzap" + +SRC_URI="http://adzapper.sourceforge.net/${MY_P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="" +RDEPEND="net-www/squid" + +src_unpack() { + unpack ${A} + + SCRPATH="/etc/adzapper/squid_redirect" + + cd ${S}/scripts || die + + # 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 + 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 /home/httpd/htdocs/zaps + 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-www/adzapper/files/digest-adzapper-20021111 b/net-www/adzapper/files/digest-adzapper-20021111 index 5e9b89d894e2..270f059254b2 100644 --- a/net-www/adzapper/files/digest-adzapper-20021111 +++ b/net-www/adzapper/files/digest-adzapper-20021111 @@ -1 +1 @@ -MD5 99e503d110107093248dffc4a07a8977 adzap-20021111.tar.gz 77093 +MD5 59f8b61c4d92c11b90b46d1f152bc1aa adzap-20021111.tar.gz 77104 diff --git a/net-www/adzapper/files/digest-adzapper-20021128 b/net-www/adzapper/files/digest-adzapper-20021128 new file mode 100644 index 000000000000..17a86f5826c5 --- /dev/null +++ b/net-www/adzapper/files/digest-adzapper-20021128 @@ -0,0 +1 @@ +MD5 ac3e65e2407034202feeb37c4fd410b2 adzap-20021128.tar.gz 77280 |