From 934fb54861552a0bb88425e66d0604f72d6a2b95 Mon Sep 17 00:00:00 2001 From: Mateusz Piotrowski <0mp@FreeBSD.org> Date: Fri, 31 Jan 2020 16:26:26 +0000 Subject: [PATCH] New port: security/py-vici: Native Python interface for strongSwan's VICI protocol The strongSwan VICI protocol allows external applications to monitor, configure and control the IKE daemon charon. This Python package provides a native client side implementation of the VICI protocol, well suited to script automated tasks in a reliable way. WWW: https://pypi.org/project/vici/ Event: Brussels DevSummit 2020 PR: 243270 Submitted by: Dries Michiels --- security/py-vici/Makefile | 27 +++++++++++++++++++++++++++ security/py-vici/distinfo | 3 +++ security/py-vici/pkg-descr | 6 ++++++ 3 files changed, 36 insertions(+) create mode 100644 security/py-vici/Makefile create mode 100644 security/py-vici/distinfo create mode 100644 security/py-vici/pkg-descr diff --git a/security/py-vici/Makefile b/security/py-vici/Makefile new file mode 100644 index 000000000000..bacf25144854 --- /dev/null +++ b/security/py-vici/Makefile @@ -0,0 +1,27 @@ +# $FreeBSD$ + +PORTNAME= vici +DISTVERSION= 5.8.2 +CATEGORIES= security net-vpn python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= driesm.michiels@gmail.com +COMMENT= Native Python interface for strongSwan's VICI protocol + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycodestyle>0:devel/py-pycodestyle@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tox>0:devel/py-tox@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +do-test: # skip non installed python versions in the tests (because flavors) + cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m tox --skip-missing-interpreters + +.include diff --git a/security/py-vici/distinfo b/security/py-vici/distinfo new file mode 100644 index 000000000000..2b7cf1289748 --- /dev/null +++ b/security/py-vici/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1579026725 +SHA256 (vici-5.8.2.tar.gz) = d642573afa07005914e5449486e53a5efa3419caf8cbd4491bdb62fc45f8b700 +SIZE (vici-5.8.2.tar.gz) = 9615 diff --git a/security/py-vici/pkg-descr b/security/py-vici/pkg-descr new file mode 100644 index 000000000000..f52d52c66007 --- /dev/null +++ b/security/py-vici/pkg-descr @@ -0,0 +1,6 @@ +The strongSwan VICI protocol allows external applications to +monitor, configure and control the IKE daemon charon. +This Python package provides a native client side implementation +of the VICI protocol, well suited to script automated tasks in a reliable way. + +WWW: https://pypi.org/project/vici/