diff options
author | Ulrich Müller <ulm@gentoo.org> | 2008-04-17 19:23:01 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2008-04-17 19:23:01 +0000 |
commit | e5486d136964d7a63ade20117d2c4b694c24e4c9 (patch) | |
tree | c8a943098f9b5fe9773429d47c64787f8c618363 /net-misc/stunnel | |
parent | Stable on alpha, bug #212050 (diff) | |
download | historical-e5486d136964d7a63ade20117d2c4b694c24e4c9.tar.gz historical-e5486d136964d7a63ade20117d2c4b694c24e4c9.tar.bz2 historical-e5486d136964d7a63ade20117d2c4b694c24e4c9.zip |
Version bump, bug 216662.
Package-Manager: portage-2.1.5_rc3
Diffstat (limited to 'net-misc/stunnel')
-rw-r--r-- | net-misc/stunnel/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/stunnel/Manifest | 12 | ||||
-rw-r--r-- | net-misc/stunnel/stunnel-4.22.ebuild | 81 |
3 files changed, 94 insertions, 6 deletions
diff --git a/net-misc/stunnel/ChangeLog b/net-misc/stunnel/ChangeLog index fa172cc439a5..c6f7f6b7bb8d 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.91 2008/02/16 16:38:26 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/ChangeLog,v 1.92 2008/04/17 19:23:01 ulm Exp $ + +*stunnel-4.22 (17 Apr 2008) + + 17 Apr 2008; Ulrich Mueller <ulm@gentoo.org> +stunnel-4.22.ebuild: + Version bump, bug 216662. 16 Feb 2008; Ulrich Mueller <ulm@gentoo.org> -files/stunnel.rc6.4.20, -stunnel-4.20.ebuild, -stunnel-4.21.ebuild: diff --git a/net-misc/stunnel/Manifest b/net-misc/stunnel/Manifest index 6f6aa6ab8a3c..a2e04dfce687 100644 --- a/net-misc/stunnel/Manifest +++ b/net-misc/stunnel/Manifest @@ -8,14 +8,16 @@ AUX stunnel.conf 1423 RMD160 606c53b0e241e44c8aabe423ca6772dc76aa69a9 SHA1 0b18a AUX stunnel.rc6 779 RMD160 3cb0ba8b6f90484a9cec951e3eb36eef45169f6d SHA1 7de8dc829e271b3ed248e3b44afb9b537621cc02 SHA256 b2128e3bfe38485ef4afad35b57d8711666281087f3fcf920d5d313642e06dea DIST stunnel-3.26.tar.gz 228923 RMD160 63347b6bc6fca1496d74a8ef234eea98a45e0b04 SHA1 0d40d268a9e4b63630312cdee4efa5ecba53c9ec SHA256 d2a55b089d46d14bc4b456bb1927303492dab6649867c67a005d2c9d1ededfb3 DIST stunnel-4.21.tar.gz 528196 RMD160 e0f599bb44bbdd5178af9972110f71ee64cbf724 SHA1 7785c45167d902aa728b839adee02a8cc056d86a SHA256 b1121c1157c48320491f1929eb1f1c64ba20f76c7352c0df01c77cf09be19add +DIST stunnel-4.22.tar.gz 531252 RMD160 15cc7a426bdf3a24ae25cc30281d5ce5825d87ca SHA1 452d0068bcae39afe7401216153986f3af810e37 SHA256 3779efb7ff463ba2838f330decbc904ea65fa04eeaa1138505e3bab9ecef1d49 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 -MISC ChangeLog 13033 RMD160 8afdb07280c63f618867e77f775396f297bfce29 SHA1 2677884655a539e3ddd4b50769d440166214add1 SHA256 eaf2b0bd9a3ea5024897b211f92954af82b188057b78ed54b9e53942e2af334a +EBUILD stunnel-4.22.ebuild 2380 RMD160 7b840f884ff028379352e3cd03b52ceaa5da5bf3 SHA1 b667f590c71b873ba3cb671f1cc6a14d12c32419 SHA256 face85efc268c7862fff8429db3402c25c88644a6852305f6b14f0076f78f3b4 +MISC ChangeLog 13160 RMD160 a4a9fc723b4aab06daa85a77410d1410f79265c0 SHA1 81c15e02faa4b65f32fe10d76f6992c61cbf1379 SHA256 e3235e3491e564c12e56efecb1ebeef99056ac326918dc7f1db067c4c700fef5 MISC metadata.xml 641 RMD160 7ad264c22b9e0705cf00b7985eee8d23c3383310 SHA1 c9314118d8fbc0644eb690f56f9d8859d3f7c578 SHA256 16e547775081b652662ac7156f0b6cfb7d1b8165865416cd154047c9ea6abebb -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.8 (GNU/Linux) +Version: GnuPG v1.4.9 (GNU/Linux) -iEYEARECAAYFAke3EYYACgkQOeoy/oIi7uw2dwCfWggGkBGrkTHxWJ9m+ISikiQR -0RMAoIVU5S1VMkliWu2tv3M3AL5QbcoA -=zG/k +iEYEARECAAYFAkgHo5YACgkQOeoy/oIi7uxdbQCaA0R+nckvveyzhboUuu7n/4tc +sPUAn33sKxUUulJcLz7eToyL5bUQlgn3 +=z6J2 -----END PGP SIGNATURE----- diff --git a/net-misc/stunnel/stunnel-4.22.ebuild b/net-misc/stunnel/stunnel-4.22.ebuild new file mode 100644 index 000000000000..7f407deaf39d --- /dev/null +++ b/net-misc/stunnel/stunnel-4.22.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/stunnel-4.22.ebuild,v 1.1 2008/04/17 19:23:01 ulm 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 ~sparc ~x86" +IUSE="ipv6 selinux tcpd" + +DEPEND="tcpd? ( sys-apps/tcp-wrappers ) + >=dev-libs/openssl-0.9.6j" +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 +} |