aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Prindeville <philipp@redfish-solutions.com>2021-04-15 01:31:25 -0600
committerGitHub <noreply@github.com>2021-04-15 01:31:25 -0600
commitc62d9ebec96dff877b1beb5b564b0bee67afea7d (patch)
tree0ab2ac0b7a95fdcb3ea2f3304f121027c83c8541
parent2fe47aff5be2dd7054de9cee0eb9eebc8164b657 (diff)
parent505db629de182cb385fb899139a8dd5df394b8bf (diff)
Merge pull request #15430 from pprindeville/strongswan-add-ipsec-warning
strongswan: add deprecation warning to ipsec script
-rw-r--r--net/strongswan/Makefile2
-rw-r--r--net/strongswan/files/ipsec.init2
2 files changed, 3 insertions, 1 deletions
diff --git a/net/strongswan/Makefile b/net/strongswan/Makefile
index d58afad99..ff7d5cefe 100644
--- a/net/strongswan/Makefile
+++ b/net/strongswan/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=strongswan
PKG_VERSION:=5.9.2
-PKG_RELEASE:=3
+PKG_RELEASE:=4
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://download.strongswan.org/ https://download2.strongswan.org/
diff --git a/net/strongswan/files/ipsec.init b/net/strongswan/files/ipsec.init
index bbfa573d6..c5588e8cf 100644
--- a/net/strongswan/files/ipsec.init
+++ b/net/strongswan/files/ipsec.init
@@ -354,6 +354,8 @@ service_triggers() {
start_service() {
prepare_env
+ warning "Strongswan is deprecating the ipsec CLI; please migrate to swanctl."
+
[ $WAIT_FOR_INTF -eq 1 ] && return
procd_open_instance