commit grep for openSUSE:Factory

2020-10-04 Thread root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2020-10-04 17:29:58

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new.4249 (New)


Package is "grep"

Sun Oct  4 17:29:58 2020 rev:75 rq:838208 version:3.5

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2020-09-04 
10:52:26.838409125 +0200
+++ /work/SRC/openSUSE:Factory/.grep.new.4249/grep.changes  2020-10-04 
17:30:03.576231364 +0200
@@ -1,0 +2,10 @@
+Mon Sep 28 08:54:47 UTC 2020 - Andreas Stieger 
+
+- grep 3.5:
+  * message for matching binary files now sent to stderr, and changed
+  * --files-without-match (-L) behavior reverted to again succeed 
+when a line is selected, not when a file is listed
+  * various bug fixes
+- drop gnulib-test-avoid-FP-perror-strerror.patch, upstream
+
+---

Old:

  gnulib-test-avoid-FP-perror-strerror.patch
  grep-3.4.tar.xz
  grep-3.4.tar.xz.sig

New:

  grep-3.5.tar.xz
  grep-3.5.tar.xz.sig



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.YkmWLN/_old  2020-10-04 17:30:04.304232061 +0200
+++ /var/tmp/diff_new_pack.YkmWLN/_new  2020-10-04 17:30:04.308232065 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   grep
-Version:3.4
+Version:3.5
 Release:0
 Summary:Print lines matching a pattern
 License:GPL-3.0-or-later
@@ -27,7 +27,6 @@
 Source2:https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
 Source3:
https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=grep=1#/%{name}.keyring
 Source4:profile.sh
-Patch1: gnulib-test-avoid-FP-perror-strerror.patch
 BuildRequires:  fdupes
 BuildRequires:  makeinfo
 BuildRequires:  pcre-devel
@@ -43,7 +42,6 @@
 
 %prep
 %setup -q
-%patch1
 
 %build
 %configure \

++ grep-3.4.tar.xz -> grep-3.5.tar.xz ++
 61087 lines of diff (skipped)





commit grep for openSUSE:Factory

2020-09-04 Thread root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2020-09-04 10:52:21

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new.3399 (New)


Package is "grep"

Fri Sep  4 10:52:21 2020 rev:74 rq:830790 version:3.4

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2020-07-05 
01:10:23.115447329 +0200
+++ /work/SRC/openSUSE:Factory/.grep.new.3399/grep.changes  2020-09-04 
10:52:26.838409125 +0200
@@ -1,0 +2,7 @@
+Mon Aug 31 10:23:23 UTC 2020 - Bernhard Voelker 
+
+- gnulib-test-avoid-FP-perror-strerror.patch: Add patch to
+  avoid false-positive error in gnulib tests 'test-perror2' and
+  'test-strerror_r', visible on armv7l.
+
+---

New:

  gnulib-test-avoid-FP-perror-strerror.patch



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.NLEFA7/_old  2020-09-04 10:52:27.694409584 +0200
+++ /var/tmp/diff_new_pack.NLEFA7/_new  2020-09-04 10:52:27.694409584 +0200
@@ -27,6 +27,7 @@
 Source2:https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
 Source3:
https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=grep=1#/%{name}.keyring
 Source4:profile.sh
+Patch1: gnulib-test-avoid-FP-perror-strerror.patch
 BuildRequires:  fdupes
 BuildRequires:  makeinfo
 BuildRequires:  pcre-devel
@@ -42,6 +43,7 @@
 
 %prep
 %setup -q
+%patch1
 
 %build
 %configure \

++ gnulib-test-avoid-FP-perror-strerror.patch ++
Avoid false-positive error in gnulib tests 'test-perror2' and 'test-strerror_r'.

On openSUSE OBS, the above gnulib tests fail on armv7l.

Corresponding report on the gnulib mailing list:

https://lists.gnu.org/r/bug-gnulib/2020-08/msg00220.html

From:   Florian Weimer
Date:   Thu, 27 Aug 2020 09:41:34 +0200
Subject:Use-after-free in test-perror2, test-strerror_r

The problem is visible with glibc 2.32 under valgrind:

==20== Invalid read of size 1
==20==at 0x483DAB4: strcmp (vg_replace_strmem.c:847)
==20==by 0x109414: main (test-perror2.c:84)
==20==  Address 0x4a1a3d0 is 0 bytes inside a block of size 17 free'd
==20==at 0x483A9F5: free (vg_replace_malloc.c:538)
==20==by 0x48E2134: strerror_l (in /usr/lib64/libc-2.32.so)
==20==by 0x109328: main (test-perror2.c:72)
==20==  Block was alloc'd at
==20==at 0x4839809: malloc (vg_replace_malloc.c:307)
==20==by 0x48CA03F: __vasprintf_internal (in /usr/lib64/libc-2.32.so)
==20==by 0x48A46F9: asprintf (in /usr/lib64/libc-2.32.so)
==20==by 0x48E2184: strerror_l (in /usr/lib64/libc-2.32.so)
==20==by 0x1092E2: main (test-perror2.c:67)
==20==
==20== Invalid read of size 1
==20==at 0x483DAC8: strcmp (vg_replace_strmem.c:847)
==20==by 0x109414: main (test-perror2.c:84)
==20==  Address 0x4a1a3d1 is 1 bytes inside a block of size 17 free'd
==20==at 0x483A9F5: free (vg_replace_malloc.c:538)
==20==by 0x48E2134: strerror_l (in /usr/lib64/libc-2.32.so)
==20==by 0x109328: main (test-perror2.c:72)
==20==  Block was alloc'd at
==20==at 0x4839809: malloc (vg_replace_malloc.c:307)
==20==by 0x48CA03F: __vasprintf_internal (in /usr/lib64/libc-2.32.so)
==20==by 0x48A46F9: asprintf (in /usr/lib64/libc-2.32.so)
==20==by 0x48E2184: strerror_l (in /usr/lib64/libc-2.32.so)
==20==by 0x1092E2: main (test-perror2.c:67)

I think it's the test that's invalid.

This was reported as an actual grep test failure (without valgrind) on
32-bit Arm, where glibc malloc happens to return a different buffer
address for the internal allocation (so that msg3 != msg4).

test-strerror_r has the same issue.

Thanks,
Florian

Upstream patch:

https://git.sv.gnu.org/cgit/gnulib.git/commit/?id=175e0bc72808

From 175e0bc72808d564074c4adcc72aeadb74adfcc6 Mon Sep 17 00:00:00 2001
From: Paul Eggert 
Date: Thu, 27 Aug 2020 17:52:58 -0700
Subject: [PATCH] perror, strerror_r: remove unportable tests

Problem reported by Florian Weimer in:
https://lists.gnu.org/r/bug-gnulib/2020-08/msg00220.html
* tests/test-perror2.c (main):
* tests/test-strerror_r.c (main): Omit unportable tests.

This downstream patch is identical to upstream one modulo the ChangeLog entry.
---
 gnulib-tests/test-perror2.c|3 ---
 gnulib-tests/test-strerror_r.c |3 ---
 2 files changed, 6 deletions(-)

Index: gnulib-tests/test-perror2.c
===
--- gnulib-tests/test-perror2.c.orig
+++ gnulib-tests/test-perror2.c
@@ -79,9 +79,6 @@ 

commit grep for openSUSE:Factory

2020-07-04 Thread root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2020-07-05 01:09:37

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new.3060 (New)


Package is "grep"

Sun Jul  5 01:09:37 2020 rev:73 rq:818103 version:3.4

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2020-02-15 
22:21:11.511172551 +0100
+++ /work/SRC/openSUSE:Factory/.grep.new.3060/grep.changes  2020-07-05 
01:10:23.115447329 +0200
@@ -1,0 +2,6 @@
+Wed Jul  1 03:30:01 UTC 2020 - Bernhard Wiedemann 
+
+- Use deterministic profile.sh script to make package build
+  reproducible (boo#1040589)
+
+---

New:

  profile.sh



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.EHYPGM/_old  2020-07-05 01:10:26.031457180 +0200
+++ /var/tmp/diff_new_pack.EHYPGM/_new  2020-07-05 01:10:26.035457193 +0200
@@ -26,6 +26,7 @@
 Source0:https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
 Source2:https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
 Source3:
https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=grep=1#/%{name}.keyring
+Source4:profile.sh
 BuildRequires:  fdupes
 BuildRequires:  makeinfo
 BuildRequires:  pcre-devel
@@ -48,9 +49,8 @@
   --without-included-regex \
   %{nil}
 %if 0%{?do_profiling}
-  make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate} 
-fno-profile-values"
-  # do not run profiling in parallel for reproducible builds (boo#1040589)
-  make CFLAGS="%{optflags} %{cflags_profile_generate}" check
+  make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}"
+  sh %{SOURCE4} # profiling run
   make clean
   make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}"
 %else



++ profile.sh ++
#!/bin/sh
# profiling script for profile-guided-optimizations (PGO)
# must be fully deterministic in what it does for reproducible builds
# should cover most code for good PGO optimization benefit
# See https://github.com/bmwiedemann/theunreproduciblepackage/tree/master/pgo
# for background information on PGO reproducibility

grep=src/grep
t=COPYING
exec > /dev/null
for param in "" "-v" "-i" "-h" "-H" "-l" "-L" "-q" "-n" "-Z" "-E" "-F" "-P" 
"-e" "-w" "-c" "-o" ; do
$grep $param "GNU" $t
$grep $param "G.*U" $t
done



commit grep for openSUSE:Factory

2020-02-15 Thread root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2020-02-15 22:21:00

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new.26092 (New)


Package is "grep"

Sat Feb 15 22:21:00 2020 rev:72 rq:766067 version:3.4

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2019-09-26 
20:35:21.323484961 +0200
+++ /work/SRC/openSUSE:Factory/.grep.new.26092/grep.changes 2020-02-15 
22:21:11.511172551 +0100
@@ -1,0 +2,18 @@
+Tue Jan 21 10:57:16 UTC 2020 - Andreas Schwab 
+
+- Switch back to system regex to avoid undefined behaviour
+
+---
+Sun Jan  5 10:59:44 UTC 2020 - Andreas Stieger 
+
+- grep 3.4:
+  * new --no-ignore-case option causes grep to observe case
+distinctions, overriding any previous -i (--ignore-case) option
+  * '.' no longer matches some invalid byte sequences in UTF-8 locales
+  * grep -Fw can no longer false match in non-UTF-8 multibyte locales
+  * The exit status of 'grep -L' is no longer incorrect when standard
+output is /dev/null
+  * fix some performance bugs
+- drop test-pcre-jitstack.diff
+
+---

Old:

  grep-3.3.tar.xz
  grep-3.3.tar.xz.sig
  test-pcre-jitstack.diff

New:

  grep-3.4.tar.xz
  grep-3.4.tar.xz.sig



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.694d5g/_old  2020-02-15 22:21:12.687173186 +0100
+++ /var/tmp/diff_new_pack.694d5g/_new  2020-02-15 22:21:12.691173189 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package grep
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,16 +17,15 @@
 
 
 Name:   grep
-Version:3.3
+Version:3.4
 Release:0
 Summary:Print lines matching a pattern
 License:GPL-3.0-or-later
 Group:  Productivity/Text/Utilities
-Url:https://www.gnu.org/software/grep/
+URL:https://www.gnu.org/software/grep/
 Source0:https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
 Source2:https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
 Source3:
https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=grep=1#/%{name}.keyring
-Patch0: test-pcre-jitstack.diff
 BuildRequires:  fdupes
 BuildRequires:  makeinfo
 BuildRequires:  pcre-devel
@@ -42,11 +41,11 @@
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 %configure \
   --disable-silent-rules \
+  --without-included-regex \
   %{nil}
 %if 0%{?do_profiling}
   make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate} 
-fno-profile-values"

++ grep-3.3.tar.xz -> grep-3.4.tar.xz ++
 85831 lines of diff (skipped)





commit grep for openSUSE:Factory

2019-09-26 Thread root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2019-09-26 20:35:17

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new.2352 (New)


Package is "grep"

Thu Sep 26 20:35:17 2019 rev:71 rq:731945 version:3.3

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2019-02-24 
16:55:00.232919939 +0100
+++ /work/SRC/openSUSE:Factory/.grep.new.2352/grep.changes  2019-09-26 
20:35:21.323484961 +0200
@@ -1,0 +2,6 @@
+Thu Sep 19 11:49:29 UTC 2019 - Ludwig Nussel 
+
+- Do not recommend lang package. The lang package already has a
+  supplements.
+
+---



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.2HoDLE/_old  2019-09-26 20:35:22.399482085 +0200
+++ /var/tmp/diff_new_pack.2HoDLE/_new  2019-09-26 20:35:22.399482085 +0200
@@ -32,7 +32,6 @@
 BuildRequires:  pcre-devel
 Requires(pre):  %{install_info_prereq}
 Requires(preun): %{install_info_prereq}
-Recommends: %{name}-lang
 Provides:   base:%{_bindir}/grep
 
 %description






commit grep for openSUSE:Factory

2019-02-24 Thread root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2019-02-24 16:54:58

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new.28833 (New)


Package is "grep"

Sun Feb 24 16:54:58 2019 rev:70 rq:676971 version:3.3

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2019-01-15 
09:08:21.550680147 +0100
+++ /work/SRC/openSUSE:Factory/.grep.new.28833/grep.changes 2019-02-24 
16:55:00.232919939 +0100
@@ -1,0 +2,5 @@
+Mon Feb 18 08:57:22 UTC 2019 - sch...@suse.de
+
+- test-pcre-jitstack.diff: avoid false positive upon stack overflow
+
+---

New:

  test-pcre-jitstack.diff



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.XsKRLP/_old  2019-02-24 16:55:00.868919637 +0100
+++ /var/tmp/diff_new_pack.XsKRLP/_new  2019-02-24 16:55:00.872919635 +0100
@@ -26,6 +26,7 @@
 Source0:https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
 Source2:https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
 Source3:
https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=grep=1#/%{name}.keyring
+Patch0: test-pcre-jitstack.diff
 BuildRequires:  fdupes
 BuildRequires:  makeinfo
 BuildRequires:  pcre-devel
@@ -42,6 +43,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure \



++ test-pcre-jitstack.diff ++
>From 64d7da63575bc6cb0bbcf7ac5ed81d51ea2a3a74 Mon Sep 17 00:00:00 2001
From: Jim Meyering 
Date: Sun, 17 Feb 2019 17:47:30 -0800
Subject: [PATCH] tests: avoid false positive upon stack overflow

* tests/pcre-jitstack: Don't let a stack overflow evoke a false
failure.  This test is to ensure there is no internal PCRE error.
Reported by Andres Schwab in http://bugs.gnu.org/34370
---
 tests/pcre-jitstack | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tests/pcre-jitstack b/tests/pcre-jitstack
index a6c9c21..8f738f0 100755
--- a/tests/pcre-jitstack
+++ b/tests/pcre-jitstack
@@ -52,8 +52,11 @@ if test $? != 1; then

 # Rerun that same test, but now with no limit on stack size:
 (ulimit -s unlimited;
- returns_ 1 env LC_ALL=C grep -P -n '^([/](?!/)|[^/])*~/.*' pcrejit.txt) \
+ returns_ 1 env LC_ALL=C grep -P -n '^([/](?!/)|[^/])*~/.*' pcrejit.txt 2> 
err) \
|| fail=1
+
+# If that failed due to stack overflow, don't cry foul.
+test $fail = 1 && grep -q 'stack overflow' err && fail=0
 fi

 Exit $fail
-- 
2.20.1.2.gb21ebb671b




commit grep for openSUSE:Factory

2019-01-15 Thread root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2019-01-15 09:08:19

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new.28833 (New)


Package is "grep"

Tue Jan 15 09:08:19 2019 rev:69 rq:663378 version:3.3

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2018-11-26 
10:12:06.126309367 +0100
+++ /work/SRC/openSUSE:Factory/.grep.new.28833/grep.changes 2019-01-15 
09:08:21.550680147 +0100
@@ -1,0 +2,15 @@
+Mon Jan  7 11:53:21 UTC 2019 - sch...@suse.de
+
+- Update to grep 3.3
+  ** Changes in behavior
+  * The --files-without-match (-L) option now causes grep to succeed
+when a file is listed, instead of when a line is selected.
+  ** Improvements
+  * An over-30x performance improvement when many 'or'd expressions
+share a common prefix, thanks to improvements in gnulib's dfa.c
+  * An additional 3-23% speed-up when searching large files, via
+increased initial buffer size.
+  * grep now diagnoses stack overflow
+- remove-backref-alt-test.patch: remove
+
+---

Old:

  grep-3.1.tar.xz
  grep-3.1.tar.xz.sig
  remove-backref-alt-test.patch

New:

  grep-3.3.tar.xz
  grep-3.3.tar.xz.sig



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.JH9Vh1/_old  2019-01-15 09:08:22.094679648 +0100
+++ /var/tmp/diff_new_pack.JH9Vh1/_new  2019-01-15 09:08:22.094679648 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package grep
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,12 +12,12 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:   grep
-Version:3.1
+Version:3.3
 Release:0
 Summary:Print lines matching a pattern
 License:GPL-3.0-or-later
@@ -26,7 +26,6 @@
 Source0:https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
 Source2:https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
 Source3:
https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=grep=1#/%{name}.keyring
-Patch0: remove-backref-alt-test.patch
 BuildRequires:  fdupes
 BuildRequires:  makeinfo
 BuildRequires:  pcre-devel
@@ -43,12 +42,11 @@
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 %configure \
   --disable-silent-rules \
-  --without-included-regex
+  %{nil}
 %if 0%{?do_profiling}
   make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate} 
-fno-profile-values"
   # do not run profiling in parallel for reproducible builds (boo#1040589)

++ grep-3.1.tar.xz -> grep-3.3.tar.xz ++
 104577 lines of diff (skipped)

++ grep.keyring ++
--- /var/tmp/diff_new_pack.JH9Vh1/_old  2019-01-15 09:08:22.690679101 +0100
+++ /var/tmp/diff_new_pack.JH9Vh1/_new  2019-01-15 09:08:22.694679097 +0100
@@ -540,7 +540,6 @@
 =Ala3
 -END PGP PUBLIC KEY BLOCK-
 
-
 -BEGIN PGP PUBLIC KEY BLOCK-
 Version: GnuPG v1.4.10 (GNU/Linux)
 
@@ -913,7 +912,6 @@
 =5dqZ
 -END PGP PUBLIC KEY BLOCK-
 
-
 -BEGIN PGP PUBLIC KEY BLOCK-
 Version: GnuPG v1
 
@@ -967,6 +965,3 @@
 =eykL
 -END PGP PUBLIC KEY BLOCK-
 
-
-
-




commit grep for openSUSE:Factory

2018-11-26 Thread root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2018-11-26 10:12:03

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new.19453 (New)


Package is "grep"

Mon Nov 26 10:12:03 2018 rev:68 rq:648389 version:3.1

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2018-08-28 
09:18:01.343614432 +0200
+++ /work/SRC/openSUSE:Factory/.grep.new.19453/grep.changes 2018-11-26 
10:12:06.126309367 +0100
@@ -7,0 +8,6 @@
+Fri Jul 13 03:53:14 UTC 2018 - bwiedem...@suse.com
+
+- do not run profiling in parallel to make package build
+  reproducible (boo#1040589)
+
+---



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.38jq53/_old  2018-11-26 10:12:06.774308607 +0100
+++ /var/tmp/diff_new_pack.38jq53/_new  2018-11-26 10:12:06.774308607 +0100
@@ -49,9 +49,10 @@
 %configure \
   --disable-silent-rules \
   --without-included-regex
-%if %{do_profiling}
-  make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}"
-  make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" check
+%if 0%{?do_profiling}
+  make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate} 
-fno-profile-values"
+  # do not run profiling in parallel for reproducible builds (boo#1040589)
+  make CFLAGS="%{optflags} %{cflags_profile_generate}" check
   make clean
   make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}"
 %else






commit grep for openSUSE:Factory

2018-08-28 Thread root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2018-08-28 09:17:56

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new (New)


Package is "grep"

Tue Aug 28 09:17:56 2018 rev:67 rq:627810 version:3.1

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2018-02-28 
19:54:56.844864443 +0100
+++ /work/SRC/openSUSE:Factory/.grep.new/grep.changes   2018-08-28 
09:18:01.343614432 +0200
@@ -1,0 +2,6 @@
+Tue Aug  7 07:08:30 UTC 2018 - sch...@suse.de
+
+- remove-backref-alt-test.patch: Remove backref-alt test which fails or
+  not depending on glibc version
+
+---

New:

  remove-backref-alt-test.patch



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.ro72g2/_old  2018-08-28 09:18:04.339623959 +0200
+++ /var/tmp/diff_new_pack.ro72g2/_new  2018-08-28 09:18:04.375624073 +0200
@@ -20,12 +20,13 @@
 Version:3.1
 Release:0
 Summary:Print lines matching a pattern
-License:GPL-3.0+
+License:GPL-3.0-or-later
 Group:  Productivity/Text/Utilities
 Url:https://www.gnu.org/software/grep/
 Source0:https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
 Source2:https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
 Source3:
https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=grep=1#/%{name}.keyring
+Patch0: remove-backref-alt-test.patch
 BuildRequires:  fdupes
 BuildRequires:  makeinfo
 BuildRequires:  pcre-devel
@@ -42,6 +43,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure \



++ remove-backref-alt-test.patch ++
Index: grep-3.1/tests/Makefile.am
===
--- grep-3.1.orig/tests/Makefile.am
+++ grep-3.1/tests/Makefile.am
@@ -63,7 +63,6 @@ endif
 
 TESTS =\
   backref  \
-  backref-alt  \
   backref-multibyte-slow   \
   backref-word \
   backslash-s-and-repetition-operators \
Index: grep-3.1/tests/Makefile.in
===
--- grep-3.1.orig/tests/Makefile.in
+++ grep-3.1/tests/Makefile.in
@@ -1411,7 +1411,6 @@ LDADD = ../lib/libgreputils.a $(LIBINTL)
 XFAIL_TESTS = triple-backref $(am__append_1) $(am__append_2)
 TESTS = \
   backref  \
-  backref-alt  \
   backref-multibyte-slow   \
   backref-word \
   backslash-s-and-repetition-operators \



commit grep for openSUSE:Factory

2018-02-28 Thread root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2018-02-28 19:54:56

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new (New)


Package is "grep"

Wed Feb 28 19:54:56 2018 rev:66 rq:580141 version:3.1

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2017-07-10 
11:00:19.524109015 +0200
+++ /work/SRC/openSUSE:Factory/.grep.new/grep.changes   2018-02-28 
19:54:56.844864443 +0100
@@ -1,0 +2,5 @@
+Thu Feb 22 15:10:33 UTC 2018 - fv...@suse.com
+
+- Use %license (boo#1082318)
+
+---



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.W6Xk8X/_old  2018-02-28 19:54:57.992822902 +0100
+++ /var/tmp/diff_new_pack.W6Xk8X/_new  2018-02-28 19:54:57.996822757 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package grep
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -78,7 +78,8 @@
 
 %files
 %defattr(-,root,root)
-%doc README AUTHORS NEWS THANKS TODO COPYING ChangeLog*
+%license COPYING
+%doc README AUTHORS NEWS THANKS TODO ChangeLog*
 #UsrMerge
 /bin/egrep
 /bin/fgrep






commit grep for openSUSE:Factory

2017-07-10 Thread root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2017-07-10 11:00:16

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new (New)


Package is "grep"

Mon Jul 10 11:00:16 2017 rev:65 rq:507734 version:3.1

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2017-06-08 
16:09:42.142111010 +0200
+++ /work/SRC/openSUSE:Factory/.grep.new/grep.changes   2017-07-10 
11:00:19.524109015 +0200
@@ -1,0 +2,8 @@
+Mon Jul  3 08:13:33 UTC 2017 - sch...@suse.de
+
+- Update to grep 3.1
+  * grep '[0-9]' is now just as fast as grep '[[:digit:]]' when run
+in a multi-byte locale
+  * Context no longer excludes selected lines omitted because of -m
+
+---

Old:

  grep-3.0.tar.xz
  grep-3.0.tar.xz.sig

New:

  grep-3.1.tar.xz
  grep-3.1.tar.xz.sig



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.AIBpqZ/_old  2017-07-10 11:00:20.176016947 +0200
+++ /var/tmp/diff_new_pack.AIBpqZ/_new  2017-07-10 11:00:20.180016381 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   grep
-Version:3.0
+Version:3.1
 Release:0
 Summary:Print lines matching a pattern
 License:GPL-3.0+

++ grep-3.0.tar.xz -> grep-3.1.tar.xz ++
 41709 lines of diff (skipped)





commit grep for openSUSE:Factory

2017-06-08 Thread root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2017-06-08 16:09:38

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new (New)


Package is "grep"

Thu Jun  8 16:09:38 2017 rev:64 rq:501206 version:3.0

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2017-03-05 
17:47:44.741887972 +0100
+++ /work/SRC/openSUSE:Factory/.grep.new/grep.changes   2017-06-08 
16:09:42.142111010 +0200
@@ -1,0 +2,7 @@
+Thu Jun  1 19:23:26 UTC 2017 - mplus...@suse.com
+
+- Use https url's
+- Drop no longer needed explicit pie
+- Enable profiled build
+
+---



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.toUMoU/_old  2017-06-08 16:09:42.894004914 +0200
+++ /var/tmp/diff_new_pack.toUMoU/_new  2017-06-08 16:09:42.894004914 +0200
@@ -22,10 +22,10 @@
 Summary:Print lines matching a pattern
 License:GPL-3.0+
 Group:  Productivity/Text/Utilities
-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=1#/%{name}.keyring
+Url:https://www.gnu.org/software/grep/
+Source0:https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
+Source2:https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
+Source3:
https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=grep=1#/%{name}.keyring
 BuildRequires:  fdupes
 BuildRequires:  makeinfo
 BuildRequires:  pcre-devel
@@ -44,13 +44,20 @@
 %setup -q
 
 %build
-%global optflags %{optflags} -fPIE
-export LDFLAGS="-pie"
-%configure --disable-silent-rules --without-included-regex
-make %{?_smp_mflags}
+%configure \
+  --disable-silent-rules \
+  --without-included-regex
+%if %{do_profiling}
+  make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}"
+  make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" check
+  make clean
+  make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}"
+%else
+  make %{?_smp_mflags} CFLAGS="%{optflags}"
+%endif
 
 %check
-make check VERBOSE=1 %{?_smp_mflags}
+make %{?_smp_mflags} check
 
 %install
 %make_install






commit grep for openSUSE:Factory

2017-03-05 Thread root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2017-03-05 17:47:43

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new (New)


Package is "grep"

Sun Mar  5 17:47:43 2017 rev:63 rq:456801 version:3.0

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2017-02-13 
00:25:33.643518043 +0100
+++ /work/SRC/openSUSE:Factory/.grep.new/grep.changes   2017-03-05 
17:47:44.741887972 +0100
@@ -1,0 +2,14 @@
+Sat Feb 11 07:19:36 UTC 2017 - mplus...@suse.com
+
+- Update to version 3.0:
+  * grep without -F no longer goes awry when given two or more
+patterns that contain no special characters other than '\' and
+also contain a subpattern like '\.' that escapes a character to
+make it ordinary.
+  * grep no longer fails to build on PCRE versions before 8.20.
+- Cleanup spec file:
+  * Drop support for old distributions
+  * Create lang subpackage
+  * Use fdupes to replace duplicate files with symlinks
+
+---

Old:

  grep-2.28.tar.xz
  grep-2.28.tar.xz.sig

New:

  grep-3.0.tar.xz
  grep-3.0.tar.xz.sig



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.hPrzV6/_old  2017-03-05 17:47:45.453787214 +0100
+++ /var/tmp/diff_new_pack.hPrzV6/_new  2017-03-05 17:47:45.457786648 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   grep
-Version:2.28
+Version:3.0
 Release:0
 Summary:Print lines matching a pattern
 License:GPL-3.0+
@@ -26,80 +26,66 @@
 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=1#/%{name}.keyring
+BuildRequires:  fdupes
 BuildRequires:  makeinfo
 BuildRequires:  pcre-devel
-BuildRequires:  xz
 Requires(pre):  %{install_info_prereq}
 Requires(preun): %{install_info_prereq}
+Recommends: %{name}-lang
 Provides:   base:%{_bindir}/grep
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} < 1120
-BuildRequires:  pcre
-%endif
 
 %description
-The grep command searches one or more input files for lines
-containing a match to a specified pattern.  By default, grep prints
-the matching lines.
+The grep command searches one or more input files for lines containing a
+match to a specified pattern.  By default, grep prints the matching lines.
+
+%lang_package
 
 %prep
 %setup -q
-%if 0%{?suse_version} < 1120
-echo 
"ac_cv_search_pcre_compile=\${ac_cv_search_pcre_compile=%{_libdir}/libpcre.a}" 
>config.cache
-%endif
 
 %build
 %global optflags %{optflags} -fPIE
 export LDFLAGS="-pie"
-%if 0%{?suse_version} < 1120
-%configure -C --bindir=/bin --disable-silent-rules
-%else if 0%{?suse_version} < 1310
-%configure --disable-silent-rules
-%else
 %configure --disable-silent-rules --without-included-regex
-%endif
 make %{?_smp_mflags}
 
 %check
 make check VERBOSE=1 %{?_smp_mflags}
 
 %install
-make %{?_smp_mflags} DESTDIR=%{buildroot} install
-%if 0%{?suse_version} < 1120
-install -d %{buildroot}%{_bindir}
-ln -sf ../../bin/egrep %{buildroot}%{_bindir}/egrep
-ln -sf ../../bin/fgrep %{buildroot}%{_bindir}/fgrep
-ln -sf ../../bin/grep  %{buildroot}%{_bindir}/grep
-%else
+%make_install
 #UsrMerge
 install -d %{buildroot}/bin
 ln -sf %{_bindir}/egrep %{buildroot}/bin/egrep
 ln -sf %{_bindir}/fgrep %{buildroot}/bin/fgrep
 ln -sf %{_bindir}/grep %{buildroot}/bin/grep
 #EndUsrMerge
-%endif
+%fdupes -s %{buildroot}
 %find_lang %{name}
 
 %post
-%install_info --info-dir=%{_infodir} %{_infodir}/grep.info.gz
+%install_info --info-dir=%{_infodir} %{_infodir}/grep.info%{ext_info}
 
 %preun
-%install_info_delete --info-dir=%{_infodir} %{_infodir}/grep.info.gz
+%install_info_delete --info-dir=%{_infodir} %{_infodir}/grep.info%{ext_info}
 
-%files -f %{name}.lang
+%files
 %defattr(-,root,root)
 %doc README AUTHORS NEWS THANKS TODO COPYING ChangeLog*
-%if 0%{?suse_version} < 1120
-/bin/*
-%else
 #UsrMerge
 /bin/egrep
 /bin/fgrep
 /bin/grep
 #EndUsrMerge
-%endif
-%{_bindir}/*
-%{_mandir}/man1/*%{ext_man}
-%{_infodir}/*%{ext_info}
+%{_bindir}/egrep
+%{_bindir}/fgrep
+%{_bindir}/grep
+%{_mandir}/man1/egrep.1%{ext_man}
+%{_mandir}/man1/fgrep.1%{ext_man}
+%{_mandir}/man1/grep.1%{ext_man}
+%{_infodir}/grep.info%{ext_info}
+
+%files lang -f %{name}.lang
+%defattr(-,root,root)
 
 %changelog

++ grep-2.28.tar.xz -> grep-3.0.tar.xz ++
 4809 lines of diff (skipped)





commit grep for openSUSE:Factory

2017-02-12 Thread root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2017-02-13 00:25:32

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new (New)


Package is "grep"

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2016-12-17 
09:45:56.146019639 +0100
+++ /work/SRC/openSUSE:Factory/.grep.new/grep.changes   2017-02-13 
00:25:33.643518043 +0100
@@ -1,0 +2,14 @@
+Wed Feb  8 09:56:26 UTC 2017 - mplus...@suse.com
+
+- Update to version 2.28:
+  * Improve performance for -E or -G pattern lists that are easily
+converted to -F format.
+  * Fix performance regression with multiple patterns.
+  * When standard output is /dev/null, grep no longer fails when 
+standard input is a file in the Linux /proc file system, or when
+standard input is a pipe and standard output is in append mode.
+  * When grep -Fo finds matches of differing length, it could
+mistakenly print a shorter one.  Now it prints a longest one.
+- Drop upstreamed proc-lseek-glitch.patch 
+
+---

Old:

  grep-2.27.tar.xz
  grep-2.27.tar.xz.sig
  proc-lseek-glitch.patch

New:

  grep-2.28.tar.xz
  grep-2.28.tar.xz.sig



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.Luk2v9/_old  2017-02-13 00:25:35.611236339 +0100
+++ /var/tmp/diff_new_pack.Luk2v9/_new  2017-02-13 00:25:35.615235767 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package grep
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -17,7 +17,7 @@
 
 
 Name:   grep
-Version:2.27
+Version:2.28
 Release:0
 Summary:Print lines matching a pattern
 License:GPL-3.0+
@@ -26,7 +26,6 @@
 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=1#/%{name}.keyring
-Patch1: proc-lseek-glitch.patch
 BuildRequires:  makeinfo
 BuildRequires:  pcre-devel
 BuildRequires:  xz
@@ -45,7 +44,6 @@
 
 %prep
 %setup -q
-%patch1 -p1
 %if 0%{?suse_version} < 1120
 echo 
"ac_cv_search_pcre_compile=\${ac_cv_search_pcre_compile=%{_libdir}/libpcre.a}" 
>config.cache
 %endif

++ grep-2.27.tar.xz -> grep-2.28.tar.xz ++
 35832 lines of diff (skipped)

++ grep.keyring ++
Binary files /var/tmp/diff_new_pack.Luk2v9/_old and 
/var/tmp/diff_new_pack.Luk2v9/_new differ




commit grep for openSUSE:Factory

2016-11-03 Thread h_root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2016-11-03 11:12:22

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new (New)


Package is "grep"

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2016-04-30 
23:22:54.0 +0200
+++ /work/SRC/openSUSE:Factory/.grep.new/grep.changes   2016-11-03 
11:12:23.0 +0100
@@ -1,0 +2,23 @@
+Fri Oct 28 13:01:39 UTC 2016 - astie...@suse.com
+
+- grep 2.26:
+  * no longer omit output merely because it follows an output line
+suppressed due to encoding errors
+  * In the Shift_JIS locale, no longer mistakenly match in the
+middle of a multibyte character
+  * grep can be much faster now when standard output is /dev/null.
+  * grep -F is now typically much faster when many patterns are
+given, as it now uses the Aho-Corasick algorithm instead of
+the Commentz-Walter algorithm in that case.
+  * grep -iF is typically much faster in a multibyte locale, if
+the pattern and its case counterparts contain only single byte
+characters.
+  * grep with complicated expressions (e.g., back-references) and
+without -i now uses the regex fastmap for better performance.
+  * In multibyte locales, grep now handles leading "." in patterns
+more efficiently.
+  * grep now prints a "FILENAME:LINENO: " prefix when diagnosing
+an invalid regular expression that was read from an 
+   '-f'-specified file.
+
+---

Old:

  grep-2.25.tar.xz
  grep-2.25.tar.xz.sig

New:

  grep-2.26.tar.xz
  grep-2.26.tar.xz.sig



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.obkAmb/_old  2016-11-03 11:12:25.0 +0100
+++ /var/tmp/diff_new_pack.obkAmb/_new  2016-11-03 11:12:25.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   grep
-Version:2.25
+Version:2.26
 Release:0
 Summary:Print lines matching a pattern
 License:GPL-3.0+
@@ -51,7 +51,7 @@
 %endif
 
 %build
-%global optflags %optflags -fPIE
+%global optflags %{optflags} -fPIE
 export LDFLAGS="-pie"
 %if 0%{?suse_version} < 1120
 %configure -C --bindir=/bin --disable-silent-rules
@@ -66,7 +66,7 @@
 make check VERBOSE=1 %{?_smp_mflags}
 
 %install
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
+make %{?_smp_mflags} DESTDIR=%{buildroot} install
 %if 0%{?suse_version} < 1120
 install -d %{buildroot}%{_bindir}
 ln -sf ../../bin/egrep %{buildroot}%{_bindir}/egrep
@@ -101,7 +101,7 @@
 #EndUsrMerge
 %endif
 %{_bindir}/*
-%{_mandir}/man1/*.gz
-%{_infodir}/*.gz
+%{_mandir}/man1/*%{ext_man}
+%{_infodir}/*%{ext_info}
 
 %changelog

++ grep-2.25.tar.xz -> grep-2.26.tar.xz ++
 44799 lines of diff (skipped)





commit grep for openSUSE:Factory

2016-04-30 Thread h_root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2016-04-30 23:22:53

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new (New)


Package is "grep"

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2015-12-03 
13:24:58.0 +0100
+++ /work/SRC/openSUSE:Factory/.grep.new/grep.changes   2016-04-30 
23:22:54.0 +0200
@@ -1,0 +2,71 @@
+Fri Apr 22 13:49:18 UTC 2016 - astie...@suse.com
+
+- grep 2.25:
+  * In the C or POSIX locale, grep now treats all bytes as valid
+characters even if the C runtime library says otherwise.
+( Fixes yast2-users and other build failures - boo#966780 )
+  * grep -oz now uses null bytes, not newlines, to terminate output
+lines.
+  * grep now outputs details more consistently when reporting a
+write error.
+
+---
+Fri Mar 11 09:30:02 UTC 2016 - mplus...@suse.com
+
+- Update to 2.24
+  * grep -z would match strings it should not.  To trigger the bug, 
+you'd have to use a regular expression including an anchor 
+(^ or $) and a feature like a range or a backreference, causing 
+grep to forego its DFA matcher and resort to using re_search.
+With a multibyte locale, that matcher could mistakenly match a 
+string containing a newline. For example, this command: 
+printf 'a\nb\0' | LC_ALL=en_US.utf-8 grep -z '^[a-b]*b'
+would mistakenly match and print all four input bytes.  After 
+the fix, there is no match, as expected.
+[bug introduced in grep-2.7]
+  * grep -Pz now diagnoses attempts to use patterns containing ^ 
+and $, instead of mishandling these patterns.  This problem 
+seems to be inherent to the PCRE API; removing this limitation 
+is on PCRE's maint/README wish list.  Patterns can continue to 
+match literal ^ and $ by escaping them with \ (now needed even 
+inside [...]). [bug introduced in grep-2.5]
+
+---
+Fri Feb  5 08:01:46 UTC 2016 - mplus...@suse.com
+
+- Update to 2.23
+  * Binary files are now less likely to generate diagnostics and 
+more likely to yield text matches.  grep now reports "Binary 
+file FOO matches" and suppresses further output instead of 
+outputting a line containing an encoding error; hence grep can 
+now report matching text before a later binary match.  
+Formerly, grep reported FOO to be binary when it found an 
+encoding error in FOO before generating output for FOO, which 
+meant it never reported both matching text and matching binary 
+data; this was less useful for searching text containing 
+encoding errors in non-matching lines. [bug introduced in 
+grep-2.21]
+  * grep -c no longer stops counting when finding binary data. 
+[bug introduced in grep-2.21]
+  * grep no longer outputs encoding errors in unibyte locales. For 
+example, if the byte '\x81' is not a valid character in a
+unibyte locale, grep treats the byte as binary data. [bug 
+introduced in grep-2.21]
+  * grep -oP is no longer susceptible to an infinite loop when 
+processing invalid UTF8 just before a match. [bug introduced in 
+grep-2.22]
+  * --exclude and related options are now matched against trailing 
+parts of command-line arguments, not against the entire
+arguments. This partly reverts the --exclude-related change 
+in 2.22. [bug introduced in grep-2.22]
+  * --line-buffer is no longer ineffective when combined with -l. 
+[bug introduced in grep-2.5]
+  * -xw is now equivalent to -x more consistently, with -P and 
+with backrefs.  [bug only partially fixed in grep-2.19]
+- Update info handling scriplets 
+  * move from postun to preun
+  * add dependeny for preun
+- Refresh partially upstreamed patch
+  * testsuite.patch
+
+---

Old:

  grep-2.22.tar.xz
  grep-2.22.tar.xz.sig

New:

  grep-2.25.tar.xz
  grep-2.25.tar.xz.sig



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.jGrtLY/_old  2016-04-30 23:22:55.0 +0200
+++ /var/tmp/diff_new_pack.jGrtLY/_new  2016-04-30 23:22:55.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package grep
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -17,7 +17,7 @@
 
 
 Name:   grep
-Version:2.22
+Version:2.25
 Release:0
 Summary:  

commit grep for openSUSE:Factory

2015-12-03 Thread h_root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2015-12-03 13:24:56

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new (New)


Package is "grep"

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2015-11-08 
14:34:55.0 +0100
+++ /work/SRC/openSUSE:Factory/.grep.new/grep.changes   2015-12-03 
13:24:58.0 +0100
@@ -1,0 +2,5 @@
+Thu Nov 26 13:22:50 UTC 2015 - sch...@suse.de
+
+- testsuite.patch: also disable long-pattern-perf test
+
+---



Other differences:
--


++ testsuite.patch ++
--- /var/tmp/diff_new_pack.Npp0eg/_old  2015-12-03 13:24:59.0 +0100
+++ /var/tmp/diff_new_pack.Npp0eg/_new  2015-12-03 13:24:59.0 +0100
@@ -1,13 +1,54 @@
-Index: grep-2.22/tests/mb-non-UTF8-performance
-===
 grep-2.22.orig/tests/mb-non-UTF8-performance
-+++ grep-2.22/tests/mb-non-UTF8-performance
-@@ -18,6 +18,8 @@
- # You should have received a copy of the GNU General Public License
- # along with this program.  If not, see .
+From e938d22e2131972a6e9eaddbf850c6a04a4f750c Mon Sep 17 00:00:00 2001
+From: Jim Meyering 
+Date: Wed, 4 Nov 2015 10:57:07 -0800
+Subject: [PATCH] tests: mark performance-related tests as expensive
+
+These performance-related tests are slightly failure prone due to
+varying system load during the two runs.
+Marking these tests as "expensive" makes it so they are no longer run
+via "make check". You can still run them via make "check-expensive".
+This makes them less likely to be run by regular users.
+* tests/long-pattern-perf: Use expensive_.
+* tests/mb-non-UTF8-performance: Likewise.
+Reported by Jaroslav Skarvada in http://debbugs.gnu.org/21826
+and by Andreas Schwab in http://debbugs.gnu.org/21812.
+---
+ tests/long-pattern-perf   | 5 +
+ tests/mb-non-UTF8-performance | 5 +
+ 2 files changed, 10 insertions(+)
+
+diff --git a/tests/long-pattern-perf b/tests/long-pattern-perf
+index c222c02..2c9d080 100755
+--- a/tests/long-pattern-perf
 b/tests/long-pattern-perf
+@@ -20,6 +20,11 @@
  
-+exit 77
+ fail=0
+ 
++# This test is susceptible to failure due to differences in
++# system load during the two test runs, so we'll mark it as
++# "expensive", making it less likely to be run by regular users.
++expensive_
 +
- . "${srcdir=.}/init.sh"; path_prepend_ ../src
+ echo x > in || framework_failure_
+ # We could use seq -s '' (avoiding the tr filter), but I
+ # suspect some version of seq does not honor that option.
+diff --git a/tests/mb-non-UTF8-performance b/tests/mb-non-UTF8-performance
+index 228361d..9bd5d39 100755
+--- a/tests/mb-non-UTF8-performance
 b/tests/mb-non-UTF8-performance
+@@ -22,6 +22,11 @@
  
  fail=0
+ 
++# This test is susceptible to failure due to differences in
++# system load during the two test runs, so we'll mark it as
++# "expensive", making it less likely to be run by regular users.
++expensive_
++
+ # Make this large enough so that even on high-end systems
+ # it incurs at least 5-10ms of user time.
+ yes $(printf '%078d' 0) | head -40 > in || framework_failure_
+-- 
+2.6.3
+




commit grep for openSUSE:Factory

2015-11-08 Thread h_root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2015-11-08 14:34:53

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new (New)


Package is "grep"

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2015-07-21 
13:23:57.0 +0200
+++ /work/SRC/openSUSE:Factory/.grep.new/grep.changes   2015-11-08 
14:34:55.0 +0100
@@ -1,0 +2,14 @@
+Tue Nov  3 13:45:34 UTC 2015 - sch...@suse.de
+
+- testsuite.patch: disable unreliable test mb-non-UTF8-performance
+
+---
+Mon Nov  2 18:20:38 UTC 2015 - astie...@suse.com
+
+- GNU grep 2.22:
+  * Improve performance for patterns containing very long strings
+  * Output and pattern matching bug fixes
+- drop add gnulib-perl522.patch, changed upstream
+- drop grep-F-heap-overrun.patch, included upstream
+
+---

Old:

  gnulib-perl522.patch
  grep-2.21.tar.xz
  grep-2.21.tar.xz.sig
  grep-F-heap-overrun.patch

New:

  grep-2.22.tar.xz
  grep-2.22.tar.xz.sig
  testsuite.patch



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.um4D16/_old  2015-11-08 14:34:57.0 +0100
+++ /var/tmp/diff_new_pack.um4D16/_new  2015-11-08 14:34:57.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   grep
-Version:2.21
+Version:2.22
 Release:0
 Summary:Print lines matching a pattern
 License:GPL-3.0+
@@ -26,9 +26,7 @@
 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=1#/%{name}.keyring
-Patch0: grep-F-heap-overrun.patch
-# PATCH-FIX-UPSTREAM http://comments.gmane.org/gmane.comp.lib.gnulib.bugs/35272
-Patch1: gnulib-perl522.patch
+Patch0: testsuite.patch
 BuildRequires:  makeinfo
 BuildRequires:  pcre-devel
 BuildRequires:  xz
@@ -47,8 +45,6 @@
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -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

++ grep-2.21.tar.xz -> grep-2.22.tar.xz ++
 64049 lines of diff (skipped)


++ testsuite.patch ++
Index: grep-2.22/tests/mb-non-UTF8-performance
===
--- grep-2.22.orig/tests/mb-non-UTF8-performance
+++ grep-2.22/tests/mb-non-UTF8-performance
@@ -18,6 +18,8 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see .
 
+exit 77
+
 . "${srcdir=.}/init.sh"; path_prepend_ ../src
 
 fail=0



commit grep for openSUSE:Factory

2015-07-21 Thread h_root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2015-07-21 13:23:56

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new (New)


Package is grep

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2015-02-08 
11:41:15.0 +0100
+++ /work/SRC/openSUSE:Factory/.grep.new/grep.changes   2015-07-21 
13:23:57.0 +0200
@@ -1,0 +2,5 @@
+Mon Jul  6 10:10:12 UTC 2015 - co...@suse.com
+
+- add gnulib-perl522.patch from gnulib.bugs
+
+---

New:

  gnulib-perl522.patch



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.U6y8yn/_old  2015-07-21 13:23:58.0 +0200
+++ /var/tmp/diff_new_pack.U6y8yn/_new  2015-07-21 13:23:58.0 +0200
@@ -27,6 +27,8 @@
 Source2:http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
 Source3:
http://savannah.gnu.org/project/memberlist-gpgkeys.php?group=grepdownload=1#/%{name}.keyring
 Patch0: grep-F-heap-overrun.patch
+# PATCH-FIX-UPSTREAM http://comments.gmane.org/gmane.comp.lib.gnulib.bugs/35272
+Patch1: gnulib-perl522.patch
 BuildRequires:  makeinfo
 BuildRequires:  pcre-devel
 BuildRequires:  xz
@@ -45,6 +47,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -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

++ gnulib-perl522.patch ++
Subject: http://comments.gmane.org/gmane.comp.lib.gnulib.bugs/35272

Index: grep-2.21/build-aux/update-copyright
===
--- grep-2.21.orig/build-aux/update-copyright
+++ grep-2.21/build-aux/update-copyright
@@ -124,7 +124,7 @@ use strict;
 use warnings;
 
 my $copyright_re = 'Copyright';
-my $circle_c_re = '(?:\([cC]\)|@copyright{}|copy;)';
+my $circle_c_re = '(?:\([cC]\)|@copyright\{}|copy;)';
 my $holder = $ENV{UPDATE_COPYRIGHT_HOLDER};
 $holder ||= 'Free Software Foundation, Inc.';
 my $prefix_max = 5;





commit grep for openSUSE:Factory

2015-02-08 Thread h_root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2015-02-08 11:41:14

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new (New)


Package is grep

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2015-01-20 
21:54:07.0 +0100
+++ /work/SRC/openSUSE:Factory/.grep.new/grep.changes   2015-02-08 
11:41:15.0 +0100
@@ -1,0 +2,6 @@
+Mon Jan 26 10:46:13 UTC 2015 - sch...@suse.de
+
+- grep-F-heap-overrun.patch: fix heap overrun with grep -F (CVE-2015-1345,
+  bsc#914695)
+
+---

New:

  grep-F-heap-overrun.patch



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.Ibd4zp/_old  2015-02-08 11:41:17.0 +0100
+++ /var/tmp/diff_new_pack.Ibd4zp/_new  2015-02-08 11:41:17.0 +0100
@@ -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 @@
 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=grepdownload=1#/%{name}.keyring
+Patch0: grep-F-heap-overrun.patch
 BuildRequires:  makeinfo
 BuildRequires:  pcre-devel
 BuildRequires:  xz
@@ -43,6 +44,8 @@
 
 %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


++ grep-F-heap-overrun.patch ++
From 83a95bd8c8561875b948cadd417c653dbe7ef2e2 Mon Sep 17 00:00:00 2001
From: Yuliy Pisetsky ypiset...@fb.com
Date: Thu, 1 Jan 2015 15:36:55 -0800
Subject: [PATCH] grep -F: fix a heap buffer (read) overrun

grep's read buffer is often filled to its full size, except when
reading the final buffer of a file.  In that case, the number of
bytes read may be far less than the size of the buffer.  However, for
certain unusual pattern/text combinations, grep -F would mistakenly
examine bytes in that uninitialized region of memory when searching
for a match.  With carefully chosen inputs, one can cause grep -F to
read beyond the end of that buffer altogether.  This problem arose via
commit v2.18-90-g73893ff with the introduction of a more efficient
heuristic using what is now the memchr_kwset function. The use of
that function in bmexec_trans could leave TP much larger than EP,
and the subsequent call to bm_delta2_search would mistakenly access
beyond end of the main input read buffer.

* src/kwset.c (bmexec_trans): When TP reaches or exceeds EP,
do not call bm_delta2_search.
* tests/kwset-abuse: New file.
* tests/Makefile.am (TESTS): Add it.
* THANKS.in: Update.
* NEWS (Bug fixes): Mention it.

Prior to this patch, this command would trigger a UMR:

  printf %0360db 0 | valgrind src/grep -F $(printf %019dXb 0)

  Use of uninitialised value of size 8
 at 0x4142BE: bmexec_trans (kwset.c:657)
 by 0x4143CA: bmexec (kwset.c:678)
 by 0x414973: kwsexec (kwset.c:848)
 by 0x414DC4: Fexecute (kwsearch.c:128)
 by 0x404E2E: grepbuf (grep.c:1238)
 by 0x4054BF: grep (grep.c:1417)
 by 0x405CEB: grepdesc (grep.c:1645)
 by 0x405EC1: grep_command_line_arg (grep.c:1692)
 by 0x4077D4: main (grep.c:2570)

See the accompanying test for how to trigger the heap buffer overrun.

Thanks to Nima Aghdaii for testing and finding numerous
ways to break early iterations of this patch.
---
 NEWS  |  5 +
 THANKS.in |  1 +
 src/kwset.c   |  2 ++
 tests/Makefile.am |  1 +
 tests/kwset-abuse | 32 
 5 files changed, 41 insertions(+)
 create mode 100755 tests/kwset-abuse

Index: grep-2.21/src/kwset.c
===
--- grep-2.21.orig/src/kwset.c
+++ grep-2.21/src/kwset.c
@@ -643,6 +643,8 @@ bmexec_trans (kwset_t kwset, char const
 if (! tp)
   return -1;
 tp++;
+if (ep = tp)
+  break;
   }
   }
   }
Index: grep-2.21/tests/Makefile.am
===
--- grep-2.21.orig/tests/Makefile.am
+++ grep-2.21/tests/Makefile.am
@@ -72,6 +72,7 @@ TESTS =   \
   inconsistent-range 

commit grep for openSUSE:Factory

2015-01-20 Thread h_root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2015-01-20 21:54:05

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new (New)


Package is grep

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2015-01-08 
23:00:55.0 +0100
+++ /work/SRC/openSUSE:Factory/.grep.new/grep.changes   2015-01-20 
21:54:07.0 +0100
@@ -1,0 +2,5 @@
+Mon Jan 12 08:59:43 UTC 2015 - sch...@suse.de
+
+- Fix last change
+
+---



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.o9p4zc/_old  2015-01-20 21:54:08.0 +0100
+++ /var/tmp/diff_new_pack.o9p4zc/_new  2015-01-20 21:54:08.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package grep
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -48,10 +48,7 @@
 %endif
 
 %build
-%ifarch ppc ppc64
-export CFLAGS=%{optflags} -mlong-double-64
-%endif
-export CFLAGS=$CFLAGS -fPIE
+%global optflags %optflags -fPIE
 export LDFLAGS=-pie
 %if 0%{?suse_version}  1120
 %configure -C --bindir=/bin --disable-silent-rules



-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit grep for openSUSE:Factory

2015-01-08 Thread h_root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2015-01-08 23:00:54

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new (New)


Package is grep

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2014-12-01 
14:00:41.0 +0100
+++ /work/SRC/openSUSE:Factory/.grep.new/grep.changes   2015-01-08 
23:00:55.0 +0100
@@ -1,0 +2,5 @@
+Tue Dec 30 11:23:26 UTC 2014 - meiss...@suse.com
+
+- build with PIE enabled
+
+---



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.mWNUzk/_old  2015-01-08 23:00:56.0 +0100
+++ /var/tmp/diff_new_pack.mWNUzk/_new  2015-01-08 23:00:56.0 +0100
@@ -51,6 +51,8 @@
 %ifarch ppc ppc64
 export CFLAGS=%{optflags} -mlong-double-64
 %endif
+export CFLAGS=$CFLAGS -fPIE
+export LDFLAGS=-pie
 %if 0%{?suse_version}  1120
 %configure -C --bindir=/bin --disable-silent-rules
 %else if 0%{?suse_version}  1310



-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit grep for openSUSE:Factory

2014-12-01 Thread h_root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2014-12-01 14:00:31

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new (New)


Package is grep

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2014-06-18 
22:04:38.0 +0200
+++ /work/SRC/openSUSE:Factory/.grep.new/grep.changes   2014-12-01 
14:00:41.0 +0100
@@ -1,0 +2,33 @@
+Fri Nov 28 15:49:19 UTC 2014 - andreas.stie...@gmx.de
+
+- GNU grep 2.21
+- Improvements:
+  * performance improved for searching files containing holes, on
+platforms where lseek's SEEK_DATA flag works efficiently.
+  * performance improved for rejecting data that cannot match even
+the first part of a nontrivial pattern.
+  * performance improved for very long strings in patterns.
+  * If a file contains data improperly encoded for the current 
+locale, and this is discovered before any of the file's contents
+are output, grep now treats the file as binary.
+  * -P no longer reports an error and exits when given invalid UTF-8
+data. Instead, it considers the data to be non-matching.
+- Bug fixes:
+  * fix issues in multibyte locales
+  * grep -F -x -o no longer prints an extra newline for each match.
+  * grep in a non-UTF8 multibyte locale could mistakenly match in
+the middle of a multibyte character when using a '^'-anchored
+alternate in a pattern, leading it to print non-matching lines.
+  * grep -F Y no longer fails to match in non-UTF8 multibyte locales 
+  * grep -E rejected unmatched ')', instead of treating it like '\)'.
+   
+- Changes in behavior:
+  * The GREP_OPTIONS environment variable is now obsolescent
+  * In locales with multibyte character encodings other than UTF-8,
+grep -P now reports an error and exits instead of misbehaving.
+  * When searching binary data, grep now may treat non-text bytes as
+line terminators.  This can boost performance significantly.
+  * grep -z no longer automatically treats the byte '\200' as
+binary data.
+
+---

Old:

  grep-2.20.tar.xz
  grep-2.20.tar.xz.sig

New:

  grep-2.21.tar.xz
  grep-2.21.tar.xz.sig



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.cDmxOd/_old  2014-12-01 14:00:43.0 +0100
+++ /var/tmp/diff_new_pack.cDmxOd/_new  2014-12-01 14:00:43.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   grep
-Version:2.20
+Version:2.21
 Release:0
 Summary:Print lines matching a pattern
 License:GPL-3.0+

++ grep-2.20.tar.xz - grep-2.21.tar.xz ++
 35055 lines of diff (skipped)


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit grep for openSUSE:Factory

2014-06-18 Thread h_root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2014-06-18 22:04:34

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new (New)


Package is grep

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2014-05-26 
14:39:54.0 +0200
+++ /work/SRC/openSUSE:Factory/.grep.new/grep.changes   2014-06-18 
22:04:38.0 +0200
@@ -1,0 +2,16 @@
+Sat Jun  7 20:35:48 UTC 2014 - andreas.stie...@gmx.de
+
+- GNU grep 2.20
+- Bug fixes:
+  * grep --max-count=N FILE would no longer stop reading after the
+Nth match. I.e., while grep would still print the correct
+output, it would continue reading until end of input, and
+hence, potentially forever. [introduced in 2.19]
+  * A command like echo aa|grep -E 'a(b$|c$)' would mistakenly
+report the input as a matched line. [introduced in 2.19]
+- Changes in behavior:
+  * grep --exclude-dir='FOO/' now excludes the directory FOO.
+Previously, the trailing slash meant the option was
+ineffective.
+
+---

Old:

  grep-2.19.tar.xz
  grep-2.19.tar.xz.sig

New:

  grep-2.20.tar.xz
  grep-2.20.tar.xz.sig



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.8S6svQ/_old  2014-06-18 22:04:39.0 +0200
+++ /var/tmp/diff_new_pack.8S6svQ/_new  2014-06-18 22:04:39.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   grep
-Version:2.19
+Version:2.20
 Release:0
 Summary:Print lines matching a pattern
 License:GPL-3.0+

++ grep-2.19.tar.xz - grep-2.20.tar.xz ++
 13505 lines of diff (skipped)


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit grep for openSUSE:Factory

2014-05-26 Thread h_root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2014-05-26 14:39:40

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new (New)


Package is grep

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2014-04-06 
09:53:58.0 +0200
+++ /work/SRC/openSUSE:Factory/.grep.new/grep.changes   2014-05-26 
14:39:54.0 +0200
@@ -1,0 +2,47 @@
+Sat May 24 16:50:50 UTC 2014 - andreas.stie...@gmx.de
+
+- GNU grep 2.19
+- Improvements:
+  * Performance has improved, typically by 10% and in some cases by
+a factor of 200.  However, performance of grep -P in UTF-8
+locales has gotten worse as part of the fix for the crashes
+mentioned below.
+- Bug fixes:
+  * grep no longer mishandles patterns like [a-[.z.]], and no
+longer mishandles patterns like [^a] in locales that have
+multicharacter collating sequences so that [^a] can match a
+string of two characters.
+  * grep no longer mishandles an empty pattern at the end of a
+pattern list.
+  * grep -C NUM now outputs separators consistently even when NUM
+is zero, and similarly for grep -A NUM and grep -B NUM.
+  * grep -f no longer mishandles patterns containing NUL bytes.
+  * Plain grep, grep -E, and grep -F now treat encoding errors in
+patterns the same way the GNU regular expression matcher treats
+them, with respect to whether the errors can match parts of
+multibyte characters in data.
+  * grep -w no longer mishandles a potential match adjacent to a 
+letter that takes up two or more bytes in a multibyte encoding.
+Similarly, the patterns '\', '\', '\b', and '\B' no longer
+mishandle word-boundary matches in multibyte locales.
+  * grep -P now reports an error and exits when given invalid UTF-8
+data. Previously it was unreliable, and sometimes crashed or
+looped.
+  * grep -P now works with -w and -x and backreferences. Before,
+echo aa|grep -Pw '(.)\1' would fail to match, yet
+echo aa|grep -Pw '(.)\2' would match.
+  * grep -Pw now works like grep -w in that the matched string has 
+to be preceded and followed by non-word components or the
+beginning and end of the line (as opposed to word boundaries
+before).  Before, this
+echo a@@a| grep -Pw @@ would match, yet this
+echo a@@a| grep -w @@ would not.  Now, they both fail to match,
+per the documentation on how grep's -w works.
+  * grep -i no longer mishandles patterns containing titlecase
+characters. For example, in a locale containing the titlecase
+character 'Lj' (U+01C8 LATIN CAPITAL LETTER L WITH SMALL LETTER 
+J), 'grep -i Lj' now matches both 'LJ' (U+01C7 LATIN CAPITAL
+LETTER LJ) and 'lj' (U+01C9 LATIN SMALL LETTER LJ).
+- remove mb-non-UTF8-performance.patch, committed upstream
+
+---

Old:

  grep-2.18.tar.xz
  grep-2.18.tar.xz.sig
  mb-non-UTF8-performance.patch

New:

  grep-2.19.tar.xz
  grep-2.19.tar.xz.sig



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.nnoVsk/_old  2014-05-26 14:39:56.0 +0200
+++ /var/tmp/diff_new_pack.nnoVsk/_new  2014-05-26 14:39:56.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   grep
-Version:2.18
+Version:2.19
 Release:0
 Summary:Print lines matching a pattern
 License:GPL-3.0+
@@ -26,20 +26,16 @@
 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=grepdownload=1#/%{name}.keyring
-# PATCH-FIX-UPSTREAM 
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=6e3ea0dd74426fd394225d3f9dc132e40cd92fd2
-Patch0: mb-non-UTF8-performance.patch
-
 BuildRequires:  makeinfo
 BuildRequires:  pcre-devel
 BuildRequires:  xz
+Requires(pre):  %{install_info_prereq}
+Provides:   base:%{_bindir}/grep
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}  1120
 BuildRequires:  pcre
 %endif
 
-Provides:   base:/usr/bin/grep
-Requires(pre):  %{install_info_prereq}
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-
 %description
 The grep command searches one or more input files for lines
 containing a match to a specified pattern.  By default, grep prints
@@ -47,7 +43,6 @@
 
 %prep
 %setup -q
-%patch0 -p1
 %if 0%{?suse_version}  1120
 echo 
ac_cv_search_pcre_compile=\${ac_cv_search_pcre_compile=%{_libdir}/libpcre.a} 
config.cache
 %endif

++ grep-2.18.tar.xz - grep-2.19.tar.xz ++
 38131 lines of diff (skipped)


-- 
To unsubscribe, e-mail: 

commit grep for openSUSE:Factory

2014-04-06 Thread h_root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2014-04-06 09:53:57

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new (New)


Package is grep

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2014-02-24 
06:52:03.0 +0100
+++ /work/SRC/openSUSE:Factory/.grep.new/grep.changes   2014-04-06 
09:53:58.0 +0200
@@ -1,0 +2,6 @@
+Tue Mar 25 15:10:02 UTC 2014 - sch...@suse.de
+
+- mb-non-UTF8-performance.patch: make performance-measuring less
+  system-sensitive
+
+---

New:

  mb-non-UTF8-performance.patch



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.cKXVSK/_old  2014-04-06 09:53:59.0 +0200
+++ /var/tmp/diff_new_pack.cKXVSK/_new  2014-04-06 09:53:59.0 +0200
@@ -26,6 +26,8 @@
 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=grepdownload=1#/%{name}.keyring
+# PATCH-FIX-UPSTREAM 
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=6e3ea0dd74426fd394225d3f9dc132e40cd92fd2
+Patch0: mb-non-UTF8-performance.patch
 
 BuildRequires:  makeinfo
 BuildRequires:  pcre-devel
@@ -45,6 +47,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 %if 0%{?suse_version}  1120
 echo 
ac_cv_search_pcre_compile=\${ac_cv_search_pcre_compile=%{_libdir}/libpcre.a} 
config.cache
 %endif



++ mb-non-UTF8-performance.patch ++
Index: grep-2.18/tests/init.cfg
===
--- grep-2.18.orig/tests/init.cfg
+++ grep-2.18/tests/init.cfg
@@ -103,6 +103,21 @@ require_unibyte_locale()
   skip_ 'no unibyte locale found'
 }
 
+# Define hi_res_time_ to a function that prints the current time
+# as a floating point number with greater than 1-second resolution.
+# Otherwise, skip the requiring test.
+require_hi_res_time_()
+{
+  local cmd
+  for cmd in 'date +%s.%N' \
+  'perl -le use Time::HiRes qw(time); print scalar time()'; do
+  case $($cmd) in
+  *.[0-9]*) eval 'hi_res_time_() { '$cmd'; }'; break;;
+  esac
+  done
+  type hi_res_time_ || skip_ no high-resolution timer support
+}
+
 require_JP_EUC_locale_()
 {
   local locale=ja_JP.eucJP
Index: grep-2.18/tests/mb-non-UTF8-performance
===
--- grep-2.18.orig/tests/mb-non-UTF8-performance
+++ grep-2.18/tests/mb-non-UTF8-performance
@@ -1,5 +1,7 @@
 #!/bin/sh
 # grep-2.17 would take nearly 200x longer to run the command below.
+# The 200x is on an Intel i7-based system.
+# On an AMD FX-4100, it would take up to 2500x longer.
 
 # Copyright 2014 Free Software Foundation, Inc.
 
@@ -18,15 +20,26 @@
 
 . ${srcdir=.}/init.sh; path_prepend_ ../src
 require_timeout_
+require_hi_res_time_
 
 fail=0
 
-require_JP_EUC_locale_
-
 yes $(printf '%078d' 0) | head -5  in || framework_failure_
 
+start=$(hi_res_time_)
+LC_ALL=C grep -i foobar in; st=$?
+stop=$(hi_res_time_)
+
+# Use a multiple of the LC_ALL=C duration as the timeout for the JP/EUC test.
+# A multiple of 3 seems to be enough for i5,i7, but AMD needs 25.
+timeout=$($AWK 'BEGIN { print 50 * ('$stop' - '$start')}'  /dev/null)
+
+test $st = 1 || fail=1
+
+require_JP_EUC_locale_
+
 # Expect no match, i.e., exit status of 1.  Anything else is an error.
-timeout 4 grep -i foobar in; st=$?
+timeout $timeout grep -i foobar in; st=$?
 test $st = 1 || fail=1
 
 Exit $fail
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit grep for openSUSE:Factory

2014-02-23 Thread h_root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2014-02-24 06:52:01

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new (New)


Package is grep

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2014-02-20 
18:12:25.0 +0100
+++ /work/SRC/openSUSE:Factory/.grep.new/grep.changes   2014-02-24 
06:52:03.0 +0100
@@ -1,0 +2,8 @@
+Sat Feb 22 19:19:46 UTC 2014 - andreas.stie...@gmx.de
+
+- GNU grep 2.18
+  * no longer mishandles patterns like [^^-~] in unibyte locales
+  * -i in a multibyte, non-UTF8 locale could be up to 200 times
+slower than in 2.16
+
+---

Old:

  grep-2.17.tar.xz
  grep-2.17.tar.xz.sig

New:

  grep-2.18.tar.xz
  grep-2.18.tar.xz.sig



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.NKz5s2/_old  2014-02-24 06:52:04.0 +0100
+++ /var/tmp/diff_new_pack.NKz5s2/_new  2014-02-24 06:52:04.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   grep
-Version:2.17
+Version:2.18
 Release:0
 Summary:Print lines matching a pattern
 License:GPL-3.0+

++ grep-2.17.tar.xz - grep-2.18.tar.xz ++
 14735 lines of diff (skipped)


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit grep for openSUSE:Factory

2014-02-20 Thread h_root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2014-02-20 18:12:24

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new (New)


Package is grep

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2014-01-07 
06:53:38.0 +0100
+++ /work/SRC/openSUSE:Factory/.grep.new/grep.changes   2014-02-20 
18:12:25.0 +0100
@@ -1,0 +2,12 @@
+Wed Feb 19 10:32:43 UTC 2014 - mvysko...@suse.com
+
+- update to 2.17 
+  * grep -i in a multibyte locale is now typically 10 times faster
+for patterns that do not contain \ or [
+  * grep (without -i) in a multibyte locale is now up to 7 times faster
+when processing many matched lines
+  * grep's --mmap option was disabled in March of 2010, and began to
+elicit a warning in January of 2012.  Now it is completely gone.
+- Reformat spec file using hints from spec-cleaner
+
+---

Old:

  grep-2.16.tar.xz
  grep-2.16.tar.xz.sig

New:

  grep-2.17.tar.xz
  grep-2.17.tar.xz.sig



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.Sk55hR/_old  2014-02-20 18:12:26.0 +0100
+++ /var/tmp/diff_new_pack.Sk55hR/_new  2014-02-20 18:12:26.0 +0100
@@ -17,23 +17,25 @@
 
 
 Name:   grep
-BuildRequires:  makeinfo
-BuildRequires:  pcre-devel
-BuildRequires:  xz
-%if 0%{?suse_version}  1120
-BuildRequires:  pcre
-%endif
-Url:http://www.gnu.org/software/grep/
-Provides:   base:/usr/bin/grep
-PreReq: %{install_info_prereq}
-Version:2.16
+Version:2.17
 Release:0
 Summary:Print lines matching a pattern
 License:GPL-3.0+
 Group:  Productivity/Text/Utilities
+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=grepdownload=1#/%{name}.keyring
+
+BuildRequires:  makeinfo
+BuildRequires:  pcre-devel
+BuildRequires:  xz
+%if 0%{?suse_version}  1120
+BuildRequires:  pcre
+%endif
+
+Provides:   base:/usr/bin/grep
+Requires(pre):  %{install_info_prereq}
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -49,7 +51,7 @@
 
 %build
 %ifarch ppc ppc64
-export CFLAGS=$RPM_OPT_FLAGS -mlong-double-64
+export CFLAGS=%{optflags} -mlong-double-64
 %endif
 %if 0%{?suse_version}  1120
 %configure -C --bindir=/bin --disable-silent-rules
@@ -58,15 +60,15 @@
 %else
 %configure --disable-silent-rules --without-included-regex
 %endif
-%{__make} %{?_smp_mflags}
+make %{?_smp_mflags}
 
 %check
-make check VERBOSE=1
+make check VERBOSE=1 %{?_smp_mflags}
 
 %install
-%makeinstall
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
 %if 0%{?suse_version}  1120
-install -d %{buildroot}/usr/bin
+install -d %{buildroot}%{_bindir}
 ln -sf ../../bin/egrep %{buildroot}%{_bindir}/egrep
 ln -sf ../../bin/fgrep %{buildroot}%{_bindir}/fgrep
 ln -sf ../../bin/grep  %{buildroot}%{_bindir}/grep
@@ -78,7 +80,7 @@
 ln -sf %{_bindir}/grep %{buildroot}/bin/grep
 #EndUsrMerge
 %endif
-%find_lang %name
+%find_lang %{name}
 
 %post
 %install_info --info-dir=%{_infodir} %{_infodir}/grep.info.gz
@@ -86,7 +88,7 @@
 %postun
 %install_info_delete --info-dir=%{_infodir} %{_infodir}/grep.info.gz
 
-%files -f %name.lang
+%files -f %{name}.lang
 %defattr(-,root,root)
 %doc README AUTHORS NEWS THANKS TODO COPYING ChangeLog* 
 %if 0%{?suse_version}  1120

++ grep-2.16.tar.xz - grep-2.17.tar.xz ++
 19948 lines of diff (skipped)


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit grep for openSUSE:Factory

2014-01-06 Thread h_root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2014-01-07 06:53:36

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new (New)


Package is grep

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2013-12-24 
09:34:38.0 +0100
+++ /work/SRC/openSUSE:Factory/.grep.new/grep.changes   2014-01-07 
06:53:38.0 +0100
@@ -1,0 +2,19 @@
+Sun Jan  5 14:01:24 UTC 2014 - andreas.stie...@gmx.de
+
+- update to 2.16
+  * Fix gnulib-provided maint.mk to report correct version number
+  * The fix to make \s and \S work with multi-byte white space
+broke the use of each shortcut whenever followed by a repetition
+operator. For example, \s*, \s+, \s? and \s{3} would all
+malfunction in a multi-byte locale.
+  * The fix to make grep -P work better with UTF-8 made it possible
+for grep to evoke a larger set of PCRE errors, some of which
+could trigger an abort.  E.g., this would abort:
+printf '\x82'|LC_ALL=en_US.UTF-8 grep -P y
+Now grep handles arbitrary PCRE errors
+  * Handle very long lines (2GiB and longer) on systems with a
+deficient read system call.
+- removed patches:
+  * grep-gnulib-ppc64le.patch, upstream source removed
+
+---

Old:

  grep-2.15.tar.xz
  grep-2.15.tar.xz.sig
  grep-gnulib-ppc64le.patch

New:

  grep-2.16.tar.xz
  grep-2.16.tar.xz.sig



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.Jtzm4P/_old  2014-01-07 06:53:39.0 +0100
+++ /var/tmp/diff_new_pack.Jtzm4P/_new  2014-01-07 06:53:39.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package grep
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products 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,7 +26,7 @@
 Url:http://www.gnu.org/software/grep/
 Provides:   base:/usr/bin/grep
 PreReq: %{install_info_prereq}
-Version:2.15
+Version:2.16
 Release:0
 Summary:Print lines matching a pattern
 License:GPL-3.0+
@@ -34,8 +34,6 @@
 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=grepdownload=1#/%{name}.keyring
-# Fix imported gnulib long double math tests for little-endian PowerPC
-Patch1: grep-gnulib-ppc64le.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -45,7 +43,6 @@
 
 %prep
 %setup -q
-%patch1 -p1
 %if 0%{?suse_version}  1120
 echo 
ac_cv_search_pcre_compile=\${ac_cv_search_pcre_compile=%{_libdir}/libpcre.a} 
config.cache
 %endif

++ grep-2.15.tar.xz - grep-2.16.tar.xz ++
 71923 lines of diff (skipped)


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit grep for openSUSE:Factory

2013-12-24 Thread h_root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2013-12-24 09:34:36

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new (New)


Package is grep

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2013-12-23 
19:36:54.0 +0100
+++ /work/SRC/openSUSE:Factory/.grep.new/grep.changes   2013-12-24 
09:34:38.0 +0100
@@ -1,0 +2,5 @@
+Mon Dec 23 21:17:06 UTC 2013 - co...@suse.com
+
+- don't drag texlive into bootstrap cycle - makeinfo is enough
+
+---



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.GXtFf8/_old  2013-12-24 09:34:38.0 +0100
+++ /var/tmp/diff_new_pack.GXtFf8/_new  2013-12-24 09:34:38.0 +0100
@@ -17,8 +17,8 @@
 
 
 Name:   grep
+BuildRequires:  makeinfo
 BuildRequires:  pcre-devel
-BuildRequires:  texinfo
 BuildRequires:  xz
 %if 0%{?suse_version}  1120
 BuildRequires:  pcre



-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit grep for openSUSE:Factory

2013-12-23 Thread h_root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2013-12-23 19:36:53

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new (New)


Package is grep

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2013-12-19 
13:33:10.0 +0100
+++ /work/SRC/openSUSE:Factory/.grep.new/grep.changes   2013-12-23 
19:36:54.0 +0100
@@ -1,0 +2,6 @@
+Fri Dec 20 01:36:52 UTC 2013 - uweig...@de.ibm.com
+
+- grep-gnulib-ppc64le.patch: Fix imported gnulib long double math
+  tests for little-endian PowerPC.
+
+---

New:

  grep-gnulib-ppc64le.patch



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.llQaBD/_old  2013-12-23 19:36:54.0 +0100
+++ /var/tmp/diff_new_pack.llQaBD/_new  2013-12-23 19:36:54.0 +0100
@@ -34,6 +34,8 @@
 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=grepdownload=1#/%{name}.keyring
+# Fix imported gnulib long double math tests for little-endian PowerPC
+Patch1: grep-gnulib-ppc64le.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -43,6 +45,7 @@
 
 %prep
 %setup -q
+%patch1 -p1
 %if 0%{?suse_version}  1120
 echo 
ac_cv_search_pcre_compile=\${ac_cv_search_pcre_compile=%{_libdir}/libpcre.a} 
config.cache
 %endif


++ grep-gnulib-ppc64le.patch ++
diff --git a/gnulib-tests/test-isnanl.h b/gnulib-tests/test-isnanl.h
index 06e6a7c..2df10f8 100644
--- a/gnulib-tests/test-isnanl.h
+++ b/gnulib-tests/test-isnanl.h
@@ -51,6 +51,15 @@ main ()
   /* A bit pattern that is different from a Quiet NaN.  With a bit of luck,
  it's a Signalling NaN.  */
   {
+#if defined __powerpc__  LDBL_MANT_DIG == 106
+/* This is PowerPC double double, a pair of two doubles.  Inf and Nan are
+   represented as the corresponding 64-bit IEEE values in the first double;
+   the second is ignored.  Manipulate only the first double.  */
+#undef NWORDS
+#define NWORDS \
+  ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
+#endif
+
 memory_long_double m;
 m.value = NaNl ();
 # if LDBL_EXPBIT0_BIT  0
diff --git a/gnulib-tests/test-signbit.c b/gnulib-tests/test-signbit.c
index e8ea097..7e24292 100644
--- a/gnulib-tests/test-signbit.c
+++ b/gnulib-tests/test-signbit.c
@@ -151,6 +151,16 @@ test_signbitl ()
 #define NWORDS \
   ((sizeof (long double) + sizeof (unsigned int) - 1) / sizeof (unsigned 
int))
 typedef union { long double value; unsigned int word[NWORDS]; } 
memory_long_double;
+
+#if defined __powerpc__  LDBL_MANT_DIG == 106
+/* This is PowerPC double double, a pair of two doubles.  Inf and Nan are
+   represented as the corresponding 64-bit IEEE values in the first double;
+   the second is ignored.  Manipulate only the first double.  */
+#undef NWORDS
+#define NWORDS \
+  ((sizeof (double) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
+#endif
+
 memory_long_double m;
 m.value = zerol / zerol;
 # if LDBL_EXPBIT0_BIT  0

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit grep for openSUSE:Factory

2013-12-23 Thread h_root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2013-12-23 22:18:39

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new (New)


Package is grep

Changes:


New:

  _link



Other differences:
--
++ _link ++
link project=Base:System package=grep 
rev=dfbc86967c4b0c515203146147c8579a vrev=43
patches
  !-- branch / for a full copy, default case  --
  !-- apply name=patch / apply a patch on the source directory  --
  !-- topadd%define build_with_feature_x 1/topadd add a line on the top 
(spec file only) --
  !-- add name=file.patch / add a patch to be applied after %setup (spec 
file only) --
  !-- delete name=filename / delete a file --
/patches
/link


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit grep for openSUSE:Factory

2013-12-23 Thread h_root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2013-12-23 22:19:23

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new (New)


Package is grep

Changes:


Old:

  _link



Other differences:
--


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit grep for openSUSE:Factory

2013-12-19 Thread h_root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2013-12-19 13:33:08

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new (New)


Package is grep

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2013-03-27 
19:25:44.0 +0100
+++ /work/SRC/openSUSE:Factory/.grep.new/grep.changes   2013-12-19 
13:33:10.0 +0100
@@ -1,0 +2,29 @@
+Wed Dec 11 20:36:13 UTC 2013 - andreas.stie...@gmx.de
+
+- Update to 2.15:
+  Bug fixes:
+  * grep's \s and \S failed to work with multi-byte white space
+characters.
+  * grep -i would segfault on systems using UTF-16-based wchar_t
+when converting an input string containing certain 4-byte UTF-8
+sequences to lower case.
+  * grep -E would segfault when given a regexp like
+'([^.]*[M]){1,2}' for any multibyte character M.
+  * grep -F would get stuck in an infinite loop when given a search
+string that is an invalid byte sequence in the current locale
+and that matches the bytes of the input twice on a line.  Now
+grep fails with exit status 1.
+  * grep -P could misbehave.
+
+  New features:
+  * grep -P can now use a just-in-time compiler to greatly speed up
+matches, This feature is transparent to the user; no flag is
+required to enable it.  It is only available if the
+corresponding support in the PCRE library is detected when grep
+is compiled.
+- require xz for SLE
+- require texinfo for makeinfo
+- don't autoreconf
+- remove the added german translations, upstream is up-to-date
+
+---

Old:

  grep-2.14.de.po.bz2
  grep-2.14.tar.xz

New:

  grep-2.15.tar.xz
  grep-2.15.tar.xz.sig
  grep.keyring



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.M0B4cW/_old  2013-12-19 13:33:11.0 +0100
+++ /var/tmp/diff_new_pack.M0B4cW/_new  2013-12-19 13:33:11.0 +0100
@@ -17,33 +17,23 @@
 
 
 Name:   grep
-BuildRequires:  automake
 BuildRequires:  pcre-devel
+BuildRequires:  texinfo
+BuildRequires:  xz
 %if 0%{?suse_version}  1120
 BuildRequires:  pcre
 %endif
 Url:http://www.gnu.org/software/grep/
 Provides:   base:/usr/bin/grep
 PreReq: %{install_info_prereq}
-Version:2.14
+Version:2.15
 Release:0
 Summary:Print lines matching a pattern
 License:GPL-3.0+
 Group:  Productivity/Text/Utilities
-# URL for Source0: http://ftp.gnu.org/gnu/grep/grep-2.14.tar.xz
-# URL for the GPG signature for Source0: 
http://ftp.gnu.org/gnu/grep/grep-2.14.tar.xz.sig
-# How to verify Source0:
-# To import the required public key run: gpg --keyserver keys.gnupg.net 
--recv-keys 7FD9FCCB000B
-# To verify Source0 run: gpg --verify grep-2.14.tar.xz.sig
-# The result should look like:
-#   gpg: Good signature from Jim Meyering j...@meyering.net
-#   gpg: WARNING: This key is not certified with a trusted signature!
-# In the openSUSE build service SLE_11_SP1 does not provide an xz package
-# so that BuildRequires: xz cannot be used to make it work with Source0 as 
is.
-# To convert from xz to bzip2 do: xz -cd grep-2.14.tar.xz | bzip2 -9c 
grep-2.14.tar.bz2
 Source0:http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
-# Up-to-date German messages for grep
-Source1:grep-%{version}.de.po.bz2
+Source2:http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
+Source3:
http://savannah.gnu.org/project/memberlist-gpgkeys.php?group=grepdownload=1#/%{name}.keyring
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -53,7 +43,6 @@
 
 %prep
 %setup -q
-bunzip2 -dc %{S:1}  po/de.po
 %if 0%{?suse_version}  1120
 echo 
ac_cv_search_pcre_compile=\${ac_cv_search_pcre_compile=%{_libdir}/libpcre.a} 
config.cache
 %endif
@@ -63,9 +52,10 @@
 export CFLAGS=$RPM_OPT_FLAGS -mlong-double-64
 %endif
 %if 0%{?suse_version}  1120
-%configure -C --bindir=/bin --disable-silent-rules --without-included-regex
+%configure -C --bindir=/bin --disable-silent-rules
+%else if 0%{?suse_version}  1310
+%configure --disable-silent-rules
 %else
-AUTOPOINT=true autoreconf --force --install
 %configure --disable-silent-rules --without-included-regex
 %endif
 %{__make} %{?_smp_mflags}
@@ -98,7 +88,7 @@
 
 %files -f %name.lang
 %defattr(-,root,root)
-%doc README AUTHORS NEWS THANKS TODO
+%doc README AUTHORS NEWS THANKS TODO COPYING ChangeLog* 
 %if 0%{?suse_version}  1120
 /bin/*
 %else

++ grep-2.14.tar.xz - grep-2.15.tar.xz ++
 132000 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: 

commit grep for openSUSE:Factory

2013-03-27 Thread h_root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2013-03-27 19:25:43

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new (New)


Package is grep, Maintainer is jsm...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2012-09-14 
12:25:57.0 +0200
+++ /work/SRC/openSUSE:Factory/.grep.new/grep.changes   2013-03-27 
19:25:44.0 +0100
@@ -1,0 +2,6 @@
+Wed Mar 27 12:55:18 UTC 2013 - mmeis...@suse.com
+
+- Added url as source.
+  Please see http://en.opensuse.org/SourceUrls
+
+---

Old:

  grep-2.14.tar.bz2

New:

  grep-2.14.tar.xz



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.9Bchto/_old  2013-03-27 19:25:45.0 +0100
+++ /var/tmp/diff_new_pack.9Bchto/_new  2013-03-27 19:25:45.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package grep
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -41,7 +41,7 @@
 # In the openSUSE build service SLE_11_SP1 does not provide an xz package
 # so that BuildRequires: xz cannot be used to make it work with Source0 as 
is.
 # To convert from xz to bzip2 do: xz -cd grep-2.14.tar.xz | bzip2 -9c 
grep-2.14.tar.bz2
-Source0:grep-%{version}.tar.bz2
+Source0:http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
 # Up-to-date German messages for grep
 Source1:grep-%{version}.de.po.bz2
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit grep for openSUSE:Factory

2012-09-14 Thread h_root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2012-09-14 12:25:48

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new (New)


Package is grep, Maintainer is jsm...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2012-07-09 
07:57:45.0 +0200
+++ /work/SRC/openSUSE:Factory/.grep.new/grep.changes   2012-09-14 
12:25:57.0 +0200
@@ -1,0 +2,20 @@
+Fri Aug 24 20:29:59 CEST 2012 - p...@suse.de
+
+- Update to 2.14:
+  Bug fixes:
+
+  * grep -i '^$' could exit 0 (i.e., report a match) in a multi-byte
+locale, even though there was no match, and the command generated
+no output.  E.g., seq 2 | LC_ALL=en_US.utf8 grep -il '^$' would
+mistakenly print (standard input).  Related, seq 9 |
+LC_ALL=en_US.utf8 grep -in '^$' would print 2:4:6:8:10:12:14:16
+and exit 0.  Now it prints nothing and exits with status of 1. 
+[bug introduced in grep-2.6]
+
+  * 'grep' no longer falsely reports text files as being binary on
+file systems that compress contents or that store tiny contents
+in metadata.
+
+- Add current German message catalog from the translation project.
+
+---

Old:

  grep-2.13.tar.bz2

New:

  grep-2.14.de.po.bz2
  grep-2.14.tar.bz2



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.dUOS6m/_old  2012-09-14 12:26:00.0 +0200
+++ /var/tmp/diff_new_pack.dUOS6m/_new  2012-09-14 12:26:00.0 +0200
@@ -25,33 +25,35 @@
 Url:http://www.gnu.org/software/grep/
 Provides:   base:/usr/bin/grep
 PreReq: %{install_info_prereq}
-Version:2.13
+Version:2.14
 Release:0
 Summary:Print lines matching a pattern
 License:GPL-3.0+
 Group:  Productivity/Text/Utilities
-# URL for Source0: http://ftp.gnu.org/gnu/grep/grep-2.13.tar.xz
-# URL for the GPG signature for Source0: 
http://ftp.gnu.org/gnu/grep/grep-2.13.tar.xz.sig
+# URL for Source0: http://ftp.gnu.org/gnu/grep/grep-2.14.tar.xz
+# URL for the GPG signature for Source0: 
http://ftp.gnu.org/gnu/grep/grep-2.14.tar.xz.sig
 # How to verify Source0:
 # To import the required public key run: gpg --keyserver keys.gnupg.net 
--recv-keys 7FD9FCCB000B
-# To verify Source0 run: gpg --verify grep-2.13.tar.xz.sig
+# To verify Source0 run: gpg --verify grep-2.14.tar.xz.sig
 # The result should look like:
 #   gpg: Good signature from Jim Meyering j...@meyering.net
 #   gpg: WARNING: This key is not certified with a trusted signature!
 # In the openSUSE build service SLE_11_SP1 does not provide an xz package
 # so that BuildRequires: xz cannot be used to make it work with Source0 as 
is.
-# Therefore to decompress Source0 run: xz -d grep-2.13.tar.xz
-# and then to compress it again run: bzip2 grep-2.13.tar
+# To convert from xz to bzip2 do: xz -cd grep-2.14.tar.xz | bzip2 -9c 
grep-2.14.tar.bz2
 Source0:grep-%{version}.tar.bz2
+# Up-to-date German messages for grep
+Source1:grep-%{version}.de.po.bz2
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
-The grep command searches one or more input files
-for lines containing a match to a specified pattern.
-By default, grep prints the matching lines.
+The grep command searches one or more input files for lines
+containing a match to a specified pattern.  By default, grep prints
+the matching lines.
 
 %prep
 %setup -q
+bunzip2 -dc %{S:1}  po/de.po
 %if 0%{?suse_version}  1120
 echo 
ac_cv_search_pcre_compile=\${ac_cv_search_pcre_compile=%{_libdir}/libpcre.a} 
config.cache
 %endif
@@ -72,18 +74,18 @@
 make check VERBOSE=1
 
 %install
-make install DESTDIR=$RPM_BUILD_ROOT
+%makeinstall
 %if 0%{?suse_version}  1120
-install -d $RPM_BUILD_ROOT/usr/bin
-ln -sf ../../bin/egrep $RPM_BUILD_ROOT/usr/bin/egrep
-ln -sf ../../bin/fgrep $RPM_BUILD_ROOT/usr/bin/fgrep
-ln -sf ../../bin/grep  $RPM_BUILD_ROOT/usr/bin/grep
+install -d %{buildroot}/usr/bin
+ln -sf ../../bin/egrep %{buildroot}%{_bindir}/egrep
+ln -sf ../../bin/fgrep %{buildroot}%{_bindir}/fgrep
+ln -sf ../../bin/grep  %{buildroot}%{_bindir}/grep
 %else
 #UsrMerge
-install -d $RPM_BUILD_ROOT/bin
-ln -sf %{_bindir}/egrep $RPM_BUILD_ROOT/bin/egrep
-ln -sf %{_bindir}/fgrep $RPM_BUILD_ROOT/bin/fgrep
-ln -sf %{_bindir}/grep $RPM_BUILD_ROOT/bin/grep
+install -d %{buildroot}/bin
+ln -sf %{_bindir}/egrep %{buildroot}/bin/egrep
+ln -sf %{_bindir}/fgrep %{buildroot}/bin/fgrep
+ln -sf %{_bindir}/grep %{buildroot}/bin/grep
 #EndUsrMerge
 %endif
 %find_lang %name

++ grep-2.13.tar.bz2 - grep-2.14.tar.bz2 ++
 16778 lines of diff (skipped)

-- 
To unsubscribe, e-mail: 

commit grep for openSUSE:Factory

2012-07-08 Thread h_root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2012-07-09 07:57:39

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new (New)


Package is grep, Maintainer is jsm...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2012-05-25 
17:33:17.0 +0200
+++ /work/SRC/openSUSE:Factory/.grep.new/grep.changes   2012-07-09 
07:57:45.0 +0200
@@ -1,0 +2,28 @@
+Thu Jul  5 11:27:21 CEST 2012 - jsm...@suse.de
+
+- Update to 2.13:
+  It's moderately important to upgrade from grep-2.6 or newer,
+  since a Turkish I-with-dot (U+0130) on a matched/printed line
+  makes grep -i (in nearly any UTF-8 locale) emit corrupt output.
+  Bug fixes:
+  * grep -i, in a multi-byte locale, when matching a line
+containing a character like the UTF-8 Turkish I-with-dot
+(U+0130) (whose lower-case representation occupies fewer
+bytes), would print an incomplete output line. Similarly,
+with a matched line containing a character (e.g., the Latin
+capital I in a Turkish UTF-8 locale), where the lower-case
+representation occupies more bytes, grep could print garbage.
+[bug introduced in grep-2.6]
+  * --include and --exclude can again be combined, and again
+apply to the command line, e.g., grep --include='*.[ch]'
+--exclude='system.h' PATTERN * again reads all *.c
+and *.h files except for system.h.
+[bug introduced in grep-2.6]
+  New features:
+  * 'grep' without -z now treats a sparse file as binary,
+if it can easily determine that the file is sparse.
+  Dropped features:
+  * Bootstrapping with Makefile.boot has been broken since
+grep 2.6, and was removed.
+
+---

Old:

  grep-2.12.tar.bz2

New:

  grep-2.13.tar.bz2



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.vYmzfU/_old  2012-07-09 07:57:47.0 +0200
+++ /var/tmp/diff_new_pack.vYmzfU/_new  2012-07-09 07:57:47.0 +0200
@@ -25,12 +25,24 @@
 Url:http://www.gnu.org/software/grep/
 Provides:   base:/usr/bin/grep
 PreReq: %{install_info_prereq}
-Version:2.12
+Version:2.13
 Release:0
 Summary:Print lines matching a pattern
 License:GPL-3.0+
 Group:  Productivity/Text/Utilities
-Source: grep-%{version}.tar.bz2
+# URL for Source0: http://ftp.gnu.org/gnu/grep/grep-2.13.tar.xz
+# URL for the GPG signature for Source0: 
http://ftp.gnu.org/gnu/grep/grep-2.13.tar.xz.sig
+# How to verify Source0:
+# To import the required public key run: gpg --keyserver keys.gnupg.net 
--recv-keys 7FD9FCCB000B
+# To verify Source0 run: gpg --verify grep-2.13.tar.xz.sig
+# The result should look like:
+#   gpg: Good signature from Jim Meyering j...@meyering.net
+#   gpg: WARNING: This key is not certified with a trusted signature!
+# In the openSUSE build service SLE_11_SP1 does not provide an xz package
+# so that BuildRequires: xz cannot be used to make it work with Source0 as 
is.
+# Therefore to decompress Source0 run: xz -d grep-2.13.tar.xz
+# and then to compress it again run: bzip2 grep-2.13.tar
+Source0:grep-%{version}.tar.bz2
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -48,7 +60,6 @@
 %ifarch ppc ppc64
 export CFLAGS=$RPM_OPT_FLAGS -mlong-double-64
 %endif
-
 %if 0%{?suse_version}  1120
 %configure -C --bindir=/bin --disable-silent-rules --without-included-regex
 %else

++ grep-2.12.tar.bz2 - grep-2.13.tar.bz2 ++
 32572 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit grep for openSUSE:Factory

2012-05-25 Thread h_root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2012-05-25 17:33:05

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new (New)


Package is grep, Maintainer is jsm...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2012-04-20 
15:16:54.0 +0200
+++ /work/SRC/openSUSE:Factory/.grep.new/grep.changes   2012-05-25 
17:33:17.0 +0200
@@ -1,0 +2,23 @@
+Mon May 21 18:19:15 UTC 2012 - tabra...@novell.com
+
+- Update to 2.12:
+  * echp P|grep --devices=skip P once again prints P, as it did in
+2.10 [bug introduced in grep-2.11]
+  * grep no longer segfaults with -r --exclude-dir and no file 
+operand.  I.e., :|grep -r --exclude-dir=D PAT would segfault.
+[bug introduced in grep-2.11]
+  * Recursive grep now uses fts for directory traversal, so it can
+handle much-larger directories without reporting things like 
+Filename too long, and it can run much faster when dealing 
+with large directory hierarchies. [bug present since the 
+beginning]
+  * grep -E 'a{10}' now reports an overflow error rather 
+than silently acting like grep -E 'a\{10}'.
+  * The -R option now has a long-option alias --dereference-recursive.
+  * The -r (--recursive) option now follows only command-line 
+symlinks. Also, by default -r now reads a device only if it is 
+named on the command line; this can be overridden with --devices.  
+-R acts as before, so use -R if you prefer the old behavior of 
+following all symlinks and defaulting to reading all devices.
+
+---

Old:

  grep-2.11.tar.bz2

New:

  grep-2.12.tar.bz2



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.3L4JkF/_old  2012-05-25 17:33:19.0 +0200
+++ /var/tmp/diff_new_pack.3L4JkF/_new  2012-05-25 17:33:19.0 +0200
@@ -25,7 +25,7 @@
 Url:http://www.gnu.org/software/grep/
 Provides:   base:/usr/bin/grep
 PreReq: %{install_info_prereq}
-Version:2.11
+Version:2.12
 Release:0
 Summary:Print lines matching a pattern
 License:GPL-3.0+

++ grep-2.11.tar.bz2 - grep-2.12.tar.bz2 ++
 47737 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit grep for openSUSE:Factory

2012-04-20 Thread h_root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2012-04-20 15:16:52

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new (New)


Package is grep, Maintainer is jsm...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2012-03-16 
13:15:43.0 +0100
+++ /work/SRC/openSUSE:Factory/.grep.new/grep.changes   2012-04-20 
15:16:54.0 +0200
@@ -1,0 +2,5 @@
+Thu Apr 19 17:43:06 CEST 2012 - meiss...@suse.de
+
+- use -mlong-double-64 on ppc*
+
+---

Old:

  grep-ppc-fix.patch



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.xJT1bw/_old  2012-04-20 15:16:56.0 +0200
+++ /var/tmp/diff_new_pack.xJT1bw/_new  2012-04-20 15:16:56.0 +0200
@@ -16,7 +16,6 @@
 #
 
 
-
 Name:   grep
 BuildRequires:  automake
 BuildRequires:  pcre-devel
@@ -32,7 +31,6 @@
 License:GPL-3.0+
 Group:  Productivity/Text/Utilities
 Source: grep-%{version}.tar.bz2
-Patch0: grep-ppc-fix.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -46,12 +44,11 @@
 echo 
ac_cv_search_pcre_compile=\${ac_cv_search_pcre_compile=%{_libdir}/libpcre.a} 
config.cache
 %endif
 
-# If you platform Long Double and Double to not match as expected
+%build
 %ifarch ppc ppc64
-%patch0 -p1
+export CFLAGS=$RPM_OPT_FLAGS -mlong-double-64
 %endif
 
-%build
 %if 0%{?suse_version}  1120
 %configure -C --bindir=/bin --disable-silent-rules --without-included-regex
 %else

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit grep for openSUSE:Factory

2012-03-16 Thread h_root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2012-03-16 13:15:41

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new (New)


Package is grep, Maintainer is jsm...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2012-02-07 
14:45:48.0 +0100
+++ /work/SRC/openSUSE:Factory/.grep.new/grep.changes   2012-03-16 
13:15:43.0 +0100
@@ -1,0 +2,72 @@
+Tue Mar 13 18:18:23 UTC 2012 - tabra...@novell.com
+
+- Update to 2.11:
+  * grep no longer dumps core on lines whose lengths do not fit in 
+'int'.  (e.g., lines longer than 2 GiB on a typical 64-bit host).
+Instead, grep either works as expected, or reports an error.
+An error can occur if not enough main memory is available, or if 
+the GNU C library's regular expression functions cannot handle 
+such long lines.  [bug present since the beginning]
+  * The -m, -A, -B, and -C options no longer mishandle context line
+counts that do not fit in 'int'.  Also, grep -c's counts are now
+limited by the type 'intmax_t' (typically less than 2**63) rather
+than 'int' (typically less than 2**31).
+  * grep no longer silently suppresses errors when reading a directory
+as if it were a text file.  For example, grep x . now reports a
+read error on most systems; formerly, it ignored the error.
+[bug introduced in grep-2.5]
+  * grep now exits with status 2 if a directory loop is found, instead 
+of possibly exiting with status 0 or 1.  [bug introduced in 
+grep-2.3]
+  * The -s option now suppresses certain input error diagnostics that 
+it formerly failed to suppress.  These include errors when closing 
+the input, when lseeking the input, and when the input is also the 
+output.  [bug introduced in grep-2.4]
+  * On POSIX systems, commands like grep PAT  FILE  FILE now report 
+an error instead of looping.  [bug present since the beginning]
+  * The --include, --exclude, and --exclude-dir options now handle
+command-line arguments more consistently.  --include and --exclude
+apply only to non-directories and --exclude-dir applies only to
+directories.  - (standard input) is never excluded, since it is
+not a file name.  [bug introduced in grep-2.5]
+  * grep no longer rejects grep -qr .  out, i.e., when run with -q
+and an input file is the same as the output file, since with -q
+grep generates no output, so there is no risk of infinite loop or
+of an output-affecting race condition.  Thus, the use of the 
+following options also disables the input-equals-output failure:
+  --max-count=N (-m) (for N = 2)
+  --files-with-matches (-l)
+  --files-without-match (-L)
+[bug introduced in grep-2.10]
+  * grep no longer emits an error message and quits on MS-Windows when
+invoked with the -r option.
+  * grep no longer misinterprets some alternations involving anchors
+(^, $, \  \  \B, \b).  For example, grep -E (^|\B)a no
+longer reports a match for the string x a.  [bug present since 
+the beginning]
+  * If no file operand is given, and a command-line -r or equivalent
+option is given, grep now searches the working directory.  Formerly
+grep ignored the -r and searched standard input nonrecursively.
+An -r found in GREP_OPTIONS does not have this new effect.
+  * grep now supports color highlighting of matches on MS-Windows.
+  * Use of the --mmap option now elicits a warning.  It has been a no-op
+since March of 2010.
+  * grep no longer diagnoses write errors repeatedly; it exits after
+diagnosing the first write error.  This is better behavior when
+writing to a dangling pipe.
+  * Syntax errors in GREP_COLORS are now ignored, instead of sometimes
+eliciting warnings.  This is more consistent with programs that
+(e.g.) ignore errors in termcap entries.
+
+- changes from 2.10:
+  * grep no longer mishandles high-bit-set pattern bytes on systems
+where char is a signed type. [bug appears to affect only 
+MS-Windows]
+  * On POSIX systems, grep now rejects a command like 
+grep -r pattern .  out, in which the output file is also one 
+of the inputs, because it can result in an infinite disk-filling 
+loop. [bug present since the beginning]
+
+- removed fix-testsuite.diff obsoleted by this release
+
+---

Old:

  fix-testsuite.diff
  grep-2.9.tar.bz2

New:

  grep-2.11.tar.bz2



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.3YJ71n/_old  2012-03-16 13:15:45.0 +0100
+++ /var/tmp/diff_new_pack.3YJ71n/_new  2012-03-16 

commit grep for openSUSE:Factory

2012-02-07 Thread h_root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2012-02-07 14:45:44

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new (New)


Package is grep, Maintainer is jsm...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2011-12-05 
20:33:10.0 +0100
+++ /work/SRC/openSUSE:Factory/.grep.new/grep.changes   2012-02-07 
14:45:48.0 +0100
@@ -1,0 +2,5 @@
+Sat Feb  4 15:53:38 UTC 2012 - rschweik...@suse.com
+
+- keep executables in /usr tree (UsrMerge project)
+
+---



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.wP0otl/_old  2012-02-07 14:45:50.0 +0100
+++ /var/tmp/diff_new_pack.wP0otl/_new  2012-02-07 14:45:50.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package grep
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,13 +22,13 @@
 BuildRequires:  pcre
 %endif
 Url:http://www.gnu.org/software/grep/
-License:GPL-3.0+
-Group:  Productivity/Text/Utilities
 Provides:   base:/usr/bin/grep
 PreReq: %{install_info_prereq}
 Version:2.9
 Release:0
 Summary:Print lines matching a pattern
+License:GPL-3.0+
+Group:  Productivity/Text/Utilities
 Source: grep-%{version}.tar.bz2
 Patch0: fix-testsuite.diff
 Patch1: grep-ppc-fix.patch
@@ -56,7 +56,7 @@
 %configure -C --bindir=/bin --disable-silent-rules --without-included-regex
 %else
 AUTOPOINT=true autoreconf --force --install
-%configure --disable-silent-rules --bindir=/bin --without-included-regex
+%configure --disable-silent-rules --without-included-regex
 %endif
 %{__make} %{?_smp_mflags}
 
@@ -65,10 +65,19 @@
 
 %install
 make install DESTDIR=$RPM_BUILD_ROOT
+%if 0%{?suse_version}  1120
 install -d $RPM_BUILD_ROOT/usr/bin
 ln -sf ../../bin/egrep $RPM_BUILD_ROOT/usr/bin/egrep
 ln -sf ../../bin/fgrep $RPM_BUILD_ROOT/usr/bin/fgrep
 ln -sf ../../bin/grep  $RPM_BUILD_ROOT/usr/bin/grep
+%else
+#UsrMerge
+install -d $RPM_BUILD_ROOT/bin
+ln -sf %{_bindir}/egrep $RPM_BUILD_ROOT/bin/egrep
+ln -sf %{_bindir}/fgrep $RPM_BUILD_ROOT/bin/fgrep
+ln -sf %{_bindir}/grep $RPM_BUILD_ROOT/bin/grep
+#EndUsrMerge
+%endif
 %find_lang %name
 
 %post
@@ -80,8 +89,16 @@
 %files -f %name.lang
 %defattr(-,root,root)
 %doc README AUTHORS NEWS THANKS TODO
+%if 0%{?suse_version}  1120
 /bin/*
-/usr/bin/*
+%else
+#UsrMerge
+/bin/egrep
+/bin/fgrep
+/bin/grep
+#EndUsrMerge
+%endif
+%{_bindir}/*
 %{_mandir}/man1/*.gz
 %{_infodir}/*.gz
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit grep for openSUSE:Factory

2011-12-05 Thread h_root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2011-12-05 20:33:07

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new (New)


Package is grep, Maintainer is jsm...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2011-10-30 
14:42:12.0 +0100
+++ /work/SRC/openSUSE:Factory/.grep.new/grep.changes   2011-12-05 
20:33:10.0 +0100
@@ -1,0 +2,11 @@
+Fri Dec  2 10:13:19 UTC 2011 - cfarr...@suse.com
+
+- license update: GPL-3.0+
+  There are no GPL-3.0 files in the package.
+
+---
+Thu Dec  1 15:48:03 UTC 2011 - co...@suse.com
+
+- add automake as buildrequire to avoid implicit dependency
+
+---



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.oncouN/_old  2011-12-05 20:33:17.0 +0100
+++ /var/tmp/diff_new_pack.oncouN/_new  2011-12-05 20:33:17.0 +0100
@@ -15,21 +15,19 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
-
 Name:   grep
+BuildRequires:  automake
 BuildRequires:  pcre-devel
 %if 0%{?suse_version}  1120
 BuildRequires:  pcre
 %endif
 Url:http://www.gnu.org/software/grep/
-License:GPLv3
+License:GPL-3.0+
 Group:  Productivity/Text/Utilities
 Provides:   base:/usr/bin/grep
-AutoReqProv:on
 PreReq: %{install_info_prereq}
 Version:2.9
-Release:1
+Release:0
 Summary:Print lines matching a pattern
 Source: grep-%{version}.tar.bz2
 Patch0: fix-testsuite.diff

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit grep for openSUSE:Factory

2011-10-30 Thread h_root
Hello community,

here is the log from the commit of package grep for openSUSE:Factory checked in 
at 2011-10-30 14:42:10

Comparing /work/SRC/openSUSE:Factory/grep (Old)
 and  /work/SRC/openSUSE:Factory/.grep.new (New)


Package is grep, Maintainer is jsm...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/grep/grep.changes2011-10-03 
09:20:08.0 +0200
+++ /work/SRC/openSUSE:Factory/.grep.new/grep.changes   2011-10-30 
14:42:12.0 +0100
@@ -1,0 +2,6 @@
+Sat Oct 29 14:09:48 UTC 2011 - meiss...@suse.com
+
+- disable the long double checks on ppc* as they dont meet
+  the preconditions in their double vs long double usage.
+
+---

New:

  grep-ppc-fix.patch



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.SiHjTd/_old  2011-10-30 14:42:13.0 +0100
+++ /var/tmp/diff_new_pack.SiHjTd/_new  2011-10-30 14:42:13.0 +0100
@@ -33,6 +33,7 @@
 Summary:Print lines matching a pattern
 Source: grep-%{version}.tar.bz2
 Patch0: fix-testsuite.diff
+Patch1: grep-ppc-fix.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -47,6 +48,11 @@
 %endif
 %patch0
 
+# If you platform Long Double and Double to not match as expected
+%ifarch ppc ppc64
+%patch1 -p1
+%endif
+
 %build
 %if 0%{?suse_version}  1120
 %configure -C --bindir=/bin --disable-silent-rules --without-included-regex

++ grep-ppc-fix.patch ++
Index: grep-2.9/gnulib-tests/test-float.c
===
--- grep-2.9.orig/gnulib-tests/test-float.c
+++ grep-2.9/gnulib-tests/test-float.c
@@ -361,16 +361,6 @@ main ()
   test_float ();
   test_double ();
 
-  {
-DECL_LONG_DOUBLE_ROUNDING
-
-BEGIN_LONG_DOUBLE_ROUNDING ();
-
-test_long_double ();
-
-END_LONG_DOUBLE_ROUNDING ();
-  }
-
   return 0;
 }
 
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit grep for openSUSE:Factory

2011-10-03 Thread h_root

Hello community,

here is the log from the commit of package grep for openSUSE:Factory
checked in at Mon Oct 3 09:20:09 CEST 2011.




--- openSUSE:Factory/grep/grep.changes  2011-09-23 02:01:59.0 +0200
+++ grep/grep.changes   2011-09-27 12:43:14.0 +0200
@@ -1,0 +2,5 @@
+Tue Sep 27 12:42:54 CEST 2011 - dmuel...@suse.de
+
+- fix testsuite to build properly against locally built grep
+
+---

calling whatdependson for head-i586


New:

  fix-testsuite.diff



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.N1mKoi/_old  2011-10-03 09:20:05.0 +0200
+++ /var/tmp/diff_new_pack.N1mKoi/_new  2011-10-03 09:20:05.0 +0200
@@ -32,6 +32,7 @@
 Release:1
 Summary:Print lines matching a pattern
 Source: grep-%{version}.tar.bz2
+Patch0: fix-testsuite.diff
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -44,6 +45,7 @@
 %if 0%{?suse_version}  1120
 echo 
ac_cv_search_pcre_compile=\${ac_cv_search_pcre_compile=%{_libdir}/libpcre.a} 
config.cache
 %endif
+%patch0
 
 %build
 %if 0%{?suse_version}  1120

++ fix-testsuite.diff ++
--- tests/reversed-range-endpoints
+++ tests/reversed-range-endpoints
@@ -11,7 +11,7 @@
   test $? = 2 || fail=1
 
   # Remove program_name:  prefix from actual output.
-  sed 's/^[a-z]*: //' out  k  mv k out
+  sed 's/^[^ ]*: //' out  k  mv k out
 
   compare out exp || fail=1
 done
--- tests/warn-char-classes
+++ tests/warn-char-classes
@@ -5,13 +5,15 @@
 echo f  x || framework_failure_
 echo b  x || framework_failure_
 echo h  x || framework_failure_
-printf 'grep: character class syntax is [[:space:]], not [:space:]\n' \
+printf 'character class syntax is [[:space:]], not [:space:]\n' \
exp-err || framework_failure_
 
 # basic cases
 
 grep '[:space:]' x 2 err
 test $? = 2 || fail=1
+# Remove program_name:  prefix from actual output.
+sed 's/^[^ ]*: //' err  k  mv k err
 compare err exp-err || fail=1
 
 grep '[[:space:]]' x 2 err
continue with q...



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit grep for openSUSE:Factory

2011-08-11 Thread h_root

Hello community,

here is the log from the commit of package grep for openSUSE:Factory
checked in at Thu Aug 11 10:08:28 CEST 2011.




--- grep/grep.changes   2010-09-24 14:51:56.0 +0200
+++ /mounts/work_src_done/STABLE/grep/grep.changes  2011-08-10 
05:20:41.0 +0200
@@ -1,0 +2,8 @@
+Wed Aug 10 03:17:41 UTC 2011 - crrodrig...@opensuse.org
+
+- Upgrade to version 2.9 
+* grep no longer clobbers heap for an ERE like '(^| )*( |$)'' )'
+* grep -P no longer aborts when PCRE's backtracking limit is exceeded
+* grep's interpretation of range expression is now more consistent
+
+---

calling whatdependson for head-i586


Old:

  grep-2.7.tar.bz2

New:

  grep-2.9.tar.bz2



Other differences:
--
++ grep.spec ++
--- /var/tmp/diff_new_pack.fsZjUi/_old  2011-08-11 10:07:36.0 +0200
+++ /var/tmp/diff_new_pack.fsZjUi/_new  2011-08-11 10:07:36.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package grep (Version 2.7)
+# spec file for package grep
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -28,8 +28,8 @@
 Provides:   base:/usr/bin/grep
 AutoReqProv:on
 PreReq: %{install_info_prereq}
-Version:2.7
-Release:2
+Version:2.9
+Release:1
 Summary:Print lines matching a pattern
 Source: grep-%{version}.tar.bz2
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -47,10 +47,10 @@
 
 %build
 %if 0%{?suse_version}  1120
-%configure -C --bindir=/bin --without-included-regex
+%configure -C --bindir=/bin --disable-silent-rules --without-included-regex
 %else
 AUTOPOINT=true autoreconf --force --install
-%configure --bindir=/bin --without-included-regex
+%configure --disable-silent-rules --bindir=/bin --without-included-regex
 %endif
 %{__make} %{?_smp_mflags}
 
@@ -76,7 +76,7 @@
 %doc README AUTHORS NEWS THANKS TODO
 /bin/*
 /usr/bin/*
-%doc %{_mandir}/man1/*.gz
-%doc %{_infodir}/*.gz
+%{_mandir}/man1/*.gz
+%{_infodir}/*.gz
 
 %changelog

++ grep-2.7.tar.bz2 - grep-2.9.tar.bz2 ++
 111361 lines of diff (skipped)






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org