public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/httpd] rawhide: mod_http2 is now built from the httpd source tree
Date: Tue, 01 Dec 2026 15:16:22 GMT	[thread overview]
Message-ID: <179613818206.1.5527548191619624495.rpms-httpd-8fe74400c37b@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/httpd
Branch : rawhide
Commit : 8fe74400c37b97a4def05e61acc311b2af7b0ad9
Author : Luboš Uhliarik <luhliari@redhat.com>
Date   : 2026-12-01T16:14:52+01:00
Stats  : +30/-3 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/httpd/c/8fe74400c37b97a4def05e61acc311b2af7b0ad9?branch=rawhide

Log:
mod_http2 is now built from the httpd source tree

---
diff --git a/10-h2.conf b/10-h2.conf
new file mode 100644
index 0000000..12c28aa
--- /dev/null
+++ b/10-h2.conf
@@ -0,0 +1 @@
+LoadModule http2_module modules/mod_http2.so

diff --git a/10-proxy_h2.conf b/10-proxy_h2.conf
new file mode 100644
index 0000000..61dc6d0
--- /dev/null
+++ b/10-proxy_h2.conf
@@ -0,0 +1 @@
+LoadModule proxy_http2_module modules/mod_proxy_http2.so

diff --git a/httpd.spec b/httpd.spec
index 97c674c..b9885d5 100644
--- a/httpd.spec
+++ b/httpd.spec
@@ -30,7 +30,7 @@
 Summary: Apache HTTP Server
 Name: httpd
 Version: 2.4.71
-Release: 1%{?dist}
+Release: 2%{?dist}
 URL: https://httpd.apache.org/
 Source0: https://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2
 Source1: https://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2.asc
@@ -70,6 +70,8 @@ Source32: httpd.service.xml
 Source33: htcacheclean.service.xml
 Source34: httpd.conf.xml
 Source35: 00-brotli.conf
+Source36: 10-h2.conf
+Source37: 10-proxy_h2.conf
 Source40: htcacheclean.service
 Source41: htcacheclean.sysconf
 Source42: httpd-init.service
@@ -262,6 +264,16 @@ Requires: httpd-core = 0:%{version}-%{release}, httpd-mmn = %{mmnisa}
 The mod_lua module allows the server to be extended with scripts
 written in the Lua programming language.
 
+%package -n mod_http2
+Summary: module implementing HTTP/2 for the Apache HTTP Server
+BuildRequires: libnghttp2-devel >= 1.7.0
+Requires: httpd-core = 0:%{version}-%{release}, httpd-mmn = %{mmnisa}
+Obsoletes: mod_http2 <= 2.0.42
+
+%description -n mod_http2
+The mod_h2 Apache httpd module implements the HTTP2 protocol (h2+h2c) on
+top of libnghttp2 for the Apache HTTP Server
+
 %prep
 %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
 %autosetup -p1 -S gendiff
@@ -391,8 +403,8 @@ autoheader && autoconf || exit 1
         --enable-cgid-fdpassing \
         --enable-authn-anon --enable-authn-alias \
         --enable-systemd \
+        --enable-http2 --enable-proxy-http2 \
         --disable-imagemap --disable-file-cache \
-        --disable-http2 \
         --disable-md \
         --disable-dav-lock \
 %if %{without wstunnel}
@@ -434,7 +446,7 @@ install -m 644 $RPM_SOURCE_DIR/README.confmod \
 for f in 00-base.conf 00-mpm.conf 00-lua.conf 01-cgi.conf 00-dav.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
+         00-brotli.conf 10-h2.conf 10-proxy_h2.conf; do
   install -m 644 -p $RPM_SOURCE_DIR/$f \
         $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.modules.d/$f
 done
@@ -756,6 +768,8 @@ exit $rv
 %exclude %{_sysconfdir}/httpd/conf.modules.d/00-lua.conf
 %exclude %{_sysconfdir}/httpd/conf.modules.d/01-ldap.conf
 %exclude %{_sysconfdir}/httpd/conf.modules.d/01-session.conf
+%exclude %{_sysconfdir}/httpd/conf.modules.d/10-h2.conf
+%exclude %{_sysconfdir}/httpd/conf.modules.d/10-proxy_h2.conf
 
 %config(noreplace) %{_sysconfdir}/sysconfig/htcacheclean
 %{_prefix}/lib/tmpfiles.d/httpd.conf
@@ -782,6 +796,8 @@ exit $rv
 %exclude %{_libdir}/httpd/modules/mod_xml2enc.so
 %exclude %{_libdir}/httpd/modules/mod_session*.so
 %exclude %{_libdir}/httpd/modules/mod_lua.so
+%exclude %{_libdir}/httpd/modules/mod_http2.so
+%exclude %{_libdir}/httpd/modules/mod_proxy_http2.so
 
 %dir %{contentdir}/error
 %dir %{contentdir}/error/include
@@ -860,6 +876,12 @@ exit $rv
 %{_libdir}/httpd/modules/mod_lua.so
 %config(noreplace) %{_sysconfdir}/httpd/conf.modules.d/00-lua.conf
 
+%files -n mod_http2
+%config(noreplace) %{_sysconfdir}/httpd/conf.modules.d/10-h2.conf
+%config(noreplace) %{_sysconfdir}/httpd/conf.modules.d/10-proxy_h2.conf
+%{_libdir}/httpd/modules/mod_http2.so
+%{_libdir}/httpd/modules/mod_proxy_http2.so
+
 %files devel
 %{_includedir}/httpd
 %{_bindir}/apxs
@@ -871,6 +893,9 @@ exit $rv
 %{_rpmconfigdir}/macros.d/macros.httpd
 
 %changelog
+* Tue Dec 01 2026 Luboš Uhliarik <luhliari@redhat.com> - 2.4.71-2
+- mod_http2 is now built from the httpd source tree
+
 * Wed Nov 11 2026 Luboš Uhliarik <luhliari@redhat.com> - 2.4.71-1
 - new version 2.4.71
 

                 reply	other threads:[~2026-12-01 15:16 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=179613818206.1.5527548191619624495.rpms-httpd-8fe74400c37b@fedoraproject.org \
    --to=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