summaryrefslogtreecommitdiff
path: root/net-vpn/libreswan/files
diff options
context:
space:
mode:
Diffstat (limited to 'net-vpn/libreswan/files')
-rw-r--r--net-vpn/libreswan/files/libreswan-3.30-ip-path.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/net-vpn/libreswan/files/libreswan-3.30-ip-path.patch b/net-vpn/libreswan/files/libreswan-3.30-ip-path.patch
new file mode 100644
index 000000000000..ac45270beaf7
--- /dev/null
+++ b/net-vpn/libreswan/files/libreswan-3.30-ip-path.patch
@@ -0,0 +1,13 @@
+--- a/initsystems/systemd/ipsec.service.in.orig 2020-02-14 08:11:29.883638349 +0100
++++ b/initsystems/systemd/ipsec.service.in 2020-02-14 08:11:40.555430565 +0100
+@@ -29,8 +29,8 @@
+ # Enable for portexcludes support
+ # ExecStartPost=@FINALLIBEXECDIR@/portexcludes
+ ExecStop=@FINALLIBEXECDIR@/whack --shutdown
+-ExecStopPost=/sbin/ip xfrm policy flush
+-ExecStopPost=/sbin/ip xfrm state flush
++ExecStopPost=/bin/ip xfrm policy flush
++ExecStopPost=/bin/ip xfrm state flush
+ ExecStopPost=@FINALSBINDIR@/ipsec --stopnflog
+ ExecReload=@FINALLIBEXECDIR@/whack --listen
+