SHA256
1
0
forked from pool/grep
Commit Graph

90 Commits

Author SHA256 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
6d2ddee86a 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
c16b5ef5c8 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
3aebc07ff2 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
9ddff5d97e 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
bf6fd4341d 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
7bdb31fdca 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
58a5d7a714 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
35010bcd20 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
234f2ddb7d 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
74a16347ac 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
ac3ff8c41b 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
c28a39f12c 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
d5daf2ac7b 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
47fc1f9776 Accepting request 342255 from home:Andreas_Schwab:Factory
- testsuite.patch: disable unreliable test mb-non-UTF8-performance

OBS-URL: https://build.opensuse.org/request/show/342255
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=63
2015-11-03 13:51:34 +00:00
1d22e4af0e Accepting request 342139 from home:AndreasStieger:branches:Base:System
GNU grep 2.22

OBS-URL: https://build.opensuse.org/request/show/342139
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=62
2015-11-03 13:41:47 +00:00
8e2acdccba Accepting request 315187 from home:coolo:branches:openSUSE:Factory
- add gnulib-perl522.patch from gnulib.bugs

OBS-URL: https://build.opensuse.org/request/show/315187
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=60
2015-07-06 10:18:30 +00:00
0bfdea05de Accepting request 282840 from home:Andreas_Schwab:Factory
- grep-F-heap-overrun.patch: fix heap overrun with grep -F (CVE-2015-1345,
  bsc#914695)

OBS-URL: https://build.opensuse.org/request/show/282840
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=58
2015-01-26 11:36:14 +00:00
2d8fa17deb Accepting request 280867 from home:Andreas_Schwab:Factory
- Fix last change

OBS-URL: https://build.opensuse.org/request/show/280867
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=56
2015-01-12 09:32:24 +00:00
ec3a6d2227 Accepting request 266854 from home:msmeissn:branches:Base:System
- build with PIE enabled

OBS-URL: https://build.opensuse.org/request/show/266854
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=54
2014-12-31 14:00:22 +00:00
0d74e719d8 Accepting request 263354 from home:AndreasStieger:branches:Base:System
GNU grep 2.21

OBS-URL: https://build.opensuse.org/request/show/263354
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=52
2014-11-28 16:17:42 +00:00
33f05ff394 Accepting request 236536 from home:AndreasStieger:branches:Base:System
GNU grep 2.20

OBS-URL: https://build.opensuse.org/request/show/236536
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=50
2014-06-07 20:45:42 +00:00