fix /usr/sbin/ipsec conflicts with libreswan.
Signed-off-by: cherry530 <xuping33@huawei.com> (cherry picked from commit 686062627b845ce0b050ab4e9a91f5737caf6bfa)
This commit is contained in:
parent
4d0119c323
commit
130905edc6
@ -1,6 +1,6 @@
|
||||
Name: strongswan
|
||||
Version: 5.9.7
|
||||
Release: 4
|
||||
Release: 5
|
||||
Summary: An OpenSource IPsec-based VPN and TNC solution
|
||||
License: GPLv2+
|
||||
URL: http://www.strongswan.org/
|
||||
@ -69,7 +69,7 @@ PT-TLS to support TNC over TLS.
|
||||
autoreconf -i
|
||||
%configure --bindir=%{_libexecdir}/strongswan --sysconfdir=%{_sysconfdir}/strongswan \
|
||||
--with-ipsecdir=%{_libexecdir}/strongswan --with-ipseclibdir=%{_libdir}/strongswan \
|
||||
--with-ipsec-script=ipsec --with-fips-mode=2 \
|
||||
--with-ipsec-script=strongswan --with-fips-mode=2 \
|
||||
--disable-static \
|
||||
--enable-tss-trousers --enable-nm --enable-systemd --enable-openssl --enable-unity \
|
||||
--enable-ctr --enable-ccm --enable-gcm --enable-chapoly --enable-md4 --enable-gcrypt \
|
||||
@ -147,7 +147,7 @@ echo "%{_libdir}/strongswan" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.co
|
||||
%{_unitdir}/strongswan-starter.service
|
||||
%{_sbindir}/charon-cmd
|
||||
%{_sbindir}/charon-systemd
|
||||
%{_sbindir}/ipsec
|
||||
%{_sbindir}/strongswan
|
||||
%{_sbindir}/swanctl
|
||||
%{_libdir}/strongswan/*.so.*
|
||||
%exclude %{_libdir}/strongswan/libimcv.so.*
|
||||
@ -193,6 +193,9 @@ echo "%{_libdir}/strongswan" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.co
|
||||
%{_libexecdir}/strongswan/charon-nm
|
||||
|
||||
%changelog
|
||||
* Fri Feb 24 2023 xu_ping <xuping33@h-partners.com> - 5.9.7-5
|
||||
- fix /usr/sbin/ipsec conflicts with libreswan.
|
||||
|
||||
* Mon Oct 10 2022 openhosec <openhosec@hosec.net> - 5.9.7-4
|
||||
- Fix CVE-2022-40617
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user