1 |
patrick 09/04/30 21:45:38 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: stunnel-4.27.ebuild |
5 |
Log: |
6 |
Bump to 4.27, fixes #266514. |
7 |
(Portage version: 2.2_rc31/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.101 net-misc/stunnel/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/stunnel/ChangeLog?rev=1.101&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/stunnel/ChangeLog?rev=1.101&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/stunnel/ChangeLog?r1=1.100&r2=1.101 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/stunnel/ChangeLog,v |
19 |
retrieving revision 1.100 |
20 |
retrieving revision 1.101 |
21 |
diff -u -r1.100 -r1.101 |
22 |
--- ChangeLog 8 Oct 2008 20:07:51 -0000 1.100 |
23 |
+++ ChangeLog 30 Apr 2009 21:45:38 -0000 1.101 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for net-misc/stunnel |
26 |
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/ChangeLog,v 1.100 2008/10/08 20:07:51 ulm Exp $ |
28 |
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/ChangeLog,v 1.101 2009/04/30 21:45:38 patrick Exp $ |
30 |
+ |
31 |
+*stunnel-4.27 (30 Apr 2009) |
32 |
+ |
33 |
+ 30 Apr 2009; Patrick Lauer <patrick@g.o> +stunnel-4.27.ebuild: |
34 |
+ Bump to 4.27, fixes #266514. |
35 |
|
36 |
*stunnel-4.26 (08 Oct 2008) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 net-misc/stunnel/stunnel-4.27.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/stunnel/stunnel-4.27.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/stunnel/stunnel-4.27.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: stunnel-4.27.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2009 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/stunnel-4.27.ebuild,v 1.1 2009/04/30 21:45:38 patrick Exp $ |
51 |
|
52 |
inherit autotools ssl-cert eutils |
53 |
|
54 |
DESCRIPTION="TLS/SSL - Port Wrapper" |
55 |
HOMEPAGE="http://stunnel.mirt.net/" |
56 |
SRC_URI="http://www.stunnel.org/download/stunnel/src/${P}.tar.gz" |
57 |
|
58 |
LICENSE="GPL-2" |
59 |
SLOT="0" |
60 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" |
61 |
IUSE="ipv6 selinux tcpd" |
62 |
|
63 |
DEPEND="tcpd? ( sys-apps/tcp-wrappers ) |
64 |
>=dev-libs/openssl-0.9.8k" |
65 |
RDEPEND="${DEPEND} |
66 |
selinux? ( sec-policy/selinux-stunnel )" |
67 |
|
68 |
pkg_setup() { |
69 |
enewgroup stunnel |
70 |
enewuser stunnel -1 -1 -1 stunnel |
71 |
} |
72 |
|
73 |
src_unpack() { |
74 |
unpack ${A} |
75 |
cd "${S}" |
76 |
epatch "${FILESDIR}/${PN}-4.21-libwrap.patch" |
77 |
eautoreconf |
78 |
|
79 |
# Hack away generation of certificate |
80 |
sed -i -e "s/^install-data-local:/do-not-run-this:/" \ |
81 |
tools/Makefile.in || die "sed failed" |
82 |
} |
83 |
|
84 |
src_compile() { |
85 |
econf $(use_enable ipv6) \ |
86 |
$(use_enable tcpd libwrap) || die "econf died" |
87 |
emake || die "emake died" |
88 |
} |
89 |
|
90 |
src_install() { |
91 |
emake DESTDIR="${D}" install || die "emake install failed" |
92 |
rm -rf "${D}"/usr/share/doc/${PN} |
93 |
rm -f "${D}"/etc/stunnel/stunnel.conf-sample "${D}"/usr/bin/stunnel3 \ |
94 |
"${D}"/usr/share/man/man8/stunnel.{fr,pl}.8 |
95 |
|
96 |
# The binary was moved to /usr/bin with 4.21, |
97 |
# symlink for backwards compatibility |
98 |
dosym ../bin/stunnel /usr/sbin/stunnel |
99 |
|
100 |
dodoc AUTHORS BUGS CREDITS PORTS README TODO ChangeLog doc/en/transproxy.txt |
101 |
dohtml doc/stunnel.html doc/en/VNC_StunnelHOWTO.html tools/ca.html \ |
102 |
tools/importCA.html |
103 |
|
104 |
insinto /etc/stunnel |
105 |
doins "${FILESDIR}"/stunnel.conf |
106 |
newinitd "${FILESDIR}"/stunnel.rc6 stunnel |
107 |
|
108 |
keepdir /var/run/stunnel |
109 |
fowners stunnel:stunnel /var/run/stunnel |
110 |
} |
111 |
|
112 |
pkg_postinst() { |
113 |
if [ ! -f "${ROOT}"/etc/stunnel/stunnel.key ]; then |
114 |
install_cert /etc/stunnel/stunnel |
115 |
chown stunnel:stunnel "${ROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem} |
116 |
chmod 0640 "${ROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem} |
117 |
fi |
118 |
|
119 |
if [ ! -z "$(grep /etc/stunnel/stunnel.pid \ |
120 |
"${ROOT}"/etc/stunnel/stunnel.conf )" ] ; then |
121 |
|
122 |
ewarn "As of stunnel-4.09, the pid file will be located in /var/run/stunnel." |
123 |
ewarn "Please stop stunnel, etc-update, and start stunnel back up to ensure" |
124 |
ewarn "the update takes place" |
125 |
ewarn |
126 |
ewarn "The new location will be /var/run/stunnel/stunnel.pid" |
127 |
fi |
128 |
} |