summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2013-09-03 20:17:06 +0000
committerPacho Ramos <pacho@gentoo.org>2013-09-03 20:17:06 +0000
commit87de01da3f7651eab50e76c109d567d0bd72a3a8 (patch)
tree76c144c82092549bb7113b06ce334756e6cfb737 /net-proxy/privoxy
parentAdd support for socket activation (#483270 by Henry Gebhardt and Alexander Tsoy) (diff)
downloadhistorical-87de01da3f7651eab50e76c109d567d0bd72a3a8.tar.gz
historical-87de01da3f7651eab50e76c109d567d0bd72a3a8.tar.bz2
historical-87de01da3f7651eab50e76c109d567d0bd72a3a8.zip
Add unit file (#483370 by Andrius Štikonas)
Package-Manager: portage-2.2.1/cvs/Linux x86_64 Manifest-Sign-Key: 0xA188FBD4
Diffstat (limited to 'net-proxy/privoxy')
-rw-r--r--net-proxy/privoxy/ChangeLog8
-rw-r--r--net-proxy/privoxy/Manifest24
-rw-r--r--net-proxy/privoxy/files/privoxy.service10
-rw-r--r--net-proxy/privoxy/privoxy-3.0.21-r1.ebuild63
4 files changed, 88 insertions, 17 deletions
diff --git a/net-proxy/privoxy/ChangeLog b/net-proxy/privoxy/ChangeLog
index 32dcdf4ae380..0256ea2a2bf7 100644
--- a/net-proxy/privoxy/ChangeLog
+++ b/net-proxy/privoxy/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-proxy/privoxy
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/privoxy/ChangeLog,v 1.83 2013/03/17 19:22:02 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/privoxy/ChangeLog,v 1.84 2013/09/03 20:17:02 pacho Exp $
+
+*privoxy-3.0.21-r1 (03 Sep 2013)
+
+ 03 Sep 2013; Pacho Ramos <pacho@gentoo.org> +files/privoxy.service,
+ +privoxy-3.0.21-r1.ebuild:
+ Add unit file (#483370 by Andrius Štikonas)
17 Mar 2013; Agostino Sarubbo <ago@gentoo.org> -privoxy-3.0.12.ebuild,
-privoxy-3.0.13_beta.ebuild, -privoxy-3.0.14_beta.ebuild,
diff --git a/net-proxy/privoxy/Manifest b/net-proxy/privoxy/Manifest
index b11be969885f..c719b07f6f1d 100644
--- a/net-proxy/privoxy/Manifest
+++ b/net-proxy/privoxy/Manifest
@@ -1,5 +1,5 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA256
AUX privoxy-3.0.12-gentoo.patch 2779 SHA256 ef1810f5ac2aa62e335b2b92fe8c9edcbf0226846f934205801db788ef483021 SHA512 d10ca2a715e8ac37defc741f21f5aa43f43044b100c296c25422c6d92eb95357eb91ee17ec777997f60010b3bba832c21286bc3d777e2f4d9b2463591dde13c2 WHIRLPOOL 97db7a7798f68e18c63b99c70bfd0ccb6230a1098445c74ac00404777bc53150d35f3f4d90ac6e0965f8eb17beb5a39d11daeeea060d73bbe9a9af1f061a1ae9
AUX privoxy-3.0.13_beta-gentoo.patch 2755 SHA256 11087191877a8b291720b9d6b98fbb95429f7a329520e5e30cda3aa079923cdb SHA512 3cafb30916f153d5b1f035e8fd835eccb567e4dd9a13cf2a9464622758ab19ea3a03bf90976c0e25993c0d977b171fb0e1b8783e013a66252f7d6830ac89ee0d WHIRLPOOL 5a54adb43c65ec608ada833a3441033d9dfd63d9b2a3f220a7ca01bbd6bc195481a32c1f95ac7e3040e9eff4835d7c2d54043211863e7d1e5c7aec67ec139164
@@ -10,24 +10,16 @@ AUX privoxy-3.0.17-gentoo.patch 3324 SHA256 abb03fb860afe5f0b0a2fe7848f36baddaa5
AUX privoxy-3.0.19-gentoo.patch 3661 SHA256 71c6e6b042a820c44e7110c8a60f7987c826900fd4b22073565977ce63d4860a SHA512 e0f916f33b8f17375b60686a0e4795883f29e46c55e273e0a69fae63d4b4e5a2585bb86b04aa288fdd75cdf51eedf7d72a9f8092e13a853e934e0029ae919a24 WHIRLPOOL 701a5c7ec31b7d2d68801005d81f01ec727712aab7d5d866427a78c940ef2d63201f6ba9e1679bf8e919653b355ea8a0577d4bce5c13b24812d43f2b09797553
AUX privoxy.initd 745 SHA256 224496b498b4f692ae3316a95b5c7c8b6230dcd5fee0ca163956a7acde243de9 SHA512 5d3870a672cd58d2d88a14af1ebb9c953f951016ba9e0905d7b9bd4ad1b699bf8b77bbb8bc8f31a71a928d3cd4c7f47c6cc20e01962a5ee89981414573fc0972 WHIRLPOOL d55a1df238e24589602174592bfc67af3333f3228abdf9be0f39527d35e7c088421472851b3c54bdb4af9273e714782598c939947fdda6f7e5673fc4b53cb0aa
AUX privoxy.logrotate 191 SHA256 a14373c8a26aab32f6f025c11a5521d7923ce900d00b31aa61da9f3979e3bb2e SHA512 118caaeac3aba751584c5bdfc737bf5bfeddf1a62fda1f44bcd4654ae2e33183bc1ce6fc66d4a1bdd79766e42e669b1615a6d46d528a1bd49cabdf98385a3bb9 WHIRLPOOL 4f7f576eb52a02daf38ccec68c49ee5ae0d449cbefdc11ecd1a9790eeee99f800576e05467f80a915423aa077ed3769e85a7c03a92679f31d6b3fe4a3aa3a792
+AUX privoxy.service 248 SHA256 35fee00be175e22dffafcd4a61de3a117268d64d506e99b9b3518702c3a20f35 SHA512 0f3484f06521a66b984fda7238f175a135b22fa5a00dc0c8caadd380d21bfecdae7a6c8d2c0d9a4a3c2858539913722be2b7d4fddd17ea2c95f4e151c3f74ca0 WHIRLPOOL 681c7fe28220ddc4194e6e83974878530b4a3aefd3b1a2de66f9b950ea1eb36252b484077c31af9fbbe335d777898e551455ee5c57892f4e43e5966b23b2d05c
DIST privoxy-3.0.21-stable-src.tar.gz 1733120 SHA256 5ec7e601948d2bd0ebf0ebe90eed7d49e7663c395ce16d0403e91ea2d459ddb8 SHA512 b7f0d6865bce32445442f3af290e1a43538e4f76c22cb0d0ff9d5a1752f8c019dabb70f023ae370ee59015bd0f6795db97f064f7621efb62265d5e196d2e0e41 WHIRLPOOL 204c860071b958f50d32010d6a7dce70e24f25116514b0999da8ad10862a7ea1889f0d4ff87e34bc8b08ce89c5f3bdf5c87b89c48c5f4c534e0c46be7f557593
+EBUILD privoxy-3.0.21-r1.ebuild 1650 SHA256 6248888715cfc37b58021cab8bb62a71184a74cdc94b63c2ea8cc98d65e5fb72 SHA512 63b90d45f55a20e0853a5f6665559d515e5988f2d6c2881b69bb5c63cf4fc10f2c76d8b93ddf935567b1724a36535a9a62733994742e7715da051dcb34700da2 WHIRLPOOL 567ba9cab02338d68434e565d0681f5899467d771494cfdb263c4311601bc3704fa9ccf71166a865fac6c5369c8ca07ad90fdccbe516dd8dadfc838382592338
EBUILD privoxy-3.0.21.ebuild 1585 SHA256 038b865802540bf699a7697f9ce570e79d08256c0ccc77675d5fcfb56623cfe7 SHA512 731df12e7a3bacda7fc4902f89af30fdf114a00eaba7edfae2fb2954d8dee45a9def054d9fd0c97c352af5c0ebaf287108ecba7291f916d1989967f93083e22e WHIRLPOOL 3b3cb5baae4409b3180449b27362cbbc5427bd2595544dda17ce40ac394ee5386d79de01a3a030ff6a0de35547ced1de0ad1f8e176e817955163426955a342c8
-MISC ChangeLog 16502 SHA256 0cb6bf68d9ef8d13c41e01eda38ea353dcfa2014bc18fd6363e05b38047b4a8b SHA512 3e9abfd486c621fa42e5ea324b9da6a7e8d2cfcc8103c0c19a9055800a52089a1ca61efb04895e1b8474d2b64226bc0089a6b0d766efe7a61c9ec6a11846d103 WHIRLPOOL cc56ca7b3ef2d77e15ed1970de72052395378367ab7ea64686d48e23b8a9f03805e8151844d646bf3f4f06f0dfe84acbfd5e3e35839822c142eac1cbb1acf49e
+MISC ChangeLog 16685 SHA256 8dad2cbcf2b708e7e673a133eadc93d5dbeb9eb26556a2f21a8f290ec095bc85 SHA512 8675bcea18c494fb967437fbe89a9de05101387d579dc2a5311176350baef6bf34309ed05b7664bdeb5633142feb3980fdaf9302b2d85720b5250b728f6f885f WHIRLPOOL 8ebfde3e0774a5c1fe85959f6f8e48f47bcc15783126e1aa482414ba1260614609c790487954534bf3cde929542bcdf9f8e8c6a810d966780f09256f9011c93d
MISC metadata.xml 291 SHA256 694b05be02eb88162313a10a1e3e44acf89214381eab941a0ec497ab8925049c SHA512 6ec5354c20ce662e799bb9ffcf4eb58e2a4cd110b6dfc8b1be546b10a268f7caab71b6cb096f4fd81ea3ff9016f7de2ffa68381d2ab89bbc34e178fa941d19ee WHIRLPOOL a7b15612fa65d2b4d17387106137daad17c60aa68f7faa1ddc6d8f4f66af982da2fd88a5de5d785e8a40eb18221df85bc4a7becf5dc93497c5db5ee269a9f32e
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
+Version: GnuPG v2.0.20 (GNU/Linux)
-iQIcBAEBCgAGBQJRRhfYAAoJELp701BxlEWfUOoP/jFPCzqUl4icKWFMT0q2Qzv4
-GaNH7KkKizPZ9UsqkWJpwTDBvpwEHW2IGaC5pIIFDIJsAfGfFvSkhmuno8Rlty/R
-juhHX+eab+vx4KtNCHu2Tfw1tqAGZgFtUWeSGRs8pXEt7caMknz/I/ijxnoYfQ9K
-7qlce4IqRrbPhQWYS0/93xGx7iQCTQ7W6LnWTXht+RMLvuOYTb1qiVcM+dMYr+NV
-bYLWX7wHr4+a/vXc0Not9Ph2jJBcbZ+sowxvQk0q5K/8+iLxKNcHZCyhyVkKg69t
-uPdUDuTUlKensKDe9R71rg7jcXNqXVumafNpgeBQOm5zccoxab1cwB3vi2+lhRdV
-NVFVQNWJh8qRNUoiTJxzyeGqVnADhD/DxifxMZWcI1Y0z+BLgZLtV0SmmnVB7yTq
-12WBciAM7sbl5sGClD1sozmnqNLGCGtc/F157+Ma1QJ3yR5IxE6ytNQFoF3A/A/C
-XpOdUkloO8IFWpLD075Kr3A+rz+SY0NcKnHH6zcAofaeck6wVjIThO5sUVo0oN5X
-h+4kdAZW/l6qp9MhDuiGWzL77vZFwOAQeC+Tuuz69DY57vjQvCRbV5uukHo2sU8f
-keGCRIN4Sg8aVSSX1eYgeD37tB80DFJSufCyDcPkC230sLw1PuJ1PdcgkdWAE4f6
-+t/S58J7H3RIBSemEueH
-=qjmd
+iEYEAREIAAYFAlImQ78ACgkQCaWpQKGI+9QK1wCePSrwINUJ/Vr0MmXqZ7L/ZJfv
+Dw0An0udrJgeEC1Ww/IbtbhGxpcaC9Wg
+=b4YX
-----END PGP SIGNATURE-----
diff --git a/net-proxy/privoxy/files/privoxy.service b/net-proxy/privoxy/files/privoxy.service
new file mode 100644
index 000000000000..568123924781
--- /dev/null
+++ b/net-proxy/privoxy/files/privoxy.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Privoxy Web Proxy With Advanced Filtering Capabilities
+After=network.target
+
+[Service]
+ExecStart=/usr/sbin/privoxy --no-daemon --user privoxy.privoxy /etc/privoxy/config
+SuccessExitStatus=15
+
+[Install]
+WantedBy=multi-user.target
diff --git a/net-proxy/privoxy/privoxy-3.0.21-r1.ebuild b/net-proxy/privoxy/privoxy-3.0.21-r1.ebuild
new file mode 100644
index 000000000000..c839be995e30
--- /dev/null
+++ b/net-proxy/privoxy/privoxy-3.0.21-r1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/privoxy/privoxy-3.0.21-r1.ebuild,v 1.1 2013/09/03 20:17:02 pacho Exp $
+
+EAPI="4"
+
+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="selinux threads 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 )"
+
+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 zlib) \
+ $(use_enable threads pthread) \
+ --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
+}