pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/pcre2 Updated pcre2 to 10.23.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cbe0f3c6ed1e
branches:  trunk
changeset: 358767:cbe0f3c6ed1e
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Feb 20 09:44:34 2017 +0000

description:
Updated pcre2 to 10.23.

Version 10.23 14-February-2017
------------------------------

1. ChangeLog has the details of a lot of bug fixes and tidies.

2. There has been a major re-factoring of the pcre2_compile.c file. Most syntax
checking is now done in the pre-pass that identifies capturing groups. This has
reduced the amount of duplication and made the code tidier. While doing this,
some minor bugs and Perl incompatibilities were fixed (see ChangeLog for
details.)

3. 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.

4. \g{+<number>} (e.g. \g{+2} ) is now supported. It is a "forward back
reference" and can be useful in repetitions (compare \g{-<number>} ). Perl does
not recognize this syntax.

5. pcre2grep now automatically expands its buffer up to a maximum set by
--max-buffer-size.

6. The -t option (grand total) has been added to pcre2grep.

7. 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.

8. A user supplied a number of patches to upgrade pcre2grep under Windows and
tidy the code.

9. Several updates have been made to pcre2test and test scripts (see
ChangeLog).

diffstat:

 devel/pcre2/Makefile |   5 ++---
 devel/pcre2/PLIST    |   6 +++++-
 devel/pcre2/distinfo |  10 +++++-----
 3 files changed, 12 insertions(+), 9 deletions(-)

diffs (69 lines):

diff -r c89686f2f7fb -r cbe0f3c6ed1e devel/pcre2/Makefile
--- a/devel/pcre2/Makefile      Mon Feb 20 09:37:11 2017 +0000
+++ b/devel/pcre2/Makefile      Mon Feb 20 09:44:34 2017 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2017/01/19 18:52:07 agc Exp $
+# $NetBSD: Makefile,v 1.8 2017/02/20 09:44:34 wiz Exp $
 
-DISTNAME=      pcre2-10.22
-PKGREVISION=   1
+DISTNAME=      pcre2-10.23
 CATEGORIES=    devel
 MASTER_SITES=  ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
 MASTER_SITES+= ${MASTER_SITE_SOURCEFORGE:=pcre/}
diff -r c89686f2f7fb -r cbe0f3c6ed1e devel/pcre2/PLIST
--- a/devel/pcre2/PLIST Mon Feb 20 09:37:11 2017 +0000
+++ b/devel/pcre2/PLIST Mon Feb 20 09:44:34 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2016/09/11 14:39:27 mef Exp $
+@comment $NetBSD: PLIST,v 1.6 2017/02/20 09:44:34 wiz Exp $
 bin/pcre2-config
 bin/pcre2grep
 bin/pcre2test
@@ -18,6 +18,7 @@
 man/man3/pcre2.3
 man/man3/pcre2_callout_enumerate.3
 man/man3/pcre2_code_copy.3
+man/man3/pcre2_code_copy_with_tables.3
 man/man3/pcre2_code_free.3
 man/man3/pcre2_compile.3
 man/man3/pcre2_compile_context_copy.3
@@ -57,6 +58,7 @@
 man/man3/pcre2_set_character_tables.3
 man/man3/pcre2_set_compile_recursion_guard.3
 man/man3/pcre2_set_match_limit.3
+man/man3/pcre2_set_max_pattern_length.3
 man/man3/pcre2_set_newline.3
 man/man3/pcre2_set_offset_limit.3
 man/man3/pcre2_set_parens_nest_limit.3
@@ -104,6 +106,7 @@
 share/doc/pcre2/html/pcre2.html
 share/doc/pcre2/html/pcre2_callout_enumerate.html
 share/doc/pcre2/html/pcre2_code_copy.html
+share/doc/pcre2/html/pcre2_code_copy_with_tables.html
 share/doc/pcre2/html/pcre2_code_free.html
 share/doc/pcre2/html/pcre2_compile.html
 share/doc/pcre2/html/pcre2_compile_context_copy.html
@@ -143,6 +146,7 @@
 share/doc/pcre2/html/pcre2_set_character_tables.html
 share/doc/pcre2/html/pcre2_set_compile_recursion_guard.html
 share/doc/pcre2/html/pcre2_set_match_limit.html
+share/doc/pcre2/html/pcre2_set_max_pattern_length.html
 share/doc/pcre2/html/pcre2_set_newline.html
 share/doc/pcre2/html/pcre2_set_offset_limit.html
 share/doc/pcre2/html/pcre2_set_parens_nest_limit.html
diff -r c89686f2f7fb -r cbe0f3c6ed1e devel/pcre2/distinfo
--- a/devel/pcre2/distinfo      Mon Feb 20 09:37:11 2017 +0000
+++ b/devel/pcre2/distinfo      Mon Feb 20 09:44:34 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2016/09/11 14:39:27 mef Exp $
+$NetBSD: distinfo,v 1.6 2017/02/20 09:44:34 wiz Exp $
 
-SHA1 (pcre2-10.22.tar.bz2) = 3be3891e1cb1caaa31fa89db51d015831f8f8089
-RMD160 (pcre2-10.22.tar.bz2) = df5b3c6b431fff1a0a933a4ebeb07f209afc0d76
-SHA512 (pcre2-10.22.tar.bz2) = dcf70b5e5b73f29188a56e4d9efb9afdf2b9ebe50e13a7640b80f543851235a289e476e1f517f49fac9628b456268bcdaf2b492237bc879ddff36f84ef4f32ea
-Size (pcre2-10.22.tar.bz2) = 1470620 bytes
+SHA1 (pcre2-10.23.tar.bz2) = 7d2a91609d298a77f8093775209b44b143fdc149
+RMD160 (pcre2-10.23.tar.bz2) = aa2207c04403f4dc53d5d29688bf8d639b4247c8
+SHA512 (pcre2-10.23.tar.bz2) = 3e5910bd2405cc35934d91e4be760abe4f2e900202a20b6ba74adb7a3acb2b74b3bf9b0e97e8de10f8e8534133e0722e0bf0f5fb40d6c2c4520d1ed61749d456
+Size (pcre2-10.23.tar.bz2) = 1515314 bytes



Home | Main Index | Thread Index | Old Index