aboutsummaryrefslogtreecommitdiff
path: root/security/vpnc
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2008-09-26 00:19:50 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2008-09-26 00:19:50 +0000
commit08f6086b0aeae6edfa6c0a40db047bb9e3a21213 (patch)
tree9940703b2cda20022e676139fd71b6835e60d5f7 /security/vpnc
parent4befb440afd26d5e51022dece56eacdcda1fafbb (diff)
downloadports-08f6086b0aeae6edfa6c0a40db047bb9e3a21213.tar.gz
ports-08f6086b0aeae6edfa6c0a40db047bb9e3a21213.zip
Notes
Diffstat (limited to 'security/vpnc')
-rw-r--r--security/vpnc/Makefile2
-rw-r--r--security/vpnc/files/patch-vpnc-script23
2 files changed, 22 insertions, 3 deletions
diff --git a/security/vpnc/Makefile b/security/vpnc/Makefile
index 68f94fb21430..c395b45754b6 100644
--- a/security/vpnc/Makefile
+++ b/security/vpnc/Makefile
@@ -7,7 +7,7 @@
PORTNAME= vpnc
PORTVERSION= 0.5.1
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= security
MASTER_SITES= http://www.unix-ag.uni-kl.de/~massar/vpnc/ \
CRITICAL
diff --git a/security/vpnc/files/patch-vpnc-script b/security/vpnc/files/patch-vpnc-script
index d4f4e4914d41..3d183f2d96a3 100644
--- a/security/vpnc/files/patch-vpnc-script
+++ b/security/vpnc/files/patch-vpnc-script
@@ -1,5 +1,8 @@
---- vpnc-script.orig 2008-02-26 00:42:09.000000000 +0100
-+++ vpnc-script 2008-02-26 00:43:41.000000000 +0100
+
+$FreeBSD$
+
+--- vpnc-script.orig
++++ vpnc-script
@@ -56,8 +56,8 @@
;;
esac
@@ -11,3 +14,19 @@
FULL_SCRIPTNAME=/usr/local/sbin/vpnc
SCRIPTNAME=`basename $FULL_SCRIPTNAME`
+@@ -407,11 +407,13 @@
+ fi
+ fi
+ elif [ "$OS" = "FreeBSD" ]; then
+- if [ ! -e /dev/tun ]; then
++ kldstat -q -m if_tun
++ if [ ${?} != 0 ]; then
+ kldload if_tun
+ fi
+ elif [ "$OS" = "GNU/kFreeBSD" ]; then
+- if [ ! -e /dev/tun ]; then
++ kldstat -q -m if_tun
++ if [ ${?} != 0 ]; then
+ kldload if_tun
+ fi
+ elif [ "$OS" = "NetBSD" ]; then