diff options
author | Patrick Lauer <patrick@gentoo.org> | 2009-04-30 21:45:38 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2009-04-30 21:45:38 +0000 |
commit | cd0cb8557c3c3f679feed9f3c4ee9127f8355c99 (patch) | |
tree | 4b37c1b72d27bf4126334065dd65307bb3ddaff9 /net-misc | |
parent | Okay, so maybe there was a little filedescriptor leak in that GIO plugin. The... (diff) | |
download | historical-cd0cb8557c3c3f679feed9f3c4ee9127f8355c99.tar.gz historical-cd0cb8557c3c3f679feed9f3c4ee9127f8355c99.tar.bz2 historical-cd0cb8557c3c3f679feed9f3c4ee9127f8355c99.zip |
Bump to 4.27, fixes #266514.
Package-Manager: portage-2.2_rc31/cvs/Linux x86_64
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/stunnel/ChangeLog | 9 | ||||
-rw-r--r-- | net-misc/stunnel/Manifest | 14 | ||||
-rw-r--r-- | net-misc/stunnel/stunnel-4.27.ebuild | 81 |
3 files changed, 91 insertions, 13 deletions
diff --git a/net-misc/stunnel/ChangeLog b/net-misc/stunnel/ChangeLog index 38b8e0ae7692..ce4b4365ae04 100644 --- a/net-misc/stunnel/ChangeLog +++ b/net-misc/stunnel/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/stunnel -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/ChangeLog,v 1.100 2008/10/08 20:07:51 ulm Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/ChangeLog,v 1.101 2009/04/30 21:45:38 patrick Exp $ + +*stunnel-4.27 (30 Apr 2009) + + 30 Apr 2009; Patrick Lauer <patrick@gentoo.org> +stunnel-4.27.ebuild: + Bump to 4.27, fixes #266514. *stunnel-4.26 (08 Oct 2008) diff --git a/net-misc/stunnel/Manifest b/net-misc/stunnel/Manifest index 4de7bc8c73bb..f8faad1c943c 100644 --- a/net-misc/stunnel/Manifest +++ b/net-misc/stunnel/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX stunnel-3.26-gentoo.diff 941 RMD160 4ca4f85a8888c7c9dbeed9d1303bae182d19195d SHA1 5517c6e3395664d76c84548ea67ffd8fddddbdcd SHA256 e2a9fab361699b01ccd004ef598bb868d5f6f37bd40d05b7a16a97cd9ecee2f2 AUX stunnel-4.21-libwrap.patch 380 RMD160 c5ed7c06c3612bc5930ca8c77cac8bf58ec403f3 SHA1 fa1bf6674f775fa1b5934f4707c9e7eafed0d8a9 SHA256 b22f56707b96df785ebc20b48faf9761fb52cf4a362be875c60071b0d4572be1 AUX stunnel-4.21-setuid.patch 2497 RMD160 037d422dd62c7140c03ad21103293cab201834e6 SHA1 2af63c8d7e212e80e0ce974a00f2ebb725a5d353 SHA256 38b525f41f7c876c0ec781d17a4c8096542b96a34d87f8b1acf49864479ca203 @@ -10,16 +7,11 @@ DIST stunnel-3.26.tar.gz 228923 RMD160 63347b6bc6fca1496d74a8ef234eea98a45e0b04 DIST stunnel-4.21.tar.gz 528196 RMD160 e0f599bb44bbdd5178af9972110f71ee64cbf724 SHA1 7785c45167d902aa728b839adee02a8cc056d86a SHA256 b1121c1157c48320491f1929eb1f1c64ba20f76c7352c0df01c77cf09be19add DIST stunnel-4.25.tar.gz 532343 RMD160 dcb9962e5273e69f5aeaed6bf709495aa97baa52 SHA1 fc6d61fad996f750c76ea627c5dd9f789af0eaf6 SHA256 9c966a18124ad2c28773fe096b767071320bdb07db69f480df36cbca80069480 DIST stunnel-4.26.tar.gz 531804 RMD160 09e0f60357a90b66f66a1f4cda1b04872c087d0d SHA1 1c9f5dd6b21f354c356cd9100899a90a83068c68 SHA256 e9e6795072e84fa031a67fe5de3030014031f2d84ec85b26d6e1b33c8b686bd3 +DIST stunnel-4.27.tar.gz 538604 RMD160 a0beb4dffbc40c5c4452af767840d6fa703868c9 SHA1 2daf52fb0906de9fc5bd6a270e620e9316034fd4 SHA256 c260a6544a39c3cff59626ca6bc7c14087dc4d4fab95c6cddd7dddd81df87cfb EBUILD stunnel-3.26.ebuild 723 RMD160 0636c7eae1da61ec4af4771feae60d9a86f70322 SHA1 b71fe6b65de35833c2d35c620e38c231fe3a5d04 SHA256 adc4a2cb260ca77fd1881c960230486f4952b6946db94ec57a33f2131aeae986 EBUILD stunnel-4.21-r1.ebuild 2409 RMD160 a458bec31394969c71a2b25e964969ba3c202031 SHA1 a011bf4cc15094b0cc9b43be26f36853563d2192 SHA256 21684cdeff9d9ca9466078cdd82932df2bd31a9226228a7f47630d0a8fe27192 EBUILD stunnel-4.25.ebuild 2375 RMD160 d8e2adf5aa30389a5c6f1ea3b59cccb3e88e2581 SHA1 cab4724bd91dc869cc4df296165804f6d9b57398 SHA256 98457e8a9921a07480aad95e2cd921e96cef87ef60c0e7a4b97f57bf641c63bf EBUILD stunnel-4.26.ebuild 2389 RMD160 520dc8a14a933851c95b3d91765b9fc0b2e2c737 SHA1 11da52b2d33ca146f2192af69c8f4ed2a8aae4be SHA256 5d09f3c360416cb20929028fce1e7eeed24e058b099f28ec428f0cabb0e25348 -MISC ChangeLog 14111 RMD160 bc0a028dd70e96201a3cab9f6365e451fa582925 SHA1 300b4e522f4f557a5dac8f0a762db0473f66b8f9 SHA256 e92075647223296e95730c7d5bfde862bd4352596090a9c402b91b540472fab6 +EBUILD stunnel-4.27.ebuild 2390 RMD160 319d6b740f7e086a5d4fcb4181dc2d6c6b86031c SHA1 abc19ccd0e243f36483f2612f6669e456a32f54d SHA256 51f64f5a5c7bc44a19e62fae2bb54aaa575d80a1dced42a7a2b1bf6003629d90 +MISC ChangeLog 14248 RMD160 d0d690aead9b77ac933b97ae8ee50f5ca4550d6a SHA1 55f14b567b575607039783bd7ef172fdfaceaf39 SHA256 40abd1aa97e22c515adbe1bbfa25ed2042e68481dbd7968812a14e4e2ca78dbf MISC metadata.xml 641 RMD160 7ad264c22b9e0705cf00b7985eee8d23c3383310 SHA1 c9314118d8fbc0644eb690f56f9d8859d3f7c578 SHA256 16e547775081b652662ac7156f0b6cfb7d1b8165865416cd154047c9ea6abebb ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.9 (GNU/Linux) - -iEYEARECAAYFAkkSXBkACgkQ67wieSYcaxdVegCePzafN7Cc4JlWBLbdA4/7lwRT -1a8AoJ4ssxvH7dkQGgm+alZrpe2WY+jl -=9TUi ------END PGP SIGNATURE----- diff --git a/net-misc/stunnel/stunnel-4.27.ebuild b/net-misc/stunnel/stunnel-4.27.ebuild new file mode 100644 index 000000000000..161752df91ad --- /dev/null +++ b/net-misc/stunnel/stunnel-4.27.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/stunnel-4.27.ebuild,v 1.1 2009/04/30 21:45:38 patrick Exp $ + +inherit autotools ssl-cert eutils + +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 ~ppc64 ~s390 ~sparc ~x86" +IUSE="ipv6 selinux tcpd" + +DEPEND="tcpd? ( sys-apps/tcp-wrappers ) + >=dev-libs/openssl-0.9.8k" +RDEPEND="${DEPEND} + selinux? ( sec-policy/selinux-stunnel )" + +pkg_setup() { + enewgroup stunnel + enewuser stunnel -1 -1 -1 stunnel +} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${PN}-4.21-libwrap.patch" + eautoreconf + + # Hack away generation of certificate + sed -i -e "s/^install-data-local:/do-not-run-this:/" \ + tools/Makefile.in || die "sed failed" +} + +src_compile() { + econf $(use_enable ipv6) \ + $(use_enable tcpd libwrap) || die "econf died" + emake || die "emake died" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + rm -rf "${D}"/usr/share/doc/${PN} + rm -f "${D}"/etc/stunnel/stunnel.conf-sample "${D}"/usr/bin/stunnel3 \ + "${D}"/usr/share/man/man8/stunnel.{fr,pl}.8 + + # The binary was moved to /usr/bin with 4.21, + # symlink for backwards compatibility + dosym ../bin/stunnel /usr/sbin/stunnel + + dodoc AUTHORS BUGS CREDITS 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 + doins "${FILESDIR}"/stunnel.conf + newinitd "${FILESDIR}"/stunnel.rc6 stunnel + + keepdir /var/run/stunnel + fowners stunnel:stunnel /var/run/stunnel +} + +pkg_postinst() { + if [ ! -f "${ROOT}"/etc/stunnel/stunnel.key ]; then + install_cert /etc/stunnel/stunnel + chown stunnel:stunnel "${ROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem} + chmod 0640 "${ROOT}"/etc/stunnel/stunnel.{crt,csr,key,pem} + fi + + if [ ! -z "$(grep /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" + fi +} |