Accepting request 31339 from security:openvas:UNSTABLE

Copy from security:openvas:UNSTABLE/libmicrohttpd via accept of submit request 31339 revision 7.
Request was accepted with message:
reviewed

OBS-URL: https://build.opensuse.org/request/show/31339
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libmicrohttpd?expand=0&rev=1
This commit is contained in:
Marcus Rückert 2010-02-20 17:30:23 +00:00 committed by Git OBS Bridge
commit 9d1c36fed4
11 changed files with 339 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

11
debian.changelog Normal file
View File

@ -0,0 +1,11 @@
libmicrohttpd (0.4.5-1) unstable; urgency=low
* Updated to 0.4.5.
-- Stephan Kleine <bitshuffler #suse@irc.freenode.org> Sat, 02 Feb 2010 13:10:52 +0100
libmicrohttpd (0.4.4-1) unstable; urgency=low
* Initial package.
-- Stephan Kleine <bitshuffler #suse@irc.freenode.org> Sat, 23 Jan 2010 14:04:38 +0100

1
debian.compat Normal file
View File

@ -0,0 +1 @@
5

41
debian.control Normal file
View File

@ -0,0 +1,41 @@
Source: libmicrohttpd
Section: libs
Priority: optional
Maintainer: Debian GNUnet Maintainers <gnunet@lists.debian-maintainers.org>
Uploaders: Daniel Baumann <daniel@debian.org>
Build-Depends: debhelper (>= 5), autotools-dev, libcurl4-openssl-dev, libgcrypt11-dev (>= 1.2.4)
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: libmicrohttpd5
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: libmicrohttpd-dbg
Section: debug
Priority: extra
Architecture: any
Depends: ${misc:Depends}, libmicrohttpd5 (= ${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}, libmicrohttpd5 (= ${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.

View File

@ -0,0 +1,5 @@
/usr/include/*
/usr/lib/*.so
/usr/lib/pkgconfig
/usr/share/info
/usr/share/man

View File

@ -0,0 +1 @@
usr/lib/*.so.*

83
debian.rules Normal file
View File

@ -0,0 +1,83 @@
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=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)
CFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
CFLAGS += -O2
endif
config.status: configure
dh_testdir
# Configuring package
CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --disable-static --enable-curl --enable-messages --enable-https --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=libmicrohttpd-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

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:138e89fbb114cf8bb564ed884d1da99e2c0634f4c11887f42dfdddabf7d52eab
size 878634

10
libmicrohttpd.changes Normal file
View File

@ -0,0 +1,10 @@
-------------------------------------------------------------------
Tue Feb 2 13:10:52 UTC 2010 - bitshuffler #suse@irc.freenode.org
- Updated to 0.4.5.
-------------------------------------------------------------------
Sun Jan 17 19:52:07 UTC 2010 - bitshuffler #suse@irc.freenode.org
- Initial RPM.

16
libmicrohttpd.dsc Normal file
View File

@ -0,0 +1,16 @@
Format: 1.0
Source: libmicrohttpd
Binary: libmicrohttpd5, libmicrohttpd-dbg, libmicrohttpd-dev
Architecture: any
Version: 0.4.5-1
Maintainer: Debian GNUnet Maintainers <gnunet@lists.debian-maintainers.org>
Uploaders: Daniel Baumann <daniel@debian.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)
Files:
bcd61ebb10286379f55c7db9c79e0465 843590 libmicrohttpd-0.4.5.tar.gz
ee55b467a355f4669023ca61fa04aaf4 3595 libmicrohttpd-0.4.5.diff.gz

145
libmicrohttpd.spec Normal file
View File

@ -0,0 +1,145 @@
# norootforbuild
%define soname 5
Name: libmicrohttpd
Version: 0.4.5
Release: 1.0
License: GNU LGPL v2.1
Group: Productivity/Networking/Web/Servers
Url: http://gnunet.org/libmicrohttpd/
Source: http://ftpmirror.gnu.org/libmicrohttpd/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libcurl-devel
BuildRequires: libgcrypt-devel >= 1.2.4
BuildRequires: libtasn1-devel
Summary: Small Embeddable HTTP Server Library
%description
GNU libmicrohttpd is a small C library that is supposed to make it easy to run 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
* 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 HTTP server to other projects. Existing alternatives were either non-free, not 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 %{name}%{soname}
Group: System/Libraries
PreReq: glibc
Summary: Small Embeddable HTTP Server Library
%description -n %{name}%{soname}
GNU libmicrohttpd is a small C library that is supposed to make it easy to run 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
* 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 HTTP server to other projects. Existing alternatives were either non-free, not 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 devel
Group: Development/Libraries/C and C++
Requires: %{name}%{soname} = %{version}
PreReq: info
Summary: Small Embeddable HTTP Server Library
%description devel
GNU libmicrohttpd is a small C library that is supposed to make it easy to run 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
* 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 HTTP server to other projects. Existing alternatives were either non-free, not 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.
%prep
%setup -q
%build
%configure --disable-static \
--enable-curl \
--enable-messages \
--enable-https \
--enable-client-side
%__make %{?_smp_mflags}
%install
%makeinstall
find %{buildroot} -name *.la -exec %__rm {} \;
# Some tests fail due to some issue in gnutls
#%check
#%__make %{?_smp_mflags} check
%post -n %{name}%{soname} -p /sbin/ldconfig
%post devel
%if 0%{?fedora_version}
/sbin/install-info --info-dir=%{_infodir} --info-file=%{_infodir}/microhttpd.info.gz
%endif
%if 0%{?mandriva_version}
%_install_info libmicrohttpd.info
%endif
%if 0%{?suse_version}
%install_info --info-dir=%{_infodir} %{_infodir}/libmicrohttpd.info.gz
%endif
%postun -n %{name}%{soname} -p /sbin/ldconfig
%postun devel
%if 0%{?fedora_version}
/sbin/install-info --delete --info-dir=%{_infodir} --info-file=%{_infodir}/microhttpd.info.gz
%endif
%if 0%{?mandriva_version}
%_remove_install_info libmicrohttpd.info
%endif
%if 0%{?suse_version}
%install_info_delete --info-dir=%{_infodir} %{_infodir}/libmicrohttpd.info.gz
%endif
%clean
test "%{buildroot}" != "/" && %__rm -rf %{buildroot}
%files -n %{name}%{soname}
%defattr(-,root,root)
%{_libdir}/libmicrohttpd.so.%{soname}*
%files devel
%defattr(-,root,root)
%{_includedir}/microhttpd.h
%{_libdir}/libmicrohttpd.so
%{_libdir}/pkgconfig/libmicrohttpd.pc
%{_infodir}/microhttpd.info*
%{_mandir}/man3/libmicrohttpd.3*
# Do NOT delete this cause I need it for Fedora & Mandriva too!
%if 0%{?fedora_version}
%exclude %{_infodir}/dir
%endif