summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-misc/stunnel/files/digest-stunnel-3.221
-rw-r--r--net-misc/stunnel/stunnel-3.22.ebuild27
2 files changed, 28 insertions, 0 deletions
diff --git a/net-misc/stunnel/files/digest-stunnel-3.22 b/net-misc/stunnel/files/digest-stunnel-3.22
new file mode 100644
index 000000000000..40e9c178ca04
--- /dev/null
+++ b/net-misc/stunnel/files/digest-stunnel-3.22
@@ -0,0 +1 @@
+MD5 69000d8365b006b3c080a1e2dc9ccba9 stunnel-3.22.tar.gz 204800
diff --git a/net-misc/stunnel/stunnel-3.22.ebuild b/net-misc/stunnel/stunnel-3.22.ebuild
new file mode 100644
index 000000000000..3b20aa73df3a
--- /dev/null
+++ b/net-misc/stunnel/stunnel-3.22.ebuild
@@ -0,0 +1,27 @@
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/stunnel-3.22.ebuild,v 1.1 2002/01/17 19:30:36 drobbins Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="TSL/SSL - Port Wrapper"
+SRC_URI="http://www.stunnel.org/download/stunnel/src/${P}.tar.gz"
+HOMEPAGE="http://www.stunnel.org/"
+DEPEND="virtual/glibc >=dev-libs/openssl-0.9.6c"
+RDEPEND=">dev-libs/openssl-0.9.6c"
+
+src_unpack() {
+ unpack ${A}; cd ${S}
+ patch -p0 < ${FILESDIR}/${PF}-gentoo.diff
+}
+
+src_compile() {
+ ./configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man || die
+ emake || die
+}
+
+src_install() {
+ into /usr
+ dosbin stunnel
+ dodoc FAQ README HISTORY COPYING BUGS PORTS TODO transproxy.txt
+ doman stunnel.8
+ dolib.so stunnel.so
+}