1 |
ramereth 11/03/02 06:16:12 |
2 |
|
3 |
Modified: ChangeLog metadata.xml |
4 |
Added: stunnel-4.35.ebuild |
5 |
Log: |
6 |
Version bump, resolves #344117 |
7 |
|
8 |
(Portage version: 2.1.9.25/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.115 net-misc/stunnel/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/stunnel/ChangeLog?rev=1.115&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/stunnel/ChangeLog?rev=1.115&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/stunnel/ChangeLog?r1=1.114&r2=1.115 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/stunnel/ChangeLog,v |
20 |
retrieving revision 1.114 |
21 |
retrieving revision 1.115 |
22 |
diff -u -r1.114 -r1.115 |
23 |
--- ChangeLog 7 Jul 2010 05:41:40 -0000 1.114 |
24 |
+++ ChangeLog 2 Mar 2011 06:16:12 -0000 1.115 |
25 |
@@ -1,6 +1,16 @@ |
26 |
# ChangeLog for net-misc/stunnel |
27 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/ChangeLog,v 1.114 2010/07/07 05:41:40 ramereth Exp $ |
29 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/ChangeLog,v 1.115 2011/03/02 06:16:12 ramereth Exp $ |
31 |
+ |
32 |
+*stunnel-4.35 (02 Mar 2011) |
33 |
+ |
34 |
+ 02 Mar 2011; Lance Albertson <ramereth@g.o> |
35 |
+ +files/stunnel-4.34-listen-queue.diff, +stunnel-4.35.ebuild, |
36 |
+ +files/stunnel-4.35-libwrap.patch, |
37 |
+ +files/stunnel-4.35-xforwarded-for.diff, metadata.xml: |
38 |
+ Version bump, resolves #344117 |
39 |
+ |
40 |
+ Thanks to Stefan Behte for contributing new patches/ebuild. |
41 |
|
42 |
07 Jul 2010; Lance Albertson <ramereth@g.o> stunnel-4.33.ebuild: |
43 |
Fix missing xforward patch, resolves bug #324997 |
44 |
|
45 |
|
46 |
|
47 |
1.5 net-misc/stunnel/metadata.xml |
48 |
|
49 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/stunnel/metadata.xml?rev=1.5&view=markup |
50 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/stunnel/metadata.xml?rev=1.5&content-type=text/plain |
51 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/stunnel/metadata.xml?r1=1.4&r2=1.5 |
52 |
|
53 |
Index: metadata.xml |
54 |
=================================================================== |
55 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/stunnel/metadata.xml,v |
56 |
retrieving revision 1.4 |
57 |
retrieving revision 1.5 |
58 |
diff -u -r1.4 -r1.5 |
59 |
--- metadata.xml 7 Mar 2010 21:36:28 -0000 1.4 |
60 |
+++ metadata.xml 2 Mar 2011 06:16:12 -0000 1.5 |
61 |
@@ -15,5 +15,6 @@ |
62 |
</longdescription> |
63 |
<use> |
64 |
<flag name="xforward">Enable X-Forwarded-For support for Stunnel</flag> |
65 |
+ <flag name="listen-queue">Enable Listen Queue support for Stunnel</flag> |
66 |
</use> |
67 |
</pkgmetadata> |
68 |
|
69 |
|
70 |
|
71 |
1.1 net-misc/stunnel/stunnel-4.35.ebuild |
72 |
|
73 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/stunnel/stunnel-4.35.ebuild?rev=1.1&view=markup |
74 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/stunnel/stunnel-4.35.ebuild?rev=1.1&content-type=text/plain |
75 |
|
76 |
Index: stunnel-4.35.ebuild |
77 |
=================================================================== |
78 |
# Copyright 1999-2011 Gentoo Foundation |
79 |
# Distributed under the terms of the GNU General Public License v2 |
80 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/stunnel-4.35.ebuild,v 1.1 2011/03/02 06:16:12 ramereth Exp $ |
81 |
|
82 |
EAPI="2" |
83 |
|
84 |
inherit autotools ssl-cert eutils |
85 |
|
86 |
DESCRIPTION="TLS/SSL - Port Wrapper" |
87 |
HOMEPAGE="http://stunnel.mirt.net/" |
88 |
SRC_URI="ftp://ftp.stunnel.org/stunnel/${P}.tar.gz" |
89 |
|
90 |
LICENSE="GPL-2" |
91 |
SLOT="0" |
92 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" |
93 |
IUSE="ipv6 selinux tcpd xforward listen-queue" |
94 |
|
95 |
DEPEND="tcpd? ( sys-apps/tcp-wrappers ) |
96 |
>=dev-libs/openssl-0.9.8k" |
97 |
RDEPEND="${DEPEND} |
98 |
selinux? ( sec-policy/selinux-stunnel )" |
99 |
|
100 |
pkg_setup() { |
101 |
enewgroup stunnel |
102 |
enewuser stunnel -1 -1 -1 stunnel |
103 |
} |
104 |
|
105 |
src_prepare() { |
106 |
epatch "${FILESDIR}/${PN}-4.35-libwrap.patch" |
107 |
use xforward && epatch "${FILESDIR}/stunnel-4.35-xforwarded-for.diff" |
108 |
use listen-queue && epatch "${FILESDIR}/stunnel-4.34-listen-queue.diff" |
109 |
eautoreconf |
110 |
|
111 |
# Hack away generation of certificate |
112 |
sed -i -e "s/^install-data-local:/do-not-run-this:/" \ |
113 |
tools/Makefile.in || die "sed failed" |
114 |
} |
115 |
|
116 |
src_configure() { |
117 |
econf $(use_enable ipv6) \ |
118 |
$(use_enable tcpd libwrap) || die "econf died" |
119 |
} |
120 |
|
121 |
src_install() { |
122 |
emake DESTDIR="${D}" install || die "emake install failed" |
123 |
rm -rf "${D}"/usr/share/doc/${PN} |
124 |
rm -f "${D}"/etc/stunnel/stunnel.conf-sample "${D}"/usr/bin/stunnel3 \ |
125 |
"${D}"/usr/share/man/man8/stunnel.{fr,pl}.8 |
126 |
|
127 |
# The binary was moved to /usr/bin with 4.21, |
128 |
# symlink for backwards compatibility |
129 |
dosym ../bin/stunnel /usr/sbin/stunnel |
130 |
|
131 |
dodoc AUTHORS BUGS CREDITS PORTS README TODO ChangeLog |
132 |
dohtml doc/stunnel.html doc/en/VNC_StunnelHOWTO.html tools/ca.html \ |
133 |
tools/importCA.html |
134 |
|
135 |
insinto /etc/stunnel |
136 |
doins "${FILESDIR}"/stunnel.conf |
137 |
newinitd "${FILESDIR}"/stunnel.initd stunnel |
138 |
|
139 |
keepdir /var/run/stunnel |
140 |
fowners stunnel:stunnel /var/run/stunnel |
141 |
} |
142 |
|
143 |
pkg_postinst() { |
144 |
if [ ! -f "${ROOT}"/etc/stunnel/stunnel.key ]; then |
145 |
install_cert /etc/stunnel/stunnel |
146 |
chown stunnel:stunnel "${ROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem} |
147 |
chmod 0640 "${ROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem} |
148 |
fi |
149 |
|
150 |
einfo "If you want to run multiple instances of stunnel, create a new config" |
151 |
einfo "file ending with .conf in /etc/stunnel/. **Make sure** you change " |
152 |
einfo "\'pid= \' with a unique filename." |
153 |
} |