diff --git a/arm-none-eabi-binutils-cs.spec b/arm-none-eabi-binutils-cs.spec index 587c26d..24ba952 100644 --- a/arm-none-eabi-binutils-cs.spec +++ b/arm-none-eabi-binutils-cs.spec @@ -3,14 +3,15 @@ %global cs_date 2014.05 %global cs_rel 28 %global cs_pkgnum 12773 -%global binutils_ver 2.23 +%global binutils_ver 2.25 %global processor_arch arm %global target %{processor_arch}-none-eabi Name: %{target}-binutils-cs -Version: %{cs_date}.%{cs_rel} -Release: 3%{?dist} +Epoch: 1 +Version: 2.25 +Release: 1%{?dist} Summary: GNU Binutils for cross-compilation for %{target} target Group: Development/Tools # Most of the sources are licensed under GPLv3+ with these exceptions: @@ -21,11 +22,7 @@ Group: Development/Tools License: GPLv2+ and GPLv3+ and LGPLv2+ and BSD URL: http://www.codesourcery.com/sgpp/lite/%{processor_arch} -#we don't use orignal tarball, because it's HUGE -Source0: binutils-%{cs_date}-%{cs_rel}.tar.bz2 -#Source0 origin: -#wget https://sourcery.mentor.com/GNUToolchain/package%{cs_pkgnum}/public/%{target}/%{processor_arch}-%{cs_date}-%{cs_rel}-%{target}.src.tar.bz2 -#tar jxvf %{processor_arch}-%{cs_date}-%{cs_rel}-%{target}.src.tar.bz2 +Source0: ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{version}.tar.bz2 Source1: README.fedora Patch2: binutils-2.24-cve_2014_8501.patch @@ -35,7 +32,7 @@ Patch5: binutils-2.24-cve_2014_8503.patch Patch6: binutils-2.24-cve_2014_8504.patch Patch7: binutils-2.24-dirtravel.patch Patch8: binutils-2.24-cve_2014_8738.patch -BuildRequires: flex bison ppl-devel cloog-ppl-devel +BuildRequires: flex bison ppl-devel cloog BuildRequires: texinfo texinfo-tex perl-podlators Provides: %{target}-binutils = %{binutils_ver} @@ -51,16 +48,9 @@ get merged. For the ARM target, effectively CodeSourcery is upstream of FSF. %prep -%setup -q -n binutils-%{cs_date} +%setup -q -n binutils-%{version} cp -p %{SOURCE1} . rm -rf gdb sim -%patch2 -p1 -b .cve_2014_8501 -%patch3 -p1 -b .cve_2014_8502pre -%patch4 -p1 -b .cve_2014_8502 -%patch5 -p1 -b .cve_2014_8503 -%patch6 -p2 -b .cve_2014_8504 -%patch7 -p1 -b .dirtravel -%patch8 -p1 -b .cve_2014_8738 %build ./configure CFLAGS="$RPM_OPT_FLAGS" \ @@ -102,6 +92,9 @@ rm -r %{buildroot}%{_infodir} %changelog +* Sun May 31 2015 Michal Hlavinka - 1:2.25-1 +- updated to vanila 2.25 + * Thu Nov 13 2014 Michal Hlavinka - 2014.05.28-3 - fix CVE-2014-8738: out of bounds memory write diff --git a/sources b/sources index 3c92d7b..272f6fd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -683ca27cadcbf94c5773596a4d33d57a binutils-2014.05-28.tar.bz2 +d9f3303f802a5b6b0bb73a335ab89d66 binutils-2.25.tar.bz2