Accepting request 347525 from home:pluskalm:branches:devel:libraries:c_c++

- Update to 0.9.47

OBS-URL: https://build.opensuse.org/request/show/347525
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libmicrohttpd?expand=0&rev=60
This commit is contained in:
Tomáš Chvátal 2015-12-05 09:40:35 +00:00 committed by Git OBS Bridge
parent 08231542ed
commit aafb79de0c
6 changed files with 28 additions and 78 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:06dbd2654f390fa1e8196fe063fc1449a6c2ed65a38199a49bf29ad8a93b8979
size 1249529

Binary file not shown.

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:96bdab4352a09fd3952a346bc01898536992f50127d0adea1c3096a8ec9f658c
size 1075636

Binary file not shown.

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Sat Dec 5 09:22:32 UTC 2015 - mpluskal@suse.com
- Update to 0.9.47
* Reworked VS project files. Used x64 build tools by
efault, many optimizations, fixes.
dded project files for VS 2015. -EG
* SPDY is dead, killing experimental libmicrospdy. -CG
* New logic for controlling socket buffer modes.
Eliminated delay before last packet in response and before
"100 Continue" response on all platforms. Also response
header are pushed to client without waiting for response
body. -EG
* Remove 200ms delay observable with keep-alive on Darwin
and *BSD platfroms. -EG
* Fix issue with shutdown if connection was resumed just
before shutdown. -FC
- Update dependencies
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Nov 13 14:01:04 UTC 2015 - mpluskal@suse.com Fri Nov 13 14:01:04 UTC 2015 - mpluskal@suse.com

View File

@ -18,16 +18,8 @@
%global libmicrohttpd libmicrohttpd12 %global libmicrohttpd libmicrohttpd12
%global libmicrospdy libmicrospdy0
%if 0%{?suse_version} > 1310 && !0%{?sles_version}
# libmicrosdpy requires openssl >= 1.0.1
# and spdylay
%define enable_libmicrospdy 1
%endif
Name: libmicrohttpd Name: libmicrohttpd
Version: 0.9.46 Version: 0.9.47
Release: 0 Release: 0
Summary: Small Embeddable HTTP Server Library Summary: Small Embeddable HTTP Server Library
License: LGPL-2.1+ License: LGPL-2.1+
@ -39,17 +31,17 @@ Source2: libmicrohttpd.keyring
# PATCH-WORKAROUND-OPENSUSE: the threads have a problem deadlocking (in OBS) # PATCH-WORKAROUND-OPENSUSE: the threads have a problem deadlocking (in OBS)
Patch1: disable-stalling-test.patch Patch1: disable-stalling-test.patch
Patch2: libmicrohttpd_test_data.patch Patch2: libmicrohttpd_test_data.patch
BuildRequires: curl
BuildRequires: file-devel
BuildRequires: libcurl-devel BuildRequires: libcurl-devel
BuildRequires: libgcrypt-devel >= 1.2.4 BuildRequires: libgcrypt-devel >= 1.2.4
BuildRequires: libgnutls-devel BuildRequires: libgnutls-devel
BuildRequires: libtasn1-devel BuildRequires: libtasn1-devel
BuildRequires: libtool BuildRequires: libtool
BuildRequires: makeinfo
BuildRequires: openssl-devel BuildRequires: openssl-devel
BuildRequires: pkg-config BuildRequires: pkg-config
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?enable_libmicrospdy}
BuildRequires: spdylay-devel
%endif
%description %description
GNU libmicrohttpd is a small C library that is supposed to make it easy to run GNU libmicrohttpd is a small C library that is supposed to make it easy to run
@ -84,20 +76,6 @@ Group: System/libraries
%description -n %{libmicrohttpd} %description -n %{libmicrohttpd}
Shared library for %{name} (%{summary}). Shared library for %{name} (%{summary}).
%if 0%{?enable_libmicrospdy}
%package -n %{libmicrospdy}
Summary: Small embeddable http server library
Group: System/libraries
%description -n %{libmicrospdy}
Shared library for libmicrospdy (%{summary}).
WARNING: Additionally, a second, still very experimental library is provided
for SPDY (the base for HTTP 2.0) support. libmicrospdy provides a compact API
and implementation of SPDY server. libmicrospdy currently only implements
partially version 3 of SPDY.
%endif
%package devel %package devel
Summary: Small Embeddable HTTP Server Library Summary: Small Embeddable HTTP Server Library
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
@ -110,26 +88,6 @@ Requires(preun): info
Headers, pkg-config files, so link and other development files for %{name} Headers, pkg-config files, so link and other development files for %{name}
(%{summary}). (%{summary}).
%if 0%{?enable_libmicrospdy}
%package -n libmicrospdy-devel
Summary: Small Embeddable HTTP Server Library
Group: Development/Libraries/C and C++
Requires: %{libmicrospdy} = %{version}
%description -n libmicrospdy-devel
Headers for libmicrospdy (%{summary}).
%package -n microspdy2http
Summary: Proxy translated SPDY requests to https server
Group: System/Libraries
%description -n microspdy2http
Translates incoming SPDY requests to http server on
localhost.
* Uses libcurl.
* No error handling for curl requests.
%endif
%prep %prep
%setup -q %setup -q
%patch1 -p1 %patch1 -p1
@ -145,11 +103,6 @@ localhost.
--enable-https \ --enable-https \
--disable-static \ --disable-static \
--disable-examples \ --disable-examples \
%if 0%{?enable_libmicrospdy}
--enable-spdy \
%else
--disable-spdy \
%endif
--enable-curl --enable-curl
make %{?_smp_mflags} make %{?_smp_mflags}
@ -158,19 +111,13 @@ make DESTDIR=%{buildroot} install %{?_smp_mflags}
find %{buildroot} -type f -name "*.la" -delete -print find %{buildroot} -type f -name "*.la" -delete -print
%check %check
# linking fails with spdy enabled # Paralel execution of tests fail
#make -j1 check make -j 1 check
%post -n %{libmicrohttpd} -p /sbin/ldconfig %post -n %{libmicrohttpd} -p /sbin/ldconfig
%postun -n %{libmicrohttpd} -p /sbin/ldconfig %postun -n %{libmicrohttpd} -p /sbin/ldconfig
%if 0%{?enable_libmicrospdy}
%post -n %{libmicrospdy} -p /sbin/ldconfig
%postun -n %{libmicrospdy} -p /sbin/ldconfig
%endif
%post devel %post devel
%install_info --info-dir=%{_infodir} %{_infodir}/libmicrohttpd.info%{ext_info} %install_info --info-dir=%{_infodir} %{_infodir}/libmicrohttpd.info%{ext_info}
%install_info --info-dir=%{_infodir} %{_infodir}/libmicrohttpd-tutorial.info%{ext_info} %install_info --info-dir=%{_infodir} %{_infodir}/libmicrohttpd-tutorial.info%{ext_info}
@ -192,20 +139,4 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_infodir}/%{name}*.info* %{_infodir}/%{name}*.info*
%{_mandir}/man3/%{name}.3* %{_mandir}/man3/%{name}.3*
%if 0%{?enable_libmicrospdy}
%files -n %{libmicrospdy}
%defattr(-,root,root)
%{_libdir}/libmicrospdy.so.*
%files -n libmicrospdy-devel
%defattr(-,root,root)
%{_includedir}/microspdy.h
%{_libdir}/libmicrospdy.so
%{_libdir}/pkgconfig/libmicrospdy.pc
%files -n microspdy2http
%defattr(-,root,root)
%attr(0755,root,root) %{_bindir}/microspdy2http
%endif
%changelog %changelog