Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/tinyproxy/
Date: Fri, 30 Nov 2018 17:44:05
Message-Id: 1543599828.5a7a14eb5f08a92daa5139d2ef6b4432f71d4203.bman@gentoo
1 commit: 5a7a14eb5f08a92daa5139d2ef6b4432f71d4203
2 Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 30 17:43:28 2018 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 30 17:43:48 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a7a14eb
7
8 net-proxy/tinyproxy: drop vulnerable
9
10 Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
11
12 net-proxy/tinyproxy/Manifest | 2 -
13 net-proxy/tinyproxy/tinyproxy-1.8.3-r4.ebuild | 89 ---------------------------
14 net-proxy/tinyproxy/tinyproxy-1.8.4.ebuild | 80 ------------------------
15 3 files changed, 171 deletions(-)
16
17 diff --git a/net-proxy/tinyproxy/Manifest b/net-proxy/tinyproxy/Manifest
18 index 646feb115ba..729b3dbd18a 100644
19 --- a/net-proxy/tinyproxy/Manifest
20 +++ b/net-proxy/tinyproxy/Manifest
21 @@ -1,3 +1 @@
22 DIST tinyproxy-1.10.0.tar.xz 176060 BLAKE2B 58f9b443c731de6b74d689a80ebd422d3b6f51f643546ee144b37fb3262725246f6a5fa1015267a94f192f8715eaf71ffc078ead75e6225a210f58ec28ee8fcf SHA512 8d82598c5f9c89bc672f4632139ac52696d5c7788963de51688a8aeb576c69004f8338fe1e1897bf704a21dfd25ab1effb092003b6afaa9a88c2b5d0608310f5
23 -DIST tinyproxy-1.8.3.tar.bz2 202430 BLAKE2B 1f85d6eb3a1b2cebe752f15e51869882c58f7dcafb2518511dd8c83c44a010a1cdac93e40e2c1f177a7687b126925258c79ff56011a42addd710b2009d546313 SHA512 69f1262b39d37f44a42621a0d25985632cdb790c8d9b49335a49a68c0f5237b97b111252856cba119895ac066770645560d2d7cd2de31f02103fa55fb4b3290c
24 -DIST tinyproxy-1.8.4.tar.xz 192300 BLAKE2B bc425ab40d5d5fb49111d74d67e7ac848d77ad4be87039b34543a118df317839aa529c6b9ca52f1eafe933e7d344e09770a76ed0184181591483c6b3f1d79243 SHA512 23398a2c8a6d926b371086ba96032d0fd8dd06d114edf24950b868f53bb6b4235cd0f5d6b9a0131879fcc16bbe6b71142a6855de593a937ef7b0c323b50e0aec
25
26 diff --git a/net-proxy/tinyproxy/tinyproxy-1.8.3-r4.ebuild b/net-proxy/tinyproxy/tinyproxy-1.8.3-r4.ebuild
27 deleted file mode 100644
28 index c371c7b1b9e..00000000000
29 --- a/net-proxy/tinyproxy/tinyproxy-1.8.3-r4.ebuild
30 +++ /dev/null
31 @@ -1,89 +0,0 @@
32 -# Copyright 1999-2018 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -
37 -inherit autotools systemd user
38 -
39 -DESCRIPTION="A lightweight HTTP/SSL proxy"
40 -HOMEPAGE="http://www.banu.com/tinyproxy/"
41 -SRC_URI="http://www.banu.com/pub/${PN}/1.8/${P}.tar.bz2"
42 -
43 -LICENSE="GPL-2"
44 -SLOT="0"
45 -KEYWORDS="alpha amd64 ~arm ia64 ppc sparc x86"
46 -
47 -IUSE="test debug +filter-proxy minimal reverse-proxy
48 - transparent-proxy +upstream-proxy +xtinyproxy-header"
49 -
50 -REQUIRED_USE="test? ( xtinyproxy-header )"
51 -
52 -DEPEND="!minimal? ( app-text/asciidoc )"
53 -
54 -PATCHES=(
55 - "${FILESDIR}"/${PN}-1.8.1-ldflags.patch
56 - "${FILESDIR}"/${P}-r2-DoS-Prevention.patch
57 -
58 -)
59 -
60 -pkg_setup() {
61 - enewgroup ${PN}
62 - enewuser ${PN} "" "" "" ${PN}
63 -}
64 -
65 -src_prepare() {
66 - use minimal && PATCHES+=( "${FILESDIR}/${PN}-1.8.1-minimal.patch" )
67 -
68 - default
69 -
70 - sed -i \
71 - -e "s|nobody|${PN}|g" \
72 - -e 's|/var/run/|/run/|g' \
73 - etc/${PN}.conf.in || die "sed failed"
74 -
75 - sed -i \
76 - -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' \
77 - configure.ac || die
78 -
79 - eautoreconf
80 -}
81 -
82 -src_configure() {
83 - if use minimal; then
84 - ln -s /bin/true "${T}"/a2x
85 - export PATH="${T}:${PATH}"
86 - fi
87 -
88 - econf \
89 - $(use_enable debug) \
90 - $(use_enable filter-proxy filter) \
91 - $(use_enable reverse-proxy reverse) \
92 - $(use_enable transparent-proxy transparent) \
93 - $(use_enable upstream-proxy upstream) \
94 - $(use_enable xtinyproxy-header xtinyproxy) \
95 - --disable-silent-rules \
96 - --localstatedir=/var
97 -}
98 -
99 -src_test() {
100 - # The make check target does not run the test suite
101 - emake test
102 -}
103 -
104 -src_install() {
105 - default
106 -
107 - dodoc AUTHORS ChangeLog NEWS README TODO
108 -
109 - diropts -m0775 -o ${PN} -g ${PN}
110 - keepdir /var/log/${PN}
111 -
112 - newinitd "${FILESDIR}"/${PN}-1.8.3-r2.initd tinyproxy
113 - systemd_dounit "${FILESDIR}"/${PN}.service
114 - systemd_dotmpfilesd "${FILESDIR}"/${PN}.tmpfiles.conf
115 -}
116 -
117 -pkg_postinst() {
118 - elog "For filtering domains and URLs, enable filter option in the configuration"
119 - elog "file and add them to the filter file (one domain or URL per line)."
120 -}
121
122 diff --git a/net-proxy/tinyproxy/tinyproxy-1.8.4.ebuild b/net-proxy/tinyproxy/tinyproxy-1.8.4.ebuild
123 deleted file mode 100644
124 index 6c165306197..00000000000
125 --- a/net-proxy/tinyproxy/tinyproxy-1.8.4.ebuild
126 +++ /dev/null
127 @@ -1,80 +0,0 @@
128 -# Copyright 1999-2018 Gentoo Authors
129 -# Distributed under the terms of the GNU General Public License v2
130 -
131 -EAPI=6
132 -
133 -inherit autotools systemd tmpfiles user
134 -
135 -DESCRIPTION="A lightweight HTTP/SSL proxy"
136 -HOMEPAGE="https://github.com/tinyproxy/tinyproxy/"
137 -SRC_URI="https://github.com/tinyproxy/tinyproxy/releases/download/${PV}/${P}.tar.xz"
138 -
139 -LICENSE="GPL-2"
140 -SLOT="0"
141 -KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
142 -
143 -IUSE="test debug +filter-proxy minimal reverse-proxy
144 - transparent-proxy +upstream-proxy +xtinyproxy-header"
145 -
146 -REQUIRED_USE="test? ( xtinyproxy-header )"
147 -
148 -DEPEND="!minimal? ( app-text/asciidoc )"
149 -
150 -pkg_setup() {
151 - enewgroup ${PN}
152 - enewuser ${PN} "" "" "" ${PN}
153 -}
154 -
155 -src_prepare() {
156 - use minimal && PATCHES+=( "${FILESDIR}/${PN}-1.8.1-minimal.patch" )
157 -
158 - default
159 -
160 - sed -i \
161 - -e "s|nobody|${PN}|g" \
162 - etc/${PN}.conf.in || die "sed failed"
163 -
164 - eautoreconf
165 -}
166 -
167 -src_configure() {
168 - if use minimal; then
169 - ln -s /bin/true "${T}"/a2x
170 - export PATH="${T}:${PATH}"
171 - fi
172 -
173 - econf \
174 - $(use_enable debug) \
175 - $(use_enable filter-proxy filter) \
176 - $(use_enable reverse-proxy reverse) \
177 - $(use_enable transparent-proxy transparent) \
178 - $(use_enable upstream-proxy upstream) \
179 - $(use_enable xtinyproxy-header xtinyproxy) \
180 - --disable-silent-rules \
181 - --localstatedir=/var
182 -}
183 -
184 -src_test() {
185 - # The make check target does not run the test suite
186 - emake test
187 -}
188 -
189 -src_install() {
190 - default
191 -
192 - dodoc AUTHORS ChangeLog NEWS README TODO
193 -
194 - diropts -m0775 -o ${PN} -g ${PN}
195 - keepdir /var/log/${PN}
196 -
197 - newinitd "${FILESDIR}"/${PN}-1.8.3-r2.initd tinyproxy
198 - systemd_dounit "${FILESDIR}"/${PN}.service
199 - systemd_dotmpfilesd "${FILESDIR}"/${PN}.tmpfiles.conf
200 -}
201 -
202 -pkg_postinst() {
203 - tmpfiles_process ${PN}.tmpfiles.conf
204 -
205 - elog "For filtering domains and URLs, enable filter option in the configuration"
206 - elog "file and add them to the filter file (one domain or URL per line)."
207 -}