From fcbe193759013a82158efac1948c4f6056c37db8a762afe01cfe678cf45f6dc9 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Thu, 26 Oct 2017 10:32:48 +0000 Subject: [PATCH 1/4] - Update to version 1.27.0: * h2load: Print out h2 header fields with --verbose option * nghttpx: Send non-final response to HTTP/1.1 or HTTP/2 client only - Changes for version 1.26.0: * docs: Fix some typos in the nghttpx how-to * h2load: Fix bug that timing script stalls with -m1 * h2load: Reservoir sampling (GH-984) * h2load: Add timing-based load-testing in h2load OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/nghttp2?expand=0&rev=73 --- nghttp2-1.25.0.tar.xz | 3 --- nghttp2-1.27.0.tar.xz | 3 +++ nghttp2.changes | 13 +++++++++++++ nghttp2.spec | 2 +- 4 files changed, 17 insertions(+), 4 deletions(-) delete mode 100644 nghttp2-1.25.0.tar.xz create mode 100644 nghttp2-1.27.0.tar.xz diff --git a/nghttp2-1.25.0.tar.xz b/nghttp2-1.25.0.tar.xz deleted file mode 100644 index fdf1bce..0000000 --- a/nghttp2-1.25.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9553f144e60aa0d7bc5245df1c0f6a867a9fd9dc35ed6f358c6122a844d52f62 -size 1542924 diff --git a/nghttp2-1.27.0.tar.xz b/nghttp2-1.27.0.tar.xz new file mode 100644 index 0000000..043fedd --- /dev/null +++ b/nghttp2-1.27.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e83819560952a3dc3c8d96c46f60745408f46f5f384168c90b9e3dfa53b2c2c8 +size 1546064 diff --git a/nghttp2.changes b/nghttp2.changes index 2c4e865..f1ded1a 100644 --- a/nghttp2.changes +++ b/nghttp2.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu Oct 26 10:28:19 UTC 2017 - mpluskal@suse.com + +- Update to version 1.27.0: + * h2load: Print out h2 header fields with --verbose option + * nghttpx: Send non-final response to HTTP/1.1 or HTTP/2 client + only +- Changes for version 1.26.0: + * docs: Fix some typos in the nghttpx how-to + * h2load: Fix bug that timing script stalls with -m1 + * h2load: Reservoir sampling (GH-984) + * h2load: Add timing-based load-testing in h2load + ------------------------------------------------------------------- Mon Oct 9 10:14:26 UTC 2017 - schwab@suse.de diff --git a/nghttp2.spec b/nghttp2.spec index 9f8cef4..055a0b3 100644 --- a/nghttp2.spec +++ b/nghttp2.spec @@ -21,7 +21,7 @@ %define soname_asio libnghttp2_asio %define sover_asio 1 Name: nghttp2 -Version: 1.25.0 +Version: 1.27.0 Release: 0 Summary: Implementation of Hypertext Transfer Protocol version 2 in C License: MIT From a354c811c9b829dbc5578f436d242e939fc349138330f440e4c825b199266191 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Thu, 26 Oct 2017 10:42:35 +0000 Subject: [PATCH 2/4] - Switch to python3 support OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/nghttp2?expand=0&rev=74 --- nghttp2.changes | 1 + nghttp2.spec | 39 +++++++++++++++++++-------------------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/nghttp2.changes b/nghttp2.changes index f1ded1a..0046510 100644 --- a/nghttp2.changes +++ b/nghttp2.changes @@ -10,6 +10,7 @@ Thu Oct 26 10:28:19 UTC 2017 - mpluskal@suse.com * h2load: Fix bug that timing script stalls with -m1 * h2load: Reservoir sampling (GH-984) * h2load: Add timing-based load-testing in h2load +- Switch to python3 support ------------------------------------------------------------------- Mon Oct 9 10:14:26 UTC 2017 - schwab@suse.de diff --git a/nghttp2.spec b/nghttp2.spec index 055a0b3..d298825 100644 --- a/nghttp2.spec +++ b/nghttp2.spec @@ -36,8 +36,8 @@ BuildRequires: automake BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: pkgconfig -BuildRequires: python-Cython -BuildRequires: python-setuptools +BuildRequires: python3-Cython +BuildRequires: python3-setuptools BuildRequires: pkgconfig(cunit) BuildRequires: pkgconfig(jansson) %ifnarch ppc %arm @@ -61,10 +61,9 @@ BuildRequires: boost-devel %description This is an implementation of Hypertext Transfer Protocol version 2. -The framing layer of HTTP/2 is implemented as a form of reusable C -library. On top of that, we have implemented HTTP/2 client, server -and proxy. We have also developed load test and benchmarking tool -for HTTP/2. +The framing layer of HTTP/2 is implemented as a form of reusable C library. +On top of that, we have implemented HTTP/2 client, server and proxy. We +have also developed load test and benchmarking tool for HTTP/2. HPACK encoder and decoder are available as public API. @@ -73,26 +72,26 @@ Summary: Shared library for nghttp2 Group: System/Libraries %description -n %{soname}-%{sover} -Shared C libraries for implementation of -Hypertext Transfer Protocol version 2. +Shared C libraries for implementation of Hypertext Transfer Protocol +version 2. %package -n %{soname_asio}%{sover_asio} Summary: Shared library for nghttp2 Group: System/Libraries %description -n %{soname_asio}%{sover_asio} -Shared libraries for asynchronous implementation of -Hypertext Transfer Protocol version 2. +Shared libraries for asynchronous implementation of Hypertext Transfer +Protocol version 2. -%package -n python2-%{name} -Summary: Python bindings for nghttp2 +%package -n python3-%{name} +Summary: Python3 bindings for nghttp2 Group: Development/Libraries/Python Provides: python-%{name} = %{version} Obsoletes: python-%{name} < %{version} -%description -n python2-%{name} -Python bindings for implementation of -Hypertext Transfer Protocol version 2. +%description -n python3-%{name} +Python bindings for implementation of Hypertext Transfer Protocol version +2. %package -n %{soname}-devel Summary: Development files for nghttp2 @@ -136,13 +135,13 @@ autoreconf -fiv make %{?_smp_mflags} all pushd python make %{?_smp_mflags} nghttp2.c -python setup.py build +python3 setup.py build popd %install %make_install pushd python -python setup.py install --root=%{buildroot} --prefix=%{_prefix} +python3 setup.py install --root=%{buildroot} --prefix=%{_prefix} popd find %{buildroot} -type f -name "*.la" -delete -print @@ -180,9 +179,9 @@ make %{?_smp_mflags} check ||: %doc COPYING %{_libdir}/%{soname_asio}.so.%{sover_asio}* -%files -n python2-%{name} -%{python_sitearch}/nghttp2.so -%{python_sitearch}/python_nghttp2-* +%files -n python3-%{name} +%{python3_sitearch}/nghttp2.*.so +%{python3_sitearch}/python_nghttp2-* %files -n %{soname}-devel %dir %{_includedir}/%{name}/ From 95c00ebb34603ed03d93c66d261e1dc067b209517f33230423aeca2fd62628d5 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Thu, 26 Oct 2017 10:45:27 +0000 Subject: [PATCH 3/4] OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/nghttp2?expand=0&rev=75 --- nghttp2.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/nghttp2.spec b/nghttp2.spec index d298825..1205318 100644 --- a/nghttp2.spec +++ b/nghttp2.spec @@ -36,6 +36,7 @@ BuildRequires: automake BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: pkgconfig +BuildRequires: python3-devel BuildRequires: python3-Cython BuildRequires: python3-setuptools BuildRequires: pkgconfig(cunit) From 86386d9e0cfcddb8df8efa530cbe214d2ef1bbb558c44a3a6780366837911fa3 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Thu, 26 Oct 2017 10:54:18 +0000 Subject: [PATCH 4/4] OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/nghttp2?expand=0&rev=76 --- nghttp2.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/nghttp2.spec b/nghttp2.spec index 1205318..fbae4e3 100644 --- a/nghttp2.spec +++ b/nghttp2.spec @@ -87,8 +87,6 @@ Protocol version 2. %package -n python3-%{name} Summary: Python3 bindings for nghttp2 Group: Development/Libraries/Python -Provides: python-%{name} = %{version} -Obsoletes: python-%{name} < %{version} %description -n python3-%{name} Python bindings for implementation of Hypertext Transfer Protocol version