update to 2.0.7

This commit is contained in:
Joe Orton 2022-09-23 15:01:21 +01:00
parent 5c8b161e1c
commit 42eccbc1b9
4 changed files with 7 additions and 19 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/mod_http2-1.*.tar.gz
/mod_http2-1.[0-9]*.[0-9]*/
/clog
/mod_http2-2.0.7.tar.gz

View File

@ -1,14 +0,0 @@
diff -uap mod_http2-1.14.0/mod_http2/h2_from_h1.c.buildfix mod_http2-1.14.0/mod_http2/h2_from_h1.c
--- mod_http2-1.14.0/mod_http2/h2_from_h1.c.buildfix 2019-02-12 13:30:56.000000000 +0000
+++ mod_http2-1.14.0/mod_http2/h2_from_h1.c 2019-03-14 10:35:46.365678537 +0000
@@ -35,6 +35,10 @@
#include "h2_task.h"
#include "h2_util.h"
+#ifndef AP_STATUS_IS_HEADER_ONLY
+#define AP_STATUS_IS_HEADER_ONLY(x) ((x) == HTTP_NO_CONTENT || \
+ (x) == HTTP_NOT_MODIFIED)
+#endif
/* This routine is called by apr_table_do and merges all instances of
* the passed field values into a single array that will be further

View File

@ -2,13 +2,12 @@
%{!?_httpd_mmn: %global _httpd_mmn %(cat %{_includedir}/httpd/.mmn 2>/dev/null || echo 0-0)}
Name: mod_http2
Version: 1.15.24
Release: 3%{?dist}
Version: 2.0.7
Release: 1%{?dist}
Summary: module implementing HTTP/2 for Apache 2
License: ASL 2.0
URL: https://icing.github.io/mod_h2/
Source0: https://github.com/icing/mod_h2/releases/download/v%{version}/mod_http2-%{version}.tar.gz
Patch1: mod_http2-1.14.1-buildfix.patch
BuildRequires: make
BuildRequires: gcc
BuildRequires: pkgconfig, httpd-devel >= 2.4.20, libnghttp2-devel >= 1.7.0, openssl-devel >= 1.0.2
@ -22,7 +21,6 @@ top of libnghttp2 for httpd 2.4 servers.
%prep
%setup -q
%patch1 -p1 -b .buildfix
%build
autoreconf -i
@ -47,6 +45,9 @@ echo "LoadModule proxy_http2_module modules/mod_proxy_http2.so" > %{buildroot}%{
%{_httpd_moddir}/mod_proxy_http2.so
%changelog
* Fri Sep 23 2022 Joe Orton <jorton@redhat.com> - 2.0.7-1
- update to 2.0.7
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.24-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (mod_http2-1.15.24.tar.gz) = d344f40de6c7cf72adde8b274fa58adddecb4a4fa9db6f7419d5ec840c05aca13b9cad66b64881fc87b97d4ee652ecd2b3504087bb29ce2e2c552cc25630d15e
SHA512 (mod_http2-2.0.7.tar.gz) = e53704bdfd8f79142cb7b898f7d5f4ad42f89b8243b3ce6795982b01c0654fdf3e299fa9904ccbaa6cf5beab49e72e3e73f309feadd3af036a3e4fd261ef8841