mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Roland Hieber <rhi@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Roland Hieber <rhi@pengutronix.de>
Subject: [ptxdist] [PATCH v2 2/2] libpcre: version bump 8.40 -> 8.43
Date: Wed, 26 Jun 2019 14:43:23 +0200	[thread overview]
Message-ID: <20190626124323.2585-2-rhi@pengutronix.de> (raw)
In-Reply-To: <20190626124323.2585-1-rhi@pengutronix.de>

Also pin down all config options, choosing configure's defaults where no
kconfig options exist, and make the newline option more clear.

configure errors if we set both --enable-utf and --enable-utf8, so set
only one of them:

  configure: error: --enable/disable-utf8 is kept only for compatibility
  reasons and its value is copied to --enable/disable-utf. Newer code
  must use --enable/disable-utf alone.

Some typos were fixed and copyright dates were bumped in the LICENSE
file, adjust its MD5sum.

Signed-off-by: Roland Hieber <rhi@pengutronix.de>

---
v1 -> v2: fix license MD5
---
 rules/libpcre.in   |  3 +++
 rules/libpcre.make | 43 +++++++++++++++++++++++++++++++++----------
 2 files changed, 36 insertions(+), 10 deletions(-)

diff --git a/rules/libpcre.in b/rules/libpcre.in
index f19122126ea5..9d664a248108 100644
--- a/rules/libpcre.in
+++ b/rules/libpcre.in
@@ -20,6 +20,9 @@ if LIBPCRE
 
 config LIBPCRE_ENABLE_NEWLINE_IS_ANYCRLF
 	bool "Enable NL is any CRLF"
+	help
+	  If true, any CR/LF combination is interpreted as a newline.
+	  If false, only LF is interpreted as a newline.
 
 config LIBPCRE_ENABLE_PCREGREP_LIBZ
 	bool "Enable grep libz"
diff --git a/rules/libpcre.make b/rules/libpcre.make
index 97a540fb01b8..90a922a79041 100644
--- a/rules/libpcre.make
+++ b/rules/libpcre.make
@@ -15,15 +15,15 @@ PACKAGES-$(PTXCONF_LIBPCRE) += libpcre
 #
 # Paths and names
 #
-LIBPCRE_VERSION	:= 8.40
-LIBPCRE_MD5	:= 41a842bf7dcecd6634219336e2167d1d
+LIBPCRE_VERSION	:= 8.43
+LIBPCRE_MD5	:= 636222e79e392c3d95dcc545f24f98c4
 LIBPCRE		:= pcre-$(LIBPCRE_VERSION)
 LIBPCRE_SUFFIX	:= tar.bz2
 LIBPCRE_URL	:= $(call ptx/mirror, SF, pcre/$(LIBPCRE).$(LIBPCRE_SUFFIX))
 LIBPCRE_SOURCE	:= $(SRCDIR)/$(LIBPCRE).$(LIBPCRE_SUFFIX)
 LIBPCRE_DIR	:= $(BUILDDIR)/$(LIBPCRE)
 LIBPCRE_LICENSE	:= BSD-3-Clause
-LIBPCRE_LICENSE_FILES := file://LICENCE;md5=60da32d84d067f53e22071c4ecb4384d
+LIBPCRE_LICENSE_FILES := file://LICENCE;md5=91bee59d1b327eb1599b4c673e2fb3d1
 
 # ----------------------------------------------------------------------------
 # Prepare
@@ -32,16 +32,39 @@ LIBPCRE_LICENSE_FILES := file://LICENCE;md5=60da32d84d067f53e22071c4ecb4384d
 #
 # autoconf
 #
-LIBPCRE_AUTOCONF := \
+LIBPCRE_CONF_TOOL	:= autoconf
+LIBPCRE_CONF_OPT	:= \
 	$(CROSS_AUTOCONF_USR) \
+	--enable-pcre8 \
+	--enable-pcre16 \
+	--enable-pcre32 \
+	--$(call ptx/endis, PTXCONF_LIBPCRE_LIBPCRECPP)-cpp \
+	--disable-jit \
+	--enable-pcregrep-jit \
+	--disable-rebuild-chartables \
+	--$(call ptx/endis, PTXCONF_LIBPCRE_ENABLE_UTF8)-utf \
+	--$(call ptx/endis, PTXCONF_LIBPCRE_ENABLE_UTF8)-unicode-properties \
+	--disable-newline-is-cr \
+	--$(call ptx/disen, PTXCONF_LIBPCRE_ENABLE_NEWLINE_IS_ANYCRLF)-newline-is-lf \
+	--disable-newline-is-crlf \
+	--$(call ptx/endis, PTXCONF_LIBPCRE_ENABLE_NEWLINE_IS_ANYCRLF)-newline-is-anycrlf \
+	--disable-newline-is-any \
+	--disable-bsr-anycrlf \
+	--disable-ebcdic \
+	--disable-ebcdic-nl25 \
+	--enable-stack-for-recursion \
 	--$(call ptx/endis, PTXCONF_LIBPCRE_ENABLE_PCREGREP_LIBZ)-pcregrep-libz \
 	--$(call ptx/endis, PTXCONF_LIBPCRE_ENABLE_PCREGREP_LIBBZ2)-pcregrep-libbz2 \
-	--$(call ptx/endis, PTXCONF_LIBPCRE_ENABLE_UTF8)-utf8 \
-	--$(call ptx/endis, PTXCONF_LIBPCRE_ENABLE_UTF8)-unicode-properties \
-
-ifdef PTXCONF_LIBPCRE_ENABLE_NEWLINE_IS_ANYCRLF
-LIBPCRE_AUTOCONF += --enable-newline-is-anycrlf
-endif
+	--disable-pcretest-libedit \
+	--disable-pcretest-libreadline \
+	--disable-valgrind \
+	--disable-coverage \
+	--with-pcregrep-bufsize=20480 \
+	--with-posix-malloc-threshold=10 \
+	--with-link-size=2 \
+	--with-parens-nest-limit=250 \
+	--with-match-limit=10000000 \
+	--with-match-limit-recursion=10000000
 
 # ----------------------------------------------------------------------------
 # Target-Install
-- 
2.20.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

      reply	other threads:[~2019-06-26 12:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-26 12:43 [ptxdist] [PATCH v2 1/2] libpcre: fix whitespace Roland Hieber
2019-06-26 12:43 ` Roland Hieber [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190626124323.2585-2-rhi@pengutronix.de \
    --to=rhi@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox