diff --git a/libreswan.spec b/libreswan.spec index f07d94bfffcafd9d87a98e4bfe9da75a91f78582..5dec0bef198e03203f02b5db7b07e2c89658e859 100644 --- a/libreswan.spec +++ b/libreswan.spec @@ -26,7 +26,7 @@ Name: libreswan Summary: IKE implementation for IPsec with IKEv1 and IKEv2 support Version: 4.11 -Release: 1 +Release: 2 License: GPLv2 Url: https://libreswan.org/ Source0: https://download.libreswan.org/%{name}-%{version}.tar.gz @@ -104,7 +104,7 @@ sed -i '/config setup/a\\t# Specifies a directory forNSS database files\n\tnssdi sed -i '/ipsec --checknss/s/$/ --nssdir \/etc\/ipsec.d/' ./initsystems/systemd/ipsec.service.in -linux_variant=`sed -n -e 's/"//g' -e 's/^ID_LIKE=//p' -e 's/^ID=//p' /etc/os-release` +linux_variant=`sed -n -e 's/"//g' -e 's/^ID_LIKE=//p' -e 's/^ID=//p' /etc/os-release|tr '\n' ' ' && echo` sed -i "s/filter fedora/filter fedora $linux_variant/" mk/defaults/linux.mk %build @@ -191,6 +191,9 @@ certutil -N -d sql:$tmpdir --empty-password %attr(0644,root,root) %doc %{_mandir}/*/* %changelog +* Wed Jun 14 2023 yangbo - 4.11-2 +- Fix '\n' of the linux_variant + * Tue May 30 2023 wangkai <13474090681@163.com> - 4.11-1 - Update to 4.11 for fix CVE-2023-30570