From 0898a59319176e4b33d6f5c192c8c2feccb221b5 Mon Sep 17 00:00:00 2001
From: Bendeguz Pisch <pisch.beni@gmail.com>
Date: Tue, 9 Jul 2024 12:53:29 +0000
Subject: [PATCH] Fix apache-httpd and apr recipes to build properly and to use
 epoll by default in apr.

---
 recipes/wip/dev/other/apr/recipe.toml           | 1 +
 recipes/wip/net/server/apache-httpd/recipe.toml | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/recipes/wip/dev/other/apr/recipe.toml b/recipes/wip/dev/other/apr/recipe.toml
index 1f53150a9..9991bfa6e 100644
--- a/recipes/wip/dev/other/apr/recipe.toml
+++ b/recipes/wip/dev/other/apr/recipe.toml
@@ -10,6 +10,7 @@ ac_cv_working_getaddrinfo=no
 apr_cv_process_shared_works=yes
 apr_cv_mutex_robust_shared=yes
 apr_cv_tcp_nodelay_with_cork=no
+apr_cv_epoll=yes
 )
 cookbook_configure
 """
diff --git a/recipes/wip/net/server/apache-httpd/recipe.toml b/recipes/wip/net/server/apache-httpd/recipe.toml
index f792ff855..b882a489b 100644
--- a/recipes/wip/net/server/apache-httpd/recipe.toml
+++ b/recipes/wip/net/server/apache-httpd/recipe.toml
@@ -1,6 +1,6 @@
-#apache-httpd
+#TODO compiles but requires setgroups syscall at startup
 [source]
-tar="https://dlcdn.apache.org/httpd/httpd-2.4.58.tar.bz2"
+tar="https://dlcdn.apache.org/httpd/httpd-2.4.61.tar.bz2"
 patches = [
     "redox.patch",
 ]
-- 
GitLab