package/lighttpd: switch to pcre2

Switch to pcre2 which is supported since version 1.4.62 and
7512d82ca4
and enabled by default since version 1.4.64 and
750414d3bb

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Fabrice Fontaine 2022-01-22 23:44:10 +01:00 committed by Yann E. MORIN
parent bbb3e46158
commit 694189ffa3
2 changed files with 5 additions and 4 deletions

View File

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

View File

@ -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)