diff --git a/libreswan.spec b/libreswan.spec index 91c70ad..e73a769 100644 --- a/libreswan.spec +++ b/libreswan.spec @@ -17,7 +17,7 @@ Name: libreswan Summary: IPsec implementation with IKEv1 and IKEv2 keying protocols Version: 3.10 -Release: %{?prever:0.}1%{?prever:.%{prever}}%{?dist} +Release: %{?prever:0.}3%{?prever:.%{prever}}%{?dist} License: GPLv2 Url: https://www.libreswan.org/ Source: https://download.libreswan.org/%{name}-%{version}%{?prever}.tar.gz @@ -28,6 +28,10 @@ Requires(post): coreutils bash systemd Requires(preun): systemd Requires(postun): systemd +Patch1: libreswan-3.10-snprintf.patch +Patch2: libreswan-3.10-coverity.patch +Patch3: libreswan-3.10-autoroute.patch + Conflicts: openswan < %{version}-%{release} Obsoletes: openswan < %{version}-%{release} Provides: openswan = %{version}-%{release} @@ -80,6 +84,9 @@ Libreswan is based on Openswan-2.6.38 which in turn is based on FreeS/WAN-2.04 %prep %setup -q -n libreswan-%{version}%{?prever} +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 %build %if %{buildefence} @@ -200,6 +207,9 @@ if [ ! -f %{_sysconfdir}/ipsec.d/cert8.db ] ; then fi %changelog +* Tue Sep 09 2014 Paul Wouters - 3.10-3 +- Fix some coverity issues, auto=route on bootup and snprintf on 32bit machines + * Mon Sep 01 2014 Paul Wouters - 3.10-1 - Updated to 3.10, major bugfix release, new xauth status options