Gentoo Archives: gentoo-commits

From: "Torsten Veller (tove)" <tove@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-proxy/privoxy: ChangeLog privoxy-3.0.16.ebuild
Date: Sat, 08 May 2010 11:00:55
Message-Id: 20100508110050.9D21629678@corvid.gentoo.org
1 tove 10/05/08 11:00:50
2
3 Modified: ChangeLog
4 Added: privoxy-3.0.16.ebuild
5 Log:
6 Version bump (#308615). Fix docdir and logdir (#297206)
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.57 net-proxy/privoxy/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/privoxy/ChangeLog?rev=1.57&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/privoxy/ChangeLog?rev=1.57&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/privoxy/ChangeLog?r1=1.56&r2=1.57
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-proxy/privoxy/ChangeLog,v
19 retrieving revision 1.56
20 retrieving revision 1.57
21 diff -u -r1.56 -r1.57
22 --- ChangeLog 23 Jan 2010 18:32:42 -0000 1.56
23 +++ ChangeLog 8 May 2010 11:00:50 -0000 1.57
24 @@ -1,6 +1,12 @@
25 # ChangeLog for net-proxy/privoxy
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/privoxy/ChangeLog,v 1.56 2010/01/23 18:32:42 armin76 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/privoxy/ChangeLog,v 1.57 2010/05/08 11:00:50 tove Exp $
29 +
30 +*privoxy-3.0.16 (08 May 2010)
31 +
32 + 08 May 2010; Torsten Veller <tove@g.o> +privoxy-3.0.16.ebuild,
33 + +files/privoxy-3.0.16-gentoo.patch:
34 + Version bump (#308615). Fix docdir and logdir (#297206)
35
36 23 Jan 2010; Raúl Porcel <armin76@g.o> privoxy-3.0.12.ebuild,
37 privoxy-3.0.13_beta.ebuild, privoxy-3.0.14_beta.ebuild,
38
39
40
41 1.1 net-proxy/privoxy/privoxy-3.0.16.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/privoxy/privoxy-3.0.16.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/privoxy/privoxy-3.0.16.ebuild?rev=1.1&content-type=text/plain
45
46 Index: privoxy-3.0.16.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-proxy/privoxy/privoxy-3.0.16.ebuild,v 1.1 2010/05/08 11:00:50 tove Exp $
51
52 EAPI="2"
53
54 inherit eutils toolchain-funcs autotools
55
56 [ "${PV##*_}" = "beta" ] &&
57 PRIVOXY_STATUS="beta" ||
58 PRIVOXY_STATUS="stable"
59
60 HOMEPAGE="http://www.privoxy.org
61 http://sourceforge.net/projects/ijbswa/"
62 DESCRIPTION="A web proxy with advanced filtering capabilities for protecting privacy against Internet junk"
63 SRC_URI="mirror://sourceforge/ijbswa/${P%_*}-${PRIVOXY_STATUS}-src.tar.gz"
64
65 IUSE="selinux threads zlib"
66 SLOT="0"
67 KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
68 LICENSE="GPL-2"
69
70 DEPEND="dev-libs/libpcre
71 zlib? ( sys-libs/zlib )"
72 RDEPEND="${DEPEND}
73 selinux? ( sec-policy/selinux-privoxy )"
74
75 S="${WORKDIR}/${P%_*}-${PRIVOXY_STATUS}"
76
77 pkg_setup() {
78 enewgroup privoxy
79 enewuser privoxy -1 -1 /etc/privoxy privoxy
80 }
81
82 src_prepare() {
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 }
100
101 src_install () {
102 emake DESTDIR="${D}" install || die "emake install failed"
103
104 newinitd "${FILESDIR}/privoxy.initd" privoxy
105 insinto /etc/logrotate.d
106 newins "${FILESDIR}/privoxy.logrotate" privoxy
107
108 diropts -m 0750 -g privoxy -o privoxy
109 keepdir /var/log/privoxy
110 }