Commit Graph

154 Commits

Author SHA256 Message Date
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
Andreas Schwab
ad77cef40c 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
Andreas Schwab
6f4bd295ad 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
Dominique Leuenberger
f3adb1a6d8 Accepting request 731945 from Base:System
- Do not recommend lang package. The lang package already has a
  supplements. (forwarded request 731935 from lnussel)

OBS-URL: https://build.opensuse.org/request/show/731945
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grep?expand=0&rev=71
2019-09-26 18:35:17 +00:00
Andreas Schwab
8b5538cb93 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
Stephan Kulow
f0a3f7b2fc Accepting request 676971 from Base:System
- test-pcre-jitstack.diff: avoid false positive upon stack overflow (forwarded request 676970 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/676971
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grep?expand=0&rev=70
2019-02-24 15:54:58 +00:00
Andreas Schwab
461bbb0f4a 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
Dominique Leuenberger
9067ff6870 Accepting request 663378 from Base:System
- 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 (forwarded request 663377 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/663378
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grep?expand=0&rev=69
2019-01-15 08:08:19 +00:00
Andreas Schwab
90931682f7 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