aboutsummaryrefslogtreecommitdiffstats
path: root/net/tund
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-09-19 01:48:16 +0800
committersteve <steve@FreeBSD.org>1999-09-19 01:48:16 +0800
commit89d5f0c2ae7d600465195295fcbc3198caa4629a (patch)
tree942b101d8077c520643b745ee542175b2ee3b227 /net/tund
parent021c86e7bce2d86dcc294fe8b1bbd0af725c9aa3 (diff)
downloadfreebsd-ports-graphics-89d5f0c2ae7d600465195295fcbc3198caa4629a.tar.gz
freebsd-ports-graphics-89d5f0c2ae7d600465195295fcbc3198caa4629a.tar.zst
freebsd-ports-graphics-89d5f0c2ae7d600465195295fcbc3198caa4629a.zip
Update to version 0.20.
PR: 13347 Submitted by: maintainer
Diffstat (limited to 'net/tund')
-rw-r--r--net/tund/Makefile8
-rw-r--r--net/tund/distinfo2
-rw-r--r--net/tund/files/patch-aa19
-rw-r--r--net/tund/pkg-comment2
-rw-r--r--net/tund/pkg-descr10
-rw-r--r--net/tund/pkg-plist5
6 files changed, 39 insertions, 7 deletions
diff --git a/net/tund/Makefile b/net/tund/Makefile
index f1ca2b83451..366b63f7823 100644
--- a/net/tund/Makefile
+++ b/net/tund/Makefile
@@ -6,12 +6,18 @@
# $FreeBSD$
#
-DISTNAME= tund-0.11
+DISTNAME= tund-0.20
CATEGORIES= net
MASTER_SITES= ftp://ftp.chg.ru/pub/networking/freebsd/
MAINTAINER= ks@itp.ac.ru
+BUILD_DEPENDS= ${LOCALBASE}/lib/libcrypto.a:${PORTSDIR}/security/openssl
+
+.if defined(USA_RESIDENT) && ${USA_RESIDENT} == YES
+MAKE_ENV+= EXTRA_SSL_LIBS="-lRSAglue -lrsaref"
+.endif
+
MAN8= tund.8
MANCOMPRESSED= yes
diff --git a/net/tund/distinfo b/net/tund/distinfo
index 4d810615026..315e8ee3a47 100644
--- a/net/tund/distinfo
+++ b/net/tund/distinfo
@@ -1 +1 @@
-MD5 (tund-0.11.tar.gz) = 06c5017390e58a2bd47783cf5ebdd86d
+MD5 (tund-0.20.tar.gz) = b5027241938f60033c103b3b44769bbf
diff --git a/net/tund/files/patch-aa b/net/tund/files/patch-aa
new file mode 100644
index 00000000000..cb11aab93c8
--- /dev/null
+++ b/net/tund/files/patch-aa
@@ -0,0 +1,19 @@
+--- Makefile.orig Fri Sep 17 14:20:52 1999
++++ Makefile Fri Sep 17 14:21:05 1999
+@@ -10,13 +10,13 @@
+ all: rsa_kg pkey_gen tund keygen
+
+ rsa_kg: rsa_kg.c tund.h
+- $(CC) -o rsa_kg rsa_kg.c $(INC) $(LIB) -lcrypto
++ $(CC) -o rsa_kg rsa_kg.c $(INC) $(LIB) -lcrypto $(EXTRA_SSL_LIBS)
+
+ pkey_gen: pkey_gen.c tund.h
+- $(CC) -o pkey_gen pkey_gen.c $(INC) $(LIB) -lcrypto
++ $(CC) -o pkey_gen pkey_gen.c $(INC) $(LIB) -lcrypto $(EXTRA_SSL_LIBS)
+
+ tund: main.o tund.o secur.o scb.o utils.o md5.o alarm.o cipher.o search.o
+- $(CC) -static -o tund main.o tund.o secur.o scb.o utils.o md5.o alarm.o cipher.o search.o $(LIB) -lmd -lcrypto
++ $(CC) -static -o tund main.o tund.o secur.o scb.o utils.o md5.o alarm.o cipher.o search.o $(LIB) -lmd -lcrypto $(EXTRA_SSL_LIBS)
+
+ main.o: main.c tund.h
+ $(CC) -c main.c $(INC)
diff --git a/net/tund/pkg-comment b/net/tund/pkg-comment
index be15ff3691b..be1bc986248 100644
--- a/net/tund/pkg-comment
+++ b/net/tund/pkg-comment
@@ -1 +1 @@
-IP over UDP tunnel assistant
+IP over UDP tunnel with encryption
diff --git a/net/tund/pkg-descr b/net/tund/pkg-descr
index 7ac1d2c5472..816ba1923d0 100644
--- a/net/tund/pkg-descr
+++ b/net/tund/pkg-descr
@@ -1,8 +1,10 @@
-TUND allows one to organize an IP over IP tunnel (IP packets are incapsulated
-into UDP ones). It works together with FreeBSD ipfw(8). It can be used
-for tunneling private networks behind NATD.
+TUND allows to organize IP over IP tunnel (IP packets are incapsulated
+into UDP one). It works together with FreeBSD ipfw(8). Can be used
+for tunneling private networks behinf NATD. Supports encryption with various
+ciphers, RSA authentication, multiple and parallel tunnels (up to 65534
+tunnels) with single UDP port.
-WWW: http://www.chg.ru/~ks/tund/
+WWW: http://www.chg.ru/~ks/tund
Sergey Kosyakov
ks@itp.ac.ru
diff --git a/net/tund/pkg-plist b/net/tund/pkg-plist
index 05ad07a924a..cd486a1f5c3 100644
--- a/net/tund/pkg-plist
+++ b/net/tund/pkg-plist
@@ -1 +1,6 @@
+etc/tund.conf
+etc/tund.hosts.key
+etc/tund.rsa.key
+etc/tund.seed.rng
+sbin/pkey_gen
sbin/tund