Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
PKG_NAME:=strongswan
PKG_VERSION:=5.9.2
-PKG_RELEASE:=5
+PKG_RELEASE:=6
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://download.strongswan.org/ https://download2.strongswan.org/
ORG="$1"; shift
# invariants...
-STRONGSWANDIR=/etc
-SWANCTL_DIR=$STRONGSWANDIR/swanctl
+SYSCONFDIR=/etc
+SWANCTL_DIR="$SYSCONFDIR/swanctl"
: ${KEYINFO:="rsa:4096"}
: ${CADAYS:=3650}
: ${CRTDAYS:=730}
[ -f "$SWANCTL_DIR/x509ca/$SHORT_DOMAIN.crt" ] || genca
-PARENT="$STRONGSWANDIR"
+PARENT="$SYSCONFDIR"
BASEDIR="${SWANCTL_DIR##$PARENT/}"
for name in "$@"; do