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