strongswan: Add network.conf with our own settings

These settings are required to make everything in the
network package work.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer 2018-09-16 14:57:00 +02:00
parent 1cf3276337
commit 00a97de355
2 changed files with 17 additions and 1 deletions

12
strongswan/network.conf Normal file
View File

@ -0,0 +1,12 @@
#
# Configuration options for IPFire
#
charon {
# Send Cisco Unity vendor ID payload (IKEv1 only)
cisco_unity = yes
# Install routes into a separate routing table for established IPsec
# tunnels.
install_routes = no
}

View File

@ -5,7 +5,7 @@
name = strongswan
version = 5.6.3
release = 1
release = 2
groups = Networking/VPN
url = http://www.strongswan.org/
@ -86,6 +86,10 @@ build
install_cmds
mv -v %{BUILDROOT}%{unitdir}/strongswan{-swanctl,}.service
# Install network settings
install -v -m 644 %{DIR_SOURCE}/network.conf \
%{BUILDROOT}%{sysconfdir}/strongswan.d/
# Create directory for connections
mkdir -pv %{BUILDROOT}%{sysconfdir}/swanctl/connections
echo "include connections/*.conf" > \