From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
To: buildroot@buildroot.org
Cc: Matt Weber <matthew.weber@collins.com>,
Fabrice Fontaine <fontaine.fabrice@gmail.com>
Subject: [Buildroot] [PATCH 1/1] package/lighttpd: switch to pcre2
Date: Sat, 22 Jan 2022 23:44:10 +0100 [thread overview]
Message-ID: <20220122224410.309822-1-fontaine.fabrice@gmail.com> (raw)
Switch to pcre2 which is supported since version 1.4.62 and
https://github.com/lighttpd/lighttpd1.4/commit/7512d82ca49f1b579819c2974c61de4e3137c70b
and enabled by default since version 1.4.64 and
https://github.com/lighttpd/lighttpd1.4/commit/750414d3bb6f13c119220e56d0c8123e665dffc5
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/lighttpd/Config.in | 2 +-
package/lighttpd/lighttpd.mk | 7 ++++---
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/package/lighttpd/Config.in b/package/lighttpd/Config.in
index 9f593a9228..ed674a9227 100644
--- a/package/lighttpd/Config.in
+++ b/package/lighttpd/Config.in
@@ -48,7 +48,7 @@ config BR2_PACKAGE_LIGHTTPD_BZIP2
config BR2_PACKAGE_LIGHTTPD_PCRE
bool "pcre support"
- select BR2_PACKAGE_PCRE
+ select BR2_PACKAGE_PCRE2
help
Enable PCRE support. Needed to support mod_rewrite
diff --git a/package/lighttpd/lighttpd.mk b/package/lighttpd/lighttpd.mk
index f0974dd5b2..2a05071209 100644
--- a/package/lighttpd/lighttpd.mk
+++ b/package/lighttpd/lighttpd.mk
@@ -26,6 +26,7 @@ LIGHTTPD_CONF_OPTS = \
-Dwith_mysql=false \
-Dwith_nettle=false \
-Dwith_nss=false \
+ -Dwith_pcre=false \
-Dwith_pgsql=false \
-Dwith_sasl=false \
-Dwith_wolfssl=false \
@@ -65,10 +66,10 @@ LIGHTTPD_CONF_OPTS += -Dwith_bzip=false
endif
ifeq ($(BR2_PACKAGE_LIGHTTPD_PCRE),y)
-LIGHTTPD_DEPENDENCIES += pcre
-LIGHTTPD_CONF_OPTS += -Dwith_pcre=true
+LIGHTTPD_DEPENDENCIES += pcre2
+LIGHTTPD_CONF_OPTS += -Dwith_pcre2=true
else
-LIGHTTPD_CONF_OPTS += -Dwith_pcre=false
+LIGHTTPD_CONF_OPTS += -Dwith_pcre2=false
endif
ifeq ($(BR2_PACKAGE_LIGHTTPD_WEBDAV),y)
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next reply other threads:[~2022-01-22 22:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-22 22:44 Fabrice Fontaine [this message]
2022-01-23 8:39 ` [Buildroot] [PATCH 1/1] package/lighttpd: switch to pcre2 Yann E. MORIN
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=20220122224410.309822-1-fontaine.fabrice@gmail.com \
--to=fontaine.fabrice@gmail.com \
--cc=buildroot@buildroot.org \
--cc=matthew.weber@collins.com \
/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