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:14 +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 9a6c8815854ea33c77950ef86183f7358ed36f61..51d19204f98b7313c9b9224d47c8af8c1104a678 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