From 4670b98bf03d8b0d74a46d96bdbe2fd8483b5d1dfd869c5068f58d18f80974b2 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 23 Jun 2015 09:57:36 +0000 Subject: [PATCH 01/32] Accepting request 312616 from devel:libraries:c_c++ PCRE2 is a re-working of the original PCRE library to provide an entirely new API. Copy of the exising pcre package with the described changes. Not source compatible. Installable in parallel with all packages. OBS-URL: https://build.opensuse.org/request/show/312616 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcre2?expand=0&rev=1 --- baselibs.conf | 2 +- pcre2-10.10.tar.bz2 | 3 + pcre2-10.10.tar.bz2.sig | Bin 0 -> 287 bytes pcre2-10.43.tar.bz2 | 3 - pcre2-10.43.tar.bz2.sig | Bin 310 -> 0 bytes pcre2.changes | 483 ++-------------------------------------- pcre2.spec | 104 ++++----- 7 files changed, 75 insertions(+), 520 deletions(-) create mode 100644 pcre2-10.10.tar.bz2 create mode 100644 pcre2-10.10.tar.bz2.sig delete mode 100644 pcre2-10.43.tar.bz2 delete mode 100644 pcre2-10.43.tar.bz2.sig diff --git a/baselibs.conf b/baselibs.conf index 0c9d64b..f52c1b4 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,4 +1,4 @@ libpcre2-8-0 libpcre2-16-0 libpcre2-32-0 -libpcre2-posix3 +libpcre2-posix0 diff --git a/pcre2-10.10.tar.bz2 b/pcre2-10.10.tar.bz2 new file mode 100644 index 0000000..b14d744 --- /dev/null +++ b/pcre2-10.10.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5f45e5550a8c055a8a02b20c50060b16e71bec8440e5c86013c6b272c242ff42 +size 1339199 diff --git a/pcre2-10.10.tar.bz2.sig b/pcre2-10.10.tar.bz2.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..35b96590f34012032de8f259ec5ce917d993cff7c05fff4596b2bfdb9baff776 GIT binary patch literal 287 zcmV+)0pR|L0UQJX0SEvF1p-w0!#4m52@scN;Dq}RL)g6~2me99hQwBvM_T-2bjyVg zz^fNun&36P9g1l?KF&kzZ#1i{>m9tzmAqN!BF~=PwRw8RPSj~_?Vc7{jSBrjgfeYf z))^;?lenG^9vFT#Bw43uF*FIQ`ho!>{|u>(nAQPe2VV&c9G5IXjPE5^BhX{}ND$E< z;JDI~u!-+l#3hQ3fK~z)`0(X7_FXSN{!4{MFCnfKKLlr>ZL?w1h@m7N&UN6Mbne=7 z?M~e4bK@xO5Lt2^sZla!Hm;vIsjjk~XJI9E9Rl(`iT~*_4RCt@7%m6mml-MHK6Qv2 l&`>d%BkdoJ@L`Jr?E(oV>Ml8eS3WIm7R`{nZ5Y!;^b<}+fYbm0 literal 0 HcmV?d00001 diff --git a/pcre2-10.43.tar.bz2 b/pcre2-10.43.tar.bz2 deleted file mode 100644 index dc99e91..0000000 --- a/pcre2-10.43.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e2a53984ff0b07dfdb5ae4486bbb9b21cca8e7df2434096cc9bf1b728c350bcb -size 1905255 diff --git a/pcre2-10.43.tar.bz2.sig b/pcre2-10.43.tar.bz2.sig deleted file mode 100644 index d8e2368a06ec761436534e9b6f7a89ba42db2d4b0a1bb09679cb412afc561597..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 310 zcmV-60m=S}0W$;u0SEvc79j*h_Kj4#;y<$kn?~iAX5fVT4@1}m0%gyY*Z>L%5SM1) zg!>Oe*i&=|{xmOpdz++6-&NhfG7X^cHIz{w;=P(vYVI{?DGYn*6|t=Ln+KpGAo+LRTtReB)jrlP}5vpW0Ov0PqH1 zh5w0HU+721YV3+;sPk#yX8DGMc3KtTDN~SSxwLkgI>b>|xDh^)!DUjm+b0;AW^9>k z{B31_4(2KjGd=pNGEENogIXkK0s%(oI8+fQW>cYHI%n(e@NL - -- build x86_64-v3 optimized libs - -------------------------------------------------------------------- -Fri Feb 16 21:06:08 UTC 2024 - Andreas Stieger - -- pcre2 10.43: - * The JIT code no longer supports ARMv5 architecture. - * A new function pcre2_get_match_data_heapframes_size() for finer - heap control. - * New option flags to restrict the interaction between ASCII and - non-ASCII characters for caseless matching and \d and friends. - There are also new pattern constructs to control these flags - from within a pattern. - * Upgrade to Unicode 15.0.0. - * Treat a NULL pattern with zero length as an empty string. - * Added support for limited-length variable-length lookbehind - assertions, with a default maximum length of 255 characters - (same as Perl) but with a function to adjust the limit. - * Perl changed the meaning of (for example) {,3} which did not - used to be recognized as a quantifier. Now it means {0,3} and - PCRE2 has also changed. Note that {,} is still not a - quantifier. - * Following Perl, allow spaces and tabs after { and before } in - all Perl- compatible items that use braces, and also around - commas in quantifiers. The one exception in PCRE2 is \u{...}, - which is from ECMAScript, not Perl, and PCRE2 follows - ECMAScript usage. - * Changed the meaning of \w and its synonyms and derivatives (\b - and \B) in UCP mode to follow Perl. It now matches characters - whose general categories are L or N or whose particular - categories are Mn (non-spacing mark) or Pc (combining - punctuation). - * Changed the default meaning of [:xdigit:] in UCP mode to - follow Perl. It now matches the "fullwidth" versions of hex - digits. PCRE2_EXTRA_ASCII_DIGIT can be used to keep it ASCII - only. - * Make PCRE2_UCP the default in UTF mode in pcre2grep and add - -no_ucp, --case-restrict and --posix-digit. - * Add --group-separator and --no-group-separator to pcre2grep. - -------------------------------------------------------------------- -Mon Dec 12 20:19:14 UTC 2022 - Andreas Stieger - -- 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 08:58:58 UTC 2022 - Dirk Müller - -- switch to pkgconfig(zlib) so that alternative providers can be - used - -------------------------------------------------------------------- -Tue Dec 6 21:30:50 UTC 2022 - Andreas Stieger - -- pcre2 10.41: - * pcre2grep behaves more like GNU grep for multiple patterns that - match more than once on a line - -------------------------------------------------------------------- -Sun Jul 31 06:54:48 UTC 2022 - Stephan Kulow - -- Fix the profiling call to be non-parallel again (fighting spec cleaner) - -------------------------------------------------------------------- -Thu May 5 08:15:44 UTC 2022 - pgajdos@suse.com - -- do not enable jit-sealloc [bsc#1182864] [bsc#1199208] - -------------------------------------------------------------------- -Thu May 5 06:52:30 UTC 2022 - pgajdos@suse.com - -- enable jit for s390x [bsc#1199196] - -------------------------------------------------------------------- -Sat Apr 16 10:50:31 UTC 2022 - Andreas Stieger - -- 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 - -------------------------------------------------------------------- -Fri Nov 5 19:01:43 UTC 2021 - Andreas Stieger - -- pcre2 10.39: - * Fix incorrect detection of alternatives in first character - search in JIT - * Update to Unicode 14.0.0 - -------------------------------------------------------------------- -Sun Oct 24 14:41:00 UTC 2021 - Andreas Stieger - -- 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 12:30:17 UTC 2021 - Andreas Stieger - -- 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 09:57:53 UTC 2021 - Jan Engelhardt - -- Remove regcomp, regexec etc. from libpcre2-posix. - (Add pcre2-symbol-clash.patch) - -------------------------------------------------------------------- -Sat Dec 5 12:41:55 UTC 2020 - Andreas Stieger - -- 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 22:24:30 UTC 2020 - Илья Индиго - -- 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 16:26:54 UTC 2020 - Marketa Calabkova - -- Resubmit the package (bsc#1167890, jsc#SLE-11608) - -------------------------------------------------------------------- -Tue Nov 26 21:24:43 UTC 2019 - Andreas Schwab - -- Enable JIT on aarch64 - -------------------------------------------------------------------- -Fri Nov 22 19:55:35 UTC 2019 - Andreas Stieger - -- 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 2 00:36:59 UTC 2019 - Jason Sikes - -- 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 17:30:36 UTC 2019 - Martin Liška - -- Disable LTO (boo#1133274). - -------------------------------------------------------------------- -Wed Jan 23 12:25:38 UTC 2019 - Bernhard Wiedemann - -- Do not run profiling in parallel for reproducible builds (boo#1040589) - -------------------------------------------------------------------- -Mon Jan 14 16:11:53 CET 2019 - kukuk@suse.de - -- Mark all license files as %license - -------------------------------------------------------------------- -Tue Dec 11 14:31:55 UTC 2018 - Cristian Rodríguez - -- 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 07:22:21 UTC 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 14:05:01 UTC 2018 - mpluskal@suse.com - -- Drop conditions for old distributions -- Do profile guided build - -------------------------------------------------------------------- -Sun Feb 18 05:15:03 UTC 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 18:14:30 UTC 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 5 17:34:26 UTC 2017 - astieger@suse.com - -- fix SLE 11 build - -------------------------------------------------------------------- -Tue May 2 17:28:30 UTC 2017 - astieger@suse.com - -- pcre2grep can now read .gz and .bz2 files directly -- pcre2test is now built to support line editing - -------------------------------------------------------------------- -Thu Feb 16 21:25:42 UTC 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{+} (e.g. \g{+2} ) is now supported. It is a "forward - back reference" and can be useful in repetitions - (compare \g{-} ). 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 7 16:19:22 UTC 2017 - dimstar@opensuse.org - -- Explicitly package %{_docdir}/%{name} to fix build with RPM 4.13. - -------------------------------------------------------------------- -Mon Aug 1 15:24:18 UTC 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 14:30:53 UTC 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 08:42:04 UTC 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 20:51:45 UTC 2015 - astieger@suse.com @@ -491,7 +52,7 @@ Thu Aug 28 03:10:39 UTC 2014 - crrodriguez@opensuse.org ------------------------------------------------------------------- Mon Jun 16 14:44:43 UTC 2014 - dvaleev@suse.com -- Enable JIT on ppc64le as well +- Enable JIT on ppc64le as well ------------------------------------------------------------------- Sat May 3 06:07:56 UTC 2014 - coolo@suse.com @@ -552,7 +113,7 @@ Thu Jun 13 16:20:10 UTC 2013 - jengelh@inai.de ------------------------------------------------------------------- Sat Jun 8 20:16:10 UTC 2013 - crrodriguez@opensuse.org -- Ensure the PCRE library and tools are built with large file +- Ensure the PCRE library and tools are built with large file support in 32 bit archs. ------------------------------------------------------------------- @@ -631,19 +192,19 @@ Thu May 10 15:59:21 UTC 2012 - afaerber@suse.de ------------------------------------------------------------------- Tue Feb 7 15:10:59 UTC 2012 - crrodriguez@opensuse.org -- fix baselibs +- fix baselibs ------------------------------------------------------------------- Tue Feb 7 04:40:59 UTC 2012 - crrodriguez@opensuse.org -- Update to PCRE 8.30, upstream SONAME bump, libpcre1 +- Update to PCRE 8.30, upstream SONAME bump, libpcre1 - Drop no longer needed ppc patch. - move library back to %{_libdir} ------------------------------------------------------------------- Wed Feb 1 10:44:38 UTC 2012 - dvaleev@suse.com -- Fix cache-flush on PPC +- Fix cache-flush on PPC ------------------------------------------------------------------- Wed Nov 16 08:17:40 UTC 2011 - coolo@suse.com @@ -653,9 +214,9 @@ Wed Nov 16 08:17:40 UTC 2011 - coolo@suse.com ------------------------------------------------------------------- Tue Nov 1 16:16:49 UTC 2011 - crrodriguez@opensuse.org -- Update to version 8.20 +- Update to version 8.20 * too many fixes to list here, see included ChangeLog - * replace pcre-visibility patch with the one I submitted to + * replace pcre-visibility patch with the one I submitted to upstream for inclusion. ------------------------------------------------------------------- @@ -663,12 +224,12 @@ Tue Oct 11 22:39:57 UTC 2011 - dmueller@suse.de - udpate to 8.13: * too many fixes to list here, see included ChangeLog - * the Unicode data tables have been updated to Unicode 6.0.0. + * the Unicode data tables have been updated to Unicode 6.0.0. ------------------------------------------------------------------- Mon Sep 19 15:15:41 UTC 2011 - coolo@suse.com -- remove fragile _service +- remove fragile _service ------------------------------------------------------------------- Wed Mar 9 14:20:37 UTC 2011 - coolo@novell.com @@ -699,7 +260,7 @@ Wed Mar 9 14:20:37 UTC 2011 - coolo@novell.com ------------------------------------------------------------------- Sat Oct 30 02:15:06 UTC 2010 - cristian.rodriguez@opensuse.org -- Support GCC visibility, symbol clashes no more. +- Support GCC visibility, symbol clashes no more. ------------------------------------------------------------------- Sun Sep 19 11:03:57 CEST 2010 - vuntz@opensuse.org @@ -788,7 +349,7 @@ Wed Jun 10 13:03:11 CEST 2009 - coolo@novell.com ------------------------------------------------------------------- Fri Jun 5 23:13:22 CEST 2009 - crrodriguez@suse.de -- disable static libraries, shouldn't be used now +- disable static libraries, shouldn't be used now ------------------------------------------------------------------- Sat May 30 22:02:07 CEST 2009 - dmueller@suse.de @@ -805,7 +366,7 @@ Tue May 5 14:24:17 CEST 2009 - ms@suse.de - Release 7.9 11-Apr-09 (bnc #500734) Mostly bugfixes and tidies with just a couple of minor - functional additions. + functional additions. ------------------------------------------------------------------- Wed Jan 7 12:34:56 CET 2009 - olh@suse.de @@ -816,7 +377,7 @@ Wed Jan 7 12:34:56 CET 2009 - olh@suse.de Fri Sep 12 01:51:31 CEST 2008 - crrodriguez@suse.de - update to PCRE 7.8 - * More bug fixes, plus a performance improvement + * More bug fixes, plus a performance improvement in Unicode character property lookup. see complete changelog at http://www.pcre.org/changelog.txt @@ -831,9 +392,9 @@ Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de Fri Feb 1 19:43:16 CET 2008 - crrodriguez@suse.de - update to version 7.6 -- The main reason for having this release so soon after 7.5 - is because it fixes a potential buffer overflow problem in pcre_compile() - when run in UTF-8 mode. In addition, the CMake configuration files have been brought up to date. +- The main reason for having this release so soon after 7.5 + is because it fixes a potential buffer overflow problem in pcre_compile() + when run in UTF-8 mode. In addition, the CMake configuration files have been brought up to date. ------------------------------------------------------------------- Sun Jan 13 09:08:22 CET 2008 - crrodriguez@suse.de @@ -970,14 +531,14 @@ Sun Jan 13 09:08:22 CET 2008 - crrodriguez@suse.de Perl does, and where it didn't before. 24. Rewrite so as to remove the single use of %n from pcregrep because in some - Windows environments %n is disabled by default. + Windows environments %n is disabled by default. ------------------------------------------------------------------- Tue Nov 6 08:15:28 CET 2007 - crrodriguez@suse.de - update to version 7.4, since version 7.2, more than 40 bugs were fixed including multiple vulnerabilities [#325921] . The list of changes is too long - to mention here, see changelog.txt for details. + to mention here, see changelog.txt for details. ------------------------------------------------------------------- Wed Aug 8 12:46:16 CEST 2007 - ms@suse.de @@ -1322,7 +883,7 @@ Thu Mar 31 17:39:53 CEST 2005 - uli@suse.de ------------------------------------------------------------------- Mon Nov 22 17:12:31 CET 2004 - choeger@suse.de -- update to latest version v5.0 +- update to latest version v5.0 ------------------------------------------------------------------- Mon Jun 7 11:40:27 CEST 2004 - choeger@suse.de @@ -1364,7 +925,7 @@ Fri Dec 6 04:42:15 CET 2002 - coolo@suse.de ------------------------------------------------------------------- Tue Sep 17 17:34:28 CEST 2002 - ro@suse.de -- removed bogus self-provides +- removed bogus self-provides ------------------------------------------------------------------- Fri Apr 5 10:57:15 CEST 2002 - coolo@suse.de @@ -1381,7 +942,7 @@ Tue Jan 22 19:07:26 CET 2002 - choeger@suse.de ------------------------------------------------------------------- Tue Aug 21 01:11:46 MEST 2001 - mge@suse.de -- pcre 3.5 +- pcre 3.5 ------------------------------------------------------------------- Wed Apr 11 22:26:54 CEST 2001 - froh@suse.de @@ -1401,7 +962,7 @@ Tue Jun 27 19:41:41 MEST 2000 - mge@suse.de ------------------------------------------------------------------- Thu Mar 2 12:22:48 CET 2000 - mge@suse.de -- fixed manpath +- fixed manpath ------------------------------------------------------------------- Sun Feb 13 16:54:53 MET 2000 - mge@suse.de diff --git a/pcre2.spec b/pcre2.spec index 7ab0f31..b7eb114 100644 --- a/pcre2.spec +++ b/pcre2.spec @@ -1,8 +1,7 @@ # # spec file for package pcre2 # -# Copyright (c) 2024 SUSE LLC -# Copyright (c) 2024 Andreas Stieger +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -13,20 +12,20 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # -%global _lto_cflags %{_lto_cflags} -ffat-lto-objects Name: pcre2 -Version: 10.43 +Version: 10.10 Release: 0 Summary: A library for Perl-compatible regular expressions License: BSD-3-Clause Group: Development/Libraries/C and C++ -URL: https://www.pcre.org -Source0: https://github.com/PhilipHazel/pcre2/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2 -Source2: https://github.com/PhilipHazel/pcre2/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2.sig +Url: http://www.pcre.org/ +#SVN-Clone: svn://vcs.exim.org/pcre/code/trunk +Source: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/%{name}-%{version}.tar.bz2 +Source2: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/%{name}-%{version}.tar.bz2.sig Source3: %{name}.keyring Source4: baselibs.conf #PATCH-FIX-OPENSUSE tchvatal@suse.cz upstream thinks it is good idea to use rpath, taken from RH @@ -34,12 +33,9 @@ Patch1: pcre2-10.10-multilib.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ -BuildRequires: libbz2-devel -BuildRequires: libedit-devel BuildRequires: libtool -BuildRequires: pkgconfig -BuildRequires: pkgconfig(zlib) -%{?suse_build_hwcaps_libs} +BuildRequires: pkg-config +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The PCRE2 library is a set of functions that implement regular @@ -55,7 +51,7 @@ Group: Development/Libraries/C and C++ Requires: libpcre2-16-0 = %{version} Requires: libpcre2-32-0 = %{version} Requires: libpcre2-8-0 = %{version} -Requires: libpcre2-posix3 = %{version} +Requires: libpcre2-posix0 = %{version} Requires: libstdc++-devel %description devel @@ -124,11 +120,11 @@ API. libpcre2-32 supports 32-bit and UTF-32 strings. -%package -n libpcre2-posix3 +%package -n libpcre2-posix0 Summary: A library for Perl-compatible regular expressions Group: System/Libraries -%description -n libpcre2-posix3 +%description -n libpcre2-posix0 The PCRE2 library is a set of functions that implement regular expression pattern matching using the same syntax and semantics as Perl 5. @@ -141,7 +137,9 @@ pcre2-posix provides a POSIX-compatible API to the PCRE2 engine. %package doc Summary: A library for Perl-compatible regular expressions Group: Documentation/HTML +%if 0%{?suse_version} >= 1120 BuildArch: noarch +%endif %description doc The PCRE2 library is a set of functions that implement regular @@ -165,15 +163,15 @@ PCRE2 is a re-working of the original PCRE library to provide an entirely new API. %prep -%autosetup -p1 +%setup -q +%patch1 -p1 %build -%define _lto_cflags %{nil} # Available JIT archs see sljit/sljitConfig.h autoreconf -fiv export LDFLAGS="-Wl,-z,relro,-z,now" %configure \ -%ifarch %{ix86} x86_64 aarch64 %{arm} ppc ppc64 ppc64le mips sparc s390x +%ifarch %ix86 x86_64 %arm ppc ppc64 ppc64le mips sparc --enable-jit \ %endif --enable-static \ @@ -182,24 +180,11 @@ export LDFLAGS="-Wl,-z,relro,-z,now" --enable-newline-is-lf \ --enable-pcre2-16 \ --enable-pcre2-32 \ - --enable-pcre2grep-libz \ - --enable-pcre2grep-libbz2 \ - --enable-pcre2test-libedit \ --enable-unicode - -%if 0%{?do_profiling} - %make_build CFLAGS="%{optflags} %{cflags_profile_generate}" - export LANG=POSIX - # do not run profiling in parallel for reproducible builds (boo#1040589 boo#1102408) - %make_build -j1 CFLAGS="%{optflags} %{cflags_profile_generate}" check - %make_build clean - %make_build CFLAGS="%{optflags} %{cflags_profile_feedback}" -%else - %make_build CFLAGS="%{optflags}" -%endif +make %{?_smp_mflags} V=1 %install -%make_install +make DESTDIR=%{buildroot} install %{?_smp_mflags} mkdir -p %{buildroot}/%{_defaultdocdir} mv %{buildroot}%{_datadir}/doc/pcre2 %{buildroot}/%{_defaultdocdir}/pcre2-doc #empty dependecy_libs @@ -207,45 +192,54 @@ find %{buildroot} -type f -name "*.la" -delete -print %check export LANG=POSIX -%make_build check -j1 +make check -j1 -%ldconfig_scriptlets -n libpcre2-8-0 -%ldconfig_scriptlets -n libpcre2-16-0 -%ldconfig_scriptlets -n libpcre2-32-0 -%ldconfig_scriptlets -n libpcre2-posix3 +%post -n libpcre2-8-0 -p /sbin/ldconfig + +%postun -n libpcre2-8-0 -p /sbin/ldconfig + +%post -n libpcre2-16-0 -p /sbin/ldconfig + +%postun -n libpcre2-16-0 -p /sbin/ldconfig + +%post -n libpcre2-32-0 -p /sbin/ldconfig + +%postun -n libpcre2-32-0 -p /sbin/ldconfig + +%post -n libpcre2-posix0 -p /sbin/ldconfig + +%postun -n libpcre2-posix0 -p /sbin/ldconfig %files -n libpcre2-8-0 -%license COPYING LICENCE -%doc AUTHORS ChangeLog NEWS README +%defattr(-,root,root) +%doc AUTHORS COPYING ChangeLog LICENCE NEWS README %{_libdir}/libpcre2-8.so.* %files -n libpcre2-16-0 -%license LICENCE +%defattr(-,root,root) %{_libdir}/libpcre2-16.so.* %files -n libpcre2-32-0 -%license LICENCE +%defattr(-,root,root) %{_libdir}/libpcre2-32.so.* -%files -n libpcre2-posix3 -%license LICENCE +%files -n libpcre2-posix0 +%defattr(-,root,root) %{_libdir}/libpcre2-posix.so.* %files tools -%license LICENCE +%defattr(-,root,root) %{_bindir}/pcre2grep %{_bindir}/pcre2test -%{_mandir}/man1/pcre2grep.1%{?ext_man} -%{_mandir}/man1/pcre2test.1%{?ext_man} +%{_mandir}/man1/pcre2grep.* +%{_mandir}/man1/pcre2test.* %files doc -%license COPYING LICENCE -%doc AUTHORS ChangeLog NEWS README +%defattr(-,root,root) %doc doc/html doc/*.txt -%doc %{_defaultdocdir}/pcre2-doc %files devel -%license LICENCE +%defattr(-,root,root) %{_bindir}/pcre2-config %{_includedir}/* %{_libdir}/*.so @@ -253,11 +247,11 @@ export LANG=POSIX %{_libdir}/pkgconfig/libpcre2-16.pc %{_libdir}/pkgconfig/libpcre2-32.pc %{_libdir}/pkgconfig/libpcre2-posix.pc -%{_mandir}/man1/pcre2-config.1%{?ext_man} -%{_mandir}/man3/*%{ext_man} +%{_mandir}/man1/pcre2-config.* +%{_mandir}/man3/*.gz %files devel-static -%license LICENCE +%defattr(-,root,root) %{_libdir}/*.a %changelog From 814a971bffe6ece270ff4092d148e7e11ea85b954d33d5f27eb0b1676dad4e31 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sat, 1 Aug 2015 09:34:04 +0000 Subject: [PATCH 02/32] Accepting request 316599 from devel:libraries:c_c++ 1 OBS-URL: https://build.opensuse.org/request/show/316599 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcre2?expand=0&rev=2 --- pcre2-10.10.tar.bz2 | 3 --- pcre2-10.10.tar.bz2.sig | Bin 287 -> 0 bytes pcre2-10.20.tar.bz2 | 3 +++ pcre2-10.20.tar.bz2.sig | Bin 0 -> 287 bytes pcre2.changes | 16 ++++++++++++++++ pcre2.spec | 2 +- 6 files changed, 20 insertions(+), 4 deletions(-) delete mode 100644 pcre2-10.10.tar.bz2 delete mode 100644 pcre2-10.10.tar.bz2.sig create mode 100644 pcre2-10.20.tar.bz2 create mode 100644 pcre2-10.20.tar.bz2.sig diff --git a/pcre2-10.10.tar.bz2 b/pcre2-10.10.tar.bz2 deleted file mode 100644 index b14d744..0000000 --- a/pcre2-10.10.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5f45e5550a8c055a8a02b20c50060b16e71bec8440e5c86013c6b272c242ff42 -size 1339199 diff --git a/pcre2-10.10.tar.bz2.sig b/pcre2-10.10.tar.bz2.sig deleted file mode 100644 index 35b96590f34012032de8f259ec5ce917d993cff7c05fff4596b2bfdb9baff776..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 287 zcmV+)0pR|L0UQJX0SEvF1p-w0!#4m52@scN;Dq}RL)g6~2me99hQwBvM_T-2bjyVg zz^fNun&36P9g1l?KF&kzZ#1i{>m9tzmAqN!BF~=PwRw8RPSj~_?Vc7{jSBrjgfeYf z))^;?lenG^9vFT#Bw43uF*FIQ`ho!>{|u>(nAQPe2VV&c9G5IXjPE5^BhX{}ND$E< z;JDI~u!-+l#3hQ3fK~z)`0(X7_FXSN{!4{MFCnfKKLlr>ZL?w1h@m7N&UN6Mbne=7 z?M~e4bK@xO5Lt2^sZla!Hm;vIsjjk~XJI9E9Rl(`iT~*_4RCt@7%m6mml-MHK6Qv2 l&`>d%BkdoJ@L`Jr?E(oV>Ml8eS3WIm7R`{nZ5Y!;^b<}+fYbm0 diff --git a/pcre2-10.20.tar.bz2 b/pcre2-10.20.tar.bz2 new file mode 100644 index 0000000..65253a1 --- /dev/null +++ b/pcre2-10.20.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:332e287101c9e9567d1ed55391b338b32f1f72c5b5ee7cc81ef2274a53ad487a +size 1358380 diff --git a/pcre2-10.20.tar.bz2.sig b/pcre2-10.20.tar.bz2.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..19256e4e9b0c8c29d0ab79322effd958775032651288899bfabb00048ebccc87 GIT binary patch literal 287 zcmV+)0pR|L0UQJX0SEvF1p-x-IZgly2@scN;Dq}RL)iAg2mqyU;@YdB-Wi$?i(bZ! zpDRU7jr$)-#;&kW#P4d3VX>1<$BxsFwi5=iiq{thuENYUg%JP% literal 0 HcmV?d00001 diff --git a/pcre2.changes b/pcre2.changes index 84fa2b2..a4f2132 100644 --- a/pcre2.changes +++ b/pcre2.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Tue Jul 14 08:42:04 UTC 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 20:51:45 UTC 2015 - astieger@suse.com diff --git a/pcre2.spec b/pcre2.spec index b7eb114..e0e16e8 100644 --- a/pcre2.spec +++ b/pcre2.spec @@ -17,7 +17,7 @@ Name: pcre2 -Version: 10.10 +Version: 10.20 Release: 0 Summary: A library for Perl-compatible regular expressions License: BSD-3-Clause From 86a97fdbae1198ee24366293b2dede0f75b089ba4a1b321463f7313c2d51ee62 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 20 Jan 2016 08:54:36 +0000 Subject: [PATCH 03/32] Accepting request 354390 from devel:libraries:c_c++ 1 OBS-URL: https://build.opensuse.org/request/show/354390 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcre2?expand=0&rev=3 --- pcre2-10.20.tar.bz2 | 3 --- pcre2-10.20.tar.bz2.sig | Bin 287 -> 0 bytes pcre2-10.21.tar.bz2 | 3 +++ pcre2-10.21.tar.bz2.sig | Bin 0 -> 287 bytes pcre2.changes | 36 ++++++++++++++++++++++++++++++++++++ pcre2.spec | 4 ++-- 6 files changed, 41 insertions(+), 5 deletions(-) delete mode 100644 pcre2-10.20.tar.bz2 delete mode 100644 pcre2-10.20.tar.bz2.sig create mode 100644 pcre2-10.21.tar.bz2 create mode 100644 pcre2-10.21.tar.bz2.sig diff --git a/pcre2-10.20.tar.bz2 b/pcre2-10.20.tar.bz2 deleted file mode 100644 index 65253a1..0000000 --- a/pcre2-10.20.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:332e287101c9e9567d1ed55391b338b32f1f72c5b5ee7cc81ef2274a53ad487a -size 1358380 diff --git a/pcre2-10.20.tar.bz2.sig b/pcre2-10.20.tar.bz2.sig deleted file mode 100644 index 19256e4e9b0c8c29d0ab79322effd958775032651288899bfabb00048ebccc87..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 287 zcmV+)0pR|L0UQJX0SEvF1p-x-IZgly2@scN;Dq}RL)iAg2mqyU;@YdB-Wi$?i(bZ! zpDRU7jr$)-#;&kW#P4d3VX>1<$BxsFwi5=iiq{thuENYUg%JP% diff --git a/pcre2-10.21.tar.bz2 b/pcre2-10.21.tar.bz2 new file mode 100644 index 0000000..22339ef --- /dev/null +++ b/pcre2-10.21.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c66a17509328a7251782691093e75ede7484a203ebc6bed3c08122b092ccd4e0 +size 1455359 diff --git a/pcre2-10.21.tar.bz2.sig b/pcre2-10.21.tar.bz2.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..743adeffa9cf9cf0b800a98c4f55c7a5622c6c4007ef1d8a9ce0dce74e4c376f GIT binary patch literal 287 zcmV+)0pR|L0UQJX0SEvF1p-!;5dQ!Q2@scN;Dq}RL)gM=2mpZbqMMpP?;l%pM9KwP zgPcp9p{&a8Bo)LAw?gl12m8pZo!;Z(Yxc^G;3xP<(u- z&x3#JX$ie|et4Xp$pl0o9{dS{luI9$Jc;`=pftbrA^S$7>_dhf-J$^g%tJ}sS7Xn) z41K-b$Bz8pBuW`HhXFx(Y>nRydZGlbmW?3LRy8j$><R@g;!Po ln-3:]] 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 08:42:04 UTC 2015 - astieger@suse.com diff --git a/pcre2.spec b/pcre2.spec index e0e16e8..6208615 100644 --- a/pcre2.spec +++ b/pcre2.spec @@ -1,7 +1,7 @@ # # spec file for package pcre2 # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: pcre2 -Version: 10.20 +Version: 10.21 Release: 0 Summary: A library for Perl-compatible regular expressions License: BSD-3-Clause From 9c5071edb1b83c705d3e28887f20c038041059d106f9087b061a318af5b7cd7c Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 5 Aug 2016 16:16:45 +0000 Subject: [PATCH 04/32] Accepting request 416447 from devel:libraries:c_c++ pcre2 10.22 CVE-2016-3191 boo#971741 OBS-URL: https://build.opensuse.org/request/show/416447 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcre2?expand=0&rev=4 --- baselibs.conf | 2 +- pcre2-10.21.tar.bz2 | 3 --- pcre2-10.21.tar.bz2.sig | Bin 287 -> 0 bytes pcre2-10.22.tar.bz2 | 3 +++ pcre2-10.22.tar.bz2.sig | Bin 0 -> 287 bytes pcre2.changes | 17 +++++++++++++++++ pcre2.spec | 14 +++++++------- 7 files changed, 28 insertions(+), 11 deletions(-) delete mode 100644 pcre2-10.21.tar.bz2 delete mode 100644 pcre2-10.21.tar.bz2.sig create mode 100644 pcre2-10.22.tar.bz2 create mode 100644 pcre2-10.22.tar.bz2.sig diff --git a/baselibs.conf b/baselibs.conf index f52c1b4..11d131e 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,4 +1,4 @@ libpcre2-8-0 libpcre2-16-0 libpcre2-32-0 -libpcre2-posix0 +libpcre2-posix1 diff --git a/pcre2-10.21.tar.bz2 b/pcre2-10.21.tar.bz2 deleted file mode 100644 index 22339ef..0000000 --- a/pcre2-10.21.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c66a17509328a7251782691093e75ede7484a203ebc6bed3c08122b092ccd4e0 -size 1455359 diff --git a/pcre2-10.21.tar.bz2.sig b/pcre2-10.21.tar.bz2.sig deleted file mode 100644 index 743adeffa9cf9cf0b800a98c4f55c7a5622c6c4007ef1d8a9ce0dce74e4c376f..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 287 zcmV+)0pR|L0UQJX0SEvF1p-!;5dQ!Q2@scN;Dq}RL)gM=2mpZbqMMpP?;l%pM9KwP zgPcp9p{&a8Bo)LAw?gl12m8pZo!;Z(Yxc^G;3xP<(u- z&x3#JX$ie|et4Xp$pl0o9{dS{luI9$Jc;`=pftbrA^S$7>_dhf-J$^g%tJ}sS7Xn) z41K-b$Bz8pBuW`HhXFx(Y>nRydZGlbmW?3LRy8j$><R@g;!Po ln-3B2@scN;Dq}RL)e4d2mUeqZB1O6Ck1bVl;ufzxUl0Fo-wZIbq_zop#r7R-zf+!X4$$7XXmneL& zpma!^90(1klJtm1d}iYu^BL7@JgT7{=^GN@Wb}f{TjO*5t4s5qJe@)XC6IEVZl)(zbR4Zh=6T=ok;TBW&*zO=iVDn;?)S&rkRCICgMl#6O3SWCA l`kb@(42A5R+C_3;n}7}+)E!Mj1XOLhZrheE4mV8Ny2U^2g4+N9 literal 0 HcmV?d00001 diff --git a/pcre2.changes b/pcre2.changes index 20742f2..2261aba 100644 --- a/pcre2.changes +++ b/pcre2.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Mon Aug 1 15:24:18 UTC 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 14:30:53 UTC 2016 - jengelh@inai.de diff --git a/pcre2.spec b/pcre2.spec index 6208615..97a7241 100644 --- a/pcre2.spec +++ b/pcre2.spec @@ -17,7 +17,7 @@ Name: pcre2 -Version: 10.21 +Version: 10.22 Release: 0 Summary: A library for Perl-compatible regular expressions License: BSD-3-Clause @@ -51,7 +51,7 @@ Group: Development/Libraries/C and C++ Requires: libpcre2-16-0 = %{version} Requires: libpcre2-32-0 = %{version} Requires: libpcre2-8-0 = %{version} -Requires: libpcre2-posix0 = %{version} +Requires: libpcre2-posix1 = %{version} Requires: libstdc++-devel %description devel @@ -120,11 +120,11 @@ API. libpcre2-32 supports 32-bit and UTF-32 strings. -%package -n libpcre2-posix0 +%package -n libpcre2-posix1 Summary: A library for Perl-compatible regular expressions Group: System/Libraries -%description -n libpcre2-posix0 +%description -n libpcre2-posix1 The PCRE2 library is a set of functions that implement regular expression pattern matching using the same syntax and semantics as Perl 5. @@ -206,9 +206,9 @@ make check -j1 %postun -n libpcre2-32-0 -p /sbin/ldconfig -%post -n libpcre2-posix0 -p /sbin/ldconfig +%post -n libpcre2-posix1 -p /sbin/ldconfig -%postun -n libpcre2-posix0 -p /sbin/ldconfig +%postun -n libpcre2-posix1 -p /sbin/ldconfig %files -n libpcre2-8-0 %defattr(-,root,root) @@ -223,7 +223,7 @@ make check -j1 %defattr(-,root,root) %{_libdir}/libpcre2-32.so.* -%files -n libpcre2-posix0 +%files -n libpcre2-posix1 %defattr(-,root,root) %{_libdir}/libpcre2-posix.so.* From 424d9d5b7fadf79c4872568d74a5f06ca4bc07a0a2f7f7b53bcbfc6577ba24f2 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 20 Feb 2017 12:13:30 +0000 Subject: [PATCH 05/32] Accepting request 458576 from devel:libraries:c_c++ 1 OBS-URL: https://build.opensuse.org/request/show/458576 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcre2?expand=0&rev=5 --- pcre2-10.22.tar.bz2 | 3 --- pcre2-10.22.tar.bz2.sig | Bin 287 -> 0 bytes pcre2-10.23.tar.bz2 | 3 +++ pcre2-10.23.tar.bz2.sig | Bin 0 -> 310 bytes pcre2.changes | 25 +++++++++++++++++++++++++ pcre2.spec | 5 +++-- 6 files changed, 31 insertions(+), 5 deletions(-) delete mode 100644 pcre2-10.22.tar.bz2 delete mode 100644 pcre2-10.22.tar.bz2.sig create mode 100644 pcre2-10.23.tar.bz2 create mode 100644 pcre2-10.23.tar.bz2.sig diff --git a/pcre2-10.22.tar.bz2 b/pcre2-10.22.tar.bz2 deleted file mode 100644 index 6a63b79..0000000 --- a/pcre2-10.22.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b2b44619f4ac6c50ad74c2865fd56807571392496fae1c9ad7a70993d018f416 -size 1470620 diff --git a/pcre2-10.22.tar.bz2.sig b/pcre2-10.22.tar.bz2.sig deleted file mode 100644 index 4ad9b362e03e0beede2cfd4f9a284b8086fc6fc9b3ba8dd733a8365917942410..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 287 zcmV+)0pR|L0UQJX0SEvF1p-%_7U}>B2@scN;Dq}RL)e4d2mUeqZB1O6Ck1bVl;ufzxUl0Fo-wZIbq_zop#r7R-zf+!X4$$7XXmneL& zpma!^90(1klJtm1d}iYu^BL7@JgT7{=^GN@Wb}f{TjO*5t4s5qJe@)XC6IEVZl)(zbR4Zh=6T=ok;TBW&*zO=iVDn;?)S&rkRCICgMl#6O3SWCA l`kb@(42A5R+C_3;n}7}+)E!Mj1XOLhZrheE4mV8Ny2U^2g4+N9 diff --git a/pcre2-10.23.tar.bz2 b/pcre2-10.23.tar.bz2 new file mode 100644 index 0000000..2b8a3ac --- /dev/null +++ b/pcre2-10.23.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dfc79b918771f02d33968bd34a749ad7487fa1014aeb787fad29dd392b78c56e +size 1515314 diff --git a/pcre2-10.23.tar.bz2.sig b/pcre2-10.23.tar.bz2.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..00208e674dbecca4f0687a0cccfd8f3f30367ec49f7422b9f70bb52b1fe641a1 GIT binary patch literal 310 zcmV-60m=S}0W$;u0SEvc79j*h_Kj4#;y<$kn?~iAX5fVT4@1}m0$8Hn9smjn5SM1) zg!>Oe*oN8%|3yyx)E$S*1*NNTB*UO?%LovYg_9+!JJ$fgs?c{#Wt7ULmQIM<`T;J9 z^;e0hVh4k7k$#`9;pH82mosxS9qR7YNR z1DwtAJoE~L3%H=ZqW+#X=*Rm*Px(czwf(|JM-my!jeOlQmDE@>^6B_bzDL@M${RU& zta3;aJP@E!enpFq(~h~<7p?rFY&LGi;}aDzElSyWSVmM2zD+c@4SDj6taKn-v I+WR=LG=e^tdH?_b literal 0 HcmV?d00001 diff --git a/pcre2.changes b/pcre2.changes index 2261aba..6616f22 100644 --- a/pcre2.changes +++ b/pcre2.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Thu Feb 16 21:25:42 UTC 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{+} (e.g. \g{+2} ) is now supported. It is a "forward + back reference" and can be useful in repetitions + (compare \g{-} ). 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 7 16:19:22 UTC 2017 - dimstar@opensuse.org + +- Explicitly package %{_docdir}/%{name} to fix build with RPM 4.13. + ------------------------------------------------------------------- Mon Aug 1 15:24:18 UTC 2016 - astieger@suse.com diff --git a/pcre2.spec b/pcre2.spec index 97a7241..0818c7d 100644 --- a/pcre2.spec +++ b/pcre2.spec @@ -1,7 +1,7 @@ # # spec file for package pcre2 # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: pcre2 -Version: 10.22 +Version: 10.23 Release: 0 Summary: A library for Perl-compatible regular expressions License: BSD-3-Clause @@ -237,6 +237,7 @@ make check -j1 %files doc %defattr(-,root,root) %doc doc/html doc/*.txt +%doc %{_defaultdocdir}/pcre2-doc %files devel %defattr(-,root,root) From 6a0a8d763ca75c736654456ceef49a579dbaca1fccf056d8ef0e09a8a0254440 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sat, 6 May 2017 16:24:46 +0000 Subject: [PATCH 06/32] Accepting request 492519 from devel:libraries:c_c++ - pcre2grep can now read .gz and .bz2 files directly - pcre2test is now built to support line editing OBS-URL: https://build.opensuse.org/request/show/492519 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcre2?expand=0&rev=6 --- pcre2.changes | 6 ++++++ pcre2.spec | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/pcre2.changes b/pcre2.changes index 6616f22..a0ce0cb 100644 --- a/pcre2.changes +++ b/pcre2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue May 2 17:28:30 UTC 2017 - astieger@suse.com + +- pcre2grep can now read .gz and .bz2 files directly +- pcre2test is now built to support line editing + ------------------------------------------------------------------- Thu Feb 16 21:25:42 UTC 2017 - astieger@suse.com diff --git a/pcre2.spec b/pcre2.spec index 0818c7d..0dc0d37 100644 --- a/pcre2.spec +++ b/pcre2.spec @@ -33,8 +33,11 @@ Patch1: pcre2-10.10-multilib.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ +BuildRequires: libbz2-devel +BuildRequires: libedit-devel BuildRequires: libtool BuildRequires: pkg-config +BuildRequires: zlib-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -180,6 +183,9 @@ export LDFLAGS="-Wl,-z,relro,-z,now" --enable-newline-is-lf \ --enable-pcre2-16 \ --enable-pcre2-32 \ + --enable-pcre2grep-libz \ + --enable-pcre2grep-libbz2 \ + --enable-pcre2test-libedit \ --enable-unicode make %{?_smp_mflags} V=1 From 7fa4cd4734964d82be348566758da6bd6a6998fb5edc94727629bcd8d05e57b4 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 23 Aug 2017 09:52:54 +0000 Subject: [PATCH 07/32] Accepting request 516557 from devel:libraries:c_c++ Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/516557 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcre2?expand=0&rev=7 --- pcre2.changes | 5 +++++ pcre2.spec | 22 +++++++++++++--------- 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/pcre2.changes b/pcre2.changes index a0ce0cb..dbd124b 100644 --- a/pcre2.changes +++ b/pcre2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Aug 5 17:34:26 UTC 2017 - astieger@suse.com + +- fix SLE 11 build + ------------------------------------------------------------------- Tue May 2 17:28:30 UTC 2017 - astieger@suse.com diff --git a/pcre2.spec b/pcre2.spec index 0dc0d37..727696c 100644 --- a/pcre2.spec +++ b/pcre2.spec @@ -16,6 +16,7 @@ # +%define with_libedit 0%{?suse_version} > 1110 Name: pcre2 Version: 10.23 Release: 0 @@ -34,10 +35,12 @@ BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ BuildRequires: libbz2-devel -BuildRequires: libedit-devel BuildRequires: libtool -BuildRequires: pkg-config +BuildRequires: pkgconfig BuildRequires: zlib-devel +%if %{with_libedit} +BuildRequires: libedit-devel +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -185,7 +188,9 @@ export LDFLAGS="-Wl,-z,relro,-z,now" --enable-pcre2-32 \ --enable-pcre2grep-libz \ --enable-pcre2grep-libbz2 \ +%if %{with_libedit} --enable-pcre2test-libedit \ +%endif --enable-unicode make %{?_smp_mflags} V=1 @@ -201,19 +206,12 @@ export LANG=POSIX make check -j1 %post -n libpcre2-8-0 -p /sbin/ldconfig - %postun -n libpcre2-8-0 -p /sbin/ldconfig - %post -n libpcre2-16-0 -p /sbin/ldconfig - %postun -n libpcre2-16-0 -p /sbin/ldconfig - %post -n libpcre2-32-0 -p /sbin/ldconfig - %postun -n libpcre2-32-0 -p /sbin/ldconfig - %post -n libpcre2-posix1 -p /sbin/ldconfig - %postun -n libpcre2-posix1 -p /sbin/ldconfig %files -n libpcre2-8-0 @@ -223,18 +221,22 @@ make check -j1 %files -n libpcre2-16-0 %defattr(-,root,root) +%doc LICENCE %{_libdir}/libpcre2-16.so.* %files -n libpcre2-32-0 %defattr(-,root,root) +%doc LICENCE %{_libdir}/libpcre2-32.so.* %files -n libpcre2-posix1 %defattr(-,root,root) +%doc LICENCE %{_libdir}/libpcre2-posix.so.* %files tools %defattr(-,root,root) +%doc LICENCE %{_bindir}/pcre2grep %{_bindir}/pcre2test %{_mandir}/man1/pcre2grep.* @@ -242,11 +244,13 @@ make check -j1 %files doc %defattr(-,root,root) +%doc AUTHORS COPYING ChangeLog LICENCE NEWS README %doc doc/html doc/*.txt %doc %{_defaultdocdir}/pcre2-doc %files devel %defattr(-,root,root) +%doc LICENCE %{_bindir}/pcre2-config %{_includedir}/* %{_libdir}/*.so From 36da1ae9c9d0ff754ecce5703222e1626ea137940af849d1d80938320a697bcd Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 13 Sep 2017 19:34:24 +0000 Subject: [PATCH 08/32] Accepting request 523391 from devel:libraries:c_c++ pcre2 10.30: + 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) OBS-URL: https://build.opensuse.org/request/show/523391 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcre2?expand=0&rev=8 --- baselibs.conf | 2 +- pcre2-10.23.tar.bz2 | 3 --- pcre2-10.23.tar.bz2.sig | Bin 310 -> 0 bytes pcre2-10.30.tar.bz2 | 3 +++ pcre2-10.30.tar.bz2.sig | Bin 0 -> 310 bytes pcre2.changes | 36 ++++++++++++++++++++++++++++++++++++ pcre2.spec | 18 +++++++++--------- 7 files changed, 49 insertions(+), 13 deletions(-) delete mode 100644 pcre2-10.23.tar.bz2 delete mode 100644 pcre2-10.23.tar.bz2.sig create mode 100644 pcre2-10.30.tar.bz2 create mode 100644 pcre2-10.30.tar.bz2.sig diff --git a/baselibs.conf b/baselibs.conf index 11d131e..d038d79 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,4 +1,4 @@ libpcre2-8-0 libpcre2-16-0 libpcre2-32-0 -libpcre2-posix1 +libpcre2-posix2 diff --git a/pcre2-10.23.tar.bz2 b/pcre2-10.23.tar.bz2 deleted file mode 100644 index 2b8a3ac..0000000 --- a/pcre2-10.23.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dfc79b918771f02d33968bd34a749ad7487fa1014aeb787fad29dd392b78c56e -size 1515314 diff --git a/pcre2-10.23.tar.bz2.sig b/pcre2-10.23.tar.bz2.sig deleted file mode 100644 index 00208e674dbecca4f0687a0cccfd8f3f30367ec49f7422b9f70bb52b1fe641a1..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 310 zcmV-60m=S}0W$;u0SEvc79j*h_Kj4#;y<$kn?~iAX5fVT4@1}m0$8Hn9smjn5SM1) zg!>Oe*oN8%|3yyx)E$S*1*NNTB*UO?%LovYg_9+!JJ$fgs?c{#Wt7ULmQIM<`T;J9 z^;e0hVh4k7k$#`9;pH82mosxS9qR7YNR z1DwtAJoE~L3%H=ZqW+#X=*Rm*Px(czwf(|JM-my!jeOlQmDE@>^6B_bzDL@M${RU& zta3;aJP@E!enpFq(~h~<7p?rFY&LGi;}aDzElSyWSVmM2zD+c@4SDj6taKn-v I+WR=LG=e^tdH?_b diff --git a/pcre2-10.30.tar.bz2 b/pcre2-10.30.tar.bz2 new file mode 100644 index 0000000..e341070 --- /dev/null +++ b/pcre2-10.30.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:90bd41c605d30e3745771eb81928d779f158081a51b2f314bbcc1f73de5773db +size 1583543 diff --git a/pcre2-10.30.tar.bz2.sig b/pcre2-10.30.tar.bz2.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..5cb3206f1342d616106f8499b07457c91fa36d8d084b38cb853e5cef43c5db31 GIT binary patch literal 310 zcmV-60m=S}0W$;u0SEvc79j*h_Kj4#;y<$kn?~iAX5fVT4@1}m0$GyNh5!l)5SM1) zg!>Oe*k|Vm0Gb+9(aBr+o^I{x)_VeImU`Vp{nrpBC^VFf1l@GBq0OEDs>A0%FuN2K zO1f3KV%-!xUSMIVKbDLg6$0X46T!WwAI7nZ{zI!eaTILacTj77SmvyNb+)zSgB;>P zqL-IzS1fPaG-w#GPo#g$Ynzt-o+(j-93TZYTB(J$f!C@V#$w+Y2WbE|^9(MrPB3qj z61>f5;L4oKETdU~m7y&Gy(X~yuCFIF9bE}iwAp3bLv19#193q#L?OUyC2P%Jv1n-K zL9P1}fUv+J+qeH4Jb6o( IeBdKM9GugV%K!iX literal 0 HcmV?d00001 diff --git a/pcre2.changes b/pcre2.changes index dbd124b..3689b6b 100644 --- a/pcre2.changes +++ b/pcre2.changes @@ -1,3 +1,39 @@ +------------------------------------------------------------------- +Mon Sep 11 18:14:30 UTC 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 5 17:34:26 UTC 2017 - astieger@suse.com diff --git a/pcre2.spec b/pcre2.spec index 727696c..6b6bf29 100644 --- a/pcre2.spec +++ b/pcre2.spec @@ -18,15 +18,15 @@ %define with_libedit 0%{?suse_version} > 1110 Name: pcre2 -Version: 10.23 +Version: 10.30 Release: 0 Summary: A library for Perl-compatible regular expressions License: BSD-3-Clause Group: Development/Libraries/C and C++ Url: http://www.pcre.org/ #SVN-Clone: svn://vcs.exim.org/pcre/code/trunk -Source: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/%{name}-%{version}.tar.bz2 -Source2: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/%{name}-%{version}.tar.bz2.sig +Source: https://ftp.pcre.org/pub/pcre/%{name}-%{version}.tar.bz2 +Source2: https://ftp.pcre.org/pub/pcre/%{name}-%{version}.tar.bz2.sig Source3: %{name}.keyring Source4: baselibs.conf #PATCH-FIX-OPENSUSE tchvatal@suse.cz upstream thinks it is good idea to use rpath, taken from RH @@ -57,7 +57,7 @@ Group: Development/Libraries/C and C++ Requires: libpcre2-16-0 = %{version} Requires: libpcre2-32-0 = %{version} Requires: libpcre2-8-0 = %{version} -Requires: libpcre2-posix1 = %{version} +Requires: libpcre2-posix2 = %{version} Requires: libstdc++-devel %description devel @@ -126,11 +126,11 @@ API. libpcre2-32 supports 32-bit and UTF-32 strings. -%package -n libpcre2-posix1 +%package -n libpcre2-posix2 Summary: A library for Perl-compatible regular expressions Group: System/Libraries -%description -n libpcre2-posix1 +%description -n libpcre2-posix2 The PCRE2 library is a set of functions that implement regular expression pattern matching using the same syntax and semantics as Perl 5. @@ -211,8 +211,8 @@ make check -j1 %postun -n libpcre2-16-0 -p /sbin/ldconfig %post -n libpcre2-32-0 -p /sbin/ldconfig %postun -n libpcre2-32-0 -p /sbin/ldconfig -%post -n libpcre2-posix1 -p /sbin/ldconfig -%postun -n libpcre2-posix1 -p /sbin/ldconfig +%post -n libpcre2-posix2 -p /sbin/ldconfig +%postun -n libpcre2-posix2 -p /sbin/ldconfig %files -n libpcre2-8-0 %defattr(-,root,root) @@ -229,7 +229,7 @@ make check -j1 %doc LICENCE %{_libdir}/libpcre2-32.so.* -%files -n libpcre2-posix1 +%files -n libpcre2-posix2 %defattr(-,root,root) %doc LICENCE %{_libdir}/libpcre2-posix.so.* From 24848ced87c4f503d5892712de65a02bef3b4f91aab4324dae8e1dc20212dd4a Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 19 Feb 2018 11:54:11 +0000 Subject: [PATCH 09/32] Accepting request 577721 from devel:libraries:c_c++ OBS-URL: https://build.opensuse.org/request/show/577721 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcre2?expand=0&rev=9 --- pcre2-10.30.tar.bz2 | 3 --- pcre2-10.30.tar.bz2.sig | Bin 310 -> 0 bytes pcre2-10.31.tar.bz2 | 3 +++ pcre2-10.31.tar.bz2.sig | Bin 0 -> 310 bytes pcre2.changes | 14 ++++++++++++++ pcre2.spec | 25 ++++++++----------------- 6 files changed, 25 insertions(+), 20 deletions(-) delete mode 100644 pcre2-10.30.tar.bz2 delete mode 100644 pcre2-10.30.tar.bz2.sig create mode 100644 pcre2-10.31.tar.bz2 create mode 100644 pcre2-10.31.tar.bz2.sig diff --git a/pcre2-10.30.tar.bz2 b/pcre2-10.30.tar.bz2 deleted file mode 100644 index e341070..0000000 --- a/pcre2-10.30.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:90bd41c605d30e3745771eb81928d779f158081a51b2f314bbcc1f73de5773db -size 1583543 diff --git a/pcre2-10.30.tar.bz2.sig b/pcre2-10.30.tar.bz2.sig deleted file mode 100644 index 5cb3206f1342d616106f8499b07457c91fa36d8d084b38cb853e5cef43c5db31..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 310 zcmV-60m=S}0W$;u0SEvc79j*h_Kj4#;y<$kn?~iAX5fVT4@1}m0$GyNh5!l)5SM1) zg!>Oe*k|Vm0Gb+9(aBr+o^I{x)_VeImU`Vp{nrpBC^VFf1l@GBq0OEDs>A0%FuN2K zO1f3KV%-!xUSMIVKbDLg6$0X46T!WwAI7nZ{zI!eaTILacTj77SmvyNb+)zSgB;>P zqL-IzS1fPaG-w#GPo#g$Ynzt-o+(j-93TZYTB(J$f!C@V#$w+Y2WbE|^9(MrPB3qj z61>f5;L4oKETdU~m7y&Gy(X~yuCFIF9bE}iwAp3bLv19#193q#L?OUyC2P%Jv1n-K zL9P1}fUv+J+qeH4Jb6o( IeBdKM9GugV%K!iX diff --git a/pcre2-10.31.tar.bz2 b/pcre2-10.31.tar.bz2 new file mode 100644 index 0000000..e2e9860 --- /dev/null +++ b/pcre2-10.31.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e07d538704aa65e477b6a392b32ff9fc5edf75ab9a40ddfc876186c4ff4d68ac +size 1603075 diff --git a/pcre2-10.31.tar.bz2.sig b/pcre2-10.31.tar.bz2.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..986b60e2e744b694099f2ea9c0d5817cca462b71ce0618642796ceb8b1789ce8 GIT binary patch literal 310 zcmV-60m=S}0W$;u0SEvc79j*h_Kj4#;y<$kn?~iAX5fVT4@1}m0$PE4R{#nL5SM1) zg!>Oe*k*SJ{0S%#w1G4<*;j5I+XoqGmG`})c~y>_WG`^Fd~CH)Xr@>dkPq3T4}%!K z0e!&Pz*}x8VwQ~JaEDJw$1zEt{f6=qQTQ&?Dl{&zT14}+S50eYV+e)!ut0?A$ubvrcsSxRTd1s6jZRcy1s8;uXTJtGk3X;Gx}XB+@?$i$d$O^(Ns zl8v>qp|N~Gr9NhDR?Z8A&~2$o%PKLKkS4E&sM^Oo8Y@hih`0yWM2R>h6Y7=UPWcj{ zUl|qt6Sd-~gYl)l3e}Xc{AO4LLNGYUl6KBL+bMgk5~`@`2F89&9K9i@yt_o+EK73P Ibc0MAsu9$RZU6uP literal 0 HcmV?d00001 diff --git a/pcre2.changes b/pcre2.changes index 3689b6b..e6ca58a 100644 --- a/pcre2.changes +++ b/pcre2.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Sun Feb 18 05:15:03 UTC 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 18:14:30 UTC 2017 - jengelh@inai.de diff --git a/pcre2.spec b/pcre2.spec index 6b6bf29..d2eb34d 100644 --- a/pcre2.spec +++ b/pcre2.spec @@ -1,7 +1,7 @@ # # spec file for package pcre2 # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,12 +18,12 @@ %define with_libedit 0%{?suse_version} > 1110 Name: pcre2 -Version: 10.30 +Version: 10.31 Release: 0 Summary: A library for Perl-compatible regular expressions License: BSD-3-Clause Group: Development/Libraries/C and C++ -Url: http://www.pcre.org/ +Url: https://www.pcre.org/ #SVN-Clone: svn://vcs.exim.org/pcre/code/trunk Source: https://ftp.pcre.org/pub/pcre/%{name}-%{version}.tar.bz2 Source2: https://ftp.pcre.org/pub/pcre/%{name}-%{version}.tar.bz2.sig @@ -41,7 +41,6 @@ BuildRequires: zlib-devel %if %{with_libedit} BuildRequires: libedit-devel %endif -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The PCRE2 library is a set of functions that implement regular @@ -195,7 +194,7 @@ export LDFLAGS="-Wl,-z,relro,-z,now" make %{?_smp_mflags} V=1 %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} +%make_install mkdir -p %{buildroot}/%{_defaultdocdir} mv %{buildroot}%{_datadir}/doc/pcre2 %{buildroot}/%{_defaultdocdir}/pcre2-doc #empty dependecy_libs @@ -215,41 +214,34 @@ make check -j1 %postun -n libpcre2-posix2 -p /sbin/ldconfig %files -n libpcre2-8-0 -%defattr(-,root,root) %doc AUTHORS COPYING ChangeLog LICENCE NEWS README %{_libdir}/libpcre2-8.so.* %files -n libpcre2-16-0 -%defattr(-,root,root) %doc LICENCE %{_libdir}/libpcre2-16.so.* %files -n libpcre2-32-0 -%defattr(-,root,root) %doc LICENCE %{_libdir}/libpcre2-32.so.* %files -n libpcre2-posix2 -%defattr(-,root,root) %doc LICENCE %{_libdir}/libpcre2-posix.so.* %files tools -%defattr(-,root,root) %doc LICENCE %{_bindir}/pcre2grep %{_bindir}/pcre2test -%{_mandir}/man1/pcre2grep.* -%{_mandir}/man1/pcre2test.* +%{_mandir}/man1/pcre2grep.1%{ext_man} +%{_mandir}/man1/pcre2test.1%{ext_man} %files doc -%defattr(-,root,root) %doc AUTHORS COPYING ChangeLog LICENCE NEWS README %doc doc/html doc/*.txt %doc %{_defaultdocdir}/pcre2-doc %files devel -%defattr(-,root,root) %doc LICENCE %{_bindir}/pcre2-config %{_includedir}/* @@ -258,11 +250,10 @@ make check -j1 %{_libdir}/pkgconfig/libpcre2-16.pc %{_libdir}/pkgconfig/libpcre2-32.pc %{_libdir}/pkgconfig/libpcre2-posix.pc -%{_mandir}/man1/pcre2-config.* -%{_mandir}/man3/*.gz +%{_mandir}/man1/pcre2-config.1%{ext_man} +%{_mandir}/man3/*%{ext_man} %files devel-static -%defattr(-,root,root) %{_libdir}/*.a %changelog From 18f6ffdae062f1046791a7e2e1b43949bd4806a78bcacaab07db91bf285a4a29 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 27 Jul 2018 08:52:48 +0000 Subject: [PATCH 10/32] Accepting request 624713 from devel:libraries:c_c++ OBS-URL: https://build.opensuse.org/request/show/624713 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcre2?expand=0&rev=10 --- pcre2.changes | 6 ++++++ pcre2.spec | 36 ++++++++++++++++++++---------------- 2 files changed, 26 insertions(+), 16 deletions(-) diff --git a/pcre2.changes b/pcre2.changes index e6ca58a..b1529a8 100644 --- a/pcre2.changes +++ b/pcre2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jul 20 14:05:01 UTC 2018 - mpluskal@suse.com + +- Drop conditions for old distributions +- Do profile guided build + ------------------------------------------------------------------- Sun Feb 18 05:15:03 UTC 2018 - avindra@opensuse.org diff --git a/pcre2.spec b/pcre2.spec index d2eb34d..bcb86fb 100644 --- a/pcre2.spec +++ b/pcre2.spec @@ -16,14 +16,13 @@ # -%define with_libedit 0%{?suse_version} > 1110 Name: pcre2 Version: 10.31 Release: 0 Summary: A library for Perl-compatible regular expressions License: BSD-3-Clause Group: Development/Libraries/C and C++ -Url: https://www.pcre.org/ +URL: https://www.pcre.org/ #SVN-Clone: svn://vcs.exim.org/pcre/code/trunk Source: https://ftp.pcre.org/pub/pcre/%{name}-%{version}.tar.bz2 Source2: https://ftp.pcre.org/pub/pcre/%{name}-%{version}.tar.bz2.sig @@ -35,12 +34,10 @@ BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ BuildRequires: libbz2-devel +BuildRequires: libedit-devel BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: zlib-devel -%if %{with_libedit} -BuildRequires: libedit-devel -%endif %description The PCRE2 library is a set of functions that implement regular @@ -142,9 +139,7 @@ pcre2-posix provides a POSIX-compatible API to the PCRE2 engine. %package doc Summary: A library for Perl-compatible regular expressions Group: Documentation/HTML -%if 0%{?suse_version} >= 1120 BuildArch: noarch -%endif %description doc The PCRE2 library is a set of functions that implement regular @@ -176,7 +171,7 @@ API. autoreconf -fiv export LDFLAGS="-Wl,-z,relro,-z,now" %configure \ -%ifarch %ix86 x86_64 %arm ppc ppc64 ppc64le mips sparc +%ifarch %{ix86} x86_64 %{arm} ppc ppc64 ppc64le mips sparc --enable-jit \ %endif --enable-static \ @@ -187,11 +182,18 @@ export LDFLAGS="-Wl,-z,relro,-z,now" --enable-pcre2-32 \ --enable-pcre2grep-libz \ --enable-pcre2grep-libbz2 \ -%if %{with_libedit} --enable-pcre2test-libedit \ -%endif --enable-unicode -make %{?_smp_mflags} V=1 + +%if 0%{?do_profiling} + make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" V=1 + export LANG=POSIX + make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" check + make %{?_smp_mflags} clean + make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}" V=1 +%else + make %{?_smp_mflags} CFLAGS="%{optflags}" +%endif %install %make_install @@ -214,7 +216,8 @@ make check -j1 %postun -n libpcre2-posix2 -p /sbin/ldconfig %files -n libpcre2-8-0 -%doc AUTHORS COPYING ChangeLog LICENCE NEWS README +%license COPYING +%doc AUTHORS ChangeLog LICENCE NEWS README %{_libdir}/libpcre2-8.so.* %files -n libpcre2-16-0 @@ -233,11 +236,12 @@ make check -j1 %doc LICENCE %{_bindir}/pcre2grep %{_bindir}/pcre2test -%{_mandir}/man1/pcre2grep.1%{ext_man} -%{_mandir}/man1/pcre2test.1%{ext_man} +%{_mandir}/man1/pcre2grep.1%{?ext_man} +%{_mandir}/man1/pcre2test.1%{?ext_man} %files doc -%doc AUTHORS COPYING ChangeLog LICENCE NEWS README +%license COPYING +%doc AUTHORS ChangeLog LICENCE NEWS README %doc doc/html doc/*.txt %doc %{_defaultdocdir}/pcre2-doc @@ -250,7 +254,7 @@ make check -j1 %{_libdir}/pkgconfig/libpcre2-16.pc %{_libdir}/pkgconfig/libpcre2-32.pc %{_libdir}/pkgconfig/libpcre2-posix.pc -%{_mandir}/man1/pcre2-config.1%{ext_man} +%{_mandir}/man1/pcre2-config.1%{?ext_man} %{_mandir}/man3/*%{ext_man} %files devel-static From 28a1994060db4ce21e45bd54326cd64950dc93288453cdbc521e5c66251564d3 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 6 Nov 2018 13:10:47 +0000 Subject: [PATCH 11/32] Accepting request 644493 from devel:libraries:c_c++ OBS-URL: https://build.opensuse.org/request/show/644493 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcre2?expand=0&rev=11 --- pcre2-10.31.tar.bz2 | 3 --- pcre2-10.31.tar.bz2.sig | Bin 310 -> 0 bytes pcre2-10.32.tar.bz2 | 3 +++ pcre2-10.32.tar.bz2.sig | Bin 0 -> 310 bytes pcre2.changes | 13 +++++++++++++ pcre2.spec | 2 +- 6 files changed, 17 insertions(+), 4 deletions(-) delete mode 100644 pcre2-10.31.tar.bz2 delete mode 100644 pcre2-10.31.tar.bz2.sig create mode 100644 pcre2-10.32.tar.bz2 create mode 100644 pcre2-10.32.tar.bz2.sig diff --git a/pcre2-10.31.tar.bz2 b/pcre2-10.31.tar.bz2 deleted file mode 100644 index e2e9860..0000000 --- a/pcre2-10.31.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e07d538704aa65e477b6a392b32ff9fc5edf75ab9a40ddfc876186c4ff4d68ac -size 1603075 diff --git a/pcre2-10.31.tar.bz2.sig b/pcre2-10.31.tar.bz2.sig deleted file mode 100644 index 986b60e2e744b694099f2ea9c0d5817cca462b71ce0618642796ceb8b1789ce8..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 310 zcmV-60m=S}0W$;u0SEvc79j*h_Kj4#;y<$kn?~iAX5fVT4@1}m0$PE4R{#nL5SM1) zg!>Oe*k*SJ{0S%#w1G4<*;j5I+XoqGmG`})c~y>_WG`^Fd~CH)Xr@>dkPq3T4}%!K z0e!&Pz*}x8VwQ~JaEDJw$1zEt{f6=qQTQ&?Dl{&zT14}+S50eYV+e)!ut0?A$ubvrcsSxRTd1s6jZRcy1s8;uXTJtGk3X;Gx}XB+@?$i$d$O^(Ns zl8v>qp|N~Gr9NhDR?Z8A&~2$o%PKLKkS4E&sM^Oo8Y@hih`0yWM2R>h6Y7=UPWcj{ zUl|qt6Sd-~gYl)l3e}Xc{AO4LLNGYUl6KBL+bMgk5~`@`2F89&9K9i@yt_o+EK73P Ibc0MAsu9$RZU6uP diff --git a/pcre2-10.32.tar.bz2 b/pcre2-10.32.tar.bz2 new file mode 100644 index 0000000..4b94a3f --- /dev/null +++ b/pcre2-10.32.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f29e89cc5de813f45786580101aaee3984a65818631d4ddbda7b32f699b87c2e +size 1641814 diff --git a/pcre2-10.32.tar.bz2.sig b/pcre2-10.32.tar.bz2.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..f052e2c15c614cf6c35659af9675c752885984a12d49425d1662d6f897ab588d GIT binary patch literal 310 zcmV-60m=S}0W$;u0SEvc79j*h_Kj4#;y<$kn?~iAX5fVT4@1}m0$Z2PUjPaT5SM1) zg!>Oe*w$_b{T9{qv+U~`97-4;B7F8E z+a-Tr${Io=zD^OV6huGqLTye|aQY4C&7Uda`~!lT^Fcz5A7Y@WfR`1&{1 za=?`i!B-QmQ-h}hxdpatFo=JNf~WD<3C*4@piebb_4W1!jHF?r`uMI*f Date: Wed, 19 Dec 2018 12:27:26 +0000 Subject: [PATCH 12/32] Accepting request 657228 from devel:libraries:c_c++ OBS-URL: https://build.opensuse.org/request/show/657228 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcre2?expand=0&rev=12 --- pcre2.changes | 7 +++++++ pcre2.spec | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/pcre2.changes b/pcre2.changes index da0f2fb..a7dbd6c 100644 --- a/pcre2.changes +++ b/pcre2.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Dec 11 14:31:55 UTC 2018 - Cristian Rodríguez + +- 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 07:22:21 UTC 2018 - astieger@suse.com diff --git a/pcre2.spec b/pcre2.spec index 21895e5..8f8dd15 100644 --- a/pcre2.spec +++ b/pcre2.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -173,6 +173,7 @@ export LDFLAGS="-Wl,-z,relro,-z,now" %configure \ %ifarch %{ix86} x86_64 %{arm} ppc ppc64 ppc64le mips sparc --enable-jit \ + --enable-jit-sealloc \ %endif --enable-static \ --with-link-size=2 \ From 03f9483153e7ec02065385d4dcc9a41246381d752781e7b31edaa8fbeb250267 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 25 Jan 2019 21:41:58 +0000 Subject: [PATCH 13/32] Accepting request 668163 from devel:libraries:c_c++ OBS-URL: https://build.opensuse.org/request/show/668163 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcre2?expand=0&rev=13 --- pcre2.changes | 10 ++++++++++ pcre2.spec | 9 +++++---- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/pcre2.changes b/pcre2.changes index a7dbd6c..1026d1d 100644 --- a/pcre2.changes +++ b/pcre2.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Jan 23 12:25:38 UTC 2019 - Bernhard Wiedemann + +- Do not run profiling in parallel for reproducible builds (boo#1040589) + +------------------------------------------------------------------- +Mon Jan 14 16:11:53 CET 2019 - kukuk@suse.de + +- Mark all license files as %license + ------------------------------------------------------------------- Tue Dec 11 14:31:55 UTC 2018 - Cristian Rodríguez diff --git a/pcre2.spec b/pcre2.spec index 8f8dd15..d7de419 100644 --- a/pcre2.spec +++ b/pcre2.spec @@ -1,7 +1,7 @@ # # spec file for package pcre2 # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -189,7 +189,8 @@ export LDFLAGS="-Wl,-z,relro,-z,now" %if 0%{?do_profiling} make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" V=1 export LANG=POSIX - make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" check + # do not run profiling in parallel for reproducible builds (boo#1040589 boo#1102408) + make CFLAGS="%{optflags} %{cflags_profile_generate}" check make %{?_smp_mflags} clean make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}" V=1 %else @@ -217,8 +218,8 @@ make check -j1 %postun -n libpcre2-posix2 -p /sbin/ldconfig %files -n libpcre2-8-0 -%license COPYING -%doc AUTHORS ChangeLog LICENCE NEWS README +%license COPYING LICENCE +%doc AUTHORS ChangeLog NEWS README %{_libdir}/libpcre2-8.so.* %files -n libpcre2-16-0 From 2fb3ddd4038fe156607919840318af302809e753ff47025c72d7cdee260ecc70 Mon Sep 17 00:00:00 2001 From: Yuchen Lin Date: Sun, 28 Apr 2019 17:57:55 +0000 Subject: [PATCH 14/32] Accepting request 697658 from devel:libraries:c_c++ OBS-URL: https://build.opensuse.org/request/show/697658 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcre2?expand=0&rev=14 --- pcre2.changes | 5 +++++ pcre2.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/pcre2.changes b/pcre2.changes index 1026d1d..8fe5a9b 100644 --- a/pcre2.changes +++ b/pcre2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 24 17:30:36 UTC 2019 - Martin Liška + +- Disable LTO (boo#1133274). + ------------------------------------------------------------------- Wed Jan 23 12:25:38 UTC 2019 - Bernhard Wiedemann diff --git a/pcre2.spec b/pcre2.spec index d7de419..12b41a4 100644 --- a/pcre2.spec +++ b/pcre2.spec @@ -167,6 +167,7 @@ API. %patch1 -p1 %build +%define _lto_cflags %{nil} # Available JIT archs see sljit/sljitConfig.h autoreconf -fiv export LDFLAGS="-Wl,-z,relro,-z,now" From 4bf4e845fa2ed0cbd95e796a9fb292ee559db2c44820e07b38be10d25f292f1c Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 3 May 2019 20:25:36 +0000 Subject: [PATCH 15/32] Accepting request 699961 from devel:libraries:c_c++ OBS-URL: https://build.opensuse.org/request/show/699961 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcre2?expand=0&rev=15 --- pcre2-10.32.tar.bz2 | 3 --- pcre2-10.32.tar.bz2.sig | Bin 310 -> 0 bytes pcre2-10.33.tar.bz2 | 3 +++ pcre2-10.33.tar.bz2.sig | Bin 0 -> 310 bytes pcre2.changes | 45 ++++++++++++++++++++++++++++++++++++++++ pcre2.spec | 4 +++- 6 files changed, 51 insertions(+), 4 deletions(-) delete mode 100644 pcre2-10.32.tar.bz2 delete mode 100644 pcre2-10.32.tar.bz2.sig create mode 100644 pcre2-10.33.tar.bz2 create mode 100644 pcre2-10.33.tar.bz2.sig diff --git a/pcre2-10.32.tar.bz2 b/pcre2-10.32.tar.bz2 deleted file mode 100644 index 4b94a3f..0000000 --- a/pcre2-10.32.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f29e89cc5de813f45786580101aaee3984a65818631d4ddbda7b32f699b87c2e -size 1641814 diff --git a/pcre2-10.32.tar.bz2.sig b/pcre2-10.32.tar.bz2.sig deleted file mode 100644 index f052e2c15c614cf6c35659af9675c752885984a12d49425d1662d6f897ab588d..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 310 zcmV-60m=S}0W$;u0SEvc79j*h_Kj4#;y<$kn?~iAX5fVT4@1}m0$Z2PUjPaT5SM1) zg!>Oe*w$_b{T9{qv+U~`97-4;B7F8E z+a-Tr${Io=zD^OV6huGqLTye|aQY4C&7Uda`~!lT^Fcz5A7Y@WfR`1&{1 za=?`i!B-QmQ-h}hxdpatFo=JNf~WD<3C*4@piebb_4W1!jHF?r`uMI*fOe*d(P00G0pP&kHgoJi@#bP)lt_Fdv^1;Llvzff(=3|zB!zZ zQ=;gOYeA}@JZGN-%&Bw02X6LDvjn>RCz)tJed1C;dHeTa($-#bCWmi8LZeG+bgwLJ z6zxlA?KK3kHKkTuwQO()o`aDQ1XGg;z3$mHUMFme=W?6F(sAd85LMjf89UJ(gL^G~ z?S@Z%c(F@awV5o%$+Ru7~ZQ}u&pcx zxZ&-ES#_@Cz~vbgo>YIUsWC$}9eXoj@~S7+#9HmqEH*5ee3o7XSbN literal 0 HcmV?d00001 diff --git a/pcre2.changes b/pcre2.changes index 8fe5a9b..62888ae 100644 --- a/pcre2.changes +++ b/pcre2.changes @@ -1,3 +1,48 @@ +------------------------------------------------------------------- +Thu May 2 00:36:59 UTC 2019 - Jason Sikes + +- 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 17:30:36 UTC 2019 - Martin Liška diff --git a/pcre2.spec b/pcre2.spec index 12b41a4..af4e9ed 100644 --- a/pcre2.spec +++ b/pcre2.spec @@ -17,7 +17,7 @@ Name: pcre2 -Version: 10.32 +Version: 10.33 Release: 0 Summary: A library for Perl-compatible regular expressions License: BSD-3-Clause @@ -39,6 +39,8 @@ BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: zlib-devel +%global _lto_cflags %{_lto_cflags} -ffat-lto-objects + %description The PCRE2 library is a set of functions that implement regular expression pattern matching using the same syntax and semantics From 57f9138be4c927e23b0aca1b37b488539ada3bd20246ef9958c7b0d2a9892bf5 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sat, 30 Nov 2019 09:36:06 +0000 Subject: [PATCH 16/32] Accepting request 751375 from devel:libraries:c_c++ OBS-URL: https://build.opensuse.org/request/show/751375 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcre2?expand=0&rev=16 --- pcre2-10.33.tar.bz2 | 3 --- pcre2-10.33.tar.bz2.sig | Bin 310 -> 0 bytes pcre2-10.34.tar.bz2 | 3 +++ pcre2-10.34.tar.bz2.sig | Bin 0 -> 310 bytes pcre2.changes | 26 ++++++++++++++++++++++++++ pcre2.spec | 6 +++--- 6 files changed, 32 insertions(+), 6 deletions(-) delete mode 100644 pcre2-10.33.tar.bz2 delete mode 100644 pcre2-10.33.tar.bz2.sig create mode 100644 pcre2-10.34.tar.bz2 create mode 100644 pcre2-10.34.tar.bz2.sig diff --git a/pcre2-10.33.tar.bz2 b/pcre2-10.33.tar.bz2 deleted file mode 100644 index 484dccf..0000000 --- a/pcre2-10.33.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:35514dff0ccdf02b55bd2e9fa586a1b9d01f62332c3356e379eabb75f789d8aa -size 1690739 diff --git a/pcre2-10.33.tar.bz2.sig b/pcre2-10.33.tar.bz2.sig deleted file mode 100644 index 1f4f4f59badecae81edab1454de9c10f7ec6f230c627fc7899e6ba60ca3b36e7..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 310 zcmV-60m=S}0W$;u0SEvc79j*h_Kj4#;y<$kn?~iAX5fVT4@1}m0$jE9i2w=-5SM1) zg!>Oe*d(P00G0pP&kHgoJi@#bP)lt_Fdv^1;Llvzff(=3|zB!zZ zQ=;gOYeA}@JZGN-%&Bw02X6LDvjn>RCz)tJed1C;dHeTa($-#bCWmi8LZeG+bgwLJ z6zxlA?KK3kHKkTuwQO()o`aDQ1XGg;z3$mHUMFme=W?6F(sAd85LMjf89UJ(gL^G~ z?S@Z%c(F@awV5o%$+Ru7~ZQ}u&pcx zxZ&-ES#_@Cz~vbgo>YIUsWC$}9eXoj@~S7+#9HmqEH*5ee3o7XSbN diff --git a/pcre2-10.34.tar.bz2 b/pcre2-10.34.tar.bz2 new file mode 100644 index 0000000..030a1c0 --- /dev/null +++ b/pcre2-10.34.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:74c473ffaba9e13db6951fd146e0143fe9887852ce73406a03277af1d9b798ca +size 1714731 diff --git a/pcre2-10.34.tar.bz2.sig b/pcre2-10.34.tar.bz2.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..e68531214d5ae09265661f609a104343ac08e62d166b000c18217d255708a747 GIT binary patch literal 310 zcmV-60m=S}0W$;u0SEvc79j*h_Kj4#;y<$kn?~iAX5fVT4@1}m0$tX-O#liB5SM1) zg!>Oe*kl3-0H2XZEh)uI>^tTb$Vt*XXHILSogZllYA6EAL3rd9?LMn&=L#(TsYL%M z&Qya~nTp64!-K6~Te=|qkXcgf^;VUi4%XXag<+B|uV~TK-LyZ+B}yV*4%^qXp7JPw+%EEn6#L5CM``8Z zYC{rDd+a+1vO}~&{V%DUO}SbADo2uHC--$<|E!AMhuDmE5^RM8x5wa3*X9o31?B~x z59vf_?n%6#D{aIDNoZUh_)Mc!bv=ruKBP8G@jd>RepK#m_()?5l$KDK<6?$Q2;gI7 INR)6sjd1XjQ2+n{ literal 0 HcmV?d00001 diff --git a/pcre2.changes b/pcre2.changes index 62888ae..08c37ec 100644 --- a/pcre2.changes +++ b/pcre2.changes @@ -1,3 +1,29 @@ +------------------------------------------------------------------- +Tue Nov 26 21:24:43 UTC 2019 - Andreas Schwab + +- Enable JIT on aarch64 + +------------------------------------------------------------------- +Fri Nov 22 19:55:35 UTC 2019 - Andreas Stieger + +- 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 2 00:36:59 UTC 2019 - Jason Sikes diff --git a/pcre2.spec b/pcre2.spec index af4e9ed..e7c117d 100644 --- a/pcre2.spec +++ b/pcre2.spec @@ -1,7 +1,7 @@ # # spec file for package pcre2 # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: pcre2 -Version: 10.33 +Version: 10.34 Release: 0 Summary: A library for Perl-compatible regular expressions License: BSD-3-Clause @@ -174,7 +174,7 @@ API. autoreconf -fiv export LDFLAGS="-Wl,-z,relro,-z,now" %configure \ -%ifarch %{ix86} x86_64 %{arm} ppc ppc64 ppc64le mips sparc +%ifarch %{ix86} x86_64 aarch64 %{arm} ppc ppc64 ppc64le mips sparc --enable-jit \ --enable-jit-sealloc \ %endif From 64756538636e93aff27cc7ba7af4d132e0a3e711d06f4d7a3d3ed9480bb98cb3 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sat, 25 Apr 2020 18:06:57 +0000 Subject: [PATCH 17/32] Accepting request 795503 from devel:libraries:c_c++ OBS-URL: https://build.opensuse.org/request/show/795503 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcre2?expand=0&rev=17 --- pcre2.changes | 5 +++++ pcre2.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pcre2.changes b/pcre2.changes index 08c37ec..8741ddd 100644 --- a/pcre2.changes +++ b/pcre2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Mar 27 16:26:54 UTC 2020 - Marketa Calabkova + +- Resubmit the package (bsc#1167890, jsc#SLE-11608) + ------------------------------------------------------------------- Tue Nov 26 21:24:43 UTC 2019 - Andreas Schwab diff --git a/pcre2.spec b/pcre2.spec index e7c117d..5f99f95 100644 --- a/pcre2.spec +++ b/pcre2.spec @@ -1,7 +1,7 @@ # # spec file for package pcre2 # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed From f156398dc5ffd29ea4f9b7d2396b388cfdfc77cb7b12096f46a346d8cbac491d Mon Sep 17 00:00:00 2001 From: Yuchen Lin Date: Sat, 23 May 2020 15:19:04 +0000 Subject: [PATCH 18/32] Accepting request 806245 from devel:libraries:c_c++ OBS-URL: https://build.opensuse.org/request/show/806245 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcre2?expand=0&rev=18 --- pcre2-10.34.tar.bz2 | 3 --- pcre2-10.34.tar.bz2.sig | Bin 310 -> 0 bytes pcre2-10.35.tar.bz2 | 3 +++ pcre2-10.35.tar.bz2.sig | Bin 0 -> 310 bytes pcre2.changes | 27 +++++++++++++++++++++++++++ pcre2.spec | 35 +++++++++++++++++------------------ 6 files changed, 47 insertions(+), 21 deletions(-) delete mode 100644 pcre2-10.34.tar.bz2 delete mode 100644 pcre2-10.34.tar.bz2.sig create mode 100644 pcre2-10.35.tar.bz2 create mode 100644 pcre2-10.35.tar.bz2.sig diff --git a/pcre2-10.34.tar.bz2 b/pcre2-10.34.tar.bz2 deleted file mode 100644 index 030a1c0..0000000 --- a/pcre2-10.34.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:74c473ffaba9e13db6951fd146e0143fe9887852ce73406a03277af1d9b798ca -size 1714731 diff --git a/pcre2-10.34.tar.bz2.sig b/pcre2-10.34.tar.bz2.sig deleted file mode 100644 index e68531214d5ae09265661f609a104343ac08e62d166b000c18217d255708a747..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 310 zcmV-60m=S}0W$;u0SEvc79j*h_Kj4#;y<$kn?~iAX5fVT4@1}m0$tX-O#liB5SM1) zg!>Oe*kl3-0H2XZEh)uI>^tTb$Vt*XXHILSogZllYA6EAL3rd9?LMn&=L#(TsYL%M z&Qya~nTp64!-K6~Te=|qkXcgf^;VUi4%XXag<+B|uV~TK-LyZ+B}yV*4%^qXp7JPw+%EEn6#L5CM``8Z zYC{rDd+a+1vO}~&{V%DUO}SbADo2uHC--$<|E!AMhuDmE5^RM8x5wa3*X9o31?B~x z59vf_?n%6#D{aIDNoZUh_)Mc!bv=ruKBP8G@jd>RepK#m_()?5l$KDK<6?$Q2;gI7 INR)6sjd1XjQ2+n{ diff --git a/pcre2-10.35.tar.bz2 b/pcre2-10.35.tar.bz2 new file mode 100644 index 0000000..47d2030 --- /dev/null +++ b/pcre2-10.35.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9ccba8e02b0ce78046cdfb52e5c177f0f445e421059e43becca4359c669d4613 +size 1725214 diff --git a/pcre2-10.35.tar.bz2.sig b/pcre2-10.35.tar.bz2.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..37a843f054ade32cc8b537360c953cde529055aab2b8060ef85bf8c4618fc526 GIT binary patch literal 310 zcmV-60m=S}0W$;u0SEvc79j*h_Kj4#;y<$kn?~iAX5fVT4@1}m0$#Sy!~hBj5SM1) zg!>Oe*laNf0H26T%3I}O)Nq)rp9XnnPkwzG`=Be&=rL4{dAz0CbogwK+(dd(&MIIr zCMgXgf_h?B`D^Um<`^L!Gc84%kXx9H}`6rSxBvhE literal 0 HcmV?d00001 diff --git a/pcre2.changes b/pcre2.changes index 8741ddd..22256d8 100644 --- a/pcre2.changes +++ b/pcre2.changes @@ -1,3 +1,30 @@ +------------------------------------------------------------------- +Wed May 13 22:24:30 UTC 2020 - Илья Индиго + +- 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 16:26:54 UTC 2020 - Marketa Calabkova diff --git a/pcre2.spec b/pcre2.spec index 5f99f95..53fc96e 100644 --- a/pcre2.spec +++ b/pcre2.spec @@ -16,15 +16,16 @@ # +%global _lto_cflags %{_lto_cflags} -ffat-lto-objects Name: pcre2 -Version: 10.34 +Version: 10.35 Release: 0 Summary: A library for Perl-compatible regular expressions License: BSD-3-Clause Group: Development/Libraries/C and C++ -URL: https://www.pcre.org/ +URL: https://www.pcre.org #SVN-Clone: svn://vcs.exim.org/pcre/code/trunk -Source: https://ftp.pcre.org/pub/pcre/%{name}-%{version}.tar.bz2 +Source0: https://ftp.pcre.org/pub/pcre/%{name}-%{version}.tar.bz2 Source2: https://ftp.pcre.org/pub/pcre/%{name}-%{version}.tar.bz2.sig Source3: %{name}.keyring Source4: baselibs.conf @@ -39,8 +40,6 @@ BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: zlib-devel -%global _lto_cflags %{_lto_cflags} -ffat-lto-objects - %description The PCRE2 library is a set of functions that implement regular expression pattern matching using the same syntax and semantics @@ -190,14 +189,14 @@ export LDFLAGS="-Wl,-z,relro,-z,now" --enable-unicode %if 0%{?do_profiling} - make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" V=1 + %make_build CFLAGS="%{optflags} %{cflags_profile_generate}" export LANG=POSIX # do not run profiling in parallel for reproducible builds (boo#1040589 boo#1102408) - make CFLAGS="%{optflags} %{cflags_profile_generate}" check - make %{?_smp_mflags} clean - make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}" V=1 + %make_build CFLAGS="%{optflags} %{cflags_profile_generate}" check + %make_build clean + %make_build CFLAGS="%{optflags} %{cflags_profile_feedback}" %else - make %{?_smp_mflags} CFLAGS="%{optflags}" + %make_build CFLAGS="%{optflags}" %endif %install @@ -209,7 +208,7 @@ find %{buildroot} -type f -name "*.la" -delete -print %check export LANG=POSIX -make check -j1 +%make_build check -j1 %post -n libpcre2-8-0 -p /sbin/ldconfig %postun -n libpcre2-8-0 -p /sbin/ldconfig @@ -226,32 +225,32 @@ make check -j1 %{_libdir}/libpcre2-8.so.* %files -n libpcre2-16-0 -%doc LICENCE +%license LICENCE %{_libdir}/libpcre2-16.so.* %files -n libpcre2-32-0 -%doc LICENCE +%license LICENCE %{_libdir}/libpcre2-32.so.* %files -n libpcre2-posix2 -%doc LICENCE +%license LICENCE %{_libdir}/libpcre2-posix.so.* %files tools -%doc LICENCE +%license LICENCE %{_bindir}/pcre2grep %{_bindir}/pcre2test %{_mandir}/man1/pcre2grep.1%{?ext_man} %{_mandir}/man1/pcre2test.1%{?ext_man} %files doc -%license COPYING -%doc AUTHORS ChangeLog LICENCE NEWS README +%license COPYING LICENCE +%doc AUTHORS ChangeLog NEWS README %doc doc/html doc/*.txt %doc %{_defaultdocdir}/pcre2-doc %files devel -%doc LICENCE +%license LICENCE %{_bindir}/pcre2-config %{_includedir}/* %{_libdir}/*.so From b8312cc35fcf0e0ccd77f0569c574b4aa529a934a3e3c38d2b13948b4478351d Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 18 Dec 2020 18:52:30 +0000 Subject: [PATCH 19/32] Accepting request 856473 from devel:libraries:c_c++ OBS-URL: https://build.opensuse.org/request/show/856473 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcre2?expand=0&rev=19 --- pcre2-10.35.tar.bz2 | 3 --- pcre2-10.35.tar.bz2.sig | Bin 310 -> 0 bytes pcre2-10.36.tar.bz2 | 3 +++ pcre2-10.36.tar.bz2.sig | Bin 0 -> 310 bytes pcre2.changes | 10 ++++++++++ pcre2.spec | 2 +- 6 files changed, 14 insertions(+), 4 deletions(-) delete mode 100644 pcre2-10.35.tar.bz2 delete mode 100644 pcre2-10.35.tar.bz2.sig create mode 100644 pcre2-10.36.tar.bz2 create mode 100644 pcre2-10.36.tar.bz2.sig diff --git a/pcre2-10.35.tar.bz2 b/pcre2-10.35.tar.bz2 deleted file mode 100644 index 47d2030..0000000 --- a/pcre2-10.35.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9ccba8e02b0ce78046cdfb52e5c177f0f445e421059e43becca4359c669d4613 -size 1725214 diff --git a/pcre2-10.35.tar.bz2.sig b/pcre2-10.35.tar.bz2.sig deleted file mode 100644 index 37a843f054ade32cc8b537360c953cde529055aab2b8060ef85bf8c4618fc526..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 310 zcmV-60m=S}0W$;u0SEvc79j*h_Kj4#;y<$kn?~iAX5fVT4@1}m0$#Sy!~hBj5SM1) zg!>Oe*laNf0H26T%3I}O)Nq)rp9XnnPkwzG`=Be&=rL4{dAz0CbogwK+(dd(&MIIr zCMgXgf_h?B`D^Um<`^L!Gc84%kXx9H}`6rSxBvhE diff --git a/pcre2-10.36.tar.bz2 b/pcre2-10.36.tar.bz2 new file mode 100644 index 0000000..88ab66b --- /dev/null +++ b/pcre2-10.36.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a9ef39278113542968c7c73a31cfcb81aca1faa64690f400b907e8ab6b4a665c +size 1722310 diff --git a/pcre2-10.36.tar.bz2.sig b/pcre2-10.36.tar.bz2.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..248079a6b7516af73047d89d66f3601a8aec8be5cba273d4f8260be77cfc8e48 GIT binary patch literal 310 zcmV-60m=S}0W$;u0SEvc79j*h_Kj4#;y<$kn?~iAX5fVT4@1}m0$<8Ui2w=-5SM1) zg!>Oe*l|+`0HzR-guS+Ql4>=+x(yCWH_Y>smtdvu@i>1H#{~?1;#8n@1Ol3;Qt9?b z^j?dqmDx*CGf2F^CFW`Zf5-E2RBX7?7o+8=KnyP|mjf18aBXJYLOKU;;|s=Pa*W>_JSOMp^ ImErP1O-y%=SpWb4 literal 0 HcmV?d00001 diff --git a/pcre2.changes b/pcre2.changes index 22256d8..e6e095b 100644 --- a/pcre2.changes +++ b/pcre2.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Sat Dec 5 12:41:55 UTC 2020 - Andreas Stieger + +- 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 22:24:30 UTC 2020 - Илья Индиго diff --git a/pcre2.spec b/pcre2.spec index 53fc96e..d27a8a9 100644 --- a/pcre2.spec +++ b/pcre2.spec @@ -18,7 +18,7 @@ %global _lto_cflags %{_lto_cflags} -ffat-lto-objects Name: pcre2 -Version: 10.35 +Version: 10.36 Release: 0 Summary: A library for Perl-compatible regular expressions License: BSD-3-Clause From 0050c12a9e333b939792d272488627e5b1e5341354eb3d2112083311b782deb4 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 19 Apr 2021 19:05:39 +0000 Subject: [PATCH 20/32] Accepting request 885691 from devel:libraries:c_c++ OBS-URL: https://build.opensuse.org/request/show/885691 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcre2?expand=0&rev=20 --- pcre2-symbol-clash.patch | 44 ++++++++++++++++++++++++++++++++++++++++ pcre2.changes | 6 ++++++ pcre2.spec | 6 +++--- 3 files changed, 53 insertions(+), 3 deletions(-) create mode 100644 pcre2-symbol-clash.patch diff --git a/pcre2-symbol-clash.patch b/pcre2-symbol-clash.patch new file mode 100644 index 0000000..6af1e14 --- /dev/null +++ b/pcre2-symbol-clash.patch @@ -0,0 +1,44 @@ +From: Jan Engelhardt +Date: 2021-04-14 11:42:14.750408048 + +If libpcre2-posix.so makes it into a process image somehow before +libc.so (which is easy: gcc something.c -lpcre2-posix), pcre2's +"regcomp" symbol wins a race over libc's "regcomp" symbol. There are +likely more situations as well, because libc's "regcomp" is _also_ +marked as weak. Anyway, because the functions two are not +behavior-compatible, problems arise. + +To stay ABI compatible, we could make a new library without regcomp etc., +and edit the .pc file to point to the new library, but that would not +capture the case someone uses plain gcc -l without pkg-config. + +Since regcomp is "#defined" to pcre2_regcomp, any programs that were +source-compiled are fine. Removing the reg* symbols from the library +hence only breaks the case of dlsym(libpcre2-posix, "regcomp"), +which, I will argue, is an absolute niche use of the PCRE libraries +and something we are willing to break. + +--- + src/pcre2posix.c | 2 ++ + 1 file changed, 2 insertions(+) + +Index: pcre2-10.36/src/pcre2posix.c +=================================================================== +--- pcre2-10.36.orig/src/pcre2posix.c ++++ pcre2-10.36/src/pcre2posix.c +@@ -185,6 +185,7 @@ This also ensures that the POSIX names a + include pcre2posix.h. It is vital to #undef the macro definitions from + pcre2posix.h! */ + ++#if 0 + #undef regerror + PCRE2POSIX_EXP_DECL size_t regerror(int, const regex_t *, char *, size_t); + PCRE2POSIX_EXP_DEFN size_t PCRE2_CALL_CONVENTION +@@ -218,6 +219,7 @@ regexec(const regex_t *preg, const char + { + return pcre2_regexec(preg, string, nmatch, pmatch, eflags); + } ++#endif + + + diff --git a/pcre2.changes b/pcre2.changes index e6e095b..1b8bf58 100644 --- a/pcre2.changes +++ b/pcre2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Apr 14 09:57:53 UTC 2021 - Jan Engelhardt + +- Remove regcomp, regexec etc. from libpcre2-posix. + (Add pcre2-symbol-clash.patch) + ------------------------------------------------------------------- Sat Dec 5 12:41:55 UTC 2020 - Andreas Stieger diff --git a/pcre2.spec b/pcre2.spec index d27a8a9..83bfba9 100644 --- a/pcre2.spec +++ b/pcre2.spec @@ -1,7 +1,7 @@ # # spec file for package pcre2 # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -31,6 +31,7 @@ Source3: %{name}.keyring Source4: baselibs.conf #PATCH-FIX-OPENSUSE tchvatal@suse.cz upstream thinks it is good idea to use rpath, taken from RH Patch1: pcre2-10.10-multilib.patch +Patch2: pcre2-symbol-clash.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ @@ -164,8 +165,7 @@ PCRE2 is a re-working of the original PCRE library to provide an entirely new API. %prep -%setup -q -%patch1 -p1 +%autosetup -p1 %build %define _lto_cflags %{nil} From 5bce2ad0711ef7e3e1cad29a2c5b3af6d2a4d891644f1f36b453fbf678447c60 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sat, 5 Jun 2021 21:30:14 +0000 Subject: [PATCH 21/32] Accepting request 896172 from devel:libraries:c_c++ OBS-URL: https://build.opensuse.org/request/show/896172 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcre2?expand=0&rev=21 --- baselibs.conf | 2 +- pcre2-10.36.tar.bz2 | 3 --- pcre2-10.36.tar.bz2.sig | Bin 310 -> 0 bytes pcre2-10.37.tar.bz2 | 3 +++ pcre2-10.37.tar.bz2.sig | Bin 0 -> 310 bytes pcre2-symbol-clash.patch | 44 --------------------------------------- pcre2.changes | 13 ++++++++++++ pcre2.spec | 15 +++++++------ 8 files changed, 24 insertions(+), 56 deletions(-) delete mode 100644 pcre2-10.36.tar.bz2 delete mode 100644 pcre2-10.36.tar.bz2.sig create mode 100644 pcre2-10.37.tar.bz2 create mode 100644 pcre2-10.37.tar.bz2.sig delete mode 100644 pcre2-symbol-clash.patch diff --git a/baselibs.conf b/baselibs.conf index d038d79..0c9d64b 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,4 +1,4 @@ libpcre2-8-0 libpcre2-16-0 libpcre2-32-0 -libpcre2-posix2 +libpcre2-posix3 diff --git a/pcre2-10.36.tar.bz2 b/pcre2-10.36.tar.bz2 deleted file mode 100644 index 88ab66b..0000000 --- a/pcre2-10.36.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a9ef39278113542968c7c73a31cfcb81aca1faa64690f400b907e8ab6b4a665c -size 1722310 diff --git a/pcre2-10.36.tar.bz2.sig b/pcre2-10.36.tar.bz2.sig deleted file mode 100644 index 248079a6b7516af73047d89d66f3601a8aec8be5cba273d4f8260be77cfc8e48..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 310 zcmV-60m=S}0W$;u0SEvc79j*h_Kj4#;y<$kn?~iAX5fVT4@1}m0$<8Ui2w=-5SM1) zg!>Oe*l|+`0HzR-guS+Ql4>=+x(yCWH_Y>smtdvu@i>1H#{~?1;#8n@1Ol3;Qt9?b z^j?dqmDx*CGf2F^CFW`Zf5-E2RBX7?7o+8=KnyP|mjf18aBXJYLOKU;;|s=Pa*W>_JSOMp^ ImErP1O-y%=SpWb4 diff --git a/pcre2-10.37.tar.bz2 b/pcre2-10.37.tar.bz2 new file mode 100644 index 0000000..48a8b67 --- /dev/null +++ b/pcre2-10.37.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4d95a96e8b80529893b4562be12648d798b957b1ba1aae39606bbc2ab956d270 +size 1729384 diff --git a/pcre2-10.37.tar.bz2.sig b/pcre2-10.37.tar.bz2.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..333947f062b45e76c57717fc3569170dad444d85a6232e35435d64e98497e95f GIT binary patch literal 310 zcmV-60m=S}0W$;u0SEvc79j*h_Kj4#;y<$kn?~iAX5fVT4@1}m0${FNiU0};5SM1) zg!>Oe*vI|{|3Pt9PKVltkn&&n_<2;-J>4mJ!&f=nUJgtOZH*mWmd2*iQr<8ACJ+yF zl@>3n6U3W(-LdrTq)Ge?z3kF$2O5n|%NFXqtla)P;`3uo?KW`RR7-U?lZyM+eyI>u zDggmHv4~YdJW!ZB)oNQ73xN3NZ0}x}NAkgld>D$UCh*gFOqBO9?m@VA0vzB{-v)D- zjBcpAjc3ZQDI@J99lnkJ#;tu5i?2DYK_>`A%hykvpUK -Date: 2021-04-14 11:42:14.750408048 - -If libpcre2-posix.so makes it into a process image somehow before -libc.so (which is easy: gcc something.c -lpcre2-posix), pcre2's -"regcomp" symbol wins a race over libc's "regcomp" symbol. There are -likely more situations as well, because libc's "regcomp" is _also_ -marked as weak. Anyway, because the functions two are not -behavior-compatible, problems arise. - -To stay ABI compatible, we could make a new library without regcomp etc., -and edit the .pc file to point to the new library, but that would not -capture the case someone uses plain gcc -l without pkg-config. - -Since regcomp is "#defined" to pcre2_regcomp, any programs that were -source-compiled are fine. Removing the reg* symbols from the library -hence only breaks the case of dlsym(libpcre2-posix, "regcomp"), -which, I will argue, is an absolute niche use of the PCRE libraries -and something we are willing to break. - ---- - src/pcre2posix.c | 2 ++ - 1 file changed, 2 insertions(+) - -Index: pcre2-10.36/src/pcre2posix.c -=================================================================== ---- pcre2-10.36.orig/src/pcre2posix.c -+++ pcre2-10.36/src/pcre2posix.c -@@ -185,6 +185,7 @@ This also ensures that the POSIX names a - include pcre2posix.h. It is vital to #undef the macro definitions from - pcre2posix.h! */ - -+#if 0 - #undef regerror - PCRE2POSIX_EXP_DECL size_t regerror(int, const regex_t *, char *, size_t); - PCRE2POSIX_EXP_DEFN size_t PCRE2_CALL_CONVENTION -@@ -218,6 +219,7 @@ regexec(const regex_t *preg, const char - { - return pcre2_regexec(preg, string, nmatch, pmatch, eflags); - } -+#endif - - - diff --git a/pcre2.changes b/pcre2.changes index 1b8bf58..bbd6a61 100644 --- a/pcre2.changes +++ b/pcre2.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu May 27 12:30:17 UTC 2021 - Andreas Stieger + +- 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 09:57:53 UTC 2021 - Jan Engelhardt diff --git a/pcre2.spec b/pcre2.spec index 83bfba9..6eeb7db 100644 --- a/pcre2.spec +++ b/pcre2.spec @@ -18,7 +18,7 @@ %global _lto_cflags %{_lto_cflags} -ffat-lto-objects Name: pcre2 -Version: 10.36 +Version: 10.37 Release: 0 Summary: A library for Perl-compatible regular expressions License: BSD-3-Clause @@ -31,7 +31,6 @@ Source3: %{name}.keyring Source4: baselibs.conf #PATCH-FIX-OPENSUSE tchvatal@suse.cz upstream thinks it is good idea to use rpath, taken from RH Patch1: pcre2-10.10-multilib.patch -Patch2: pcre2-symbol-clash.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ @@ -55,7 +54,7 @@ Group: Development/Libraries/C and C++ Requires: libpcre2-16-0 = %{version} Requires: libpcre2-32-0 = %{version} Requires: libpcre2-8-0 = %{version} -Requires: libpcre2-posix2 = %{version} +Requires: libpcre2-posix3 = %{version} Requires: libstdc++-devel %description devel @@ -124,11 +123,11 @@ API. libpcre2-32 supports 32-bit and UTF-32 strings. -%package -n libpcre2-posix2 +%package -n libpcre2-posix3 Summary: A library for Perl-compatible regular expressions Group: System/Libraries -%description -n libpcre2-posix2 +%description -n libpcre2-posix3 The PCRE2 library is a set of functions that implement regular expression pattern matching using the same syntax and semantics as Perl 5. @@ -216,8 +215,8 @@ export LANG=POSIX %postun -n libpcre2-16-0 -p /sbin/ldconfig %post -n libpcre2-32-0 -p /sbin/ldconfig %postun -n libpcre2-32-0 -p /sbin/ldconfig -%post -n libpcre2-posix2 -p /sbin/ldconfig -%postun -n libpcre2-posix2 -p /sbin/ldconfig +%post -n libpcre2-posix3 -p /sbin/ldconfig +%postun -n libpcre2-posix3 -p /sbin/ldconfig %files -n libpcre2-8-0 %license COPYING LICENCE @@ -232,7 +231,7 @@ export LANG=POSIX %license LICENCE %{_libdir}/libpcre2-32.so.* -%files -n libpcre2-posix2 +%files -n libpcre2-posix3 %license LICENCE %{_libdir}/libpcre2-posix.so.* From 5c8e34b2dcac002d2f887f48fc8e2e762bc6e3f70938d9d177698d4998890ade Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 28 Oct 2021 16:31:15 +0000 Subject: [PATCH 22/32] Accepting request 927219 from devel:libraries:c_c++ OBS-URL: https://build.opensuse.org/request/show/927219 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcre2?expand=0&rev=22 --- pcre2-10.37.tar.bz2 | 3 --- pcre2-10.37.tar.bz2.sig | Bin 310 -> 0 bytes pcre2-10.38.tar.bz2 | 3 +++ pcre2-10.38.tar.bz2.sig | Bin 0 -> 310 bytes pcre2.changes | 8 ++++++++ pcre2.spec | 7 +++---- 6 files changed, 14 insertions(+), 7 deletions(-) delete mode 100644 pcre2-10.37.tar.bz2 delete mode 100644 pcre2-10.37.tar.bz2.sig create mode 100644 pcre2-10.38.tar.bz2 create mode 100644 pcre2-10.38.tar.bz2.sig diff --git a/pcre2-10.37.tar.bz2 b/pcre2-10.37.tar.bz2 deleted file mode 100644 index 48a8b67..0000000 --- a/pcre2-10.37.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4d95a96e8b80529893b4562be12648d798b957b1ba1aae39606bbc2ab956d270 -size 1729384 diff --git a/pcre2-10.37.tar.bz2.sig b/pcre2-10.37.tar.bz2.sig deleted file mode 100644 index 333947f062b45e76c57717fc3569170dad444d85a6232e35435d64e98497e95f..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 310 zcmV-60m=S}0W$;u0SEvc79j*h_Kj4#;y<$kn?~iAX5fVT4@1}m0${FNiU0};5SM1) zg!>Oe*vI|{|3Pt9PKVltkn&&n_<2;-J>4mJ!&f=nUJgtOZH*mWmd2*iQr<8ACJ+yF zl@>3n6U3W(-LdrTq)Ge?z3kF$2O5n|%NFXqtla)P;`3uo?KW`RR7-U?lZyM+eyI>u zDggmHv4~YdJW!ZB)oNQ73xN3NZ0}x}NAkgld>D$UCh*gFOqBO9?m@VA0vzB{-v)D- zjBcpAjc3ZQDI@J99lnkJ#;tu5i?2DYK_>`A%hykvpUKOe*p>_k0HmypfjCpG(c(T&a6EkOl9jx|)n>m4y;PH&1vYx~Nsu-UjH(AtxYd+L zGom=xoB=ZQt3xcC-p$rI<*5X8Sg0-ASk03KWm1kBM4T3y+$N?^ASp3#VYf|_$rbd~ zw>!Z>51~E4=58ZjB@^xRS`m2Xo8(`dvo`UlfP?odE;nZ0b#a_m`5HjK5NmxnftK(u=uutpX|xd5lN z0a-4~fI%n314DKnl1%8Pr@R0q??aljjgx38WkFD4+_30fcUEbJqTcAp3ZPdy9>szQ Ieu9)DL+xpb#{d8T literal 0 HcmV?d00001 diff --git a/pcre2.changes b/pcre2.changes index bbd6a61..4a258c5 100644 --- a/pcre2.changes +++ b/pcre2.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sun Oct 24 14:41:00 UTC 2021 - Andreas Stieger + +- 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 12:30:17 UTC 2021 - Andreas Stieger diff --git a/pcre2.spec b/pcre2.spec index 6eeb7db..a2fd204 100644 --- a/pcre2.spec +++ b/pcre2.spec @@ -18,15 +18,14 @@ %global _lto_cflags %{_lto_cflags} -ffat-lto-objects Name: pcre2 -Version: 10.37 +Version: 10.38 Release: 0 Summary: A library for Perl-compatible regular expressions License: BSD-3-Clause Group: Development/Libraries/C and C++ URL: https://www.pcre.org -#SVN-Clone: svn://vcs.exim.org/pcre/code/trunk -Source0: https://ftp.pcre.org/pub/pcre/%{name}-%{version}.tar.bz2 -Source2: https://ftp.pcre.org/pub/pcre/%{name}-%{version}.tar.bz2.sig +Source0: https://github.com/PhilipHazel/pcre2/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2 +Source2: https://github.com/PhilipHazel/pcre2/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2.sig Source3: %{name}.keyring Source4: baselibs.conf #PATCH-FIX-OPENSUSE tchvatal@suse.cz upstream thinks it is good idea to use rpath, taken from RH From c6a25908a1c6e6f53e9d2cfdd08a0ce31bec8134d5c8400d804126e6d92fe2a2 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 25 Nov 2021 22:05:27 +0000 Subject: [PATCH 23/32] Accepting request 932765 from devel:libraries:c_c++ OBS-URL: https://build.opensuse.org/request/show/932765 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcre2?expand=0&rev=23 --- pcre2-10.38.tar.bz2 | 3 --- pcre2-10.38.tar.bz2.sig | Bin 310 -> 0 bytes pcre2-10.39.tar.bz2 | 3 +++ pcre2-10.39.tar.bz2.sig | Bin 0 -> 310 bytes pcre2.changes | 8 ++++++++ pcre2.spec | 2 +- 6 files changed, 12 insertions(+), 4 deletions(-) delete mode 100644 pcre2-10.38.tar.bz2 delete mode 100644 pcre2-10.38.tar.bz2.sig create mode 100644 pcre2-10.39.tar.bz2 create mode 100644 pcre2-10.39.tar.bz2.sig diff --git a/pcre2-10.38.tar.bz2 b/pcre2-10.38.tar.bz2 deleted file mode 100644 index 8041126..0000000 --- a/pcre2-10.38.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7d95aa7c8a7b0749bf03c4bd73626ab61dece7e3986b5a57f5ec39eebef6b07c -size 1729078 diff --git a/pcre2-10.38.tar.bz2.sig b/pcre2-10.38.tar.bz2.sig deleted file mode 100644 index 4354f529aef29fe2ecdd7afa5c46628d6263b7f8d086a8a7c15e2f11d4f789fb..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 310 zcmV-60m=S}0W$;u0SEvc79j*h_Kj4#;y<$kn?~iAX5fVT4@1}m0%2DyI{*p^5SM1) zg!>Oe*p>_k0HmypfjCpG(c(T&a6EkOl9jx|)n>m4y;PH&1vYx~Nsu-UjH(AtxYd+L zGom=xoB=ZQt3xcC-p$rI<*5X8Sg0-ASk03KWm1kBM4T3y+$N?^ASp3#VYf|_$rbd~ zw>!Z>51~E4=58ZjB@^xRS`m2Xo8(`dvo`UlfP?odE;nZ0b#a_m`5HjK5NmxnftK(u=uutpX|xd5lN z0a-4~fI%n314DKnl1%8Pr@R0q??aljjgx38WkFD4+_30fcUEbJqTcAp3ZPdy9>szQ Ieu9)DL+xpb#{d8T diff --git a/pcre2-10.39.tar.bz2 b/pcre2-10.39.tar.bz2 new file mode 100644 index 0000000..dbc5bb3 --- /dev/null +++ b/pcre2-10.39.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0f03caf57f81d9ff362ac28cd389c055ec2bf0678d277349a1a4bee00ad6d440 +size 1730729 diff --git a/pcre2-10.39.tar.bz2.sig b/pcre2-10.39.tar.bz2.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..2b05e7ea9ec1cd3bb5cf84f6717897bf22e03545a66c49a4f8c75487476ecf84 GIT binary patch literal 310 zcmV-60m=S}0W$;u0SEvc79j*h_Kj4#;y<$kn?~iAX5fVT4@1}m0%3d{4FC!W5SM1) zg!>Oe*fA3a|81KTwuR%n@KO)KxB}Z$&+G_~b8OutGnW_%w&>nn4^+gozFj{mx!h8e zml%|Fkh3~g?0o>Qp3`iXxSTwdsU`Qx?r7|`FORO3&U^BrkcJ>LQ zyrSi*B9)%^TFxgL~RKSkY19@*c4@Q Ip8Ow#L%^e%y#N3J literal 0 HcmV?d00001 diff --git a/pcre2.changes b/pcre2.changes index 4a258c5..45b379f 100644 --- a/pcre2.changes +++ b/pcre2.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Nov 5 19:01:43 UTC 2021 - Andreas Stieger + +- pcre2 10.39: + * Fix incorrect detection of alternatives in first character + search in JIT + * Update to Unicode 14.0.0 + ------------------------------------------------------------------- Sun Oct 24 14:41:00 UTC 2021 - Andreas Stieger diff --git a/pcre2.spec b/pcre2.spec index a2fd204..6fb377e 100644 --- a/pcre2.spec +++ b/pcre2.spec @@ -18,7 +18,7 @@ %global _lto_cflags %{_lto_cflags} -ffat-lto-objects Name: pcre2 -Version: 10.38 +Version: 10.39 Release: 0 Summary: A library for Perl-compatible regular expressions License: BSD-3-Clause From 6498a03b97bc0522f9fe10062c942b1cc2f7b8fbe1aac62360aa32a6e70dae06 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sat, 23 Apr 2022 17:44:49 +0000 Subject: [PATCH 24/32] Accepting request 970771 from devel:libraries:c_c++ OBS-URL: https://build.opensuse.org/request/show/970771 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcre2?expand=0&rev=24 --- pcre2-10.39.tar.bz2 | 3 --- pcre2-10.39.tar.bz2.sig | Bin 310 -> 0 bytes pcre2-10.40.tar.bz2 | 3 +++ pcre2-10.40.tar.bz2.sig | Bin 0 -> 310 bytes pcre2.changes | 14 ++++++++++++++ pcre2.spec | 4 ++-- 6 files changed, 19 insertions(+), 5 deletions(-) delete mode 100644 pcre2-10.39.tar.bz2 delete mode 100644 pcre2-10.39.tar.bz2.sig create mode 100644 pcre2-10.40.tar.bz2 create mode 100644 pcre2-10.40.tar.bz2.sig diff --git a/pcre2-10.39.tar.bz2 b/pcre2-10.39.tar.bz2 deleted file mode 100644 index dbc5bb3..0000000 --- a/pcre2-10.39.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0f03caf57f81d9ff362ac28cd389c055ec2bf0678d277349a1a4bee00ad6d440 -size 1730729 diff --git a/pcre2-10.39.tar.bz2.sig b/pcre2-10.39.tar.bz2.sig deleted file mode 100644 index 2b05e7ea9ec1cd3bb5cf84f6717897bf22e03545a66c49a4f8c75487476ecf84..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 310 zcmV-60m=S}0W$;u0SEvc79j*h_Kj4#;y<$kn?~iAX5fVT4@1}m0%3d{4FC!W5SM1) zg!>Oe*fA3a|81KTwuR%n@KO)KxB}Z$&+G_~b8OutGnW_%w&>nn4^+gozFj{mx!h8e zml%|Fkh3~g?0o>Qp3`iXxSTwdsU`Qx?r7|`FORO3&U^BrkcJ>LQ zyrSi*B9)%^TFxgL~RKSkY19@*c4@Q Ip8Ow#L%^e%y#N3J diff --git a/pcre2-10.40.tar.bz2 b/pcre2-10.40.tar.bz2 new file mode 100644 index 0000000..79c1e8f --- /dev/null +++ b/pcre2-10.40.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:14e4b83c4783933dc17e964318e6324f7cae1bc75d8f3c79bc6969f00c159d68 +size 1765440 diff --git a/pcre2-10.40.tar.bz2.sig b/pcre2-10.40.tar.bz2.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..a43bee1e1a50aa6417cd3e1e082a3f9bc5eb64c921b81ada6edf2afb6e85744c GIT binary patch literal 310 zcmV-60m=S}0W$;u0SEvc79j*h_Kj4#;y<$kn?~iAX5fVT4@1}m0%BQ|oB#?55SM1) zg!>Oe*j-@<|9((**C(6IycsKQ+>6cU5Iww~ao&A)dg8n!e%&Tj;?o<;y)*WojhI}& zQkDs4AQ(D1rH>z@gOJ1@I|3ORxK%|iqrAL>JtvflB!*o=crM*Im1qlHDzMG`H7pl5 zp+pGoZpw8jDSbsh4$Vcl^i<0LzSWCbwUt6@3lET0W#uB+AFNoz4JuWvj?UJ#RV>dY&gZoY>!{cJ<+2Mr<5v^euv6Y* I>E + +- 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 + ------------------------------------------------------------------- Fri Nov 5 19:01:43 UTC 2021 - Andreas Stieger diff --git a/pcre2.spec b/pcre2.spec index 6fb377e..b67554b 100644 --- a/pcre2.spec +++ b/pcre2.spec @@ -1,7 +1,7 @@ # # spec file for package pcre2 # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %global _lto_cflags %{_lto_cflags} -ffat-lto-objects Name: pcre2 -Version: 10.39 +Version: 10.40 Release: 0 Summary: A library for Perl-compatible regular expressions License: BSD-3-Clause From 8ce00436e0549a49078e2ce480f69a0abbda4cbbd75dff11eba13971bde519b5 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 10 May 2022 13:09:38 +0000 Subject: [PATCH 25/32] Accepting request 975361 from devel:libraries:c_c++ OBS-URL: https://build.opensuse.org/request/show/975361 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcre2?expand=0&rev=25 --- pcre2.changes | 10 ++++++++++ pcre2.spec | 3 +-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/pcre2.changes b/pcre2.changes index b5a95a4..036ebd8 100644 --- a/pcre2.changes +++ b/pcre2.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Thu May 5 08:15:44 UTC 2022 - pgajdos@suse.com + +- do not enable jit-sealloc [bsc#1182864] [bsc#1199208] + +------------------------------------------------------------------- +Thu May 5 06:52:30 UTC 2022 - pgajdos@suse.com + +- enable jit for s390x [bsc#1199196] + ------------------------------------------------------------------- Sat Apr 16 10:50:31 UTC 2022 - Andreas Stieger diff --git a/pcre2.spec b/pcre2.spec index b67554b..693f415 100644 --- a/pcre2.spec +++ b/pcre2.spec @@ -171,9 +171,8 @@ API. autoreconf -fiv export LDFLAGS="-Wl,-z,relro,-z,now" %configure \ -%ifarch %{ix86} x86_64 aarch64 %{arm} ppc ppc64 ppc64le mips sparc +%ifarch %{ix86} x86_64 aarch64 %{arm} ppc ppc64 ppc64le mips sparc s390x --enable-jit \ - --enable-jit-sealloc \ %endif --enable-static \ --with-link-size=2 \ From 7a28d7c7e9fb18a36db67833a68802e5bf573e19d1ec5aa7bfc28e81639c646d Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 5 Aug 2022 17:49:28 +0000 Subject: [PATCH 26/32] Accepting request 992166 from devel:libraries:c_c++ OBS-URL: https://build.opensuse.org/request/show/992166 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcre2?expand=0&rev=26 --- pcre2.changes | 5 +++++ pcre2.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pcre2.changes b/pcre2.changes index 036ebd8..3eaa7c0 100644 --- a/pcre2.changes +++ b/pcre2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Jul 31 06:54:48 UTC 2022 - Stephan Kulow + +- Fix the profiling call to be non-parallel again (fighting spec cleaner) + ------------------------------------------------------------------- Thu May 5 08:15:44 UTC 2022 - pgajdos@suse.com diff --git a/pcre2.spec b/pcre2.spec index 693f415..9baffe7 100644 --- a/pcre2.spec +++ b/pcre2.spec @@ -189,7 +189,7 @@ export LDFLAGS="-Wl,-z,relro,-z,now" %make_build CFLAGS="%{optflags} %{cflags_profile_generate}" export LANG=POSIX # do not run profiling in parallel for reproducible builds (boo#1040589 boo#1102408) - %make_build CFLAGS="%{optflags} %{cflags_profile_generate}" check + %make_build -j1 CFLAGS="%{optflags} %{cflags_profile_generate}" check %make_build clean %make_build CFLAGS="%{optflags} %{cflags_profile_feedback}" %else From 3c71be39899a644a28792dd5e1909149e3fe89c156f62faa643ef46c2bc34fe1 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 13 Dec 2022 17:54:30 +0000 Subject: [PATCH 27/32] Accepting request 1042473 from devel:libraries:c_c++ OBS-URL: https://build.opensuse.org/request/show/1042473 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcre2?expand=0&rev=27 --- pcre2-10.40.tar.bz2 | 3 --- pcre2-10.40.tar.bz2.sig | Bin 310 -> 0 bytes pcre2-10.42.tar.bz2 | 3 +++ pcre2-10.42.tar.bz2.sig | Bin 0 -> 310 bytes pcre2.changes | 17 +++++++++++++++++ pcre2.spec | 2 +- 6 files changed, 21 insertions(+), 4 deletions(-) delete mode 100644 pcre2-10.40.tar.bz2 delete mode 100644 pcre2-10.40.tar.bz2.sig create mode 100644 pcre2-10.42.tar.bz2 create mode 100644 pcre2-10.42.tar.bz2.sig diff --git a/pcre2-10.40.tar.bz2 b/pcre2-10.40.tar.bz2 deleted file mode 100644 index 79c1e8f..0000000 --- a/pcre2-10.40.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:14e4b83c4783933dc17e964318e6324f7cae1bc75d8f3c79bc6969f00c159d68 -size 1765440 diff --git a/pcre2-10.40.tar.bz2.sig b/pcre2-10.40.tar.bz2.sig deleted file mode 100644 index a43bee1e1a50aa6417cd3e1e082a3f9bc5eb64c921b81ada6edf2afb6e85744c..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 310 zcmV-60m=S}0W$;u0SEvc79j*h_Kj4#;y<$kn?~iAX5fVT4@1}m0%BQ|oB#?55SM1) zg!>Oe*j-@<|9((**C(6IycsKQ+>6cU5Iww~ao&A)dg8n!e%&Tj;?o<;y)*WojhI}& zQkDs4AQ(D1rH>z@gOJ1@I|3ORxK%|iqrAL>JtvflB!*o=crM*Im1qlHDzMG`H7pl5 zp+pGoZpw8jDSbsh4$Vcl^i<0LzSWCbwUt6@3lET0W#uB+AFNoz4JuWvj?UJ#RV>dY&gZoY>!{cJ<+2Mr<5v^euv6Y* I>EOe*j4)n|9*djAvbp5^DS*M762ch z=NBZpg%+kX8LKMs>Go+&fm)xZPJ)M%`0|Y+=FBaxxZLhypIor@Cv#yei#vQ# zEHe#WJ~be!NYW#k=ytcRbPV0ZOEhFBpE#5hN)=R6WpV_~%M)8(sxTF(EWj8cliG3( z3pQY{)w(01xmY*B4o$%QZZStvX`tU$tx)B_q50vdhscI6#EsS&rE#b3OgeGVv(zWI z<`@8H1@EHzy}(v$*w}9z6ag;H*Fawj_7ygjBHb`qJK}|EZ + +- 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 + +------------------------------------------------------------------- +Tue Dec 6 21:30:50 UTC 2022 - Andreas Stieger + +- pcre2 10.41: + * pcre2grep behaves more like GNU grep for multiple patterns that + match more than once on a line + ------------------------------------------------------------------- Sun Jul 31 06:54:48 UTC 2022 - Stephan Kulow diff --git a/pcre2.spec b/pcre2.spec index 9baffe7..f1ff5eb 100644 --- a/pcre2.spec +++ b/pcre2.spec @@ -18,7 +18,7 @@ %global _lto_cflags %{_lto_cflags} -ffat-lto-objects Name: pcre2 -Version: 10.40 +Version: 10.42 Release: 0 Summary: A library for Perl-compatible regular expressions License: BSD-3-Clause From 997bfce84498ae5faff80b83c2529c4dbb31bebd38f3be4a85e73ebc15931a42 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sun, 18 Dec 2022 16:22:20 +0000 Subject: [PATCH 28/32] Accepting request 1043089 from devel:libraries:c_c++ ------------------------------------------------------------------ - switch to pkgconfig(zlib) so that alternative providers can be used OBS-URL: https://build.opensuse.org/request/show/1043089 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcre2?expand=0&rev=28 --- pcre2.changes | 8 +++++++- pcre2.spec | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/pcre2.changes b/pcre2.changes index 9d48d94..a46bbc1 100644 --- a/pcre2.changes +++ b/pcre2.changes @@ -1,4 +1,4 @@ -------------------------------------------------------------------- +------------------------------------------------------------------ Mon Dec 12 20:19:14 UTC 2022 - Andreas Stieger - pcre2 10.42: @@ -8,6 +8,12 @@ Mon Dec 12 20:19:14 UTC 2022 - Andreas Stieger couldn't compile * Fix an intermittent JIT fault and minor issues +------------------------------------------------------------------- +Mon Dec 12 08:58:58 UTC 2022 - Dirk Müller + +- switch to pkgconfig(zlib) so that alternative providers can be + used + ------------------------------------------------------------------- Tue Dec 6 21:30:50 UTC 2022 - Andreas Stieger diff --git a/pcre2.spec b/pcre2.spec index f1ff5eb..e45711a 100644 --- a/pcre2.spec +++ b/pcre2.spec @@ -37,7 +37,7 @@ BuildRequires: libbz2-devel BuildRequires: libedit-devel BuildRequires: libtool BuildRequires: pkgconfig -BuildRequires: zlib-devel +BuildRequires: pkgconfig(zlib) %description The PCRE2 library is a set of functions that implement regular From 544cbbdca762c59d1ccae3a3708f48556c3690e07cbb5da60835ff6513a35ada Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 22 Dec 2022 15:21:44 +0000 Subject: [PATCH 29/32] Accepting request 1044235 from devel:libraries:c_c++ Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/1044235 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcre2?expand=0&rev=29 --- pcre2.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcre2.changes b/pcre2.changes index a46bbc1..fedf99c 100644 --- a/pcre2.changes +++ b/pcre2.changes @@ -1,4 +1,4 @@ ------------------------------------------------------------------- +------------------------------------------------------------------- Mon Dec 12 20:19:14 UTC 2022 - Andreas Stieger - pcre2 10.42: From c3226beca3299f07caaeb802479c5c9654a971baa73462fdf7a142f6df1a7f71 Mon Sep 17 00:00:00 2001 From: Ana Guerrero Date: Fri, 23 Feb 2024 15:44:47 +0000 Subject: [PATCH 30/32] Accepting request 1148531 from devel:libraries:c_c++ OBS-URL: https://build.opensuse.org/request/show/1148531 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcre2?expand=0&rev=30 --- pcre2-10.42.tar.bz2 | 3 --- pcre2-10.42.tar.bz2.sig | Bin 310 -> 0 bytes pcre2-10.43.tar.bz2 | 3 +++ pcre2-10.43.tar.bz2.sig | Bin 0 -> 310 bytes pcre2.changes | 38 ++++++++++++++++++++++++++++++++++++++ pcre2.spec | 16 +++++++--------- 6 files changed, 48 insertions(+), 12 deletions(-) delete mode 100644 pcre2-10.42.tar.bz2 delete mode 100644 pcre2-10.42.tar.bz2.sig create mode 100644 pcre2-10.43.tar.bz2 create mode 100644 pcre2-10.43.tar.bz2.sig diff --git a/pcre2-10.42.tar.bz2 b/pcre2-10.42.tar.bz2 deleted file mode 100644 index 7490eab..0000000 --- a/pcre2-10.42.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8d36cd8cb6ea2a4c2bb358ff6411b0c788633a2a45dabbf1aeb4b701d1b5e840 -size 1799866 diff --git a/pcre2-10.42.tar.bz2.sig b/pcre2-10.42.tar.bz2.sig deleted file mode 100644 index a0b083bc0fb22d7fcaa35c02a76d1a82bd053fbf1626eeabd466df4d541139ad..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 310 zcmV-60m=S}0W$;u0SEvc79j*h_Kj4#;y<$kn?~iAX5fVT4@1}m0%Mn8;{XZ?5SM1) zg!>Oe*j4)n|9*djAvbp5^DS*M762ch z=NBZpg%+kX8LKMs>Go+&fm)xZPJ)M%`0|Y+=FBaxxZLhypIor@Cv#yei#vQ# zEHe#WJ~be!NYW#k=ytcRbPV0ZOEhFBpE#5hN)=R6WpV_~%M)8(sxTF(EWj8cliG3( z3pQY{)w(01xmY*B4o$%QZZStvX`tU$tx)B_q50vdhscI6#EsS&rE#b3OgeGVv(zWI z<`@8H1@EHzy}(v$*w}9z6ag;H*Fawj_7ygjBHb`qJK}|EZL%5SM1) zg!>Oe*i&=|{xmOpdz++6-&NhfG7X^cHIz{w;=P(vYVI{?DGYn*6|t=Ln+KpGAo+LRTtReB)jrlP}5vpW0Ov0PqH1 zh5w0HU+721YV3+;sPk#yX8DGMc3KtTDN~SSxwLkgI>b>|xDh^)!DUjm+b0;AW^9>k z{B31_4(2KjGd=pNGEENogIXkK0s%(oI8+fQW>cYHI%n(e@NL + +- pcre2 10.43: + * The JIT code no longer supports ARMv5 architecture. + * A new function pcre2_get_match_data_heapframes_size() for finer + heap control. + * New option flags to restrict the interaction between ASCII and + non-ASCII characters for caseless matching and \d and friends. + There are also new pattern constructs to control these flags + from within a pattern. + * Upgrade to Unicode 15.0.0. + * Treat a NULL pattern with zero length as an empty string. + * Added support for limited-length variable-length lookbehind + assertions, with a default maximum length of 255 characters + (same as Perl) but with a function to adjust the limit. + * Perl changed the meaning of (for example) {,3} which did not + used to be recognized as a quantifier. Now it means {0,3} and + PCRE2 has also changed. Note that {,} is still not a + quantifier. + * Following Perl, allow spaces and tabs after { and before } in + all Perl- compatible items that use braces, and also around + commas in quantifiers. The one exception in PCRE2 is \u{...}, + which is from ECMAScript, not Perl, and PCRE2 follows + ECMAScript usage. + * Changed the meaning of \w and its synonyms and derivatives (\b + and \B) in UCP mode to follow Perl. It now matches characters + whose general categories are L or N or whose particular + categories are Mn (non-spacing mark) or Pc (combining + punctuation). + * Changed the default meaning of [:xdigit:] in UCP mode to + follow Perl. It now matches the "fullwidth" versions of hex + digits. PCRE2_EXTRA_ASCII_DIGIT can be used to keep it ASCII + only. + * Make PCRE2_UCP the default in UTF mode in pcre2grep and add + -no_ucp, --case-restrict and --posix-digit. + * Add --group-separator and --no-group-separator to pcre2grep. + ------------------------------------------------------------------- Mon Dec 12 20:19:14 UTC 2022 - Andreas Stieger diff --git a/pcre2.spec b/pcre2.spec index e45711a..67d552f 100644 --- a/pcre2.spec +++ b/pcre2.spec @@ -2,6 +2,7 @@ # spec file for package pcre2 # # Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 Andreas Stieger # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +19,7 @@ %global _lto_cflags %{_lto_cflags} -ffat-lto-objects Name: pcre2 -Version: 10.42 +Version: 10.43 Release: 0 Summary: A library for Perl-compatible regular expressions License: BSD-3-Clause @@ -207,14 +208,10 @@ find %{buildroot} -type f -name "*.la" -delete -print export LANG=POSIX %make_build check -j1 -%post -n libpcre2-8-0 -p /sbin/ldconfig -%postun -n libpcre2-8-0 -p /sbin/ldconfig -%post -n libpcre2-16-0 -p /sbin/ldconfig -%postun -n libpcre2-16-0 -p /sbin/ldconfig -%post -n libpcre2-32-0 -p /sbin/ldconfig -%postun -n libpcre2-32-0 -p /sbin/ldconfig -%post -n libpcre2-posix3 -p /sbin/ldconfig -%postun -n libpcre2-posix3 -p /sbin/ldconfig +%ldconfig_scriptlets -n libpcre2-8-0 +%ldconfig_scriptlets -n libpcre2-16-0 +%ldconfig_scriptlets -n libpcre2-32-0 +%ldconfig_scriptlets -n libpcre2-posix3 %files -n libpcre2-8-0 %license COPYING LICENCE @@ -259,6 +256,7 @@ export LANG=POSIX %{_mandir}/man3/*%{ext_man} %files devel-static +%license LICENCE %{_libdir}/*.a %changelog From 9b21345dbad726f74caf93661a25d60c96f7e3a6d5584b1105e2c98426a79a39 Mon Sep 17 00:00:00 2001 From: Ana Guerrero Date: Wed, 24 Apr 2024 13:13:51 +0000 Subject: [PATCH 31/32] Accepting request 1169902 from devel:libraries:c_c++ - build x86_64-v3 optimized libs Unicode 4-letter abbreviations for script names, implement * Following Perl's lead, \K is now locked out in lookaround * removal of the actual POSIX names regcomp etc. from the POSIX - Build with --enable-jit-sealloc option, otherwise when + bsc#1037165: crash for forward reference in lookbehind with lookup (bsc#1030066) - Enable JIT on ppc64le as well - Ensure the PCRE library and tools are built with large file - fix baselibs - Update to PCRE 8.30, upstream SONAME bump, libpcre1 - Fix cache-flush on PPC - Update to version 8.20 * replace pcre-visibility patch with the one I submitted to * the Unicode data tables have been updated to Unicode 6.0.0. - remove fragile _service - Support GCC visibility, symbol clashes no more. - disable static libraries, shouldn't be used now functional additions. * More bug fixes, plus a performance improvement - The main reason for having this release so soon after 7.5 is because it fixes a potential buffer overflow problem in pcre_compile() when run in UTF-8 mode. In addition, the CMake configuration files have been brought up to date. Windows environments %n is disabled by default. to mention here, see changelog.txt for details. - update to latest version v5.0 - removed bogus self-provides - pcre 3.5 - fixed manpath OBS-URL: https://build.opensuse.org/request/show/1169902 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcre2?expand=0&rev=31 --- pcre2.changes | 61 ++++++++++++++++++++++++++++----------------------- pcre2.spec | 3 ++- 2 files changed, 35 insertions(+), 29 deletions(-) diff --git a/pcre2.changes b/pcre2.changes index 809baa2..107de84 100644 --- a/pcre2.changes +++ b/pcre2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 23 14:51:10 UTC 2024 - Dirk Müller + +- build x86_64-v3 optimized libs + ------------------------------------------------------------------- Fri Feb 16 21:06:08 UTC 2024 - Andreas Stieger @@ -85,7 +90,7 @@ Sat Apr 16 10:50:31 UTC 2022 - Andreas Stieger \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 4-letter abbreviations for script names, implement Unicode and Perl's "loose matching" rules on property names ------------------------------------------------------------------- @@ -100,7 +105,7 @@ Fri Nov 5 19:01:43 UTC 2021 - Andreas Stieger Sun Oct 24 14:41:00 UTC 2021 - Andreas Stieger - pcre2 10.38: - * Following Perl's lead, \K is now locked out in lookaround + * 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 @@ -108,7 +113,7 @@ Sun Oct 24 14:41:00 UTC 2021 - Andreas Stieger Thu May 27 12:30:17 UTC 2021 - Andreas Stieger - pcre2 10.37: - * removal of the actual POSIX names regcomp etc. from the POSIX + * 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 @@ -254,7 +259,7 @@ Mon Jan 14 16:11:53 CET 2019 - kukuk@suse.de ------------------------------------------------------------------- Tue Dec 11 14:31:55 UTC 2018 - Cristian Rodríguez -- Build with --enable-jit-sealloc option, otherwise when +- 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. @@ -319,12 +324,12 @@ Mon Sep 11 18:14:30 UTC 2017 - jengelh@inai.de 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 + + 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) + lookup (bsc#1030066) - Switch source URLs to use HTTP. ------------------------------------------------------------------- @@ -486,7 +491,7 @@ Thu Aug 28 03:10:39 UTC 2014 - crrodriguez@opensuse.org ------------------------------------------------------------------- Mon Jun 16 14:44:43 UTC 2014 - dvaleev@suse.com -- Enable JIT on ppc64le as well +- Enable JIT on ppc64le as well ------------------------------------------------------------------- Sat May 3 06:07:56 UTC 2014 - coolo@suse.com @@ -547,7 +552,7 @@ Thu Jun 13 16:20:10 UTC 2013 - jengelh@inai.de ------------------------------------------------------------------- Sat Jun 8 20:16:10 UTC 2013 - crrodriguez@opensuse.org -- Ensure the PCRE library and tools are built with large file +- Ensure the PCRE library and tools are built with large file support in 32 bit archs. ------------------------------------------------------------------- @@ -626,19 +631,19 @@ Thu May 10 15:59:21 UTC 2012 - afaerber@suse.de ------------------------------------------------------------------- Tue Feb 7 15:10:59 UTC 2012 - crrodriguez@opensuse.org -- fix baselibs +- fix baselibs ------------------------------------------------------------------- Tue Feb 7 04:40:59 UTC 2012 - crrodriguez@opensuse.org -- Update to PCRE 8.30, upstream SONAME bump, libpcre1 +- Update to PCRE 8.30, upstream SONAME bump, libpcre1 - Drop no longer needed ppc patch. - move library back to %{_libdir} ------------------------------------------------------------------- Wed Feb 1 10:44:38 UTC 2012 - dvaleev@suse.com -- Fix cache-flush on PPC +- Fix cache-flush on PPC ------------------------------------------------------------------- Wed Nov 16 08:17:40 UTC 2011 - coolo@suse.com @@ -648,9 +653,9 @@ Wed Nov 16 08:17:40 UTC 2011 - coolo@suse.com ------------------------------------------------------------------- Tue Nov 1 16:16:49 UTC 2011 - crrodriguez@opensuse.org -- Update to version 8.20 +- Update to version 8.20 * too many fixes to list here, see included ChangeLog - * replace pcre-visibility patch with the one I submitted to + * replace pcre-visibility patch with the one I submitted to upstream for inclusion. ------------------------------------------------------------------- @@ -658,12 +663,12 @@ Tue Oct 11 22:39:57 UTC 2011 - dmueller@suse.de - udpate to 8.13: * too many fixes to list here, see included ChangeLog - * the Unicode data tables have been updated to Unicode 6.0.0. + * the Unicode data tables have been updated to Unicode 6.0.0. ------------------------------------------------------------------- Mon Sep 19 15:15:41 UTC 2011 - coolo@suse.com -- remove fragile _service +- remove fragile _service ------------------------------------------------------------------- Wed Mar 9 14:20:37 UTC 2011 - coolo@novell.com @@ -694,7 +699,7 @@ Wed Mar 9 14:20:37 UTC 2011 - coolo@novell.com ------------------------------------------------------------------- Sat Oct 30 02:15:06 UTC 2010 - cristian.rodriguez@opensuse.org -- Support GCC visibility, symbol clashes no more. +- Support GCC visibility, symbol clashes no more. ------------------------------------------------------------------- Sun Sep 19 11:03:57 CEST 2010 - vuntz@opensuse.org @@ -783,7 +788,7 @@ Wed Jun 10 13:03:11 CEST 2009 - coolo@novell.com ------------------------------------------------------------------- Fri Jun 5 23:13:22 CEST 2009 - crrodriguez@suse.de -- disable static libraries, shouldn't be used now +- disable static libraries, shouldn't be used now ------------------------------------------------------------------- Sat May 30 22:02:07 CEST 2009 - dmueller@suse.de @@ -800,7 +805,7 @@ Tue May 5 14:24:17 CEST 2009 - ms@suse.de - Release 7.9 11-Apr-09 (bnc #500734) Mostly bugfixes and tidies with just a couple of minor - functional additions. + functional additions. ------------------------------------------------------------------- Wed Jan 7 12:34:56 CET 2009 - olh@suse.de @@ -811,7 +816,7 @@ Wed Jan 7 12:34:56 CET 2009 - olh@suse.de Fri Sep 12 01:51:31 CEST 2008 - crrodriguez@suse.de - update to PCRE 7.8 - * More bug fixes, plus a performance improvement + * More bug fixes, plus a performance improvement in Unicode character property lookup. see complete changelog at http://www.pcre.org/changelog.txt @@ -826,9 +831,9 @@ Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de Fri Feb 1 19:43:16 CET 2008 - crrodriguez@suse.de - update to version 7.6 -- The main reason for having this release so soon after 7.5 - is because it fixes a potential buffer overflow problem in pcre_compile() - when run in UTF-8 mode. In addition, the CMake configuration files have been brought up to date. +- The main reason for having this release so soon after 7.5 + is because it fixes a potential buffer overflow problem in pcre_compile() + when run in UTF-8 mode. In addition, the CMake configuration files have been brought up to date. ------------------------------------------------------------------- Sun Jan 13 09:08:22 CET 2008 - crrodriguez@suse.de @@ -965,14 +970,14 @@ Sun Jan 13 09:08:22 CET 2008 - crrodriguez@suse.de Perl does, and where it didn't before. 24. Rewrite so as to remove the single use of %n from pcregrep because in some - Windows environments %n is disabled by default. + Windows environments %n is disabled by default. ------------------------------------------------------------------- Tue Nov 6 08:15:28 CET 2007 - crrodriguez@suse.de - update to version 7.4, since version 7.2, more than 40 bugs were fixed including multiple vulnerabilities [#325921] . The list of changes is too long - to mention here, see changelog.txt for details. + to mention here, see changelog.txt for details. ------------------------------------------------------------------- Wed Aug 8 12:46:16 CEST 2007 - ms@suse.de @@ -1317,7 +1322,7 @@ Thu Mar 31 17:39:53 CEST 2005 - uli@suse.de ------------------------------------------------------------------- Mon Nov 22 17:12:31 CET 2004 - choeger@suse.de -- update to latest version v5.0 +- update to latest version v5.0 ------------------------------------------------------------------- Mon Jun 7 11:40:27 CEST 2004 - choeger@suse.de @@ -1359,7 +1364,7 @@ Fri Dec 6 04:42:15 CET 2002 - coolo@suse.de ------------------------------------------------------------------- Tue Sep 17 17:34:28 CEST 2002 - ro@suse.de -- removed bogus self-provides +- removed bogus self-provides ------------------------------------------------------------------- Fri Apr 5 10:57:15 CEST 2002 - coolo@suse.de @@ -1376,7 +1381,7 @@ Tue Jan 22 19:07:26 CET 2002 - choeger@suse.de ------------------------------------------------------------------- Tue Aug 21 01:11:46 MEST 2001 - mge@suse.de -- pcre 3.5 +- pcre 3.5 ------------------------------------------------------------------- Wed Apr 11 22:26:54 CEST 2001 - froh@suse.de @@ -1396,7 +1401,7 @@ Tue Jun 27 19:41:41 MEST 2000 - mge@suse.de ------------------------------------------------------------------- Thu Mar 2 12:22:48 CET 2000 - mge@suse.de -- fixed manpath +- fixed manpath ------------------------------------------------------------------- Sun Feb 13 16:54:53 MET 2000 - mge@suse.de diff --git a/pcre2.spec b/pcre2.spec index 67d552f..7ab0f31 100644 --- a/pcre2.spec +++ b/pcre2.spec @@ -1,7 +1,7 @@ # # spec file for package pcre2 # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # Copyright (c) 2024 Andreas Stieger # # All modifications and additions to the file contributed by third parties @@ -39,6 +39,7 @@ BuildRequires: libedit-devel BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: pkgconfig(zlib) +%{?suse_build_hwcaps_libs} %description The PCRE2 library is a set of functions that implement regular From 56e8c9e0b9b5f7495d55aba6469515d049d8605d2c175ec86f72493654fd51f2 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sun, 28 Apr 2024 10:12:25 +0000 Subject: [PATCH 32/32] Accepting request 1170573 from openSUSE:Factory Revert, see https://bugzilla.suse.com/show_bug.cgi?id=1223442 OBS-URL: https://build.opensuse.org/request/show/1170573 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcre2?expand=0&rev=32 --- pcre2.changes | 61 +++++++++++++++++++++++---------------------------- pcre2.spec | 3 +-- 2 files changed, 29 insertions(+), 35 deletions(-) diff --git a/pcre2.changes b/pcre2.changes index 107de84..809baa2 100644 --- a/pcre2.changes +++ b/pcre2.changes @@ -1,8 +1,3 @@ -------------------------------------------------------------------- -Tue Apr 23 14:51:10 UTC 2024 - Dirk Müller - -- build x86_64-v3 optimized libs - ------------------------------------------------------------------- Fri Feb 16 21:06:08 UTC 2024 - Andreas Stieger @@ -90,7 +85,7 @@ Sat Apr 16 10:50:31 UTC 2022 - Andreas Stieger \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 4-letter abbreviations for script names, implement Unicode and Perl's "loose matching" rules on property names ------------------------------------------------------------------- @@ -105,7 +100,7 @@ Fri Nov 5 19:01:43 UTC 2021 - Andreas Stieger Sun Oct 24 14:41:00 UTC 2021 - Andreas Stieger - pcre2 10.38: - * Following Perl's lead, \K is now locked out in lookaround + * 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 @@ -113,7 +108,7 @@ Sun Oct 24 14:41:00 UTC 2021 - Andreas Stieger Thu May 27 12:30:17 UTC 2021 - Andreas Stieger - pcre2 10.37: - * removal of the actual POSIX names regcomp etc. from the POSIX + * 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 @@ -259,7 +254,7 @@ Mon Jan 14 16:11:53 CET 2019 - kukuk@suse.de ------------------------------------------------------------------- Tue Dec 11 14:31:55 UTC 2018 - Cristian Rodríguez -- Build with --enable-jit-sealloc option, otherwise when +- 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. @@ -324,12 +319,12 @@ Mon Sep 11 18:14:30 UTC 2017 - jengelh@inai.de 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 + + 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) + lookup (bsc#1030066) - Switch source URLs to use HTTP. ------------------------------------------------------------------- @@ -491,7 +486,7 @@ Thu Aug 28 03:10:39 UTC 2014 - crrodriguez@opensuse.org ------------------------------------------------------------------- Mon Jun 16 14:44:43 UTC 2014 - dvaleev@suse.com -- Enable JIT on ppc64le as well +- Enable JIT on ppc64le as well ------------------------------------------------------------------- Sat May 3 06:07:56 UTC 2014 - coolo@suse.com @@ -552,7 +547,7 @@ Thu Jun 13 16:20:10 UTC 2013 - jengelh@inai.de ------------------------------------------------------------------- Sat Jun 8 20:16:10 UTC 2013 - crrodriguez@opensuse.org -- Ensure the PCRE library and tools are built with large file +- Ensure the PCRE library and tools are built with large file support in 32 bit archs. ------------------------------------------------------------------- @@ -631,19 +626,19 @@ Thu May 10 15:59:21 UTC 2012 - afaerber@suse.de ------------------------------------------------------------------- Tue Feb 7 15:10:59 UTC 2012 - crrodriguez@opensuse.org -- fix baselibs +- fix baselibs ------------------------------------------------------------------- Tue Feb 7 04:40:59 UTC 2012 - crrodriguez@opensuse.org -- Update to PCRE 8.30, upstream SONAME bump, libpcre1 +- Update to PCRE 8.30, upstream SONAME bump, libpcre1 - Drop no longer needed ppc patch. - move library back to %{_libdir} ------------------------------------------------------------------- Wed Feb 1 10:44:38 UTC 2012 - dvaleev@suse.com -- Fix cache-flush on PPC +- Fix cache-flush on PPC ------------------------------------------------------------------- Wed Nov 16 08:17:40 UTC 2011 - coolo@suse.com @@ -653,9 +648,9 @@ Wed Nov 16 08:17:40 UTC 2011 - coolo@suse.com ------------------------------------------------------------------- Tue Nov 1 16:16:49 UTC 2011 - crrodriguez@opensuse.org -- Update to version 8.20 +- Update to version 8.20 * too many fixes to list here, see included ChangeLog - * replace pcre-visibility patch with the one I submitted to + * replace pcre-visibility patch with the one I submitted to upstream for inclusion. ------------------------------------------------------------------- @@ -663,12 +658,12 @@ Tue Oct 11 22:39:57 UTC 2011 - dmueller@suse.de - udpate to 8.13: * too many fixes to list here, see included ChangeLog - * the Unicode data tables have been updated to Unicode 6.0.0. + * the Unicode data tables have been updated to Unicode 6.0.0. ------------------------------------------------------------------- Mon Sep 19 15:15:41 UTC 2011 - coolo@suse.com -- remove fragile _service +- remove fragile _service ------------------------------------------------------------------- Wed Mar 9 14:20:37 UTC 2011 - coolo@novell.com @@ -699,7 +694,7 @@ Wed Mar 9 14:20:37 UTC 2011 - coolo@novell.com ------------------------------------------------------------------- Sat Oct 30 02:15:06 UTC 2010 - cristian.rodriguez@opensuse.org -- Support GCC visibility, symbol clashes no more. +- Support GCC visibility, symbol clashes no more. ------------------------------------------------------------------- Sun Sep 19 11:03:57 CEST 2010 - vuntz@opensuse.org @@ -788,7 +783,7 @@ Wed Jun 10 13:03:11 CEST 2009 - coolo@novell.com ------------------------------------------------------------------- Fri Jun 5 23:13:22 CEST 2009 - crrodriguez@suse.de -- disable static libraries, shouldn't be used now +- disable static libraries, shouldn't be used now ------------------------------------------------------------------- Sat May 30 22:02:07 CEST 2009 - dmueller@suse.de @@ -805,7 +800,7 @@ Tue May 5 14:24:17 CEST 2009 - ms@suse.de - Release 7.9 11-Apr-09 (bnc #500734) Mostly bugfixes and tidies with just a couple of minor - functional additions. + functional additions. ------------------------------------------------------------------- Wed Jan 7 12:34:56 CET 2009 - olh@suse.de @@ -816,7 +811,7 @@ Wed Jan 7 12:34:56 CET 2009 - olh@suse.de Fri Sep 12 01:51:31 CEST 2008 - crrodriguez@suse.de - update to PCRE 7.8 - * More bug fixes, plus a performance improvement + * More bug fixes, plus a performance improvement in Unicode character property lookup. see complete changelog at http://www.pcre.org/changelog.txt @@ -831,9 +826,9 @@ Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de Fri Feb 1 19:43:16 CET 2008 - crrodriguez@suse.de - update to version 7.6 -- The main reason for having this release so soon after 7.5 - is because it fixes a potential buffer overflow problem in pcre_compile() - when run in UTF-8 mode. In addition, the CMake configuration files have been brought up to date. +- The main reason for having this release so soon after 7.5 + is because it fixes a potential buffer overflow problem in pcre_compile() + when run in UTF-8 mode. In addition, the CMake configuration files have been brought up to date. ------------------------------------------------------------------- Sun Jan 13 09:08:22 CET 2008 - crrodriguez@suse.de @@ -970,14 +965,14 @@ Sun Jan 13 09:08:22 CET 2008 - crrodriguez@suse.de Perl does, and where it didn't before. 24. Rewrite so as to remove the single use of %n from pcregrep because in some - Windows environments %n is disabled by default. + Windows environments %n is disabled by default. ------------------------------------------------------------------- Tue Nov 6 08:15:28 CET 2007 - crrodriguez@suse.de - update to version 7.4, since version 7.2, more than 40 bugs were fixed including multiple vulnerabilities [#325921] . The list of changes is too long - to mention here, see changelog.txt for details. + to mention here, see changelog.txt for details. ------------------------------------------------------------------- Wed Aug 8 12:46:16 CEST 2007 - ms@suse.de @@ -1322,7 +1317,7 @@ Thu Mar 31 17:39:53 CEST 2005 - uli@suse.de ------------------------------------------------------------------- Mon Nov 22 17:12:31 CET 2004 - choeger@suse.de -- update to latest version v5.0 +- update to latest version v5.0 ------------------------------------------------------------------- Mon Jun 7 11:40:27 CEST 2004 - choeger@suse.de @@ -1364,7 +1359,7 @@ Fri Dec 6 04:42:15 CET 2002 - coolo@suse.de ------------------------------------------------------------------- Tue Sep 17 17:34:28 CEST 2002 - ro@suse.de -- removed bogus self-provides +- removed bogus self-provides ------------------------------------------------------------------- Fri Apr 5 10:57:15 CEST 2002 - coolo@suse.de @@ -1381,7 +1376,7 @@ Tue Jan 22 19:07:26 CET 2002 - choeger@suse.de ------------------------------------------------------------------- Tue Aug 21 01:11:46 MEST 2001 - mge@suse.de -- pcre 3.5 +- pcre 3.5 ------------------------------------------------------------------- Wed Apr 11 22:26:54 CEST 2001 - froh@suse.de @@ -1401,7 +1396,7 @@ Tue Jun 27 19:41:41 MEST 2000 - mge@suse.de ------------------------------------------------------------------- Thu Mar 2 12:22:48 CET 2000 - mge@suse.de -- fixed manpath +- fixed manpath ------------------------------------------------------------------- Sun Feb 13 16:54:53 MET 2000 - mge@suse.de diff --git a/pcre2.spec b/pcre2.spec index 7ab0f31..67d552f 100644 --- a/pcre2.spec +++ b/pcre2.spec @@ -1,7 +1,7 @@ # # spec file for package pcre2 # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2022 SUSE LLC # Copyright (c) 2024 Andreas Stieger # # All modifications and additions to the file contributed by third parties @@ -39,7 +39,6 @@ BuildRequires: libedit-devel BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: pkgconfig(zlib) -%{?suse_build_hwcaps_libs} %description The PCRE2 library is a set of functions that implement regular