Gentoo Archives: gentoo-commits

From: "Alin Nastac (mrness)" <mrness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-proxy/privoxy: ChangeLog privoxy-3.0.11.ebuild
Date: Fri, 13 Mar 2009 20:00:30
Message-Id: E1LiDYS-0005wc-8w@stork.gentoo.org
1 mrness 09/03/13 20:00:28
2
3 Modified: ChangeLog
4 Added: privoxy-3.0.11.ebuild
5 Log:
6 Version bump (#261865).
7 (Portage version: 2.1.6.7/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.45 net-proxy/privoxy/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/privoxy/ChangeLog?rev=1.45&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/privoxy/ChangeLog?rev=1.45&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/privoxy/ChangeLog?r1=1.44&r2=1.45
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-proxy/privoxy/ChangeLog,v
19 retrieving revision 1.44
20 retrieving revision 1.45
21 diff -u -r1.44 -r1.45
22 --- ChangeLog 13 Dec 2008 13:51:33 -0000 1.44
23 +++ ChangeLog 13 Mar 2009 20:00:28 -0000 1.45
24 @@ -1,6 +1,12 @@
25 # ChangeLog for net-proxy/privoxy
26 -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/privoxy/ChangeLog,v 1.44 2008/12/13 13:51:33 mrness Exp $
28 +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/privoxy/ChangeLog,v 1.45 2009/03/13 20:00:28 mrness Exp $
30 +
31 +*privoxy-3.0.11 (13 Mar 2009)
32 +
33 + 13 Mar 2009; Alin Năstac <mrness@g.o>
34 + +files/privoxy-3.0.11-gentoo.patch, +privoxy-3.0.11.ebuild:
35 + Version bump (#261865).
36
37 13 Dec 2008; Alin Năstac <mrness@g.o>
38 -files/privoxy-3.0.6-implicit-decl.patch, -privoxy-3.0.6.ebuild,
39
40
41
42 1.1 net-proxy/privoxy/privoxy-3.0.11.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/privoxy/privoxy-3.0.11.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/privoxy/privoxy-3.0.11.ebuild?rev=1.1&content-type=text/plain
46
47 Index: privoxy-3.0.11.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-proxy/privoxy/privoxy-3.0.11.ebuild,v 1.1 2009/03/13 20:00:28 mrness Exp $
52
53 EAPI="2"
54
55 inherit eutils toolchain-funcs autotools
56
57 HOMEPAGE="http://www.privoxy.org
58 http://sourceforge.net/projects/ijbswa/"
59 DESCRIPTION="A web proxy with advanced filtering capabilities for protecting privacy against Internet junk"
60 SRC_URI="mirror://sourceforge/ijbswa/${P/_/-}-stable-src.tar.gz"
61
62 IUSE="selinux threads zlib"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
65 LICENSE="GPL-2"
66
67 DEPEND="dev-libs/libpcre
68 zlib? ( sys-libs/zlib )"
69 RDEPEND="${DEPEND}
70 selinux? ( sec-policy/selinux-privoxy )"
71
72 S="${WORKDIR}/${P/_/-}-stable"
73
74 pkg_setup() {
75 enewgroup privoxy
76 enewuser privoxy -1 -1 /etc/privoxy privoxy
77 }
78
79 src_unpack() {
80 unpack ${A}
81
82 cd "${S}"
83 epatch "${FILESDIR}"/${P}-gentoo.patch
84 # autoreconf needs to be called even if we don't modify any autotools source files
85 # See main makefile
86 eautoreconf || die "eautoreconf failed"
87 }
88
89 src_configure() {
90 export CC=$(tc-getCC)
91 econf \
92 $(use_enable zlib) \
93 $(use_enable threads pthread) \
94 --enable-dynamic-pcre \
95 --with-user=privoxy \
96 --with-group=privoxy \
97 --sysconfdir=/etc/privoxy \
98 --docdir=/usr/share/doc/${PF} \
99 || die "econf failed"
100 }
101
102 src_install () {
103 emake DESTDIR="${D}" install || die "emake install failed"
104
105 newinitd "${FILESDIR}/privoxy.initd" privoxy
106 insinto /etc/logrotate.d
107 newins "${FILESDIR}/privoxy.logrotate" privoxy
108
109 diropts -m 0750 -g privoxy -o privoxy
110 keepdir /var/log/privoxy
111 }