On 12/27/17 08:09, Theo Buehler wrote:
On Wed, Dec 27, 2017 at 07:28:55AM +0100, Landry Breuil wrote:On Wed, Dec 27, 2017 at 12:18:24AM -0500, Brian Callahan wrote:Hi ports --Attached is a new port, www/libmicrohttpd. libmicrohttpd is a tiny embeddable httpd library written in C. --- pkg/DESCR: GNU libmicrohttpd is a small C library that is supposed to make it easy to run an HTTP server as part of another application. Features: * 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) * Support for IPv6 * Support for SHOUTcast * Support for incremental processing of POST data * Support for basic and digest authentication * Support for TLS --- This is a dependency of an upcoming port. Builds and all tests pass on amd64 and armv7.I think curl should also be a BDEP, since configure checks for it to be able to build the tests...Agreed. Some more tests are run (and pass) when misc/zzuf and net/socat are added to the BDEPs. Three testcurl/https tests are skipped, at least two of them because they would need libcurl-gnutls.have you tried building without curl installed, and then running the tests ? Other than this minor nit it looks okay, builds fine on i386. Maybe USE_LIBTOOL=Yes is in order too ?
New port attached incorporating on- and off-list feedback. ~Brian
libmicrohttpd.tgz
Description: Binary data
