2015-07-15 21:04:08 +00:00
|
|
|
Summary: Experimental HTTP/2 client, server and proxy
|
|
|
|
Name: nghttp2
|
2019-01-18 15:27:09 +00:00
|
|
|
Version: 1.36.0
|
2018-08-27 10:00:15 +00:00
|
|
|
Release: 1%{?dist}
|
2015-07-15 21:04:08 +00:00
|
|
|
License: MIT
|
|
|
|
URL: https://nghttp2.org/
|
|
|
|
Source0: https://github.com/tatsuhiro-t/nghttp2/releases/download/v%{version}/nghttp2-%{version}.tar.xz
|
|
|
|
|
|
|
|
BuildRequires: CUnit-devel
|
2016-12-27 20:08:13 +00:00
|
|
|
BuildRequires: c-ares-devel
|
2018-02-19 16:29:27 +00:00
|
|
|
BuildRequires: gcc-c++
|
2015-07-15 21:04:08 +00:00
|
|
|
BuildRequires: libev-devel
|
|
|
|
BuildRequires: openssl-devel
|
2018-09-03 10:22:31 +00:00
|
|
|
BuildRequires: python3-devel
|
2017-02-26 12:16:23 +00:00
|
|
|
BuildRequires: systemd-devel
|
2015-07-15 21:04:08 +00:00
|
|
|
BuildRequires: zlib-devel
|
|
|
|
|
|
|
|
Requires: libnghttp2%{?_isa} = %{version}-%{release}
|
2017-02-26 12:16:23 +00:00
|
|
|
%{?systemd_requires}
|
2015-07-15 21:04:08 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains the HTTP/2 client, server and proxy programs.
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libnghttp2
|
|
|
|
Summary: A library implementing the HTTP/2 protocol
|
|
|
|
|
|
|
|
%description -n libnghttp2
|
|
|
|
libnghttp2 is a library implementing the Hypertext Transfer Protocol
|
|
|
|
version 2 (HTTP/2) protocol in C.
|
|
|
|
|
|
|
|
|
|
|
|
%package -n libnghttp2-devel
|
|
|
|
Summary: Files needed for building applications with libnghttp2
|
|
|
|
Requires: libnghttp2%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
%description -n libnghttp2-devel
|
|
|
|
The libnghttp2-devel package includes libraries and header files needed
|
|
|
|
for building applications with libnghttp2.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
2018-03-15 13:19:27 +00:00
|
|
|
# make fetch-ocsp-response use Python 3
|
|
|
|
sed -e '1 s|^#!/.*python|&3|' -i script/fetch-ocsp-response
|
2015-07-15 21:04:08 +00:00
|
|
|
|
|
|
|
%build
|
2018-09-03 10:22:31 +00:00
|
|
|
%configure PYTHON=%{__python3} \
|
2018-12-10 09:40:34 +00:00
|
|
|
--disable-hpack-tools \
|
2015-07-15 21:04:08 +00:00
|
|
|
--disable-python-bindings \
|
|
|
|
--disable-static \
|
|
|
|
--without-libxml2 \
|
|
|
|
--without-spdylay
|
|
|
|
|
|
|
|
# avoid using rpath
|
|
|
|
sed -i libtool \
|
|
|
|
-e 's/^runpath_var=.*/runpath_var=/' \
|
|
|
|
-e 's/^hardcode_libdir_flag_spec=".*"$/hardcode_libdir_flag_spec=""/'
|
|
|
|
|
|
|
|
make %{?_smp_mflags} V=1
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
2017-02-26 12:16:23 +00:00
|
|
|
install -D -m0444 -p contrib/nghttpx.service \
|
|
|
|
"$RPM_BUILD_ROOT%{_unitdir}/nghttpx.service"
|
2015-07-15 21:04:08 +00:00
|
|
|
|
|
|
|
# not needed on Fedora/RHEL
|
|
|
|
rm -f "$RPM_BUILD_ROOT%{_libdir}/libnghttp2.la"
|
|
|
|
|
|
|
|
# will be installed via %%doc
|
|
|
|
rm -f "$RPM_BUILD_ROOT%{_datadir}/doc/nghttp2/README.rst"
|
|
|
|
|
2018-02-03 11:49:50 +00:00
|
|
|
%ldconfig_scriptlets -n libnghttp2
|
2017-02-27 08:56:53 +00:00
|
|
|
|
|
|
|
%post
|
|
|
|
%systemd_post nghttpx.service
|
|
|
|
|
|
|
|
%postun
|
2017-02-26 12:16:23 +00:00
|
|
|
%systemd_postun nghttpx.service
|
2015-07-15 21:04:08 +00:00
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
# test the just built library instead of the system one, without using rpath
|
2015-11-26 14:19:59 +00:00
|
|
|
export "LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir}:$LD_LIBRARY_PATH"
|
2015-07-15 21:04:08 +00:00
|
|
|
make %{?_smp_mflags} check
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%{_bindir}/h2load
|
|
|
|
%{_bindir}/nghttp
|
|
|
|
%{_bindir}/nghttpd
|
|
|
|
%{_bindir}/nghttpx
|
|
|
|
%{_datadir}/nghttp2
|
|
|
|
%{_mandir}/man1/h2load.1*
|
|
|
|
%{_mandir}/man1/nghttp.1*
|
|
|
|
%{_mandir}/man1/nghttpd.1*
|
|
|
|
%{_mandir}/man1/nghttpx.1*
|
2017-02-26 12:16:23 +00:00
|
|
|
%{_unitdir}/nghttpx.service
|
2015-07-15 21:04:08 +00:00
|
|
|
|
|
|
|
%files -n libnghttp2
|
|
|
|
%{_libdir}/libnghttp2.so.*
|
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
%license COPYING
|
|
|
|
|
|
|
|
%files -n libnghttp2-devel
|
|
|
|
%{_includedir}/nghttp2
|
|
|
|
%{_libdir}/pkgconfig/libnghttp2.pc
|
|
|
|
%{_libdir}/libnghttp2.so
|
|
|
|
%doc README.rst
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2019-01-18 15:27:09 +00:00
|
|
|
* Fri Jan 18 2019 Kamil Dudka <kdudka@redhat.com> 1.36.0-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2018-12-10 09:21:36 +00:00
|
|
|
* Mon Dec 10 2018 Kamil Dudka <kdudka@redhat.com> 1.35.1-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2018-11-23 08:12:36 +00:00
|
|
|
* Fri Nov 23 2018 Kamil Dudka <kdudka@redhat.com> 1.35.0-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2018-10-04 07:44:01 +00:00
|
|
|
* Thu Oct 04 2018 Kamil Dudka <kdudka@redhat.com> 1.34.0-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2018-09-03 08:39:08 +00:00
|
|
|
* Mon Sep 03 2018 Kamil Dudka <kdudka@redhat.com> 1.33.0-1
|
2018-09-03 10:22:31 +00:00
|
|
|
- use python3 for build
|
2018-09-03 08:39:08 +00:00
|
|
|
- update to the latest upstream release
|
|
|
|
|
2018-08-27 10:00:15 +00:00
|
|
|
* Mon Aug 27 2018 Kamil Dudka <kdudka@redhat.com> 1.32.1-1
|
|
|
|
- update to the latest upstream bugfix release
|
|
|
|
|
2018-07-13 11:36:07 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.32.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-05-09 07:49:26 +00:00
|
|
|
* Wed May 09 2018 Kamil Dudka <kdudka@redhat.com> 1.32.0-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2018-04-13 08:36:46 +00:00
|
|
|
* Fri Apr 13 2018 Kamil Dudka <kdudka@redhat.com> 1.31.1-1
|
|
|
|
- update to the latest upstream release (fixes CVE-2018-1000168)
|
|
|
|
|
2018-03-15 13:19:27 +00:00
|
|
|
* Thu Mar 15 2018 Kamil Dudka <kdudka@redhat.com> 1.31.0-2
|
|
|
|
- make fetch-ocsp-response use Python 3
|
|
|
|
|
2018-02-27 14:31:41 +00:00
|
|
|
* Tue Feb 27 2018 Kamil Dudka <kdudka@redhat.com> 1.31.0-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2018-02-19 16:29:27 +00:00
|
|
|
* Mon Feb 19 2018 Kamil Dudka <kdudka@redhat.com> 1.30.0-3
|
|
|
|
- add explicit BR for the gcc-c++ compiler
|
|
|
|
|
2018-02-08 04:12:20 +00:00
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.30.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-02-05 14:02:28 +00:00
|
|
|
* Mon Feb 05 2018 Kamil Dudka <kdudka@redhat.com> 1.30.0-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2018-02-03 11:49:50 +00:00
|
|
|
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.29.0-2
|
|
|
|
- Switch to %%ldconfig_scriptlets
|
|
|
|
|
2017-12-19 14:50:12 +00:00
|
|
|
* Tue Dec 19 2017 Kamil Dudka <kdudka@redhat.com> 1.29.0-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2017-11-26 21:32:37 +00:00
|
|
|
* Sun Nov 26 2017 Kamil Dudka <kdudka@redhat.com> 1.28.0-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2017-10-25 13:19:40 +00:00
|
|
|
* Wed Oct 25 2017 Kamil Dudka <kdudka@redhat.com> 1.27.0-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2017-09-20 14:47:34 +00:00
|
|
|
* Wed Sep 20 2017 Kamil Dudka <kdudka@redhat.com> 1.26.0-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2017-08-18 16:10:15 +00:00
|
|
|
* Fri Aug 18 2017 Kamil Dudka <kdudka@redhat.com> 1.25.0-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2017-08-03 03:58:10 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.24.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-29 17:41:58 +00:00
|
|
|
* Sat Jul 29 2017 Florian Weimer <fweimer@redhat.com> - 1.24.0-3
|
|
|
|
- Rebuild with binutils fix for ppc64le (#1475636)
|
|
|
|
|
2017-07-26 09:54:58 +00:00
|
|
|
* Wed Jul 26 2017 Kamil Dudka <kdudka@redhat.com> 1.24.0-2
|
|
|
|
- drop workaround for a GCC bug that has been fixed (#1358845)
|
|
|
|
|
2017-07-02 19:50:50 +00:00
|
|
|
* Sun Jul 02 2017 Kamil Dudka <kdudka@redhat.com> 1.24.0-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
|
|
|
* Tue May 30 2017 Kamil Dudka <kdudka@redhat.com> 1.23.1-1
|
2017-05-30 16:03:14 +00:00
|
|
|
- update to the latest upstream release
|
|
|
|
|
2017-05-27 20:49:07 +00:00
|
|
|
* Sat May 27 2017 Kamil Dudka <kdudka@redhat.com> 1.23.0-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2017-04-24 14:09:08 +00:00
|
|
|
* Mon Apr 24 2017 Kamil Dudka <kdudka@redhat.com> 1.22.0-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2017-04-10 07:13:30 +00:00
|
|
|
* Mon Apr 10 2017 Kamil Dudka <kdudka@redhat.com> 1.21.1-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2017-03-27 14:25:55 +00:00
|
|
|
* Mon Mar 27 2017 Kamil Dudka <kdudka@redhat.com> 1.21.0-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2017-02-26 12:16:23 +00:00
|
|
|
* Sun Feb 26 2017 Tomasz Torcz <ttorcz@fedoraproject.org> - 1.20.0-1
|
2017-02-26 12:16:23 +00:00
|
|
|
- package systemd unit file (#1426929)
|
2017-02-26 12:16:23 +00:00
|
|
|
- update to latest upstream release
|
|
|
|
|
2017-02-10 22:17:34 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2017-01-25 12:12:09 +00:00
|
|
|
* Wed Jan 25 2017 Kamil Dudka <kdudka@redhat.com> 1.19.0-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2017-01-05 14:16:24 +00:00
|
|
|
* Thu Jan 05 2017 Kamil Dudka <kdudka@redhat.com> 1.18.1-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2016-12-27 20:08:13 +00:00
|
|
|
* Tue Dec 27 2016 Kamil Dudka <kdudka@redhat.com> 1.18.0-1
|
|
|
|
- update to the latest upstream release (requires c-ares for apps)
|
|
|
|
|
2016-11-28 08:54:20 +00:00
|
|
|
* Mon Nov 28 2016 Kamil Dudka <kdudka@redhat.com> 1.17.0-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2016-11-15 11:05:51 +00:00
|
|
|
* Tue Nov 15 2016 Kamil Dudka <kdudka@redhat.com> 1.16.1-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2016-10-24 12:35:56 +00:00
|
|
|
* Mon Oct 24 2016 Kamil Dudka <kdudka@redhat.com> 1.16.0-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2016-09-26 10:37:48 +00:00
|
|
|
* Mon Sep 26 2016 Kamil Dudka <kdudka@redhat.com> 1.15.0-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2016-09-12 07:42:52 +00:00
|
|
|
* Mon Sep 12 2016 Kamil Dudka <kdudka@redhat.com> 1.14.1-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2016-08-25 14:35:27 +00:00
|
|
|
* Thu Aug 25 2016 Kamil Dudka <kdudka@redhat.com> 1.14.0-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2016-07-26 14:41:11 +00:00
|
|
|
* Tue Jul 26 2016 Kamil Dudka <kdudka@redhat.com> 1.13.0-2
|
|
|
|
- prevent nghttpx from crashing on armv7hl (#1358845)
|
|
|
|
|
2016-07-21 14:20:04 +00:00
|
|
|
* Thu Jul 21 2016 Kamil Dudka <kdudka@redhat.com> 1.13.0-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2016-06-27 08:21:19 +00:00
|
|
|
* Mon Jun 27 2016 Kamil Dudka <kdudka@redhat.com> 1.12.0-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2016-05-29 17:57:54 +00:00
|
|
|
* Sun May 29 2016 Kamil Dudka <kdudka@redhat.com> 1.11.1-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2016-05-26 14:20:50 +00:00
|
|
|
* Thu May 26 2016 Kamil Dudka <kdudka@redhat.com> 1.11.0-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
|
|
|
* Mon Apr 25 2016 Kamil Dudka <kdudka@redhat.com> 1.10.0-1
|
2016-04-25 13:59:49 +00:00
|
|
|
- update to the latest upstream release
|
|
|
|
|
2016-04-03 14:20:18 +00:00
|
|
|
* Sun Apr 03 2016 Kamil Dudka <kdudka@redhat.com> 1.9.2-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2016-03-29 07:15:36 +00:00
|
|
|
* Tue Mar 29 2016 Kamil Dudka <kdudka@redhat.com> 1.9.1-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2016-02-25 16:45:09 +00:00
|
|
|
* Thu Feb 25 2016 Kamil Dudka <kdudka@redhat.com> 1.8.0-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2016-02-11 21:10:20 +00:00
|
|
|
* Thu Feb 11 2016 Kamil Dudka <kdudka@redhat.com> 1.7.1-1
|
|
|
|
- update to the latest upstream release (fixes CVE-2016-1544)
|
|
|
|
|
2016-02-05 10:48:36 +00:00
|
|
|
* Fri Feb 05 2016 Kamil Dudka <kdudka@redhat.com> 1.7.0-3
|
|
|
|
- make the package compile with gcc-6
|
|
|
|
|
2016-02-04 09:20:35 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2016-01-25 11:06:57 +00:00
|
|
|
* Mon Jan 25 2016 Kamil Dudka <kdudka@redhat.com> 1.7.0-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2015-12-25 11:12:36 +00:00
|
|
|
* Fri Dec 25 2015 Kamil Dudka <kdudka@redhat.com> 1.6.0-1
|
2016-01-04 12:24:24 +00:00
|
|
|
- update to the latest upstream release (fixes CVE-2015-8659)
|
2015-12-25 11:12:36 +00:00
|
|
|
|
2015-11-26 14:19:59 +00:00
|
|
|
* Thu Nov 26 2015 Kamil Dudka <kdudka@redhat.com> 1.5.0-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2015-10-26 14:44:00 +00:00
|
|
|
* Mon Oct 26 2015 Kamil Dudka <kdudka@redhat.com> 1.4.0-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2015-09-24 16:45:18 +00:00
|
|
|
* Thu Sep 24 2015 Kamil Dudka <kdudka@redhat.com> 1.3.4-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2015-09-23 15:57:02 +00:00
|
|
|
* Wed Sep 23 2015 Kamil Dudka <kdudka@redhat.com> 1.3.3-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2015-09-16 14:15:52 +00:00
|
|
|
* Wed Sep 16 2015 Kamil Dudka <kdudka@redhat.com> 1.3.2-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2015-09-14 11:08:05 +00:00
|
|
|
* Mon Sep 14 2015 Kamil Dudka <kdudka@redhat.com> 1.3.1-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2015-08-31 09:55:42 +00:00
|
|
|
* Mon Aug 31 2015 Kamil Dudka <kdudka@redhat.com> 1.3.0-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2015-08-17 08:38:19 +00:00
|
|
|
* Mon Aug 17 2015 Kamil Dudka <kdudka@redhat.com> 1.2.1-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2015-08-09 08:56:31 +00:00
|
|
|
* Sun Aug 09 2015 Kamil Dudka <kdudka@redhat.com> 1.2.0-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2015-07-15 21:25:03 +00:00
|
|
|
* Wed Jul 15 2015 Kamil Dudka <kdudka@redhat.com> 1.1.1-1
|
|
|
|
- update to the latest upstream release
|
|
|
|
|
2015-07-15 21:04:08 +00:00
|
|
|
* Tue Jun 30 2015 Kamil Dudka <kdudka@redhat.com> 1.0.5-1
|
|
|
|
- packaged for Fedora (#1237247)
|