From 4cbcc855382a06088e2f016f62cafdbcb7e40665 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 20 Mar 2022 00:40:44 +0000 Subject: gentoo resync : 20.03.2022 --- net-proxy/tinyproxy/Manifest | 4 +- net-proxy/tinyproxy/files/tinyproxy.tmpfiles.conf | 2 +- net-proxy/tinyproxy/tinyproxy-1.11.0-r1.ebuild | 76 +++++++++++++++++++++++ net-proxy/tinyproxy/tinyproxy-1.11.0.ebuild | 76 ----------------------- 4 files changed, 79 insertions(+), 79 deletions(-) create mode 100644 net-proxy/tinyproxy/tinyproxy-1.11.0-r1.ebuild delete mode 100644 net-proxy/tinyproxy/tinyproxy-1.11.0.ebuild (limited to 'net-proxy/tinyproxy') diff --git a/net-proxy/tinyproxy/Manifest b/net-proxy/tinyproxy/Manifest index d6310df2b471..a2b0808d7e81 100644 --- a/net-proxy/tinyproxy/Manifest +++ b/net-proxy/tinyproxy/Manifest @@ -1,6 +1,6 @@ AUX tinyproxy-1.10.0.initd 855 BLAKE2B 4bd9a260a930958ea449a08edce1f9e8633429a5222a3ea7254b4bdc03808c5f9f87d9b33556f345e305d28e155834b33ff2a952c041af582cae3bedbae2034d SHA512 cd440ed686e8128ed46441ca29da8376c4d28e9e34ae9b85c18eb2f1681d60c0c04b79401a7368f917eeab6768965d6c867d0ac6578a7858557c11b356446c02 AUX tinyproxy-1.10.0.service 181 BLAKE2B 1e5c14f607d0c54d215a6ffe5656bac288e48ca809aca67b658bb13917869e5203d66730f52670fb9030dd9f6cf249d09f357bbdd143436f6b358377d8f78036 SHA512 7721b986326f82b03d79983be33047fdf4b37b5c63992645a321bf8bd3edea63680a2bf81b2d51fbeab2a5884773a0598dba14f9d597d3db0eea7c7f6b4c79d3 -AUX tinyproxy.tmpfiles.conf 48 BLAKE2B f2cd35878580eb198920f5db8493e3e266b4325160a9590a0b59bef1cf0577d0129bb636d99442cdb2154b444a8cdc1c6d01b4850b57df774be00338c61902e4 SHA512 24440cdaed0af6cbdb191acb1769e0a17871ef95e03e62a6621a413a2616e5d90d748d909bb5d18c029b25d7bf91485dbe46ee11e8703a1cb9008be470536715 +AUX tinyproxy.tmpfiles.conf 44 BLAKE2B a4e1cf0c8cbd78360175b8260c7d83885dfc9560a78faa6fc111f8611b6dd43c3cbf9fa62e60f8333cac4d0bededbe048c626d8a85d4f3c6c1bfa1ae249c599e SHA512 59d1efcc996e94ae684708ef06263c61f17680a776938a90ce145cf6f0243ed253d402cd886dab7c2c287f47dbc6f02f0e34904433e7b6756cfaa18a1b766b4e DIST tinyproxy-1.11.0.tar.xz 177664 BLAKE2B 6ea74ef0fff22fbc6e04b37519151fda771a7d3e789d94cbd2a77a76dce7b16151cfbad83ac665a5c1fdb7334cd4d26ed6d2bc73f70b3858ffe439b16698fd2e SHA512 c0ff2a90da2352e6021efc87d1293b85f2a7588b2a1ab13bd96d906382eda8188b22b01f9acb2d200fd570bf3ec9484fa370cae6834d1f055c0af1631d22ae9d -EBUILD tinyproxy-1.11.0.ebuild 1719 BLAKE2B b8a013fc7c996cca345f688f89f0017cbd8d3eb2eb6e62ad1f0ec9b2419a834c901dc45e68f2963906025870d76eb42b4f4fddf4fb8eb483319bca85608fd4aa SHA512 131ae575e82b52f495286c34b5accc8ed3902a83d91ed3d6ad159848ef2fc5e005d7ec06bd8afb0e296ae9294dbb519ea3d6e167eb7082606556342b962aa3e6 +EBUILD tinyproxy-1.11.0-r1.ebuild 1719 BLAKE2B b4987e58b93d3e6bba9005766d882629a505b5c5509c7bbc0b12d823962f4bf19c5fae80cf1e3d074b638e99de76a97a3ab873f6613129f5a828cedc67903069 SHA512 aea1be8126aa552d56fd43716c6aafa3fc4098d80f1d3d99cc34dbf6ab184fdbc99c5610c5d7affde99c85ca26274a03a89a4157a6abad737b719be509c0c954 MISC metadata.xml 563 BLAKE2B 07ee935476f241bbe02aef78b978263fbc0bc0440f191a61d9ca99ffe59a5c3c5d5e84e77e032159dc9aff83a18a453bbdbb18f4a2e14478b6249cae22a7aadb SHA512 c6495e76d667793098e3697854e68acc8fe8cce28cb70ca115fb8f48ea3ccad48b4f31f0c709fd6887435c06a015434596896eb8e8fef1d78a2406b672146c1e diff --git a/net-proxy/tinyproxy/files/tinyproxy.tmpfiles.conf b/net-proxy/tinyproxy/files/tinyproxy.tmpfiles.conf index 80251df0d20c..5a89fcb6b7fc 100644 --- a/net-proxy/tinyproxy/files/tinyproxy.tmpfiles.conf +++ b/net-proxy/tinyproxy/files/tinyproxy.tmpfiles.conf @@ -1 +1 @@ -d /var/run/tinyproxy 0770 tinyproxy tinyproxy - +d /run/tinyproxy 0770 tinyproxy tinyproxy - diff --git a/net-proxy/tinyproxy/tinyproxy-1.11.0-r1.ebuild b/net-proxy/tinyproxy/tinyproxy-1.11.0-r1.ebuild new file mode 100644 index 000000000000..fd02282f412c --- /dev/null +++ b/net-proxy/tinyproxy/tinyproxy-1.11.0-r1.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools systemd tmpfiles + +MY_PV=${PV/_/-} + +DESCRIPTION="A lightweight HTTP/SSL proxy" +HOMEPAGE="https://github.com/tinyproxy/tinyproxy/" +SRC_URI="https://github.com/tinyproxy/tinyproxy/releases/download/${MY_PV}/${PN}-${MY_PV}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~ia64 ppc ~sparc x86" + +IUSE="test debug +filter-proxy reverse-proxy transparent-proxy ++upstream-proxy +xtinyproxy-header" +RESTRICT="!test? ( test )" +REQUIRED_USE="test? ( xtinyproxy-header )" + +S="${WORKDIR}"/${PN}-${MY_PV} + +DEPEND=" + acct-group/tinyproxy + acct-user/tinyproxy +" + +RDEPEND="${DEPEND}" + +src_prepare() { + default + + sed -i \ + -e "s|nobody|${PN}|g" \ + etc/${PN}.conf.in || die "sed failed" + + eautoreconf +} + +src_configure() { + econf \ + $(use_enable debug) \ + $(use_enable filter-proxy filter) \ + $(use_enable reverse-proxy reverse) \ + $(use_enable transparent-proxy transparent) \ + $(use_enable upstream-proxy upstream) \ + $(use_enable xtinyproxy-header xtinyproxy) \ + --localstatedir=/var +} + +src_test() { + # The make check target does not run the test suite + emake test +} + +src_install() { + default + + dodoc AUTHORS ChangeLog NEWS README TODO + + diropts -m0775 -o ${PN} -g ${PN} + keepdir /var/log/${PN} + + newinitd "${FILESDIR}"/${PN}-1.10.0.initd tinyproxy + systemd_newunit "${FILESDIR}"/${PN}-1.10.0.service tinyproxy.service + dotmpfiles "${FILESDIR}"/${PN}.tmpfiles.conf +} + +pkg_postinst() { + tmpfiles_process ${PN}.tmpfiles.conf + + elog "For filtering domains and URLs, enable filter option in the configuration" + elog "file and add them to the filter file (one domain or URL per line)." +} diff --git a/net-proxy/tinyproxy/tinyproxy-1.11.0.ebuild b/net-proxy/tinyproxy/tinyproxy-1.11.0.ebuild deleted file mode 100644 index 29cef2869832..000000000000 --- a/net-proxy/tinyproxy/tinyproxy-1.11.0.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools systemd tmpfiles - -MY_PV=${PV/_/-} - -DESCRIPTION="A lightweight HTTP/SSL proxy" -HOMEPAGE="https://github.com/tinyproxy/tinyproxy/" -SRC_URI="https://github.com/tinyproxy/tinyproxy/releases/download/${MY_PV}/${PN}-${MY_PV}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~ia64 ppc ~sparc x86" - -IUSE="test debug +filter-proxy reverse-proxy transparent-proxy -+upstream-proxy +xtinyproxy-header" -RESTRICT="!test? ( test )" -REQUIRED_USE="test? ( xtinyproxy-header )" - -S="${WORKDIR}"/${PN}-${MY_PV} - -DEPEND=" - acct-group/tinyproxy - acct-user/tinyproxy -" - -RDEPEND="${DEPEND}" - -src_prepare() { - default - - sed -i \ - -e "s|nobody|${PN}|g" \ - etc/${PN}.conf.in || die "sed failed" - - eautoreconf -} - -src_configure() { - econf \ - $(use_enable debug) \ - $(use_enable filter-proxy filter) \ - $(use_enable reverse-proxy reverse) \ - $(use_enable transparent-proxy transparent) \ - $(use_enable upstream-proxy upstream) \ - $(use_enable xtinyproxy-header xtinyproxy) \ - --localstatedir=/var -} - -src_test() { - # The make check target does not run the test suite - emake test -} - -src_install() { - default - - dodoc AUTHORS ChangeLog NEWS README TODO - - diropts -m0775 -o ${PN} -g ${PN} - keepdir /var/log/${PN} - - newinitd "${FILESDIR}"/${PN}-1.10.0.initd tinyproxy - systemd_newunit "${FILESDIR}"/${PN}-1.10.0.service tinyproxy.service - dotmpfiles "${FILESDIR}"/${PN}.tmpfiles.conf -} - -pkg_postinst() { - tmpfiles_process ${PN}.tmpfiles.conf - - elog "For filtering domains and URLs, enable filter option in the configuration" - elog "file and add them to the filter file (one domain or URL per line)." -} -- cgit v1.2.3