Released a few hours ago, tests welcome. https://github.com/OpenVPN/openvpn/blob/release/2.4/Changes.rst
Index: Makefile =================================================================== RCS file: /cvs/ports/net/openvpn/Makefile,v retrieving revision 1.89 diff -u -p -r1.89 Makefile --- Makefile 9 Mar 2018 12:37:12 -0000 1.89 +++ Makefile 24 Apr 2018 13:21:54 -0000 @@ -2,8 +2,7 @@ COMMENT= easy-to-use, robust, and highly configurable VPN -DISTNAME= openvpn-2.4.5 -REVISION= 1 +DISTNAME= openvpn-2.4.6 CATEGORIES= net security HOMEPAGE= https://openvpn.net/index.php/open-source/ Index: distinfo =================================================================== RCS file: /cvs/ports/net/openvpn/distinfo,v retrieving revision 1.40 diff -u -p -r1.40 distinfo --- distinfo 4 Mar 2018 19:03:00 -0000 1.40 +++ distinfo 24 Apr 2018 13:21:54 -0000 @@ -1,2 +1,2 @@ -SHA256 (openvpn-2.4.5.tar.gz) = sVgv9+u7ZxlgSKVokRhWRwFErNQg3oJnAUjL/6oPvzM= -SIZE (openvpn-2.4.5.tar.gz) = 1430930 +SHA256 (openvpn-2.4.6.tar.gz) = c429N/z465OCxTYo2yIljEG6lVAWVRnZIA6L6670y+I= +SIZE (openvpn-2.4.6.tar.gz) = 1431971 Index: patches/patch-src_openvpn_openssl_compat_h =================================================================== RCS file: patches/patch-src_openvpn_openssl_compat_h diff -N patches/patch-src_openvpn_openssl_compat_h --- patches/patch-src_openvpn_openssl_compat_h 5 Mar 2018 22:45:24 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,25 +0,0 @@ -$OpenBSD: patch-src_openvpn_openssl_compat_h,v 1.1 2018/03/05 22:45:24 jca Exp $ - -XXX temporary see src/lib/libssl/ssl.h rev 1.146 - -Index: src/openvpn/openssl_compat.h ---- src/openvpn/openssl_compat.h.orig -+++ src/openvpn/openssl_compat.h -@@ -711,7 +711,7 @@ SSL_CTX_get_max_proto_version(SSL_CTX *ctx) - } - #endif /* SSL_CTX_get_max_proto_version */ - --#ifndef SSL_CTX_set_min_proto_version -+#if 0 - /** Mimics SSL_CTX_set_min_proto_version for OpenSSL < 1.1 */ - static inline int - SSL_CTX_set_min_proto_version(SSL_CTX *ctx, long tls_ver_min) -@@ -740,7 +740,7 @@ SSL_CTX_set_min_proto_version(SSL_CTX *ctx, long tls_v - } - #endif /* SSL_CTX_set_min_proto_version */ - --#ifndef SSL_CTX_set_max_proto_version -+#if 0 - /** Mimics SSL_CTX_set_max_proto_version for OpenSSL < 1.1 */ - static inline int - SSL_CTX_set_max_proto_version(SSL_CTX *ctx, long tls_ver_max) -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE