Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: pcre2-tools | Distribution: SUSE Linux Enterprise 15 |
Version: 10.42 | Vendor: SUSE LLC <https://www.suse.com/> |
Release: 150600.1.26 | Build date: Thu May 9 10:32:30 2024 |
Group: Productivity/Text/Utilities | Build host: h03-ch2b |
Size: 321506 | Source RPM: pcre2-10.42-150600.1.26.src.rpm |
Packager: https://www.suse.com/ | |
Url: https://www.pcre.org | |
Summary: A library for Perl-compatible regular expressions |
The PCRE2 library is a set of functions that implement regular expression pattern matching using the same syntax and semantics as Perl 5. PCRE2 is a re-working of the original PCRE library to provide an entirely new API.
BSD-3-Clause
* Wed Dec 20 2023 martin.schreiner@suse.com - Remove pcre2-10.39-bsc1199232-unicode-property-matching.patch Fixed in 10.40, renders the patch unnecessary (was merged upstream) Changelog permalink: https://github.com/PCRE2Project/pcre2/blob/536e6a1a1ac14dad3e9e1d25200a50159de48f7e/ChangeLog#L410 * This patch had originally been added to solve bsc#1199232 / CVE-2022-1586. - Remove pcre2-bsc1199235-CVE-2022-1587.patch Fixed in 10.40, renders the patch unnecessary (was merged upstream) GitHub issue: https://github.com/PCRE2Project/pcre2/issues/122 Changelog permalink: https://github.com/PCRE2Project/pcre2/blob/536e6a1a1ac14dad3e9e1d25200a50159de48f7e/ChangeLog#L413 * This patch had originally been added to solve bsc#1199235 / CVE-2022-1587. - Remove pcre2-CVE-2022-41409.patch Fixed in 10.41, renders the patch unnecessary (was merged upstream) GitHub issue: https://github.com/PCRE2Project/pcre2/issues/141 Referred commit: https://github.com/PCRE2Project/pcre2/commit/94e1c001761373b7d9450768aa15d04c25547a35 Changelog permalink: https://github.com/PCRE2Project/pcre2/blob/536e6a1a1ac14dad3e9e1d25200a50159de48f7e/ChangeLog#L303 * This patch had originally been added to solve bsc#1213514 / CVE-2022-41409. - Remove pcre2-readd-wrappers-POSIX.patch This patch needed to be refresh so it would apply cleanly for 10.42. After the refresh, there was a single line left. An "#if 1" that prevents the build from working on S390X. Seeing as this patch is completely removed from openSUSE:Factory, it boiled down to a single line change, and it didn't imply any API/ABI modifications, I'm removing it. * Mon Dec 12 2022 andreas.stieger@gmx.de - pcre2 10.42: * Fix 10.41 regression that added the default definition of PCRE2_CALL_CONVENTION to pcre2posix.c instead of pcre2posix.h, which meant that programs including pcre2posix.h but not pcre2.h couldn't compile * Fix an intermittent JIT fault and minor issues * Mon Dec 12 2022 dmueller@suse.com - switch to pkgconfig(zlib) so that alternative providers can be used * Tue Dec 06 2022 andreas.stieger@gmx.de - pcre2 10.41: * pcre2grep behaves more like GNU grep for multiple patterns that match more than once on a line * Sun Jul 31 2022 coolo@suse.com - Fix the profiling call to be non-parallel again (fighting spec cleaner) * Thu May 05 2022 pgajdos@suse.com - do not enable jit-sealloc [bsc#1182864] [bsc#1199208] * Thu May 05 2022 pgajdos@suse.com - enable jit for s390x [bsc#1199196] * Sat Apr 16 2022 andreas.stieger@gmx.de - pcre2 10.40: * Added support for Bidi_Class and a number of binary Unicode properties, including Bidi_Control. * A number of changes to script matching for \p and \P: speed improvements, add the syntax \p{script:xxx} and \p{script_extensions:xxx} (synonyms sc and scx), Changed \p{scriptname} from being the same as \p{sc:scriptname} to being the same as \p{scx:scriptname}, recognize the standard Unicode 4-letter abbreviations for script names, implement Unicode and Perl's "loose matching" rules on property names * Mon Mar 14 2022 pgajdos@suse.com - version update to 10.39 * Fix incorrect detection of alternatives in first character search in JIT * Update to Unicode 14.0.0 - 0001-Fixed-atomic-group-backtracking-bug.patch released for 15:Update due to bsc#1187937 is already upstreamed https://bugzilla.suse.com/show_bug.cgi?id=1187937#c7 * Fri Nov 05 2021 andreas.stieger@gmx.de - pcre2 10.39: * Fix incorrect detection of alternatives in first character search in JIT * Update to Unicode 14.0.0 * Sun Oct 24 2021 andreas.stieger@gmx.de - pcre2 10.38: * Following Perl's lead, \K is now locked out in lookaround assertions by default, but an option is provided to re-enable the previous behaviour * Thu May 27 2021 andreas.stieger@gmx.de - pcre2 10.37: * removal of the actual POSIX names regcomp etc. from the POSIX wrapper library because these have caused issues for some applications, replacing pcre2-symbol-clash.patch * fix a hypothetical NULL dereference * fix two bugs related to over-large numbers so the behaviour is now the same as Perl * Fix propagation of \K back from the full pattern recursion * Restore single character repetition optimization in JIT * Wed Apr 14 2021 jengelh@inai.de - Remove regcomp, regexec etc. from libpcre2-posix. (Add pcre2-symbol-clash.patch) * Sat Dec 05 2020 andreas.stieger@gmx.de - pcre2 10.36: * add GNU grep's -m (aka --max-count) option to pcre2grep * unify the handling of substitution strings for both -O and callouts in pcre2grep, with the addition of $x{...} and $o{...} to allow for characters whose code points are greater than 255 in Unicode mode * Wed May 13 2020 ilya@ilya.pp.ua - Refresh spec-file via spec-cleaner. * Add %make_build and %license macros. - Update to 10.35 * https://www.pcre.org/changelog.txt * Use PCRE2_MATCH_EMPTY flag to detect empty matches in JIT. * A JIT bug is fixed which allowed to read the fields of the compiled pattern before its existence is checked. * Added PCRE2_SUBSTITUTE_LITERAL. * Avoid some VS compiler warnings. * Added PCRE2_SUBSTITUTE_MATCHED. * Added (?* and (?<* as synonms for (*napla: and (*naplb: to match another regex engine. * Fix *THEN verbs in lookahead assertions in JIT. * Added PCRE2_SUBSTITUTE_REPLACEMENT_ONLY. * The JIT stack should be freed when the low-level stack allocation fails. * Changed setting of CMAKE_MODULE_PATH in CMakeLists.txt from SET to LIST(APPEND...) to allow a setting from the command line to be included. * Updated to Unicode 13.0.0. * CMake build now checks for secure_getenv() and strerror(). * Restrict the configuration setting for the SELinux compatible execmem allocator (change 10.30/44) to Linux and NetBSD. * Fri Mar 27 2020 mcalabkova@suse.com - Resubmit the package (bsc#1167890, jsc#SLE-11608) * Tue Nov 26 2019 schwab@suse.de - Enable JIT on aarch64 * Fri Nov 22 2019 andreas.stieger@gmx.de - pcre2 10.34: * implement the documented maximum number of capturing subpatterns of 65535 * Improve the invalid utf32 support of the JIT compiler * Add support for matching in invalid UTF strings to the pcre2_match() * Give more error detail for invalid UTF-8 when detected in pcre2grep * support for invalid UTF-8 to pcre2grep. * Adjust the limit for "must have" code unit searching, in particular, * increase it substantially for non-anchored patterns. * Allow (*ACCEPT) to be quantified, because an ungreedy quantifier with a zero minimum is potentially useful. * Some changes to the way the minimum subject length is handled * Check for integer overflow when computing lookbehind lengths * Implement non-atomic positive lookaround assertions * Upgraded to Unicode 12.1.0 * Make pcre2test -C show if libreadline or libedit is supported * Various bug fixes and improvements * Thu May 02 2019 jsikes@suse.de - Update to 10.33-RC1 to fix issue with LTO (boo#1133274). * Callouts from pcre2_substitute() are now available. * The POSIX functions are now all called pcre2_regcomp() etc., with wrapper functions that use the standard POSIX names. However, in pcre2posix.h the POSIX names are defined as macros. This should help avoid linking with the wrong library in some environments, while still exporting the POSIX names for pre-existing programs that use them. * Some new options: (a) PCRE2_EXTRA_ESCAPED_CR_IS_LF makes \r behave as \n. (b) PCRE2_EXTRA_ALT_BSUX enables support for ECMAScript 6's \u{hh...} construct. (c) PCRE2_COPY_MATCHED_SUBJECT causes a copy of a matched subject to be made, instead of just remembering a pointer. * Some new Perl features: (a) Perl 5.28's experimental alphabetic names for atomic groups and lookaround assertions, for example, (*pla:...) and (*atomic:...). (b) The new Perl "script run" features (*script_run:...) and (*atomic_script_run:...) aka (*sr:...) and (*asr:...). (c) When PCRE2_UTF is set, allow non-ASCII letters and decimal digits in capture group names. * --disable-percent-zt disables the use of %zu and %td in formatting strings in pcre2test. They were already automatically disabled for VC and older C compilers. * Some changes related to callouts in pcre2grep: (a) Support for running an external program under VMS has been added, in addition to Windows and fork() support. (b) --disable-pcre2grep-callout-fork restricts the callout support in to the inbuilt echo facility. * Wed Apr 24 2019 mliska@suse.cz - Disable LTO (boo#1133274). * Wed Jan 23 2019 bwiedemann@suse.com - Do not run profiling in parallel for reproducible builds (boo#1040589) * Mon Jan 14 2019 kukuk@suse.de - Mark all license files as %license * Tue Dec 11 2018 crrodriguez@opensuse.org - Build with --enable-jit-sealloc option, otherwise when selinux is enabled or systemd memory protections are on, programs will fail to work with execmem violations. * Thu Oct 25 2018 astieger@suse.com - pcre2 10.32: * pcre2grep now supports the inclusion of binary zeros in patterns that are read from files via the -f option. * In pcre2_dfa_match(), internal recursive calls no longer use the stack for local workspace and local ovectors * Updated to Unicode version 11.0.0. * (*ACCEPT:ARG), (*FAIL:ARG), and (*COMMIT:ARG) are now supported. * Add support for \N{U+dddd}, but only in Unicode mode. * Addesupport for (?^) to unset all imnsx options * Fri Jul 20 2018 mpluskal@suse.com - Drop conditions for old distributions - Do profile guided build * Sun Feb 18 2018 avindra@opensuse.org - Update to new upstream release 10.31 * New pcre2_config() options: PCRE2_CONFIG_NEVER_BACKSLASH_C and PCRE2_CONFIG_COMPILED_WIDTHS. * New pcre2_pattern_info() option PCRE2_INFO_EXTRAOPTIONS to retrieve the extra compile time options. * Public names for all pcre2_compile() error numbers. * Added PCRE2_CALLOUT_STARTMATCH and PCRE2_CALLOUT_BACKTRACK bits to a new field callout_flags in callout blocks. - use https for main site - cleanup with spec-cleaner * Mon Sep 11 2017 jengelh@inai.de - Update to new upstream release 10.30 * The main interpreter, pcre2_match(), has been refactored into a new version that does not use recursive function calls for remembering backtracking positions. The new implementation allows backtracking into recursive group calls in patterns, making it more compatible with Perl. For patterns that have a lot of backtracking, the heap is now used, and there is explicit limit on the amount, settable by pcre2_set_heap_limit(). The "recursion limit" is retained, but is renamed as "depth limit". * The new option PCRE2_ENDANCHORED insists that a pattern match must end at the end of the subject. * The new option PCRE2_EXTENDED_MORE implements Perl's /xx feature, and pcre2test is upgraded to support it. Setting within the pattern by (?xx) is Also supported. * (?n) can be used to set PCRE2_NO_AUTO_CAPTURE, because Perl now has this. * Additional pattern compile options in the compile context are now available: PCRE2_EXTRA_ALLOW_SURROGATE_ESCAPES and PCRE2_EXTRA_BAD_ESCAPE_IS LITERAL. * The newline type PCRE2_NEWLINE_NUL is now available. * The match limit value now also applies to pcre2_dfa_match() as there are patterns that can use up a lot of resources without necessarily recursing very deeply. * Various minor security fixes found by fuzzers: + bsc#1037165: crash for forward reference in lookbehind with PCRE2_ANCHORED + CVE-2017-8786: heap-based buffer overflow write in pcre2test (bsc#1036942) + CVE-2017-7186: DoS by triggering an invalid Unicode property lookup (bsc#1030066) - Switch source URLs to use HTTP. * Sat Aug 05 2017 astieger@suse.com - fix SLE 11 build * Tue May 02 2017 astieger@suse.com - pcre2grep can now read .gz and .bz2 files directly - pcre2test is now built to support line editing * Thu Feb 16 2017 astieger@suse.com - pcre2 10.23: * major re-factoring of the pcre2_compile.c file * Back references are now permitted in lookbehind assertions when there are no duplicated group numbers (that is, (?| has not been used), and, if the reference is by name, there is only one group of that name. The referenced group must, of course be of fixed length. * \g{+<number>} (e.g. \g{+2} ) is now supported. It is a "forward back reference" and can be useful in repetitions (compare \g{-<number>} ). Perl does not recognize this syntax. * pcre2grep now automatically expands its buffer up to a maximum set by --max-buffer-size. * The -t option (grand total) has been added to pcre2grep. * A new function called pcre2_code_copy_with_tables() exists to copy a compiled pattern along with a private copy of the character tables that is uses. * Tue Feb 07 2017 dimstar@opensuse.org - Explicitly package %{_docdir}/%{name} to fix build with RPM 4.13. * Mon Aug 01 2016 astieger@suse.com - pcre2 10.22: * The POSIX wrapper function regcomp() did not used to support back references and subroutine calls if called with the REG_NOSUB option. It now does. * A new function, pcre2_code_copy(), is added, to make a copy of a compiled pattern. * Support for string callouts is added to pcre2grep. * Added the PCRE2_NO_JIT option to pcre2_match(). * The pcre2_get_error_message() function now returns with a negative error code if the error number it is given is unknown. * Several updates have been made to pcre2test and test scripts * Fix CVE-2016-3191: workspace overflow for (*ACCEPT) with deeply nested parentheses (boo#971741) * Sun Jan 17 2016 jengelh@inai.de - Update to new upstream release 10.21 * Improve JIT matching speed of patterns starting with + or *. * Use memchr() to find the first character in an unanchored match in 8-bit mode in the interpreter. This gives a significant speed improvement. * 10.20 broke the handling of [[:>:]] and [[:<:]] in that processing them could involve a buffer overflow if the following character was an opening parenthesis. * 10.20 also introduced a bug in processing this pattern: /((?x)(*:0))#(?'/, which was fixed. * A callout with a string argument containing an opening square bracket, for example /(?C$[$)(?<]/, was incorrectly processed and could provoke a buffer overflow. * A possessively repeated conditional group that could match an empty string, for example, /(?(R))*+/, was incorrectly compiled. * The Unicode tables have been updated to Unicode 8.0.0. * An empty comment (?#) in a pattern was incorrectly processed and could provoke a buffer overflow. * Fix infinite recursion in the JIT compiler when certain patterns /such as (?:|a|){100}x/ are analysed. * Some patterns with character classes involving [: and \\ were incorrectly compiled and could cause reading from uninitialized memory or an incorrect error diagnosis. Examples are: /[[:\\](?<[::]/ and /[[:\\](?'abc')[a:]. * A missing closing parenthesis for a callout with a string argument was not being diagnosed, possibly leading to a buffer overflow. * If (?R was followed by - or + incorrect behaviour happened instead of a diagnostic. * Fixed an issue when \p{Any} inside an xclass did not read the current character. * About 80 more fixes, which you can read about in the ChangeLog shipped with the libpcre2-8-0 package. * Tue Jul 14 2015 astieger@suse.com - PCRE2 10.20: * Callouts with string arguments and the pcre2_callout_enumerate() function have been implemented. * The PCRE2_NEVER_BACKSLASH_C option, which locks out the use of \C, is added. * The PCRE2_ALT_CIRCUMFLEX option lets ^ match after a newline at the end of a subject in multiline mode. * The way named subpatterns are handled has been refactored. The previous approach had several bugs. * The handling of \c in EBCDIC environments has been changed to conform to the perlebcdic document. (Incompatible change) * Bugs have been mended, many of them discovered by fuzzers. * Thu Jun 18 2015 astieger@suse.com - PCRE2, a re-working of the original PCRE library to provide an entirely new API, version 10.10. Not source compatible. - copy of the pcre package, with the following adjustments: * required name changes * adjust pcre-8.21-multilib.patch to pcre2-10.10-multilib.patch * drop upstreamed pcre-8.32-visibility.patch * --enable-{utf8,unicode-properties} became --enable-unicode * drop cpp subpackage * make test -> check * enable 32 bit character support * Thu Apr 30 2015 astieger@suse.com - pcre 8.37: * CVE-2015-2325: Patterns with certain groups specifying a zero minimum quantifier caused incorrect code to be compiled, leading to an incorrect memory read. [boo#924960] * CVE-2015-2326: Specific patterns containing a forward reference with subroutine calls caused incorrect code to be compiled [boo#924961] * CVE-2014-8964: If an assertion condition was quantified with a minimum of zero, SIGSEGV or other misbehaviour could occur. [boo#906574] * further bug fixes as listed in ChangeLog * Mon Mar 09 2015 p.drouand@gmail.com - Update to version 3.16 * This is primarily a bug-fix release. * The Unicode data tables have been updated to Unicode 7.0.0. - Remove pcre-commit1472.patch; fixed on upstream release - Remove obsolete "Obsoletes" tag
/usr/bin/pcre2grep /usr/bin/pcre2test /usr/share/licenses/pcre2-tools /usr/share/licenses/pcre2-tools/LICENCE /usr/share/man/man1/pcre2grep.1.gz /usr/share/man/man1/pcre2test.1.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Jul 9 20:06:21 2024