Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/stunnel/
Date: Thu, 01 Apr 2021 11:33:34
Message-Id: 1617276798.fd567712d3763175fac7ea90291dfe63fe97c053.blueness@gentoo
1 commit: fd567712d3763175fac7ea90291dfe63fe97c053
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 1 11:33:18 2021 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 1 11:33:18 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd567712
7
8 net-misc/stunnel: cleanup vulnerable versions, bug #772146
9
10 Package-Manager: Portage-3.0.17, Repoman-3.0.2
11 Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>
12
13 net-misc/stunnel/Manifest | 3 --
14 net-misc/stunnel/stunnel-5.50-r1.ebuild | 95 ---------------------------------
15 net-misc/stunnel/stunnel-5.55.ebuild | 91 -------------------------------
16 net-misc/stunnel/stunnel-5.56-r1.ebuild | 91 -------------------------------
17 4 files changed, 280 deletions(-)
18
19 diff --git a/net-misc/stunnel/Manifest b/net-misc/stunnel/Manifest
20 index d27cdf861c3..e879a2e6aed 100644
21 --- a/net-misc/stunnel/Manifest
22 +++ b/net-misc/stunnel/Manifest
23 @@ -1,4 +1 @@
24 -DIST stunnel-5.50.tar.gz 973685 BLAKE2B e4185fa0c4f15ea118a8f6590bae14a9e1d7ccf1f73b75e46d8c7f04e4ece471c29b0a3715a24568301c5220fe385cbf42295c91ae9b295e3d7ab2b0ffec45a1 SHA512 96029b4f0dc0f04130e847bf47e56e8fdd22f2aaddb5fe0f581a0da6b870049152216795a0a9d9cdb6b93621df0a7d999e968a8c59989d261fd81c5f02cc1bac
25 -DIST stunnel-5.55.tar.gz 986873 BLAKE2B feb3a7d80aa2f67e0b8de2cdd2a134947f0715cc09c2d2778cd2aef4dcc55ffef45c55e010bd6048f38b143d22006beb90c7b76575a8d6d3d430d1f87dd271fa SHA512 278e39e87e080171d2bed3b193f8f7923b48c12c6d788afeb113a71bfc6077129305e8f93f5e7046b12cc8aa381e89909358756c978ef129d3067ceeb60e112a
26 -DIST stunnel-5.56.tar.gz 981163 BLAKE2B eef5a535165b1346d14e8fdd25ded7f497378bb63ab7d68642c5e1b3db2716c8e46db443146385a192a7e6042adcca295a5b107912e113f3f13f66e7a8d8b00b SHA512 db1be82b80bd5606568c5565f1c9a5710d4f7abca2d89388daa441bc395aaf2be998ac6403c7a17b8af01b89ade825186c20c50f73a809f9d64eca2e1b57a877
27 DIST stunnel-5.58.tar.gz 988551 BLAKE2B 45ce3d43ff683fa1146ced00c6a2ef7c09a935da3dcd1a6529fa024e064c251798d96a1e45d4abf13195ca50fb7f1cf3ddc25c9e954a1cad8bb4745c4e35701d SHA512 6f62bf13bf53f174b2810ad6708a9dfdb70e9b4e2f60c0c9cf4df691169a63014901402ccbe2862010f4cee240c1a8eec34b70a7a3fcef36e7a2ca14a7f70ece
28
29 diff --git a/net-misc/stunnel/stunnel-5.50-r1.ebuild b/net-misc/stunnel/stunnel-5.50-r1.ebuild
30 deleted file mode 100644
31 index 462a59083c9..00000000000
32 --- a/net-misc/stunnel/stunnel-5.50-r1.ebuild
33 +++ /dev/null
34 @@ -1,95 +0,0 @@
35 -# Copyright 1999-2021 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI="6"
39 -
40 -inherit ssl-cert multilib systemd user tmpfiles
41 -
42 -DESCRIPTION="TLS/SSL - Port Wrapper"
43 -HOMEPAGE="https://www.stunnel.org/index.html"
44 -SRC_URI="ftp://ftp.stunnel.org/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
45 - http://www.usenix.org.uk/mirrors/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
46 - http://ftp.nluug.nl/pub/networking/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
47 - http://www.namesdir.com/mirrors/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
48 - http://stunnel.cybermirror.org/archive/${PV%%.*}.x/${P}.tar.gz
49 - http://mirrors.zerg.biz/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
50 - ftp://mirrors.go-parts.com/stunnel/archive/${PV%%.*}.x/${P}.tar.gz"
51 -
52 -LICENSE="GPL-2"
53 -SLOT="0"
54 -KEYWORDS="~alpha"
55 -IUSE="ipv6 libressl selinux stunnel3 tcpd"
56 -
57 -DEPEND="tcpd? ( sys-apps/tcp-wrappers )
58 - !libressl? ( dev-libs/openssl:0= )
59 - libressl? ( dev-libs/libressl:0= )"
60 -RDEPEND="${DEPEND}
61 - stunnel3? ( dev-lang/perl )
62 - selinux? ( sec-policy/selinux-stunnel )"
63 -
64 -RESTRICT="test"
65 -
66 -pkg_setup() {
67 - enewgroup stunnel
68 - enewuser stunnel -1 -1 -1 stunnel
69 -}
70 -
71 -src_prepare() {
72 - # Hack away generation of certificate
73 - sed -i -e "s/^install-data-local:/do-not-run-this:/" \
74 - tools/Makefile.in || die "sed failed"
75 -
76 - # bug 656420
77 - eapply "${FILESDIR}"/${P}-libressl.patch
78 -
79 - echo "CONFIG_PROTECT=\"/etc/stunnel/stunnel.conf\"" > "${T}"/20stunnel
80 -
81 - eapply_user
82 -}
83 -
84 -src_configure() {
85 - econf \
86 - --libdir="${EPREFIX}/usr/$(get_libdir)" \
87 - $(use_enable ipv6) \
88 - $(use_enable tcpd libwrap) \
89 - --with-ssl="${EPREFIX}"/usr \
90 - --disable-fips
91 -}
92 -
93 -src_install() {
94 - emake DESTDIR="${D}" install
95 - rm -rf "${ED}"/usr/share/doc/${PN}
96 - rm -f "${ED}"/etc/stunnel/stunnel.conf-sample \
97 - "${ED}"/usr/share/man/man8/stunnel.{fr,pl}.8
98 - use stunnel3 || rm -f "${ED}"/usr/bin/stunnel3
99 -
100 - # The binary was moved to /usr/bin with 4.21,
101 - # symlink for backwards compatibility
102 - dosym ../bin/stunnel /usr/sbin/stunnel
103 -
104 - dodoc AUTHORS BUGS CREDITS PORTS README TODO ChangeLog
105 - docinto html
106 - dodoc doc/stunnel.html doc/en/VNC_StunnelHOWTO.html tools/ca.html \
107 - tools/importCA.html
108 -
109 - insinto /etc/stunnel
110 - doins "${FILESDIR}"/stunnel.conf
111 - newinitd "${FILESDIR}"/stunnel-r1 stunnel
112 -
113 - doenvd "${T}"/20stunnel
114 -
115 - systemd_dounit "${S}/tools/stunnel.service"
116 - newtmpfiles "${FILESDIR}"/stunnel.tmpfiles.conf stunnel.conf
117 -}
118 -
119 -pkg_postinst() {
120 - if [ ! -f "${EROOT}"/etc/stunnel/stunnel.key ]; then
121 - install_cert /etc/stunnel/stunnel
122 - chown stunnel:stunnel "${EROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem}
123 - chmod 0640 "${EROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem}
124 - fi
125 -
126 - einfo "If you want to run multiple instances of stunnel, create a new config"
127 - einfo "file ending with .conf in /etc/stunnel/. **Make sure** you change "
128 - einfo "\'pid= \' with a unique filename."
129 -}
130
131 diff --git a/net-misc/stunnel/stunnel-5.55.ebuild b/net-misc/stunnel/stunnel-5.55.ebuild
132 deleted file mode 100644
133 index 9744f7b8a26..00000000000
134 --- a/net-misc/stunnel/stunnel-5.55.ebuild
135 +++ /dev/null
136 @@ -1,91 +0,0 @@
137 -# Copyright 1999-2021 Gentoo Authors
138 -# Distributed under the terms of the GNU General Public License v2
139 -
140 -EAPI="6"
141 -
142 -inherit ssl-cert multilib systemd user tmpfiles
143 -
144 -DESCRIPTION="TLS/SSL - Port Wrapper"
145 -HOMEPAGE="https://www.stunnel.org/index.html"
146 -SRC_URI="ftp://ftp.stunnel.org/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
147 - http://www.usenix.org.uk/mirrors/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
148 - http://ftp.nluug.nl/pub/networking/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
149 - http://www.namesdir.com/mirrors/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
150 - http://stunnel.cybermirror.org/archive/${PV%%.*}.x/${P}.tar.gz
151 - http://mirrors.zerg.biz/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
152 - ftp://mirrors.go-parts.com/stunnel/archive/${PV%%.*}.x/${P}.tar.gz"
153 -
154 -LICENSE="GPL-2"
155 -SLOT="0"
156 -KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
157 -IUSE="ipv6 selinux stunnel3 tcpd"
158 -
159 -DEPEND="dev-libs/openssl:0=
160 - tcpd? ( sys-apps/tcp-wrappers )"
161 -RDEPEND="${DEPEND}
162 - stunnel3? ( dev-lang/perl )
163 - selinux? ( sec-policy/selinux-stunnel )"
164 -
165 -RESTRICT="test"
166 -
167 -pkg_setup() {
168 - enewgroup stunnel
169 - enewuser stunnel -1 -1 -1 stunnel
170 -}
171 -
172 -src_prepare() {
173 - # Hack away generation of certificate
174 - sed -i -e "s/^install-data-local:/do-not-run-this:/" \
175 - tools/Makefile.in || die "sed failed"
176 -
177 - echo "CONFIG_PROTECT=\"/etc/stunnel/stunnel.conf\"" > "${T}"/20stunnel
178 -
179 - eapply_user
180 -}
181 -
182 -src_configure() {
183 - econf \
184 - --libdir="${EPREFIX}/usr/$(get_libdir)" \
185 - $(use_enable ipv6) \
186 - $(use_enable tcpd libwrap) \
187 - --with-ssl="${EPREFIX}"/usr \
188 - --disable-fips
189 -}
190 -
191 -src_install() {
192 - emake DESTDIR="${D}" install
193 - rm -rf "${ED}"/usr/share/doc/${PN}
194 - rm -f "${ED}"/etc/stunnel/stunnel.conf-sample \
195 - "${ED}"/usr/share/man/man8/stunnel.{fr,pl}.8
196 - use stunnel3 || rm -f "${ED}"/usr/bin/stunnel3
197 -
198 - # The binary was moved to /usr/bin with 4.21,
199 - # symlink for backwards compatibility
200 - dosym ../bin/stunnel /usr/sbin/stunnel
201 -
202 - dodoc AUTHORS BUGS CREDITS PORTS README TODO ChangeLog
203 - docinto html
204 - dodoc doc/stunnel.html doc/en/VNC_StunnelHOWTO.html tools/ca.html \
205 - tools/importCA.html
206 -
207 - insinto /etc/stunnel
208 - doins "${FILESDIR}"/stunnel.conf
209 - newinitd "${FILESDIR}"/stunnel-r1 stunnel
210 -
211 - doenvd "${T}"/20stunnel
212 -
213 - systemd_dounit "${S}/tools/stunnel.service"
214 - newtmpfiles "${FILESDIR}"/stunnel.tmpfiles.conf stunnel.conf
215 -}
216 -
217 -pkg_postinst() {
218 - if [ ! -f "${EROOT}"/etc/stunnel/stunnel.key ]; then
219 - install_cert /etc/stunnel/stunnel
220 - chown stunnel:stunnel "${EROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem}
221 - chmod 0640 "${EROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem}
222 - fi
223 -
224 - einfo "If you want to run multiple instances of stunnel, create a new config"
225 - einfo "file ending with .conf in /etc/stunnel/. **Make sure** you change "
226 - einfo "\'pid= \' with a unique filename."
227 -}
228
229 diff --git a/net-misc/stunnel/stunnel-5.56-r1.ebuild b/net-misc/stunnel/stunnel-5.56-r1.ebuild
230 deleted file mode 100644
231 index 485343478d7..00000000000
232 --- a/net-misc/stunnel/stunnel-5.56-r1.ebuild
233 +++ /dev/null
234 @@ -1,91 +0,0 @@
235 -# Copyright 1999-2021 Gentoo Authors
236 -# Distributed under the terms of the GNU General Public License v2
237 -
238 -EAPI="7"
239 -
240 -inherit ssl-cert multilib systemd tmpfiles
241 -
242 -DESCRIPTION="TLS/SSL - Port Wrapper"
243 -HOMEPAGE="https://www.stunnel.org/index.html"
244 -SRC_URI="ftp://ftp.stunnel.org/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
245 - http://www.usenix.org.uk/mirrors/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
246 - http://ftp.nluug.nl/pub/networking/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
247 - http://www.namesdir.com/mirrors/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
248 - http://stunnel.cybermirror.org/archive/${PV%%.*}.x/${P}.tar.gz
249 - http://mirrors.zerg.biz/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
250 - ftp://mirrors.go-parts.com/stunnel/archive/${PV%%.*}.x/${P}.tar.gz"
251 -
252 -LICENSE="GPL-2"
253 -SLOT="0"
254 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
255 -IUSE="ipv6 selinux stunnel3 tcpd"
256 -
257 -DEPEND="dev-libs/openssl:0=
258 - tcpd? ( sys-apps/tcp-wrappers )"
259 -RDEPEND="
260 - acct-user/stunnel
261 - acct-group/stunnel
262 - ${DEPEND}
263 - stunnel3? ( dev-lang/perl )
264 - selinux? ( sec-policy/selinux-stunnel )"
265 -
266 -RESTRICT="test"
267 -
268 -src_prepare() {
269 - # Hack away generation of certificate
270 - sed -i -e "s/^install-data-local:/do-not-run-this:/" \
271 - tools/Makefile.in || die "sed failed"
272 -
273 - echo "CONFIG_PROTECT=\"/etc/stunnel/stunnel.conf\"" > "${T}"/20stunnel
274 -
275 - eapply_user
276 -}
277 -
278 -src_configure() {
279 - econf \
280 - --libdir="${EPREFIX}/usr/$(get_libdir)" \
281 - $(use_enable ipv6) \
282 - $(use_enable tcpd libwrap) \
283 - --with-ssl="${EPREFIX}"/usr \
284 - --disable-fips
285 -}
286 -
287 -src_install() {
288 - emake DESTDIR="${D}" install
289 - rm -rf "${ED}"/usr/share/doc/${PN}
290 - rm -f "${ED}"/etc/stunnel/stunnel.conf-sample \
291 - "${ED}"/usr/share/man/man8/stunnel.{fr,pl}.8
292 - use stunnel3 || rm -f "${ED}"/usr/bin/stunnel3
293 -
294 - # The binary was moved to /usr/bin with 4.21,
295 - # symlink for backwards compatibility
296 - dosym ../bin/stunnel /usr/sbin/stunnel
297 -
298 - dodoc AUTHORS.md BUGS.md CREDITS.md PORTS.md README.md TODO.md
299 - docinto html
300 - dodoc doc/stunnel.html doc/en/VNC_StunnelHOWTO.html tools/ca.html \
301 - tools/importCA.html
302 -
303 - insinto /etc/stunnel
304 - doins "${FILESDIR}"/stunnel.conf
305 - newinitd "${FILESDIR}"/stunnel-r1 stunnel
306 -
307 - doenvd "${T}"/20stunnel
308 -
309 - systemd_dounit "${S}/tools/stunnel.service"
310 - newtmpfiles "${FILESDIR}"/stunnel.tmpfiles.conf stunnel.conf
311 -}
312 -
313 -pkg_postinst() {
314 - if [ ! -f "${EROOT}"/etc/stunnel/stunnel.key ]; then
315 - install_cert /etc/stunnel/stunnel
316 - chown stunnel:stunnel "${EROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem}
317 - chmod 0640 "${EROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem}
318 - fi
319 -
320 - einfo "If you want to run multiple instances of stunnel, create a new config"
321 - einfo "file ending with .conf in /etc/stunnel/. **Make sure** you change "
322 - einfo "\'pid= \' with a unique filename. For openrc make a symlink from the"
323 - einfo "stunnel init script to \'stunnel.name\' and use that to start|stop"
324 - einfo "your custom instance"
325 -}