forked from pool/nghttp2
- Update to 1.2.0
- Changes for 1.1.2 * Fix linker error with libnghttp2_asio * Allow custom installation location for Python bindings - Drop no longer needed missing_nghttp2_timegm.patch OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/nghttp2?expand=0&rev=30
This commit is contained in:
parent
a4e7a9d7c7
commit
8c85e4d812
@ -1,21 +0,0 @@
|
|||||||
From c470ac7b0021d3cae80ef1c5b6460a108f2e5bdb Mon Sep 17 00:00:00 2001
|
|
||||||
From: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
|
|
||||||
Date: Thu, 16 Jul 2015 14:01:18 +0900
|
|
||||||
Subject: [PATCH] asio: Fix missing nghttp2_timegm
|
|
||||||
|
|
||||||
---
|
|
||||||
src/Makefile.am | 1 +
|
|
||||||
1 file changed, 1 insertion(+)
|
|
||||||
|
|
||||||
Index: nghttp2-1.1.1/src/Makefile.am
|
|
||||||
===================================================================
|
|
||||||
--- nghttp2-1.1.1.orig/src/Makefile.am
|
|
||||||
+++ nghttp2-1.1.1/src/Makefile.am
|
|
||||||
@@ -176,6 +176,7 @@ lib_LTLIBRARIES = libnghttp2_asio.la
|
|
||||||
libnghttp2_asio_la_SOURCES = \
|
|
||||||
util.cc util.h http2.cc http2.h \
|
|
||||||
ssl.cc ssl.h \
|
|
||||||
+ timegm.c timegm.h \
|
|
||||||
asio_common.cc asio_common.h \
|
|
||||||
asio_io_service_pool.cc asio_io_service_pool.h \
|
|
||||||
asio_server_http2.cc \
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d36ba13066f4e0594c741a6448547f0b492e31043e0149bd39d2503854d6411c
|
|
||||||
size 918464
|
|
3
nghttp2-1.2.0.tar.xz
Normal file
3
nghttp2-1.2.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9e4a419c835b6cfa08ff9743f823638d32d8516aa3abfc86598272d173bc558f
|
||||||
|
size 937040
|
@ -1,7 +1,7 @@
|
|||||||
Index: nghttp2-1.1.1/python/Makefile.am
|
Index: nghttp2-1.2.0/python/Makefile.am
|
||||||
===================================================================
|
===================================================================
|
||||||
--- nghttp2-1.1.1.orig/python/Makefile.am
|
--- nghttp2-1.2.0.orig/python/Makefile.am
|
||||||
+++ nghttp2-1.1.1/python/Makefile.am
|
+++ nghttp2-1.2.0/python/Makefile.am
|
||||||
@@ -29,16 +29,6 @@ EXTRA_DIST = cnghttp2.pxd nghttp2.pyx
|
@@ -29,16 +29,6 @@ EXTRA_DIST = cnghttp2.pxd nghttp2.pyx
|
||||||
|
|
||||||
if ENABLE_PYTHON_BINDINGS
|
if ENABLE_PYTHON_BINDINGS
|
||||||
@ -14,7 +14,7 @@ Index: nghttp2-1.1.1/python/Makefile.am
|
|||||||
-
|
-
|
||||||
-uninstall-local:
|
-uninstall-local:
|
||||||
- rm -f $(DESTDIR)$(libdir)/python*/site-packages/nghttp2.so
|
- rm -f $(DESTDIR)$(libdir)/python*/site-packages/nghttp2.so
|
||||||
- rm -f $(DESTDIR)$(libdir)/python*/site-packages/python_nghttp2-*.egg-info
|
- rm -f $(DESTDIR)$(libdir)/python*/site-packages/python_nghttp2-*.egg
|
||||||
-
|
-
|
||||||
clean-local:
|
clean-local:
|
||||||
$(PYTHON) setup.py clean --all
|
$(PYTHON) setup.py clean --all
|
||||||
|
@ -1,3 +1,36 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 10 14:10:20 UTC 2015 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Update to 1.2.0
|
||||||
|
* Fix crash if response or data is submitted to closing stream
|
||||||
|
* Header table size UINT32_MAX must be accepted
|
||||||
|
* Use PROTOCOL_ERROR against DATA sent to idle stream
|
||||||
|
* Allow multiple in-flight SETTINGS
|
||||||
|
* Strictly check occurrence of dynamic table size update
|
||||||
|
* Fix configure warning that 'missing' is missing or too old
|
||||||
|
* Fix rm: cannot remove ‘*.rst’: No such file or directory when
|
||||||
|
"make clean" (Patch from Alexis La Goutte)
|
||||||
|
* doc: Reword some of the server and client tutorial (Patch
|
||||||
|
from Tom Harwood)
|
||||||
|
* src: Remove monotonic_clock replacement macro for gcc-4.6
|
||||||
|
* nghttpx: Add TLS ticket key sharing among nghttpx instances
|
||||||
|
using memcached
|
||||||
|
* nghttpx: Add shared session cache using memcached
|
||||||
|
* nghttpx: Set SSL/TLS session timeout to 12 hours
|
||||||
|
* nghttpx: Enable session resumption on HTTP/2 backend
|
||||||
|
* nghttpx: Don't rewrite host header field by default
|
||||||
|
* nghttpx: Generate new ticket key every 1hr and its life time
|
||||||
|
is now 12hrs
|
||||||
|
* nghttpx: Don't reuse backend connection if it is not clean
|
||||||
|
* nghttpx: Add AES-256-CBC encryption for TLS session ticket
|
||||||
|
* nghttpd: Fix the bug that 304 response has non-empty body
|
||||||
|
* h2load: Add -r and -C options to h2load (Patch from
|
||||||
|
Nora Shoemaker)
|
||||||
|
- Changes for 1.1.2
|
||||||
|
* Fix linker error with libnghttp2_asio
|
||||||
|
* Allow custom installation location for Python bindings
|
||||||
|
- Drop no longer needed missing_nghttp2_timegm.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jul 16 06:58:40 UTC 2015 - mpluskal@suse.com
|
Thu Jul 16 06:58:40 UTC 2015 - mpluskal@suse.com
|
||||||
|
|
||||||
|
10
nghttp2.spec
10
nghttp2.spec
@ -19,7 +19,7 @@
|
|||||||
%define lib_name lib%{name}-14
|
%define lib_name lib%{name}-14
|
||||||
%define lib_name_asio lib%{name}_asio1
|
%define lib_name_asio lib%{name}_asio1
|
||||||
Name: nghttp2
|
Name: nghttp2
|
||||||
Version: 1.1.1
|
Version: 1.2.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Implementation of Hypertext Transfer Protocol version 2 in C
|
Summary: Implementation of Hypertext Transfer Protocol version 2 in C
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -27,8 +27,6 @@ Group: Development/Libraries/C and C++
|
|||||||
Url: https://nghttp2.org/
|
Url: https://nghttp2.org/
|
||||||
#Git-Clone: git://github.com/tatsuhiro-t/nghttp2
|
#Git-Clone: git://github.com/tatsuhiro-t/nghttp2
|
||||||
Source: https://github.com/tatsuhiro-t/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz
|
Source: https://github.com/tatsuhiro-t/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz
|
||||||
# fix for building of asio library from upstream (c470ac7b0021d3cae80ef1c5b6460a108f2e5bdb)
|
|
||||||
Patch0: missing_nghttp2_timegm.patch
|
|
||||||
Patch1: nghttp2-remove-python-build.patch
|
Patch1: nghttp2-remove-python-build.patch
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
@ -107,7 +105,6 @@ server and proxy.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -115,11 +112,11 @@ autoreconf -fiv
|
|||||||
%configure \
|
%configure \
|
||||||
--disable-silent-rules \
|
--disable-silent-rules \
|
||||||
--enable-asio-lib \
|
--enable-asio-lib \
|
||||||
--enable-python-bindings \
|
--enable-python-bindings \
|
||||||
--disable-static
|
--disable-static
|
||||||
make %{?_smp_mflags} all html
|
make %{?_smp_mflags} all html
|
||||||
pushd python
|
pushd python
|
||||||
make nghttp2.c
|
make %{?_smp_mflags} nghttp2.c
|
||||||
python setup.py build
|
python setup.py build
|
||||||
popd
|
popd
|
||||||
|
|
||||||
@ -131,6 +128,7 @@ make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
|||||||
pushd python
|
pushd python
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
popd
|
popd
|
||||||
|
# do not ship these
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
# none of applications using these man pages is built
|
# none of applications using these man pages is built
|
||||||
rm -rf %{buildroot}%{_mandir}/man1/*
|
rm -rf %{buildroot}%{_mandir}/man1/*
|
||||||
|
Loading…
Reference in New Issue
Block a user