pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/pcre2



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Oct 22 06:40:26 UTC 2025

Modified Files:
        pkgsrc/devel/pcre2: Makefile PLIST distinfo

Log Message:
pcre2: updated to 10.47

Version 10.47 21-October-2025
-----------------------------

This is a regular semi-annual release, incorporating a few new features and
several maintenance and build improvements.

Only changes to behaviour, changes to the API, and other significant changes
are described here. Please see the ChangeLog and Git log for further details.

* (Powerful new feature) Pattern recursion of the form
"(?1(GROUP_NAME_OR_NUM,...))" acts as a subroutine call which additionally
returns the listed capturing groups to the calling context.

* (Significant bugfix) Fixed a crash in pcre2_callout_enumerate() which is
easily reachable on any pattern that contains a Unicode character class. If your
application uses this function, please read the details for this change and
evaluate its severity for your application.

* (Build change) There are now linker scripts to enable symbol versioning for
the PCRE2 dynamic libraries. Downstream Linux distributions may make use of
this, or disable it with the new Autoconf `--disable-symvers` and CMake
`-DPCRE2_SYMVERS` options. Linux, Solaris, and FreeBSD (GNU ld, LLVM lld, and
Solaris ld) are tested and supported.

* (New API function) Added pcre2_next_match(). This function makes it both
simpler and safer for clients to iterate over all matches in a subject. The
documentation in `pcre2api` also provides improved guidance in the section
"Iterating over all matches".

* (Minor API addition) Added the PCRE2_CONFIG_EFFECTIVE_LINKSIZE option to
pcre2_config().

* (Minor replacement syntax extension) Added support for $+ replacement to
pcre2_substitute().

* (Build change) Modernize the CMake build files, to use the
"$<BUILD_INTERFACE:...>", "$<INSTALL_INTERFACE:...>" and "install(EXPORT...)"
expressions to export the PCRE2 targets.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 pkgsrc/devel/pcre2/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/pcre2/PLIST
cvs rdiff -u -r1.28 -r1.29 pkgsrc/devel/pcre2/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/pcre2/Makefile
diff -u pkgsrc/devel/pcre2/Makefile:1.31 pkgsrc/devel/pcre2/Makefile:1.32
--- pkgsrc/devel/pcre2/Makefile:1.31    Fri Aug 29 08:43:16 2025
+++ pkgsrc/devel/pcre2/Makefile Wed Oct 22 06:40:26 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.31 2025/08/29 08:43:16 adam Exp $
+# $NetBSD: Makefile,v 1.32 2025/10/22 06:40:26 adam Exp $
 
-DISTNAME=      pcre2-10.46
+DISTNAME=      pcre2-10.47
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=PhilipHazel/}
 GITHUB_RELEASE=        ${DISTNAME}

Index: pkgsrc/devel/pcre2/PLIST
diff -u pkgsrc/devel/pcre2/PLIST:1.12 pkgsrc/devel/pcre2/PLIST:1.13
--- pkgsrc/devel/pcre2/PLIST:1.12       Wed Feb  5 16:11:51 2025
+++ pkgsrc/devel/pcre2/PLIST    Wed Oct 22 06:40:26 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.12 2025/02/05 16:11:51 adam Exp $
+@comment $NetBSD: PLIST,v 1.13 2025/10/22 06:40:26 adam Exp $
 bin/pcre2-config
 bin/pcre2grep
 bin/pcre2test
@@ -55,6 +55,7 @@ man/man3/pcre2_match_context_free.3
 man/man3/pcre2_match_data_create.3
 man/man3/pcre2_match_data_create_from_pattern.3
 man/man3/pcre2_match_data_free.3
+man/man3/pcre2_next_match.3
 man/man3/pcre2_pattern_convert.3
 man/man3/pcre2_pattern_info.3
 man/man3/pcre2_serialize_decode.3
@@ -162,6 +163,7 @@ share/doc/pcre2/html/pcre2_match_context
 share/doc/pcre2/html/pcre2_match_data_create.html
 share/doc/pcre2/html/pcre2_match_data_create_from_pattern.html
 share/doc/pcre2/html/pcre2_match_data_free.html
+share/doc/pcre2/html/pcre2_next_match.html
 share/doc/pcre2/html/pcre2_pattern_convert.html
 share/doc/pcre2/html/pcre2_pattern_info.html
 share/doc/pcre2/html/pcre2_serialize_decode.html

Index: pkgsrc/devel/pcre2/distinfo
diff -u pkgsrc/devel/pcre2/distinfo:1.28 pkgsrc/devel/pcre2/distinfo:1.29
--- pkgsrc/devel/pcre2/distinfo:1.28    Fri Aug 29 08:43:16 2025
+++ pkgsrc/devel/pcre2/distinfo Wed Oct 22 06:40:26 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.28 2025/08/29 08:43:16 adam Exp $
+$NetBSD: distinfo,v 1.29 2025/10/22 06:40:26 adam Exp $
 
-BLAKE2s (pcre2-10.46.tar.gz) = 6ee73f0b3a10844a3548812651d4b2a4b1f06e68dee74b80d1b3741c0e399a21
-SHA512 (pcre2-10.46.tar.gz) = 8bc85f1e47633f4cab07e00b65e9f94a38bb8db56d7ea0a3068774a5ccfe5b777e6645c0a345dd265a06aa6672448ad51c9e56636c48ec87dae9f884a998e00b
-Size (pcre2-10.46.tar.gz) = 2718545 bytes
+BLAKE2s (pcre2-10.47.tar.gz) = 9064b84ccf6d6f451384070ff9dd04d516492745d832f1531dc15539ee0064e5
+SHA512 (pcre2-10.47.tar.gz) = e461a95f623fe70136b1a070847f317c56f9a31801181cc8fd7eef8077ae6cccd385d5ccb983f6e9b49245830535e7acddb10c6831c20afb9bdf4f9a45ae48eb
+Size (pcre2-10.47.tar.gz) = 2792969 bytes



Home | Main Index | Thread Index | Old Index