git: 4e7ee356bbfd - main - security/strongswan: Fix key derivation

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Thu, 16 Jun 2022 14:43:39 UTC
The branch main has been updated by fernape:

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

commit 4e7ee356bbfdef75435f4fd3e395ebb806eb8790
Author:     Francois ten Krooden <strongswan@Nanoteq.com>
AuthorDate: 2022-06-16 06:15:23 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2022-06-16 14:41:07 +0000

    security/strongswan: Fix key derivation
    
    An issue in the upstream port causes key derivation to fail in version 5.9.6.
    A work around is to enable the KDF pluging by default.
    
    PR:     264667
    Reported by:    strongswan@Nanoteq.com (maintainer)
---
 security/strongswan/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/security/strongswan/Makefile b/security/strongswan/Makefile
index a7dd87435306..ace6b5f45521 100644
--- a/security/strongswan/Makefile
+++ b/security/strongswan/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	strongswan
 DISTVERSION=	5.9.6
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security net-vpn
 MASTER_SITES=	https://download.strongswan.org/ \
 		https://download2.strongswan.org/
@@ -45,7 +45,7 @@ OPTIONS_DEFINE=			CTR CURL EAPAKA3GPP2 EAPDYNAMIC EAPRADIUS \
 				PKCS11 PKI PYTHON SCEP SMP SQLITE SWANCTL \
 				TESTVECTOR TPM TSS2 UNBOUND UNITY VICI XAUTH
 OPTIONS_DEFINE_i386=	VIA
-OPTIONS_DEFAULT=		BUILTIN CURL IKEV1 PKI SWANCTL VICI
+OPTIONS_DEFAULT=		BUILTIN CURL IKEV1 KDF PKI SWANCTL VICI
 OPTIONS_SINGLE=			PRINTF_HOOKS
 OPTIONS_SINGLE_PRINTF_HOOKS=	BUILTIN LIBC VSTR
 OPTIONS_SUB=			yes