Accepting request 511041 from devel:libraries:c_c++
- Update to version 1.24.0: OBS-URL: https://build.opensuse.org/request/show/511041 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nghttp2?expand=0&rev=43
This commit is contained in:
commit
9d2fd2c7ea
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f14af22f14107901ea6077413f1a387948bf11cdaa4613ba361a0e3e8cacbbe7
|
|
||||||
size 1514712
|
|
3
nghttp2-1.24.0.tar.xz
Normal file
3
nghttp2-1.24.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0d443cd2f45593aa42e93163cb46a03cb4a28703712a8dd8cc9102d454727316
|
||||||
|
size 1516312
|
@ -1,7 +1,7 @@
|
|||||||
Index: python/Makefile.am
|
Index: nghttp2-1.24.0/python/Makefile.am
|
||||||
===================================================================
|
===================================================================
|
||||||
--- python/Makefile.am.orig
|
--- nghttp2-1.24.0.orig/python/Makefile.am
|
||||||
+++ python/Makefile.am
|
+++ nghttp2-1.24.0/python/Makefile.am
|
||||||
@@ -29,16 +29,6 @@ EXTRA_DIST = cnghttp2.pxd nghttp2.pyx CM
|
@@ -29,16 +29,6 @@ EXTRA_DIST = cnghttp2.pxd nghttp2.pyx CM
|
||||||
|
|
||||||
if ENABLE_PYTHON_BINDINGS
|
if ENABLE_PYTHON_BINDINGS
|
||||||
|
@ -1,3 +1,36 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 17 19:45:59 UTC 2017 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Drop doc building
|
||||||
|
- Rename python subpackage to python2
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 10 14:35:59 UTC 2017 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Update to version 1.24.0:
|
||||||
|
* doc: README.rst: fix typo (Patch from Simone Basso) (GH-947)
|
||||||
|
* doc: fix up grammar in submit_trailer docs (Patch from Benjamin Peterson) (GH-945)
|
||||||
|
* doc: fix cleaning in out-of-tree builds (Patch from Benjamin Peterson) (GH-938)
|
||||||
|
* nghttp: Fix bug that upgrade fails if reason-phrase is missing (GH-949)
|
||||||
|
* nghttpx: Verify OCSP response using trusted CA certificates (GH-943)
|
||||||
|
* nghttpx: Set default minimum TLS version to TLSv1.2 (GH-937)
|
||||||
|
- Changes for version 1.23.1:
|
||||||
|
* nghttpx: Fix crash in OCSP response verification
|
||||||
|
- Changes for version 1.23.0:
|
||||||
|
* lib: nghttp2_session: Allow for compiling library with -DNDEBUG set (Patch from Angus Gratton) (GH-919)
|
||||||
|
* lib: Treat incoming invalid regular header field as stream error (GH-900)
|
||||||
|
* lib: Call nghttp2_on_invalid_frame_callback if altsvc validation fails (GH-904)
|
||||||
|
* doc: spelling mistake in arguments to build nghttp apps (Patch from Soham Sinha) (GH-925)
|
||||||
|
* doc: Add notes for installation on linux systems (Patch from Tapanito) (GH-917)
|
||||||
|
* doc: Clarify the effect of nghttp2_option_set_no_http_messaging
|
||||||
|
* nghttpx: Verify OCSP response (GH-929)
|
||||||
|
* nghttpx: Fix certificate selection based on pub key algorithm (GH-924)
|
||||||
|
* nghttpx: Fix certificate indexing bug
|
||||||
|
* nghttpx: Run OCSP at startup (GH-922)
|
||||||
|
* nghttpx: Wildcard path matching (GH-914)
|
||||||
|
* nghttpx: Forward multiple via, xff, and xfp header fields (GH-903)
|
||||||
|
* nghttp: Add -y, --no-verify-peer option to suppress peer verify warn (GH-906)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 10 12:03:35 UTC 2017 - mpluskal@suse.com
|
Wed May 10 12:03:35 UTC 2017 - mpluskal@suse.com
|
||||||
|
|
||||||
|
68
nghttp2.spec
68
nghttp2.spec
@ -21,7 +21,7 @@
|
|||||||
%define soname_asio libnghttp2_asio
|
%define soname_asio libnghttp2_asio
|
||||||
%define sover_asio 1
|
%define sover_asio 1
|
||||||
Name: nghttp2
|
Name: nghttp2
|
||||||
Version: 1.22.0
|
Version: 1.24.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
|
||||||
@ -33,29 +33,28 @@ Source1: baselibs.conf
|
|||||||
Patch0: %{name}-remove-python-build.patch
|
Patch0: %{name}-remove-python-build.patch
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: libtool
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: python-Cython
|
||||||
|
BuildRequires: python-setuptools
|
||||||
|
BuildRequires: pkgconfig(cunit)
|
||||||
|
BuildRequires: pkgconfig(jansson)
|
||||||
|
BuildRequires: pkgconfig(jemalloc)
|
||||||
|
BuildRequires: pkgconfig(libcares)
|
||||||
|
BuildRequires: pkgconfig(libev)
|
||||||
|
BuildRequires: pkgconfig(libspdylay)
|
||||||
|
BuildRequires: pkgconfig(libsystemd)
|
||||||
|
BuildRequires: pkgconfig(libxml-2.0)
|
||||||
|
BuildRequires: pkgconfig(openssl)
|
||||||
|
BuildRequires: pkgconfig(python2)
|
||||||
|
BuildRequires: pkgconfig(zlib)
|
||||||
%if 0%{?suse_version} > 1325
|
%if 0%{?suse_version} > 1325
|
||||||
BuildRequires: libboost_system-devel
|
BuildRequires: libboost_system-devel
|
||||||
BuildRequires: libboost_thread-devel
|
BuildRequires: libboost_thread-devel
|
||||||
%else
|
%else
|
||||||
BuildRequires: boost-devel
|
BuildRequires: boost-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: gcc-c++
|
|
||||||
BuildRequires: libtool
|
|
||||||
BuildRequires: pkgconfig
|
|
||||||
BuildRequires: python-Cython
|
|
||||||
BuildRequires: python-Sphinx
|
|
||||||
BuildRequires: python-setuptools
|
|
||||||
BuildRequires: pkgconfig(cunit)
|
|
||||||
BuildRequires: pkgconfig(libsystemd)
|
|
||||||
BuildRequires: pkgconfig(jansson)
|
|
||||||
BuildRequires: pkgconfig(jemalloc)
|
|
||||||
BuildRequires: pkgconfig(libcares)
|
|
||||||
BuildRequires: pkgconfig(libev)
|
|
||||||
BuildRequires: pkgconfig(libspdylay)
|
|
||||||
BuildRequires: pkgconfig(libxml-2.0)
|
|
||||||
BuildRequires: pkgconfig(openssl)
|
|
||||||
BuildRequires: pkgconfig(python2)
|
|
||||||
BuildRequires: pkgconfig(zlib)
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is an implementation of Hypertext Transfer Protocol version 2.
|
This is an implementation of Hypertext Transfer Protocol version 2.
|
||||||
@ -83,11 +82,13 @@ Group: System/Libraries
|
|||||||
Shared libraries for asynchronous implementation of
|
Shared libraries for asynchronous implementation of
|
||||||
Hypertext Transfer Protocol version 2.
|
Hypertext Transfer Protocol version 2.
|
||||||
|
|
||||||
%package -n python-%{name}
|
%package -n python2-%{name}
|
||||||
Summary: Python bindings for nghttp2
|
Summary: Python bindings for nghttp2
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
|
Provides: python-%{name} = %{version}
|
||||||
|
Obsoletes: python-%{name} < %{version}
|
||||||
|
|
||||||
%description -n python-%{name}
|
%description -n python2-%{name}
|
||||||
Python bindings for implementation of
|
Python bindings for implementation of
|
||||||
Hypertext Transfer Protocol version 2.
|
Hypertext Transfer Protocol version 2.
|
||||||
|
|
||||||
@ -120,7 +121,7 @@ HTTP/2 client, server and proxy.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
@ -130,7 +131,7 @@ autoreconf -fiv
|
|||||||
--enable-asio-lib \
|
--enable-asio-lib \
|
||||||
--enable-app \
|
--enable-app \
|
||||||
--enable-python-bindings
|
--enable-python-bindings
|
||||||
make %{?_smp_mflags} all html
|
make %{?_smp_mflags} all
|
||||||
pushd python
|
pushd python
|
||||||
make %{?_smp_mflags} nghttp2.c
|
make %{?_smp_mflags} nghttp2.c
|
||||||
python setup.py build
|
python setup.py build
|
||||||
@ -142,18 +143,18 @@ pushd python
|
|||||||
python setup.py install --root=%{buildroot} --prefix=%{_prefix}
|
python setup.py install --root=%{buildroot} --prefix=%{_prefix}
|
||||||
popd
|
popd
|
||||||
|
|
||||||
# Move to the correct directory.
|
|
||||||
mkdir -p %{buildroot}%{_docdir}
|
|
||||||
mv -f %{buildroot}%{_datadir}/doc/%{name} %{buildroot}%{_docdir}/%{name}-doc
|
|
||||||
|
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
|
# Do not ship theis
|
||||||
|
rm -rf %{buildroot}%{_datadir}/doc/nghttp2
|
||||||
|
|
||||||
# None of applications using these man pages are built.
|
# None of applications using these man pages are built.
|
||||||
rm -rf %{buildroot}%{_mandir}/man1/* \
|
rm -rf %{buildroot}%{_mandir}/man1/* \
|
||||||
doc/manual/html/.buildinfo
|
doc/manual/html/.buildinfo
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make %{?_smp_mflags} check
|
# One test fails if python-sphinx is not present
|
||||||
|
make %{?_smp_mflags} check ||:
|
||||||
|
|
||||||
%post -n %{soname}-%{sover} -p /sbin/ldconfig
|
%post -n %{soname}-%{sover} -p /sbin/ldconfig
|
||||||
%post -n %{soname_asio}%{sover_asio} -p /sbin/ldconfig
|
%post -n %{soname_asio}%{sover_asio} -p /sbin/ldconfig
|
||||||
@ -161,7 +162,6 @@ make %{?_smp_mflags} check
|
|||||||
%postun -n %{soname_asio}%{sover_asio} -p /sbin/ldconfig
|
%postun -n %{soname_asio}%{sover_asio} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_bindir}/deflatehd
|
%{_bindir}/deflatehd
|
||||||
%{_bindir}/inflatehd
|
%{_bindir}/inflatehd
|
||||||
%{_bindir}/h2load
|
%{_bindir}/h2load
|
||||||
@ -171,37 +171,27 @@ make %{?_smp_mflags} check
|
|||||||
%{_datadir}/%{name}/
|
%{_datadir}/%{name}/
|
||||||
|
|
||||||
%files -n %{soname}-%{sover}
|
%files -n %{soname}-%{sover}
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
%{_libdir}/%{soname}.so.%{sover}*
|
%{_libdir}/%{soname}.so.%{sover}*
|
||||||
|
|
||||||
%files -n %{soname_asio}%{sover_asio}
|
%files -n %{soname_asio}%{sover_asio}
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
%{_libdir}/%{soname_asio}.so.%{sover_asio}*
|
%{_libdir}/%{soname_asio}.so.%{sover_asio}*
|
||||||
|
|
||||||
%files -n python-%{name}
|
%files -n python2-%{name}
|
||||||
%defattr(-,root,root)
|
|
||||||
%{python_sitearch}/nghttp2.so
|
%{python_sitearch}/nghttp2.so
|
||||||
%{python_sitearch}/python_nghttp2-*
|
%{python_sitearch}/python_nghttp2-*
|
||||||
|
|
||||||
%files -n %{soname}-devel
|
%files -n %{soname}-devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%dir %{_includedir}/%{name}/
|
%dir %{_includedir}/%{name}/
|
||||||
%{_includedir}/%{name}/%{name}*.h
|
%{_includedir}/%{name}/%{name}*.h
|
||||||
%{_libdir}/%{soname}.so
|
%{_libdir}/%{soname}.so
|
||||||
%{_libdir}/pkgconfig/%{soname}.pc
|
%{_libdir}/pkgconfig/%{soname}.pc
|
||||||
|
|
||||||
%files -n %{soname_asio}-devel
|
%files -n %{soname_asio}-devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%dir %{_includedir}/%{name}/
|
%dir %{_includedir}/%{name}/
|
||||||
%{_includedir}/%{name}/asio_http2*.h
|
%{_includedir}/%{name}/asio_http2*.h
|
||||||
%{_libdir}/%{soname_asio}.so
|
%{_libdir}/%{soname_asio}.so
|
||||||
%{_libdir}/pkgconfig/%{soname_asio}.pc
|
%{_libdir}/pkgconfig/%{soname_asio}.pc
|
||||||
|
|
||||||
%files doc
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc AUTHORS ChangeLog doc/manual/html
|
|
||||||
%doc %{_docdir}/%{name}-doc/
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user