apache: move to PCRE2
authorChristian Marangi <ansuelsmth@gmail.com>
Wed, 27 Sep 2023 14:28:14 +0000 (16:28 +0200)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Thu, 28 Sep 2023 08:43:34 +0000 (10:43 +0200)
Move apache to PCRE2 now that PCRE is flagged EOL and won't receive any
security update.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit d14fe0c51c0be8d66772b83a165c7fb3c4850af0)

net/apache/Makefile

index 6b01b80292dd617f8b4fed6a9e32907b5afa1500..5005a233dd059716e28cefc191907719271ea5cd 100644 (file)
@@ -66,7 +66,7 @@ endef
 define Package/apache
 $(call Package/apache/Default)
   USERID:=apache=377:apache=377
-  DEPENDS:=+libapr +libaprutil +libpcre
+  DEPENDS:=+libapr +libaprutil +libpcre2
 endef
 
 define Package/apache/description
@@ -201,7 +201,7 @@ CONFIGURE_ARGS+= \
        --with-apr-util="$(STAGING_DIR)/usr/bin/apu-1-config" \
        --with-apr="$(STAGING_DIR)/usr/bin/apr-1-config" \
        --with-mpm=prefork \
-       --with-pcre="$(STAGING_DIR)/usr/bin/pcre-config" \
+       --with-pcre="$(STAGING_DIR)/usr/bin/pcre2-config" \
        --with-program-name=apache2 \
        --with-ssl