From 26827296acb25fdc72e3aa0ad62a73ff1c3ad6e8 Mon Sep 17 00:00:00 2001 From: Mateusz Piotrowski <0mp@FreeBSD.org> Date: Fri, 31 Jan 2020 16:39:19 +0000 Subject: [PATCH] security/strongswan: Add PYTHON plugin option for a VICI protocol plugin PR: 243254 Submitted by: Dries Michiels Approved by: maintainer Event: Brussels DevSummit 2020 --- security/strongswan/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/security/strongswan/Makefile b/security/strongswan/Makefile index ec4bb0381ed6..b6ae86fd55eb 100644 --- a/security/strongswan/Makefile +++ b/security/strongswan/Makefile @@ -43,7 +43,7 @@ CONFIGURE_ARGS= --enable-kernel-pfkey \ OPTIONS_DEFINE= CURL EAPAKA3GPP2 EAPDYNAMIC EAPRADIUS EAPSIMFILE GCM IKEV1 \ IPSECKEY KERNELLIBIPSEC LOADTESTER LDAP MEDIATION MYSQL PKI \ - PKCS11 SCEP SMP SQLITE SWANCTL TESTVECTOR TPM UNBOUND UNITY \ + PKCS11 PYTHON SCEP SMP SQLITE SWANCTL TESTVECTOR TPM UNBOUND UNITY \ VICI XAUTH OPTIONS_DEFINE_i386= VIA OPTIONS_DEFAULT= BUILTIN CURL IKEV1 PKI SWANCTL VICI @@ -67,6 +67,7 @@ LOADTESTER_DESC= Enable load testing plugin MEDIATION_DESC= Enable IKEv2 Mediation Extension PKCS11_DESC= Enable PKCS11 token support PKI_DESC= Enable PKI tools +PYTHON_DESC= Python VICI protocol plugin SCEP_DESC= Enable Simple Certificate Enrollment Protocol SMP_DESC= Enable XML-based management protocol (DEPRECATED) SWANCTL_DESC= Install swanctl (requires VICI) @@ -101,6 +102,9 @@ MYSQL_CONFIGURE_ON= --enable-mysql MYSQL_USES= mysql PKCS11_CONFIGURE_ON= --enable-pkcs11 PKI_CONFIGURE_OFF= --disable-pki +PYTHON_IMPLIES= VICI +PYTHON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}vici>0:security/py-vici@${PY_FLAVOR} +PYTHON_USES= python SCEP_CONFIGURE_OFF= --disable-scepclient SMP_CONFIGURE_ON= --enable-smp SMP_LIB_DEPENDS= libxml2.so:textproc/libxml2