Created attachment 225035 [details] strongswan default control-interface fix PR249865 changed default control interface from "stroke" to "vici", but the comment in rc-script still says: # Default is "stroke" At first I wanted just to fix this comment, but instead decided to make the default control interface (along with comment) options-dependent to have rc-script working out-of-the box with VICI_OPTION= OFF If this change seems like overcomplication to @maintainer, just fix the comment please.
Change from stroke to vici was indeed a POLA violation.
Created attachment 225083 [details] strongswan default control-interface fix update I like the update as you have it. It makes it very simple when someone actually elects to not use vici and still use the stroke interface. I just added a pkg-message as well to indicate that the default interface was updated to vici.
The patch can be commited if the committer is happy with it.
Comment on attachment 225035 [details] strongswan default control-interface fix Updated with new fix.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=0ca8849103d5838079aa6433722e5c335dcc955d commit 0ca8849103d5838079aa6433722e5c335dcc955d Author: Sergey Akhmatov <sergey@akhmatov.ru> AuthorDate: 2021-05-19 11:12:57 +0000 Commit: Juraj Lutter <otis@FreeBSD.org> CommitDate: 2021-05-19 11:23:52 +0000 security/strongswan: Fix default control-interface Fix default control-interface in rc.d script and also make it user-selectable at build time, defaulting to VICI. Also mention this change in pkg-message, as previously the default was "stroke" and it was changed to "vici" with only a short notice in UPDATING, that was not displayed when using binary upgrades. Committing a portfmt'd version. PR: 255952 Approved by: strongswan@Nanoteq.com (maintainer) security/strongswan/Makefile | 186 ++++++++++++++++---------------- security/strongswan/files/strongswan.in | 4 +- security/strongswan/pkg-message (new) | 19 ++++ 3 files changed, 116 insertions(+), 93 deletions(-)
Committed, thanks.