This commit disables stroke, charon and scepclient in favour
of the new configuration tool swanctl.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
name = strongswan
version = 5.5.3
name = strongswan
version = 5.5.3
groups = Networking/VPN
url = http://www.strongswan.org/
groups = Networking/VPN
url = http://www.strongswan.org/
--disable-rc2 \
--with-capabilities=libcap \
--enable-unbound \
--disable-rc2 \
--with-capabilities=libcap \
--enable-unbound \
+ --enable-systemd \
+ --disable-charon \
+ --disable-stroke \
+ --disable-scepclient
if "%{DISTRO_ARCH}" == "i686"
configure_options += --enable-padlock
if "%{DISTRO_ARCH}" == "i686"
configure_options += --enable-padlock
+ mv -v %{BUILDROOT}%{unitdir}/strongswan{-swanctl,}.service
+
+ # Create directory for connections
+ mkdir -pv %{BUILDROOT}%{sysconfdir}/swanctl/connections
+ echo "include connections/*.conf" > \
+ %{BUILDROOT}%{sysconfdir}/swanctl/swanctl.conf
+
# Drop unneeded files.
rm -rvf %{BUILDROOT}%{libdir}/ipsec/lib*.so
# Drop unneeded files.
rm -rvf %{BUILDROOT}%{libdir}/ipsec/lib*.so