Gentoo Archives: gentoo-commits

From: Andrew Savchenko <bircoph@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/privoxy/
Date: Sun, 09 Jul 2017 01:05:44
Message-Id: 1499562322.89146546d06bba8d0d024f0be1dd1a9b8faff412.bircoph@gentoo
1 commit: 89146546d06bba8d0d024f0be1dd1a9b8faff412
2 Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 9 01:01:12 2017 +0000
4 Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 9 01:05:22 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89146546
7
8 net-proxy/privoxy: remove old
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11 Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>
12
13 net-proxy/privoxy/Manifest | 1 -
14 net-proxy/privoxy/privoxy-3.0.24-r2.ebuild | 88 ------------------------------
15 2 files changed, 89 deletions(-)
16
17 diff --git a/net-proxy/privoxy/Manifest b/net-proxy/privoxy/Manifest
18 index 98f326c90bc..3b715477b42 100644
19 --- a/net-proxy/privoxy/Manifest
20 +++ b/net-proxy/privoxy/Manifest
21 @@ -1,2 +1 @@
22 -DIST privoxy-3.0.24-stable-src.tar.gz 1728265 SHA256 a381f6dc78f08de0d4a2342d47a5949a6608073ada34b933137184f3ca9fb012 SHA512 4002df09613f06b337d3d56034443ac1481bc99dbd063857a3b02d6c2cec62b1d0cdf23a6396daba74e2be5b899d85e967dacb8e875f15e0824f00038b212705 WHIRLPOOL 4d23baad88bdc0c1cfad48440d464e5ec40208a317653b0c2e6a8bbd8a831d441576ddd41e82cddde73e7f9d3e954afdd654d1a163b1123379699d7b40159d96
23 DIST privoxy-3.0.26-stable-src.tar.gz 1741772 SHA256 57e415b43ee5dfdca74685cc034053eaae962952fdabd086171551a86abf9cd8 SHA512 e448305287d0451c761b76b8d8974ea1ec837b621bbb498a7ff16a54cb4d8f1f734efe2eef03235c01163bb40e225785065aad6ee265a31d90970ab98af11044 WHIRLPOOL 56fc14cea34923186163a91747ba09bbe8c79464ed6668c6776d83f088f3742728ff0b0755e4ca0bfe7a8ed645627b1956876e59256cf76e25f1c13017957779
24
25 diff --git a/net-proxy/privoxy/privoxy-3.0.24-r2.ebuild b/net-proxy/privoxy/privoxy-3.0.24-r2.ebuild
26 deleted file mode 100644
27 index b9264051a5e..00000000000
28 --- a/net-proxy/privoxy/privoxy-3.0.24-r2.ebuild
29 +++ /dev/null
30 @@ -1,88 +0,0 @@
31 -# Copyright 1999-2017 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI="5"
35 -
36 -inherit eutils toolchain-funcs autotools systemd user
37 -
38 -[ "${PV##*_}" = "beta" ] &&
39 - PRIVOXY_STATUS="beta" ||
40 - PRIVOXY_STATUS="stable"
41 -
42 -HOMEPAGE="http://www.privoxy.org https://sourceforge.net/projects/ijbswa/"
43 -DESCRIPTION="A web proxy with advanced filtering capabilities for enhancing privacy"
44 -SRC_URI="mirror://sourceforge/ijbswa/${P%_*}-${PRIVOXY_STATUS}-src.tar.gz"
45 -
46 -IUSE="+acl editor external-filters +fast-redirects +force graceful-termination
47 -+image-blocking ipv6 lfs png-images selinux +stats +threads toggle
48 -whitelists +zlib"
49 -SLOT="0"
50 -KEYWORDS="alpha amd64 arm ppc ppc64 sparc x86 ~x86-fbsd"
51 -LICENSE="GPL-2"
52 -
53 -DEPEND="dev-libs/libpcre
54 - zlib? ( sys-libs/zlib )"
55 -RDEPEND="${DEPEND}
56 - selinux? ( sec-policy/selinux-privoxy )"
57 -
58 -REQUIRED_USE="toggle? ( editor )"
59 -
60 -S="${WORKDIR}/${P%_*}-${PRIVOXY_STATUS}"
61 -
62 -pkg_pretend() {
63 - if ! use threads; then
64 - ewarn
65 - ewarn "Privoxy may be very slow without threads support, consider to enable them."
66 - ewarn "See also http://www.privoxy.org/faq/trouble.html#GENTOO-RICERS"
67 - ewarn
68 - fi
69 -}
70 -
71 -pkg_setup() {
72 - enewgroup privoxy
73 - enewuser privoxy -1 -1 /etc/privoxy privoxy
74 -}
75 -
76 -src_prepare() {
77 - epatch "${FILESDIR}"/${PN}-3.0.19-gentoo.patch
78 - # autoreconf needs to be called even if we don't modify any autotools source files
79 - # See main makefile
80 - eautoreconf
81 -}
82 -
83 -src_configure() {
84 - econf \
85 - $(use_enable acl acl-support) \
86 - $(use_enable editor) \
87 - $(use_enable fast-redirects) \
88 - $(use_enable force) \
89 - $(use_enable graceful-termination) \
90 - $(use_enable image-blocking) \
91 - $(use_enable ipv6 ipv6-support) \
92 - $(use_enable lfs large-file-support) \
93 - $(use_enable png-images no-gifs) \
94 - $(use_enable stats) \
95 - $(use_enable threads pthread) \
96 - $(use_enable toggle) \
97 - $(use_enable whitelists trust-files) \
98 - $(use_enable zlib) \
99 - $(usex zlib --enable-compression "") \
100 - --enable-dynamic-pcre \
101 - --with-user=privoxy \
102 - --with-group=privoxy \
103 - --sysconfdir=/etc/privoxy \
104 - --docdir=/usr/share/doc/${PF}
105 -}
106 -
107 -src_install () {
108 - default
109 -
110 - newinitd "${FILESDIR}/privoxy.initd-3" privoxy
111 - systemd_dounit "${FILESDIR}"/${PN}.service
112 -
113 - insinto /etc/logrotate.d
114 - newins "${FILESDIR}/privoxy.logrotate" privoxy
115 -
116 - diropts -m 0750 -g privoxy -o privoxy
117 - keepdir /var/log/privoxy
118 -}