git: b66f0654e7db - main - security/openvpn-mbedtls: sunset port.

From: Matthias Andree <mandree_at_FreeBSD.org>
Date: Sat, 04 Dec 2021 18:38:52 UTC
The branch main has been updated by mandree:

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

commit b66f0654e7db4c15e0973c3c9064331019f2712d
Author:     Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2021-12-04 18:38:05 +0000
Commit:     Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2021-12-04 18:38:41 +0000

    security/openvpn-mbedtls: sunset port.
    
    mbedTLS is obsolete through its lack of TLS v1.3 support
    OpenVPN-mbedtls does not work on 14-CURRENT.
    => remove this port and the MBEDTLS option end 2022Q1.
---
 security/openvpn-mbedtls/Makefile | 3 +++
 security/openvpn/Makefile         | 1 +
 2 files changed, 4 insertions(+)

diff --git a/security/openvpn-mbedtls/Makefile b/security/openvpn-mbedtls/Makefile
index 381fa31933a2..261a5fb120a9 100644
--- a/security/openvpn-mbedtls/Makefile
+++ b/security/openvpn-mbedtls/Makefile
@@ -4,6 +4,9 @@ PKGNAMESUFFIX=		-mbedtls
 
 COMMENT=		Secure IP/Ethernet tunnel daemon, mbedTLS-based build
 
+DEPRECATED=		mbedTLS lacks TLSv1.3 and OpenVPN-mbedtls does not work on FreeBSD 14-CURRENT
+EXPIRATION_DATE=	2022-03-31
+
 CONFLICTS_INSTALL=	openvpn openvpn-beta openvpn-devel
 
 OPTIONS_EXCLUDE=	OPENSSL PKCS11 X509ALTUSERNAME
diff --git a/security/openvpn/Makefile b/security/openvpn/Makefile
index fd1e39226ae9..491d24572863 100644
--- a/security/openvpn/Makefile
+++ b/security/openvpn/Makefile
@@ -93,6 +93,7 @@ CFLAGS+=		-DLOG_OPENVPN=${LOG_OPENVPN}
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MMBEDTLS}
+BROKEN_FreeBSD_14=      OpenVPN-mbedTLS fails on FreeBSD 14
 _tlslibs=libmbedtls libmbedx509 libmbedcrypto
 .else
 # OpenSSL