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