public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Joe Orton <jorton@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/httpd] f44: Merge branch 'rawhide' into f44
Date: Thu, 01 Oct 2026 16:41:18 GMT	[thread overview]
Message-ID: <179087287879.1.7733936958920763155.rpms-httpd-e9f359b7f326@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/httpd
Branch : f44
Commit : e9f359b7f326e3200693034e34790f0394397269
Author : Joe Orton <jorton@redhat.com>
Date   : 2026-10-01T17:38:06+01:00
Stats  : +1052/-473 in 12 file(s)
URL    : https://src.fedoraproject.org/rpms/httpd/c/e9f359b7f326e3200693034e34790f0394397269?branch=f44

Log:
Merge branch 'rawhide' into f44

---
diff --git a/.gitignore b/.gitignore
index 1392a68..fdfbbf8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -58,3 +58,4 @@ x86_64
 /httpd-2.4.66.tar.bz2.asc
 /httpd-2.4.67.tar.bz2.asc
 /httpd-2.4.68.tar.bz2.asc
+/httpd-2.4.69.tar.bz2.asc

diff --git a/00-base.conf b/00-base.conf
index bae2bf6..5b67c1e 100644
--- a/00-base.conf
+++ b/00-base.conf
@@ -44,6 +44,7 @@ LoadModule log_config_module modules/mod_log_config.so
 LoadModule logio_module modules/mod_logio.so
 LoadModule macro_module modules/mod_macro.so
 LoadModule mime_magic_module modules/mod_mime_magic.so
+LoadModule mime_libmagic_module modules/mod_mime_libmagic.so
 LoadModule mime_module modules/mod_mime.so
 LoadModule negotiation_module modules/mod_negotiation.so
 LoadModule remoteip_module modules/mod_remoteip.so

diff --git a/00-dav.conf b/00-dav.conf
index e6af8de..0555bec 100644
--- a/00-dav.conf
+++ b/00-dav.conf
@@ -1,3 +1,2 @@
 LoadModule dav_module modules/mod_dav.so
 LoadModule dav_fs_module modules/mod_dav_fs.so
-LoadModule dav_lock_module modules/mod_dav_lock.so

diff --git a/apachectl.xml b/apachectl.xml
index 217fbda..9f78c8b 100644
--- a/apachectl.xml
+++ b/apachectl.xml
@@ -1,8 +1,6 @@
 <?xml version='1.0' encoding='UTF-8' ?>
 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
-  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">[
-
-]>
+  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
 <!--
  Copyright 2020 Red Hat, Inc.
  Copyright 2018 Frank Dana

diff --git a/httpd-2.4.48-r1842929+.patch b/httpd-2.4.48-r1842929+.patch
index c1837e7..bf6007e 100644
--- a/httpd-2.4.48-r1842929+.patch
+++ b/httpd-2.4.48-r1842929+.patch
@@ -1,8 +1,11 @@
+commit e0f4a3f3a4df87f89c04010883a9ed908e07e617
+Author: rpm-build <rpm-build>
+Date:   Thu Oct 1 14:30:24 2026 +0100
 
-Upstream-Status: in trunk, not proposed for 2.4.x
+    Backport state_dir feature.
 
 diff --git a/Makefile.in b/Makefile.in
-index 6747aea..40c7076 100644
+index 72154f7..95de9ef 100644
 --- a/Makefile.in
 +++ b/Makefile.in
 @@ -233,6 +233,7 @@ install-cgi:
@@ -14,7 +17,7 @@ index 6747aea..40c7076 100644
  		file=apachecore.$$ext; \
  		if test -f $$file; then \
 diff --git a/acinclude.m4 b/acinclude.m4
-index b6ef442..98f1441 100644
+index 70d6c18..05abe18 100644
 --- a/acinclude.m4
 +++ b/acinclude.m4
 @@ -45,6 +45,7 @@ AC_DEFUN([APACHE_GEN_CONFIG_VARS],[
@@ -25,7 +28,7 @@ index b6ef442..98f1441 100644
    APACHE_SUBST(other_targets)
    APACHE_SUBST(progname)
    APACHE_SUBST(prefix)
-@@ -665,6 +666,7 @@ AC_DEFUN([APACHE_EXPORT_ARGUMENTS],[
+@@ -671,6 +672,7 @@ AC_DEFUN([APACHE_EXPORT_ARGUMENTS],[
    APACHE_SUBST_EXPANDED_ARG(runtimedir)
    APACHE_SUBST_EXPANDED_ARG(logfiledir)
    APACHE_SUBST_EXPANDED_ARG(proxycachedir)
@@ -34,7 +37,7 @@ index b6ef442..98f1441 100644
  
  dnl 
 diff --git a/configure.in b/configure.in
-index 37346b2..f303784 100644
+index b3f2adc..b711352 100644
 --- a/configure.in
 +++ b/configure.in
 @@ -41,7 +41,7 @@ dnl Something seems broken here.
@@ -59,7 +62,7 @@ index 2b4a70c..e076f41 100644
  
  #endif /* AP_CONFIG_LAYOUT_H */
 diff --git a/include/http_config.h b/include/http_config.h
-index 77657ae..384a90f 100644
+index 8359eb1..5351bf3 100644
 --- a/include/http_config.h
 +++ b/include/http_config.h
 @@ -757,6 +757,14 @@ AP_DECLARE(char *) ap_server_root_relative(apr_pool_t *p, const char *fname);
@@ -77,60 +80,11 @@ index 77657ae..384a90f 100644
  /* Finally, the hook for dynamically loading modules in... */
  
  /**
-diff --git a/modules/dav/fs/mod_dav_fs.c b/modules/dav/fs/mod_dav_fs.c
-index addfd7e..2389f8f 100644
---- a/modules/dav/fs/mod_dav_fs.c
-+++ b/modules/dav/fs/mod_dav_fs.c
-@@ -29,6 +29,10 @@ typedef struct {
- 
- extern module AP_MODULE_DECLARE_DATA dav_fs_module;
- 
-+#ifndef DEFAULT_DAV_LOCKDB
-+#define DEFAULT_DAV_LOCKDB "davlockdb"
-+#endif
-+
- const char *dav_get_lockdb_path(const request_rec *r)
- {
-     dav_fs_server_conf *conf;
-@@ -57,6 +61,24 @@ static void *dav_fs_merge_server_config(apr_pool_t *p,
-     return newconf;
- }
- 
-+static apr_status_t dav_fs_post_config(apr_pool_t *p, apr_pool_t *plog,
-+                                       apr_pool_t *ptemp, server_rec *base_server)
-+{
-+    server_rec *s;
-+
-+    for (s = base_server; s; s = s->next) {
-+        dav_fs_server_conf *conf;
-+
-+        conf = ap_get_module_config(s->module_config, &dav_fs_module);
-+
-+        if (!conf->lockdb_path) {
-+            conf->lockdb_path = ap_state_dir_relative(p, DEFAULT_DAV_LOCKDB);
-+        }
-+    }
-+
-+    return OK;
-+}
-+
- /*
-  * Command handler for the DAVLockDB directive, which is TAKE1
-  */
-@@ -87,6 +109,8 @@ static const command_rec dav_fs_cmds[] =
- 
- static void register_hooks(apr_pool_t *p)
- {
-+    ap_hook_post_config(dav_fs_post_config, NULL, NULL, APR_HOOK_MIDDLE);
-+
-     dav_hook_gather_propsets(dav_fs_gather_propsets, NULL, NULL,
-                              APR_HOOK_MIDDLE);
-     dav_hook_find_liveprop(dav_fs_find_liveprop, NULL, NULL, APR_HOOK_MIDDLE);
 diff --git a/server/core.c b/server/core.c
-index d135764..c2176b9 100644
+index df270b0..192e839 100644
 --- a/server/core.c
 +++ b/server/core.c
-@@ -142,6 +142,8 @@ AP_DECLARE_DATA int ap_main_state = AP_SQ_MS_INITIAL_STARTUP;
+@@ -150,6 +150,8 @@ AP_DECLARE_DATA int ap_main_state = AP_SQ_MS_INITIAL_STARTUP;
  AP_DECLARE_DATA int ap_run_mode = AP_SQ_RM_UNKNOWN;
  AP_DECLARE_DATA int ap_config_generation = 0;
  
@@ -139,7 +93,7 @@ index d135764..c2176b9 100644
  static void *create_core_dir_config(apr_pool_t *a, char *dir)
  {
      core_dir_config *conf;
-@@ -1444,13 +1446,16 @@ AP_DECLARE(const char *) ap_resolve_env(apr_pool_t *p, const char * word)
+@@ -1465,13 +1467,16 @@ AP_DECLARE(const char *) ap_resolve_env(apr_pool_t *p, const char * word)
      return res_buf;
  }
  
@@ -158,7 +112,7 @@ index d135764..c2176b9 100644
  }
  
  /*
-@@ -3220,6 +3225,24 @@ static const char *set_runtime_dir(cmd_parms *cmd, void *dummy, const char *arg)
+@@ -3249,6 +3254,24 @@ static const char *set_runtime_dir(cmd_parms *cmd, void *dummy, const char *arg)
      return NULL;
  }
  
@@ -183,7 +137,7 @@ index d135764..c2176b9 100644
  static const char *set_timeout(cmd_parms *cmd, void *dummy, const char *arg)
  {
      const char *err = ap_check_cmd_context(cmd, NOT_IN_DIR_CONTEXT);
-@@ -4521,6 +4544,8 @@ AP_INIT_TAKE1("ServerRoot", set_server_root, NULL, RSRC_CONF | EXEC_ON_READ,
+@@ -4582,6 +4605,8 @@ AP_INIT_TAKE1("ServerRoot", set_server_root, NULL, RSRC_CONF | EXEC_ON_READ,
    "Common directory of server-related files (logs, confs, etc.)"),
  AP_INIT_TAKE1("DefaultRuntimeDir", set_runtime_dir, NULL, RSRC_CONF | EXEC_ON_READ,
    "Common directory for run-time files (shared memory, locks, etc.)"),
@@ -192,7 +146,7 @@ index d135764..c2176b9 100644
  AP_INIT_TAKE1("ErrorLog", set_server_string_slot,
    (void *)APR_OFFSETOF(server_rec, error_fname), RSRC_CONF,
    "The filename of the error log"),
-@@ -5055,8 +5080,7 @@ static int core_pre_config(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptem
+@@ -5119,8 +5144,7 @@ static int core_pre_config(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptem
  
      if (!saved_server_config_defines)
          init_config_defines(pconf);
@@ -202,7 +156,7 @@ index d135764..c2176b9 100644
  
      ap_regcomp_set_default_cflags(AP_REG_DEFAULT);
  
-@@ -5303,6 +5327,27 @@ AP_DECLARE(int) ap_state_query(int query)
+@@ -5397,6 +5421,27 @@ AP_DECLARE(int) ap_state_query(int query)
      }
  }
  

diff --git a/httpd-2.4.63-r1912477+.patch b/httpd-2.4.63-r1912477+.patch
deleted file mode 100644
index 35e5866..0000000
--- a/httpd-2.4.63-r1912477+.patch
+++ /dev/null
@@ -1,383 +0,0 @@
-# ./pullrev.sh 1912477 1912571 1912718 1913654 1914438
-http://svn.apache.org/viewvc?view=revision&revision=1912477
-http://svn.apache.org/viewvc?view=revision&revision=1912571
-http://svn.apache.org/viewvc?view=revision&revision=1912718
-http://svn.apache.org/viewvc?view=revision&revision=1913654
-http://svn.apache.org/viewvc?view=revision&revision=1914438
-
-Upstream-Status: in trunk, not proposed for 2.4.x
-
-diff --git a/modules/dav/fs/config6.m4 b/modules/dav/fs/config6.m4
-index dd26ec8..72fff9a 100644
---- a/modules/dav/fs/config6.m4
-+++ b/modules/dav/fs/config6.m4
-@@ -20,4 +20,10 @@ esac
- 
- APACHE_MODULE(dav_fs, DAV provider for the filesystem.  --enable-dav also enables mod_dav_fs., $dav_fs_objects, , $dav_fs_enable,,dav)
- 
-+if test "x$enable_dav_fs" = "xshared"; then
-+    # The only symbol which needs to be exported is the module
-+    # structure, so ask libtool to hide everything else:
-+    APR_ADDTO(MOD_DAV_FS_LDADD, [-export-symbols-regex dav_fs_module])
-+fi
-+
- APACHE_MODPATH_FINISH
-diff --git a/modules/dav/fs/dbm.c b/modules/dav/fs/dbm.c
-index 39ab4ad..4551f70 100644
---- a/modules/dav/fs/dbm.c
-+++ b/modules/dav/fs/dbm.c
-@@ -47,6 +47,10 @@
- #include "http_log.h"
- #include "http_main.h"      /* for ap_server_conf */
- 
-+#ifndef DEFAULT_PROPDB_DBM_TYPE
-+#define DEFAULT_PROPDB_DBM_TYPE "default"
-+#endif
-+
- APLOG_USE_MODULE(dav_fs);
- 
- struct dav_db {
-@@ -129,10 +133,10 @@ void dav_fs_ensure_state_dir(apr_pool_t * p, const char *dirname)
- /* dav_dbm_open_direct:  Opens a *dbm database specified by path.
-  *    ro = boolean read-only flag.
-  */
--dav_error * dav_dbm_open_direct(apr_pool_t *p, const char *pathname, int ro,
--                                dav_db **pdb)
-+dav_error * dav_dbm_open_direct(apr_pool_t *p, const char *pathname,
-+                                const char *dbmtype, int ro, dav_db **pdb)
- {
--#if APU_MAJOR_VERSION > 1 || (APU_MAJOR_VERSION == 1 && APU_MINOR_VERSION >= 7)
-+#if APR_MAJOR_VERSION > 1 || (APU_MAJOR_VERSION == 1 && APU_MINOR_VERSION >= 7)
-     const apr_dbm_driver_t *driver;
-     const apu_err_t *err;
- #endif
-@@ -141,11 +145,12 @@ dav_error * dav_dbm_open_direct(apr_pool_t *p, const char *pathname, int ro,
- 
-     *pdb = NULL;
- 
--#if APU_MAJOR_VERSION > 1 || (APU_MAJOR_VERSION == 1 && APU_MINOR_VERSION >= 7)
--    if ((status = apr_dbm_get_driver(&driver, NULL, &err, p)) != APR_SUCCESS) {
-+#if APR_MAJOR_VERSION > 1 || (APU_MAJOR_VERSION == 1 && APU_MINOR_VERSION >= 7)
-+    if ((status = apr_dbm_get_driver(&driver, dbmtype, &err, p)) != APR_SUCCESS) {
-+
-         ap_log_error(APLOG_MARK, APLOG_ERR, status, ap_server_conf, APLOGNO(10289)
--                     "mod_dav_fs: The DBM library '%s' could not be loaded: %s",
--                             err->reason, err->msg);
-+                     "mod_dav_fs: The DBM library '%s' for '%s' could not be loaded: %s",
-+                     err->reason, dbmtype, err->msg);
-         return dav_new_error(p, HTTP_INTERNAL_SERVER_ERROR, 1, status,
-                 "Could not load library for database.");
-     }
-@@ -156,7 +161,7 @@ dav_error * dav_dbm_open_direct(apr_pool_t *p, const char *pathname, int ro,
-         return dav_fs_dbm_error(NULL, p, status);
-     }
- #else
--    if ((status = apr_dbm_open(&file, pathname,
-+    if ((status = apr_dbm_open_ex(&file, dbmtype, pathname,
-                                ro ? APR_DBM_READONLY : APR_DBM_RWCREATE,
-                                APR_OS_DEFAULT, p))
-                 != APR_SUCCESS
-@@ -206,7 +211,7 @@ static dav_error * dav_dbm_open(apr_pool_t * p, const dav_resource *resource,
- 
-     /* ### do we need to deal with the umask? */
- 
--    return dav_dbm_open_direct(p, pathname, ro, pdb);
-+    return dav_dbm_open_direct(p, pathname, DEFAULT_PROPDB_DBM_TYPE, ro, pdb);
- }
- 
- void dav_dbm_close(dav_db *db)
-diff --git a/modules/dav/fs/lock.c b/modules/dav/fs/lock.c
-index ef18c4a..29d167d 100644
---- a/modules/dav/fs/lock.c
-+++ b/modules/dav/fs/lock.c
-@@ -181,8 +181,7 @@ struct dav_lockdb_private
- {
-     request_rec *r;                  /* for accessing the uuid state */
-     apr_pool_t *pool;                /* a pool to use */
--    const char *lockdb_path;         /* where is the lock database? */
--
-+    const dav_fs_server_conf *conf;  /* lock database config & metadata */
-     int opened;                      /* we opened the database */
-     dav_db *db;                      /* if non-NULL, the lock database */
- };
-@@ -292,6 +291,19 @@ static int dav_fs_compare_locktoken(
-     return dav_compare_locktoken(lt1, lt2);
- }
- 
-+static apr_status_t dav_fs_lockdb_cleanup(void *data)
-+{
-+    dav_lockdb *lockdb = data;
-+
-+    apr_global_mutex_unlock(lockdb->info->conf->lockdb_mutex);
-+
-+    if (lockdb->info->db) {
-+        dav_dbm_close(lockdb->info->db);
-+    }
-+    
-+    return APR_SUCCESS;
-+}
-+
- /*
- ** dav_fs_really_open_lockdb:
- **
-@@ -300,15 +312,27 @@ static int dav_fs_compare_locktoken(
- static dav_error * dav_fs_really_open_lockdb(dav_lockdb *lockdb)
- {
-     dav_error *err;
-+    apr_status_t rv;
- 
-     if (lockdb->info->opened)
-         return NULL;
- 
-+    rv = apr_global_mutex_lock(lockdb->info->conf->lockdb_mutex);
-+    if (rv) {
-+        return dav_new_error(lockdb->info->pool,
-+                             HTTP_INTERNAL_SERVER_ERROR,
-+                             DAV_ERR_LOCK_OPENDB, rv,
-+                             "Could not lock mutex for lock database.");
-+    }
-+    
-     err = dav_dbm_open_direct(lockdb->info->pool,
--                              lockdb->info->lockdb_path,
-+                              lockdb->info->conf->lockdb_path,
-+                              lockdb->info->conf->lockdb_type,
-                               lockdb->ro,
-                               &lockdb->info->db);
-     if (err != NULL) {
-+        apr_global_mutex_unlock(lockdb->info->conf->lockdb_mutex);
-+        
-         return dav_push_error(lockdb->info->pool,
-                               HTTP_INTERNAL_SERVER_ERROR,
-                               DAV_ERR_LOCK_OPENDB,
-@@ -316,6 +340,10 @@ static dav_error * dav_fs_really_open_lockdb(dav_lockdb *lockdb)
-                               err);
-     }
- 
-+    apr_pool_cleanup_register(lockdb->info->pool, lockdb,
-+                              dav_fs_lockdb_cleanup,
-+                              dav_fs_lockdb_cleanup);
-+
-     /* all right. it is opened now. */
-     lockdb->info->opened = 1;
- 
-@@ -341,9 +369,9 @@ static dav_error * dav_fs_open_lockdb(request_rec *r, int ro, int force,
-     comb->pub.info = &comb->priv;
-     comb->priv.r = r;
-     comb->priv.pool = r->pool;
--
--    comb->priv.lockdb_path = dav_get_lockdb_path(r);
--    if (comb->priv.lockdb_path == NULL) {
-+    comb->priv.conf = dav_fs_get_server_conf(r);
-+    
-+    if (comb->priv.conf == NULL || comb->priv.conf->lockdb_path == NULL) {
-         return dav_new_error(r->pool, HTTP_INTERNAL_SERVER_ERROR,
-                              DAV_ERR_LOCK_NO_DB, 0,
-                              "A lock database was not specified with the "
-@@ -369,8 +397,8 @@ static dav_error * dav_fs_open_lockdb(request_rec *r, int ro, int force,
- */
- static void dav_fs_close_lockdb(dav_lockdb *lockdb)
- {
--    if (lockdb->info->db != NULL)
--        dav_dbm_close(lockdb->info->db);
-+    apr_pool_cleanup_run(lockdb->info->pool, lockdb,
-+                         dav_fs_lockdb_cleanup);
- }
- 
- /*
-diff --git a/modules/dav/fs/mod_dav_fs.c b/modules/dav/fs/mod_dav_fs.c
-index 2389f8f..4bf6c51 100644
---- a/modules/dav/fs/mod_dav_fs.c
-+++ b/modules/dav/fs/mod_dav_fs.c
-@@ -14,31 +14,35 @@
-  * limitations under the License.
-  */
- 
-+#if !defined(_MSC_VER) && !defined(NETWARE)
-+#include "ap_config_auto.h"
-+#endif
-+
- #include "httpd.h"
- #include "http_config.h"
-+#include "http_core.h"
-+#include "http_log.h"
- #include "apr_strings.h"
- 
- #include "mod_dav.h"
- #include "repos.h"
- 
--/* per-server configuration */
--typedef struct {
--    const char *lockdb_path;
--
--} dav_fs_server_conf;
--
- extern module AP_MODULE_DECLARE_DATA dav_fs_module;
- 
- #ifndef DEFAULT_DAV_LOCKDB
- #define DEFAULT_DAV_LOCKDB "davlockdb"
- #endif
-+#ifndef DEFAULT_DAV_LOCKDB_TYPE
-+#define DEFAULT_DAV_LOCKDB_TYPE "default"
-+#endif
- 
--const char *dav_get_lockdb_path(const request_rec *r)
--{
--    dav_fs_server_conf *conf;
-+static const char dav_fs_mutexid[] = "dav_fs-lockdb";
- 
--    conf = ap_get_module_config(r->server->module_config, &dav_fs_module);
--    return conf->lockdb_path;
-+static apr_global_mutex_t *dav_fs_lockdb_mutex;
-+
-+const dav_fs_server_conf *dav_fs_get_server_conf(const request_rec *r)
-+{
-+    return ap_get_module_config(r->server->module_config, &dav_fs_module);
- }
- 
- static void *dav_fs_create_server_config(apr_pool_t *p, server_rec *s)
-@@ -57,15 +61,50 @@ static void *dav_fs_merge_server_config(apr_pool_t *p,
- 
-     newconf->lockdb_path =
-         child->lockdb_path ? child->lockdb_path : parent->lockdb_path;
-+    newconf->lockdb_type =
-+        child->lockdb_type ? child->lockdb_type : parent->lockdb_type;
- 
-     return newconf;
- }
- 
-+static int dav_fs_pre_config(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptemp)
-+{
-+    if (ap_mutex_register(pconf, dav_fs_mutexid, NULL, APR_LOCK_DEFAULT, 0))
-+        return !OK;
-+    return OK;
-+}
-+
-+static void dav_fs_child_init(apr_pool_t *p, server_rec *s)
-+{
-+    apr_status_t rv;
-+    
-+    rv = apr_global_mutex_child_init(&dav_fs_lockdb_mutex,
-+                                     apr_global_mutex_lockfile(dav_fs_lockdb_mutex),
-+                                     p);
-+    if (rv) {
-+        ap_log_error(APLOG_MARK, APLOG_ERR, rv, s,
-+                     APLOGNO(10488) "child init failed for mutex");
-+    }                     
-+}
-+
- static apr_status_t dav_fs_post_config(apr_pool_t *p, apr_pool_t *plog,
-                                        apr_pool_t *ptemp, server_rec *base_server)
- {
-     server_rec *s;
--
-+    apr_status_t rv;
-+
-+    /* Ignore first pass through the config. */
-+    if (ap_state_query(AP_SQ_MAIN_STATE) == AP_SQ_MS_CREATE_PRE_CONFIG)
-+        return OK;
-+
-+    rv = ap_global_mutex_create(&dav_fs_lockdb_mutex, NULL, dav_fs_mutexid, NULL,
-+                                base_server, p, 0);
-+    if (rv) {
-+        ap_log_error(APLOG_MARK, APLOG_ERR, rv, base_server,
-+                     APLOGNO(10489) "could not create lock mutex");
-+        return !OK;
-+    }                     
-+    
-     for (s = base_server; s; s = s->next) {
-         dav_fs_server_conf *conf;
- 
-@@ -74,6 +113,13 @@ static apr_status_t dav_fs_post_config(apr_pool_t *p, apr_pool_t *plog,
-         if (!conf->lockdb_path) {
-             conf->lockdb_path = ap_state_dir_relative(p, DEFAULT_DAV_LOCKDB);
-         }
-+        if (!conf->lockdb_type) {
-+            conf->lockdb_type = DEFAULT_DAV_LOCKDB_TYPE;
-+        }
-+
-+        /* Mutex is common across all vhosts, but could have one per
-+         * vhost if required. */
-+        conf->lockdb_mutex = dav_fs_lockdb_mutex;
-     }
- 
-     return OK;
-@@ -98,19 +144,36 @@ static const char *dav_fs_cmd_davlockdb(cmd_parms *cmd, void *config,
-     return NULL;
- }
- 
-+/*
-+ * Command handler for the DAVLockDBType directive, which is TAKE1
-+ */
-+static const char *dav_fs_cmd_davlockdbtype(cmd_parms *cmd, void *config,
-+                                        const char *arg1)
-+{
-+    dav_fs_server_conf *conf = ap_get_module_config(cmd->server->module_config,
-+                                                    &dav_fs_module);
-+    conf->lockdb_type = arg1;
-+
-+    return NULL;
-+}
-+
- static const command_rec dav_fs_cmds[] =
- {
-     /* per server */
-     AP_INIT_TAKE1("DAVLockDB", dav_fs_cmd_davlockdb, NULL, RSRC_CONF,
-                   "specify a lock database"),
-+    AP_INIT_TAKE1("DAVLockDBType", dav_fs_cmd_davlockdbtype, NULL, RSRC_CONF,
-+                  "specify a lock database DBM type"),
- 
-     { NULL }
- };
- 
- static void register_hooks(apr_pool_t *p)
- {
-+    ap_hook_pre_config(dav_fs_pre_config, NULL, NULL, APR_HOOK_MIDDLE);
-     ap_hook_post_config(dav_fs_post_config, NULL, NULL, APR_HOOK_MIDDLE);
--
-+    ap_hook_child_init(dav_fs_child_init, NULL, NULL, APR_HOOK_MIDDLE);
-+    
-     dav_hook_gather_propsets(dav_fs_gather_propsets, NULL, NULL,
-                              APR_HOOK_MIDDLE);
-     dav_hook_find_liveprop(dav_fs_find_liveprop, NULL, NULL, APR_HOOK_MIDDLE);
-diff --git a/modules/dav/fs/repos.h b/modules/dav/fs/repos.h
-index b164611..d3a55a5 100644
---- a/modules/dav/fs/repos.h
-+++ b/modules/dav/fs/repos.h
-@@ -25,6 +25,8 @@
- #ifndef _DAV_FS_REPOS_H_
- #define _DAV_FS_REPOS_H_
- 
-+#include "util_mutex.h"
-+
- /* the subdirectory to hold all DAV-related information for a directory */
- #define DAV_FS_STATE_DIR                ".DAV"
- #define DAV_FS_STATE_FILE_FOR_DIR       ".state_for_dir"
-@@ -53,8 +55,8 @@ dav_error * dav_fs_get_locknull_members(const dav_resource *resource,
- /* DBM functions used by the repository and locking providers */
- extern const dav_hooks_db dav_hooks_db_dbm;
- 
--dav_error * dav_dbm_open_direct(apr_pool_t *p, const char *pathname, int ro,
--                                dav_db **pdb);
-+dav_error * dav_dbm_open_direct(apr_pool_t *p, const char *pathname,
-+                                const char *dbmtype, int ro, dav_db **pdb);
- void dav_dbm_get_statefiles(apr_pool_t *p, const char *fname,
-                             const char **state1, const char **state2);
- dav_error * dav_dbm_delete(dav_db *db, apr_datum_t key);
-@@ -64,8 +66,15 @@ void dav_dbm_freedatum(dav_db *db, apr_datum_t data);
- int dav_dbm_exists(dav_db *db, apr_datum_t key);
- void dav_dbm_close(dav_db *db);
- 
--/* where is the lock database located? */
--const char *dav_get_lockdb_path(const request_rec *r);
-+/* Per-server configuration. */
-+typedef struct {
-+    const char *lockdb_path;
-+    const char *lockdb_type;
-+    apr_global_mutex_t *lockdb_mutex;
-+} dav_fs_server_conf;
-+
-+/* Returns server configuration for the request. */
-+const dav_fs_server_conf *dav_fs_get_server_conf(const request_rec *r);
- 
- const dav_hooks_locks *dav_fs_get_lock_hooks(request_rec *r);
- const dav_hooks_propdb *dav_fs_get_propdb_hooks(request_rec *r);

diff --git a/httpd-2.4.69-r1912477+.patch b/httpd-2.4.69-r1912477+.patch
new file mode 100644
index 0000000..cbc179f
--- /dev/null
+++ b/httpd-2.4.69-r1912477+.patch
@@ -0,0 +1,582 @@
+
+From https://github.com/apache/httpd/pull/399 --
+
+1. removing docs changes
+2. removing last commit, use state_dir API unconditionally
+
+From 867fcc34feebe7e4fe94ac818ec48ffa45e09792 Mon Sep 17 00:00:00 2001
+From: Joe Orton <jorton@apache.org>
+Date: Thu, 28 Sep 2023 08:11:30 +0000
+Subject: [PATCH 1/4] * modules/dav/fs/dbm.c (dav_dbm_open_direct): Test
+ against   APR_MAJOR_VERSION, APU_MAJOR_VERSION is not defined for APR trunk  
+ since the #include <apu_version.h> is conditional on APR < 2.
+
+git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1912571 13f79535-47bb-0310-9956-ffa450edef68
+(cherry picked from commit fb0ac6a5ec251dea9e27dfdc75521fe9d053cad9)
+---
+ modules/dav/fs/dbm.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/modules/dav/fs/dbm.c b/modules/dav/fs/dbm.c
+index 2db5c48b503..2fd1ac7340c 100644
+--- a/modules/dav/fs/dbm.c
++++ b/modules/dav/fs/dbm.c
+@@ -132,7 +132,7 @@ void dav_fs_ensure_state_dir(apr_pool_t * p, const char *dirname)
+ dav_error * dav_dbm_open_direct(apr_pool_t *p, const char *pathname, int ro,
+                                 dav_db **pdb)
+ {
+-#if APU_MAJOR_VERSION > 1 || (APU_MAJOR_VERSION == 1 && APU_MINOR_VERSION >= 7)
++#if APR_MAJOR_VERSION > 1 || (APU_MAJOR_VERSION == 1 && APU_MINOR_VERSION >= 7)
+     const apr_dbm_driver_t *driver;
+     const apu_err_t *err;
+ #endif
+@@ -141,7 +141,7 @@ dav_error * dav_dbm_open_direct(apr_pool_t *p, const char *pathname, int ro,
+ 
+     *pdb = NULL;
+ 
+-#if APU_MAJOR_VERSION > 1 || (APU_MAJOR_VERSION == 1 && APU_MINOR_VERSION >= 7)
++#if APR_MAJOR_VERSION > 1 || (APU_MAJOR_VERSION == 1 && APU_MINOR_VERSION >= 7)
+     if ((status = apr_dbm_get_driver(&driver, NULL, &err, p)) != APR_SUCCESS) {
+         ap_log_error(APLOG_MARK, APLOG_ERR, status, ap_server_conf, APLOGNO(10289)
+                      "mod_dav_fs: The DBM library '%s' could not be loaded: %s",
+
+From 447c7a5758497c4b5f772061d7833ff2a92a6601 Mon Sep 17 00:00:00 2001
+From: Joe Orton <jorton@apache.org>
+Date: Tue, 3 Oct 2023 12:58:16 +0000
+Subject: [PATCH 2/4] mod_dav_fs: add DAVLockDBType directive.
+
+* modules/dav/fs/dbm.c (dav_dbm_open_direct): Take a dbmtype argument
+  and use it to select the apr_dbm driver type.
+  (dav_dbm_open): Continue to use the "default" propdb type to open
+  the property databases.
+
+* modules/dav/fs/lock.c: Store and pass through the lockdb_type
+  through.
+
+* modules/dav/fs/mod_dav_fs.c (dav_get_lockdb_path): Return the dbm
+  type via an output argument.
+  (dav_fs_cmd_davlockdbtype): New config directive.
+  (dav_fs_merge_server_config): Merge the dbm type.
+  (dav_fs_post_config): Set the default lockdb type.
+
+* modules/dav/fs/repos.h: Update prototypes as above; internal API
+  only so no compat concerns.
+
+git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1912718 13f79535-47bb-0310-9956-ffa450edef68
+(cherry picked from commit afcdbeebbff4b0c50ea26cdd16e178c0d1f24152)
+---
+ changes-entries/davlockdbtype.txt |  1 +
+ docs/manual/mod/mod_dav_fs.xml    | 26 ++++++++++++---
+ modules/dav/fs/dbm.c              | 22 +++++++------
+ modules/dav/fs/lock.c             |  4 ++-
+ modules/dav/fs/mod_dav_fs.c       | 54 +++++++++++++++++++++++++++++--
+ modules/dav/fs/repos.h            |  9 +++---
+ 6 files changed, 96 insertions(+), 20 deletions(-)
+ create mode 100644 changes-entries/davlockdbtype.txt
+
+diff --git a/changes-entries/davlockdbtype.txt b/changes-entries/davlockdbtype.txt
+new file mode 100644
+index 00000000000..d83fd333745
+--- /dev/null
++++ b/changes-entries/davlockdbtype.txt
+@@ -0,0 +1 @@
++  *) mod_dav_fs: Add DavLockDBType directive.  [Joe Orton]
+diff --git a/modules/dav/fs/dbm.c b/modules/dav/fs/dbm.c
+index 2fd1ac7340c..c54b1bcbdfd 100644
+--- a/modules/dav/fs/dbm.c
++++ b/modules/dav/fs/dbm.c
+@@ -47,6 +47,10 @@
+ #include "http_log.h"
+ #include "http_main.h"      /* for ap_server_conf */
+ 
++#ifndef DEFAULT_PROPDB_DBM_TYPE
++#define DEFAULT_PROPDB_DBM_TYPE "default"
++#endif
++
+ APLOG_USE_MODULE(dav_fs);
+ 
+ struct dav_db {
+@@ -129,8 +133,8 @@ void dav_fs_ensure_state_dir(apr_pool_t * p, const char *dirname)
+ /* dav_dbm_open_direct:  Opens a *dbm database specified by path.
+  *    ro = boolean read-only flag.
+  */
+-dav_error * dav_dbm_open_direct(apr_pool_t *p, const char *pathname, int ro,
+-                                dav_db **pdb)
++dav_error * dav_dbm_open_direct(apr_pool_t *p, const char *pathname,
++                                const char *dbmtype, int ro, dav_db **pdb)
+ {
+ #if APR_MAJOR_VERSION > 1 || (APU_MAJOR_VERSION == 1 && APU_MINOR_VERSION >= 7)
+     const apr_dbm_driver_t *driver;
+@@ -142,10 +146,10 @@ dav_error * dav_dbm_open_direct(apr_pool_t *p, const char *pathname, int ro,
+     *pdb = NULL;
+ 
+ #if APR_MAJOR_VERSION > 1 || (APU_MAJOR_VERSION == 1 && APU_MINOR_VERSION >= 7)
+-    if ((status = apr_dbm_get_driver(&driver, NULL, &err, p)) != APR_SUCCESS) {
++    if ((status = apr_dbm_get_driver(&driver, dbmtype, &err, p)) != APR_SUCCESS) {
+         ap_log_error(APLOG_MARK, APLOG_ERR, status, ap_server_conf, APLOGNO(10289)
+-                     "mod_dav_fs: The DBM library '%s' could not be loaded: %s",
+-                             err->reason, err->msg);
++                     "mod_dav_fs: The DBM library '%s' for '%s' could not be loaded: %s",
++                     err->reason, dbmtype, err->msg);
+         return dav_new_error(p, HTTP_INTERNAL_SERVER_ERROR, 1, status,
+                 "Could not load library for database.");
+     }
+@@ -156,9 +160,9 @@ dav_error * dav_dbm_open_direct(apr_pool_t *p, const char *pathname, int ro,
+         return dav_fs_dbm_error(NULL, p, status);
+     }
+ #else
+-    if ((status = apr_dbm_open(&file, pathname,
+-                               ro ? APR_DBM_READONLY : APR_DBM_RWCREATE,
+-                               APR_OS_DEFAULT, p))
++    if ((status = apr_dbm_open_ex(&file, dbmtype, pathname,
++                                  ro ? APR_DBM_READONLY : APR_DBM_RWCREATE,
++                                  APR_OS_DEFAULT, p))
+                 != APR_SUCCESS
+         && !ro) {
+         /* ### do something with 'status' */
+@@ -206,7 +210,7 @@ static dav_error * dav_dbm_open(apr_pool_t * p, const dav_resource *resource,
+ 
+     /* ### do we need to deal with the umask? */
+ 
+-    return dav_dbm_open_direct(p, pathname, ro, pdb);
++    return dav_dbm_open_direct(p, pathname, DEFAULT_PROPDB_DBM_TYPE, ro, pdb);
+ }
+ 
+ void dav_dbm_close(dav_db *db)
+diff --git a/modules/dav/fs/lock.c b/modules/dav/fs/lock.c
+index ef18c4a1384..478bf232fa7 100644
+--- a/modules/dav/fs/lock.c
++++ b/modules/dav/fs/lock.c
+@@ -182,6 +182,7 @@ struct dav_lockdb_private
+     request_rec *r;                  /* for accessing the uuid state */
+     apr_pool_t *pool;                /* a pool to use */
+     const char *lockdb_path;         /* where is the lock database? */
++    const char *lockdb_type;         /* where is the lock database? */
+ 
+     int opened;                      /* we opened the database */
+     dav_db *db;                      /* if non-NULL, the lock database */
+@@ -306,6 +307,7 @@ static dav_error * dav_fs_really_open_lockdb(dav_lockdb *lockdb)
+ 
+     err = dav_dbm_open_direct(lockdb->info->pool,
+                               lockdb->info->lockdb_path,
++                              lockdb->info->lockdb_type,
+                               lockdb->ro,
+                               &lockdb->info->db);
+     if (err != NULL) {
+@@ -342,7 +344,7 @@ static dav_error * dav_fs_open_lockdb(request_rec *r, int ro, int force,
+     comb->priv.r = r;
+     comb->priv.pool = r->pool;
+ 
+-    comb->priv.lockdb_path = dav_get_lockdb_path(r);
++    comb->priv.lockdb_path = dav_get_lockdb_path(r, &comb->priv.lockdb_type);
+     if (comb->priv.lockdb_path == NULL) {
+         return dav_new_error(r->pool, HTTP_INTERNAL_SERVER_ERROR,
+                              DAV_ERR_LOCK_NO_DB, 0,
+diff --git a/modules/dav/fs/mod_dav_fs.c b/modules/dav/fs/mod_dav_fs.c
+index 7afe713bf98..6cd106f432d 100644
+--- a/modules/dav/fs/mod_dav_fs.c
++++ b/modules/dav/fs/mod_dav_fs.c
+@@ -26,16 +26,27 @@
+ /* per-server configuration */
+ typedef struct {
+     const char *lockdb_path;
+-
++    const char *lockdb_type;
+ } dav_fs_server_conf;
+ 
+ extern module AP_MODULE_DECLARE_DATA dav_fs_module;
+ 
+-const char *dav_get_lockdb_path(const request_rec *r)
++#ifndef DEFAULT_DAV_LOCKDB
++#define DEFAULT_DAV_LOCKDB "davlockdb"
++#endif
++#ifndef DEFAULT_DAV_LOCKDB_TYPE
++#define DEFAULT_DAV_LOCKDB_TYPE "default"
++#endif
++
++
++const char *dav_get_lockdb_path(const request_rec *r, const char **dbmtype)
+ {
+     dav_fs_server_conf *conf;
+ 
+     conf = ap_get_module_config(r->server->module_config, &dav_fs_module);
++
++    *dbmtype = conf->lockdb_type;
++
+     return conf->lockdb_path;
+ }
+ 
+@@ -55,10 +66,34 @@ static void *dav_fs_merge_server_config(apr_pool_t *p,
+ 
+     newconf->lockdb_path =
+         child->lockdb_path ? child->lockdb_path : parent->lockdb_path;
++    newconf->lockdb_type =
++        child->lockdb_type ? child->lockdb_type : parent->lockdb_type;
+ 
+     return newconf;
+ }
+ 
++
++static apr_status_t dav_fs_post_config(apr_pool_t *p, apr_pool_t *plog,
++                                       apr_pool_t *ptemp, server_rec *base_server)
++{
++    server_rec *s;
++
++    for (s = base_server; s; s = s->next) {
++        dav_fs_server_conf *conf;
++
++        conf = ap_get_module_config(s->module_config, &dav_fs_module);
++
++        if (!conf->lockdb_path) {
++            conf->lockdb_path = ap_state_dir_relative(p, DEFAULT_DAV_LOCKDB);
++        }
++        if (!conf->lockdb_type) {
++            conf->lockdb_type = DEFAULT_DAV_LOCKDB_TYPE;
++        }
++    }
++
++    return OK;
++}
++
+ /*
+  * Command handler for the DAVLockDB directive, which is TAKE1
+  */
+@@ -78,11 +113,26 @@ static const char *dav_fs_cmd_davlockdb(cmd_parms *cmd, void *config,
+     return NULL;
+ }
+ 
++/*
++ * Command handler for the DAVLockDBType directive, which is TAKE1
++ */
++static const char *dav_fs_cmd_davlockdbtype(cmd_parms *cmd, void *config,
++                                        const char *arg1)
++{
++    dav_fs_server_conf *conf = ap_get_module_config(cmd->server->module_config,
++                                                    &dav_fs_module);
++    conf->lockdb_type = arg1;
++
++    return NULL;
++}
++
+ static const command_rec dav_fs_cmds[] =
+ {
+     /* per server */
+     AP_INIT_TAKE1("DAVLockDB", dav_fs_cmd_davlockdb, NULL, RSRC_CONF,
+                   "specify a lock database"),
++    AP_INIT_TAKE1("DAVLockDBType", dav_fs_cmd_davlockdbtype, NULL, RSRC_CONF,
++                  "specify a lock database DBM type"),
+ 
+     { NULL }
+ };
+diff --git a/modules/dav/fs/repos.h b/modules/dav/fs/repos.h
+index 94e49373627..249cfddf522 100644
+--- a/modules/dav/fs/repos.h
++++ b/modules/dav/fs/repos.h
+@@ -59,8 +59,8 @@ dav_error * dav_fs_get_locknull_members(const dav_resource *resource,
+ /* DBM functions used by the repository and locking providers */
+ extern const dav_hooks_db dav_hooks_db_dbm;
+ 
+-dav_error * dav_dbm_open_direct(apr_pool_t *p, const char *pathname, int ro,
+-                                dav_db **pdb);
++dav_error * dav_dbm_open_direct(apr_pool_t *p, const char *pathname,
++                                const char *dbmtype, int ro, dav_db **pdb);
+ void dav_dbm_get_statefiles(apr_pool_t *p, const char *fname,
+                             const char **state1, const char **state2);
+ dav_error * dav_dbm_delete(dav_db *db, apr_datum_t key);
+@@ -70,8 +70,9 @@ void dav_dbm_freedatum(dav_db *db, apr_datum_t data);
+ int dav_dbm_exists(dav_db *db, apr_datum_t key);
+ void dav_dbm_close(dav_db *db);
+ 
+-/* where is the lock database located? */
+-const char *dav_get_lockdb_path(const request_rec *r);
++/* Returns path to lock database and configured dbm type as
++ * *dbmtype. */
++const char *dav_get_lockdb_path(const request_rec *r, const char **dbmtype);
+ 
+ const dav_hooks_locks *dav_fs_get_lock_hooks(request_rec *r);
+ const dav_hooks_propdb *dav_fs_get_propdb_hooks(request_rec *r);
+
+From 137d1b7a8cdfb91c63915d8b6be7e3b16617e981 Mon Sep 17 00:00:00 2001
+From: Joe Orton <jorton@apache.org>
+Date: Thu, 7 Dec 2023 18:25:35 +0000
+Subject: [PATCH 3/4] mod_dav_fs: Add global mutex around use of lockdb use,
+ since apr_dbm does not provide thread-safe locking:
+
+* modules/dav/fs/mod_dav_fs.c (dav_fs_get_server_conf):
+  Replaces dav_get_lockdb_path.
+  (dav_fs_pre_config, dav_fs_child_init): New hooks.
+  (dav_fs_post_config): Create & store the mutex here.
+  (register_hooks): Register new hooks.
+
+* modules/dav/fs/repos.h: Expose new dav_fs_server_conf struct.
+
+* modules/dav/fs/lock.c (dav_fs_lockdb_cleanup): New cleanup
+  which unlocks and closes the dbm handle.
+  (dav_fs_really_open_lockdb): Lock the mutex here, register a
+  cleanup.
+  (dav_fs_open_lockdb): Adjust to use dav_fs_get_server_conf.
+  (dav_fs_close_lockdb): Run the cleanup here.
+
+git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1914438 13f79535-47bb-0310-9956-ffa450edef68
+(cherry picked from commit 455147a36049efc443921ea523d01aa62e047fa3)
+---
+ modules/dav/fs/lock.c       | 46 +++++++++++++++++++------
+ modules/dav/fs/mod_dav_fs.c | 67 ++++++++++++++++++++++++++++---------
+ modules/dav/fs/repos.h      | 14 ++++++--
+ 3 files changed, 99 insertions(+), 28 deletions(-)
+
+diff --git a/modules/dav/fs/lock.c b/modules/dav/fs/lock.c
+index 478bf232fa7..29d167d9dce 100644
+--- a/modules/dav/fs/lock.c
++++ b/modules/dav/fs/lock.c
+@@ -181,9 +181,7 @@ struct dav_lockdb_private
+ {
+     request_rec *r;                  /* for accessing the uuid state */
+     apr_pool_t *pool;                /* a pool to use */
+-    const char *lockdb_path;         /* where is the lock database? */
+-    const char *lockdb_type;         /* where is the lock database? */
+-
++    const dav_fs_server_conf *conf;  /* lock database config & metadata */
+     int opened;                      /* we opened the database */
+     dav_db *db;                      /* if non-NULL, the lock database */
+ };
+@@ -293,6 +291,19 @@ static int dav_fs_compare_locktoken(
+     return dav_compare_locktoken(lt1, lt2);
+ }
+ 
++static apr_status_t dav_fs_lockdb_cleanup(void *data)
++{
++    dav_lockdb *lockdb = data;
++
++    apr_global_mutex_unlock(lockdb->info->conf->lockdb_mutex);
++
++    if (lockdb->info->db) {
++        dav_dbm_close(lockdb->info->db);
++    }
++    
++    return APR_SUCCESS;
++}
++
+ /*
+ ** dav_fs_really_open_lockdb:
+ **
+@@ -301,16 +312,27 @@ static int dav_fs_compare_locktoken(
+ static dav_error * dav_fs_really_open_lockdb(dav_lockdb *lockdb)
+ {
+     dav_error *err;
++    apr_status_t rv;
+ 
+     if (lockdb->info->opened)
+         return NULL;
+ 
++    rv = apr_global_mutex_lock(lockdb->info->conf->lockdb_mutex);
++    if (rv) {
++        return dav_new_error(lockdb->info->pool,
++                             HTTP_INTERNAL_SERVER_ERROR,
++                             DAV_ERR_LOCK_OPENDB, rv,
++                             "Could not lock mutex for lock database.");
++    }
++    
+     err = dav_dbm_open_direct(lockdb->info->pool,
+-                              lockdb->info->lockdb_path,
+-                              lockdb->info->lockdb_type,
++                              lockdb->info->conf->lockdb_path,
++                              lockdb->info->conf->lockdb_type,
+                               lockdb->ro,
+                               &lockdb->info->db);
+     if (err != NULL) {
++        apr_global_mutex_unlock(lockdb->info->conf->lockdb_mutex);
++        
+         return dav_push_error(lockdb->info->pool,
+                               HTTP_INTERNAL_SERVER_ERROR,
+                               DAV_ERR_LOCK_OPENDB,
+@@ -318,6 +340,10 @@ static dav_error * dav_fs_really_open_lockdb(dav_lockdb *lockdb)
+                               err);
+     }
+ 
++    apr_pool_cleanup_register(lockdb->info->pool, lockdb,
++                              dav_fs_lockdb_cleanup,
++                              dav_fs_lockdb_cleanup);
++
+     /* all right. it is opened now. */
+     lockdb->info->opened = 1;
+ 
+@@ -343,9 +369,9 @@ static dav_error * dav_fs_open_lockdb(request_rec *r, int ro, int force,
+     comb->pub.info = &comb->priv;
+     comb->priv.r = r;
+     comb->priv.pool = r->pool;
+-
+-    comb->priv.lockdb_path = dav_get_lockdb_path(r, &comb->priv.lockdb_type);
+-    if (comb->priv.lockdb_path == NULL) {
++    comb->priv.conf = dav_fs_get_server_conf(r);
++    
++    if (comb->priv.conf == NULL || comb->priv.conf->lockdb_path == NULL) {
+         return dav_new_error(r->pool, HTTP_INTERNAL_SERVER_ERROR,
+                              DAV_ERR_LOCK_NO_DB, 0,
+                              "A lock database was not specified with the "
+@@ -371,8 +397,8 @@ static dav_error * dav_fs_open_lockdb(request_rec *r, int ro, int force,
+ */
+ static void dav_fs_close_lockdb(dav_lockdb *lockdb)
+ {
+-    if (lockdb->info->db != NULL)
+-        dav_dbm_close(lockdb->info->db);
++    apr_pool_cleanup_run(lockdb->info->pool, lockdb,
++                         dav_fs_lockdb_cleanup);
+ }
+ 
+ /*
+diff --git a/modules/dav/fs/mod_dav_fs.c b/modules/dav/fs/mod_dav_fs.c
+index 6cd106f432d..b4ba9c7f906 100644
+--- a/modules/dav/fs/mod_dav_fs.c
++++ b/modules/dav/fs/mod_dav_fs.c
+@@ -14,8 +14,13 @@
+  * limitations under the License.
+  */
+ 
++#if !defined(_MSC_VER) && !defined(NETWARE)
++#include "ap_config_auto.h"
++#endif
++
+ #include "httpd.h"
+ #include "http_config.h"
++#include "http_core.h"
+ #include "http_log.h"
+ #include "http_request.h"
+ #include "apr_strings.h"
+@@ -23,12 +28,6 @@
+ #include "mod_dav.h"
+ #include "repos.h"
+ 
+-/* per-server configuration */
+-typedef struct {
+-    const char *lockdb_path;
+-    const char *lockdb_type;
+-} dav_fs_server_conf;
+-
+ extern module AP_MODULE_DECLARE_DATA dav_fs_module;
+ 
+ #ifndef DEFAULT_DAV_LOCKDB
+@@ -38,16 +37,13 @@ extern module AP_MODULE_DECLARE_DATA dav_fs_module;
+ #define DEFAULT_DAV_LOCKDB_TYPE "default"
+ #endif
+ 
++static const char dav_fs_mutexid[] = "dav_fs-lockdb";
+ 
+-const char *dav_get_lockdb_path(const request_rec *r, const char **dbmtype)
+-{
+-    dav_fs_server_conf *conf;
++static apr_global_mutex_t *dav_fs_lockdb_mutex;
+ 
+-    conf = ap_get_module_config(r->server->module_config, &dav_fs_module);
+-
+-    *dbmtype = conf->lockdb_type;
+-
+-    return conf->lockdb_path;
++const dav_fs_server_conf *dav_fs_get_server_conf(const request_rec *r)
++{
++    return ap_get_module_config(r->server->module_config, &dav_fs_module);
+ }
+ 
+ static void *dav_fs_create_server_config(apr_pool_t *p, server_rec *s)
+@@ -72,12 +68,44 @@ static void *dav_fs_merge_server_config(apr_pool_t *p,
+     return newconf;
+ }
+ 
++static int dav_fs_pre_config(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptemp)
++{
++    if (ap_mutex_register(pconf, dav_fs_mutexid, NULL, APR_LOCK_DEFAULT, 0))
++        return !OK;
++    return OK;
++}
++
++static void dav_fs_child_init(apr_pool_t *p, server_rec *s)
++{
++    apr_status_t rv;
++    
++    rv = apr_global_mutex_child_init(&dav_fs_lockdb_mutex,
++                                     apr_global_mutex_lockfile(dav_fs_lockdb_mutex),
++                                     p);
++    if (rv) {
++        ap_log_error(APLOG_MARK, APLOG_ERR, rv, s,
++                     APLOGNO(10488) "child init failed for mutex");
++    }                     
++}
+ 
+ static apr_status_t dav_fs_post_config(apr_pool_t *p, apr_pool_t *plog,
+                                        apr_pool_t *ptemp, server_rec *base_server)
+ {
+     server_rec *s;
+-
++    apr_status_t rv;
++
++    /* Ignore first pass through the config. */
++    if (ap_state_query(AP_SQ_MAIN_STATE) == AP_SQ_MS_CREATE_PRE_CONFIG)
++        return OK;
++
++    rv = ap_global_mutex_create(&dav_fs_lockdb_mutex, NULL, dav_fs_mutexid, NULL,
++                                base_server, p, 0);
++    if (rv) {
++        ap_log_error(APLOG_MARK, APLOG_ERR, rv, base_server,
++                     APLOGNO(10489) "could not create lock mutex");
++        return !OK;
++    }                     
++    
+     for (s = base_server; s; s = s->next) {
+         dav_fs_server_conf *conf;
+ 
+@@ -89,6 +117,10 @@ static apr_status_t dav_fs_post_config(apr_pool_t *p, apr_pool_t *plog,
+         if (!conf->lockdb_type) {
+             conf->lockdb_type = DEFAULT_DAV_LOCKDB_TYPE;
+         }
++
++        /* Mutex is common across all vhosts, but could have one per
++         * vhost if required. */
++        conf->lockdb_mutex = dav_fs_lockdb_mutex;
+     }
+ 
+     return OK;
+@@ -178,6 +210,11 @@ static void register_hooks(apr_pool_t *p)
+     /* before mod_dav's fixup, which takes over the request */
+     ap_hook_fixups(dav_fs_fixups, NULL, NULL, APR_HOOK_FIRST);
+ 
++
++    ap_hook_pre_config(dav_fs_pre_config, NULL, NULL, APR_HOOK_MIDDLE);
++    ap_hook_post_config(dav_fs_post_config, NULL, NULL, APR_HOOK_MIDDLE);
++    ap_hook_child_init(dav_fs_child_init, NULL, NULL, APR_HOOK_MIDDLE);
++
+     dav_hook_gather_propsets(dav_fs_gather_propsets, NULL, NULL,
+                              APR_HOOK_MIDDLE);
+     dav_hook_find_liveprop(dav_fs_find_liveprop, NULL, NULL, APR_HOOK_MIDDLE);
+diff --git a/modules/dav/fs/repos.h b/modules/dav/fs/repos.h
+index 249cfddf522..750a0f58b78 100644
+--- a/modules/dav/fs/repos.h
++++ b/modules/dav/fs/repos.h
+@@ -25,6 +25,8 @@
+ #ifndef _DAV_FS_REPOS_H_
+ #define _DAV_FS_REPOS_H_
+ 
++#include "util_mutex.h"
++
+ /* the name this repository provider is registered under */
+ #define DAV_FS_PROVIDER_NAME            "filesystem"
+ 
+@@ -70,9 +72,15 @@ void dav_dbm_freedatum(dav_db *db, apr_datum_t data);
+ int dav_dbm_exists(dav_db *db, apr_datum_t key);
+ void dav_dbm_close(dav_db *db);
+ 
+-/* Returns path to lock database and configured dbm type as
+- * *dbmtype. */
+-const char *dav_get_lockdb_path(const request_rec *r, const char **dbmtype);
++/* Per-server configuration. */
++typedef struct {
++    const char *lockdb_path;
++    const char *lockdb_type;
++    apr_global_mutex_t *lockdb_mutex;
++} dav_fs_server_conf;
++
++/* Returns server configuration for the request. */
++const dav_fs_server_conf *dav_fs_get_server_conf(const request_rec *r);
+ 
+ const dav_hooks_locks *dav_fs_get_lock_hooks(request_rec *r);
+ const dav_hooks_propdb *dav_fs_get_propdb_hooks(request_rec *r);
+

diff --git a/httpd-2.4.69-r1938247+.patch b/httpd-2.4.69-r1938247+.patch
new file mode 100644
index 0000000..306f0c6
--- /dev/null
+++ b/httpd-2.4.69-r1938247+.patch
@@ -0,0 +1,372 @@
+# ./pullrev.sh 1938247 1938308
+http://svn.apache.org/viewvc?view=revision&revision=1938247
+http://svn.apache.org/viewvc?view=revision&revision=1938308
+
+--- httpd-2.4.69/modules/metadata/config.m4
++++ httpd-2.4.69/modules/metadata/config.m4
+@@ -6,6 +6,23 @@
+ 
+ APACHE_MODULE(env, clearing/setting of ENV vars, , , yes)
+ APACHE_MODULE(mime_magic, automagically determining MIME type)
++
++APACHE_MODULE(mime_libmagic, determining MIME type using libmagic, , , most, [
++  ap_libmagic_found=no
++  if test -n "$PKGCONFIG"; then
++    AC_MSG_CHECKING([for libmagic via pkg-config])
++    if $PKGCONFIG --exists libmagic; then
++      ap_libmagic_found=yes
++      APR_ADDTO(MOD_CFLAGS, [`$PKGCONFIG --cflags libmagic`])
++      APR_ADDTO(MOD_MIME_LIBMAGIC_LDADD, [`$PKGCONFIG --libs libmagic`])
++    fi
++    AC_MSG_RESULT($ap_libmagic_found)
++  fi
++  if test "$ap_libmagic_found" = "no"; then
++    AC_MSG_WARN([libmagic not found])
++    enable_mime_libmagic=no
++  fi
++])
+ APACHE_MODULE(cern_meta, CERN-type meta files, , , no)
+ APACHE_MODULE(expires, Expires header control, , , most)
+ APACHE_MODULE(headers, HTTP header control, , , yes)
+diff -wu httpd-2.4.69/modules/metadata/mod_mime_libmagic.c httpd-2.4.69/modules/metadata/mod_mime_libmagic.c
+--- httpd-2.4.69/modules/metadata/mod_mime_libmagic.c
++++ httpd-2.4.69/modules/metadata/mod_mime_libmagic.c
+@@ -0,0 +1,338 @@
++/* Licensed to the Apache Software Foundation (ASF) under one or more
++ * contributor license agreements.  See the NOTICE file distributed with
++ * this work for additional information regarding copyright ownership.
++ * The ASF licenses this file to You under the Apache License, Version 2.0
++ * (the "License"); you may not use this file except in compliance with
++ * the License.  You may obtain a copy of the License at
++ *
++ *     http://www.apache.org/licenses/LICENSE-2.0
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ */
++
++/*
++ * mod_mime_libmagic: determine the Content-Type of a file from its
++ * contents using libmagic(3) from the "file" package.  A fallback for
++ * files which mod_mime cannot type by extension, in the style of
++ * mod_mime_magic, but using the system magic database and matching
++ * engine rather than a private copy.
++ *
++ * A magic_t handle is opened, loaded and closed for each request: all
++ * libmagic's mutable state lives in the handle, so this is safe from
++ * any number of threads, and loading a compiled (.mgc) database is an
++ * mmap() of a file already in the page cache.
++ */
++
++#include "apr.h"
++#include "apr_strings.h"
++#include "apr_lib.h"
++
++#include <errno.h>
++
++#include "ap_config.h"
++#include "httpd.h"
++#include "http_config.h"
++#include "http_core.h"
++#include "http_log.h"
++#include "http_protocol.h"
++#include "http_request.h"
++
++#include <magic.h>
++
++module AP_MODULE_DECLARE_DATA mime_libmagic_module;
++
++#define UNSET (-1)
++#define DEFAULT_BYTES 16384
++#define MAX_BYTES 1048576
++
++typedef struct {
++    int enabled;              /* MimeLibmagic On|Off */
++    const char *magicfile;    /* MimeLibmagicFile, or the library default */
++    apr_int64_t bytes;        /* MimeLibmagicBytes */
++    int charset;              /* MimeLibmagicCharset On|Off */
++} libmagic_server_conf;
++
++static void *create_server_conf(apr_pool_t *p, server_rec *s)
++{
++    libmagic_server_conf *conf = apr_pcalloc(p, sizeof *conf);
++
++    conf->enabled = UNSET;
++    conf->magicfile = NULL;
++    conf->bytes = UNSET;
++    conf->charset = UNSET;
++    return conf;
++}
++
++static void *merge_server_conf(apr_pool_t *p, void *basev, void *addv)
++{
++    libmagic_server_conf *base = basev, *add = addv;
++    libmagic_server_conf *conf = apr_palloc(p, sizeof *conf);
++
++    conf->enabled = add->enabled != UNSET ? add->enabled : base->enabled;
++    conf->magicfile = add->magicfile ? add->magicfile : base->magicfile;
++    conf->bytes = add->bytes != UNSET ? add->bytes : base->bytes;
++    conf->charset = add->charset != UNSET ? add->charset : base->charset;
++    return conf;
++}
++
++static const char *set_enabled(cmd_parms *cmd, void *dummy, int flag)
++{
++    libmagic_server_conf *conf =
++        ap_get_module_config(cmd->server->module_config, &mime_libmagic_module);
++
++    conf->enabled = flag;
++    return NULL;
++}
++
++static const char *set_magicfile(cmd_parms *cmd, void *dummy, const char *arg)
++{
++    libmagic_server_conf *conf =
++        ap_get_module_config(cmd->server->module_config, &mime_libmagic_module);
++
++    conf->magicfile = ap_server_root_relative(cmd->pool, arg);
++    if (!conf->magicfile) {
++        return apr_pstrcat(cmd->pool, "Invalid MimeLibmagicFile path ", arg, NULL);
++    }
++    return NULL;
++}
++
++static const char *set_bytes(cmd_parms *cmd, void *dummy, const char *arg)
++{
++    libmagic_server_conf *conf =
++        ap_get_module_config(cmd->server->module_config, &mime_libmagic_module);
++    char *end;
++    apr_int64_t n = apr_strtoi64(arg, &end, 10);
++
++    if (*arg == '\0' || *end != '\0' || n < 1 || n > MAX_BYTES) {
++        return "MimeLibmagicBytes must be between 1 and "
++            APR_STRINGIFY(MAX_BYTES);
++    }
++    conf->bytes = n;
++    return NULL;
++}
++
++static const char *set_charset(cmd_parms *cmd, void *dummy, int flag)
++{
++    libmagic_server_conf *conf =
++        ap_get_module_config(cmd->server->module_config, &mime_libmagic_module);
++
++    conf->charset = flag;
++    return NULL;
++}
++
++/* Open a handle with flags and load the database at path.  Returns
++ * NULL after logging the failure. */
++static magic_t open_magic(request_rec *r, int flags, const char *path)
++{
++    magic_t ms = magic_open(flags);
++
++    if (!ms) {
++        ap_log_rerror(APLOG_MARK, APLOG_ERR, APR_FROM_OS_ERROR(errno), r,
++                      APLOGNO(10624) "libmagic: could not open handle");
++        return NULL;
++    }
++
++    if (magic_load(ms, path) != 0) {
++        const char *err = magic_error(ms);
++
++        ap_log_rerror(APLOG_MARK, APLOG_ERR, APR_FROM_OS_ERROR(magic_errno(ms)),
++                      r, APLOGNO(10625) "libmagic: could not load magic "
++                      "database %s: %s", path, err ? err : "unknown error");
++        magic_close(ms);
++        return NULL;
++    }
++
++    return ms;
++}
++
++/* Set the content type from libmagic's result string, either "type"
++ * or "type; charset=encoding".  Returns OK or DECLINED. */
++static int set_type(request_rec *r, const char *result, int charset_on)
++{
++    char *type = apr_pstrdup(r->pool, result);
++    char *charset = NULL;
++    const char *slash, *p;
++    char *sep;
++
++    sep = strchr(type, ';');
++    if (sep) {
++        *sep++ = '\0';
++        while (*sep == ' ') {
++            sep++;
++        }
++        if (strncmp(sep, "charset=", 8) == 0) {
++            charset = sep + 8;
++        }
++    }
++
++    /* Some matchers append a note, e.g. "application/x-executable, no
++     * program header": keep the type. */
++    type[strcspn(type, ", \t")] = '\0';
++
++    /* the type must be of the form token "/" token */
++    slash = ap_scan_http_token(type);
++    if (slash == type || *slash != '/'
++        || (p = ap_scan_http_token(slash + 1)) == slash + 1 || *p != '\0') {
++        ap_log_rerror(APLOG_MARK, APLOG_WARNING, 0, r, APLOGNO(10626)
++                      "libmagic: ignoring invalid type '%s' for %s",
++                      result, r->filename);
++        return DECLINED;
++    }
++    ap_content_type_tolower(type);
++
++    /* Unknown binary content is left untyped, as mod_mime_magic does. */
++    if (strcmp(type, "application/octet-stream") == 0
++        || strcmp(type, "application/x-empty") == 0) {
++        ap_log_rerror(APLOG_MARK, APLOG_TRACE1, 0, r,
++                      "libmagic: no type for %s (%s)", r->filename, result);
++        return DECLINED;
++    }
++
++    if (charset_on && charset && strncmp(type, "text/", 5) == 0
++        && strcmp(charset, "binary") != 0
++        && strcmp(charset, "unknown-8bit") != 0
++        && *charset && *ap_scan_http_token(charset) == '\0') {
++        type = apr_pstrcat(r->pool, type, "; charset=", charset, NULL);
++    }
++
++    ap_log_rerror(APLOG_MARK, APLOG_TRACE1, 0, r,
++                  "libmagic: %s is '%s' (%s)", r->filename, type, result);
++    ap_set_content_type_ex(r, type, 1);
++    return OK;
++}
++
++static int libmagic_find_ct(request_rec *r)
++{
++    const libmagic_server_conf *conf;
++    apr_file_t *fd;
++    apr_status_t rv;
++    apr_size_t nbytes, bytes;
++    magic_t ms;
++    const char *result, *path;
++    char *buf;
++    int ret, flags;
++
++    /* the file has to exist */
++    if (r->finfo.filetype == APR_NOFILE || !r->filename) {
++        return DECLINED;
++    }
++
++    /* was someone else already here? */
++    if (r->content_type) {
++        return DECLINED;
++    }
++
++    conf = ap_get_module_config(r->server->module_config, &mime_libmagic_module);
++    if (conf->enabled != 1) {
++        return DECLINED;
++    }
++
++    switch (r->finfo.filetype) {
++    case APR_DIR:
++        ap_set_content_type_ex(r, DIR_MAGIC_TYPE, 1);
++        return OK;
++    case APR_CHR:
++    case APR_BLK:
++    case APR_PIPE:
++    case APR_SOCK:
++        ap_set_content_type_ex(r, "application/octet-stream", 1);
++        return OK;
++    case APR_REG:
++        break;
++    default:
++        /* a broken symlink, or something exotic: leave it to the handler */
++        return DECLINED;
++    }
++
++    rv = apr_file_open(&fd, r->filename, APR_READ | APR_BINARY,
++                       APR_OS_DEFAULT, r->pool);
++    if (rv != APR_SUCCESS) {
++        ap_log_rerror(APLOG_MARK, APLOG_DEBUG, rv, r,
++                      "libmagic: could not open %s", r->filename);
++        return DECLINED;
++    }
++
++    bytes = conf->bytes != UNSET ? conf->bytes : DEFAULT_BYTES;
++    buf = apr_palloc(r->pool, bytes);
++    rv = apr_file_read_full(fd, buf, bytes, &nbytes);
++    apr_file_close(fd);
++    if (rv != APR_SUCCESS && !APR_STATUS_IS_EOF(rv)) {
++        ap_log_rerror(APLOG_MARK, APLOG_WARNING, rv, r, APLOGNO(10627)
++                      "libmagic: could not read %s", r->filename);
++        return DECLINED;
++    }
++
++    if (nbytes == 0) {
++        ap_set_content_type_ex(r, "text/plain", 1);
++        return OK;
++    }
++
++    /* With no MimeLibmagicFile, the library's default database; action
++     * 1 means the user's ~/.magic is not consulted, unlike
++     * magic_load(ms, NULL). */
++    path = conf->magicfile ? conf->magicfile : magic_getpath(NULL, 1);
++    /* Never look inside compressed files: that path spawns external
++     * decompressors from the calling thread. */
++    flags = MAGIC_MIME_TYPE | MAGIC_NO_CHECK_COMPRESS
++        | (conf->charset == 1 ? MAGIC_MIME_ENCODING : 0);
++    ms = open_magic(r, flags, path);
++    if (!ms) {
++        return DECLINED;
++    }
++
++    result = magic_buffer(ms, buf, nbytes);
++    if (!result) {
++        const char *err = magic_error(ms);
++
++        ap_log_rerror(APLOG_MARK, APLOG_WARNING, APR_FROM_OS_ERROR(magic_errno(ms)),
++                      r, APLOGNO(10628) "libmagic: could not determine type "
++                      "of %s: %s", r->filename, err ? err : "unknown error");
++        ret = DECLINED;
++    }
++    else {
++        /* result points into the handle, so must be used before close */
++        ret = set_type(r, result, conf->charset == 1);
++    }
++
++    magic_close(ms);
++
++    return ret;
++}
++
++static const command_rec libmagic_cmds[] = {
++    AP_INIT_FLAG("MimeLibmagic", set_enabled, NULL, RSRC_CONF,
++                 "Enable content type detection using libmagic"),
++    AP_INIT_TAKE1("MimeLibmagicFile", set_magicfile, NULL, RSRC_CONF,
++                  "Path to the magic database, in place of the library default"),
++    AP_INIT_TAKE1("MimeLibmagicBytes", set_bytes, NULL, RSRC_CONF,
++                  "Number of bytes of a file examined"),
++    AP_INIT_FLAG("MimeLibmagicCharset", set_charset, NULL, RSRC_CONF,
++                 "Add a charset parameter to text types"),
++    {NULL}
++};
++
++static void register_hooks(apr_pool_t *p)
++{
++    static const char *const pre[] = { "mod_mime.c", NULL };
++    static const char *const post[] = { "mod_mime_magic.c", NULL };
++
++    /* Run after mod_mime and before mod_mime_magic, since this module
++     * is default-off and it should win over mod_mime_magic when
++     * enabled. */
++    ap_hook_type_checker(libmagic_find_ct, pre, post, APR_HOOK_MIDDLE);
++}
++
++AP_DECLARE_MODULE(mime_libmagic) =
++{
++    STANDARD20_MODULE_STUFF,
++    NULL,                       /* dir config creator */
++    NULL,                       /* dir merger --- default is to override */
++    create_server_conf,         /* server config */
++    merge_server_conf,          /* merge server config */
++    libmagic_cmds,              /* command apr_table_t */
++    register_hooks              /* register hooks */
++};

diff --git a/httpd.conf b/httpd.conf
index ad5c7ee..2a6ef1b 100644
--- a/httpd.conf
+++ b/httpd.conf
@@ -331,6 +331,13 @@ LogLevel warn
 #
 AddDefaultCharset UTF-8
 
+<IfModule mime_libmagic_module>
+    #
+    # Use the default magic database from file(1) - this is now used
+    # in preference to the (older) mod_mime_magic database.
+    #
+    MimeLibmagic On
+</IfModule>
 <IfModule mime_magic_module>
     #
     # The mod_mime_magic module allows the server to use various hints from the

diff --git a/httpd.spec b/httpd.spec
index 62267a6..8d6052d 100644
--- a/httpd.spec
+++ b/httpd.spec
@@ -15,6 +15,8 @@
 %bcond pcre %{without pcre2}
 %bcond engine %[0%{?fedora} < 41 && 0%{?rhel} < 10]
 %bcond worker %[0%{?fedora} < 44 && 0%{?rhel} < 11]
+%bcond wstunnel %[0%{?fedora} < 45 && 0%{?rhel} < 11]
+%bcond libmagic %[0%{?fedora} > 44 || 0%{?rhel} > 10]
 
 %if %{with worker}
 %global mpms event prefork worker
@@ -27,7 +29,7 @@
 
 Summary: Apache HTTP Server
 Name: httpd
-Version: 2.4.68
+Version: 2.4.69
 Release: 1%{?dist}
 URL: https://httpd.apache.org/
 Source0: https://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2
@@ -79,7 +81,7 @@ Source47: apachectl.xml
 Source48: apache-poweredby.png
 Source49: httpd.sysusers
 
-# build/scripts patches
+# Build/scripts patches
 Patch2: httpd-2.4.43-apxs.patch
 Patch3: httpd-2.4.43-deplibs.patch
 # Needed for socket activation and mod_systemd patch
@@ -94,8 +96,9 @@ Patch25: httpd-2.4.43-cachehardmax.patch
 Patch26: httpd-2.4.43-sslciphdefault.patch
 Patch27: httpd-2.4.64-sslprotdefault.patch
 Patch28: httpd-2.4.43-logjournal.patch
-Patch29: httpd-2.4.63-r1912477+.patch
+Patch29: httpd-2.4.69-r1912477+.patch
 Patch30: httpd-2.4.64-separate-systemd-fns.patch
+Patch31: httpd-2.4.69-r1938247+.patch
 
 # Bug fixes
 # https://bugzilla.redhat.com/show_bug.cgi?id=1397243
@@ -123,6 +126,9 @@ BuildRequires: pcre2-devel
 %if %{with pcre}
 BuildRequires: pcre-devel > 5.0
 %endif
+%if %{with libmagic}
+BuildRequires: file-devel
+%endif
 BuildRequires: gnupg2
 Requires: system-logos(httpd-logo-ng)
 Provides: webserver
@@ -315,11 +321,20 @@ if echo %{mpms} | grep -q -v worker; then
 fi
 touch -r $RPM_SOURCE_DIR/00-mpm.conf 00-mpm.conf
 
+# Remove mod_proxy_wstunnel if not needed
+cp $RPM_SOURCE_DIR/00-proxy.conf 00-proxy.conf
+%if %{without wstunnel}
+sed -i /proxy_wstunnel_module/d 00-proxy.conf
+%endif
+touch -r $RPM_SOURCE_DIR/00-proxy.conf 00-proxy.conf
+
 : Building with MMN %{mmn}, MMN-ISA %{mmnisa}
 : Default MPM is %{mpm}, MPM list: %{mpms}
 : Vendor string is '%{vstring}'
 : Regex Engine: PCRE=%{with pcre} PCRE2=%{with pcre2}
 : mod_ssl ENGINE support: %{with engine}
+: mod_proxy_wstunnel built: %{with wstunnel}
+: mod_mime_libmagic built: %{with libmagic}
 
 %build
 # forcibly prevent use of bundled apr, apr-util, pcre
@@ -379,7 +394,14 @@ autoheader && autoconf || exit 1
         --disable-imagemap --disable-file-cache \
         --disable-http2 \
         --disable-md \
-        $*
+        --disable-dav-lock \
+%if %{without wstunnel}
+        --disable-proxy-wstunnel \
+%endif
+%if %{without libmagic}
+        --disable-mime-libmagic \
+%endif
+            $*
 
 if grep -q ac_cv_have_threadsafe_pollset=no config.log; then
    cat config.log
@@ -410,15 +432,17 @@ install -m 644 $RPM_SOURCE_DIR/README.confd \
 install -m 644 $RPM_SOURCE_DIR/README.confmod \
     $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.modules.d/README
 for f in 00-base.conf 00-mpm.conf 00-lua.conf 01-cgi.conf 00-dav.conf \
-         00-proxy.conf 00-ssl.conf 01-ldap.conf 00-proxyhtml.conf \
+         00-ssl.conf 01-ldap.conf 00-proxyhtml.conf \
          01-ldap.conf 00-systemd.conf 01-session.conf 00-optional.conf \
          00-brotli.conf; do
   install -m 644 -p $RPM_SOURCE_DIR/$f \
         $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.modules.d/$f
 done
 
-install -m 644 -p 00-mpm.conf \
-        $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.modules.d/00-mpm.conf
+for f in 00-mpm.conf 00-proxy.conf; do
+    install -m 644 -p $f \
+            $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.modules.d/$f
+done
 
 # install systemd override drop directory
 # Web application packages can drop snippets into this location if
@@ -476,8 +500,7 @@ sed 's,@HTTPDBIN@,%{_sbindir}/httpd,g' $RPM_SOURCE_DIR/apachectl.sh \
 
 # Create cache directory
 mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/cache/httpd \
-         $RPM_BUILD_ROOT%{_localstatedir}/cache/httpd/proxy \
-         $RPM_BUILD_ROOT%{_localstatedir}/cache/httpd/ssl
+         $RPM_BUILD_ROOT%{_localstatedir}/cache/httpd/proxy
 
 # Make the MMN accessible to module packages
 echo %{mmnisa} > $RPM_BUILD_ROOT%{_includedir}/httpd/.mmn
@@ -813,7 +836,6 @@ exit $rv
 %{_libdir}/httpd/modules/mod_ssl.so
 %config(noreplace) %{_sysconfdir}/httpd/conf.modules.d/00-ssl.conf
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/ssl.conf
-%attr(0700,apache,root) %dir %{_localstatedir}/cache/httpd/ssl
 %{_unitdir}/httpd-init.service
 %{_libexecdir}/httpd-ssl-pass-dialog
 %{_libexecdir}/httpd-ssl-gencerts
@@ -849,11 +871,40 @@ exit $rv
 %{_rpmconfigdir}/macros.d/macros.httpd
 
 %changelog
-* Tue Jun 09 2026 Luboš Uhliarik <luhliari@redhat.com> - 2.4.68-1
-- new version 2.4.68
+* Thu Oct 01 2026 Joe Orton  <jorton@redhat.com> - 2.4.69-1
+- update to 2.4.69
+- add mod_mime_libmagic for F45+
+
+* Mon Sep 21 2026 Luboš Uhliarik <luhliari@redhat.com> - 2.4.68-8
+- Remove the ssl directory from /var/cache/httpd
+
+* Thu Sep 10 2026 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.4.68-7
+- Rebuilt for libxml-2.5.4
+
+* Mon Aug 10 2026 Luboš Uhliarik <luhliari@redhat.com> - 2.4.68-6
+- rebuild for apr-util 1.6.5
+
+* Tue Jul 28 2026 David King <dking@redhat.com> - 2.4.68-5
+- Fix man page XML syntax
+
+* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.68-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
+
+* Tue Jul 14 2026 Joe Orton  <jorton@redhat.com> - 2.4.68-3
+- for F45+ remove mod_proxy_wstunnel, deprecated upstream since 2.4.47
+- mod_proxy_html: fix comment handling (#2496888)
+
+* Fri Jun 12 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 2.4.68-2
+- Rebuilt for openssl 4.0
+
+* Fri May 01 2026 Joe Orton  <jorton@redhat.com> - 2.4.66-7
+- add OpenSSL 4.0 compatibility fixes
+
+* Fri Mar 20 2026 Joe Orton  <jorton@redhat.com> - 2.4.66-6
+- stop building mod_dav_lock
 
-* Wed May 06 2026 Luboš Uhliarik <luhliari@redhat.com> - 2.4.67-1
-- new version 2.4.67
+* Tue Mar 03 2026 Tom Callaway <spot@fedoraproject.org> - 2.4.66-5
+- rebuild for lua 5.5
 
 * Tue Feb 03 2026 Joe Orton  <jorton@redhat.com> - 2.4.66-4
 - autoindex.conf: disable Indexes for /icons/ by default

diff --git a/pullrev.sh b/pullrev.sh
index a87d0dc..d7e7e39 100755
--- a/pullrev.sh
+++ b/pullrev.sh
@@ -5,8 +5,11 @@ if [ $# -lt 1 ]; then
     exit 1
 fi
 
-repo="https://svn.apache.org/repos/asf/httpd/httpd/trunk"
-repo="https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x"
+if [ x$REPO = xtrunk ]; then
+    repo="https://svn.apache.org/repos/asf/httpd/httpd/trunk"
+else
+    repo="https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x"
+fi
 ver=$(rpm -q --specfile httpd.spec --qf '%{VERSION}\n' | sed 1q)
 prefix="httpd-${ver}"
 suffix="${SUFFIX:-r$1${2:++}}"

diff --git a/sources b/sources
index b4244b5..4357673 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-SHA512 (httpd-2.4.68.tar.bz2) = 134a5bbd3ffe97523ac750490531bcb9441c532cedf0229aa006aa1368e9d25040507c6f519bed6754044f62c371f7c7f9a11b6a311f79b9680d478bf4373eb3
-SHA512 (httpd-2.4.68.tar.bz2.asc) = 87bf940f5041a9550726ca426162aaf5fb1c0433e4ecdb6777cd280751ac3938f40dc5ece44e2ed39642435039b4865fc2bbb5141df15fe4c3a16a748c8061a4
 SHA512 (KEYS) = 88c848b7ab9e4915d6625dcad3e8328673b0448f2ce76f2c44eecc612cf6afbce3287a4ee7219a44c6fcc61d5ecb2a1a8545456a4a16b90400263d7249cbf192
+SHA512 (httpd-2.4.69.tar.bz2) = ca9c5808eef7a0d8d88148b0d2d6045b5a0151823f09afc786b283cef9990036a9c7bc53d043e2f67b6ec06db05f655aa961cb875fa7ad0911fa04fdd295bd93
+SHA512 (httpd-2.4.69.tar.bz2.asc) = 8599f307780091b9f44efbd1c50361f09039350b79ff0799925ff726ee830965766b8c8f2888d655b50aee36bd82415803f0f33b5a8db6d8dd48ef45f2ee44fc

diff --git a/httpd.spec b/httpd.spec
index df7378f..8d6052d 100644
--- a/httpd.spec
+++ b/httpd.spec
@@ -897,12 +897,6 @@ exit $rv
 * Fri Jun 12 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 2.4.68-2
 - Rebuilt for openssl 4.0
 
-* Tue Jun 09 2026 Luboš Uhliarik <luhliari@redhat.com> - 2.4.68-1
-- new version 2.4.68
-
-* Wed May 06 2026 Luboš Uhliarik <luhliari@redhat.com> - 2.4.67-1
-- new version 2.4.67
-
 * Fri May 01 2026 Joe Orton  <jorton@redhat.com> - 2.4.66-7
 - add OpenSSL 4.0 compatibility fixes
 

                 reply	other threads:[~2026-10-01 16:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179087287879.1.7733936958920763155.rpms-httpd-e9f359b7f326@fedoraproject.org \
    --to=jorton@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox