Accepting request 202028 from devel:libraries:c_c++
REMOVED DEBIAN FILES: noone bother to update them since 0.9.22, so kill em all BTW: should go to 13.1 - Update to 0.9.30 + implements the "SHOULD" clause of RFC 2616 section 8.1.4, which may reduce bandwidth consumption when clients cancel requests. + fixes build errors with various combinations of operating systems, libc versions, and configure flags. + fixes a use-after-free crash when using epoll() in combination with read errors 0.9.29: + epoll can now also be used with SSL connections + following recent HTTP/1.1 clarfications, MHD no longer send a "Content-length" header in CONNECT responses. + the "MHD_add_connection" call now consistently sets an "errno" value to indicate the cause of errors. Connections added this way are now always processed immediately. + fixes a recently-introduced bug which prevented HTTP pipelining from working properly in some cases and a build error in conjunction with the "--disable-messages" configure option. - Enable build of (experimental) SPDY support. OBS-URL: https://build.opensuse.org/request/show/202028 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmicrohttpd?expand=0&rev=6
This commit is contained in:
commit
32fc6a2ec1
126
debian.changelog
126
debian.changelog
@ -1,126 +0,0 @@
|
|||||||
libmicrohttpd (0.9.22-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* Updated to 0.9.22.
|
|
||||||
|
|
||||||
-- Frederic Crozat <fcrozat@suse.com> Fri, Sep 28 2012 12:03:02 +0200
|
|
||||||
|
|
||||||
libmicrohttpd (0.9.21-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* Updated to 0.9.21.
|
|
||||||
|
|
||||||
-- Stephan Kleine <bitshuffler@opensuse.org> Fri, 10 Aug 2012 23:49:28 +0200
|
|
||||||
|
|
||||||
libmicrohttpd (0.9.19-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* Updated to 0.9.19.
|
|
||||||
|
|
||||||
-- Stephan Kleine <bitshuffler@opensuse.org> Sun, 05 Feb 2012 14:03:16 +0100
|
|
||||||
|
|
||||||
libmicrohttpd (0.9.17-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* Updated to 0.9.17.
|
|
||||||
|
|
||||||
-- Stephan Kleine <bitshuffler@opensuse.org> Sun, 27 Nov 2011 14:24:28 +0100
|
|
||||||
|
|
||||||
libmicrohttpd (0.9.16-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* Updated to 0.9.16.
|
|
||||||
|
|
||||||
-- Stephan Kleine <bitshuffler@opensuse.org> Sat, 12 Nov 2011 21:37:39 +0100
|
|
||||||
|
|
||||||
libmicrohttpd (0.9.15-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* Updated to 0.9.15.
|
|
||||||
|
|
||||||
-- Stephan Kleine <bitshuffler@opensuse.org> Sun, 16 Oct 2011 13:38:25 +0200
|
|
||||||
|
|
||||||
libmicrohttpd (0.9.11-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* Updated to 0.9.11.
|
|
||||||
|
|
||||||
-- Stephan Kleine <bitshuffler@opensuse.org> Sat, 21 May 2011 14:30:33 +0200
|
|
||||||
|
|
||||||
libmicrohttpd (0.9.10-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* Updated to 0.9.10.
|
|
||||||
|
|
||||||
-- Stephan Kleine <bitshuffler@opensuse.org> Fri, 29 Apr 2011 20:06:47 +0200
|
|
||||||
|
|
||||||
libmicrohttpd (0.9.9-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* Updated to 0.9.9.
|
|
||||||
|
|
||||||
-- Stephan Kleine <bitshuffler@opensuse.org> Wed, 30 Mar 2011 18:50:16 +0200
|
|
||||||
|
|
||||||
libmicrohttpd (0.9.8-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* Updated to 0.9.8.
|
|
||||||
|
|
||||||
-- Stephan Kleine <bitshuffler@opensuse.org> Sat, 05 Mar 2011 22:37:25 +0100
|
|
||||||
|
|
||||||
libmicrohttpd (0.9.7-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* Updated to 0.9.7.
|
|
||||||
|
|
||||||
-- Stephan Kleine <bitshuffler@opensuse.org> Tue, 15 Feb 2011 17:55:00 +0100
|
|
||||||
|
|
||||||
libmicrohttpd (0.9.6-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* Updated to 0.9.6.
|
|
||||||
|
|
||||||
-- Stephan Kleine <bitshuffler@opensuse.org> Thu, 27 Jan 2011 03:34:03 +0100
|
|
||||||
|
|
||||||
libmicrohttpd (0.9.5-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* Updated to 0.9.5.
|
|
||||||
* Enabled hardening-wrapper
|
|
||||||
|
|
||||||
-- Stephan Kleine <bitshuffler@opensuse.org> Sat, 15 Jan 2011 16:04:09 +0100
|
|
||||||
|
|
||||||
libmicrohttpd (0.9.4-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* Updated to 0.9.4.
|
|
||||||
|
|
||||||
-- Stephan Kleine <bitshuffler@opensuse.org> Wed, 29 Dec 2010 16:15:21 +0100
|
|
||||||
|
|
||||||
libmicrohttpd (0.9.3-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* Updated to 0.9.3.
|
|
||||||
|
|
||||||
-- Stephan Kleine <bitshuffler@opensuse.org> Wed, 24 Nov 2010 17:01:38 +0100
|
|
||||||
|
|
||||||
libmicrohttpd (0.9.2-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* Updated to 0.9.2.
|
|
||||||
|
|
||||||
-- Stephan Kleine <bitshuffler@opensuse.org> Thu, 21 Oct 2010 15:21:16 +0200
|
|
||||||
|
|
||||||
libmicrohttpd (0.9.1-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* Updated to 0.9.1.
|
|
||||||
|
|
||||||
-- Stephan Kleine <bitshuffler@opensuse.org> Mon, 20 Sep 2010 19:15:20 +0200
|
|
||||||
|
|
||||||
libmicrohttpd (0.9.0-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* Updated to 0.9.0.
|
|
||||||
|
|
||||||
-- Stephan Kleine <bitshuffler@opensuse.org> Tue, 27 Jul 2010 09:25:19 +0200
|
|
||||||
|
|
||||||
libmicrohttpd (0.4.6-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* Updated to 0.4.6.
|
|
||||||
|
|
||||||
-- Pascal Bleser <pascal.bleser@opensuse.org> Mon, 15 Mar 2010 09:37:00 +0100
|
|
||||||
|
|
||||||
libmicrohttpd (0.4.5-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* Updated to 0.4.5.
|
|
||||||
|
|
||||||
-- Stephan Kleine <bitshuffler@opensuse.org> Sat, 02 Feb 2010 13:10:52 +0100
|
|
||||||
|
|
||||||
libmicrohttpd (0.4.4-1) unstable; urgency=low
|
|
||||||
|
|
||||||
* Initial package.
|
|
||||||
|
|
||||||
-- Stephan Kleine <bitshuffler@opensuse.org> Sat, 23 Jan 2010 14:04:38 +0100
|
|
@ -1 +0,0 @@
|
|||||||
5
|
|
@ -1,40 +0,0 @@
|
|||||||
Source: libmicrohttpd
|
|
||||||
Section: libs
|
|
||||||
Priority: optional
|
|
||||||
Maintainer: Stephan Kleine <bitshuffler@opensuse.org>
|
|
||||||
Build-Depends: debhelper (>= 5), autotools-dev, libcurl4-openssl-dev, libgcrypt11-dev (>= 1.2.4), libgnutls-dev
|
|
||||||
Standards-Version: 3.8.3
|
|
||||||
Homepage: http://www.gnu.org/software/libmicrohttpd/
|
|
||||||
Vcs-Browser: http://git.debian-maintainers.org/?p=gnunet/libmicrohttpd.git
|
|
||||||
Vcs-Git: git://git.debian-maintainers.org/git/gnunet/libmicrohttpd.git
|
|
||||||
|
|
||||||
Package: libmicrohttpd10
|
|
||||||
Section: libs
|
|
||||||
Architecture: any
|
|
||||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
|
||||||
Description: library embedding HTTP server functionality
|
|
||||||
libmicrohttpd is a small C library for embedding HTTP server functionality into
|
|
||||||
applications.
|
|
||||||
.
|
|
||||||
It will be used in future GNUnet versions as part of the HTTP transport.
|
|
||||||
|
|
||||||
Package: libmicrohttpd10-dbg
|
|
||||||
Section: debug
|
|
||||||
Priority: extra
|
|
||||||
Architecture: any
|
|
||||||
Depends: ${misc:Depends}, libmicrohttpd10 (= ${binary:Version}), libmicrohttpd-dev (= ${binary:Version})
|
|
||||||
Description: library embedding HTTP server functionality (debug)
|
|
||||||
libmicrohttpd is a small C library for embedding HTTP server functionality into
|
|
||||||
applications.
|
|
||||||
.
|
|
||||||
This package contains the debugging symbols.
|
|
||||||
|
|
||||||
Package: libmicrohttpd-dev
|
|
||||||
Section: libdevel
|
|
||||||
Architecture: any
|
|
||||||
Depends: ${misc:Depends}, libmicrohttpd10 (= ${binary:Version}),
|
|
||||||
Description: library embedding HTTP server functionality (development)
|
|
||||||
libmicrohttpd is a small C library for embedding HTTP server functionality into
|
|
||||||
applications.
|
|
||||||
.
|
|
||||||
This package contains the development files.
|
|
@ -1,5 +0,0 @@
|
|||||||
/usr/include/*
|
|
||||||
/usr/lib/*.so
|
|
||||||
/usr/lib/pkgconfig
|
|
||||||
/usr/share/info
|
|
||||||
/usr/share/man
|
|
@ -1 +0,0 @@
|
|||||||
usr/lib/*.so.*
|
|
79
debian.rules
79
debian.rules
@ -1,79 +0,0 @@
|
|||||||
#!/usr/bin/make -f
|
|
||||||
|
|
||||||
# Uncomment this to turn on verbose mode.
|
|
||||||
export DH_VERBOSE=1
|
|
||||||
|
|
||||||
# Enable hardening-wrapper
|
|
||||||
export DEB_BUILD_HARDENING=1
|
|
||||||
|
|
||||||
# These are used for cross-compiling and for saving the configure script
|
|
||||||
# from having to guess our platform (since we know it already)
|
|
||||||
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
|
|
||||||
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
|
|
||||||
|
|
||||||
|
|
||||||
config.status: configure
|
|
||||||
dh_testdir
|
|
||||||
|
|
||||||
# Configuring package
|
|
||||||
./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --disable-static --enable-curl --enable-client-side
|
|
||||||
|
|
||||||
build: build-stamp
|
|
||||||
build-stamp: config.status
|
|
||||||
dh_testdir
|
|
||||||
|
|
||||||
# Building package
|
|
||||||
$(MAKE)
|
|
||||||
|
|
||||||
touch build-stamp
|
|
||||||
|
|
||||||
clean:
|
|
||||||
dh_testdir
|
|
||||||
dh_testroot
|
|
||||||
rm -f build-stamp
|
|
||||||
|
|
||||||
# Cleaning package
|
|
||||||
[ ! -f Makefile ] || $(MAKE) distclean
|
|
||||||
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
|
|
||||||
cp -f /usr/share/misc/config.sub config.sub
|
|
||||||
endif
|
|
||||||
ifneq "$(wildcard /usr/share/misc/config.guess)" ""
|
|
||||||
cp -f /usr/share/misc/config.guess config.guess
|
|
||||||
endif
|
|
||||||
|
|
||||||
dh_clean
|
|
||||||
|
|
||||||
install: build
|
|
||||||
dh_testdir
|
|
||||||
dh_testroot
|
|
||||||
dh_clean -k
|
|
||||||
dh_installdirs
|
|
||||||
|
|
||||||
# Installing package
|
|
||||||
$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
|
|
||||||
|
|
||||||
binary-indep: build install
|
|
||||||
|
|
||||||
binary-arch: build install
|
|
||||||
dh_testdir
|
|
||||||
dh_testroot
|
|
||||||
dh_installchangelogs ChangeLog
|
|
||||||
dh_installdocs
|
|
||||||
# Removing useless files
|
|
||||||
rm -f debian/tmp/usr/lib/*.a
|
|
||||||
rm -f debian/tmp/usr/lib/*.la
|
|
||||||
rm -f debian/tmp/usr/share/info/dir*
|
|
||||||
dh_install --fail-missing --sourcedir=debian/tmp
|
|
||||||
dh_link
|
|
||||||
dh_strip --dbg-package=libmicrohttpd10-dbg
|
|
||||||
dh_compress
|
|
||||||
dh_fixperms
|
|
||||||
dh_makeshlibs
|
|
||||||
dh_installdeb
|
|
||||||
dh_shlibdeps
|
|
||||||
dh_gencontrol
|
|
||||||
dh_md5sums
|
|
||||||
dh_builddeb
|
|
||||||
|
|
||||||
binary: binary-indep binary-arch
|
|
||||||
.PHONY: build clean binary-indep binary-arch binary install
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:10e633d76ea7049562521b0ae5859e4ae7ebe1f824ae24c70e3376650051920e
|
|
||||||
size 1062922
|
|
Binary file not shown.
3
libmicrohttpd-0.9.30.tar.gz
Normal file
3
libmicrohttpd-0.9.30.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:80f48c82fc1b00ad5945a06c810f268d5fa6482eee24af677997a38e41e2606c
|
||||||
|
size 1088922
|
BIN
libmicrohttpd-0.9.30.tar.gz.sig
Normal file
BIN
libmicrohttpd-0.9.30.tar.gz.sig
Normal file
Binary file not shown.
@ -1,3 +1,25 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 3 12:59:19 UTC 2013 - mvyskocil@suse.com
|
||||||
|
|
||||||
|
- Update to 0.9.30
|
||||||
|
+ implements the "SHOULD" clause of RFC 2616 section 8.1.4, which
|
||||||
|
may reduce bandwidth consumption when clients cancel requests.
|
||||||
|
+ fixes build errors with various combinations of operating systems,
|
||||||
|
libc versions, and configure flags.
|
||||||
|
+ fixes a use-after-free crash when using epoll() in combination with
|
||||||
|
read errors
|
||||||
|
0.9.29:
|
||||||
|
+ epoll can now also be used with SSL connections
|
||||||
|
+ following recent HTTP/1.1 clarfications, MHD no longer send
|
||||||
|
a "Content-length" header in CONNECT responses.
|
||||||
|
+ the "MHD_add_connection" call now consistently sets an "errno"
|
||||||
|
value to indicate the cause of errors.
|
||||||
|
Connections added this way are now always processed immediately.
|
||||||
|
+ fixes a recently-introduced bug which prevented HTTP pipelining
|
||||||
|
from working properly in some cases and a build error in
|
||||||
|
conjunction with the "--disable-messages" configure option.
|
||||||
|
- Enable build of (experimental) SPDY support.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jul 24 10:18:44 UTC 2013 - mvyskocil@suse.com
|
Wed Jul 24 10:18:44 UTC 2013 - mvyskocil@suse.com
|
||||||
|
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
Format: 1.0
|
|
||||||
Source: libmicrohttpd
|
|
||||||
Binary: libmicrohttpd10, libmicrohttpd10-dbg, libmicrohttpd-dev
|
|
||||||
Architecture: any
|
|
||||||
Version: 0.9.22-1
|
|
||||||
Maintainer: Stephan Kleine <bitshuffler@opensuse.org>
|
|
||||||
Homepage: http://www.gnu.org/software/libmicrohttpd/
|
|
||||||
Standards-Version: 3.8.3
|
|
||||||
Vcs-Browser: http://git.debian-maintainers.org/?p=gnunet/libmicrohttpd.git
|
|
||||||
Vcs-Git: git://git.debian-maintainers.org/git/gnunet/libmicrohttpd.git
|
|
||||||
Build-Depends: debhelper (>= 5), autotools-dev, libcurl4-openssl-dev, libgcrypt11-dev (>= 1.2.4), libgnutls-dev, hardening-wrapper
|
|
||||||
|
|
||||||
Files:
|
|
||||||
bcd61ebb10286379f55c7db9c79e0465 843590 libmicrohttpd-0.9.11.tar.gz
|
|
||||||
ee55b467a355f4669023ca61fa04aaf4 3595 libmicrohttpd-0.9.11.diff.gz
|
|
@ -17,10 +17,11 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define soname 10
|
%global libmicrohttpd libmicrohttpd10
|
||||||
|
%global libmicrospdy libmicrospdy0
|
||||||
|
|
||||||
Name: libmicrohttpd
|
Name: libmicrohttpd
|
||||||
Version: 0.9.28
|
Version: 0.9.30
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Small Embeddable HTTP Server Library
|
Summary: Small Embeddable HTTP Server Library
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
@ -38,6 +39,7 @@ BuildRequires: libgcrypt-devel >= 1.2.4
|
|||||||
BuildRequires: libtasn1-devel
|
BuildRequires: libtasn1-devel
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
BuildRequires: libgnutls-devel
|
BuildRequires: libgnutls-devel
|
||||||
|
BuildRequires: libopenssl-devel
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
%if 0%{?suse_version} >= 1230
|
%if 0%{?suse_version} >= 1230
|
||||||
BuildRequires: gpg-offline
|
BuildRequires: gpg-offline
|
||||||
@ -73,70 +75,55 @@ other projects out there that provide that kind of functionality already. Howeve
|
|||||||
if you want to be able to serve simple WWW pages from within your C or C++
|
if you want to be able to serve simple WWW pages from within your C or C++
|
||||||
application, check it out.
|
application, check it out.
|
||||||
|
|
||||||
%package -n %{name}%{soname}
|
%package -n %{libmicrohttpd}
|
||||||
|
|
||||||
Summary: Small Embeddable HTTP Server Library
|
Summary: Small embeddable http server library
|
||||||
Group: System/Libraries
|
Group: System/libraries
|
||||||
|
|
||||||
%description -n %{name}%{soname}
|
%description -n %{libmicrohttpd}
|
||||||
GNU libmicrohttpd is a small C library that is supposed to make it easy to run
|
Shared library for %{name} (%{summary}).
|
||||||
an HTTP server as part of another application. GNU libmicrohttpd is free software
|
|
||||||
and part of the GNU project. Key features that distinguish libmicrohttpd from
|
|
||||||
other projects are:
|
|
||||||
|
|
||||||
* C library: fast and small
|
%package -n %{libmicrospdy}
|
||||||
* API is simple, expressive and fully reentrant
|
|
||||||
* Implementation is http 1.1 compliant
|
|
||||||
* HTTP server can listen on multiple ports
|
|
||||||
* Support for IPv6
|
|
||||||
* Support for incremental processing of POST data
|
|
||||||
* Creates binary of only 30k (without TLS/SSL support)
|
|
||||||
* Three different threading models
|
|
||||||
* Supported platforms include GNU/Linux, FreeBSD, OpenBSD, NetBSD, OS X, W32,
|
|
||||||
Symbian and z/OS
|
|
||||||
* Optional support for SSL3 and TLS (requires libgcrypt)
|
|
||||||
|
|
||||||
libmicrohttpd was started because the author needed an easy way to add a concurrent
|
Summary: Small embeddable http server library
|
||||||
HTTP server to other projects. Existing alternatives were either non-free, not
|
Group: System/libraries
|
||||||
reentrant, standalone, of terrible code quality or a combination thereof. Do not
|
|
||||||
use libmicrohttpd if you are looking for a standalone http server, there are many
|
%description -n %{libmicrospdy}
|
||||||
other projects out there that provide that kind of functionality already. However,
|
Shared library for libmicrospdy (%{summary}).
|
||||||
if you want to be able to serve simple WWW pages from within your C or C++
|
|
||||||
application, check it out.
|
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.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Requires: %{name}%{soname} = %{version}
|
Requires: %{libmicrohttpd} = %{version}
|
||||||
Requires(post): info
|
Requires(post): info
|
||||||
Requires(postun): info
|
Requires(postun): info
|
||||||
Summary: Small Embeddable HTTP Server Library
|
Summary: Small Embeddable HTTP Server Library
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
GNU libmicrohttpd is a small C library that is supposed to make it easy to run
|
Headers, pkg-config files, so link and other development files for %{name}
|
||||||
an HTTP server as part of another application. GNU libmicrohttpd is free software
|
(%{summary}).
|
||||||
and part of the GNU project. Key features that distinguish libmicrohttpd from
|
|
||||||
other projects are:
|
|
||||||
|
|
||||||
* C library: fast and small
|
%package -n libmicrospdy-devel
|
||||||
* API is simple, expressive and fully reentrant
|
Requires: %{libmicrospdy} = %{version}
|
||||||
* Implementation is http 1.1 compliant
|
Summary: Small Embeddable HTTP Server Library
|
||||||
* HTTP server can listen on multiple ports
|
Group: Development/Libraries/C and C++
|
||||||
* Support for IPv6
|
|
||||||
* Support for incremental processing of POST data
|
|
||||||
* Creates binary of only 30k (without TLS/SSL support)
|
|
||||||
* Three different threading models
|
|
||||||
* Supported platforms include GNU/Linux, FreeBSD, OpenBSD, NetBSD, OS X, W32,
|
|
||||||
Symbian and z/OS
|
|
||||||
* Optional support for SSL3 and TLS (requires libgcrypt)
|
|
||||||
|
|
||||||
libmicrohttpd was started because the author needed an easy way to add a concurrent
|
%description -n libmicrospdy-devel
|
||||||
HTTP server to other projects. Existing alternatives were either non-free, not
|
Headers for libmicrospdy (%{summary}).
|
||||||
reentrant, standalone, of terrible code quality or a combination thereof. Do not
|
|
||||||
use libmicrohttpd if you are looking for a standalone http server, there are many
|
|
||||||
other projects out there that provide that kind of functionality already. However,
|
|
||||||
if you want to be able to serve simple WWW pages from within your C or C++
|
|
||||||
application, check it out.
|
|
||||||
|
|
||||||
|
%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.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%if 0%{?suse_version} >= 1230
|
%if 0%{?suse_version} >= 1230
|
||||||
@ -161,9 +148,13 @@ find %{buildroot} -name "*.la" -delete
|
|||||||
%check
|
%check
|
||||||
%__make %{?_smp_mflags} check
|
%__make %{?_smp_mflags} check
|
||||||
|
|
||||||
%post -n %{name}%{soname} -p /sbin/ldconfig
|
%post -n %{libmicrohttpd} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n %{name}%{soname} -p /sbin/ldconfig
|
%postun -n %{libmicrohttpd} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post -n %{libmicrospdy} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n %{libmicrospdy} -p /sbin/ldconfig
|
||||||
|
|
||||||
%post devel
|
%post devel
|
||||||
%if 0%{?fedora_version}
|
%if 0%{?fedora_version}
|
||||||
@ -197,10 +188,9 @@ find %{buildroot} -name "*.la" -delete
|
|||||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/libmicrohttpd-tutorial.info%{ext_info}
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/libmicrohttpd-tutorial.info%{ext_info}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files -n %{name}%{soname}
|
%files -n %{libmicrohttpd}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/%{name}.so.%{soname}
|
%{_libdir}/%{name}.so.*
|
||||||
%{_libdir}/%{name}.so.%{soname}.*
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -211,6 +201,19 @@ find %{buildroot} -name "*.la" -delete
|
|||||||
%{_infodir}/%{name}*.info*
|
%{_infodir}/%{name}*.info*
|
||||||
%{_mandir}/man3/%{name}.3*
|
%{_mandir}/man3/%{name}.3*
|
||||||
|
|
||||||
|
%files -n %{libmicrospdy}
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libmicrospdy.so.*
|
||||||
|
|
||||||
|
%files -n libmicrospdy-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_includedir}/microspdy.h
|
||||||
|
%{_libdir}/libmicrospdy.so
|
||||||
|
|
||||||
|
%files -n microspdy2http
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%attr(0755,root,root) %{_bindir}/microspdy2http
|
||||||
|
|
||||||
# Do NOT delete this cause I need it for Fedora & Mandriva too!
|
# Do NOT delete this cause I need it for Fedora & Mandriva too!
|
||||||
%if 0%{?fedora_version} || 0%{?scientificlinux_version} || 0%{?centos_version}
|
%if 0%{?fedora_version} || 0%{?scientificlinux_version} || 0%{?centos_version}
|
||||||
%exclude %{_infodir}/dir
|
%exclude %{_infodir}/dir
|
||||||
|
Loading…
Reference in New Issue
Block a user