Browse Source
Merge pull request #15430 from pprindeville/strongswan-add-ipsec-warning
strongswan: add deprecation warning to ipsec script
lilik-openwrt-22.03
Philip Prindeville
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
3 additions and
1 deletions
-
net/strongswan/Makefile
-
net/strongswan/files/ipsec.init
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
|
PKG_NAME:=strongswan |
|
|
PKG_NAME:=strongswan |
|
|
PKG_VERSION:=5.9.2 |
|
|
PKG_VERSION:=5.9.2 |
|
|
PKG_RELEASE:=3 |
|
|
|
|
|
|
|
|
PKG_RELEASE:=4 |
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 |
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 |
|
|
PKG_SOURCE_URL:=https://download.strongswan.org/ https://download2.strongswan.org/ |
|
|
PKG_SOURCE_URL:=https://download.strongswan.org/ https://download2.strongswan.org/ |
|
|
|
@ -354,6 +354,8 @@ service_triggers() { |
|
|
start_service() { |
|
|
start_service() { |
|
|
prepare_env |
|
|
prepare_env |
|
|
|
|
|
|
|
|
|
|
|
warning "Strongswan is deprecating the ipsec CLI; please migrate to swanctl." |
|
|
|
|
|
|
|
|
[ $WAIT_FOR_INTF -eq 1 ] && return |
|
|
[ $WAIT_FOR_INTF -eq 1 ] && return |
|
|
|
|
|
|
|
|
procd_open_instance |
|
|
procd_open_instance |
|
|