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