diff options
author | Alin Năstac <mrness@gentoo.org> | 2006-12-01 07:44:41 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2006-12-01 07:44:41 +0000 |
commit | b30a29fe7f023ee4acce6fe17479aa534fe520a3 (patch) | |
tree | afcd7f814a65f9177e3510ea95c4fb4c516ca204 /net-proxy/privoxy | |
parent | Initial import, bug 146003, thanks to Pedro Catro for ebuild (diff) | |
download | gentoo-2-b30a29fe7f023ee4acce6fe17479aa534fe520a3.tar.gz gentoo-2-b30a29fe7f023ee4acce6fe17479aa534fe520a3.tar.bz2 gentoo-2-b30a29fe7f023ee4acce6fe17479aa534fe520a3.zip |
Version bump (#156728).
(Portage version: 2.1.1-r1)
Diffstat (limited to 'net-proxy/privoxy')
-rw-r--r-- | net-proxy/privoxy/ChangeLog | 7 | ||||
-rw-r--r-- | net-proxy/privoxy/files/digest-privoxy-3.0.6 | 3 | ||||
-rw-r--r-- | net-proxy/privoxy/privoxy-3.0.6.ebuild | 78 |
3 files changed, 87 insertions, 1 deletions
diff --git a/net-proxy/privoxy/ChangeLog b/net-proxy/privoxy/ChangeLog index 2194125ee8fe..f657ef9c16d9 100644 --- a/net-proxy/privoxy/ChangeLog +++ b/net-proxy/privoxy/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-proxy/privoxy # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/privoxy/ChangeLog,v 1.15 2006/10/20 18:44:10 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/privoxy/ChangeLog,v 1.16 2006/12/01 07:44:41 mrness Exp $ + +*privoxy-3.0.6 (01 Dec 2006) + + 01 Dec 2006; Alin Năstac <mrness@gentoo.org> +privoxy-3.0.6.ebuild: + Version bump (#156728). *privoxy-3.0.5_beta (20 Oct 2006) diff --git a/net-proxy/privoxy/files/digest-privoxy-3.0.6 b/net-proxy/privoxy/files/digest-privoxy-3.0.6 new file mode 100644 index 000000000000..8935e2246c4b --- /dev/null +++ b/net-proxy/privoxy/files/digest-privoxy-3.0.6 @@ -0,0 +1,3 @@ +MD5 c3b34c620e1174f0c0b91aa2a04ceae4 privoxy-3.0.6-stable-src.tar.gz 1755661 +RMD160 96483460ce56e6abc062278882997c548bb2e119 privoxy-3.0.6-stable-src.tar.gz 1755661 +SHA256 49e49d92d3b22c0fe730fef0f067668a51bb8a7aae53277ba709f301066e5dc0 privoxy-3.0.6-stable-src.tar.gz 1755661 diff --git a/net-proxy/privoxy/privoxy-3.0.6.ebuild b/net-proxy/privoxy/privoxy-3.0.6.ebuild new file mode 100644 index 000000000000..34e8718d6ae8 --- /dev/null +++ b/net-proxy/privoxy/privoxy-3.0.6.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/privoxy/privoxy-3.0.6.ebuild,v 1.1 2006/12/01 07:44:41 mrness Exp $ + +WANT_AUTOMAKE="latest" +WANT_AUTOCONF="latest" + +inherit toolchain-funcs eutils autotools + +HOMEPAGE="http://www.privoxy.org + http://sourceforge.net/projects/ijbswa/" +DESCRIPTION="A web proxy with advanced filtering capabilities for protecting privacy against Internet junk" +SRC_URI="mirror://sourceforge/ijbswa/${P}-stable-src.tar.gz" + +IUSE="pcre selinux" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~x86-fbsd" +LICENSE="GPL-2" + +DEPEND="pcre? ( dev-libs/libpcre )" +RDEPEND="${DEPEND} + selinux? ( sec-policy/selinux-privoxy )" + +S="${WORKDIR}/${P}-stable" + +pkg_setup() { + enewgroup privoxy + enewuser privoxy -1 -1 /etc/privoxy privoxy +} + +src_unpack() { + unpack ${A} + + cd "${S}" + sed -e 's:confdir .:confdir /etc/privoxy:' \ + -e 's:logdir .:logdir /var/log/privoxy:' \ + -e 's:logfile logfile:logfile privoxy.log:' \ + -i config || die "sed failed." + sed -e 's:^\+set-image-blocker{pattern}:+set-image-blocker{blank}:' \ + -i default.action.master || die "sed 2 failed." + eautoreconf || die "autoconf failed" +} + +src_compile() { + export CC=$(tc-getCC) + econf \ + $(use_enable pcre dynamic-pcre) \ + --with-user=privoxy \ + --with-group=privoxy \ + --sysconfdir=/etc/privoxy \ + || die "econf failed" + + emake || die "emake failed" +} + +pkg_preinst() { + pkg_setup +} + +src_install () { + dosbin privoxy + newinitd "${FILESDIR}/privoxy.rc7" privoxy + insinto /etc/logrotate.d + newins "${FILESDIR}/privoxy.logrotate" privoxy + + insinto /etc/privoxy + doins default.action default.filter config standard.action trust user.action + insinto /etc/privoxy/templates + doins templates/* + + doman privoxy.1 + dodoc README AUTHORS doc/text/faq.txt ChangeLog + cd doc/webserver + dohtml -r developer-manual faq man-page user-manual + + diropts -m 0750 -g privoxy -o privoxy + keepdir /var/log/privoxy +} |