SHA256
6
0
forked from pool/grep

Accepting request 282840 from home:Andreas_Schwab:Factory

- grep-F-heap-overrun.patch: fix heap overrun with grep -F (CVE-2015-1345,
  bsc#914695)

OBS-URL: https://build.opensuse.org/request/show/282840
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=58
This commit is contained in:
2015-01-26 11:36:14 +00:00
committed by Git OBS Bridge
parent 2d8fa17deb
commit 0bfdea05de
3 changed files with 151 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package grep
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,7 @@ Url: http://www.gnu.org/software/grep/
Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
Source2: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
Source3: http://savannah.gnu.org/project/memberlist-gpgkeys.php?group=grep&download=1#/%{name}.keyring
Patch0: grep-F-heap-overrun.patch
BuildRequires: makeinfo
BuildRequires: pcre-devel
BuildRequires: xz
@@ -43,6 +44,8 @@ the matching lines.
%prep
%setup -q
%patch0 -p1
chmod +x tests/kwset-abuse
%if 0%{?suse_version} < 1120
echo "ac_cv_search_pcre_compile=\${ac_cv_search_pcre_compile=%{_libdir}/libpcre.a}" >config.cache
%endif