summaryrefslogtreecommitdiff
path: root/net-proxy/tinyproxy
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-22 20:29:22 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-22 20:29:22 +0000
commit71fb24e4cc15fe73651423df81c5e6a79fa8c142 (patch)
tree962fbc79d3fbda0c4123d5119df5e728d4d7b18c /net-proxy/tinyproxy
parentaae71b4d8e684ca22d28ef0f1da0989e7bf6468d (diff)
gentoo auto-resync : 22:02:2023 - 20:29:22
Diffstat (limited to 'net-proxy/tinyproxy')
-rw-r--r--net-proxy/tinyproxy/Manifest2
-rw-r--r--net-proxy/tinyproxy/tinyproxy-1.11.1_p20230201.ebuild78
2 files changed, 80 insertions, 0 deletions
diff --git a/net-proxy/tinyproxy/Manifest b/net-proxy/tinyproxy/Manifest
index bf1895edb6b1..62ef6cafc55b 100644
--- a/net-proxy/tinyproxy/Manifest
+++ b/net-proxy/tinyproxy/Manifest
@@ -2,5 +2,7 @@ AUX tinyproxy-1.10.0.initd 855 BLAKE2B 4bd9a260a930958ea449a08edce1f9e8633429a52
AUX tinyproxy-1.10.0.service 181 BLAKE2B 1e5c14f607d0c54d215a6ffe5656bac288e48ca809aca67b658bb13917869e5203d66730f52670fb9030dd9f6cf249d09f357bbdd143436f6b358377d8f78036 SHA512 7721b986326f82b03d79983be33047fdf4b37b5c63992645a321bf8bd3edea63680a2bf81b2d51fbeab2a5884773a0598dba14f9d597d3db0eea7c7f6b4c79d3
AUX tinyproxy.tmpfiles.conf 44 BLAKE2B a4e1cf0c8cbd78360175b8260c7d83885dfc9560a78faa6fc111f8611b6dd43c3cbf9fa62e60f8333cac4d0bededbe048c626d8a85d4f3c6c1bfa1ae249c599e SHA512 59d1efcc996e94ae684708ef06263c61f17680a776938a90ce145cf6f0243ed253d402cd886dab7c2c287f47dbc6f02f0e34904433e7b6756cfaa18a1b766b4e
DIST tinyproxy-1.11.1_p20220908.tar.gz 112898 BLAKE2B 0f00a103661a5e5891a9f82cb95f1a421a47e68ea6e2144ead01241e6b4bcda8dbd4dce302432fa0432aae1e048b4a788a0ad3bad2dc8691906b872730c31b2b SHA512 3d1c0ad4915e81e775e981b8ba625664128c8d63b2093cc29b3873dc83da4e16646e2a39e32769f463bab1d5af2b699deaa546a705f1269d5a6dfc2c927dafef
+DIST tinyproxy-31339cb1615765f2fbb4ec7779400535bad6da46.tar.gz 112886 BLAKE2B 82af9f671b31c9be46624400d726e428837763ab763942c335df1aa63499e33c17384b55ea2f68790cd3b8b1e4eff3b61b40f25e1d55506ce0f0694c7cddaddb SHA512 638ae0731aa2d9f498643aa883871f7b3978c68ee5098fcbeb234234e5432d1a833c33fb0cc1944504369bdf975baa0bd6166664c340825b9b55664d8afdf94c
EBUILD tinyproxy-1.11.1_p20220908.ebuild 1743 BLAKE2B 47e07494ad6d6d0fb4f4e29dc90dd818c802d0d09c5b06db22d1ca19eccd8f43f67154622d5061247fbb3af3d16ab2a5de7209a4111d45b361668438485474f3 SHA512 e954647d732f40bb8c038394daffd3610fb7125edb242c97b7cef6e13cee72bba239a0c79e98619b13138828073125264d0c259753a89ecd325915953902b88f
+EBUILD tinyproxy-1.11.1_p20230201.ebuild 1833 BLAKE2B 7d20fd8f7d5d74aa0680d768ad7fb2ffd1626d0a69fdfd863a6241926f9b419d79932b4957f9b5b929869f13d46a05068d556851e6cc08c355c10375ddfe6314 SHA512 954f6286ae45248c66186582d4b1ad746daba6f851b42479ffd5ae2722b233df0677cd211a6f8ad7eb072c421752dc83759fd892b6c5373d5614972daa69edcc
MISC metadata.xml 647 BLAKE2B 94b3ad0f9dea9247080d840994e643905c416d10a8d69b8bb201e5e9512a92929d1e86294b4ea73c9462384edf146afbeade0ba738233ad54dc5ac980432db6b SHA512 74ceb8655cc84f27afb870c91352b2503bb6962803fe54c70e8d052d70e878246d488d523dd968e2a2b962891f4c91fd537f6be29057a5f5d1c9718591077c9f
diff --git a/net-proxy/tinyproxy/tinyproxy-1.11.1_p20230201.ebuild b/net-proxy/tinyproxy/tinyproxy-1.11.1_p20230201.ebuild
new file mode 100644
index 000000000000..7af955c819a2
--- /dev/null
+++ b/net-proxy/tinyproxy/tinyproxy-1.11.1_p20230201.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools systemd tmpfiles
+
+COMMIT=31339cb1615765f2fbb4ec7779400535bad6da46
+
+DESCRIPTION="A lightweight HTTP/SSL proxy"
+HOMEPAGE="https://github.com/tinyproxy/tinyproxy/"
+SRC_URI="https://github.com/tinyproxy/tinyproxy/archive/${COMMIT}.tar.gz -> ${PN}-${COMMIT}.tar.gz"
+
+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}-${COMMIT}
+
+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"
+
+ sed -i -e "s# -Wp,-D_FORTIFY_SOURCE=2##" configure.ac || 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)."
+}