Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 32 lines 1.3 kB view raw
1Index: strongswan-5.2.1/src/starter/confread.c 2=================================================================== 3--- strongswan-5.2.1.orig/src/starter/confread.c 4+++ strongswan-5.2.1/src/starter/confread.c 5@@ -43,7 +43,7 @@ 6 static const char ike_defaults[] = "aes128-sha1-modp2048,3des-sha1-modp1536"; 7 static const char esp_defaults[] = "aes128-sha1,3des-sha1"; 8 9-static const char firewall_defaults[] = IPSEC_SCRIPT " _updown iptables"; 10+static const char firewall_defaults[] = IPSEC_SBINDIR "/" IPSEC_SCRIPT " _updown iptables"; 11 12 /** 13 * Provided by GPERF 14Index: strongswan-5.2.1/src/starter/Makefile.am 15=================================================================== 16--- strongswan-5.2.1.orig/src/starter/Makefile.am 17+++ strongswan-5.2.1/src/starter/Makefile.am 18@@ -18,10 +18,12 @@ AM_CPPFLAGS = \ 19 -I$(top_srcdir)/src/libhydra \ 20 -I$(top_srcdir)/src/starter \ 21 -I$(top_srcdir)/src/stroke \ 22- -DIPSEC_DIR=\"${ipsecdir}\" \ 23+ -DIPSEC_BINDIR=\"${bindir}\" \ 24 -DIPSEC_CONFDIR=\"${sysconfdir}\" \ 25- -DIPSEC_PIDDIR=\"${piddir}\" \ 26+ -DIPSEC_DIR=\"${ipsecdir}\" \ 27 -DIPSEC_EAPDIR=\"${eapdir}\" \ 28+ -DIPSEC_PIDDIR=\"${piddir}\" \ 29+ -DIPSEC_SBINDIR=\"${sbindir}\" \ 30 -DIPSEC_SCRIPT=\"${ipsec_script}\" \ 31 -DDEV_RANDOM=\"${random_device}\" \ 32 -DDEV_URANDOM=\"${urandom_device}\" \