Hello community,

here is the log from the commit of package nghttp2 for openSUSE:Factory checked 
in at 2015-07-19 11:45:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nghttp2 (Old)
 and      /work/SRC/openSUSE:Factory/.nghttp2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nghttp2"

Changes:
--------
--- /work/SRC/openSUSE:Factory/nghttp2/nghttp2.changes  2015-07-03 
00:10:44.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.nghttp2.new/nghttp2.changes     2015-07-19 
11:45:43.000000000 +0200
@@ -1,0 +2,27 @@
+Thu Jul 16 06:58:40 UTC 2015 - mplus...@suse.com
+
+- Update to 1.1.1
+  * nghttpx: Fix various stability issues and memory leak bug
+- Changes for 1.1.0
+  * Fix DATA is not consumed if nghttp2_http_on_data_chunk failed
+  * nghttp2_submit_response and nghttp2_submit_headers may return
+  * NGHTTP2_ERR_DATA_EXIST
+  * msvc build fixes and enchantments (Patch from Gabi Davar)
+  * Compile with IRIX gcc-4.7 (Patch from Klaus Ziegler)
+  * nghttp: Add --max-concurrent-streams option
+  * nghttp: Add comment on HAR on pushed objects (Patch from 
+    acesso)
+  * nghttpx: Add --include option to read additional configuration 
+    from given file
+  * nghttpx: Add backend routing based on request host and path by 
+    extending -b option
+  * nghttpx: Allow log variable to be enclosed by curly braces for 
+    disambiguation
+  * nghttpx: Add log variables related to SSL/TLS connection
+  * h2load: Add --ciphers option
+- Add patches
+  * missing_nghttp2_timegm.patch to fix building of asio library
+  * nghttp2-remove-python-build.patch to fix python bindings 
+    installation when autotools are used
+
+-------------------------------------------------------------------

Old:
----
  nghttp2-1.0.5.tar.xz

New:
----
  missing_nghttp2_timegm.patch
  nghttp2-1.1.1.tar.xz
  nghttp2-remove-python-build.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ nghttp2.spec ++++++
--- /var/tmp/diff_new_pack.fN2fMT/_old  2015-07-19 11:45:43.000000000 +0200
+++ /var/tmp/diff_new_pack.fN2fMT/_new  2015-07-19 11:45:43.000000000 +0200
@@ -19,7 +19,7 @@
 %define lib_name lib%{name}-14
 %define lib_name_asio lib%{name}_asio1
 Name:           nghttp2
-Version:        1.0.5
+Version:        1.1.1
 Release:        0
 Summary:        Implementation of Hypertext Transfer Protocol version 2 in C
 License:        MIT
@@ -27,11 +27,18 @@
 Url:            https://nghttp2.org/
 #Git-Clone:    git://github.com/tatsuhiro-t/nghttp2
 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
+BuildRequires:  autoconf
+BuildRequires:  automake
 BuildRequires:  boost-devel
 BuildRequires:  gcc-c++
+BuildRequires:  libtool
 BuildRequires:  pkg-config
 BuildRequires:  python-Cython
 BuildRequires:  python-Sphinx
+BuildRequires:  python-setuptools
 BuildRequires:  pkgconfig(cunit)
 BuildRequires:  pkgconfig(jansson)
 BuildRequires:  pkgconfig(libevent)
@@ -100,19 +107,30 @@
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
 
 %build
+autoreconf -fiv
 %configure \
+  --disable-silent-rules \
        --enable-asio-lib \
        --enable-python-bindings \
        --disable-static
-make %{?_smp_mflags} all html V=1
+make %{?_smp_mflags} all html
+pushd python
+make nghttp2.c
+python setup.py build
+popd
 
 %check
 make %{?_smp_mflags} check
 
 %install
 make DESTDIR=%{buildroot} install %{?_smp_mflags}
+pushd python
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+popd
 find %{buildroot} -type f -name "*.la" -delete -print
 # none of applications using these man pages is built
 rm -rf %{buildroot}%{_mandir}/man1/*
@@ -144,7 +162,8 @@
 
 %files -n python-%{name}
 %defattr(-,root,root)
-%{python_sitearch}/*
+%{python_sitearch}/nghttp2.so
+%{python_sitearch}/python_nghttp2-%{version}-py%{py_ver}.egg-info
 
 %files -n lib%{name}-devel
 %defattr(-,root,root)

++++++ missing_nghttp2_timegm.patch ++++++
>From c470ac7b0021d3cae80ef1c5b6460a108f2e5bdb Mon Sep 17 00:00:00 2001
From: Tatsuhiro Tsujikawa <tatsuhir...@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 \
++++++ nghttp2-1.0.5.tar.xz -> nghttp2-1.1.1.tar.xz ++++++
++++ 6248 lines of diff (skipped)

++++++ nghttp2-remove-python-build.patch ++++++
Index: nghttp2-1.1.1/python/Makefile.am
===================================================================
--- nghttp2-1.1.1.orig/python/Makefile.am
+++ nghttp2-1.1.1/python/Makefile.am
@@ -29,16 +29,6 @@ EXTRA_DIST = cnghttp2.pxd nghttp2.pyx
 
 if ENABLE_PYTHON_BINDINGS
 
-all-local: nghttp2.c
-       $(PYTHON) setup.py build
-
-install-exec-local:
-       $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix)
-
-uninstall-local:
-       rm -f $(DESTDIR)$(libdir)/python*/site-packages/nghttp2.so
-       rm -f 
$(DESTDIR)$(libdir)/python*/site-packages/python_nghttp2-*.egg-info
-
 clean-local:
        $(PYTHON) setup.py clean --all
        -rm -f $(builddir)/nghttp2.c

Reply via email to