summaryrefslogtreecommitdiffstats
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/fhs_compliance.patch6
-rw-r--r--debian/patches/fix-2.4.56-regression-2.patch30
-rw-r--r--debian/patches/fix-2.4.56-regression.patch19
-rw-r--r--debian/patches/reproducible_builds.diff2
-rw-r--r--debian/patches/series2
5 files changed, 4 insertions, 55 deletions
diff --git a/debian/patches/fhs_compliance.patch b/debian/patches/fhs_compliance.patch
index e6522c1..986d8bc 100644
--- a/debian/patches/fhs_compliance.patch
+++ b/debian/patches/fhs_compliance.patch
@@ -2,11 +2,11 @@ Description: Fix up FHS file locations for apache2 droppings.
Forwarded: not-needed
Author: Adam Conrad <adconrad@0c3.net>
Reviewed-By: Yadd <yadd@debian.org>
-Last-Update: 2023-01-18
+Last-Update: 2023-10-19
--- a/configure
+++ b/configure
-@@ -42075,13 +42075,13 @@
+@@ -42812,13 +42812,13 @@
ap_prefix="${ap_cur}"
@@ -25,7 +25,7 @@ Last-Update: 2023-01-18
perlbin=`$ac_aux_dir/PrintPath perl`
--- a/configure.in
+++ b/configure.in
-@@ -901,11 +901,11 @@
+@@ -928,11 +928,11 @@
echo $MODLIST | $AWK -f $srcdir/build/build-modules-c.awk > modules.c
APR_EXPAND_VAR(ap_prefix, $prefix)
diff --git a/debian/patches/fix-2.4.56-regression-2.patch b/debian/patches/fix-2.4.56-regression-2.patch
deleted file mode 100644
index d19373c..0000000
--- a/debian/patches/fix-2.4.56-regression-2.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-Description: h2 request headers clone instead of copy
-Author: Stefan Eissing
-Origin: upstream, https://bz.apache.org/bugzilla/attachment.cgi?id=38527&action=diff
-Bug: https://bz.apache.org/bugzilla/show_bug.cgi?id=66539
-Bug-Debian: https://bugs.debian.org/1033408
-Forwarded: not-needed
-Applied-Upstream: 2.4.57
-Reviewed-By: Yadd <yadd@debian.org>
-Last-Update: 2023-04-02
-
---- a/modules/http2/h2_request.c
-+++ b/modules/http2/h2_request.c
-@@ -279,7 +279,7 @@
- apr_bucket *h2_request_create_bucket(const h2_request *req, request_rec *r)
- {
- conn_rec *c = r->connection;
-- apr_table_t *headers = apr_table_copy(r->pool, req->headers);
-+ apr_table_t *headers = apr_table_clone(r->pool, req->headers);
- const char *uri = req->path;
-
- AP_DEBUG_ASSERT(req->authority);
-@@ -303,7 +303,7 @@
- {
- const char *cl;
-
-- r->headers_in = apr_table_copy(r->pool, req->headers);
-+ r->headers_in = apr_table_clone(r->pool, req->headers);
- if (req->authority) {
- /* for internal handling, we have to simulate that :authority
- * came in as Host:, RFC 9113 ch. says that mismatches between
diff --git a/debian/patches/fix-2.4.56-regression.patch b/debian/patches/fix-2.4.56-regression.patch
deleted file mode 100644
index 0203491..0000000
--- a/debian/patches/fix-2.4.56-regression.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-Description: fix 2.4.56 regression
-Author: covener
-Bug-Debian: https://bugs.debian.org/1033284
-Origin: upstream, http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/mappers/mod_rewrite.c?r1=1908813&r2=1908812&pathrev=1908813
-Forwarded: not-needed
-Applied-Upstream: 2.4.57
-Reviewed-By: Yadd <yadd@debian.org>
-Last-Update: 2023-04-01
-
---- a/modules/mappers/mod_rewrite.c
-+++ b/modules/mappers/mod_rewrite.c
-@@ -3854,6 +3854,7 @@
- if (*(a2_end-1) == '?') {
- /* a literal ? at the end of the unsubstituted rewrite rule */
- newrule->flags |= RULEFLAG_QSNONE;
-+ *(a2_end-1) = '\0'; /* trailing ? has done its job */
- }
- else if (newrule->flags & RULEFLAG_QSDISCARD) {
- if (NULL == ap_strchr(newrule->output, '?')) {
diff --git a/debian/patches/reproducible_builds.diff b/debian/patches/reproducible_builds.diff
index 36f71e2..8f48922 100644
--- a/debian/patches/reproducible_builds.diff
+++ b/debian/patches/reproducible_builds.diff
@@ -18,7 +18,7 @@ Last-Update: 2015-08-11
-#endif
+static const char server_built[] = BUILD_DATETIME;
- AP_DECLARE(const char *) ap_get_server_built()
+ AP_DECLARE(const char *) ap_get_server_built(void)
{
--- a/server/Makefile.in
+++ b/server/Makefile.in
diff --git a/debian/patches/series b/debian/patches/series
index 6d73824..aa0aae4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,8 +4,6 @@ suexec-CVE-2007-1742.patch
customize_apxs.patch
build_suexec-custom.patch
reproducible_builds.diff
-fix-2.4.56-regression.patch
-fix-2.4.56-regression-2.patch
# This patch is applied manually
#suexec-custom.patch