summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2003-04-23 09:09:46 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2003-04-23 09:09:46 +0000
commit22c575056ad0d4e297abc0bbae4a05cb05f081b5 (patch)
tree01a5630a8e11100d1ba3e060159fce8b90564b9e /net-misc/stunnel
parentAdded support for USE=static; Added use_enable nls to cleanup myconf (>=sys-a... (diff)
downloadgentoo-2-22c575056ad0d4e297abc0bbae4a05cb05f081b5.tar.gz
gentoo-2-22c575056ad0d4e297abc0bbae4a05cb05f081b5.tar.bz2
gentoo-2-22c575056ad0d4e297abc0bbae4a05cb05f081b5.zip
Closes #19561
Diffstat (limited to 'net-misc/stunnel')
-rw-r--r--net-misc/stunnel/ChangeLog5
-rw-r--r--net-misc/stunnel/stunnel-4.04.ebuild15
2 files changed, 13 insertions, 7 deletions
diff --git a/net-misc/stunnel/ChangeLog b/net-misc/stunnel/ChangeLog
index d07d98c55dcd..a930b4c05d78 100644
--- a/net-misc/stunnel/ChangeLog
+++ b/net-misc/stunnel/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/stunnel
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/ChangeLog,v 1.8 2003/03/25 10:25:27 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/ChangeLog,v 1.9 2003/04/23 09:09:46 aliz Exp $
+
+ 23 Apr 2003; Daniel Ahlberg <aliz@gentoo.org> stunnel-4.04.ebuild :
+ Added static support from #19561.
*stunnel-4.04 (25 Mar 2003)
diff --git a/net-misc/stunnel/stunnel-4.04.ebuild b/net-misc/stunnel/stunnel-4.04.ebuild
index 143641445ab4..06dcbfa89b08 100644
--- a/net-misc/stunnel/stunnel-4.04.ebuild
+++ b/net-misc/stunnel/stunnel-4.04.ebuild
@@ -1,9 +1,10 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/stunnel-4.04.ebuild,v 1.1 2003/03/25 10:25:27 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/stunnel/stunnel-4.04.ebuild,v 1.2 2003/04/23 09:09:46 aliz Exp $
inherit eutils
+IUSE="static"
S=${WORKDIR}/${P}
DESCRIPTION="TSL/SSL - Port Wrapper"
SRC_URI="http://www.stunnel.org/download/stunnel/src/${P}.tar.gz"
@@ -20,10 +21,12 @@ src_unpack() {
epatch ${FILESDIR}/${P}-blinding.patch
}
-#src_compile() {
-# econf || die
-# emake || die
-#}
+src_compile() {
+ use static && EXTRA_ECONF="${EXTRA_ECONF} --disable-shared --enable-static"
+ use static && LDADD="${LDADD} -all-static" && export LDADD
+ econf || die
+ emake || die
+}
src_install() {
into /usr
@@ -40,7 +43,7 @@ src_install() {
newexe ${FILESDIR}/stunnel.rc6 stunnel
dolib src/.libs/libstunnel.la
- dolib.so src/.libs/libstunnel.so
+ use static && dolib.so src/.libs/libstunnel.so
insinto /etc/stunnel
doins ${FILESDIR}/stunnel.conf