diff options
author | Martin Holzer <mholzer@gentoo.org> | 2003-12-24 20:28:14 +0000 |
---|---|---|
committer | Martin Holzer <mholzer@gentoo.org> | 2003-12-24 20:28:14 +0000 |
commit | 08bfa1d61be3e0b68b14b1676e872695ae75ed78 (patch) | |
tree | a155e015b0602f397ece9c0d5740caee0cd060b8 /net-www | |
parent | Version bumped (diff) | |
download | gentoo-2-08bfa1d61be3e0b68b14b1676e872695ae75ed78.tar.gz gentoo-2-08bfa1d61be3e0b68b14b1676e872695ae75ed78.tar.bz2 gentoo-2-08bfa1d61be3e0b68b14b1676e872695ae75ed78.zip |
Version bumped
Diffstat (limited to 'net-www')
-rw-r--r-- | net-www/adzapper/ChangeLog | 7 | ||||
-rw-r--r-- | net-www/adzapper/Manifest | 4 | ||||
-rw-r--r-- | net-www/adzapper/adzapper-20031105.ebuild | 72 | ||||
-rw-r--r-- | net-www/adzapper/files/digest-adzapper-20031105 | 1 | ||||
-rw-r--r-- | net-www/adzapper/metadata.xml | 9 |
5 files changed, 90 insertions, 3 deletions
diff --git a/net-www/adzapper/ChangeLog b/net-www/adzapper/ChangeLog index 040155137f7f..77af39afd2d2 100644 --- a/net-www/adzapper/ChangeLog +++ b/net-www/adzapper/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-www/adzapper # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/adzapper/ChangeLog,v 1.8 2003/06/11 16:55:06 brad Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/adzapper/ChangeLog,v 1.9 2003/12/24 20:28:05 mholzer Exp $ + +*adzapper-20031105 (24 Dec 2003) + + 24 Dec 2003; Martin Holzer <mholzer@gentoo.org> adzapper-20031105.ebuild: + Version bumped *adzapper-20030611 (11 Jun 2003) diff --git a/net-www/adzapper/Manifest b/net-www/adzapper/Manifest index 26b76606a97d..c5c4031cbe47 100644 --- a/net-www/adzapper/Manifest +++ b/net-www/adzapper/Manifest @@ -1,9 +1,9 @@ -MD5 ec993bddcb13022aabf7bafd0e92dc34 ChangeLog 1307 +MD5 93281417e67fe4ca8a06d6c0e481f77e ChangeLog 1438 MD5 34c58b1e9cdc53326c9bcaeb384f9032 adzapper-20030111.ebuild 1447 MD5 057ea62ca5b27e6c19a63eabc0bcdff7 adzapper-20030525.ebuild 1464 MD5 d62f06478bb9fcdc9a5e7326d3971fd3 adzapper-20030611.ebuild 1461 MD5 c339473e0ff43da76eb2f2607c441921 metadata.xml 280 -MD5 41884d2aee461f5cf3fa5f40725c2d12 adzapper-20031105.ebuild 1700 +MD5 4819039af684dcb5deae594c0540f58b adzapper-20031105.ebuild 1699 MD5 742f1b62464905c66b4b852293227925 files/digest-adzapper-20030111 65 MD5 7e44cc6b5c8fc3c862ed5266e1dff0fc files/digest-adzapper-20030525 65 MD5 d33f6e6caebc18dadd48b320241f322b files/digest-adzapper-20030611 65 diff --git a/net-www/adzapper/adzapper-20031105.ebuild b/net-www/adzapper/adzapper-20031105.ebuild new file mode 100644 index 000000000000..c29aaeed43e3 --- /dev/null +++ b/net-www/adzapper/adzapper-20031105.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-www/adzapper/adzapper-20031105.ebuild,v 1.1 2003/12/24 20:28:05 mholzer Exp $ + +inherit webapp-apache + +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 ~ppc ~sparc ~alpha" +IUSE="" + +DEPEND="" +RDEPEND="net-www/squid" + +webapp-detect || NO_WEBSERVER=1 + + +pkg_setup() { + webapp-pkg_setup "${NO_WEBSERVER}" + einfo "Installing into ${ROOT}${HTTPD_ROOT}." +} + +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() { + webapp-mkdirs + + local DocumentRoot=${HTTPD_ROOT} + local destdir=${DocumentRoot}/ + + cd ${S}/scripts + exeinto /etc/adzapper + doexe wrapzap zapchain squid_redirect + + insinto /etc/adzapper + doins update-zapper* + + cd ${S}/zaps + insinto ${destdir}/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-www/adzapper/files/digest-adzapper-20031105 b/net-www/adzapper/files/digest-adzapper-20031105 new file mode 100644 index 000000000000..a7aef6523ef8 --- /dev/null +++ b/net-www/adzapper/files/digest-adzapper-20031105 @@ -0,0 +1 @@ +MD5 cdef693fd4ae273ce93f84ecad5deba7 adzap-20031105.tar.gz 37449 diff --git a/net-www/adzapper/metadata.xml b/net-www/adzapper/metadata.xml new file mode 100644 index 000000000000..13bc126c7d91 --- /dev/null +++ b/net-www/adzapper/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>web-apps</herd> +<maintainer> +<email>web-apps@gentoo.org</email> +<name>Gentoo Web Application Packages Maintainers</name> +</maintainer> +</pkgmetadata> |