diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..de7639e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/mod_http2-1.11.3.tar.gz diff --git a/.mod_http2.metadata b/.mod_http2.metadata new file mode 100644 index 0000000..8914ce5 --- /dev/null +++ b/.mod_http2.metadata @@ -0,0 +1 @@ +24e1a05b7952a6afa85b76b0a477664d0b20734f SOURCES/mod_http2-1.11.3.tar.gz diff --git a/SPECS/mod_http2.spec b/SPECS/mod_http2.spec new file mode 100644 index 0000000..4289d3d --- /dev/null +++ b/SPECS/mod_http2.spec @@ -0,0 +1,90 @@ +# Module Magic Number +%{!?_httpd_mmn: %global _httpd_mmn %(cat %{_includedir}/httpd/.mmn 2>/dev/null || echo 0-0)} + +Name: mod_http2 +Version: 1.11.3 +Release: 1%{?dist} +Summary: module implementing HTTP/2 for Apache 2 +Group: System Environment/Daemons +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 +BuildRequires: pkgconfig, httpd-devel >= 2.4.20, libnghttp2-devel >= 1.7.0, openssl-devel >= 1.0.2 +Requires: httpd-mmn = %{_httpd_mmn} +Conflicts: httpd < 2.4.25-8 + +%description +The mod_h2 Apache httpd module implements the HTTP2 protocol (h2+h2c) on +top of libnghttp2 for httpd 2.4 servers. + +%prep +%setup -q + +%build +%configure +make %{?_smp_mflags} V=1 + +%install +make DESTDIR=%{buildroot} install +rm -rf %{buildroot}/etc/httpd/share/doc/ + +# create configuration +mkdir -p %{buildroot}%{_httpd_modconfdir} +echo "LoadModule http2_module modules/mod_http2.so" > %{buildroot}%{_httpd_modconfdir}/10-h2.conf +echo "LoadModule proxy_http2_module modules/mod_proxy_http2.so" > %{buildroot}%{_httpd_modconfdir}/10-proxy_h2.conf + +%check +make check + +%files +%doc README README.md ChangeLog AUTHORS +%license LICENSE +%config(noreplace) %{_httpd_modconfdir}/10-h2.conf +%config(noreplace) %{_httpd_modconfdir}/10-proxy_h2.conf +%{_httpd_moddir}/mod_http2.so +%{_httpd_moddir}/mod_proxy_http2.so + +%changelog +* Tue Oct 16 2018 Lubos Uhliarik - 1.11.3-1 +- new version 1.11.3 +- Resolves: #1633401 - CVE-2018-11763 mod_http2: httpd: DoS for HTTP/2 + connections by continuous SETTINGS + +* Wed May 2 2018 Joe Orton - 1.10.20-1 +- update to 1.10.20 + +* Wed Apr 18 2018 Joe Orton - 1.10.18-1 +- update to 1.10.18 + +* Thu Mar 29 2018 Joe Orton - 1.10.16-1 +- update to 1.10.16 (CVE-2018-1302) + +* Thu Feb 08 2018 Fedora Release Engineering - 1.10.13-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Tue Nov 7 2017 Joe Orton - 1.10.13-1 +- update to 1.10.13 + +* Fri Oct 20 2017 Joe Orton - 1.10.12-1 +- update to 1.10.12 + +* Thu Aug 03 2017 Fedora Release Engineering - 1.10.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Mon Jul 31 2017 Joe Orton - 1.10.10-1 +- update to 1.10.10 + +* Wed Jul 26 2017 Fedora Release Engineering - 1.10.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Thu Jul 6 2017 Joe Orton - 1.10.7-1 +- update to 1.10.7 + +* Mon Jun 12 2017 Joe Orton - 1.10.6-1 +- update to 1.10.6 + +* Tue May 16 2017 Joe Orton - 1.10.5-1 +- update to 1.10.5 + +* Mon Apr 10 2017 Luboš Uhliarik - 1.10.1-1 +- Initial import (#1440780).