diff --git a/strongswan-5.9.1-runtime-dir.patch b/strongswan-5.9.1-runtime-dir.patch new file mode 100644 index 0000000..91674d6 --- /dev/null +++ b/strongswan-5.9.1-runtime-dir.patch @@ -0,0 +1,12 @@ +diff -Naur strongswan-5.9.1-orig/init/systemd-starter/strongswan-starter.service.in strongswan-5.9.1/init/systemd-starter/strongswan-starter.service.in +--- strongswan-5.9.1-orig/init/systemd-starter/strongswan-starter.service.in 2020-10-16 08:36:37.000000000 -0400 ++++ strongswan-5.9.1/init/systemd-starter/strongswan-starter.service.in 2021-02-12 14:06:09.985042362 -0500 +@@ -5,6 +5,8 @@ + [Service] + ExecStart=@SBINDIR@/@IPSEC_SCRIPT@ start --nofork + Restart=on-abnormal ++RuntimeDirectory=strongswan ++RuntimeDirectoryMode=0755 + + [Install] + WantedBy=multi-user.target diff --git a/strongswan.spec b/strongswan.spec index d5dacbe..707bd6d 100644 --- a/strongswan.spec +++ b/strongswan.spec @@ -9,7 +9,7 @@ License: GPLv2+ URL: http://www.strongswan.org/ Source0: http://download.strongswan.org/%{name}-%{version}%{?prerelease}.tar.bz2 Source1: tmpfiles-strongswan.conf -Patch0: strongswan-5.8.4-runtime-dir.patch +Patch0: strongswan-5.9.1-runtime-dir.patch Patch1: strongswan-5.6.0-uintptr_t.patch Patch3: strongswan-5.6.2-CVE-2018-5388.patch