diff options
author | Preston A. Elder <prez@gentoo.org> | 2002-05-23 21:53:27 +0000 |
---|---|---|
committer | Preston A. Elder <prez@gentoo.org> | 2002-05-23 21:53:27 +0000 |
commit | 3ce5396c31492c527c3e193720a622ff88d8ca4d (patch) | |
tree | 4b7463137fd82d3d3c499c27a6f05f033e743a1d /app-crypt | |
parent | new version (diff) | |
download | gentoo-2-3ce5396c31492c527c3e193720a622ff88d8ca4d.tar.gz gentoo-2-3ce5396c31492c527c3e193720a622ff88d8ca4d.tar.bz2 gentoo-2-3ce5396c31492c527c3e193720a622ff88d8ca4d.zip |
Added vtun, virtual tunneling software.
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/vtun/ChangeLog | 9 | ||||
-rw-r--r-- | app-crypt/vtun/files/digest-vtun-2.5 | 1 | ||||
-rw-r--r-- | app-crypt/vtun/vtun-2.5.ebuild | 47 |
3 files changed, 57 insertions, 0 deletions
diff --git a/app-crypt/vtun/ChangeLog b/app-crypt/vtun/ChangeLog new file mode 100644 index 000000000000..caada575fd0c --- /dev/null +++ b/app-crypt/vtun/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for <CATEGORY>/<PACKAGE_NAME> +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/vtun/ChangeLog,v 1.1 2002/05/23 21:53:27 prez Exp $ + +*vtun-2.5 (23 May 2002) + + 23 May 2002; Preston A. Elder <prez@gentoo.org> vtun-2.5.ebuild: + Initial revision. +
\ No newline at end of file diff --git a/app-crypt/vtun/files/digest-vtun-2.5 b/app-crypt/vtun/files/digest-vtun-2.5 new file mode 100644 index 000000000000..abf8dfbce137 --- /dev/null +++ b/app-crypt/vtun/files/digest-vtun-2.5 @@ -0,0 +1 @@ +MD5 b29bffeb07e66567e247641919c45b23 vtun-2.5.tar.gz 92510 diff --git a/app-crypt/vtun/vtun-2.5.ebuild b/app-crypt/vtun/vtun-2.5.ebuild new file mode 100644 index 000000000000..39cf304991e8 --- /dev/null +++ b/app-crypt/vtun/vtun-2.5.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/vtun/vtun-2.5.ebuild,v 1.1 2002/05/23 21:53:27 prez Exp $ + +DESCRIPTION="Tunneling software to use the universal tunnel" +HOMEPAGE="http://vtun.sourceforge.net" +LICENSE="GPL-2" +DEPEND=">=sys-libs/zlib-1.1.4 + >=dev-libs/lzo-1.07 + >=dev-libs/openssl-0.9.6c-r1 + >=sys-kernel/linux-headers-2.4.18" +#RDEPEND="" +SRC_URI="ftp://prdownloads.sourceforge.net/vtun/${P}.tar.gz" +S=${WORKDIR}/vtun + +src_compile() { + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man || die "./configure failed" + mv config.h config.h.orig + mv cfg_file.y cfg_file.y.orig + mv auth.c auth.c.orig + mv lfd_encrypt.c lfd_encrypt.c.orig + sed "s,/* #undef HAVE_LINUX_IF_TUN_H */,#define HAVE_LINUX_IF_TUN_H 1," \ + config.h.orig >config.h + sed "s,expect 18,expect 20," \ + cfg_file.y.orig >cfg_file.y + sed "s,#include <md5.h>,#include <md5global.h>\n#include <md5.h>," \ + auth.c.orig >auth.c + sed "s,#include <md5.h>,#include <md5global.h>\n#include <md5.h>," \ + lfd_encrypt.c.orig >lfd_encrypt.c + emake \ + ETC_DIR=/etc \ + VAR_DIR=/var || die +} + +src_install () { + make \ + prefix=${D}/usr \ + ETC_DIR=${D}/etc \ + VAR_DIR=${D}/var \ + INFO_DIR=${D}/usr/share/info \ + MAN_DIR=${D}/usr/share/man install || die + dodoc ChangeLog FAQ README* TODO vtund.conf +} |