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, 03 Dec 2015 23:33:51
Message-Id: 1449186021.81815b437f3c3b86dc2db4604e7211de22334c9f.blueness@gentoo
1 commit: 81815b437f3c3b86dc2db4604e7211de22334c9f
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 3 23:40:21 2015 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 3 23:40:21 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81815b43
7
8 net-misc/stunnel: remove older versions
9
10 Package-Manager: portage-2.2.20.1
11
12 net-misc/stunnel/Manifest | 2 -
13 net-misc/stunnel/stunnel-5.20.ebuild | 89 ------------------------------------
14 net-misc/stunnel/stunnel-5.23.ebuild | 89 ------------------------------------
15 3 files changed, 180 deletions(-)
16
17 diff --git a/net-misc/stunnel/Manifest b/net-misc/stunnel/Manifest
18 index 32b477e..2dbfbc7 100644
19 --- a/net-misc/stunnel/Manifest
20 +++ b/net-misc/stunnel/Manifest
21 @@ -1,5 +1,3 @@
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 DIST stunnel-5.26.tar.gz 635710 SHA256 2c90d469011eed8dc94f003013e3c055de6fdb687ef1e71fa004281d7f7c2726 SHA512 8ac0ed96618855e1361cd0956dbd5b89e08ce7808751c0b3d1c3e74b0bbfb567e1da8ac058544a15ab431598e916214b2c8d411b2c9d2456c9c850eb4935854e WHIRLPOOL 5e278f74c09c270e2de8b8c7fecac07dc9c48c6a147d925bf6d1c29eb7058c58adf58ec9ecf04627f00a826d69cf9cc59ccd41b6d74fb69bb254a5ca567e4fb1
26 DIST stunnel-5.27.tar.gz 636704 SHA256 7474e986710e88a5cc3330b6b1762f9449f01eccf826fa0f97e56d064c05ead3 SHA512 9dc57f6d2bfb8156de3a1cd3d52e0050498503bddcc02a810ebf798c66e6527bc79dd6b02e3eaf5333131772b9cf0f6d044ee4be3564719d496b07fbeeaeeefa WHIRLPOOL 907ff7f9bda3ac83efeceb66c9d8f2ea83a50be81f1b883f2d7843cb5e984aaff1f16867c909a00bcbba52e41357a375ed21d17500c2aae6294106c5a551d939
27
28 diff --git a/net-misc/stunnel/stunnel-5.20.ebuild b/net-misc/stunnel/stunnel-5.20.ebuild
29 deleted file mode 100644
30 index 89f4130..0000000
31 --- a/net-misc/stunnel/stunnel-5.20.ebuild
32 +++ /dev/null
33 @@ -1,89 +0,0 @@
34 -# Copyright 1999-2015 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -# $Id$
37 -
38 -EAPI="5"
39 -
40 -inherit ssl-cert eutils multilib systemd user
41 -
42 -DESCRIPTION="TLS/SSL - Port Wrapper"
43 -HOMEPAGE="http://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 amd64 arm hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos"
55 -IUSE="ipv6 selinux stunnel3 tcpd"
56 -
57 -DEPEND="tcpd? ( sys-apps/tcp-wrappers )
58 - dev-libs/openssl:="
59 -RDEPEND="${DEPEND}
60 - stunnel3? ( dev-lang/perl )
61 - selinux? ( sec-policy/selinux-stunnel )"
62 -
63 -RESTRICT="test"
64 -
65 -pkg_setup() {
66 - enewgroup stunnel
67 - enewuser stunnel -1 -1 -1 stunnel
68 -}
69 -
70 -src_prepare() {
71 - # Hack away generation of certificate
72 - sed -i -e "s/^install-data-local:/do-not-run-this:/" \
73 - tools/Makefile.in || die "sed failed"
74 -
75 - echo "CONFIG_PROTECT=\"/etc/stunnel/stunnel.conf\"" > "${T}"/20stunnel
76 -}
77 -
78 -src_configure() {
79 - econf \
80 - --libdir="${EPREFIX}/usr/$(get_libdir)" \
81 - $(use_enable ipv6) \
82 - $(use_enable tcpd libwrap) \
83 - --with-ssl="${EPREFIX}"/usr \
84 - --disable-fips
85 -}
86 -
87 -src_install() {
88 - emake DESTDIR="${D}" install
89 - rm -rf "${ED}"/usr/share/doc/${PN}
90 - rm -f "${ED}"/etc/stunnel/stunnel.conf-sample \
91 - "${ED}"/usr/share/man/man8/stunnel.{fr,pl}.8
92 - use stunnel3 || rm -f "${ED}"/usr/bin/stunnel3
93 -
94 - # The binary was moved to /usr/bin with 4.21,
95 - # symlink for backwards compatibility
96 - dosym ../bin/stunnel /usr/sbin/stunnel
97 -
98 - dodoc AUTHORS BUGS CREDITS PORTS README TODO ChangeLog
99 - dohtml doc/stunnel.html doc/en/VNC_StunnelHOWTO.html tools/ca.html \
100 - tools/importCA.html
101 -
102 - insinto /etc/stunnel
103 - doins "${FILESDIR}"/stunnel.conf
104 - doinitd "${FILESDIR}"/stunnel
105 -
106 - doenvd "${T}"/20stunnel
107 -
108 - systemd_dounit "${S}/tools/stunnel.service"
109 - systemd_newtmpfilesd "${FILESDIR}"/stunnel.tmpfiles.conf stunnel.conf
110 -}
111 -
112 -pkg_postinst() {
113 - if [ ! -f "${EROOT}"/etc/stunnel/stunnel.key ]; then
114 - install_cert /etc/stunnel/stunnel
115 - chown stunnel:stunnel "${EROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem}
116 - chmod 0640 "${EROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem}
117 - fi
118 -
119 - einfo "If you want to run multiple instances of stunnel, create a new config"
120 - einfo "file ending with .conf in /etc/stunnel/. **Make sure** you change "
121 - einfo "\'pid= \' with a unique filename."
122 -}
123
124 diff --git a/net-misc/stunnel/stunnel-5.23.ebuild b/net-misc/stunnel/stunnel-5.23.ebuild
125 deleted file mode 100644
126 index ba38b4a..0000000
127 --- a/net-misc/stunnel/stunnel-5.23.ebuild
128 +++ /dev/null
129 @@ -1,89 +0,0 @@
130 -# Copyright 1999-2015 Gentoo Foundation
131 -# Distributed under the terms of the GNU General Public License v2
132 -# $Id$
133 -
134 -EAPI="5"
135 -
136 -inherit ssl-cert eutils multilib systemd user
137 -
138 -DESCRIPTION="TLS/SSL - Port Wrapper"
139 -HOMEPAGE="http://www.stunnel.org/index.html"
140 -SRC_URI="ftp://ftp.stunnel.org/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
141 - http://www.usenix.org.uk/mirrors/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
142 - http://ftp.nluug.nl/pub/networking/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
143 - http://www.namesdir.com/mirrors/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
144 - http://stunnel.cybermirror.org/archive/${PV%%.*}.x/${P}.tar.gz
145 - http://mirrors.zerg.biz/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
146 - ftp://mirrors.go-parts.com/stunnel/archive/${PV%%.*}.x/${P}.tar.gz"
147 -
148 -LICENSE="GPL-2"
149 -SLOT="0"
150 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos"
151 -IUSE="ipv6 selinux stunnel3 tcpd"
152 -
153 -DEPEND="tcpd? ( sys-apps/tcp-wrappers )
154 - dev-libs/openssl:0"
155 -RDEPEND="${DEPEND}
156 - stunnel3? ( dev-lang/perl )
157 - selinux? ( sec-policy/selinux-stunnel )"
158 -
159 -RESTRICT="test"
160 -
161 -pkg_setup() {
162 - enewgroup stunnel
163 - enewuser stunnel -1 -1 -1 stunnel
164 -}
165 -
166 -src_prepare() {
167 - # Hack away generation of certificate
168 - sed -i -e "s/^install-data-local:/do-not-run-this:/" \
169 - tools/Makefile.in || die "sed failed"
170 -
171 - echo "CONFIG_PROTECT=\"/etc/stunnel/stunnel.conf\"" > "${T}"/20stunnel
172 -}
173 -
174 -src_configure() {
175 - econf \
176 - --libdir="${EPREFIX}/usr/$(get_libdir)" \
177 - $(use_enable ipv6) \
178 - $(use_enable tcpd libwrap) \
179 - --with-ssl="${EPREFIX}"/usr \
180 - --disable-fips
181 -}
182 -
183 -src_install() {
184 - emake DESTDIR="${D}" install
185 - rm -rf "${ED}"/usr/share/doc/${PN}
186 - rm -f "${ED}"/etc/stunnel/stunnel.conf-sample \
187 - "${ED}"/usr/share/man/man8/stunnel.{fr,pl}.8
188 - use stunnel3 || rm -f "${ED}"/usr/bin/stunnel3
189 -
190 - # The binary was moved to /usr/bin with 4.21,
191 - # symlink for backwards compatibility
192 - dosym ../bin/stunnel /usr/sbin/stunnel
193 -
194 - dodoc AUTHORS BUGS CREDITS PORTS README TODO ChangeLog
195 - dohtml doc/stunnel.html doc/en/VNC_StunnelHOWTO.html tools/ca.html \
196 - tools/importCA.html
197 -
198 - insinto /etc/stunnel
199 - doins "${FILESDIR}"/stunnel.conf
200 - doinitd "${FILESDIR}"/stunnel
201 -
202 - doenvd "${T}"/20stunnel
203 -
204 - systemd_dounit "${S}/tools/stunnel.service"
205 - systemd_newtmpfilesd "${FILESDIR}"/stunnel.tmpfiles.conf stunnel.conf
206 -}
207 -
208 -pkg_postinst() {
209 - if [ ! -f "${EROOT}"/etc/stunnel/stunnel.key ]; then
210 - install_cert /etc/stunnel/stunnel
211 - chown stunnel:stunnel "${EROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem}
212 - chmod 0640 "${EROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem}
213 - fi
214 -
215 - einfo "If you want to run multiple instances of stunnel, create a new config"
216 - einfo "file ending with .conf in /etc/stunnel/. **Make sure** you change "
217 - einfo "\'pid= \' with a unique filename."
218 -}