pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libmicrohttpd: Import as wip/libmicrohttpd, update to 0.9.63.



Module Name:	pkgsrc-wip
Committed By:	ng0 <ng0%n0.is@localhost>
Pushed By:	ng0
Date:		Sun Apr 7 10:18:07 2019 +0000
Changeset:	fddaa2ce15c6a2eb71c5c50f4714320a26dbe57f

Added Files:
	libmicrohttpd/DESCR
	libmicrohttpd/Makefile
	libmicrohttpd/PLIST
	libmicrohttpd/buildlink3.mk
	libmicrohttpd/distinfo

Log Message:
libmicrohttpd: Import as wip/libmicrohttpd, update to 0.9.63.

upstream ChangeLog:

Sun 10 Feb 2019 05:03:44 PM CET
	Releasing libmicrohttpd 0.9.63. -CG

Sat 09 Feb 2019 01:51:02 PM CET
	Extended test_get to test URI logging and query string parsing
	to avoid regression fixed in previous patch in the future. -CG

Thu Feb  7 16:16:12 CET 2019
	Preliminary patch for the raw query string issue, to be tested. -CG

Tue Jan  8 02:57:21 BRT 2019
	Added minimal example for how to compress HTTP response. -SC

Wed Dec 19 00:06:03 CET 2018
	Check for GNUTLS_E_AGAIN instead of GNUTLS_E_INTERRUPTED when
	giving up on a TLS connection. -LM/CG

Thu Dec 13 22:48:14 CET 2018
	Fix connection timeout logic if in thread-per-connection mode the
	working thread takes longer than the timeout to queue the response. -CG

Tue Dec 11 09:58:32 CET 2018
	Add logic to avoid VLA arrays with compilers that do not support them. -CG

Sat Dec  8 23:15:53 CET 2018
	Fixed missing WSA_FLAG_OVERLAPPED which can cause W32 to block on
	socket races when using threadpool. (See very detailed description
	of the issue in the libmicrohttpd mailinglist post of today.) -JM

Sat Dec  8 22:53:56 CET 2018
	Added test for RFC 7616 and documented new API.
	Releasing libmicrohttpd 0.9.62. -CG

Sat Dec  8 17:34:58 CET 2018
	Adding support for RFC 7616, experimental, needs
	testing and documentation still! -CG

Fri Dec  7 12:37:17 CET 2018
	Add option to build MHD without any threads
	and MHD_FEATURE_THREADS to test for it.  -CG

Thu Dec  6 13:25:08 BRT 2018
	Renamed all occurrences from _model(s)_ to _mode(s)_. -SC

Thu Dec  6 12:50:11 BRT 2018
	Optimized the function MHD_create_response_from_callback() for
	Windows by increasing its internal buffer size and allowed to customize
	it via macro MHD_FD_BLOCK_SIZE. -SC

Thu Dec  6 02:11:15 BRT 2018
	Referenced the gnutls_load_file() function in the HTTPs examples. -SC

Wed Dec  5 18:08:59 CET 2018
	Fix regression causing URLs to be unescaped twice. -CG

Sun Nov 18 13:08:11 CET 2018
	Parse arguments with (properly) escaped URLs correctly.
	(making things work with recent cURL changes, #5473).
	Replace sprintf with snprintf in testcases.
	Releasing libmicrohttpd 0.9.61. -CG

Wed Nov 14 14:01:21 CET 2018
	Fix build issue with GnuTLS < 3.0. -CG

Mon Nov 12 19:50:43 CET 2018
	Fix #5473 (test case failure due to change in libcurl). -eworm

Thu Nov  8 14:53:27 CET 2018
	Add MHD_create_response_from_buffer_with_free_callback. -CG

Tue Nov  6 19:43:47 CET 2018
	Upgrading to gettext 0.19.8.
	Releasing libmicrohttpd 0.9.60. -CG

Thu Nov  1 16:29:59 CET 2018
	Enable using epoll() without listen socket. -JB

Sat Oct 20 12:44:16 CEST 2018
	In thread-per-connection mode, signal main thread for
	thread termination for instant clean-up and application
	notification about closed connections. -CG

Tue Oct 16 20:43:41 CEST 2018
	Add MHD_RF_HTTP_VERSION_1_0_RESPONSE option to make MHD
	act more like an HTTP/1.0 server. -GH

Fri Oct  5 18:44:45 CEST 2018
	MHD_add_response_header() now prevents applications from
	setting a "Transfer-Encoding" header to values other than
	"identity" or "chunked" as other transfer encodings are
	not supported by MHD. (Note that usually MHD will pick the
	transfer encoding correctly automatically, but applications
	can use the header to force a particular behavior.)
	Fixing #5411 (never set Content-length if Transfer-Encoding
	is given). -CG

Sat Jul 14 11:42:15 CEST 2018
	Add MHD_OPTION_GNUTLS_PSK_CRED_HANDLER to allow use of PSK with
	TLS connections. -CG/TM

Sat Jul 14 11:03:37 CEST 2018
	Integrate patch for checking digest authentication based on
	a digest, allowing servers to store passwords only hashed.
	Adding new function MHD_digest_auth_check_digest(). -CG/DB

Sat Mar 10 12:15:35 CET 2018
	Upgrade to gettext-0.19.8.1. Switching to more canonical
	gettext integration. -CG

Fri Mar  2 21:44:24 CET 2018
	Ensure MHD_RequestCompletedCallback is always called from
	the correct thread (even on shutdown and for upgraded connections). -CG

Tue Feb 27 23:27:02 CET 2018
	Ensure MHD_RequestCompletedCallback is also called for
	upgraded connections. -CG

Fri Feb 16 03:09:33 CET 2018
	Fixing #5278 as suggested by reporter. -CG/texec

Thu Feb  1 10:12:22 CET 2018
	Releasing GNU libicrohttpd 0.9.59. -CG

Thu Feb  1 08:39:50 CET 2018
	Fix masking operation. -CG/silvioprog

Mon Jan 29 17:33:54 CET 2018
	Fix deadlock when failing to prepare chunked response
	(#5260). -CG/ghaderer

Thu Jan  4 12:24:33 CET 2018
	Fix __clang_major__ related warnings for non-clang
	compilers reported by Tim on the mailinglist. -CG

Mon Dec 11 17:11:00 MSK 2017
	Fixed tests on platforms with huge number of CPUs.
	Doxygen configuration was updated.
	Various doxygen fixes. -EG

Mon Dec 07 21:08:00 MSK 2017
	Releasing GNU libmicrohttpd 0.9.58. -EG

Mon Dec 07 16:01:00 MSK 2017
	Fixed HTTPS tests on modern platforms. -EG

Mon Dec 04 15:43:00 MSK 2017
	Minor documentation installation fixes. -EG

Mon Nov 27 22:58:38 CET 2017
	Tolerate AF_UNIX when trying to determine our binding port
	from socket.  Use `sockaddr_storage` instead of trying to
	guess the sockaddr type before calling getsockname(). -CG

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=fddaa2ce15c6a2eb71c5c50f4714320a26dbe57f

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 libmicrohttpd/DESCR         | 19 +++++++++++++++++++
 libmicrohttpd/Makefile      | 23 +++++++++++++++++++++++
 libmicrohttpd/PLIST         |  8 ++++++++
 libmicrohttpd/buildlink3.mk | 16 ++++++++++++++++
 libmicrohttpd/distinfo      |  6 ++++++
 5 files changed, 72 insertions(+)

diffs:
diff --git a/libmicrohttpd/DESCR b/libmicrohttpd/DESCR
new file mode 100644
index 0000000000..233a8e5a43
--- /dev/null
+++ b/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/libmicrohttpd/Makefile b/libmicrohttpd/Makefile
new file mode 100644
index 0000000000..ddfdcf9b20
--- /dev/null
+++ b/libmicrohttpd/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.40 2018/12/13 19:52:25 adam Exp $
+
+DISTNAME=	libmicrohttpd-0.9.63
+CATEGORIES=	www
+MASTER_SITES=	${MASTER_SITE_GNU:=libmicrohttpd/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://www.gnu.org/software/libmicrohttpd/
+COMMENT=	Small C library to run an HTTP server as part of another app
+LICENSE=	gnu-lgpl-v2.1
+
+USE_LIBTOOL=		yes
+USE_TOOLS+=		pkg-config
+GNU_CONFIGURE=		yes
+INFO_FILES=		yes
+TEST_TARGET=		check
+
+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/libmicrohttpd/PLIST b/libmicrohttpd/PLIST
new file mode 100644
index 0000000000..3f0b3a7350
--- /dev/null
+++ b/libmicrohttpd/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD$
+include/microhttpd.h
+info/libmicrohttpd-tutorial.info
+info/libmicrohttpd.info
+info/libmicrohttpd_performance_data.png
+lib/libmicrohttpd.la
+lib/pkgconfig/libmicrohttpd.pc
+man/man3/libmicrohttpd.3
diff --git a/libmicrohttpd/buildlink3.mk b/libmicrohttpd/buildlink3.mk
new file mode 100644
index 0000000000..ea1f2d0da0
--- /dev/null
+++ b/libmicrohttpd/buildlink3.mk
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.8 2018/04/17 22:29:34 wiz Exp $
+
+BUILDLINK_TREE+=	libmicrohttpd
+
+.if !defined(LIBMICROHTTPD_BUILDLINK3_MK)
+LIBMICROHTTPD_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libmicrohttpd+=	libmicrohttpd>=0.9.9
+BUILDLINK_ABI_DEPENDS.libmicrohttpd+=	libmicrohttpd>=0.9.57nb2
+BUILDLINK_PKGSRCDIR.libmicrohttpd?=	../../www/libmicrohttpd
+
+.include "../../security/gnutls/buildlink3.mk"
+.include "../../security/libgcrypt/buildlink3.mk"
+.endif # LIBMICROHTTPD_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-libmicrohttpd
diff --git a/libmicrohttpd/distinfo b/libmicrohttpd/distinfo
new file mode 100644
index 0000000000..c003690c66
--- /dev/null
+++ b/libmicrohttpd/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.25 2017/11/29 14:05:44 wiz Exp $
+
+SHA1 (libmicrohttpd-0.9.63.tar.gz) = c2b401f494d0f39d4f188be8cb30285b59ce5efc
+RMD160 (libmicrohttpd-0.9.63.tar.gz) = ea0ada2ba43327e81a2b2c3979c92c4413b5f720
+SHA512 (libmicrohttpd-0.9.63.tar.gz) = cb99e7af84fb6d7c0fd3894a9dc0fbff14959b35347506bd3211a65bbfad36455007b9e67493e97c9d8394834408df10eeabdc7758573e6aae0ba6f5f87afe17
+Size (libmicrohttpd-0.9.63.tar.gz) = 1840005 bytes


Home | Main Index | Thread Index | Old Index