summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2008-02-16 16:38:27 +0000
committerUlrich Müller <ulm@gentoo.org>2008-02-16 16:38:27 +0000
commit26a267632711d1b13c036e2f7c5ec494bb2ccb60 (patch)
treeead769970257c985116059048515466fefdf3a32 /net-misc/stunnel
parentfix bug 179377, with a dependency adjustment to proper slots of sys-libs/db, ... (diff)
downloadgentoo-2-26a267632711d1b13c036e2f7c5ec494bb2ccb60.tar.gz
gentoo-2-26a267632711d1b13c036e2f7c5ec494bb2ccb60.tar.bz2
gentoo-2-26a267632711d1b13c036e2f7c5ec494bb2ccb60.zip
Remove old.
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-misc/stunnel')
-rw-r--r--net-misc/stunnel/ChangeLog6
-rw-r--r--net-misc/stunnel/files/stunnel.rc6.4.2034
-rw-r--r--net-misc/stunnel/stunnel-4.20.ebuild82
-rw-r--r--net-misc/stunnel/stunnel-4.21.ebuild81
4 files changed, 5 insertions, 198 deletions
diff --git a/net-misc/stunnel/ChangeLog b/net-misc/stunnel/ChangeLog
index b2ed805f7361..fa172cc439a5 100644
--- a/net-misc/stunnel/ChangeLog
+++ b/net-misc/stunnel/ChangeLog
@@ -1,6 +1,10 @@
# 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.90 2008/02/16 16:11:14 rbu Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/ChangeLog,v 1.91 2008/02/16 16:38:26 ulm Exp $
+
+ 16 Feb 2008; Ulrich Mueller <ulm@gentoo.org> -files/stunnel.rc6.4.20,
+ -stunnel-4.20.ebuild, -stunnel-4.21.ebuild:
+ Remove old.
16 Feb 2008; Robert Buchholz <rbu@gentoo.org> stunnel-4.21-r1.ebuild:
amd64 stable (bug #201896)
diff --git a/net-misc/stunnel/files/stunnel.rc6.4.20 b/net-misc/stunnel/files/stunnel.rc6.4.20
deleted file mode 100644
index b8bdfe5e29cd..000000000000
--- a/net-misc/stunnel/files/stunnel.rc6.4.20
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/files/stunnel.rc6.4.20,v 1.1 2007/12/08 10:38:26 ulm Exp $
-
-# Default pidfile location
-PIDFILE="/var/run/stunnel/stunnel.pid"
-
-checkconfig() {
- # To ensure backwards compatibility
- if [ ! -z "$(egrep '/etc/stunnel/stunnel.pid' /etc/stunnel/stunnel.conf)" ] ; then
- ewarn "Please update your stunnel.conf!"
- ewarn "pid should point to /var/run/stunnel/stunnel.pid"
- PIDFILE="/etc/stunnel/stunnel.pid"
- fi
-}
-
-depend() {
- need net
-}
-
-start() {
- checkconfig
- ebegin "Starting stunnel"
- start-stop-daemon --start --pidfile ${PIDFILE} --quiet --exec /usr/sbin/stunnel -- /etc/stunnel/stunnel.conf
- eend $?
-}
-
-stop() {
- checkconfig
- ebegin "Stopping stunnel"
- start-stop-daemon --stop --quiet --pidfile ${PIDFILE}
- eend $?
-}
diff --git a/net-misc/stunnel/stunnel-4.20.ebuild b/net-misc/stunnel/stunnel-4.20.ebuild
deleted file mode 100644
index 3b7f40680eac..000000000000
--- a/net-misc/stunnel/stunnel-4.20.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# 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.13 2007/12/08 10:38:25 ulm 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 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 )"
-
-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
- doins "${FILESDIR}"/stunnel.conf
- newinitd "${FILESDIR}"/stunnel.rc6.${PV} 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
-}
diff --git a/net-misc/stunnel/stunnel-4.21.ebuild b/net-misc/stunnel/stunnel-4.21.ebuild
deleted file mode 100644
index c9ff69025bb4..000000000000
--- a/net-misc/stunnel/stunnel-4.21.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# 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.21.ebuild,v 1.6 2008/01/10 09:18:02 vapier 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}"/${P}-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
-}