New upstream

- Fix CVE-2014-4607
This commit is contained in:
Huzaifa Sidhpurwala 2014-06-30 10:50:36 +05:30
parent 8034bb2ffa
commit 6c2b1e9635
4 changed files with 33 additions and 4 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
lzo-2.03.tar.gz lzo-2.03.tar.gz
/lzo-2.06.tar.gz /lzo-2.06.tar.gz
/lzo-2.08.tar.gz

24
lzo-2.08-configure.patch Normal file
View File

@ -0,0 +1,24 @@
diff -Naur lzo-2.08/configure lzo-2.08.configure/configure
--- lzo-2.08/configure 2014-06-29 15:08:49.000000000 +0530
+++ lzo-2.08.configure/configure 2014-06-30 10:38:08.344604418 +0530
@@ -13875,7 +13875,7 @@
asm_msg_amd64=no
asm_msg_i386=no
-case "$host_cpu-$ac_cv_sizeof_void_p" in
+case "$target_cpu-$ac_cv_sizeof_void_p" in
amd64-8 | x86_64-8) asm_arch="amd64"; asm_dir="asm/amd64/src_gas/elf64"; asm_mode="amd64_src_gas_elf64" ;;
i?86-4) asm_arch="i386"; asm_dir="asm/i386/src_gas"; asm_mode="i386_src_gas" ;;
*) enable_asm=no ;;
diff -Naur lzo-2.08/configure.ac lzo-2.08.configure/configure.ac
--- lzo-2.08/configure.ac 2014-06-29 15:08:49.000000000 +0530
+++ lzo-2.08.configure/configure.ac 2014-06-30 10:38:38.706603340 +0530
@@ -123,7 +123,7 @@
asm_msg_amd64=no
asm_msg_i386=no
-case "$host_cpu-$ac_cv_sizeof_void_p" in
+case "$target_cpu-$ac_cv_sizeof_void_p" in
amd64-8 | x86_64-8) asm_arch="amd64"; asm_dir="asm/amd64/src_gas/elf64"; asm_mode="amd64_src_gas_elf64" ;;
i?86-4) asm_arch="i386"; asm_dir="asm/i386/src_gas"; asm_mode="i386_src_gas" ;;
*) enable_asm=no ;;

View File

@ -1,12 +1,12 @@
Name: lzo Name: lzo
Version: 2.06 Version: 2.08
Release: 6%{?dist} Release: 1%{?dist}
Summary: Data compression library with very fast (de)compression Summary: Data compression library with very fast (de)compression
Group: System Environment/Libraries Group: System Environment/Libraries
License: GPLv2+ License: GPLv2+
URL: http://www.oberhumer.com/opensource/lzo/ URL: http://www.oberhumer.com/opensource/lzo/
Source0: http://www.oberhumer.com/opensource/lzo/download/%{name}-%{version}.tar.gz Source0: http://www.oberhumer.com/opensource/lzo/download/%{name}-%{version}.tar.gz
Patch0: lzo-2.06-configure.patch Patch0: lzo-2.08-configure.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: zlib-devel BuildRequires: zlib-devel
@ -103,6 +103,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Mon Jun 30 2014 Huzaifa Sidhpurwala <huzaifas@redhat.com> - 2.08-1
- New upstream
- Fix CVE-2014-4607
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.06-6 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.06-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

View File

@ -1 +1 @@
95380bd4081f85ef08c5209f4107e9f8 lzo-2.06.tar.gz fcec64c26a0f4f4901468f360029678f lzo-2.08.tar.gz