git: c5c7369a3fe8 - main - security/openvpn-devel: Upgrade to current git revision, add DCO option

From: Matthias Andree <mandree_at_FreeBSD.org>
Date: Sun, 21 Aug 2022 09:29:32 UTC
The branch main has been updated by mandree:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c5c7369a3fe85961f8322531462d33465d4a89c7

commit c5c7369a3fe85961f8322531462d33465d4a89c7
Author:     Gert Doering <gert@greenie.muc.de>
AuthorDate: 2022-08-20 15:51:46 +0000
Commit:     Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2022-08-21 09:14:15 +0000

    security/openvpn-devel: Upgrade to current git revision, add DCO option
    
    commits up to 734de8f9aa2df bring a number new developments, especially
    inclusion of the "Data Channel Offload" (OpenVPN in kernel space)
    feature.
    
    Since this is still considered not very well tested and needs a
    very recent FreeBSD 14 kernel, this is off by default, and a new option
      [ ] DCO
    has been added to enable it.
---
 security/openvpn-devel/Makefile | 9 ++++++---
 security/openvpn-devel/distinfo | 6 +++---
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/security/openvpn-devel/Makefile b/security/openvpn-devel/Makefile
index 84af112f9556..4c2af67b83f1 100644
--- a/security/openvpn-devel/Makefile
+++ b/security/openvpn-devel/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	openvpn
-DISTVERSION=	g20220505
+DISTVERSION=	g20220820
 PORTREVISION=	0
 PORTEPOCH=	1
 CATEGORIES=	security net net-vpn
@@ -20,7 +20,7 @@ LIB_DEPENDS+=	liblzo2.so:archivers/lzo2
 USES=		autoreconf cpe libtool pkgconfig shebangfix tar:xz
 IGNORE_SSL=	libressl libressl-devel
 USE_GITLAB=	yes
-GL_COMMIT=	413877f522e89ccc6dd2543bc585ac553df3bd42
+GL_COMMIT=	734de8f9aa2df56bcb45ebab7cfa799a23f36403
 USE_RC_SUBR=	openvpn
 
 SHEBANG_FILES=	sample/sample-scripts/auth-pam.pl sample/sample-scripts/ucn.pl \
@@ -48,7 +48,7 @@ SUB_FILES=	openvpn-client pkg-message
 PORTDOCS=	*
 PORTEXAMPLES=	*
 
-OPTIONS_DEFINE=		DOCS EASYRSA EXAMPLES LZ4 PKCS11 SMALL TEST TUNNELBLICK \
+OPTIONS_DEFINE=		DOCS EASYRSA EXAMPLES LZ4 PKCS11 SMALL DCO TEST TUNNELBLICK \
 			X509ALTUSERNAME
 OPTIONS_DEFAULT=	EASYRSA LZ4 OPENSSL TEST
 OPTIONS_SINGLE=		SSL
@@ -63,6 +63,7 @@ PKCS11_PREVENTS=		MBEDTLS
 PKCS11_PREVENTS_MSG=		OpenVPN cannot use pkcs11-helper with mbedTLS. \
 				Disable PKCS11, or use OpenSSL instead
 SMALL_DESC=			Build a smaller executable with fewer features
+DCO_DESC=			Build with Data Channel Offload (ovpn(4)) support
 TUNNELBLICK_DESC=		Tunnelblick XOR scramble patch (READ HELP!)
 X509ALTUSERNAME_DESC=		Enable --x509-username-field (OpenSSL only)
 X509ALTUSERNAME_PREVENTS=	MBEDTLS
@@ -88,6 +89,8 @@ PKCS11_CONFIGURE_ENABLE=	pkcs11
 
 SMALL_CONFIGURE_ON=	--enable-small
 
+DCO_CONFIGURE_ON=	--enable-dco
+
 TEST_ALL_TARGET=	check
 TEST_TEST_TARGET_OFF=	check
 
diff --git a/security/openvpn-devel/distinfo b/security/openvpn-devel/distinfo
index 9540519681df..58730690351c 100644
--- a/security/openvpn-devel/distinfo
+++ b/security/openvpn-devel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1651842216
-SHA256 (openvpn-openvpn-413877f522e89ccc6dd2543bc585ac553df3bd42_GL0.tar.gz) = d257178da53deebf09eeda9345cc3965193cc3a412437f247692b53eabf82c16
-SIZE (openvpn-openvpn-413877f522e89ccc6dd2543bc585ac553df3bd42_GL0.tar.gz) = 1187651
+TIMESTAMP = 1661008930
+SHA256 (openvpn-openvpn-734de8f9aa2df56bcb45ebab7cfa799a23f36403_GL0.tar.gz) = 9f6394769c9d03b3b5c792e8f8204c557880eef7606e9389ccae872653632152
+SIZE (openvpn-openvpn-734de8f9aa2df56bcb45ebab7cfa799a23f36403_GL0.tar.gz) = 1148248