From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 57FE558973 for ; Fri, 22 Jan 2016 18:04:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C7E3421C00C; Fri, 22 Jan 2016 18:04:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 05F0321C008 for ; Fri, 22 Jan 2016 18:04:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B585D340A35 for ; Fri, 22 Jan 2016 18:04:33 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 78BB0A91 for ; Fri, 22 Jan 2016 18:04:30 +0000 (UTC) From: "Andrew Savchenko" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Savchenko" Message-ID: <1453485861.6ddaf34615d366c87f059bcda4768fea74b30376.bircoph@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/privoxy/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-proxy/privoxy/Manifest net-proxy/privoxy/privoxy-3.0.24.ebuild X-VCS-Directories: net-proxy/privoxy/ X-VCS-Committer: bircoph X-VCS-Committer-Name: Andrew Savchenko X-VCS-Revision: 6ddaf34615d366c87f059bcda4768fea74b30376 X-VCS-Branch: master Date: Fri, 22 Jan 2016 18:04:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d60e842f-2c01-440f-bc21-1fc20677da2f X-Archives-Hash: c93bc8054b18518776baffb554319779 commit: 6ddaf34615d366c87f059bcda4768fea74b30376 Author: Andrew Savchenko gentoo org> AuthorDate: Fri Jan 22 17:55:34 2016 +0000 Commit: Andrew Savchenko gentoo org> CommitDate: Fri Jan 22 18:04:21 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ddaf346 net-proxy/privoxy: version bump See security bug 572584. Package-Manager: portage-2.2.27 Signed-off-by: Andrew Savchenko gentoo.org> net-proxy/privoxy/Manifest | 1 + net-proxy/privoxy/privoxy-3.0.24.ebuild | 81 +++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) diff --git a/net-proxy/privoxy/Manifest b/net-proxy/privoxy/Manifest index 9b273e3..f7e02c3 100644 --- a/net-proxy/privoxy/Manifest +++ b/net-proxy/privoxy/Manifest @@ -1 +1,2 @@ DIST privoxy-3.0.23-stable-src.tar.gz 1715099 SHA256 80b1a172d0518a9f95cde83d18dc62b9c7f117b9ada77bdcd3d310107f28f964 SHA512 487513f4f6f8c868b537132599d0f573384a0b7ed2b3c6778b163d61f94a419e1594d4e0bff286051902bfca292d68c5eeef215955f072c1744bef50db279c25 WHIRLPOOL 68f3ce6dd86a95bb515af2dfe4f166263800f8ff71fb266cb7d8630888f30c93194634b74c5d491a5687afc5842428bd23811ef71ee9358f1cd7ec5ad1ce11a4 +DIST privoxy-3.0.24-stable-src.tar.gz 1728265 SHA256 a381f6dc78f08de0d4a2342d47a5949a6608073ada34b933137184f3ca9fb012 SHA512 4002df09613f06b337d3d56034443ac1481bc99dbd063857a3b02d6c2cec62b1d0cdf23a6396daba74e2be5b899d85e967dacb8e875f15e0824f00038b212705 WHIRLPOOL 4d23baad88bdc0c1cfad48440d464e5ec40208a317653b0c2e6a8bbd8a831d441576ddd41e82cddde73e7f9d3e954afdd654d1a163b1123379699d7b40159d96 diff --git a/net-proxy/privoxy/privoxy-3.0.24.ebuild b/net-proxy/privoxy/privoxy-3.0.24.ebuild new file mode 100644 index 0000000..4c7bb7e --- /dev/null +++ b/net-proxy/privoxy/privoxy-3.0.24.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit eutils toolchain-funcs autotools systemd user + +[ "${PV##*_}" = "beta" ] && + PRIVOXY_STATUS="beta" || + PRIVOXY_STATUS="stable" + +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%_*}-${PRIVOXY_STATUS}-src.tar.gz" + +IUSE="+acl editor external-filters +fast-redirects +force graceful-termination ++image-blocking ipv6 lfs png-images selinux +stats +threads toggle +whitelists +zlib" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +LICENSE="GPL-2" + +DEPEND="dev-libs/libpcre + zlib? ( sys-libs/zlib )" +RDEPEND="${DEPEND} + selinux? ( sec-policy/selinux-privoxy )" + +REQUIRED_USE="toggle? ( editor )" + +S="${WORKDIR}/${P%_*}-${PRIVOXY_STATUS}" + +pkg_setup() { + enewgroup privoxy + enewuser privoxy -1 -1 /etc/privoxy privoxy +} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-3.0.19-gentoo.patch + # autoreconf needs to be called even if we don't modify any autotools source files + # See main makefile + eautoreconf +} + +src_configure() { + + econf \ + $(use_enable acl acl-support) \ + $(use_enable editor) \ + $(use_enable fast-redirects) \ + $(use_enable force) \ + $(use_enable graceful-termination) \ + $(use_enable image-blocking) \ + $(use_enable ipv6 ipv6-support) \ + $(use_enable lfs large-file-support) \ + $(use_enable png-images no-gifs) \ + $(use_enable stats) \ + $(use_enable threads pthread) \ + $(use_enable toggle) \ + $(use_enable whitelists trust-files) \ + $(use_enable zlib) \ + $(usex zlib --enable-compression "") \ + --enable-dynamic-pcre \ + --with-user=privoxy \ + --with-group=privoxy \ + --sysconfdir=/etc/privoxy \ + --docdir=/usr/share/doc/${PF} +} + +src_install () { + default + + newinitd "${FILESDIR}/privoxy.initd" privoxy + systemd_dounit "${FILESDIR}"/${PN}.service + + insinto /etc/logrotate.d + newins "${FILESDIR}/privoxy.logrotate" privoxy + + diropts -m 0750 -g privoxy -o privoxy + keepdir /var/log/privoxy +}