Hi maintainer and possibly other devs :-). I'm in the need of the python API for libvici for strongSwan as I need to script a few things. The python module is in the link below. https://github.com/strongswan/strongswan/tree/master/src/libcharon/plugins/vici/python The plugin is in the same repository as the main strongSwan port. So my question is, do we want to create an option to the current port to include the python interface or do we create a seperate port that gives this functionality? eg py-strongswan-libvici Regards, Dries
Per the repositories setup.py[.in], vici is already packaged in PyPI as "vici" [1] It should be ported/packaged individually under the name sysutils/py-vici, or security/py-vici to match strongswan's category. Strongswan may then add a PYTHON option which *_DEPENDS on that port. Please create a new Bugzilla issue that "Blocks" this issue ID, with summary: "[NEW PORT] security/py-vici: Native Python interface for strongSwan's VICI protocol" [1] https://pypi.org/project/vici/
Created attachment 210802 [details] strongswan.diff Initial patch that adds the PYVICI option. Feedback always welcome.
(In reply to Dries Michiels from comment #2) I'd name this PYTHON, "Python vici protocol plugin" as its PYTHON_DESC, leaving room to create a VICI options group in the future for the other plugin implementations that exist [1] [1] https://wiki.strongswan.org/projects/strongswan/wiki/Vici#Writing-clients
Created attachment 210824 [details] strongswanv2.diff Rename option to PYTHON with description suggested by koobs.
Comment on attachment 210824 [details] strongswanv2.diff I am happy with this update once Bug 243270 has been committed.
Grab.
A commit references this bug: Author: 0mp Date: Fri Jan 31 16:39:20 UTC 2020 New revision: 524730 URL: https://svnweb.freebsd.org/changeset/ports/524730 Log: security/strongswan: Add PYTHON plugin option for a VICI protocol plugin PR: 243254 Submitted by: Dries Michiels <driesm.michiels@gmail.com> Approved by: maintainer Event: Brussels DevSummit 2020 Changes: head/security/strongswan/Makefile
Thank you for the patch!