Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
PKG_NAME:=strongswan
PKG_VERSION:=5.9.10
-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/
local enabled
local gateway
- local local_gateway
local local_sourceip
local local_ip
local remote_gateway
[ "$gateway" = "any" ] && remote_gateway="%any" || remote_gateway="$gateway"
- local ipdest
- [ "$remote_gateway" = "%any" ] && ipdest="1.1.1.1" || ipdest="$remote_gateway"
- local_gateway=`ip -o route get $ipdest | awk '/ src / { gsub(/^.* src /,""); gsub(/ .*$/, ""); print $0}'`
-
if [ -n "$local_key" ]; then
[ "$(dirname "$local_key")" != "." ] && \
fatal "local_key $local_key can't be pathname"