FreeBSD Bugzilla – Attachment 225035 Details for
Bug 255952
security/strongswan: rc-script: fix comments, make default interface options-dependent
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
strongswan default control-interface fix
0001-Fix-default-interface-in-rc-script.patch (text/plain), 1.36 KB, created by
Sergey Akhmatov
on 2021-05-17 18:50:22 UTC
(
hide
)
Description:
strongswan default control-interface fix
Filename:
MIME Type:
Creator:
Sergey Akhmatov
Created:
2021-05-17 18:50:22 UTC
Size:
1.36 KB
patch
obsolete
>From c256bf54d0fa361f99ad3e13871418ebda50b2e9 Mon Sep 17 00:00:00 2001 >From: Sergey Akhmatov <sergey@akhmatov.ru> >Date: Mon, 17 May 2021 21:33:57 +0300 >Subject: [PATCH] Fix default interface in rc-script > > >diff --git a/security/strongswan/Makefile b/security/strongswan/Makefile >index 2a0d6853d12e..9640c1227e33 100644 >--- a/security/strongswan/Makefile >+++ b/security/strongswan/Makefile >@@ -125,6 +125,8 @@ UNBOUND_CONFIGURE_ON= --enable-unbound > UNITY_CONFIGURE_ON= --enable-unity > VIA_CONFIGURE_ON= --enable-padlock > VICI_CONFIGURE_ON= --enable-vici >+VICI_SUB_LIST= INTERFACE="vici" >+VICI_SUB_LIST_OFF= INTERFACE="stroke" > VSTR_LIB_DEPENDS= libvstr.so:devel/vstr > VSTR_CONFIGURE_ON= --with-printf-hooks=vstr > XAUTH_CONFIGURE_ON= --enable-xauth-eap \ >diff --git a/security/strongswan/files/strongswan.in b/security/strongswan/files/strongswan.in >index 6bb22a8c7b3b..443e2e4738a2 100644 >--- a/security/strongswan/files/strongswan.in >+++ b/security/strongswan/files/strongswan.in >@@ -14,7 +14,7 @@ > # Valid options are: > # "stroke" for the old ipsec/startr interface > # "vici" for the newer swanctl intrface >-# Default is "stroke" >+# Default is "%%INTERFACE%%" > > . /etc/rc.subr > >@@ -26,7 +26,7 @@ rcvar=strongswan_enable > load_rc_config $name > > : ${strongswan_enable:=NO} >-: ${strongswan_interface:="vici"} >+: ${strongswan_interface:="%%INTERFACE%%"} > > extra_commands="reload statusall" >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 255952
: 225035 |
225083