strongswan: add deprecation warning to ipsec script
authorPhilip Prindeville <redacted>
Wed, 14 Apr 2021 18:27:07 +0000 (12:27 -0600)
committerPhilip Prindeville <redacted>
Wed, 14 Apr 2021 18:27:07 +0000 (12:27 -0600)
Signed-off-by: Philip Prindeville <redacted>
net/strongswan/Makefile
net/strongswan/files/ipsec.init

index d58afad99871d94871e0183ccbcb8915f583faa1..ff7d5cefe6c9193097c3cd0cd2e6c31fb68bf23f 100644 (file)
@@ -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/
index bbfa573d69a41c2613f2a8f32f7210595e04fea4..c5588e8cf3c6e629148f6f2e51ceaf7a3a43a5a0 100644 (file)
@@ -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
git clone https://git.99rst.org/PROJECT