summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/vtun/vtun-2.5-r2.ebuild')
-rw-r--r--net-misc/vtun/vtun-2.5-r2.ebuild16
1 files changed, 6 insertions, 10 deletions
diff --git a/net-misc/vtun/vtun-2.5-r2.ebuild b/net-misc/vtun/vtun-2.5-r2.ebuild
index 1b5ab896cb79..0ef0bdf75e60 100644
--- a/net-misc/vtun/vtun-2.5-r2.ebuild
+++ b/net-misc/vtun/vtun-2.5-r2.ebuild
@@ -1,16 +1,12 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/vtun/vtun-2.5-r2.ebuild,v 1.12 2005/11/13 06:21:54 dragonheart Exp $
-
-IUSE="ssl"
+# $Header: /var/cvsroot/gentoo-x86/net-misc/vtun/vtun-2.5-r2.ebuild,v 1.1 2002/06/06 16:19:09 ashmodai Exp $
DESCRIPTION="Tunneling software to use the universal tunnel"
HOMEPAGE="http://vtun.sourceforge.net"
-KEYWORDS="x86 sparc alpha"
LICENSE="GPL-2"
-SLOT="0"
DEPEND=">=sys-libs/zlib-1.1.4
- =dev-libs/lzo-1*
+ >=dev-libs/lzo-1.07
ssl? ( >=dev-libs/openssl-0.9.6c-r1 )
>=sys-kernel/linux-headers-2.4.18"
#RDEPEND=""
@@ -18,11 +14,11 @@ SRC_URI="mirror://sourceforge/vtun/${P}.tar.gz"
S=${WORKDIR}/vtun
src_compile() {
- if ! use ssl
+ if [ -z "`use ssl`" ]
then
use_opts="--disable-ssl"
fi
-
+
cat ${FILESDIR}/vtun-2.5-r2-gentoo-gcc3.1.patch | patch -p1 || die "couldn't patch for gcc3.1";
./configure \
@@ -50,7 +46,7 @@ src_compile() {
VAR_DIR=/var || FAILED=1
# OK, we're done, rename the cyrus one back to what it was.
- if [ -f /usr/include/md5.h.vtun_compile -a
+ if [ -f /usr/include/md5.h.vtun_compile -a
! -f /usr/include/md5.h ]; then
mv /usr/include/md5.h.vtun_compile /usr/include/md5.h
fi