diff options
author | abs <abs@pkgsrc.org> | 2011-07-09 10:21:41 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2011-07-09 10:21:41 +0000 |
commit | 0d8786a1b8b6d855875699014897ce902ae3cb7a (patch) | |
tree | fb36e32a68cdf499d69121deb1de44ece9373d4e /www | |
parent | f08921c5e1d376d560ceb169776c27b7bd1b4d33 (diff) | |
download | pkgsrc-0d8786a1b8b6d855875699014897ce902ae3cb7a.tar.gz |
Added www/libmicrohttpd version 0.9.9
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
* Four different threading models (select, poll, pthread, thread pool)
* Supported platforms include GNU/Linux, FreeBSD, OpenBSD, NetBSD, OS X, W32,
Symbian and z/OS
* Support for IPv6
* Support for SHOUTcast
* Support for incremental processing of POST data (optional)
* Support for basic and digest authentication (optional)
* Support for SSL3 and TLS (requires libgcrypt and libgnutls, optional)
* Binary is only about 32k (without TLS/SSL support and other optional
features)
Diffstat (limited to 'www')
-rw-r--r-- | www/libmicrohttpd/DESCR | 19 | ||||
-rw-r--r-- | www/libmicrohttpd/Makefile | 26 | ||||
-rw-r--r-- | www/libmicrohttpd/PLIST | 7 | ||||
-rw-r--r-- | www/libmicrohttpd/buildlink3.mk | 12 | ||||
-rw-r--r-- | www/libmicrohttpd/distinfo | 5 |
5 files changed, 69 insertions, 0 deletions
diff --git a/www/libmicrohttpd/DESCR b/www/libmicrohttpd/DESCR new file mode 100644 index 00000000000..233a8e5a431 --- /dev/null +++ b/www/libmicrohttpd/DESCR @@ -0,0 +1,19 @@ +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 + * Four different threading models (select, poll, pthread, thread pool) + * Supported platforms include GNU/Linux, FreeBSD, OpenBSD, NetBSD, OS X, W32, + Symbian and z/OS + * Support for IPv6 + * Support for SHOUTcast + * Support for incremental processing of POST data (optional) + * Support for basic and digest authentication (optional) + * Support for SSL3 and TLS (requires libgcrypt and libgnutls, optional) + * Binary is only about 32k (without TLS/SSL support and other optional + features) diff --git a/www/libmicrohttpd/Makefile b/www/libmicrohttpd/Makefile new file mode 100644 index 00000000000..2c29b139937 --- /dev/null +++ b/www/libmicrohttpd/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1.1.1 2011/07/09 10:21:41 abs Exp $ +# + +DISTNAME= libmicrohttpd-0.9.9 +CATEGORIES= www +MASTER_SITES= http://www.mirrorservice.org/sites/ftp.gnu.org/gnu/libmicrohttpd/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.gnu.org/software/libmicrohttpd/ +COMMENT= Small C library to run an HTTP server as part of another app +LICENSE= gnu-lgpl-v2.1 + +PKG_DESTDIR_SUPPORT= user-destdir + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_TOOLS+= pkg-config +INFO_FILES= yes + +PKGCONFIG_OVERRIDE+= libmicrohttpd.pc.in + +.include "../../security/libgcrypt/buildlink3.mk" +.include "../../security/gnutls/buildlink3.mk" +.include "../../www/curl/buildlink3.mk" + +.include "../../mk/bsd.pkg.mk" diff --git a/www/libmicrohttpd/PLIST b/www/libmicrohttpd/PLIST new file mode 100644 index 00000000000..1b1ff6bb89e --- /dev/null +++ b/www/libmicrohttpd/PLIST @@ -0,0 +1,7 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2011/07/09 10:21:41 abs Exp $ +include/microhttpd.h +info/microhttpd-tutorial.info +info/microhttpd.info +lib/libmicrohttpd.la +lib/pkgconfig/libmicrohttpd.pc +man/man3/libmicrohttpd.3 diff --git a/www/libmicrohttpd/buildlink3.mk b/www/libmicrohttpd/buildlink3.mk new file mode 100644 index 00000000000..12be2309b51 --- /dev/null +++ b/www/libmicrohttpd/buildlink3.mk @@ -0,0 +1,12 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2011/07/09 10:21:41 abs Exp $ + +BUILDLINK_TREE+= libmicrohttpd + +.if !defined(LIBMICROHTTPD_BUILDLINK3_MK) +LIBMICROHTTPD_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.libmicrohttpd+= libmicrohttpd>=0.9.9 +BUILDLINK_PKGSRCDIR.libmicrohttpd?= ../../www/libmicrohttpd +.endif # LIBMICROHTTPD_BUILDLINK3_MK + +BUILDLINK_TREE+= -libmicrohttpd diff --git a/www/libmicrohttpd/distinfo b/www/libmicrohttpd/distinfo new file mode 100644 index 00000000000..810f36d083e --- /dev/null +++ b/www/libmicrohttpd/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2011/07/09 10:21:41 abs Exp $ + +SHA1 (libmicrohttpd-0.9.9.tar.gz) = ab2231a8bb65cacdd4f6ca8fad92fd27921dd56a +RMD160 (libmicrohttpd-0.9.9.tar.gz) = 22d74739d7d790df4686db7d61da1dfc575d3b32 +Size (libmicrohttpd-0.9.9.tar.gz) = 765225 bytes |