Hey, OpenVPN got audited and they found some vulnerabilities [1]. They released 2.4.2 to fix these issues.
Here's a diff to update the port. I tested it as a client and as always more tests are wanted. [1]: https://ostif.org/the-openvpn-2-4-0-audit-by-ostif-and-quarkslab-results/ Cheers, Daniel Index: Makefile =================================================================== RCS file: /cvs/ports/net/openvpn/Makefile,v retrieving revision 1.74 diff -u -p -r1.74 Makefile --- Makefile 16 Apr 2017 20:14:17 -0000 1.74 +++ Makefile 12 May 2017 01:34:40 -0000 @@ -2,8 +2,7 @@ COMMENT= easy-to-use, robust, and highly configurable VPN -DISTNAME= openvpn-2.4.1 -REVISION= 0 +DISTNAME= openvpn-2.4.2 CATEGORIES= net security HOMEPAGE= https://openvpn.net/index.php/open-source/ Index: distinfo =================================================================== RCS file: /cvs/ports/net/openvpn/distinfo,v retrieving revision 1.36 diff -u -p -r1.36 distinfo --- distinfo 28 Mar 2017 22:16:37 -0000 1.36 +++ distinfo 12 May 2017 01:34:40 -0000 @@ -1,2 +1,2 @@ -SHA256 (openvpn-2.4.1.tar.gz) = gxoaBSaP47FkbTZ+JVnP+U00fSE8qJlcxIpO7cRSCXo= -SIZE (openvpn-2.4.1.tar.gz) = 1385789 +SHA256 (openvpn-2.4.2.tar.gz) = skdAydRKgeryvvxIRtUURaUgEEMh4yqvDBNe0uCYpiQ= +SIZE (openvpn-2.4.2.tar.gz) = 1402516 Index: patches/patch-configure =================================================================== RCS file: /cvs/ports/net/openvpn/patches/patch-configure,v retrieving revision 1.15 diff -u -p -r1.15 patch-configure --- patches/patch-configure 28 Mar 2017 22:16:37 -0000 1.15 +++ patches/patch-configure 12 May 2017 01:34:40 -0000 @@ -1,7 +1,8 @@ $OpenBSD: patch-configure,v 1.15 2017/03/28 22:16:37 jca Exp $ ---- configure.orig Wed Mar 22 16:34:35 2017 -+++ configure Mon Mar 27 06:03:11 2017 -@@ -17299,7 +17299,7 @@ else +Index: configure +--- configure.orig ++++ configure +@@ -17187,7 +17187,7 @@ else fi