Gentoo Archives: gentoo-commits

From: "Ulrich Mueller (ulm)" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/stunnel: ChangeLog stunnel-4.20.ebuild stunnel-4.21.ebuild stunnel-4.16.ebuild
Date: Sat, 08 Dec 2007 10:38:36
Message-Id: E1J0x4j-0002ib-Us@stork.gentoo.org
1 ulm 07/12/08 10:38:25
2
3 Modified: ChangeLog stunnel-4.20.ebuild
4 Added: stunnel-4.21.ebuild
5 Removed: stunnel-4.16.ebuild
6 Log:
7 Version bump, bug #197881.
8 (Portage version: 2.1.4_rc8)
9
10 Revision Changes Path
11 1.78 net-misc/stunnel/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/stunnel/ChangeLog?rev=1.78&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/stunnel/ChangeLog?rev=1.78&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/stunnel/ChangeLog?r1=1.77&r2=1.78
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/stunnel/ChangeLog,v
20 retrieving revision 1.77
21 retrieving revision 1.78
22 diff -u -r1.77 -r1.78
23 --- ChangeLog 10 Nov 2007 05:26:34 -0000 1.77
24 +++ ChangeLog 8 Dec 2007 10:38:25 -0000 1.78
25 @@ -1,6 +1,17 @@
26 # ChangeLog for net-misc/stunnel
27 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/ChangeLog,v 1.77 2007/11/10 05:26:34 drac Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/ChangeLog,v 1.78 2007/12/08 10:38:25 ulm Exp $
30 +
31 +*stunnel-4.21 (08 Dec 2007)
32 +
33 + 08 Dec 2007; Ulrich Mueller <ulm@g.o>
34 + +files/stunnel-4.21-libwrap.patch, files/stunnel.rc6,
35 + +files/stunnel.rc6.4.20, -stunnel-4.16.ebuild, stunnel-4.20.ebuild,
36 + +stunnel-4.21.ebuild:
37 + Version bump; ebuild and patch by Santiago M. Mola <coldwind@g.o> in
38 + bug #197881. Replace call to docert by install_cert, bug #174759. The binary
39 + is now installed in /usr/bin; provide a symlink for backwards compatibility
40 + and update the rc file accordingly. Remove old version.
41
42 10 Nov 2007; Samuli Suominen <drac@g.o> stunnel-3.26.ebuild:
43 Keyword ~amd64 wrt #193770.
44
45
46
47 1.13 net-misc/stunnel/stunnel-4.20.ebuild
48
49 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/stunnel/stunnel-4.20.ebuild?rev=1.13&view=markup
50 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/stunnel/stunnel-4.20.ebuild?rev=1.13&content-type=text/plain
51 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/stunnel/stunnel-4.20.ebuild?r1=1.12&r2=1.13
52
53 Index: stunnel-4.20.ebuild
54 ===================================================================
55 RCS file: /var/cvsroot/gentoo-x86/net-misc/stunnel/stunnel-4.20.ebuild,v
56 retrieving revision 1.12
57 retrieving revision 1.13
58 diff -u -r1.12 -r1.13
59 --- stunnel-4.20.ebuild 3 Nov 2007 16:00:15 -0000 1.12
60 +++ stunnel-4.20.ebuild 8 Dec 2007 10:38:25 -0000 1.13
61 @@ -1,6 +1,6 @@
62 # Copyright 1999-2007 Gentoo Foundation
63 # Distributed under the terms of the GNU General Public License v2
64 -# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/stunnel-4.20.ebuild,v 1.12 2007/11/03 16:00:15 drac Exp $
65 +# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/stunnel-4.20.ebuild,v 1.13 2007/12/08 10:38:25 ulm Exp $
66
67 inherit ssl-cert eutils flag-o-matic
68
69 @@ -39,10 +39,10 @@
70 }
71
72 src_install() {
73 - make DESTDIR=${D} install || die "make install failed"
74 - rm -rf ${D}/usr/share/doc/${PN}
75 - rm -f ${D}/{etc/stunnel/stunnel.conf-sample,usr/sbin/stunnel3}
76 - rm -f ${D}/usr/share/man/man8/{stunnel.fr.8,stunnel.pl.8}
77 + make DESTDIR="${D}" install || die "make install failed"
78 + rm -rf "${D}"/usr/share/doc/${PN}
79 + rm -f "${D}"/{etc/stunnel/stunnel.conf-sample,usr/sbin/stunnel3}
80 + rm -f "${D}"/usr/share/man/man8/{stunnel.fr.8,stunnel.pl.8}
81
82 dodoc AUTHORS BUGS CREDITS INSTALL NEWS PORTS README TODO ChangeLog \
83 doc/en/transproxy.txt
84 @@ -50,8 +50,8 @@
85 tools/importCA.html
86
87 insinto /etc/stunnel
88 - newins ${FILESDIR}/stunnel.conf stunnel.conf
89 - newinitd ${FILESDIR}/stunnel.rc6 stunnel
90 + doins "${FILESDIR}"/stunnel.conf
91 + newinitd "${FILESDIR}"/stunnel.rc6.${PV} stunnel
92 # Check if there's currently an cert already there
93 if [ ! -f /etc/stunnel/stunnel.key ]; then
94 docert stunnel
95 @@ -64,12 +64,12 @@
96 enewgroup stunnel
97 enewuser stunnel -1 -1 -1 stunnel
98
99 - chown stunnel:stunnel ${ROOT}/var/run/stunnel
100 - chown stunnel:stunnel ${ROOT}/etc/stunnel/stunnel.{conf,crt,csr,key,pem}
101 - chmod 0640 ${ROOT}/etc/stunnel/stunnel.{conf,crt,csr,key,pem}
102 + chown stunnel:stunnel "${ROOT}"/var/run/stunnel
103 + chown stunnel:stunnel "${ROOT}"/etc/stunnel/stunnel.{conf,crt,csr,key,pem}
104 + chmod 0640 "${ROOT}"/etc/stunnel/stunnel.{conf,crt,csr,key,pem}
105
106 if [ ! -z "$(egrep '/etc/stunnel/stunnel.pid' \
107 - ${ROOT}/etc/stunnel/stunnel.conf )" ] ; then
108 + "${ROOT}"/etc/stunnel/stunnel.conf )" ] ; then
109
110 ewarn "As of stunnel-4.09, the pid file will be located in /var/run/stunnel."
111 ewarn "Please stop stunnel, etc-update, and start stunnel back up to ensure"
112
113
114
115 1.1 net-misc/stunnel/stunnel-4.21.ebuild
116
117 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/stunnel/stunnel-4.21.ebuild?rev=1.1&view=markup
118 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/stunnel/stunnel-4.21.ebuild?rev=1.1&content-type=text/plain
119
120 Index: stunnel-4.21.ebuild
121 ===================================================================
122 # Copyright 1999-2007 Gentoo Foundation
123 # Distributed under the terms of the GNU General Public License v2
124 # $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/stunnel-4.21.ebuild,v 1.1 2007/12/08 10:38:25 ulm Exp $
125
126 inherit autotools ssl-cert eutils
127
128 DESCRIPTION="TLS/SSL - Port Wrapper"
129 HOMEPAGE="http://stunnel.mirt.net/"
130 SRC_URI="http://www.stunnel.org/download/stunnel/src/${P}.tar.gz"
131
132 LICENSE="GPL-2"
133 SLOT="0"
134 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
135 IUSE="ipv6 selinux tcpd"
136
137 DEPEND="tcpd? ( sys-apps/tcp-wrappers )
138 >=dev-libs/openssl-0.9.6j"
139 RDEPEND="${DEPEND}
140 selinux? ( sec-policy/selinux-stunnel )"
141
142 pkg_setup() {
143 enewgroup stunnel
144 enewuser stunnel -1 -1 -1 stunnel
145 }
146
147 src_unpack() {
148 unpack ${A}
149 cd "${S}"
150 epatch "${FILESDIR}"/${P}-libwrap.patch
151 eautoreconf
152
153 # Hack away generation of certificate
154 sed -i -e "s/^install-data-local:/do-not-run-this:/" \
155 tools/Makefile.in || die "sed failed"
156 }
157
158 src_compile() {
159 econf $(use_enable ipv6) \
160 $(use_enable tcpd libwrap) || die "econf died"
161 emake || die "emake died"
162 }
163
164 src_install() {
165 emake DESTDIR="${D}" install || die "emake install failed"
166 rm -rf "${D}"/usr/share/doc/${PN}
167 rm -f "${D}"/etc/stunnel/stunnel.conf-sample "${D}"/usr/bin/stunnel3 \
168 "${D}"/usr/share/man/man8/stunnel.{fr,pl}.8
169
170 # The binary was moved to /usr/bin with 4.21,
171 # symlink for backwards compatibility
172 dosym ../bin/stunnel /usr/sbin/stunnel
173
174 dodoc AUTHORS BUGS CREDITS PORTS README TODO ChangeLog doc/en/transproxy.txt
175 dohtml doc/stunnel.html doc/en/VNC_StunnelHOWTO.html tools/ca.html \
176 tools/importCA.html
177
178 insinto /etc/stunnel
179 doins "${FILESDIR}"/stunnel.conf
180 newinitd "${FILESDIR}"/stunnel.rc6 stunnel
181
182 keepdir /var/run/stunnel
183 fowners stunnel:stunnel /var/run/stunnel
184 }
185
186 pkg_postinst() {
187 if [ ! -f "${ROOT}"/etc/stunnel/stunnel.key ]; then
188 install_cert /etc/stunnel/stunnel
189 chown stunnel:stunnel "${ROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem}
190 chmod 0640 "${ROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem}
191 fi
192
193 if [ ! -z "$(grep /etc/stunnel/stunnel.pid \
194 "${ROOT}"/etc/stunnel/stunnel.conf )" ] ; then
195
196 ewarn "As of stunnel-4.09, the pid file will be located in /var/run/stunnel."
197 ewarn "Please stop stunnel, etc-update, and start stunnel back up to ensure"
198 ewarn "the update takes place"
199 ewarn
200 ewarn "The new location will be /var/run/stunnel/stunnel.pid"
201 fi
202 }
203
204
205
206 --
207 gentoo-commits@g.o mailing list