From: "Ben Kohler" <bkohler@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/tinyproxy/
Date: Wed, 22 Feb 2023 17:13:02 +0000 (UTC) [thread overview]
Message-ID: <1677085973.822e5d2252f2402c3b3b89fd924c83bb9f09f083.bkohler@gentoo> (raw)
commit: 822e5d2252f2402c3b3b89fd924c83bb9f09f083
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 22 17:11:47 2023 +0000
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Wed Feb 22 17:12:53 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=822e5d22
net-proxy/tinyproxy: new snapshot plus _FORTIFY_SOURCE fix
Closes: https://bugs.gentoo.org/895872
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
net-proxy/tinyproxy/Manifest | 1 +
.../tinyproxy/tinyproxy-1.11.1_p20230201.ebuild | 78 ++++++++++++++++++++++
2 files changed, 79 insertions(+)
diff --git a/net-proxy/tinyproxy/Manifest b/net-proxy/tinyproxy/Manifest
index ffc77e758748..2560c805b71f 100644
--- a/net-proxy/tinyproxy/Manifest
+++ b/net-proxy/tinyproxy/Manifest
@@ -1 +1,2 @@
DIST tinyproxy-1.11.1_p20220908.tar.gz 112898 BLAKE2B 0f00a103661a5e5891a9f82cb95f1a421a47e68ea6e2144ead01241e6b4bcda8dbd4dce302432fa0432aae1e048b4a788a0ad3bad2dc8691906b872730c31b2b SHA512 3d1c0ad4915e81e775e981b8ba625664128c8d63b2093cc29b3873dc83da4e16646e2a39e32769f463bab1d5af2b699deaa546a705f1269d5a6dfc2c927dafef
+DIST tinyproxy-31339cb1615765f2fbb4ec7779400535bad6da46.tar.gz 112886 BLAKE2B 82af9f671b31c9be46624400d726e428837763ab763942c335df1aa63499e33c17384b55ea2f68790cd3b8b1e4eff3b61b40f25e1d55506ce0f0694c7cddaddb SHA512 638ae0731aa2d9f498643aa883871f7b3978c68ee5098fcbeb234234e5432d1a833c33fb0cc1944504369bdf975baa0bd6166664c340825b9b55664d8afdf94c
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)."
+}
next reply other threads:[~2023-02-22 17:13 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-22 17:13 Ben Kohler [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-27 18:54 [gentoo-commits] repo/gentoo:master commit in: net-proxy/tinyproxy/ Ben Kohler
2024-07-01 17:03 Sam James
2024-07-01 17:03 Sam James
2024-07-01 16:58 Arthur Zamarin
2024-05-09 11:29 Ben Kohler
2023-03-30 18:05 Ben Kohler
2023-03-30 16:38 Sam James
2023-03-30 16:18 Arthur Zamarin
2023-03-30 15:34 Arthur Zamarin
2023-01-10 16:11 Ben Kohler
2022-09-27 16:43 Ben Kohler
2022-09-27 7:10 Agostino Sarubbo
2022-09-27 7:08 Agostino Sarubbo
2022-09-27 6:05 Jakov Smolić
2022-09-20 12:02 Ben Kohler
2022-07-25 14:26 Ben Kohler
2022-07-20 13:31 Ben Kohler
2022-07-19 20:27 Sam James
2022-07-19 20:26 Sam James
2022-05-30 19:13 Ben Kohler
2021-05-18 11:56 Ben Kohler
2021-05-17 23:29 Sam James
2021-05-17 23:28 Sam James
2021-05-17 23:28 Sam James
2021-04-16 14:43 Ben Kohler
2021-01-05 14:56 Ben Kohler
2021-01-03 11:51 Sergei Trofimovich
2020-12-29 17:14 Sam James
2020-09-28 12:28 Ben Kohler
2020-09-06 12:35 Ben Kohler
2020-06-30 17:09 Ben Kohler
2018-11-30 17:43 Aaron Bauman
2018-11-29 19:55 Mikle Kolyada
2018-11-28 22:33 Sergei Trofimovich
2018-11-28 22:28 Sergei Trofimovich
2018-11-27 21:55 Thomas Deutschmann
2018-11-27 16:01 Tobias Klausmann
2018-10-09 17:03 Ben Kohler
2018-10-09 13:26 Ben Kohler
2018-10-09 13:26 Ben Kohler
2018-10-09 13:21 Ben Kohler
2018-10-09 13:06 Ben Kohler
2016-05-04 9:35 Lars Wendler
2016-05-03 19:17 Austin English
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1677085973.822e5d2252f2402c3b3b89fd924c83bb9f09f083.bkohler@gentoo \
--to=bkohler@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox