Blame SPECS/mod_http2.spec

7e582c
# Module Magic Number
7e582c
%{!?_httpd_mmn: %global _httpd_mmn %(cat %{_includedir}/httpd/.mmn 2>/dev/null || echo 0-0)}
7e582c
7e582c
Name:		mod_http2
7e582c
Version:	1.11.3
1d613d
Release:	3%{?dist}
7e582c
Summary:	module implementing HTTP/2 for Apache 2
7e582c
Group:		System Environment/Daemons
7e582c
License:	ASL 2.0
7e582c
URL:		https://icing.github.io/mod_h2/
7e582c
Source0:	https://github.com/icing/mod_h2/releases/download/v%{version}/mod_http2-%{version}.tar.gz
7e582c
BuildRequires:	pkgconfig, httpd-devel >= 2.4.20, libnghttp2-devel >= 1.7.0, openssl-devel >= 1.0.2
7e582c
Requires:	httpd-mmn = %{_httpd_mmn}
7e582c
Conflicts:      httpd < 2.4.25-8
7e582c
1d613d
# https://bugzilla.redhat.com/show_bug.cgi?id=1741860
1d613d
# https://bugzilla.redhat.com/show_bug.cgi?id=1741864
1d613d
# https://bugzilla.redhat.com/show_bug.cgi?id=1741868
1d613d
Patch200: httpd-2.4.34-CVE-2019-9511-and-9516-and-9517.patch
1d613d
7e582c
%description
7e582c
The mod_h2 Apache httpd module implements the HTTP2 protocol (h2+h2c) on
7e582c
top of libnghttp2 for httpd 2.4 servers.
7e582c
7e582c
%prep
7e582c
%setup -q
7e582c
1d613d
%patch200 -p1 -b .CVE-2019-9511-and-9516-and-9517
1d613d
7e582c
%build
7e582c
%configure
7e582c
make %{?_smp_mflags} V=1
7e582c
7e582c
%install
7e582c
make DESTDIR=%{buildroot} install
7e582c
rm -rf %{buildroot}/etc/httpd/share/doc/
7e582c
7e582c
# create configuration
7e582c
mkdir -p %{buildroot}%{_httpd_modconfdir}
7e582c
echo "LoadModule http2_module modules/mod_http2.so" > %{buildroot}%{_httpd_modconfdir}/10-h2.conf
7e582c
echo "LoadModule proxy_http2_module modules/mod_proxy_http2.so" > %{buildroot}%{_httpd_modconfdir}/10-proxy_h2.conf
7e582c
7e582c
%check
7e582c
make check
7e582c
7e582c
%files
7e582c
%doc README README.md ChangeLog AUTHORS
7e582c
%license LICENSE
7e582c
%config(noreplace) %{_httpd_modconfdir}/10-h2.conf
7e582c
%config(noreplace) %{_httpd_modconfdir}/10-proxy_h2.conf
7e582c
%{_httpd_moddir}/mod_http2.so
7e582c
%{_httpd_moddir}/mod_proxy_http2.so
7e582c
7e582c
%changelog
1d613d
* Thu Aug 29 2019 Lubos Uhliarik <luhliari@redhat.com> - 1.11.3-3
afdff7
- Resolves: #1744999 - CVE-2019-9511 httpd:2.4/mod_http2: HTTP/2: large amount
1d613d
  of data request leads to denial of service
afdff7
- Resolves: #1745086 - CVE-2019-9516 httpd:2.4/mod_http2: HTTP/2: 0-length
1d613d
  headers leads to denial of service
afdff7
- Resolves: #1745154 - CVE-2019-9517 httpd:2.4/mod_http2: HTTP/2: request for
afdff7
  large response leads to denial of service
1d613d
593ba9
* Thu Apr  4 2019 Joe Orton <jorton@redhat.com> - 1.11.3-2
593ba9
- update release (#1695587)
593ba9
7e582c
* Tue Oct 16 2018 Lubos Uhliarik <luhliari@redhat.com> - 1.11.3-1
7e582c
- new version 1.11.3
7e582c
- Resolves: #1633401 - CVE-2018-11763 mod_http2: httpd:  DoS for HTTP/2
7e582c
  connections by continuous SETTINGS
7e582c
7e582c
* Wed May  2 2018 Joe Orton <jorton@redhat.com> - 1.10.20-1
7e582c
- update to 1.10.20
7e582c
7e582c
* Wed Apr 18 2018 Joe Orton <jorton@redhat.com> - 1.10.18-1
7e582c
- update to 1.10.18
7e582c
7e582c
* Thu Mar 29 2018 Joe Orton <jorton@redhat.com> - 1.10.16-1
7e582c
- update to 1.10.16 (CVE-2018-1302)
7e582c
7e582c
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.13-2
7e582c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
7e582c
7e582c
* Tue Nov  7 2017 Joe Orton <jorton@redhat.com> - 1.10.13-1
7e582c
- update to 1.10.13
7e582c
7e582c
* Fri Oct 20 2017 Joe Orton <jorton@redhat.com> - 1.10.12-1
7e582c
- update to 1.10.12
7e582c
7e582c
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.10-2
7e582c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
7e582c
7e582c
* Mon Jul 31 2017 Joe Orton <jorton@redhat.com> - 1.10.10-1
7e582c
- update to 1.10.10
7e582c
7e582c
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.7-2
7e582c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
7e582c
7e582c
* Thu Jul  6 2017 Joe Orton <jorton@redhat.com> - 1.10.7-1
7e582c
- update to 1.10.7
7e582c
7e582c
* Mon Jun 12 2017 Joe Orton <jorton@redhat.com> - 1.10.6-1
7e582c
- update to 1.10.6
7e582c
7e582c
* Tue May 16 2017 Joe Orton <jorton@redhat.com> - 1.10.5-1
7e582c
- update to 1.10.5
7e582c
7e582c
* Mon Apr 10 2017 Luboš Uhliarik <luhliari@redhat.com> - 1.10.1-1
7e582c
- Initial import (#1440780).