Accepting request 347526 from devel:libraries:c_c++
1 OBS-URL: https://build.opensuse.org/request/show/347526 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmicrohttpd?expand=0&rev=21
This commit is contained in:
commit
4339e750f8
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:06dbd2654f390fa1e8196fe063fc1449a6c2ed65a38199a49bf29ad8a93b8979
|
||||
size 1249529
|
Binary file not shown.
3
libmicrohttpd-0.9.47.tar.gz
Normal file
3
libmicrohttpd-0.9.47.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:96bdab4352a09fd3952a346bc01898536992f50127d0adea1c3096a8ec9f658c
|
||||
size 1075636
|
BIN
libmicrohttpd-0.9.47.tar.gz.sig
Normal file
BIN
libmicrohttpd-0.9.47.tar.gz.sig
Normal file
Binary file not shown.
@ -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
|
||||
|
||||
|
@ -18,16 +18,8 @@
|
||||
|
||||
|
||||
%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
|
||||
Version: 0.9.46
|
||||
Version: 0.9.47
|
||||
Release: 0
|
||||
Summary: Small Embeddable HTTP Server Library
|
||||
License: LGPL-2.1+
|
||||
@ -39,17 +31,17 @@ Source2: libmicrohttpd.keyring
|
||||
# PATCH-WORKAROUND-OPENSUSE: the threads have a problem deadlocking (in OBS)
|
||||
Patch1: disable-stalling-test.patch
|
||||
Patch2: libmicrohttpd_test_data.patch
|
||||
BuildRequires: curl
|
||||
BuildRequires: file-devel
|
||||
BuildRequires: libcurl-devel
|
||||
BuildRequires: libgcrypt-devel >= 1.2.4
|
||||
BuildRequires: libgnutls-devel
|
||||
BuildRequires: libtasn1-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: makeinfo
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: pkg-config
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?enable_libmicrospdy}
|
||||
BuildRequires: spdylay-devel
|
||||
%endif
|
||||
|
||||
%description
|
||||
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}
|
||||
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
|
||||
Summary: Small Embeddable HTTP Server Library
|
||||
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}
|
||||
(%{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
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
@ -145,11 +103,6 @@ localhost.
|
||||
--enable-https \
|
||||
--disable-static \
|
||||
--disable-examples \
|
||||
%if 0%{?enable_libmicrospdy}
|
||||
--enable-spdy \
|
||||
%else
|
||||
--disable-spdy \
|
||||
%endif
|
||||
--enable-curl
|
||||
make %{?_smp_mflags}
|
||||
|
||||
@ -158,19 +111,13 @@ make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
%check
|
||||
# linking fails with spdy enabled
|
||||
#make -j1 check
|
||||
# Paralel execution of tests fail
|
||||
make -j 1 check
|
||||
|
||||
%post -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
|
||||
%install_info --info-dir=%{_infodir} %{_infodir}/libmicrohttpd.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*
|
||||
%{_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
|
||||
|
Loading…
x
Reference in New Issue
Block a user