strongswan: use correct directory for CA's
authorPhilip Prindeville <philipp@redfish-solutions.com>
Fri, 18 Jun 2021 00:53:08 +0000 (18:53 -0600)
committerPhilip Prindeville <philipp@redfish-solutions.com>
Fri, 18 Jun 2021 00:53:08 +0000 (18:53 -0600)
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
net/strongswan/Makefile
net/strongswan/files/gencerts.sh

index 42d7ec218df1f476b239670e1532ca7b2ee5f4f1..70f1e8e6f09f5db7fb12867eee4ed71a5ac329ae 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=strongswan
 PKG_VERSION:=5.9.2
-PKG_RELEASE:=9
+PKG_RELEASE:=10
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=https://download.strongswan.org/ https://download2.strongswan.org/
index abd167b39d334e94f6a89d19ff91eec3172ff945..8df5606b016549a13b3dacad85162f055011c94f 100755 (executable)
@@ -72,7 +72,7 @@ genca()
 
        pki --self --ca --lifetime "$CADAYS" --in "$SWANCTL_DIR/private/$SHORT_DOMAIN.key" --type "$keytype" \
                --dn "$ROOTDN" --outform pem > "$SWANCTL_DIR/x509ca/$SHORT_DOMAIN.crt"
-       chmod 0444 "$SWANCTL_DIR/cacerts/$SHORT_DOMAIN.crt"
+       chmod 0444 "$SWANCTL_DIR/x509ca/$SHORT_DOMAIN.crt"
 }
 
 genclientkey()