From 9b21345dbad726f74caf93661a25d60c96f7e3a6d5584b1105e2c98426a79a39 Mon Sep 17 00:00:00 2001 From: Ana Guerrero Date: Wed, 24 Apr 2024 13:13:51 +0000 Subject: [PATCH] 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