From 6573b04cb68523f9bed6b0898ee9479f97bbf348 Mon Sep 17 00:00:00 2001 From: Aron Griffis Date: Fri, 2 Feb 2007 16:47:06 +0000 Subject: [PATCH] Bump to 4.20 (from 4.16) Package-Manager: portage-2.1.2_pre3-r1 --- net-misc/stunnel/ChangeLog | 9 ++- net-misc/stunnel/Manifest | 26 +++++-- net-misc/stunnel/files/digest-stunnel-4.20 | 3 + net-misc/stunnel/stunnel-4.20.ebuild | 82 ++++++++++++++++++++++ 4 files changed, 114 insertions(+), 6 deletions(-) create mode 100644 net-misc/stunnel/files/digest-stunnel-4.20 create mode 100644 net-misc/stunnel/stunnel-4.20.ebuild diff --git a/net-misc/stunnel/ChangeLog b/net-misc/stunnel/ChangeLog index 319693af4ca9..c124d1c9e708 100644 --- a/net-misc/stunnel/ChangeLog +++ b/net-misc/stunnel/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/stunnel -# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/ChangeLog,v 1.60 2006/11/04 17:25:51 dertobi123 Exp $ +# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/ChangeLog,v 1.61 2007/02/02 16:47:06 agriffis Exp $ + +*stunnel-4.20 (02 Feb 2007) + + 02 Feb 2007; Aron Griffis +stunnel-4.20.ebuild: + Bump to 4.20 (from 4.16) 04 Nov 2006; Tobias Scherbaum stunnel-4.09-r1.ebuild, stunnel-4.16.ebuild: diff --git a/net-misc/stunnel/Manifest b/net-misc/stunnel/Manifest index c4e586061889..b92574cc15fc 100644 --- a/net-misc/stunnel/Manifest +++ b/net-misc/stunnel/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX stunnel-3.26-gentoo.diff 941 RMD160 4ca4f85a8888c7c9dbeed9d1303bae182d19195d SHA1 5517c6e3395664d76c84548ea67ffd8fddddbdcd SHA256 e2a9fab361699b01ccd004ef598bb868d5f6f37bd40d05b7a16a97cd9ecee2f2 MD5 b42ca1fbeb5d6454de36aac4cb893294 files/stunnel-3.26-gentoo.diff 941 RMD160 4ca4f85a8888c7c9dbeed9d1303bae182d19195d files/stunnel-3.26-gentoo.diff 941 @@ -15,6 +18,7 @@ DIST stunnel-4.09.tar.gz 484745 DIST stunnel-4.14.tar.gz 488512 DIST stunnel-4.15.tar.gz 497103 RMD160 a8d5c9d3fb24d0518975cbb347729f5eba3d3f12 SHA1 735406c1ca94904581158a434214e1f6568539d0 SHA256 53328496fb9c2ad44bfea31c8beae93b99f5d8f577d5d60cceffc7e160936fe9 DIST stunnel-4.16.tar.gz 507204 RMD160 cbf8136049bcd8e306ee80bd66e4dd7666272b46 SHA1 6772e0c7f26c2596564ba66978597db8cd229a72 SHA256 8ccf6d8e9960ec6cb64aa27c3e61cb1ee32f5ae12f208aebb923de9c9f200a6e +DIST stunnel-4.20.tar.gz 513394 RMD160 6a5dfbabe17804e87ed8c7c75898dba4b4257827 SHA1 a9a449b28a4f34ab22f6b4bfaa81c1904a5883c4 SHA256 2926b8eda6d90872056145da8a260bd2eab41621c143f8a014ffa7a92e81fd10 EBUILD stunnel-3.26.ebuild 1085 RMD160 35646aa5a8f4806b6a73a0751b1229eb2f984173 SHA1 0d24ead80a9d641cdda6ae8c6f10f9d1288f9f93 SHA256 680e3eb07717266829ef4bc52f25ce350cabaa2cc90be222c4786df4fc057dd6 MD5 40938d8bb3bba86aea441e89ad04bdc9 stunnel-3.26.ebuild 1085 RMD160 35646aa5a8f4806b6a73a0751b1229eb2f984173 stunnel-3.26.ebuild 1085 @@ -35,10 +39,14 @@ EBUILD stunnel-4.16.ebuild 2437 RMD160 1164fecde609efd127ab170bf85ed081ea89518e MD5 733a604758ce4df7a877161392a0cc2c stunnel-4.16.ebuild 2437 RMD160 1164fecde609efd127ab170bf85ed081ea89518e stunnel-4.16.ebuild 2437 SHA256 eb6c2407c549fef5b9e15ad167632dd56bfc1e869dccd9c0b5022612bdaeff11 stunnel-4.16.ebuild 2437 -MISC ChangeLog 9109 RMD160 61e6f180e37257d557621b6c864b729a41d772ae SHA1 044b15ba014ff0f7cede09d30cfdb3b2495c5d98 SHA256 94364cf3c67bfc5cc5df80f13e8b3825cf06c2e633e8cdd045220312704cc6cf -MD5 6314b1b12527fa4a1ff6637d45892982 ChangeLog 9109 -RMD160 61e6f180e37257d557621b6c864b729a41d772ae ChangeLog 9109 -SHA256 94364cf3c67bfc5cc5df80f13e8b3825cf06c2e633e8cdd045220312704cc6cf ChangeLog 9109 +EBUILD stunnel-4.20.ebuild 2435 RMD160 c8b937d97eb68068d12f2438b1e281b029469d19 SHA1 7d8dcee1404cb90639b358450b433e15efa90216 SHA256 8b509da236a6d30bd9b603fbad9f3270f204cdaf9ec1244f7b73a3cf2faec561 +MD5 dd41d3df252bd5ed73ff1bc67d3763af stunnel-4.20.ebuild 2435 +RMD160 c8b937d97eb68068d12f2438b1e281b029469d19 stunnel-4.20.ebuild 2435 +SHA256 8b509da236a6d30bd9b603fbad9f3270f204cdaf9ec1244f7b73a3cf2faec561 stunnel-4.20.ebuild 2435 +MISC ChangeLog 9236 RMD160 72111d1034659b4476b240da3fa3742b14dfedb5 SHA1 865fb72c664659203b4b347abd996af6c18c0e0d SHA256 4a68dbf24acde587cddc7ce4d2b9f3d9bbb997868042e7b74fe8265ae50de92f +MD5 30333f30609b5f2df22f775958f15bdb ChangeLog 9236 +RMD160 72111d1034659b4476b240da3fa3742b14dfedb5 ChangeLog 9236 +SHA256 4a68dbf24acde587cddc7ce4d2b9f3d9bbb997868042e7b74fe8265ae50de92f ChangeLog 9236 MISC metadata.xml 641 RMD160 7ad264c22b9e0705cf00b7985eee8d23c3383310 SHA1 c9314118d8fbc0644eb690f56f9d8859d3f7c578 SHA256 16e547775081b652662ac7156f0b6cfb7d1b8165865416cd154047c9ea6abebb MD5 5732619250773b884ad9521fafa2e843 metadata.xml 641 RMD160 7ad264c22b9e0705cf00b7985eee8d23c3383310 metadata.xml 641 @@ -58,3 +66,13 @@ SHA256 4bfb530603f763063896a557aa83536fcfce2dd2029c06816782b80b3ca772ef files/di MD5 0b87729d3a32e79434ba90d7b17f60dc files/digest-stunnel-4.16 238 RMD160 d90b50d7c324b69802056622cd7d5f83c7fa255f files/digest-stunnel-4.16 238 SHA256 a5840dc57751d8b506fe62c3664f963b29c2c485470f54be389cbb539d3e2836 files/digest-stunnel-4.16 238 +MD5 adba84ec7a65ca30a2c181a1e483376f files/digest-stunnel-4.20 238 +RMD160 bcaae68477970fdb7e50077541e817dc13363c00 files/digest-stunnel-4.20 238 +SHA256 bf529017b12a2be5431787a9606f397740bac56c6ac75ecc32c428d12a0588d0 files/digest-stunnel-4.20 238 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.5 (GNU/Linux) + +iD8DBQFFw2stJrHF4yAQTrARAtrkAKCwcp7Q9AAgci1f/+EvVy/pVmbiEwCgmDKF +SoH1oE6nPVcGBDr2JdJVR6I= +=Ma0G +-----END PGP SIGNATURE----- diff --git a/net-misc/stunnel/files/digest-stunnel-4.20 b/net-misc/stunnel/files/digest-stunnel-4.20 new file mode 100644 index 000000000000..3e4d1f773a90 --- /dev/null +++ b/net-misc/stunnel/files/digest-stunnel-4.20 @@ -0,0 +1,3 @@ +MD5 cf9940395d3503018f721c962528d2ec stunnel-4.20.tar.gz 513394 +RMD160 6a5dfbabe17804e87ed8c7c75898dba4b4257827 stunnel-4.20.tar.gz 513394 +SHA256 2926b8eda6d90872056145da8a260bd2eab41621c143f8a014ffa7a92e81fd10 stunnel-4.20.tar.gz 513394 diff --git a/net-misc/stunnel/stunnel-4.20.ebuild b/net-misc/stunnel/stunnel-4.20.ebuild new file mode 100644 index 000000000000..7867b4bbe272 --- /dev/null +++ b/net-misc/stunnel/stunnel-4.20.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/stunnel-4.20.ebuild,v 1.1 2007/02/02 16:47:06 agriffis Exp $ + +inherit ssl-cert eutils flag-o-matic + +DESCRIPTION="TLS/SSL - Port Wrapper" +HOMEPAGE="http://stunnel.mirt.net/" +SRC_URI="http://www.stunnel.org/download/stunnel/src/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~sparc ~x86" +IUSE="ipv6 selinux tcpd" + +DEPEND="virtual/libc + >=dev-libs/openssl-0.9.6j" +RDEPEND=">=dev-libs/openssl-0.9.6j + selinux? ( sec-policy/selinux-stunnel )" + +src_unpack() { + unpack ${A} + # Hack away generation of certificate + sed -i s/^install-data-local:/do-not-run-this:/ "${S}"/tools/Makefile.in +} + +src_compile() { + local myconf="" + # Don't shoot me for doing this! The stunnel configure script is broke and + # doesn't honor --disable-foo + if use ipv6 ; then + myconf="${myconf} --enable-ipv6" + fi + if ! use tcpd ; then + myconf="${myconf} --disable-libwrap" + fi + econf ${myconf} || die "econf died" + emake || die "emake died" +} + +src_install() { + make DESTDIR=${D} install || die "make install failed" + rm -rf ${D}/usr/share/doc/${PN} + rm -f ${D}/{etc/stunnel/stunnel.conf-sample,usr/sbin/stunnel3} + rm -f ${D}/usr/share/man/man8/{stunnel.fr.8,stunnel.pl.8} + + dodoc AUTHORS BUGS CREDITS INSTALL NEWS PORTS README TODO ChangeLog \ + doc/en/transproxy.txt + dohtml doc/stunnel.html doc/en/VNC_StunnelHOWTO.html tools/ca.html \ + tools/importCA.html + + insinto /etc/stunnel + donewins ${FILESDIR}/stunnel.conf stunnel.conf + newinitd ${FILESDIR}/stunnel.rc6 stunnel + # Check if there's currently an cert already there + if [ ! -f /etc/stunnel/stunnel.key ]; then + docert stunnel + fi + + keepdir /var/run/stunnel +} + +pkg_postinst() { + enewgroup stunnel + enewuser stunnel -1 -1 -1 stunnel + + chown stunnel:stunnel ${ROOT}/var/run/stunnel + chown stunnel:stunnel ${ROOT}/etc/stunnel/stunnel.{conf,crt,csr,key,pem} + chmod 0640 ${ROOT}/etc/stunnel/stunnel.{conf,crt,csr,key,pem} + + if [ ! -z "$(egrep '/etc/stunnel/stunnel.pid' \ + ${ROOT}/etc/stunnel/stunnel.conf )" ] ; then + + ewarn "As of stunnel-4.09, the pid file will be located in /var/run/stunnel." + ewarn "Please stop stunnel, etc-update, and start stunnel back up to ensure" + ewarn "the update takes place" + ewarn "" + ewarn "The new location will be /var/run/stunnel/stunnel.pid" + ebeep 3 + epause 3 + fi +} -- 2.26.2