apache: move to PCRE2
authorChristian Marangi <ansuelsmth@gmail.com>
Wed, 27 Sep 2023 14:28:14 +0000 (16:28 +0200)
committerRosen Penev <rosenp@gmail.com>
Wed, 27 Sep 2023 18:10:45 +0000 (11:10 -0700)
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>
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