summaryrefslogtreecommitdiff
path: root/www/libmicrohttpd
diff options
context:
space:
mode:
authorwiz <wiz>2015-11-21 09:33:45 +0000
committerwiz <wiz>2015-11-21 09:33:45 +0000
commit1f4c3912f31e682ea7efe7d0513193431dc936d1 (patch)
tree253c0b7daa4d1e69d198a88908a40ea5d30d82a6 /www/libmicrohttpd
parent733c2350cbd482d6f5050d8adcdcc3dc725393f1 (diff)
downloadpkgsrc-1f4c3912f31e682ea7efe7d0513193431dc936d1.tar.gz
Update libmicrohttpd to 0.9.46:
Fri Nov 6 22:54:38 CET 2015 Fixing the buffer shrinkage issue, this time with test. -CG Releasing libmicrohttpd 0.9.46. -CG Tue Nov 3 23:24:52 CET 2015 Undoing change from Sun Oct 25 15:29:23 CET 2015 as the original code was counter-intuitive but correct, and the new code does break pipelining. Ignore empty lines at the beginning of an HTTP request (more tolerant implementation). -CG Sat Oct 31 15:52:52 CET 2015 Releasing libmicrohttpd 0.9.45. -CG Tue Oct 27 12:08:02 CET 2015 Rework deprecation maros: fix errors with old GCC versions, improved support for old clang and new GCC. -EG Sun Oct 25 23:05:32 CET 2015 Return correct header kind in MHD_get_connection_values() even if a bitmask is used for the "kind" argument. -FC/CG Sun Oct 25 15:29:23 CET 2015 Fixing transient resource leak affecting long-lived connections with many keep-alives and HTTP request pipelining under certain circumstances (which reduced the receive window). Fixed assertion failure triggered by a race in thread-per-connection mode on shutdown in rare circumstances. -CG Mon Oct 5 11:53:52 CEST 2015 Deduplicate code between digestauth and connection parsing logic for URI arguments, shared code moved to new MHD_parse_arguments_ function in internal.c. -CG Thu Oct 1 21:22:05 CEST 2015 Releasing libmicrohttpd 0.9.44. -CG Wed Sep 30 21:05:38 CEST 2015 Various fixes for W32 VS project files. - EG Fri Sep 25 09:49:10 CEST 2015 Fix digest authentication with URL arguments where value-less keys are given before the last argument. Thanks to MA for reporting. -CG Tue Sep 22 19:17:54 CEST 2015 Do not use shutdown() on listen socket if MHD_USE_PIPE_FOR_SHUTDOWN is set. -CG Wed Sep 16 11:06:02 CEST 2015 Releasing libmicrohttpd 0.9.43. -CG Wed Sep 2 16:50:31 CEST 2015 Call resume_suspended_connections() when the user is running its own mainloop and calls MHD_run_from_select() to support resuming connections with external select. -FC Sun Aug 30 14:53:51 CEST 2015 Correct documentation as to when MHD_USE_EPOLL_LINUX_ONLY is allowed. -CG Thu Aug 27 09:38:44 CEST 2015 Reimplement monotonic clock functions for better support various platforms. Print more information during configure. -EG Fri Aug 14 14:13:55 CEST 2015 Export MHD_get_reason_phrase_for() symbol. -CG Sat Aug 8 12:19:47 CEST 2015 Added checks for overflows and buffer overruns, fixed possible buffer overrun. Updated md5 implementation. Fixed many compiler warning (mostly for VC compiler). -EG Tue Aug 4 13:50:23 CEST 2015 Fix failure to properly clean up timed out connections if running in external select mode without listen socket, which caused busy waiting until new connections arrived. (Fixes #3924, thanks to slimp for reporting and testcase). -CG Sun Aug 2 19:08:20 CEST 2015 Ignore close() errors on sockets except for EBADF, fixes #3926. -CG Sat Jun 27 22:16:27 CEST 2015 Make sure to decrement connection counter before calling connection notifier so that MHD_DAEMON_INFO_CURRENT_CONNECTIONS does not present stale information (relevant if this is used for termination detection of a daemon stopped via MHD_quiesce_daemon()). Thanks to Markus Doppelbauer for reporting. -CG Fri Jun 26 23:17:20 CEST 2015 Fix (automatic) handling of HEAD requests with MHD_create_response_from_callback() and HTTP/1.1 connection keep-alives. Thanks to Cristian Klein for reporting. -CG Tue Jun 09 18:30:17 CEST 2015 Add new functions MHD_create_response_from_fd64() and MHD_create_response_from_fd_at_offset64(). -EG Thu Jun 4 13:37:05 CEST 2015 Fixing memory leak in digest authentication. -AW Wed Jun 03 21:23:47 CEST 2015 Add deprecation compiler messages for deprecated functions and macros. -EG Fri May 29 12:23:01 CEST 2015 Fixing digest authentication when used in combination with escaped characters in URLs. -CG/AW Wed May 13 11:49:09 CEST 2015 Releasing libmicrohttpd 0.9.42. -CG Wed May 13 11:33:59 CEST 2015 Fix off-by-one in MHD_start_daemon_va() error handling logic when initialization of threads for thread pool fails for some reason. -CG/JC Thu May 7 17:05:46 CEST 2015 Add support for poll() in W32. -EG Wed May 6 18:07:38 CEST 2015 Fix #3784: actually implement MHD_CONNECTION_INFO_SOCKET_CONTEXT. -asherkin Thu Apr 30 00:03::49 CEST 2015 Releasing libmicrohttpd 0.9.41. -CG Thu Apr 30 00:02:33 CEST 2015 Fix issue where resumed connections would not continue unless other requests are active in certain event-loop modes. Thanks to Mike Castillo for reporting. -CG Wed Apr 15 03:16:18 CEST 2015 Fixing issue #3753 (testcase issue). -CG Wed Apr 15 00:30:34 CEST 2015 Fix looping issue when using MHD_USE_POLL_INTERNALLY and a client times out. -LB Sun Apr 12 21:48:50 CEST 2015 Fix looping issue when combining MHD_USE_EPOLL_LINUX_ONLY with HTTPS and slow clients. -CG Fri Apr 10 22:02:27 CEST 2015 Fix logic to add "Connection: Close" that was broken in 0.9.38 when adding MHD_RF_HTTP_VERSION_1_0_ONLY. -CG Fri Apr 10 00:38:40 CEST 2015 Ensure fast termination in MHD_USE_THREAD_PER_CONNECTION mode on W32 by using signal pipe. -CG Thu Apr 9 09:01:15 CEST 2015 Fixing issue with undrained signal pipe when using MHD_USE_SELECT_INTERNALLY and MHD_USE_POLL in combination with MHD_resume_connection(), causing 100% CPU usage. -DD Tue Apr 7 00:12:36 CEST 2015 Releasing libmicrohttpd 0.9.40. -CG Sat Apr 4 18:28:24 CEST 2015 Fix potential deadlock issue in MHD_USE_THREAD_PER_CONNECTION mode if shutdown is initiated while connections are active. -CG Sat Apr 4 17:48:13 CEST 2015 Fix issue in thread-pool mode where a MHD_stop_daemon() might not reach threads that stopped listening because we hit the maximum number of concurrent connections and the option MHD_USE_PIPE_FOR_SHUTDOWN was also not used. Testcase added as well. -CG Fri Apr 3 12:55:31 CEST 2015 Update HTTPS testcases to avoid SSLv3, as SSLv3 is dead. Fri Apr 3 12:25:28 CEST 2015 Do not enforce FD_SETSIZE-limit on worker control pipe when using MHD_USE_EPOLL_LINUX_ONLY (#3751). -MH/CG Tue Mar 31 10:28:26 CEST 2015 Adding MHD_OPTION_NOTIFY_CONNECTION, MHD_CONNECTION_NOTIFY_STARTED, MHD_CONNECTION_NOTIFY_CLOSED and MHD_CONNECTION_INFO_SOCKET_CONTEXT to allow applications to trigger operations when TCP connections start or end, instead of just exposing HTTP requests starting and ending. -RG/CG Thu Feb 26 09:55:43 CET 2015 Fixing bug that prevented MHD_OPTION_HTTPS_MEM_DHPARAMS from working within a MHD_OPTION_ARRAY. -DD Sun Feb 8 01:24:38 CET 2015 Adding MHD_OPTION_HTTPS_KEY_PASSWORD as proposed by Andrew Basile. -CG/AB Wed Feb 4 20:34:22 CET 2015 Fix issue where for HTTP/1.0-clients that set Connection: Keep-Alive header a response of indefinite size was generated with chunked encoding. -CG Sun Jan 18 20:09:06 CET 2015 Fix potential infinite loop on shutdown in multi-threaded mode under certain conditions. -CG
Diffstat (limited to 'www/libmicrohttpd')
-rw-r--r--www/libmicrohttpd/Makefile5
-rw-r--r--www/libmicrohttpd/PLIST3
-rw-r--r--www/libmicrohttpd/distinfo11
-rw-r--r--www/libmicrohttpd/patches/patch-configure15
4 files changed, 24 insertions, 10 deletions
diff --git a/www/libmicrohttpd/Makefile b/www/libmicrohttpd/Makefile
index b01e33e38d1..028f6163688 100644
--- a/www/libmicrohttpd/Makefile
+++ b/www/libmicrohttpd/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.21 2015/08/23 14:30:36 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2015/11/21 09:33:45 wiz Exp $
-DISTNAME= libmicrohttpd-0.9.39
-PKGREVISION= 1
+DISTNAME= libmicrohttpd-0.9.46
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_GNU:=libmicrohttpd/}
diff --git a/www/libmicrohttpd/PLIST b/www/libmicrohttpd/PLIST
index fa239125ad8..06964ae8b7c 100644
--- a/www/libmicrohttpd/PLIST
+++ b/www/libmicrohttpd/PLIST
@@ -1,8 +1,7 @@
-@comment $NetBSD: PLIST,v 1.3 2015/01/16 12:10:00 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2015/11/21 09:33:45 wiz Exp $
include/microhttpd.h
info/libmicrohttpd-tutorial.info
info/libmicrohttpd.info
lib/libmicrohttpd.la
lib/pkgconfig/libmicrohttpd.pc
-lib/pkgconfig/libmicrospdy.pc
man/man3/libmicrohttpd.3
diff --git a/www/libmicrohttpd/distinfo b/www/libmicrohttpd/distinfo
index 246dd8b35a1..8edf101d7ca 100644
--- a/www/libmicrohttpd/distinfo
+++ b/www/libmicrohttpd/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.15 2015/11/04 02:46:56 agc Exp $
+$NetBSD: distinfo,v 1.16 2015/11/21 09:33:45 wiz Exp $
-SHA1 (libmicrohttpd-0.9.39.tar.gz) = ab3da7b1bad847e205368139952a724680f64be5
-RMD160 (libmicrohttpd-0.9.39.tar.gz) = 364c00e52b3a8d83f6176288e61225b9e75497f5
-SHA512 (libmicrohttpd-0.9.39.tar.gz) = f7a526803fd5bbd28c817836340f91569542c3f8db6f04ffc8e60cf794cd5a7f1da3beda782fa80b2f6c07bb48cd09454c5bbcae1ad81b00f0df2985740a927a
-Size (libmicrohttpd-0.9.39.tar.gz) = 1205722 bytes
+SHA1 (libmicrohttpd-0.9.46.tar.gz) = 598f64c97e2f8109db7e87437187d0ab737345b2
+RMD160 (libmicrohttpd-0.9.46.tar.gz) = 331acab432b6a7d14c3d412ea23aea01b1cccbc0
+SHA512 (libmicrohttpd-0.9.46.tar.gz) = d45cd6e8ca1fb0e4d42110fa6ae5b49823d1b2ce66dd82d8b68757b79bf441e4103301af9437886b2c5d3296102ed8da17933a573da9649e7359305f8e678e46
+Size (libmicrohttpd-0.9.46.tar.gz) = 1249529 bytes
+SHA1 (patch-configure) = e464d5d658b3ecb0d23404a001f978fdb1265992
diff --git a/www/libmicrohttpd/patches/patch-configure b/www/libmicrohttpd/patches/patch-configure
new file mode 100644
index 00000000000..496a35f1d9d
--- /dev/null
+++ b/www/libmicrohttpd/patches/patch-configure
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure,v 1.1 2015/11/21 09:33:45 wiz Exp $
+
+Fix bashism.
+
+--- configure.orig 2015-11-09 07:50:11.000000000 +0000
++++ configure
+@@ -17189,7 +17189,7 @@ fi
+ if test "x$enable_https" = "xyes" && test "x$have_gnutls_pkgcfg" = "xyes" ; then :
+ # remove GnuTLS from private libs in .pc file as it defined in Requires.private
+ MHD_REQ_PRIVATE='gnutls'
+- MHD_LIBDEPS_PKGCFG="${MHD_LIBDEPS//$GNUTLS_LIBS/}"
++ MHD_LIBDEPS_PKGCFG=$(echo ${MHD_LIBDEPS} | sed "s/$GNUTLS_LIBS//")
+
+ else
+