Files
bpfire/lfs/pcre2
Adolf Belka 21cddb3bd2 pcre2: Update to version 10.43
- Update from version 10.42 to 10.43
- Update of rootfile
- Changelog
    10.43
	There are quite a lot of changes in this release (see ChangeLog and git log for
	a list). Those that are not bugfixes or code tidies are:
	* 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.
	* Support for LoongArch in JIT.
	* 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.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-06-27 07:54:34 +02:00

92 lines
3.4 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2024 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
VER = 10.43
THISAPP = pcre2-$(VER)
DL_FILE = $(THISAPP).tar.bz2
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
CONFIGURE_ARGS = \
--prefix=/usr \
--disable-static \
--enable-unicode \
--enable-pcre2-16 \
--enable-pcre2-32 \
--docdir=/usr/share/doc/pcre-$(THISAPP)
ifeq "$(BUILD_ARCH)" "riscv64"
CONFIGURE_ARGS += --disable-jit
else
CONFIGURE_ARGS += --enable-jit
endif
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = f87f9f36dd6a806cdba1f077f51b53da2583f1898f83e41d594622b28ac8efbc1b2d122b752a9d6cd461fe0e3c7c85ee93358443df518a336da4ee9d72cca808
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
b2 : $(subst %,%_BLAKE2,$(objects))
###############################################################################
# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_BLAKE2,$(objects)) :
@$(B2SUM)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && ./configure $(CONFIGURE_ARGS)
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
@$(POSTBUILD)