Commit aa9cd5e2 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Updated strongswan to 5.8.0

parent e31ddbd9
all: strongswan-conf swanctl-conf ipsec-notify vpn-config all: strongswan-conf swanctl-conf ipsec-notify vpn-config
tar xf strongswan-5.6.3.tar.bz2 tar xf strongswan-5.8.0.tar.bz2
cd strongswan-5.6.3 && ./configure --prefix=/usr --sysconfdir=/etc --enable-systemd --enable-swanctl --disable-charon --disable-stroke --disable-scepclient --disable-connmark --enable-curl cd strongswan-5.8.0 && ./configure --prefix=/usr --sysconfdir=/etc --enable-systemd --enable-swanctl --disable-charon --disable-stroke --disable-scepclient --disable-connmark --enable-curl
$(MAKE) -C strongswan-5.6.3 $(MAKE) -C strongswan-5.8.0
# FIXME: strongswan tests failure! # FIXME: strongswan tests failure!
# $(MAKE) -C strongswan-5.6.3 check -$(MAKE) -C strongswan-5.8.0 check
$(MAKE) -C strongswan-5.6.3 install $(MAKE) -C strongswan-5.8.0 install
systemctl enable strongswan-swanctl systemctl enable strongswan
@echo "$$STRONGSWAN_CONF" > /etc/strongswan.conf @echo "$$STRONGSWAN_CONF" > /etc/strongswan.conf
@echo "$$SWANCTL_CONF" > /etc/swanctl/swanctl.conf @echo "$$SWANCTL_CONF" > /etc/swanctl/swanctl.conf
@echo "$$IPSEC_NOTIFY" > /usr/sbin/ipsec-notify.sh @echo "$$IPSEC_NOTIFY" > /usr/sbin/ipsec-notify.sh
chmod 755 /usr/sbin/ipsec-notify.sh chmod 755 /usr/sbin/ipsec-notify.sh
install -v -Dm755 vpn /usr/share/easycwmp/functions/vpn install -v -Dm755 vpn /usr/share/easycwmp/functions/vpn
@echo "$$VPN_CONFIG" > /etc/config/vpn @echo "$$VPN_CONFIG" > /etc/config/vpn
rm -rf strongswan-5.6.3 rm -rf strongswan-5.8.0
strongswan-conf: strongswan-conf:
define STRONGSWAN_CONF define STRONGSWAN_CONF
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment