98 Commits

Author SHA256 Message Date
556400a3c7 Accepting request 1269588 from home:AndreasStieger:branches:Base:System
grep 3.12

OBS-URL: https://build.opensuse.org/request/show/1269588
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=146
2025-04-16 08:57:31 +00:00
2ee5115028 - removes testsuite.patch in older distributions
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=145
2024-11-11 09:41:38 +00:00
dc0b39f3c1 - restore texinfo macros for SLE15
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=144
2024-04-10 20:20:23 +00:00
6655755933 - GNU grep 3.8 (jsc#PED-6579):
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=143
2024-04-10 09:08:11 +00:00
e00737cdeb also match e.g., the Arabic digits: ٠١٢٣٤٥٦٧٨٩.
* The -s option no longer suppresses "binary file matches"
- use release keyring rather than full one for validation
- Make profiling deterministic (bsc#1040589, SLE-24115)
  * --files-without-match (-L) behavior reverted to again succeed
  * When standard output is /dev/null, grep no longer fails when
- Drop upstreamed proc-lseek-glitch.patch
    an invalid regular expression that was read from an
  * 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
    With a multibyte locale, that matcher could mistakenly match a
    string containing a newline. For example, this command:
    would mistakenly match and print all four input bytes.  After
  * 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
  * 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 -c no longer stops counting when finding binary data.

OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=142
2024-04-10 09:05:21 +00:00
ff3d0145f2 osc copypac from project:openSUSE:Factory package:grep revision:90, using expand
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=141
2024-04-10 09:05:04 +00:00
484c03e4a9 - split the deprecated egrep/fgrep into a deprecated subpackage
to be able to identify remaining usages
    also match e.g., the Arabic digits: ٠١٢٣٤٥٦٧٨٩.
  * The -s option no longer suppresses "binary file matches"
- use release keyring rather than full one for validation
- Make profiling deterministic (bsc#1040589, SLE-24115)
  * --files-without-match (-L) behavior reverted to again succeed
  * When standard output is /dev/null, grep no longer fails when
- Drop upstreamed proc-lseek-glitch.patch
    an invalid regular expression that was read from an
  * 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
    With a multibyte locale, that matcher could mistakenly match a
    string containing a newline. For example, this command:
    would mistakenly match and print all four input bytes.  After
  * 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
  * 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

OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=140
2024-04-10 09:04:40 +00:00
9f7c973ee8 Accepting request 1104193 from home:dimstar:Factory
- export CONFIG_SHELL=/bin/sh before running configure: results in
  the shell script (egrep/fgrep) to receive a /bin/sh shebang
  instead of requiring bash (the local shell used to build).

OBS-URL: https://build.opensuse.org/request/show/1104193
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=138
2023-09-04 07:27:54 +00:00
763ee722ba patterns like \w and ^H go back to using ASCII rather
likely to fix this and change the behavior of \w and ^H

OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=136
2023-05-27 08:56:55 +00:00
c614c688d8 - update to 3.11:
* With -P, patterns like [\d] now work again. Fixing this
    has caused grep to revert to the behavior of grep 3.8, in that
    patterns like \w and  go back to using ASCII rather
    than Unicode interpretations.
    However, future versions of GNU grep and/or PCRE2 are
    likely to fix this and change the behavior of \w and 
    back to Unicode again, without breaking [\d] as 3.10 did.

OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=135
2023-05-18 12:01:28 +00:00
16b636b536 OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=133 2023-04-11 15:24:32 +00:00
7684608eae - update to 3.10:
* With -P, \d now matches only ASCII digits, regardless of
    PCRE options/modes. The changes in grep-3.9 to make  and \w
    work properly had the undesirable side effect of making \d
    also match e.g., the Arabic digits: ٠١٢٣٤٥٦٧٨٩.  
    With grep-3.9, -P '\d+' would match that ten-digit (20-byte)
    string. Now, to match such a digit, you would use \p{Nd}.
    Similarly, \D is now mapped to [^0-9].

OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=132
2023-03-30 07:45:04 +00:00
ec9af000de Accepting request 1069578 from home:Andreas_Schwab:Factory
- Update to grep 3.9
  * When given multiple patterns the last of which has a back-reference,
    grep no longer sometimes mistakenly matches lines in some cases

OBS-URL: https://build.opensuse.org/request/show/1069578
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=130
2023-03-06 10:18:56 +00:00
2677e08c53 Accepting request 1069487 from home:AndreasStieger:branches:Base:System
GNU grep 3.9

OBS-URL: https://build.opensuse.org/request/show/1069487
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=129
2023-03-06 09:00:51 +00:00
c5242f87d1 Accepting request 1054451 from home:lnussel:usrmerge
Replace transitional %usrmerged macro with regular version check (boo#1206798)

OBS-URL: https://build.opensuse.org/request/show/1054451
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=127
2023-01-04 10:54:38 +00:00
858fb57df1 Accepting request 1004919 from home:Andreas_Schwab:Factory
- efgrep-warning.patch: remove warning from [ef]grep

OBS-URL: https://build.opensuse.org/request/show/1004919
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=125
2022-09-20 09:05:25 +00:00
0d48129fc1 Accepting request 1001672 from home:Andreas_Schwab:Factory
- GNU grep 3.8:
  * The -P option is now based on PCRE2 instead of the older PCRE
    (boo#1201803)
  * egrep and fgrep commands, deprecated since release 2.5.3 (2007), now
    warn that they are obsolescent and should be replaced by grep -E and
    grep -F
  * The confusing GREP_COLOR environment variable is now obsolescent
  * Regular expressions with stray backslashes now cause warnings
  * Regular expressions like [:space:] are now errors even if
    POSIXLY_CORRECT is set, since POSIX now allows the GNU behavior
  * In locales using UTF-8 encoding, the regular expression '.' no
    longer sometimes fails to match Unicode characters
  * The -s option no longer suppresses "binary file matches" 
    messages.
- doc: fix man page syntax errors (bsc#1201001)

OBS-URL: https://build.opensuse.org/request/show/1001672
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=123
2022-09-07 09:12:00 +00:00
ea1dbdd7af Accepting request 992600 from home:Andreas_Schwab:Factory
- Skip more gnulib tests in qemu build

OBS-URL: https://build.opensuse.org/request/show/992600
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=121
2022-08-03 14:31:01 +00:00
4570fbbda8 - use release keyring rather than full one for validation
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=119
2022-05-24 19:43:06 +00:00
9211695759 Accepting request 978988 from home:coolo:branches:Base:System
- Do not link an unversioned file by URL (and refresh keyring)

OBS-URL: https://build.opensuse.org/request/show/978988
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=118
2022-05-24 19:18:23 +00:00
2b841bcaea Accepting request 962124 from home:bmwiedemann:branches:Base:System
Make profiling deterministic (bsc#1040589)

OBS-URL: https://build.opensuse.org/request/show/962124
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=116
2022-03-16 13:02:12 +00:00
b0834eea60 - use glibc-locale to reenable less common locale tests (bsc#1195390)
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=115
2022-02-12 13:41:02 +00:00
0902b47ef1 Accepting request 912392 from home:Andreas_Schwab:Factory
- Update to grep 3.7
  * Preprocessing N patterns would take at least O(N^2) time when too many
    patterns hashed to too few buckets
- werror-return-type.patch, gnulib-c-stack.patch: Removed
- Skip stack overflow tests in qemu build

OBS-URL: https://build.opensuse.org/request/show/912392
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=114
2021-08-16 12:20:25 +00:00
670d218e89 Accepting request 909987 from home:Andreas_Schwab:Factory
- gnulib-c-stack.patch: Fix AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC configure
  check

OBS-URL: https://build.opensuse.org/request/show/909987
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=113
2021-08-03 12:27:57 +00:00
d8852947da Accepting request 851470 from home:AndreasStieger:branches:Base:System
- remove deprecated texinfo macros
- silence egrep,fgrep packaging warnings

OBS-URL: https://build.opensuse.org/request/show/851470
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=111
2020-12-01 14:09:11 +00:00
009f71ac38 Accepting request 849610 from home:lnussel:usrmove
- prepare usrmerge (boo#1029961)

OBS-URL: https://build.opensuse.org/request/show/849610
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=109
2020-11-26 10:08:54 +00:00
1f95c00e9c Accepting request 850163 from home:Andreas_Schwab:Factory
- Update to grep 3.6
  * The GREP_OPTIONS environment variable no longer affects grep's behavior.
  * grep's DFA matcher performed an invalid regex transformation
    that would convert an ERE like a+a+a+ to a+a+, which would make
    grep a+a+a+ mistakenly match "aa".
  * grep -P now reports the troublesome input filename upon PCRE execution
    failure.
- werror-return-type.patch: work around gcc bug

OBS-URL: https://build.opensuse.org/request/show/850163
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=108
2020-11-23 10:53:34 +00:00
d7111fcb7c Accepting request 838206 from home:AndreasStieger:branches:Base:System
GNU grep 3.5

OBS-URL: https://build.opensuse.org/request/show/838206
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=106
2020-09-28 09:02:25 +00:00
7f74f21682 OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=104 2020-08-31 12:12:58 +00:00
c986a79782 OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=103 2020-08-31 12:12:16 +00:00
8d5a19e123 Accepting request 830782 from home:berny:branches:Base:System
- 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.
- grep.spec: Reference the patch.

OBS-URL: https://build.opensuse.org/request/show/830782
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=102
2020-08-31 12:11:25 +00:00
3f7c330c9a Accepting request 817958 from home:bmwiedemann:branches:Base:System
Use deterministic profile.sh script to make package build reproducible (boo#1040589)

OBS-URL: https://build.opensuse.org/request/show/817958
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=100
2020-07-01 12:12:03 +00:00
31bc7f1d97 Accepting request 766066 from home:Andreas_Schwab:Factory
- Switch back to system regex to avoid undefined behaviour

OBS-URL: https://build.opensuse.org/request/show/766066
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=98
2020-01-21 12:43:52 +00:00
c28cc48486 Accepting request 760933 from home:AndreasStieger:branches:Base:System
grep 3.4

OBS-URL: https://build.opensuse.org/request/show/760933
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=97
2020-01-07 14:49:36 +00:00
75247ecadf Accepting request 731935 from home:lnussel:branches:Base:System
- Do not recommend lang package. The lang package already has a
  supplements.

OBS-URL: https://build.opensuse.org/request/show/731935
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=95
2019-09-19 12:12:22 +00:00
2c7adc014e Accepting request 676970 from home:Andreas_Schwab:Factory
- test-pcre-jitstack.diff: avoid false positive upon stack overflow

OBS-URL: https://build.opensuse.org/request/show/676970
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=93
2019-02-18 09:24:00 +00:00
d5d742242e Accepting request 663377 from home:Andreas_Schwab:Factory
- 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

OBS-URL: https://build.opensuse.org/request/show/663377
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=91
2019-01-07 15:05:24 +00:00
a6fbf68bce Accepting request 647618 from home:bmwiedemann:branches:Base:System
do not run profiling in parallel to make package build reproducible (boo#1040589)

also requires -fno-profile-values to avoid ~3 differing bits

OBS-URL: https://build.opensuse.org/request/show/647618
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=89
2018-11-12 08:14:47 +00:00
a5db29c3ee Accepting request 627809 from home:Andreas_Schwab:Factory
- remove-backref-alt-test.patch: Remove backref-alt test which fails or
  not depending on glibc version

OBS-URL: https://build.opensuse.org/request/show/627809
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=87
2018-08-07 07:30:15 +00:00
840e769e9c Accepting request 580090 from home:favogt:licensetag
Use %license (boo#1082318). Please forward to SLE, if possible

OBS-URL: https://build.opensuse.org/request/show/580090
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=85
2018-02-26 09:37:58 +00:00
59a989f0b6 Accepting request 507733 from home:Andreas_Schwab:Factory
- 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

OBS-URL: https://build.opensuse.org/request/show/507733
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=83
2017-07-03 08:53:53 +00:00
1de662ec82 Accepting request 500479 from home:pluskalm:branches:Base:System
- Use https url's
- Drop no longer needed explicit pie
- Enable profiled build

OBS-URL: https://build.opensuse.org/request/show/500479
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=81
2017-06-05 18:55:41 +00:00
41395de5fd Accepting request 456376 from home:pluskalm:branches:Base:System
- 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

OBS-URL: https://build.opensuse.org/request/show/456376
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=79
2017-02-13 12:43:49 +00:00
92e3f2493a Accepting request 455466 from home:pluskalm:branches:Base:System
- 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

OBS-URL: https://build.opensuse.org/request/show/455466
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=77
2017-02-08 10:29:11 +00:00
28706273af Accepting request 445548 from home:Andreas_Schwab:Factory
- testsuite.patch: remove
- proc-lseek-glitch.patch: work around proc lseek glitch

OBS-URL: https://build.opensuse.org/request/show/445548
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=75
2016-12-13 09:12:40 +00:00
69fe106dcf Accepting request 444685 from home:Andreas_Schwab:Factory
- Update to grep 2.27
  * grep no longer reports a false match in a multibyte, non-UTF8 locale
    like zh_CN.gb18030, with a regular expression like ".*7" that just
    happens to match the 4-byte representation of gb18030's \uC9, the
    final byte of which is the digit "7".
  * grep by default now reads all of standard input if it is a pipe,
    even if this cannot affect grep's output or exit status.
  * grep no longer mishandles ranges in nontrivial unibyte locales.
  * grep -P no longer attempts multiline matches.
  * grep -m0 -L PAT FILE now outputs "FILE".
  * To output ':' and tab-align the following character C, grep -T no
    longer outputs tab-backspace-':'-C, an approach that has problems if
    run inside an Emacs shell window.
  * grep -T now uses worst-case widths of line numbers and byte offsets
    instead of guessing widths that might not work with larger files.
  * grep no longer reads the input in a few more cases when it is easy to
    see that matching cannot succeed, e.g., 'grep -f /dev/null'.

OBS-URL: https://build.opensuse.org/request/show/444685
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=73
2016-12-07 14:52:36 +00:00
5bf293f532 Accepting request 437647 from home:AndreasStieger:branches:Base:System
grep 2.26

OBS-URL: https://build.opensuse.org/request/show/437647
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=71
2016-10-28 13:08:56 +00:00
763d43eecc Accepting request 391328 from home:AndreasStieger:branches:Base:System
grep 2.25, fixing the binary matching issues

OBS-URL: https://build.opensuse.org/request/show/391328
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=69
2016-04-22 19:04:16 +00:00
60a671d047 Accepting request 369903 from home:pluskalm:branches:Base:System
- Update to 2.24

OBS-URL: https://build.opensuse.org/request/show/369903
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=68
2016-03-11 09:44:11 +00:00
92e1d1f16e Accepting request 357841 from home:pluskalm:branches:Base:System
- Update to 2.23
- Update info handling scriplets

OBS-URL: https://build.opensuse.org/request/show/357841
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=67
2016-02-05 20:31:40 +00:00