summaryrefslogtreecommitdiff
path: root/security/openvpn22/files/patch-syshead.h
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-syshead.h
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-syshead.h')
-rw-r--r--security/openvpn22/files/patch-syshead.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/security/openvpn22/files/patch-syshead.h b/security/openvpn22/files/patch-syshead.h
new file mode 100644
index 000000000000..8f050287569f
--- /dev/null
+++ b/security/openvpn22/files/patch-syshead.h
@@ -0,0 +1,16 @@
+Work around "missing" TCP_NODELAY,
+obtained from: http://community.openvpn.net/openvpn/ticket/158
+
+--- ./syshead.h.orig 2012-11-22 13:07:51.000000000 +0100
++++ ./syshead.h 2013-01-11 21:30:07.000000000 +0100
+@@ -298,6 +298,10 @@
+ #include <netinet/ip.h>
+ #endif
+
++#ifdef HAVE_NETINET_TCP_H
++#include <netinet/tcp.h>
++#endif
++
+ #ifdef HAVE_NET_IF_TUN_H
+ #include <net/if_tun.h>
+ #endif