summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/stunnel/stunnel-4.04-r3.ebuild')
-rw-r--r--net-misc/stunnel/stunnel-4.04-r3.ebuild63
1 files changed, 0 insertions, 63 deletions
diff --git a/net-misc/stunnel/stunnel-4.04-r3.ebuild b/net-misc/stunnel/stunnel-4.04-r3.ebuild
deleted file mode 100644
index eb76590d8277..000000000000
--- a/net-misc/stunnel/stunnel-4.04-r3.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/stunnel-4.04-r3.ebuild,v 1.8 2005/02/11 20:58:27 kaiowas Exp $
-
-inherit ssl-cert eutils
-
-IUSE="static selinux"
-DESCRIPTION="TLS/SSL - Port Wrapper"
-SRC_URI="http://www.stunnel.org/download/stunnel/src/${P}.tar.gz"
-HOMEPAGE="http://stunnel.mirt.net"
-DEPEND="virtual/libc >=dev-libs/openssl-0.9.6j"
-RDEPEND=">=dev-libs/openssl-0.9.6j
- selinux? ( sec-policy/selinux-stunnel )"
-KEYWORDS="~x86 ~sparc alpha amd64"
-LICENSE="GPL-2"
-SLOT="0"
-
-src_unpack() {
- unpack ${A}; cd ${S}
- epatch ${FILESDIR}/${P}-gentoo.diff
-}
-
-src_compile() {
- use static && myconf="${myconf} --disable-shared --enable-static"
- use static && LDADD="${LDADD} -all-static" && export LDADD
- econf ${myconf} || die
- emake || die
-}
-
-src_install() {
- insinto /etc/stunnel
- docert stunnel
-
- into /usr
- dosbin src/stunnel
- dodoc AUTHORS BUGS COPYING COPYRIGHT.GPL CREDITS INSTALL NEWS PORTS README TODO
- dodoc doc/en/transproxy.txt
- dohtml doc/stunnel.html doc/en/VNC_StunnelHOWTO.html tools/ca.html tools/importCA.html
- doman doc/stunnel.8
-
- insinto /usr/share/doc/${PVR}
- doins tools/ca.pl tools/importCA.sh
-
- exeinto /etc/init.d
- newexe ${FILESDIR}/stunnel.rc6.${PVR} stunnel
-
- dolib src/.libs/libstunnel.la
- use static || newlib.so src/.libs/libstunnel.so libstunnel.so.${PV}
- use static || dosym /usr/lib/libstunnel.so.${PV} /usr/lib/libstunnel.so
-
- insinto /etc/stunnel
- donewins ${FILESDIR}/stunnel.conf.${PVR} stunnel.conf
-}
-
-pkg_postinst() {
- enewuser stunnel
- enewgroup stunnel
-
- chown stunnel /etc/stunnel
-
- einfo "Starting from version 4 stunnel now uses a configuration file for setting up stunnels."
- einfo "Stunnel can now also be run as a daemon"
-}