Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 217138 Details for
Bug 277909
net-proxy/adzapper-20110915 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
addzapper-20090301.ebuild
adzapper-20090301.ebuild (text/plain), 1.47 KB, created by
Yogesh
on 2010-01-22 04:22:30 UTC
(
hide
)
Description:
addzapper-20090301.ebuild
Filename:
MIME Type:
Creator:
Yogesh
Created:
2010-01-22 04:22:30 UTC
Size:
1.47 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/net-proxy/adzapper/adzapper-20080508.ebuild,v 1.7 2009/04/20 20:19:49 maekke 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" > >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" >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 277909
:
217138
|
217139
|
298363