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: Sat, 10 Oct 2015 21:54:19
Message-Id: 1444514399.103397033a324d679ab623e95f0794ebf2549332.blueness@gentoo
1 commit: 103397033a324d679ab623e95f0794ebf2549332
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 10 21:59:40 2015 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 10 21:59:59 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10339703
7
8 net-misc/stunnel: remove older version.
9
10 Package-Manager: portage-2.2.20.1
11
12 net-misc/stunnel/Manifest | 1 -
13 net-misc/stunnel/stunnel-5.17.ebuild | 85 ------------------------------------
14 2 files changed, 86 deletions(-)
15
16 diff --git a/net-misc/stunnel/Manifest b/net-misc/stunnel/Manifest
17 index 8c82a6f..512fc7c 100644
18 --- a/net-misc/stunnel/Manifest
19 +++ b/net-misc/stunnel/Manifest
20 @@ -1,4 +1,3 @@
21 -DIST stunnel-5.17.tar.gz 613840 SHA256 c3e79e582621a0827125e35e1c00450190104fc02dc3c5274cb02b05859fd472 SHA512 07064bda6978d94f783fd1c125485f46eadcba0e4a419366149e91cf88333b875eeb86f63848b5dd774f9f01d41206f93905fa5a51a08ade915b4b0bce777419 WHIRLPOOL 832b3cef06ec945d2dae33d3bdba048d93ca85757f149f705d6ff5bf03440dd3d3857a73f1167ae792aedceefcb7df4ea6c31164fa5d7ee8857f5e589b08e257
22 DIST stunnel-5.20.tar.gz 625091 SHA256 4a36a3729a7287d9d82c4b38bf72c4d3496346cb969b86129c5deac22b20292b SHA512 59262aacf866cac25bac707b94c5a6185aa868b5fdfab38a9ef03a00b80f106d92e2872c0b0fecbc5d13adb7bdea7f922768fb78f38355dbf67eb34a148441e4 WHIRLPOOL fc890dff4ddeb00df9e8ea84fae8f0f23609d1356c91d4cdeade55f164bad322a8a2df72955b710e46e1f74a33bbc7f5c8d734efc190d0835056926d7c902b26
23 DIST stunnel-5.23.tar.gz 630943 SHA256 0fc4a702afd2e857bae8ad1f39c51546eb282c3d0ff4f4d55d62aece7328ddea SHA512 f312b5feff78548a7d1e7785068f0a0e3dd3785541f09d5850f9f5c5ee6bdf63b30761d68c3ba17465e87b048acd47e613aab139aab540873a38594f68669cb9 WHIRLPOOL dd32db35f2b09c3414471dd45d74369156a909429cf2becf34e08854d838d8c3c3979fb0b7e9e524a2e01abe7740ea0ac320985bb6dd813081296168ed7f1819
24 DIST stunnel-5.24.tar.gz 631730 SHA256 ab2e5a1034d422951ddad21b572eb7fa8efb4c4ce04bc86536c6845f3d02b07e SHA512 d9a1ef9cdd3ffafc2a3d1b3383bcf3dfc1a52cdd5a0bcfd64f50addf78a0fd0ce0def6b32ed801f8dfcabbecd64284454b1c90a18435b5d603ecba594d840340 WHIRLPOOL b625adbc9299c04308733bb5ee732350084b603128734214ec3079f58c02b58d08bfc53bf604468cd83cc5dc1bf5d968a4d5139cd98d7b2219303fdd3d6eae64
25
26 diff --git a/net-misc/stunnel/stunnel-5.17.ebuild b/net-misc/stunnel/stunnel-5.17.ebuild
27 deleted file mode 100644
28 index 6a82286..0000000
29 --- a/net-misc/stunnel/stunnel-5.17.ebuild
30 +++ /dev/null
31 @@ -1,85 +0,0 @@
32 -# Copyright 1999-2015 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -# $Id$
35 -
36 -EAPI="5"
37 -
38 -inherit ssl-cert eutils multilib systemd user
39 -
40 -DESCRIPTION="TLS/SSL - Port Wrapper"
41 -HOMEPAGE="http://www.stunnel.org/index.html"
42 -SRC_URI="ftp://ftp.stunnel.org/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
43 - http://www.usenix.org.uk/mirrors/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
44 - http://ftp.nluug.nl/pub/networking/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
45 - http://www.namesdir.com/mirrors/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
46 - http://stunnel.cybermirror.org/archive/${PV%%.*}.x/${P}.tar.gz
47 - http://mirrors.zerg.biz/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
48 - ftp://mirrors.go-parts.com/stunnel/archive/${PV%%.*}.x/${P}.tar.gz"
49 -
50 -LICENSE="GPL-2"
51 -SLOT="0"
52 -KEYWORDS="alpha"
53 -IUSE="ipv6 selinux tcpd"
54 -
55 -DEPEND="tcpd? ( sys-apps/tcp-wrappers )
56 - dev-libs/openssl:="
57 -RDEPEND="${DEPEND}
58 - selinux? ( sec-policy/selinux-stunnel )"
59 -
60 -pkg_setup() {
61 - enewgroup stunnel
62 - enewuser stunnel -1 -1 -1 stunnel
63 -}
64 -
65 -src_prepare() {
66 - # Hack away generation of certificate
67 - sed -i -e "s/^install-data-local:/do-not-run-this:/" \
68 - tools/Makefile.in || die "sed failed"
69 -
70 - echo "CONFIG_PROTECT=\"/etc/stunnel/stunnel.conf\"" > "${T}"/20stunnel
71 -}
72 -
73 -src_configure() {
74 - econf \
75 - --libdir="${EPREFIX}/usr/$(get_libdir)" \
76 - $(use_enable ipv6) \
77 - $(use_enable tcpd libwrap) \
78 - --with-ssl="${EPREFIX}"/usr \
79 - --disable-fips
80 -}
81 -
82 -src_install() {
83 - emake DESTDIR="${D}" install
84 - rm -rf "${ED}"/usr/share/doc/${PN}
85 - rm -f "${ED}"/etc/stunnel/stunnel.conf-sample "${ED}"/usr/bin/stunnel3 \
86 - "${ED}"/usr/share/man/man8/stunnel.{fr,pl}.8
87 -
88 - # The binary was moved to /usr/bin with 4.21,
89 - # symlink for backwards compatibility
90 - dosym ../bin/stunnel /usr/sbin/stunnel
91 -
92 - dodoc AUTHORS BUGS CREDITS PORTS README TODO ChangeLog
93 - dohtml doc/stunnel.html doc/en/VNC_StunnelHOWTO.html tools/ca.html \
94 - tools/importCA.html
95 -
96 - insinto /etc/stunnel
97 - doins "${FILESDIR}"/stunnel.conf
98 - doinitd "${FILESDIR}"/stunnel
99 -
100 - doenvd "${T}"/20stunnel
101 -
102 - systemd_dounit "${S}/tools/stunnel.service"
103 - systemd_newtmpfilesd "${FILESDIR}"/stunnel.tmpfiles.conf stunnel.conf
104 -}
105 -
106 -pkg_postinst() {
107 - if [ ! -f "${EROOT}"/etc/stunnel/stunnel.key ]; then
108 - install_cert /etc/stunnel/stunnel
109 - chown stunnel:stunnel "${EROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem}
110 - chmod 0640 "${EROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem}
111 - fi
112 -
113 - einfo "If you want to run multiple instances of stunnel, create a new config"
114 - einfo "file ending with .conf in /etc/stunnel/. **Make sure** you change "
115 - einfo "\'pid= \' with a unique filename."
116 -}