From nobody Wed Jun 01 22:08:34 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 521041B6143F; Wed, 1 Jun 2022 22:08:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LD3FH1nvLz3CJF; Wed, 1 Jun 2022 22:08:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654121315; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lkSHFhAVCiTNvrf+Zoe1VGARAAlQsYwkGRMNPGAYA+I=; b=m2mr62+A8B3pQEjetxAmDjIGkqoRiCAEj2Ia5PrhDQRDHXup+BW/cLW8ivf2oxsVTZyZpu 7pt8Ma3pABu3KkMgf3yl9upqSxcw4NnYCkVCVC8jvv+2CUIDVqOiGGJwrxSlt5KOanLw3r Ng3xWCYCqgokz0IMZiao/QkNsrU1vHOAn8TRwV+RVfyAzYcvc8sXsAROsFDjCQqX38giDW I5FY2+paFZyiSRz14VZO0Q5uGkC1HVMp0hk2uYOCxnmZjwqJubZ4dTUA4Xil6uq8DS5oRE chpFl+BtpQWmXlIhlEntX1cH8fqofwoAnzmwGun6kNfaC5cIQgfj9E6hSricVA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 19E98602; Wed, 1 Jun 2022 22:08:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 251M8YfN058010; Wed, 1 Jun 2022 22:08:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 251M8YKP058009; Wed, 1 Jun 2022 22:08:34 GMT (envelope-from git) Date: Wed, 1 Jun 2022 22:08:34 GMT Message-Id: <202206012208.251M8YKP058009@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dries Michiels Subject: git: b3a2477de75e - main - security/strongswan: add CTR plugin option List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: driesm X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b3a2477de75eeaac86240462bd3d76abef0c2c2c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654121315; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lkSHFhAVCiTNvrf+Zoe1VGARAAlQsYwkGRMNPGAYA+I=; b=NWSJgRjLC4nAQ9MK32Eu18tJzHHkIWEzQMu8kY/nlWKeQSy81RB7xvLGm8DSvEJEWWEsCY U0RUBePsN3568apzci9MfdNlDqhKf9pw2frrLxfUGRvtdHEm6n6NMIPdD3dcDejvIDZbQb qidhuOj7rzWvbLO9aCvMnh93W2aMAP1X67f7JfC238RhkkPBDJSdB/SDGpGI1mYi/GQ7B1 US5+V6qu5vzkhCy0wvMq8rQLbn2/XxaLCAGDPtPq4ItVBDR9Oe+H5+vru3xZf3o0VzZa+o 8UNxbezV0xiey+QqUNvXzfqkYa4m+9db8wG/6Xbg9gVOtO3NsEdRUNyLoV86PQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654121315; a=rsa-sha256; cv=none; b=l1ueBbefybYD+UA8OcHhVQ5MIeif9n/1Fbh+hNMcFXC6TexfTT/Jfza8h1LRdIGLdIsdoZ YQOHMcQ6Q0yxoz+tWmLfPJqPyjPRQeAANTHTS5qeHwEHbhlLL+fGJv2DNT+GL774p/dDtL nI24Mo/VFlB90mq4Lsm+AtW4Osw8yBJDCQEiVx5JqjJ3cyXYSiuitQnQBn3NA1AnF66yPY eHcdAZK2LFIOH6OEKITH4smC6dr0VCDwIxrd1rHGjT8TEamRT/NqcXVB+V6izo0lOekpU6 1Aa9OFvh1/MfwYg4EMZQimA/WOj+txnZfGg6MrOGetPYbKU2Y38lIvZzono08g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by driesm: URL: https://cgit.FreeBSD.org/ports/commit/?id=b3a2477de75eeaac86240462bd3d76abef0c2c2c commit b3a2477de75eeaac86240462bd3d76abef0c2c2c Author: Björn König AuthorDate: 2022-06-01 21:52:04 +0000 Commit: Dries Michiels CommitDate: 2022-06-01 22:03:17 +0000 security/strongswan: add CTR plugin option PR: 264354 Approved by: Francois ten Krooden (maintainer) --- security/strongswan/Makefile | 5 ++++- security/strongswan/pkg-plist | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/security/strongswan/Makefile b/security/strongswan/Makefile index 089d49876393..a7dd87435306 100644 --- a/security/strongswan/Makefile +++ b/security/strongswan/Makefile @@ -1,5 +1,6 @@ PORTNAME= strongswan DISTVERSION= 5.9.6 +PORTREVISION= 1 CATEGORIES= security net-vpn MASTER_SITES= https://download.strongswan.org/ \ https://download2.strongswan.org/ @@ -38,7 +39,7 @@ CONFIGURE_ARGS= --disable-gmp \ INSTALL_TARGET= install-strip TEST_TARGET= check -OPTIONS_DEFINE= CURL EAPAKA3GPP2 EAPDYNAMIC EAPRADIUS \ +OPTIONS_DEFINE= CTR CURL EAPAKA3GPP2 EAPDYNAMIC EAPRADIUS \ EAPSIMFILE FARP GCM IKEV1 IPSECKEY KDF \ KERNELLIBIPSEC LDAP LOADTESTER MEDIATION MYSQL \ PKCS11 PKI PYTHON SCEP SMP SQLITE SWANCTL \ @@ -51,6 +52,7 @@ OPTIONS_SUB= yes # Description of options BUILTIN_DESC= Use builtin printf hooks +CTR_DESC= Enable CTR cipher mode wrapper plugin CURL_DESC= Enable CURL to fetch CRL/OCSP EAPAKA3GPP2_DESC= Enable EAP AKA with 3gpp2 backend EAPDYNAMIC_DESC= Enable EAP dynamic proxy module @@ -83,6 +85,7 @@ XAUTH_DESC= Enable XAuth password verification # Extra options BUILTIN_CONFIGURE_ON= --with-printf-hooks=builtin +CTR_CONFIGURE_ON= --enable-ctr CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CONFIGURE_ON= --enable-curl EAPAKA3GPP2_LIB_DEPENDS= libgmp.so:math/gmp diff --git a/security/strongswan/pkg-plist b/security/strongswan/pkg-plist index 44719db43143..b2e8b6cf9f43 100644 --- a/security/strongswan/pkg-plist +++ b/security/strongswan/pkg-plist @@ -13,6 +13,7 @@ @sample %%ETCDIR%%.d/charon/cmac.conf.sample @sample %%ETCDIR%%.d/charon/constraints.conf.sample @sample %%ETCDIR%%.d/charon/counters.conf.sample +%%CTR%%@sample %%ETCDIR%%.d/charon/ctr.conf.sample %%CURL%%@sample %%ETCDIR%%.d/charon/curl.conf.sample @sample %%ETCDIR%%.d/charon/curve25519.conf.sample @sample %%ETCDIR%%.d/charon/des.conf.sample @@ -135,6 +136,8 @@ lib/ipsec/plugins/libstrongswan-constraints.la lib/ipsec/plugins/libstrongswan-constraints.so lib/ipsec/plugins/libstrongswan-counters.la lib/ipsec/plugins/libstrongswan-counters.so +%%CTR%%lib/ipsec/plugins/libstrongswan-ctr.la +%%CTR%%lib/ipsec/plugins/libstrongswan-ctr.so %%CURL%%lib/ipsec/plugins/libstrongswan-curl.la %%CURL%%lib/ipsec/plugins/libstrongswan-curl.so lib/ipsec/plugins/libstrongswan-curve25519.la @@ -349,6 +352,7 @@ sbin/ipsec %%DATADIR%%/templates/config/plugins/pgp.conf %%DATADIR%%/templates/config/plugins/pkcs1.conf %%PKCS11%%%%DATADIR%%/templates/config/plugins/pkcs11.conf +%%CTR%%%%DATADIR%%/templates/config/plugins/ctr.conf %%DATADIR%%/templates/config/plugins/pkcs12.conf %%DATADIR%%/templates/config/plugins/pkcs7.conf %%DATADIR%%/templates/config/plugins/pkcs8.conf