summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2008-01-29 11:18:32 +0000
committerAlin Năstac <mrness@gentoo.org>2008-01-29 11:18:32 +0000
commit9740b78ce87871d669c80c3325c16ba83119e33b (patch)
treef2b927fb798172b064dc4bc53cfe9953918c333a /net-proxy/privoxy
parent Version bump (#207870). (diff)
downloadgentoo-2-9740b78ce87871d669c80c3325c16ba83119e33b.tar.gz
gentoo-2-9740b78ce87871d669c80c3325c16ba83119e33b.tar.bz2
gentoo-2-9740b78ce87871d669c80c3325c16ba83119e33b.zip
Version bump (#204182).
(Portage version: 2.1.3.19)
Diffstat (limited to 'net-proxy/privoxy')
-rw-r--r--net-proxy/privoxy/ChangeLog9
-rw-r--r--net-proxy/privoxy/files/digest-privoxy-3.0.83
-rw-r--r--net-proxy/privoxy/privoxy-3.0.8.ebuild74
3 files changed, 84 insertions, 2 deletions
diff --git a/net-proxy/privoxy/ChangeLog b/net-proxy/privoxy/ChangeLog
index 9d504e77f957..c1c1b67580d2 100644
--- a/net-proxy/privoxy/ChangeLog
+++ b/net-proxy/privoxy/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-proxy/privoxy
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/privoxy/ChangeLog,v 1.27 2007/11/14 05:14:55 mrness Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/privoxy/ChangeLog,v 1.28 2008/01/29 11:18:31 mrness Exp $
+
+*privoxy-3.0.8 (29 Jan 2008)
+
+ 29 Jan 2008; Alin Năstac <mrness@gentoo.org> +privoxy-3.0.8.ebuild:
+ Version bump (#204182).
14 Nov 2007; Alin Năstac <mrness@gentoo.org> files/privoxy.initd:
Set PIDFILE and CONFFILE init script parameters to values based on service
diff --git a/net-proxy/privoxy/files/digest-privoxy-3.0.8 b/net-proxy/privoxy/files/digest-privoxy-3.0.8
new file mode 100644
index 000000000000..fc0d16bf90d0
--- /dev/null
+++ b/net-proxy/privoxy/files/digest-privoxy-3.0.8
@@ -0,0 +1,3 @@
+MD5 252c0e085218fb930c4bc7563e9cedd9 privoxy-3.0.8-stable-src.tar.gz 2007961
+RMD160 604dd61a22dc74d06d4adaa4b3c87e4d5da5149b privoxy-3.0.8-stable-src.tar.gz 2007961
+SHA256 ecd51cb2785691f4e90e07d147f5ec89a151b2e578f71afb26bdd90195478499 privoxy-3.0.8-stable-src.tar.gz 2007961
diff --git a/net-proxy/privoxy/privoxy-3.0.8.ebuild b/net-proxy/privoxy/privoxy-3.0.8.ebuild
new file mode 100644
index 000000000000..313212feb8dc
--- /dev/null
+++ b/net-proxy/privoxy/privoxy-3.0.8.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/privoxy/privoxy-3.0.8.ebuild,v 1.1 2008/01/29 11:18:31 mrness Exp $
+
+WANT_AUTOMAKE="latest"
+WANT_AUTOCONF="latest"
+
+inherit toolchain-funcs 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 ~ppc64 ~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 "autoreconf 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"
+}
+
+src_install () {
+ dosbin privoxy
+ newinitd "${FILESDIR}/privoxy.initd" 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
+}