summaryrefslogtreecommitdiff
path: root/net/vtun
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2000-02-07 01:37:34 +0000
committerhubertf <hubertf@pkgsrc.org>2000-02-07 01:37:34 +0000
commitae3a5bd30ea51f0ce728254978167d268693630e (patch)
treed72c61e5a22de762413cbd310a217ca6bd768fe3 /net/vtun
parent58b6a11bc866e19ebef322a0a91d2ad6e50120bd (diff)
downloadpkgsrc-ae3a5bd30ea51f0ce728254978167d268693630e.tar.gz
Import vtun-2.0:
VTun provides the method for creating Virtual Tunnels over TCP/IP networks and allows to shape, compress, encrypt traffic in that tunnels. Supported type of tunnels are: PPP, IP, Ethernet and most of other serial protocols and programs. VTun is easily and highly configurable, it can be used for various network task like VPN, Mobile IP, Shaped Internet access, IP address saving, etc. It is completely user space implementation and does not require modification to any kernel parts.
Diffstat (limited to 'net/vtun')
-rw-r--r--net/vtun/Makefile22
-rw-r--r--net/vtun/files/md53
-rw-r--r--net/vtun/files/patch-sum3
-rw-r--r--net/vtun/patches/patch-aa21
-rw-r--r--net/vtun/pkg/COMMENT1
-rw-r--r--net/vtun/pkg/DESCR10
-rw-r--r--net/vtun/pkg/PLIST6
7 files changed, 66 insertions, 0 deletions
diff --git a/net/vtun/Makefile b/net/vtun/Makefile
new file mode 100644
index 00000000000..4ab43c9373f
--- /dev/null
+++ b/net/vtun/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/02/07 01:37:34 hubertf Exp $
+#
+
+DISTNAME= vtun-2.0
+CATEGORIES= net
+MASTER_SITES= http://vtun.netpedia.net/
+
+MAINTAINER= hubertf@netbsd.org
+HOMEPAGE= http://vtun.netpedia.net/
+
+DEPENDS+= openssl-0.9.*:../../security/openssl
+DEPENDS+= liblzo-1.*:../../archivers/liblzo
+
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS+=--with-crypto-headers=${LOCALBASE}/include/openssl \
+ --with-crypto-lib=${LOCALBASE}/lib \
+ --with-lzo-headers=${LOCALBASE}/include \
+ --with-lzo-lib=${LOCALBASE}/lib
+PLIST_SUBST+= PREFIX=${PREFIX}
+ALL_TARGET= vtund
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/vtun/files/md5 b/net/vtun/files/md5
new file mode 100644
index 00000000000..c7336e438d6
--- /dev/null
+++ b/net/vtun/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/02/07 01:37:34 hubertf Exp $
+
+MD5 (vtun-2.0.tar.gz) = 4f7ed56635e969bd603b25819d88c612
diff --git a/net/vtun/files/patch-sum b/net/vtun/files/patch-sum
new file mode 100644
index 00000000000..688a17816a2
--- /dev/null
+++ b/net/vtun/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/02/07 01:37:34 hubertf Exp $
+
+MD5 (patch-aa) = dd99bbe34bf6d787e632869334d87332
diff --git a/net/vtun/patches/patch-aa b/net/vtun/patches/patch-aa
new file mode 100644
index 00000000000..eeff5acd13b
--- /dev/null
+++ b/net/vtun/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/02/07 01:37:35 hubertf Exp $
+
+--- Makefile.in.BAK Fri Feb 4 04:59:50 2000
++++ Makefile.in Fri Feb 4 05:03:27 2000
+@@ -24,7 +24,7 @@
+ SBIN_DIR = @sbindir@
+ MAN_DIR = @mandir@
+ ETC_DIR = @sysconfdir@
+-VAR_DIR = @localstatedir@
++VAR_DIR = /var
+
+ PID_FILE = ${VAR_DIR}/run/vtund.pid
+ CFG_FILE = ${ETC_DIR}/vtund.conf
+@@ -110,6 +110,7 @@
+
+ install_config:
+ $(INSTALL) -d -m 755 -o root -g 0 $(ETC_DIR)
++ $(INSTALL) -m 600 -o root -g 0 vtund.conf $(ETC_DIR)/vtund.conf.example; \
+ if [ ! -f $(ETC_DIR)/vtund.conf ]; then \
+ $(INSTALL) -m 600 -o root -g 0 vtund.conf $(ETC_DIR); \
+ fi
diff --git a/net/vtun/pkg/COMMENT b/net/vtun/pkg/COMMENT
new file mode 100644
index 00000000000..6a2733ee8c2
--- /dev/null
+++ b/net/vtun/pkg/COMMENT
@@ -0,0 +1 @@
+Virtual Tunnels over TCP/IP networks with traffic shaping, etc.
diff --git a/net/vtun/pkg/DESCR b/net/vtun/pkg/DESCR
new file mode 100644
index 00000000000..1f58fa351b1
--- /dev/null
+++ b/net/vtun/pkg/DESCR
@@ -0,0 +1,10 @@
+VTun provides the method for creating Virtual Tunnels over TCP/IP
+networks and allows to shape, compress, encrypt traffic in that
+tunnels.
+
+Supported type of tunnels are: PPP, IP, Ethernet and most of other
+serial protocols and programs. VTun is easily and highly configurable,
+it can be used for various network task like VPN, Mobile IP, Shaped
+Internet access, IP address saving, etc. It is completely user
+space implementation and does not require modification to any kernel
+parts.
diff --git a/net/vtun/pkg/PLIST b/net/vtun/pkg/PLIST
new file mode 100644
index 00000000000..75798fca353
--- /dev/null
+++ b/net/vtun/pkg/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/02/07 01:37:34 hubertf Exp $
+sbin/vtund
+etc/vtund.conf.example
+@exec if [ ! -f ${PREFIX}/etc/vtund.conf ]; then echo "Installing example /vtund.conf in ${PREFIX}/etc ..." ; /usr/bin/install -c -o root -g wheel -m 0600 %D/etc/vtund.conf.example ${PREFIX}/etc/vtund.conf ; fi
+man/man8/vtund.8
+man/man8/vtun.8