diff --git a/nghttp2-1.8.0.tar.xz b/nghttp2-1.8.0.tar.xz deleted file mode 100644 index fa2fc55..0000000 --- a/nghttp2-1.8.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:61a545299171893a918d5b3c3cedc6540e73bdaa25dd1fb588eb291819743aec -size 1424864 diff --git a/nghttp2-1.9.1.tar.xz b/nghttp2-1.9.1.tar.xz new file mode 100644 index 0000000..2c552e3 --- /dev/null +++ b/nghttp2-1.9.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b8f8a0a1abac50da1eeb9238d0dadcda9725a7fe95eb0b4f7a482beabaf2b5fb +size 1437636 diff --git a/nghttp2-remove-python-build.patch b/nghttp2-remove-python-build.patch index 95d01e7..5294680 100644 --- a/nghttp2-remove-python-build.patch +++ b/nghttp2-remove-python-build.patch @@ -1,8 +1,8 @@ -Index: nghttp2-1.8.0/python/Makefile.am +Index: python/Makefile.am =================================================================== ---- nghttp2-1.8.0.orig/python/Makefile.am -+++ nghttp2-1.8.0/python/Makefile.am -@@ -29,16 +29,6 @@ EXTRA_DIST = cnghttp2.pxd nghttp2.pyx +--- python/Makefile.am.orig 2016-03-27 15:20:38.000000000 +0200 ++++ python/Makefile.am 2016-03-27 18:34:28.238374041 +0200 +@@ -29,16 +29,6 @@ EXTRA_DIST = cnghttp2.pxd nghttp2.pyx CM if ENABLE_PYTHON_BINDINGS diff --git a/nghttp2.changes b/nghttp2.changes index fc2d546..3185541 100644 --- a/nghttp2.changes +++ b/nghttp2.changes @@ -1,3 +1,56 @@ +------------------------------------------------------------------- +Sun Mar 27 16:57:17 UTC 2016 - mpluskal@suse.com + +- Update to 1.9.1 + * nghttpx: Fix bug that backend tls keyword did not work with -s + option + * nghttpx: Fix handing stream after connection check was failed +- Changes for 1.9.0 + * lib: Add nghttp2_error_callback to tell application human + readable error message + * lib: Reference counted HPACK name/value pair, adding + * nghttp2_on_header_callback2 + * lib: Add nghttp2_option_set_no_auto_ping_ack() option + * lib: Add nghttp2_http2_strerror() to return HTTP/2 error code + string + * build: Makefile.msvc enhancements (Patch from Jan-E) + * build: Lower libev version requirement (Patch from Peter Wu) + * build: cmake build support (Patch from Peter Wu) + * asio: Fix bug that server event loop breaks with exception + * integration: Disable tests that sometimes break randomly on + travis + * integration: do not use recursive target (Patch from Peter Wu) + * h2load: Fix bug that it did not try to connect to server again + * h2load: Fix bug that initial max concurrent streams was too + large + * nghttpx: Memcached connection encryption with tls keyword + * nghttpx: Enable/disable TLS per frontend address + * nghttpx: Configure TLS per backend routing pattern + * nghttpx: Workaround for Ubuntu 15.04 which does not + value-initialize on std::make_shared. + * nghttpx: Add --error-page option to set custom error pages + * nghttpx: Add wildcard host routing + * nghttpx: Change read timeout reset timing + * nghttpx: Don't push if Link header field includes nopush + * nghttpx: Deprecate backend-http1-connections-per-host in favor + of backend-connections-per-host + * nghttpx: Restructure mode settings, removing --http2-bridge, + --client, and --client-proxy options + * nghttpx: Deprecate backend-http1-connections-per-frontend in + favor of backend-connections-per-frontend + * nghttpx: Don't share session which is already in draining + state + * nghttpx: Effectively disable backend HTTP/2 connection flow + control + * nghttpx: Add --frontend-http2-max-concurrent-streams and + --backend-http2-max-concurrent-streams, and deprecate + --http2-max-concurrent-streams option + * nghttpx: Deprecate --backend-http2-connections-per-worker + option + * nghttpx: Share TLS session cache between HTTP/2 and HTTP/1 + backend + * nghttpx: Rewrite backend HTTP/2 connection coalesce strategy + ------------------------------------------------------------------- Fri Feb 26 13:00:38 UTC 2016 - mpluskal@suse.com diff --git a/nghttp2.spec b/nghttp2.spec index f4c38c2..f38d82a 100644 --- a/nghttp2.spec +++ b/nghttp2.spec @@ -21,7 +21,7 @@ %define soname_asio libnghttp2_asio %define sover_asio 1 Name: nghttp2 -Version: 1.8.0 +Version: 1.9.1 Release: 0 Summary: Implementation of Hypertext Transfer Protocol version 2 in C License: MIT @@ -39,6 +39,7 @@ BuildRequires: jemalloc-devel BuildRequires: libtool BuildRequires: pkg-config BuildRequires: python-Cython +BuildRequires: python-devel BuildRequires: python-Sphinx BuildRequires: python-setuptools BuildRequires: pkgconfig(cunit) @@ -113,7 +114,7 @@ HTTP/2 client, server and proxy. %prep %setup -q -%patch0 -p1 +%patch0 %build autoreconf -fiv @@ -123,24 +124,21 @@ autoreconf -fiv --enable-asio-lib \ --enable-app \ --enable-python-bindings - make %{?_smp_mflags} all html pushd python make %{?_smp_mflags} nghttp2.c -python2 setup.py build +python setup.py build popd %install %make_install - pushd python -python2 setup.py install \ - --root=%{buildroot} --prefix=%{_prefix} +python setup.py install --root=%{buildroot} --prefix=%{_prefix} popd # Move to the correct directory. -mkdir -p %{buildroot}%{_docdir}/ -mv -f %{buildroot}%{_datadir}/doc/%{name}/ %{buildroot}%{_docdir}/%{name}-doc/ +mkdir -p %{buildroot}%{_docdir} +mv -f %{buildroot}%{_datadir}/doc/%{name} %{buildroot}%{_docdir}/%{name}-doc find %{buildroot} -type f -name "*.la" -delete -print