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.9_beta-r1.ebuild privoxy-3.0.9_beta.ebuild |
Date: | Wed, 30 Jul 2008 19:55:50 |
Message-Id: | E1KOHlz-0005jP-Nz@stork.gentoo.org |
1 | mrness 08/07/30 19:55:47 |
2 | |
3 | Modified: ChangeLog |
4 | Added: privoxy-3.0.9_beta-r1.ebuild |
5 | Removed: privoxy-3.0.9_beta.ebuild |
6 | Log: |
7 | Remove pcre USE flag and add libpcre as unconditional dependency (#233358). |
8 | (Portage version: 2.1.4.4) |
9 | |
10 | Revision Changes Path |
11 | 1.38 net-proxy/privoxy/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/privoxy/ChangeLog?rev=1.38&view=markup |
14 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/privoxy/ChangeLog?rev=1.38&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/privoxy/ChangeLog?r1=1.37&r2=1.38 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/net-proxy/privoxy/ChangeLog,v |
20 | retrieving revision 1.37 |
21 | retrieving revision 1.38 |
22 | diff -u -r1.37 -r1.38 |
23 | --- ChangeLog 24 Jul 2008 16:44:06 -0000 1.37 |
24 | +++ ChangeLog 30 Jul 2008 19:55:47 -0000 1.38 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for net-proxy/privoxy |
27 | # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/net-proxy/privoxy/ChangeLog,v 1.37 2008/07/24 16:44:06 mrness Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/net-proxy/privoxy/ChangeLog,v 1.38 2008/07/30 19:55:47 mrness Exp $ |
30 | + |
31 | +*privoxy-3.0.9_beta-r1 (30 Jul 2008) |
32 | + |
33 | + 30 Jul 2008; Alin Năstac <mrness@g.o> -privoxy-3.0.9_beta.ebuild, |
34 | + +privoxy-3.0.9_beta-r1.ebuild: |
35 | + Remove pcre USE flag and add libpcre as unconditional dependency (#233358). |
36 | |
37 | *privoxy-3.0.9_beta (24 Jul 2008) |
38 | |
39 | |
40 | |
41 | |
42 | 1.1 net-proxy/privoxy/privoxy-3.0.9_beta-r1.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/privoxy/privoxy-3.0.9_beta-r1.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/privoxy/privoxy-3.0.9_beta-r1.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: privoxy-3.0.9_beta-r1.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2008 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.9_beta-r1.ebuild,v 1.1 2008/07/30 19:55:47 mrness Exp $ |
52 | |
53 | WANT_AUTOMAKE="latest" |
54 | WANT_AUTOCONF="latest" |
55 | |
56 | inherit toolchain-funcs autotools |
57 | |
58 | HOMEPAGE="http://www.privoxy.org |
59 | http://sourceforge.net/projects/ijbswa/" |
60 | DESCRIPTION="A web proxy with advanced filtering capabilities for protecting privacy against Internet junk" |
61 | SRC_URI="mirror://sourceforge/ijbswa/${P/_/-}-src.tar.gz" |
62 | |
63 | IUSE="selinux threads zlib" |
64 | SLOT="0" |
65 | KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
66 | LICENSE="GPL-2" |
67 | |
68 | DEPEND="dev-libs/libpcre |
69 | zlib? ( sys-libs/zlib )" |
70 | RDEPEND="${DEPEND} |
71 | selinux? ( sec-policy/selinux-privoxy )" |
72 | |
73 | S="${WORKDIR}/${P/_/-}" |
74 | |
75 | pkg_setup() { |
76 | enewgroup privoxy |
77 | enewuser privoxy -1 -1 /etc/privoxy privoxy |
78 | } |
79 | |
80 | src_unpack() { |
81 | unpack ${A} |
82 | |
83 | cd "${S}" |
84 | sed -e 's:confdir .:confdir /etc/privoxy:' \ |
85 | -e 's:logdir .:logdir /var/log/privoxy:' \ |
86 | -e 's:logfile logfile:logfile privoxy.log:' \ |
87 | -i config || die "sed failed." |
88 | sed -e 's:^\+set-image-blocker{pattern}:+set-image-blocker{blank}:' \ |
89 | -i default.action.master || die "sed 2 failed." |
90 | eautoreconf || die "autoreconf failed" |
91 | } |
92 | |
93 | src_compile() { |
94 | export CC=$(tc-getCC) |
95 | econf \ |
96 | $(use_enable zlib) \ |
97 | $(use_enable threads pthread) \ |
98 | --enable-dynamic-pcre \ |
99 | --with-user=privoxy \ |
100 | --with-group=privoxy \ |
101 | --sysconfdir=/etc/privoxy \ |
102 | || die "econf failed" |
103 | |
104 | emake || die "emake failed" |
105 | } |
106 | |
107 | src_install () { |
108 | dosbin privoxy |
109 | newinitd "${FILESDIR}/privoxy.initd" privoxy |
110 | insinto /etc/logrotate.d |
111 | newins "${FILESDIR}/privoxy.logrotate" privoxy |
112 | |
113 | insinto /etc/privoxy |
114 | doins default.action default.filter config standard.action trust user.action |
115 | insinto /etc/privoxy/templates |
116 | doins templates/* |
117 | |
118 | doman privoxy.1 |
119 | dodoc README AUTHORS doc/text/faq.txt ChangeLog |
120 | cd doc/webserver |
121 | dohtml -r developer-manual faq man-page user-manual |
122 | |
123 | diropts -m 0750 -g privoxy -o privoxy |
124 | keepdir /var/log/privoxy |
125 | } |