Commit Graph

162 Commits

Author SHA256 Message Date
Ana Guerrero
827e4ff729 Accepting request 1166714 from Base:System
- restore texinfo macros for SLE15

    also match e.g., the Arabic digits: ٠١٢٣٤٥٦٧٨٩.
- GNU grep 3.8 (jsc#PED-6579):
  * 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

OBS-URL: https://build.opensuse.org/request/show/1166714
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grep?expand=0&rev=91
2024-04-12 15:33:38 +00:00
30c4adfb72 - 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
4ccf627561 - 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
9db2b6928b 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
7375595728 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
bd8584a266 - 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
Ana Guerrero
d4cbb265e2 Accepting request 1108777 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1108777
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grep?expand=0&rev=90
2023-09-07 19:12:00 +00:00
e81a5280a0 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
Dominique Leuenberger
7815ca8e4d Accepting request 1089292 from Base:System
- 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 ^H 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 ^H
    back to Unicode again, without breaking [\d] as 3.10 did.

OBS-URL: https://build.opensuse.org/request/show/1089292
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grep?expand=0&rev=89
2023-05-28 17:21:56 +00:00
3ed3d1f409 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
f53c211d21 - 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
Dominique Leuenberger
eadbb2a77a Accepting request 1080166 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1080166
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grep?expand=0&rev=88
2023-04-21 12:15:32 +00:00
Andreas Schwab
ce62c6a0b0 OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=133 2023-04-11 15:24:32 +00:00
5820abc816 - 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
Dominique Leuenberger
afff5fdc7b Accepting request 1069579 from Base:System
- 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 (forwarded request 1069578 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/1069579
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grep?expand=0&rev=87
2023-03-08 13:50:58 +00:00
Andreas Schwab
0399a5ce73 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
d96df970c9 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
Dominique Leuenberger
4b4671c038 Accepting request 1055273 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1055273
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grep?expand=0&rev=86
2023-01-07 16:15:39 +00:00
858941fd15 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
Dominique Leuenberger
e1383edf82 Accepting request 1004920 from Base:System
- efgrep-warning.patch: remove warning from [ef]grep (forwarded request 1004919 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/1004920
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grep?expand=0&rev=85
2022-09-23 12:14:15 +00:00
Andreas Schwab
63994663b8 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
Dominique Leuenberger
e15c2fff70 Accepting request 1001674 from Base:System
- 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) (forwarded request 1001672 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/1001674
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grep?expand=0&rev=84
2022-09-16 11:31:57 +00:00
Andreas Schwab
ebc63d0566 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
Dominique Leuenberger
c668b08763 Accepting request 994329 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/994329
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grep?expand=0&rev=83
2022-08-13 20:36:30 +00:00
Andreas Schwab
2e4651d6ee 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
Dominique Leuenberger
c6ba2f07fe Accepting request 979044 from Base:System
- use release keyring rather than full one for validation 

- Do not link an unversioned file by URL (and refresh keyring)

OBS-URL: https://build.opensuse.org/request/show/979044
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grep?expand=0&rev=82
2022-05-27 22:28:02 +00:00
4254629b5b - 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
2c80760faf 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
Dominique Leuenberger
02a96d30d6 Accepting request 962180 from Base:System
Make profiling deterministic (bsc#1040589) (forwarded request 962124 from bmwiedemann)

OBS-URL: https://build.opensuse.org/request/show/962180
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grep?expand=0&rev=81
2022-03-18 15:41:18 +00:00
Andreas Schwab
f97d8ce173 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
Dominique Leuenberger
4436673445 Accepting request 953909 from Base:System
- use glibc-locale to reenable less common locale tests (bsc#1195390)

OBS-URL: https://build.opensuse.org/request/show/953909
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grep?expand=0&rev=80
2022-02-14 21:35:53 +00:00
8e3b0ca183 - 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
Dominique Leuenberger
1343420ab0 Accepting request 912393 from Base:System
- 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 (forwarded request 912392 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/912393
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grep?expand=0&rev=79
2021-08-24 08:53:49 +00:00
Andreas Schwab
cc0349ac7c 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
Dominique Leuenberger
2b4051f1b3 Accepting request 909988 from Base:System
- gnulib-c-stack.patch: Fix AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC configure
  check (forwarded request 909987 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/909988
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grep?expand=0&rev=78
2021-08-05 18:47:38 +00:00
Andreas Schwab
7b29ed8d9a 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
Dominique Leuenberger
993b4c7d69 Accepting request 852358 from Base:System
OBS-URL: https://build.opensuse.org/request/show/852358
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grep?expand=0&rev=77
2020-12-07 13:59:52 +00:00
4e25c172e4 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
Dominique Leuenberger
2da8e22798 Accepting request 850976 from Base:System
OBS-URL: https://build.opensuse.org/request/show/850976
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grep?expand=0&rev=76
2020-11-26 22:09:38 +00:00
3402f78091 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
Andreas Schwab
34aeb1e3df 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
Dominique Leuenberger
bc5e96c9df Accepting request 838208 from Base:System
OBS-URL: https://build.opensuse.org/request/show/838208
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grep?expand=0&rev=75
2020-10-04 15:29:58 +00:00
cc503460e4 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
Dominique Leuenberger
94f472e919 Accepting request 830790 from 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.

OBS-URL: https://build.opensuse.org/request/show/830790
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grep?expand=0&rev=74
2020-09-04 08:52:21 +00:00
Andreas Schwab
63595ee723 OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=104 2020-08-31 12:12:58 +00:00
Andreas Schwab
328e35e543 OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=103 2020-08-31 12:12:16 +00:00
Andreas Schwab
864192556e 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
Dominique Leuenberger
3b27e95d4f Accepting request 818103 from Base:System
Use deterministic profile.sh script to make package build reproducible (boo#1040589) (forwarded request 817958 from bmwiedemann)

OBS-URL: https://build.opensuse.org/request/show/818103
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grep?expand=0&rev=73
2020-07-04 23:09:37 +00:00
Andreas Schwab
9d3f35e52d 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
Dominique Leuenberger
11194e42c2 Accepting request 766067 from Base:System
- Switch back to system regex to avoid undefined behaviour (forwarded request 766066 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/766067
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grep?expand=0&rev=72
2020-02-15 21:21:00 +00:00