summaryrefslogtreecommitdiff
path: root/security/openvpn22/files/patch-t_cltsrv.sh
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2013-01-11 23:09:37 +0000
committerMatthias Andree <mandree@FreeBSD.org>2013-01-11 23:09:37 +0000
commit51939c51c12e7a7bfed557c620068da8eedb6062 (patch)
tree5b6711e0f4cc89a423ea6559a20d4d19cab2939b /security/openvpn22/files/patch-t_cltsrv.sh
parentReadd vmware and voodoo video drivers which got lost in the OptionNG conversion. (diff)
OpenVPN changes, upgrades and fixes:
- Upgrade security/openvpn to v2.3.0 (changes installed layout a bit), splitting and re-diffing patches. - Retain v2.2.2 as security/openvpn22 - Mark security/openvpn20 as deprecated and to expire 6 months from now - Fix TCP_NODELAY option (openvpn 2.3, 2.2), see <http://community.openvpn.net/openvpn/ticket/158> - Fix PassTOS option (openvpn 2.2, 2.0), see http://community.openvpn.net/openvpn/ticket/135
Notes
Notes: svn path=/head/; revision=310252
Diffstat (limited to 'security/openvpn22/files/patch-t_cltsrv.sh')
-rw-r--r--security/openvpn22/files/patch-t_cltsrv.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/security/openvpn22/files/patch-t_cltsrv.sh b/security/openvpn22/files/patch-t_cltsrv.sh
new file mode 100644
index 000000000000..fbb05b3bd162
--- /dev/null
+++ b/security/openvpn22/files/patch-t_cltsrv.sh
@@ -0,0 +1,21 @@
+--- ./t_cltsrv.sh.orig 2011-05-16 14:21:55.000000000 +0200
++++ ./t_cltsrv.sh 2011-08-17 00:25:49.000000000 +0200
+@@ -26,14 +26,14 @@
+ FreeBSD)
+ # FreeBSD jails map the outgoing IP to the jail IP - we need to
+ # allow the real IP unless we want the test to run forever.
+- if test "`sysctl 2>/dev/null -n security.jail.jailed`" = 1 \
+- || ps -ostate= -p $$ | grep -q J; then
++ if true ; then
+ addopts="--float"
+ if test "x`ifconfig | grep inet`" = x ; then
+ echo "###"
+- echo "### To run the test in a FreeBSD jail, you MUST add an IP alias for the jail's IP."
++ echo "### To run this test, it needs an inet/IP address. Skipping."
+ echo "###"
+- exit 1
++ trap 0
++ exit 77
+ fi
+ fi
+ ;;