diff options
author | Alin Năstac <mrness@gentoo.org> | 2006-10-20 18:44:10 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2006-10-20 18:44:10 +0000 |
commit | 410a8ed86ea81c60c7c47509c51f6c9a245db64f (patch) | |
tree | b5d5a34d6e831103f6b9babc0174c7ea6d996104 /net-proxy/privoxy | |
parent | Stable on sparc wrt security #151881 (diff) | |
download | gentoo-2-410a8ed86ea81c60c7c47509c51f6c9a245db64f.tar.gz gentoo-2-410a8ed86ea81c60c7c47509c51f6c9a245db64f.tar.bz2 gentoo-2-410a8ed86ea81c60c7c47509c51f6c9a245db64f.zip |
Version bump without zlib USE flag, the patch being incompatible with this version (#151737).
(Portage version: 2.1.1)
Diffstat (limited to 'net-proxy/privoxy')
-rw-r--r-- | net-proxy/privoxy/ChangeLog | 8 | ||||
-rw-r--r-- | net-proxy/privoxy/files/digest-privoxy-3.0.5_beta | 3 | ||||
-rw-r--r-- | net-proxy/privoxy/privoxy-3.0.5_beta.ebuild | 84 |
3 files changed, 94 insertions, 1 deletions
diff --git a/net-proxy/privoxy/ChangeLog b/net-proxy/privoxy/ChangeLog index 814e7523acd3..2194125ee8fe 100644 --- a/net-proxy/privoxy/ChangeLog +++ b/net-proxy/privoxy/ChangeLog @@ -1,6 +1,12 @@ # 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.14 2006/08/21 02:12:10 dang Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/privoxy/ChangeLog,v 1.15 2006/10/20 18:44:10 mrness Exp $ + +*privoxy-3.0.5_beta (20 Oct 2006) + + 20 Oct 2006; Alin Nastac <mrness@gentoo.org> +privoxy-3.0.5_beta.ebuild: + Version bumped without zlib USE flag, the patch being incompatible with this + version (#151737). 21 Aug 2006; Daniel Gryniewicz <dang@gentoo.org> privoxy-3.0.3-r5.ebuild: Marked stable on amd64 for bug #144559 diff --git a/net-proxy/privoxy/files/digest-privoxy-3.0.5_beta b/net-proxy/privoxy/files/digest-privoxy-3.0.5_beta new file mode 100644 index 000000000000..71f14cf256f2 --- /dev/null +++ b/net-proxy/privoxy/files/digest-privoxy-3.0.5_beta @@ -0,0 +1,3 @@ +MD5 61f16bde1f88090eae88bf8b7fdbb557 privoxy-3.0.5-beta-src.tar.gz 1727642 +RMD160 c446ca3646bf88357d3102b1cbc867a1daf77876 privoxy-3.0.5-beta-src.tar.gz 1727642 +SHA256 e7285b27311fe2093d742e4f8c553a04232946f66aa6ad6bc6141f76c1b0b489 privoxy-3.0.5-beta-src.tar.gz 1727642 diff --git a/net-proxy/privoxy/privoxy-3.0.5_beta.ebuild b/net-proxy/privoxy/privoxy-3.0.5_beta.ebuild new file mode 100644 index 000000000000..4fa7d0db7992 --- /dev/null +++ b/net-proxy/privoxy/privoxy-3.0.5_beta.ebuild @@ -0,0 +1,84 @@ +# 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.5_beta.ebuild,v 1.1 2006/10/20 18:44:10 mrness Exp $ + +inherit toolchain-funcs eutils autotools + +if [[ "${PV}" = *"beta"* ]] ; then + MY_PV=${PV/_beta/-beta} + MY_PV_S=${MY_PV/beta/BETA} +else + MY_PV=${PV}-stable + MY_PV_S=${MY_PV} +fi + +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/${PN}-${MY_PV}-src.tar.gz" + +IUSE="pcre selinux" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~x86-fbsd" +LICENSE="GPL-2" + +DEPEND="=sys-devel/autoconf-2.1* + pcre? ( dev-libs/libpcre )" +RDEPEND="selinux? ( sec-policy/selinux-privoxy ) + pcre? ( dev-libs/libpcre )" + +S="${WORKDIR}/${PN}-${MY_PV_S}" + +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 +} |