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: Sun, 28 Apr 2019 01:21:55
Message-Id: 1556414503.c3a8ee2c0b8a2fb79f86ab72c0e333f5849fd0b5.blueness@gentoo
1 commit: c3a8ee2c0b8a2fb79f86ab72c0e333f5849fd0b5
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 28 00:15:29 2019 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 28 01:21:43 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3a8ee2c
7
8 net-misc/stunnel: drop older unstable versions
9
10 Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>
11 Package-Manager: Portage-2.3.62, Repoman-2.3.11
12
13 net-misc/stunnel/Manifest | 7 ---
14 net-misc/stunnel/stunnel-5.36.ebuild | 92 ----------------------------------
15 net-misc/stunnel/stunnel-5.40.ebuild | 95 ------------------------------------
16 net-misc/stunnel/stunnel-5.44.ebuild | 95 ------------------------------------
17 net-misc/stunnel/stunnel-5.45.ebuild | 95 ------------------------------------
18 net-misc/stunnel/stunnel-5.46.ebuild | 95 ------------------------------------
19 net-misc/stunnel/stunnel-5.48.ebuild | 95 ------------------------------------
20 net-misc/stunnel/stunnel-5.49.ebuild | 95 ------------------------------------
21 8 files changed, 669 deletions(-)
22
23 diff --git a/net-misc/stunnel/Manifest b/net-misc/stunnel/Manifest
24 index 23fbe0ff696..1c8fe9e69d2 100644
25 --- a/net-misc/stunnel/Manifest
26 +++ b/net-misc/stunnel/Manifest
27 @@ -1,10 +1,3 @@
28 -DIST stunnel-5.36.tar.gz 645205 BLAKE2B 6287794b162212783c54fe199fde43d72347f7aeddba2b528eeaa857da5233e8892a157a3594790ae6174bc198731cd700970dc2ff4d3f260376756b72df5aa9 SHA512 663dd155aab17b628fd1ef8ae1c604efc0cdf026566e98fbff16ba4da5b12b06cd6801bf4f604a9b2ea98d993c184ce97c63c1f716fa86b5e630e5fd504e3317
29 -DIST stunnel-5.40.tar.gz 648828 BLAKE2B ce0e9cdd1d6c9ec2eb318e1a31307a4e4f27849b548ba755272c71c49b164cc1a6fb31a5dbec56c399349e590232aff84251670b6d8738c2b00ff182fdbb5dd7 SHA512 2dd403f212f701370775516d25ea441fe41564daf1460f8a9ba4eb960adfb5f007ebfb51a90503fa168c420f06e17a6d20f1b0eab697e2abb6a42dc6f1f898b2
30 DIST stunnel-5.43.tar.gz 698715 BLAKE2B 21ac7014e571e1c22b1b21b6dc5c4f22ec91197c7088756fb65dd4dd22541538179d5b389cbd1c3bd8f8d61436eab36e23f6317757229035cd8e9f04ba536f0e SHA512 3158ab7573d8c548ee71aecb3f94e141bd80e123a62848945263004e28668050a8a08c904dbf61df28c4f5c1d94eb380943ab39835ccd18273a6acf05a3488a8
31 -DIST stunnel-5.44.tar.gz 699117 BLAKE2B 956c7ce8987f79efab3baaa5071263466ec01f0475bd7e66dff41e8de66811a10be3a5f14bd6430e26159682bd3c2abe93a0d5824a854ae0243e6bbfae14a664 SHA512 a1aa4f234926208bf1b2c9acc0bf83dc0f2c8f575bc57f5ce89b32b4e3fde0412ea0ef7c2edb364fbe0b52fdd89773fab4df53950c58797c11b7668f3e4e7638
32 -DIST stunnel-5.45.tar.gz 706423 BLAKE2B 81c5355419de3b0bc88d59ea8c98d1a4523d7a1ae6a3d12464f7ab6a1df1f5dd798d2f50ec7adce7515e68a650149321f13e34791781620ad071824246502dce SHA512 653fea6e5002983bb9231a542ab1bab078428821910b8e257adbeea88e583e84d080615f232d5d3086e8d6069c43ddbdfc7923c4b50071ab0c0be547e76d8983
33 -DIST stunnel-5.46.tar.gz 706499 BLAKE2B 6ece93015b2a59ec17fa60505bccb5e4444879d44fa0cea6e838aa56d178f61f26b8b9b469d8bf2991d4c094fd824eaed2b5214184f6a15e0c415c53b6f7d136 SHA512 2000e36d4d011a83e47afcaf19473e083da010d7b3909cb831c51975512257888615b5d64f4a4d78f48529d68c6740ea2be7f7935b0ab86de4535e290f78cc97
34 -DIST stunnel-5.48.tar.gz 708356 BLAKE2B 6f4538c5fe6bc00eb0f45edfbf83f1de6cfcd23257aa368dc0ba788dd17af7033ba20f1ab7c3f5bf48a5e2ff3d4048eb1a344d1ea4cebebe69e6e2277aaf19ba SHA512 5e6669ecd6e9b49aa6ef82b9a4dc6a2193c975eef85262aba70c7f264ef1b4d15dc287a2baa94b71be063deddcd07a20a5347ed5280f044fc6f68c61429a24fa
35 -DIST stunnel-5.49.tar.gz 713560 BLAKE2B c93b6ea7f9e8da2668919101caf30850370f1c7e742863959d2c1350829e7f5a6d12ff8a8cf66dbac47db40c150cb23a6bce3bea6d79e3c906c4fedad8d410a2 SHA512 8bfd17684ea0d6eeec278f00618c6f96af113fbe14aaafd882d43f3d834ca1e5ed27f9908dffb04224ea4a1234063846f816e3528b95234ae156b61ade6aaa16
36 DIST stunnel-5.50.tar.gz 973685 BLAKE2B e4185fa0c4f15ea118a8f6590bae14a9e1d7ccf1f73b75e46d8c7f04e4ece471c29b0a3715a24568301c5220fe385cbf42295c91ae9b295e3d7ab2b0ffec45a1 SHA512 96029b4f0dc0f04130e847bf47e56e8fdd22f2aaddb5fe0f581a0da6b870049152216795a0a9d9cdb6b93621df0a7d999e968a8c59989d261fd81c5f02cc1bac
37 DIST stunnel-5.51.tar.gz 979334 BLAKE2B d01f2667691e7bbb8bd0cd0d625d511462d53a2061d3b3d774a8efaa832370ee5111c941f8f0875fd13a91620887aae0eb76c17a30bc9d37d8b77aafda2414b4 SHA512 ae135b0da789b3daf2114ebd2af50c376c34d5e911189d71af2a350f6f413b8642027027bcd5a9d547169c8ee2e05f4f9558b3a669842e5c0542dbe85f79229b
38
39 diff --git a/net-misc/stunnel/stunnel-5.36.ebuild b/net-misc/stunnel/stunnel-5.36.ebuild
40 deleted file mode 100644
41 index 430a5ab301d..00000000000
42 --- a/net-misc/stunnel/stunnel-5.36.ebuild
43 +++ /dev/null
44 @@ -1,92 +0,0 @@
45 -# Copyright 1999-2017 Gentoo Foundation
46 -# Distributed under the terms of the GNU General Public License v2
47 -
48 -EAPI="5"
49 -
50 -inherit ssl-cert eutils multilib systemd user
51 -
52 -DESCRIPTION="TLS/SSL - Port Wrapper"
53 -HOMEPAGE="http://www.stunnel.org/index.html"
54 -SRC_URI="ftp://ftp.stunnel.org/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
55 - http://www.usenix.org.uk/mirrors/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
56 - http://ftp.nluug.nl/pub/networking/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
57 - http://www.namesdir.com/mirrors/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
58 - http://stunnel.cybermirror.org/archive/${PV%%.*}.x/${P}.tar.gz
59 - http://mirrors.zerg.biz/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
60 - ftp://mirrors.go-parts.com/stunnel/archive/${PV%%.*}.x/${P}.tar.gz"
61 -
62 -LICENSE="GPL-2"
63 -SLOT="0"
64 -KEYWORDS="alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
65 -IUSE="ipv6 libressl selinux stunnel3 tcpd"
66 -
67 -DEPEND="tcpd? ( sys-apps/tcp-wrappers )
68 - !libressl? ( dev-libs/openssl:0= )
69 - libressl? ( dev-libs/libressl:0= )"
70 -RDEPEND="${DEPEND}
71 - stunnel3? ( dev-lang/perl )
72 - selinux? ( sec-policy/selinux-stunnel )"
73 -
74 -RESTRICT="test"
75 -
76 -pkg_setup() {
77 - enewgroup stunnel
78 - enewuser stunnel -1 -1 -1 stunnel
79 -}
80 -
81 -src_prepare() {
82 - # Hack away generation of certificate
83 - sed -i -e "s/^install-data-local:/do-not-run-this:/" \
84 - tools/Makefile.in || die "sed failed"
85 -
86 - # libressl compat
87 - epatch "${FILESDIR}"/stunnel-compat-libressl.patch
88 -
89 - echo "CONFIG_PROTECT=\"/etc/stunnel/stunnel.conf\"" > "${T}"/20stunnel
90 -}
91 -
92 -src_configure() {
93 - econf \
94 - --libdir="${EPREFIX}/usr/$(get_libdir)" \
95 - $(use_enable ipv6) \
96 - $(use_enable tcpd libwrap) \
97 - --with-ssl="${EPREFIX}"/usr \
98 - --disable-fips
99 -}
100 -
101 -src_install() {
102 - emake DESTDIR="${D}" install
103 - rm -rf "${ED}"/usr/share/doc/${PN}
104 - rm -f "${ED}"/etc/stunnel/stunnel.conf-sample \
105 - "${ED}"/usr/share/man/man8/stunnel.{fr,pl}.8
106 - use stunnel3 || rm -f "${ED}"/usr/bin/stunnel3
107 -
108 - # The binary was moved to /usr/bin with 4.21,
109 - # symlink for backwards compatibility
110 - dosym ../bin/stunnel /usr/sbin/stunnel
111 -
112 - dodoc AUTHORS BUGS CREDITS PORTS README TODO ChangeLog
113 - dohtml doc/stunnel.html doc/en/VNC_StunnelHOWTO.html tools/ca.html \
114 - tools/importCA.html
115 -
116 - insinto /etc/stunnel
117 - doins "${FILESDIR}"/stunnel.conf
118 - newinitd "${FILESDIR}"/stunnel-r1 stunnel
119 -
120 - doenvd "${T}"/20stunnel
121 -
122 - systemd_dounit "${S}/tools/stunnel.service"
123 - systemd_newtmpfilesd "${FILESDIR}"/stunnel.tmpfiles.conf stunnel.conf
124 -}
125 -
126 -pkg_postinst() {
127 - if [ ! -f "${EROOT}"/etc/stunnel/stunnel.key ]; then
128 - install_cert /etc/stunnel/stunnel
129 - chown stunnel:stunnel "${EROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem}
130 - chmod 0640 "${EROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem}
131 - fi
132 -
133 - einfo "If you want to run multiple instances of stunnel, create a new config"
134 - einfo "file ending with .conf in /etc/stunnel/. **Make sure** you change "
135 - einfo "\'pid= \' with a unique filename."
136 -}
137
138 diff --git a/net-misc/stunnel/stunnel-5.40.ebuild b/net-misc/stunnel/stunnel-5.40.ebuild
139 deleted file mode 100644
140 index 779c55aafc8..00000000000
141 --- a/net-misc/stunnel/stunnel-5.40.ebuild
142 +++ /dev/null
143 @@ -1,95 +0,0 @@
144 -# Copyright 1999-2017 Gentoo Foundation
145 -# Distributed under the terms of the GNU General Public License v2
146 -
147 -EAPI="6"
148 -
149 -inherit ssl-cert multilib systemd user
150 -
151 -DESCRIPTION="TLS/SSL - Port Wrapper"
152 -HOMEPAGE="http://www.stunnel.org/index.html"
153 -SRC_URI="ftp://ftp.stunnel.org/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
154 - http://www.usenix.org.uk/mirrors/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
155 - http://ftp.nluug.nl/pub/networking/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
156 - http://www.namesdir.com/mirrors/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
157 - http://stunnel.cybermirror.org/archive/${PV%%.*}.x/${P}.tar.gz
158 - http://mirrors.zerg.biz/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
159 - ftp://mirrors.go-parts.com/stunnel/archive/${PV%%.*}.x/${P}.tar.gz"
160 -
161 -LICENSE="GPL-2"
162 -SLOT="0"
163 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
164 -IUSE="ipv6 libressl selinux stunnel3 tcpd"
165 -
166 -DEPEND="tcpd? ( sys-apps/tcp-wrappers )
167 - !libressl? ( dev-libs/openssl:0= )
168 - libressl? ( dev-libs/libressl:0= )"
169 -RDEPEND="${DEPEND}
170 - stunnel3? ( dev-lang/perl )
171 - selinux? ( sec-policy/selinux-stunnel )"
172 -
173 -RESTRICT="test"
174 -
175 -pkg_setup() {
176 - enewgroup stunnel
177 - enewuser stunnel -1 -1 -1 stunnel
178 -}
179 -
180 -src_prepare() {
181 - # Hack away generation of certificate
182 - sed -i -e "s/^install-data-local:/do-not-run-this:/" \
183 - tools/Makefile.in || die "sed failed"
184 -
185 - # libressl compat
186 - eapply "${FILESDIR}"/${PN}-5.39-compat-libressl.patch
187 -
188 - echo "CONFIG_PROTECT=\"/etc/stunnel/stunnel.conf\"" > "${T}"/20stunnel
189 -
190 - eapply_user
191 -}
192 -
193 -src_configure() {
194 - econf \
195 - --libdir="${EPREFIX}/usr/$(get_libdir)" \
196 - $(use_enable ipv6) \
197 - $(use_enable tcpd libwrap) \
198 - --with-ssl="${EPREFIX}"/usr \
199 - --disable-fips
200 -}
201 -
202 -src_install() {
203 - emake DESTDIR="${D}" install
204 - rm -rf "${ED}"/usr/share/doc/${PN}
205 - rm -f "${ED}"/etc/stunnel/stunnel.conf-sample \
206 - "${ED}"/usr/share/man/man8/stunnel.{fr,pl}.8
207 - use stunnel3 || rm -f "${ED}"/usr/bin/stunnel3
208 -
209 - # The binary was moved to /usr/bin with 4.21,
210 - # symlink for backwards compatibility
211 - dosym ../bin/stunnel /usr/sbin/stunnel
212 -
213 - dodoc AUTHORS BUGS CREDITS PORTS README TODO ChangeLog
214 - docinto html
215 - dodoc doc/stunnel.html doc/en/VNC_StunnelHOWTO.html tools/ca.html \
216 - tools/importCA.html
217 -
218 - insinto /etc/stunnel
219 - doins "${FILESDIR}"/stunnel.conf
220 - newinitd "${FILESDIR}"/stunnel-r1 stunnel
221 -
222 - doenvd "${T}"/20stunnel
223 -
224 - systemd_dounit "${S}/tools/stunnel.service"
225 - systemd_newtmpfilesd "${FILESDIR}"/stunnel.tmpfiles.conf stunnel.conf
226 -}
227 -
228 -pkg_postinst() {
229 - if [ ! -f "${EROOT}"/etc/stunnel/stunnel.key ]; then
230 - install_cert /etc/stunnel/stunnel
231 - chown stunnel:stunnel "${EROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem}
232 - chmod 0640 "${EROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem}
233 - fi
234 -
235 - einfo "If you want to run multiple instances of stunnel, create a new config"
236 - einfo "file ending with .conf in /etc/stunnel/. **Make sure** you change "
237 - einfo "\'pid= \' with a unique filename."
238 -}
239
240 diff --git a/net-misc/stunnel/stunnel-5.44.ebuild b/net-misc/stunnel/stunnel-5.44.ebuild
241 deleted file mode 100644
242 index 00f1d19b6a2..00000000000
243 --- a/net-misc/stunnel/stunnel-5.44.ebuild
244 +++ /dev/null
245 @@ -1,95 +0,0 @@
246 -# Copyright 1999-2017 Gentoo Foundation
247 -# Distributed under the terms of the GNU General Public License v2
248 -
249 -EAPI="6"
250 -
251 -inherit ssl-cert multilib systemd user
252 -
253 -DESCRIPTION="TLS/SSL - Port Wrapper"
254 -HOMEPAGE="http://www.stunnel.org/index.html"
255 -SRC_URI="ftp://ftp.stunnel.org/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
256 - http://www.usenix.org.uk/mirrors/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
257 - http://ftp.nluug.nl/pub/networking/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
258 - http://www.namesdir.com/mirrors/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
259 - http://stunnel.cybermirror.org/archive/${PV%%.*}.x/${P}.tar.gz
260 - http://mirrors.zerg.biz/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
261 - ftp://mirrors.go-parts.com/stunnel/archive/${PV%%.*}.x/${P}.tar.gz"
262 -
263 -LICENSE="GPL-2"
264 -SLOT="0"
265 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
266 -IUSE="ipv6 libressl selinux stunnel3 tcpd"
267 -
268 -DEPEND="tcpd? ( sys-apps/tcp-wrappers )
269 - !libressl? ( dev-libs/openssl:0= )
270 - libressl? ( dev-libs/libressl:0= )"
271 -RDEPEND="${DEPEND}
272 - stunnel3? ( dev-lang/perl )
273 - selinux? ( sec-policy/selinux-stunnel )"
274 -
275 -RESTRICT="test"
276 -
277 -pkg_setup() {
278 - enewgroup stunnel
279 - enewuser stunnel -1 -1 -1 stunnel
280 -}
281 -
282 -src_prepare() {
283 - # Hack away generation of certificate
284 - sed -i -e "s/^install-data-local:/do-not-run-this:/" \
285 - tools/Makefile.in || die "sed failed"
286 -
287 - # libressl compat
288 - eapply "${FILESDIR}"/${PN}-5.43-compat-libressl.patch
289 -
290 - echo "CONFIG_PROTECT=\"/etc/stunnel/stunnel.conf\"" > "${T}"/20stunnel
291 -
292 - eapply_user
293 -}
294 -
295 -src_configure() {
296 - econf \
297 - --libdir="${EPREFIX}/usr/$(get_libdir)" \
298 - $(use_enable ipv6) \
299 - $(use_enable tcpd libwrap) \
300 - --with-ssl="${EPREFIX}"/usr \
301 - --disable-fips
302 -}
303 -
304 -src_install() {
305 - emake DESTDIR="${D}" install
306 - rm -rf "${ED}"/usr/share/doc/${PN}
307 - rm -f "${ED}"/etc/stunnel/stunnel.conf-sample \
308 - "${ED}"/usr/share/man/man8/stunnel.{fr,pl}.8
309 - use stunnel3 || rm -f "${ED}"/usr/bin/stunnel3
310 -
311 - # The binary was moved to /usr/bin with 4.21,
312 - # symlink for backwards compatibility
313 - dosym ../bin/stunnel /usr/sbin/stunnel
314 -
315 - dodoc AUTHORS BUGS CREDITS PORTS README TODO ChangeLog
316 - docinto html
317 - dodoc doc/stunnel.html doc/en/VNC_StunnelHOWTO.html tools/ca.html \
318 - tools/importCA.html
319 -
320 - insinto /etc/stunnel
321 - doins "${FILESDIR}"/stunnel.conf
322 - newinitd "${FILESDIR}"/stunnel-r1 stunnel
323 -
324 - doenvd "${T}"/20stunnel
325 -
326 - systemd_dounit "${S}/tools/stunnel.service"
327 - systemd_newtmpfilesd "${FILESDIR}"/stunnel.tmpfiles.conf stunnel.conf
328 -}
329 -
330 -pkg_postinst() {
331 - if [ ! -f "${EROOT}"/etc/stunnel/stunnel.key ]; then
332 - install_cert /etc/stunnel/stunnel
333 - chown stunnel:stunnel "${EROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem}
334 - chmod 0640 "${EROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem}
335 - fi
336 -
337 - einfo "If you want to run multiple instances of stunnel, create a new config"
338 - einfo "file ending with .conf in /etc/stunnel/. **Make sure** you change "
339 - einfo "\'pid= \' with a unique filename."
340 -}
341
342 diff --git a/net-misc/stunnel/stunnel-5.45.ebuild b/net-misc/stunnel/stunnel-5.45.ebuild
343 deleted file mode 100644
344 index 997849c87f0..00000000000
345 --- a/net-misc/stunnel/stunnel-5.45.ebuild
346 +++ /dev/null
347 @@ -1,95 +0,0 @@
348 -# Copyright 1999-2018 Gentoo Foundation
349 -# Distributed under the terms of the GNU General Public License v2
350 -
351 -EAPI="6"
352 -
353 -inherit ssl-cert multilib systemd user
354 -
355 -DESCRIPTION="TLS/SSL - Port Wrapper"
356 -HOMEPAGE="http://www.stunnel.org/index.html"
357 -SRC_URI="ftp://ftp.stunnel.org/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
358 - http://www.usenix.org.uk/mirrors/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
359 - http://ftp.nluug.nl/pub/networking/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
360 - http://www.namesdir.com/mirrors/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
361 - http://stunnel.cybermirror.org/archive/${PV%%.*}.x/${P}.tar.gz
362 - http://mirrors.zerg.biz/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
363 - ftp://mirrors.go-parts.com/stunnel/archive/${PV%%.*}.x/${P}.tar.gz"
364 -
365 -LICENSE="GPL-2"
366 -SLOT="0"
367 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
368 -IUSE="ipv6 libressl selinux stunnel3 tcpd"
369 -
370 -DEPEND="tcpd? ( sys-apps/tcp-wrappers )
371 - !libressl? ( dev-libs/openssl:0= )
372 - libressl? ( dev-libs/libressl:0= )"
373 -RDEPEND="${DEPEND}
374 - stunnel3? ( dev-lang/perl )
375 - selinux? ( sec-policy/selinux-stunnel )"
376 -
377 -RESTRICT="test"
378 -
379 -pkg_setup() {
380 - enewgroup stunnel
381 - enewuser stunnel -1 -1 -1 stunnel
382 -}
383 -
384 -src_prepare() {
385 - # Hack away generation of certificate
386 - sed -i -e "s/^install-data-local:/do-not-run-this:/" \
387 - tools/Makefile.in || die "sed failed"
388 -
389 - # libressl compat
390 - eapply "${FILESDIR}"/${PN}-5.43-compat-libressl.patch
391 -
392 - echo "CONFIG_PROTECT=\"/etc/stunnel/stunnel.conf\"" > "${T}"/20stunnel
393 -
394 - eapply_user
395 -}
396 -
397 -src_configure() {
398 - econf \
399 - --libdir="${EPREFIX}/usr/$(get_libdir)" \
400 - $(use_enable ipv6) \
401 - $(use_enable tcpd libwrap) \
402 - --with-ssl="${EPREFIX}"/usr \
403 - --disable-fips
404 -}
405 -
406 -src_install() {
407 - emake DESTDIR="${D}" install
408 - rm -rf "${ED}"/usr/share/doc/${PN}
409 - rm -f "${ED}"/etc/stunnel/stunnel.conf-sample \
410 - "${ED}"/usr/share/man/man8/stunnel.{fr,pl}.8
411 - use stunnel3 || rm -f "${ED}"/usr/bin/stunnel3
412 -
413 - # The binary was moved to /usr/bin with 4.21,
414 - # symlink for backwards compatibility
415 - dosym ../bin/stunnel /usr/sbin/stunnel
416 -
417 - dodoc AUTHORS BUGS CREDITS PORTS README TODO ChangeLog
418 - docinto html
419 - dodoc doc/stunnel.html doc/en/VNC_StunnelHOWTO.html tools/ca.html \
420 - tools/importCA.html
421 -
422 - insinto /etc/stunnel
423 - doins "${FILESDIR}"/stunnel.conf
424 - newinitd "${FILESDIR}"/stunnel-r1 stunnel
425 -
426 - doenvd "${T}"/20stunnel
427 -
428 - systemd_dounit "${S}/tools/stunnel.service"
429 - systemd_newtmpfilesd "${FILESDIR}"/stunnel.tmpfiles.conf stunnel.conf
430 -}
431 -
432 -pkg_postinst() {
433 - if [ ! -f "${EROOT}"/etc/stunnel/stunnel.key ]; then
434 - install_cert /etc/stunnel/stunnel
435 - chown stunnel:stunnel "${EROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem}
436 - chmod 0640 "${EROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem}
437 - fi
438 -
439 - einfo "If you want to run multiple instances of stunnel, create a new config"
440 - einfo "file ending with .conf in /etc/stunnel/. **Make sure** you change "
441 - einfo "\'pid= \' with a unique filename."
442 -}
443
444 diff --git a/net-misc/stunnel/stunnel-5.46.ebuild b/net-misc/stunnel/stunnel-5.46.ebuild
445 deleted file mode 100644
446 index 997849c87f0..00000000000
447 --- a/net-misc/stunnel/stunnel-5.46.ebuild
448 +++ /dev/null
449 @@ -1,95 +0,0 @@
450 -# Copyright 1999-2018 Gentoo Foundation
451 -# Distributed under the terms of the GNU General Public License v2
452 -
453 -EAPI="6"
454 -
455 -inherit ssl-cert multilib systemd user
456 -
457 -DESCRIPTION="TLS/SSL - Port Wrapper"
458 -HOMEPAGE="http://www.stunnel.org/index.html"
459 -SRC_URI="ftp://ftp.stunnel.org/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
460 - http://www.usenix.org.uk/mirrors/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
461 - http://ftp.nluug.nl/pub/networking/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
462 - http://www.namesdir.com/mirrors/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
463 - http://stunnel.cybermirror.org/archive/${PV%%.*}.x/${P}.tar.gz
464 - http://mirrors.zerg.biz/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
465 - ftp://mirrors.go-parts.com/stunnel/archive/${PV%%.*}.x/${P}.tar.gz"
466 -
467 -LICENSE="GPL-2"
468 -SLOT="0"
469 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
470 -IUSE="ipv6 libressl selinux stunnel3 tcpd"
471 -
472 -DEPEND="tcpd? ( sys-apps/tcp-wrappers )
473 - !libressl? ( dev-libs/openssl:0= )
474 - libressl? ( dev-libs/libressl:0= )"
475 -RDEPEND="${DEPEND}
476 - stunnel3? ( dev-lang/perl )
477 - selinux? ( sec-policy/selinux-stunnel )"
478 -
479 -RESTRICT="test"
480 -
481 -pkg_setup() {
482 - enewgroup stunnel
483 - enewuser stunnel -1 -1 -1 stunnel
484 -}
485 -
486 -src_prepare() {
487 - # Hack away generation of certificate
488 - sed -i -e "s/^install-data-local:/do-not-run-this:/" \
489 - tools/Makefile.in || die "sed failed"
490 -
491 - # libressl compat
492 - eapply "${FILESDIR}"/${PN}-5.43-compat-libressl.patch
493 -
494 - echo "CONFIG_PROTECT=\"/etc/stunnel/stunnel.conf\"" > "${T}"/20stunnel
495 -
496 - eapply_user
497 -}
498 -
499 -src_configure() {
500 - econf \
501 - --libdir="${EPREFIX}/usr/$(get_libdir)" \
502 - $(use_enable ipv6) \
503 - $(use_enable tcpd libwrap) \
504 - --with-ssl="${EPREFIX}"/usr \
505 - --disable-fips
506 -}
507 -
508 -src_install() {
509 - emake DESTDIR="${D}" install
510 - rm -rf "${ED}"/usr/share/doc/${PN}
511 - rm -f "${ED}"/etc/stunnel/stunnel.conf-sample \
512 - "${ED}"/usr/share/man/man8/stunnel.{fr,pl}.8
513 - use stunnel3 || rm -f "${ED}"/usr/bin/stunnel3
514 -
515 - # The binary was moved to /usr/bin with 4.21,
516 - # symlink for backwards compatibility
517 - dosym ../bin/stunnel /usr/sbin/stunnel
518 -
519 - dodoc AUTHORS BUGS CREDITS PORTS README TODO ChangeLog
520 - docinto html
521 - dodoc doc/stunnel.html doc/en/VNC_StunnelHOWTO.html tools/ca.html \
522 - tools/importCA.html
523 -
524 - insinto /etc/stunnel
525 - doins "${FILESDIR}"/stunnel.conf
526 - newinitd "${FILESDIR}"/stunnel-r1 stunnel
527 -
528 - doenvd "${T}"/20stunnel
529 -
530 - systemd_dounit "${S}/tools/stunnel.service"
531 - systemd_newtmpfilesd "${FILESDIR}"/stunnel.tmpfiles.conf stunnel.conf
532 -}
533 -
534 -pkg_postinst() {
535 - if [ ! -f "${EROOT}"/etc/stunnel/stunnel.key ]; then
536 - install_cert /etc/stunnel/stunnel
537 - chown stunnel:stunnel "${EROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem}
538 - chmod 0640 "${EROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem}
539 - fi
540 -
541 - einfo "If you want to run multiple instances of stunnel, create a new config"
542 - einfo "file ending with .conf in /etc/stunnel/. **Make sure** you change "
543 - einfo "\'pid= \' with a unique filename."
544 -}
545
546 diff --git a/net-misc/stunnel/stunnel-5.48.ebuild b/net-misc/stunnel/stunnel-5.48.ebuild
547 deleted file mode 100644
548 index 6e724f8d84f..00000000000
549 --- a/net-misc/stunnel/stunnel-5.48.ebuild
550 +++ /dev/null
551 @@ -1,95 +0,0 @@
552 -# Copyright 1999-2018 Gentoo Foundation
553 -# Distributed under the terms of the GNU General Public License v2
554 -
555 -EAPI="6"
556 -
557 -inherit ssl-cert multilib systemd user
558 -
559 -DESCRIPTION="TLS/SSL - Port Wrapper"
560 -HOMEPAGE="http://www.stunnel.org/index.html"
561 -SRC_URI="ftp://ftp.stunnel.org/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
562 - http://www.usenix.org.uk/mirrors/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
563 - http://ftp.nluug.nl/pub/networking/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
564 - http://www.namesdir.com/mirrors/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
565 - http://stunnel.cybermirror.org/archive/${PV%%.*}.x/${P}.tar.gz
566 - http://mirrors.zerg.biz/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
567 - ftp://mirrors.go-parts.com/stunnel/archive/${PV%%.*}.x/${P}.tar.gz"
568 -
569 -LICENSE="GPL-2"
570 -SLOT="0"
571 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
572 -IUSE="ipv6 libressl selinux stunnel3 tcpd"
573 -
574 -DEPEND="tcpd? ( sys-apps/tcp-wrappers )
575 - !libressl? ( dev-libs/openssl:0= )
576 - libressl? ( dev-libs/libressl:0= )"
577 -RDEPEND="${DEPEND}
578 - stunnel3? ( dev-lang/perl )
579 - selinux? ( sec-policy/selinux-stunnel )"
580 -
581 -RESTRICT="test"
582 -
583 -pkg_setup() {
584 - enewgroup stunnel
585 - enewuser stunnel -1 -1 -1 stunnel
586 -}
587 -
588 -src_prepare() {
589 - # Hack away generation of certificate
590 - sed -i -e "s/^install-data-local:/do-not-run-this:/" \
591 - tools/Makefile.in || die "sed failed"
592 -
593 - # libressl compat
594 - eapply "${FILESDIR}"/${PN}-5.48-compat-libressl.patch
595 -
596 - echo "CONFIG_PROTECT=\"/etc/stunnel/stunnel.conf\"" > "${T}"/20stunnel
597 -
598 - eapply_user
599 -}
600 -
601 -src_configure() {
602 - econf \
603 - --libdir="${EPREFIX}/usr/$(get_libdir)" \
604 - $(use_enable ipv6) \
605 - $(use_enable tcpd libwrap) \
606 - --with-ssl="${EPREFIX}"/usr \
607 - --disable-fips
608 -}
609 -
610 -src_install() {
611 - emake DESTDIR="${D}" install
612 - rm -rf "${ED}"/usr/share/doc/${PN}
613 - rm -f "${ED}"/etc/stunnel/stunnel.conf-sample \
614 - "${ED}"/usr/share/man/man8/stunnel.{fr,pl}.8
615 - use stunnel3 || rm -f "${ED}"/usr/bin/stunnel3
616 -
617 - # The binary was moved to /usr/bin with 4.21,
618 - # symlink for backwards compatibility
619 - dosym ../bin/stunnel /usr/sbin/stunnel
620 -
621 - dodoc AUTHORS BUGS CREDITS PORTS README TODO ChangeLog
622 - docinto html
623 - dodoc doc/stunnel.html doc/en/VNC_StunnelHOWTO.html tools/ca.html \
624 - tools/importCA.html
625 -
626 - insinto /etc/stunnel
627 - doins "${FILESDIR}"/stunnel.conf
628 - newinitd "${FILESDIR}"/stunnel-r1 stunnel
629 -
630 - doenvd "${T}"/20stunnel
631 -
632 - systemd_dounit "${S}/tools/stunnel.service"
633 - systemd_newtmpfilesd "${FILESDIR}"/stunnel.tmpfiles.conf stunnel.conf
634 -}
635 -
636 -pkg_postinst() {
637 - if [ ! -f "${EROOT}"/etc/stunnel/stunnel.key ]; then
638 - install_cert /etc/stunnel/stunnel
639 - chown stunnel:stunnel "${EROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem}
640 - chmod 0640 "${EROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem}
641 - fi
642 -
643 - einfo "If you want to run multiple instances of stunnel, create a new config"
644 - einfo "file ending with .conf in /etc/stunnel/. **Make sure** you change "
645 - einfo "\'pid= \' with a unique filename."
646 -}
647
648 diff --git a/net-misc/stunnel/stunnel-5.49.ebuild b/net-misc/stunnel/stunnel-5.49.ebuild
649 deleted file mode 100644
650 index 6e724f8d84f..00000000000
651 --- a/net-misc/stunnel/stunnel-5.49.ebuild
652 +++ /dev/null
653 @@ -1,95 +0,0 @@
654 -# Copyright 1999-2018 Gentoo Foundation
655 -# Distributed under the terms of the GNU General Public License v2
656 -
657 -EAPI="6"
658 -
659 -inherit ssl-cert multilib systemd user
660 -
661 -DESCRIPTION="TLS/SSL - Port Wrapper"
662 -HOMEPAGE="http://www.stunnel.org/index.html"
663 -SRC_URI="ftp://ftp.stunnel.org/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
664 - http://www.usenix.org.uk/mirrors/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
665 - http://ftp.nluug.nl/pub/networking/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
666 - http://www.namesdir.com/mirrors/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
667 - http://stunnel.cybermirror.org/archive/${PV%%.*}.x/${P}.tar.gz
668 - http://mirrors.zerg.biz/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
669 - ftp://mirrors.go-parts.com/stunnel/archive/${PV%%.*}.x/${P}.tar.gz"
670 -
671 -LICENSE="GPL-2"
672 -SLOT="0"
673 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
674 -IUSE="ipv6 libressl selinux stunnel3 tcpd"
675 -
676 -DEPEND="tcpd? ( sys-apps/tcp-wrappers )
677 - !libressl? ( dev-libs/openssl:0= )
678 - libressl? ( dev-libs/libressl:0= )"
679 -RDEPEND="${DEPEND}
680 - stunnel3? ( dev-lang/perl )
681 - selinux? ( sec-policy/selinux-stunnel )"
682 -
683 -RESTRICT="test"
684 -
685 -pkg_setup() {
686 - enewgroup stunnel
687 - enewuser stunnel -1 -1 -1 stunnel
688 -}
689 -
690 -src_prepare() {
691 - # Hack away generation of certificate
692 - sed -i -e "s/^install-data-local:/do-not-run-this:/" \
693 - tools/Makefile.in || die "sed failed"
694 -
695 - # libressl compat
696 - eapply "${FILESDIR}"/${PN}-5.48-compat-libressl.patch
697 -
698 - echo "CONFIG_PROTECT=\"/etc/stunnel/stunnel.conf\"" > "${T}"/20stunnel
699 -
700 - eapply_user
701 -}
702 -
703 -src_configure() {
704 - econf \
705 - --libdir="${EPREFIX}/usr/$(get_libdir)" \
706 - $(use_enable ipv6) \
707 - $(use_enable tcpd libwrap) \
708 - --with-ssl="${EPREFIX}"/usr \
709 - --disable-fips
710 -}
711 -
712 -src_install() {
713 - emake DESTDIR="${D}" install
714 - rm -rf "${ED}"/usr/share/doc/${PN}
715 - rm -f "${ED}"/etc/stunnel/stunnel.conf-sample \
716 - "${ED}"/usr/share/man/man8/stunnel.{fr,pl}.8
717 - use stunnel3 || rm -f "${ED}"/usr/bin/stunnel3
718 -
719 - # The binary was moved to /usr/bin with 4.21,
720 - # symlink for backwards compatibility
721 - dosym ../bin/stunnel /usr/sbin/stunnel
722 -
723 - dodoc AUTHORS BUGS CREDITS PORTS README TODO ChangeLog
724 - docinto html
725 - dodoc doc/stunnel.html doc/en/VNC_StunnelHOWTO.html tools/ca.html \
726 - tools/importCA.html
727 -
728 - insinto /etc/stunnel
729 - doins "${FILESDIR}"/stunnel.conf
730 - newinitd "${FILESDIR}"/stunnel-r1 stunnel
731 -
732 - doenvd "${T}"/20stunnel
733 -
734 - systemd_dounit "${S}/tools/stunnel.service"
735 - systemd_newtmpfilesd "${FILESDIR}"/stunnel.tmpfiles.conf stunnel.conf
736 -}
737 -
738 -pkg_postinst() {
739 - if [ ! -f "${EROOT}"/etc/stunnel/stunnel.key ]; then
740 - install_cert /etc/stunnel/stunnel
741 - chown stunnel:stunnel "${EROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem}
742 - chmod 0640 "${EROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem}
743 - fi
744 -
745 - einfo "If you want to run multiple instances of stunnel, create a new config"
746 - einfo "file ending with .conf in /etc/stunnel/. **Make sure** you change "
747 - einfo "\'pid= \' with a unique filename."
748 -}