linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / tools / networking / strongswan / firewall_defaults.patch
blob12c446c8c9aaceb9a003e7813e14ce982161755f
1 Index: 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";
9 -static const char firewall_defaults[] = IPSEC_SCRIPT " _updown iptables";
10 +static const char firewall_defaults[] = IPSEC_SBINDIR "/" IPSEC_SCRIPT " _updown iptables";
12 /**
13 * Provided by GPERF
14 Index: 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}\" \