Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id 075627A263 for ; Wed, 19 Oct 2016 19:54:13 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 745B185EA6; Wed, 19 Oct 2016 19:54:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 0519985E94 for ; Wed, 19 Oct 2016 19:54:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id FUMtziwubFAv for ; Wed, 19 Oct 2016 19:54:11 +0000 (UTC) Received: from cvs.NetBSD.org (unknown [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 05E3D85E61 for ; Wed, 19 Oct 2016 19:54:11 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id F0CD3FBD2; Wed, 19 Oct 2016 19:54:10 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1476906850162730" MIME-Version: 1.0 Date: Wed, 19 Oct 2016 19:54:10 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/www/libmicrohttpd To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20161019195410.F0CD3FBD2@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk This is a multi-part message in MIME format. --_----------=_1476906850162730 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: wiz Date: Wed Oct 19 19:54:10 UTC 2016 Modified Files: pkgsrc/www/libmicrohttpd: Makefile distinfo Log Message: Updated libmicrohttpd to 0.9.52. Mon Oct 17 19:08:18 CEST 2016 Fixed misc. issues relating to upgrade. Releasing experimental 0.9.52. -CG Wed Oct 12 14:26:20 CEST 2016 Migrated repository from Subversion to Git. -CG Tue Oct 11 18:09:56 CEST 2016 Deprecated MHD_USE_SSL, use MHD_USE_TLS instead. -CG Tue Oct 11 18:14:40 MSK 2016 Code internal refactoring: 'pipes' renamed to 'inter-thread communication (channels)/ITCs', as code can use different types of communications. Optimizations: ITCs now always created in non-blocking mode. Added configure parameter to choose ITC type. Updated documentation and comments. Minor errors fixed (related to heavy load). -EG Thu Sep 22 17:51:04 CEST 2016 Implementing support for eventfd() instead of pipe() for signaling (on platforms that support it); fixing #3557. -CG Thu Sep 22 11:03:43 CEST 2016 Simplify internal error handling logic by folding it into the MHD_socket_close_, MHD_mutex_lock_, MHD_mutex_unlock_ and MHD_mutex_destroy_ functions. -CG Tue Sep 13 22:20:26 MSK 2016 Added autoconf macro to enable maximum platform features. Fixed compiling on Solaris. -EG Wed Sep 7 12:57:57 CEST 2016 Fixing #4641. -Hawk Wed Sep 7 00:28:59 CEST 2016 Adding remaining "_"-markups for i18n (#4614). -CG Tue Sep 6 23:39:56 CEST 2016 Allow out-of-order nonces for digest authentication (#4636). -CG Tue Sep 6 21:29:09 CEST 2016 Martin was right, "socket_context" should be "void *" in `union MHD_ConnectionInfo`. -MS Sun Sep 4 18:16:32 CEST 2016 Fixing potential memory leak (#4634). -CG Sun Sep 4 17:25:45 CEST 2016 Tests for "Upgrade" logic are now in place and passing. However, still need to make sure code is portable. -CG Sat Sep 3 11:56:20 CEST 2016 Adding logic for handling HTTP "Upgrade" in thread-per-connection mode. Also still untested. -CG Sat Aug 27 21:01:43 CEST 2016 Adding a few extra safety checks around HTTP "Upgrade" (against wrong uses of API), and a testcase. -CG Sat Aug 27 20:07:53 CEST 2016 Adding completely *untested* logic for HTTP "Upgrade" handling. -CG Sat Aug 27 18:20:38 CEST 2016 Releasing libmicrohttpd 0.9.51. -CG Tue Aug 23 22:54:07 MSK 2016 Internal refactoring: W32 compatibility layer was finally replaced with several specialized abstraction layers for sockets, control pipes (inter-thread communication) and generic functions. Now all major platform functions (including threads and mutex) are implemented in thin abstraction layers. Improved performance on W32 due to eliminating translation of error to POSIX codes and using W32 codes directly (through macros). Improved error reporting on all platforms. Improved error handling and reporting on Darwin. Minor fixes. -EG Tue Aug 16 15:14:30 MSK 2016 Minor improvement for monotonic clock. Minor configure fix for non-bash shells. -EG Mon Aug 15 13:06:52 CEST 2016 Fixed possible crash due to write to read-only region of memory given ill-formed HTTP request (write was otherwise harmless, writing 0 to where there was already a 0). Fixed issue with closed connection slots not immediately being available again for new connections if we reached our connection limit. Avoid even accept()ing connections in certain thread modes if we are at the connection limit and MHD_USE_PIPE_FOR_SHUTDOWN is available. -CG Wed Aug 10 16:42:57 MSK 2016 Moved threads, locks and mutex abstraction to separate files, some minor errors fixed, added support for thread name functions on various platforms, added configure flag for disable thread naming. -EG Sat Jul 23 20:45:51 CEST 2016 Added macro detection of speed/size compiler optimization. Added different implementation of functions in mhd_str.c for size optimization. Enabled automatically if compiler size optimization is detected or MHD_FAVOR_SMALL_CODE is defined. Added unit tests for all mhd_str.c functions. -EG Sat Jul 16 21:54:49 CEST 2016 Warn user if they sent connection into blocking state by not processing all POST data, not suspending, and not running in external select mode. -CG Fri Jul 8 21:35:07 CEST 2016 Fix FIXME in tutorial. -CG Fri Jul 8 15:57:06 CEST 2016 Adding support for 308 status code. -CG Sat Jun 25 13:49:31 CEST 2016 Use shutdown to trigger select on NetBSD. -EG Thu Jun 2 09:55:50 CEST 2016 Releasing libmicrohttpd 0.9.50. -CG Wed Jun 1 21:59:34 CEST 2016 Do not send "Content-Length" header for 1xx/204/304 status codes. -CG Tue May 17 13:32:21 CEST 2016 Allow clients to determine whether a connection is suspended; introduces MHD_CONNECTION_INFO_CONNECTION_SUSPENDED. -CG/FC Sun May 15 12:17:25 CEST 2016 Fix handling system or process resource limit exhaustion upon accept(). -CG/CP Thu May 12 08:42:19 CEST 2016 Fix handling of partial writes in MHD_USE_EPOLL_LINUX_ONLY; only consider sockets returning EAGAIN as unready. -CG/CP Mon May 2 06:08:26 CEST 2016 Adding logic to help address FE performance issue as discussed on the mailinglist with subject "single-threaded daemon, multiple pending requests, responses batched". The new logic is only enabled when MHD_USE_EPOLL_TURBO is set. Note that some additional refactoring was also done to clean up the code and avoid code duplication, which may have actually fixed an unrelated issue with HTTPS and a POLL-style event loop. -CG Sat Apr 30 10:22:37 CEST 2016 Added clarifications to manual based on questions on list. -CG Sat Apr 23 20:12:01 CET 2016 Tests perf_get_concurrent and test_concurrent_stop ported to use pthread instead of fork(). Added more error detections. -EG Sat Apr 23 16:06:30 CET 2016 Improved test_quiesce test. -EG Sat Apr 23 15:39:38 CET 2016 Notify other threads in MHD_quiesce_daemon() so listen socket FD is removed from awaiting select() and poll(). -EG Sat Apr 23 14:17:15 CET 2016 Revert "shutdown trigger select" on Darwin. Fixed daemon shutdown on Darwin without "MHD_USE_PIPE_FOR_SHUTDOWN" option. -EG Fri Apr 22 14:29:28 CET 2016 Fixed race conditions when stopping quiesced daemon with thread pool. -EG Wed Apr 20 18:12:30 CET 2016 Fixed macros in sysfdsetsize.c which could prevent compiling with non-default FD_SETSIZE. Fixed comments in mhd_str.c. Updated test_post.c to not ignore specific error on W32 if libcurl is built with workaround for WinSock bug. -EG Mon Apr 18 19:35:14 CET 2016 Fixed data races leading to inability in rare situations to resume suspended connection. -EG Tue Apr 13 21:46:01 CET 2016 Removed unneeded locking for global timeout list in MHD_USE_THREAD_PER_CONNECTION mode. Added 'simplepost' and 'largepost' examples to VS projects. Added strtoXX() locale-independent replacement functions. Added more error checking and minor fixes in digest auth functions - should improve security. Ignored specific errors in 'test_post' test until libcurl will implement workaround for WinSock bug. Fixed handling of caller-supplied socket with MHD_OPTION_LISTEN_SOCKET (regression in 0.9.49). Minor fixes. Various cosmetics and comments fixes. -EG Sat Apr 09 13:05:42 CET 2016 Releasing libmicrohttpd 0.9.49. -EG Fri Apr 08 18:32:17 CET 2016 Some minor internal fixes, addition error checking and micro optimizations. Reworked usage of sockets shutdown() - now work equally on all platforms, disconnection should be "more graceful". -EG Tue Mar 15 21:52:27 CET 2016 Do not crash if pthread_create() fails. -DD Tue Mar 15 20:29:34 CET 2016 Do not use eready DLL data structure unless we are actually using epoll(). -DD/CG Fri Feb 5 20:43:11 CET 2016 Fixed testsuite compile warning on W32. Added check test for triggering poll() on listen socket. -EG Thu Feb 4 11:38:11 CET 2016 Added some buffer overrun protection. Fixed handling of misformed URI with spaces. -EG Wed Feb 3 15:41:57 CET 2016 Make signal-pipe non-blocking and drain it. -CG Sat Jan 30 15:49:07 CET 2016 Fix running select() with empty fdsets on W32. -EG Mon Jan 25 13:45:50 CET 2016 Added check test for triggering select() on listen socket. -EG Thu Jan 21 19:35:18 CET 2016 Fixed old bug with making sockets non-blocking on various platforms so now sockets are really non-blocking on all supported platforms. Reworked and fixed code for using SOCK_CLOEXEC, SOCK_NONBLOCK and EPOLL_CLOEXEC resulting in fewer used system calls. -EG Tue Jan 19 20:59:59 CET 2016 Cleaned up and optimized with minor fixes code for making sockets non-blocking non-inheritable. -EG Tue Jan 19 11:14:18 CET 2016 Removed workaround for Cygwin non-blocking sockets: handling non-blocking sockets were fixed in Cygwin and libmicrohttpd how uses non-blocking sockets on all platforms. -EG Mon Jan 18 23:54:45 CET 2016 Cleaned up examples to avoid giving oversimplified code that may lead to complications if adopted naively. -CG Sun Jan 17 11:18:55 CET 2016 Do no refuse to send response if sendfile() failed with EINVAL (common error for files located on SMB/CIF). -EG Sat Jan 16 19:14:39 CET 2016 Use US-ASCII only (instead of user locale settings) when performing caseless string comparison as required by standard. -EG Tue Jan 12 16:10:09 CET 2016 Fixed declaraion of MHD_get_reason_phrase_for(). -EG Mon Jan 11 19:58:50 CET 2016 Configure.ac small fixes and refactoring. -EG To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 pkgsrc/www/libmicrohttpd/Makefile cvs rdiff -u -r1.19 -r1.20 pkgsrc/www/libmicrohttpd/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1476906850162730 Content-Disposition: inline Content-Length: 1969 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/www/libmicrohttpd/Makefile diff -u pkgsrc/www/libmicrohttpd/Makefile:1.27 pkgsrc/www/libmicrohttpd/Makefile:1.28 --- pkgsrc/www/libmicrohttpd/Makefile:1.27 Fri Oct 7 18:26:12 2016 +++ pkgsrc/www/libmicrohttpd/Makefile Wed Oct 19 19:54:10 2016 @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.27 2016/10/07 18:26:12 adam Exp $ +# $NetBSD: Makefile,v 1.28 2016/10/19 19:54:10 wiz Exp $ -DISTNAME= libmicrohttpd-0.9.48 -PKGREVISION= 3 +DISTNAME= libmicrohttpd-0.9.52 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_GNU:=libmicrohttpd/} @@ -13,8 +12,6 @@ LICENSE= gnu-lgpl-v2.1 USE_LIBTOOL= yes USE_TOOLS+= pkg-config GNU_CONFIGURE= yes -# Avoid building and installing 'demo' program -CONFIGURE_ENV+= ac_cv_header_magic_h=no INFO_FILES= yes PKGCONFIG_OVERRIDE+= libmicrohttpd.pc.in Index: pkgsrc/www/libmicrohttpd/distinfo diff -u pkgsrc/www/libmicrohttpd/distinfo:1.19 pkgsrc/www/libmicrohttpd/distinfo:1.20 --- pkgsrc/www/libmicrohttpd/distinfo:1.19 Tue Dec 29 23:35:00 2015 +++ pkgsrc/www/libmicrohttpd/distinfo Wed Oct 19 19:54:10 2016 @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.19 2015/12/29 23:35:00 wiz Exp $ +$NetBSD: distinfo,v 1.20 2016/10/19 19:54:10 wiz Exp $ -SHA1 (libmicrohttpd-0.9.48.tar.gz) = aa78855a2880faf5e0c6c820d0efa2c65beeaf99 -RMD160 (libmicrohttpd-0.9.48.tar.gz) = dcb2eb9d8dd00c3bf6127bf7ac6a964aa7288052 -SHA512 (libmicrohttpd-0.9.48.tar.gz) = 67155356b01c2294f5b87db68ac275d8c739e06590fc0ae5bcc0c9b4cfc42027b227fd64862ec3197695727c937b5c5d8c815ffbfc770beba918c0e3ca6a37f0 -Size (libmicrohttpd-0.9.48.tar.gz) = 1077473 bytes +SHA1 (libmicrohttpd-0.9.52.tar.gz) = 601a6dc06acd130122788a5025d8036886671fac +RMD160 (libmicrohttpd-0.9.52.tar.gz) = 05e6b8ae1dd44d66533e7b319d50564ab1ba44b8 +SHA512 (libmicrohttpd-0.9.52.tar.gz) = 2cb7fa6ed59ec5f48748cd2aedea8a68629f02ffcf8e86c6d5b57a6622bb5f0ffd7dabfd6c04cc99047ca81eb76efe2a79b34bd6e3de329261a319369232fcf4 +Size (libmicrohttpd-0.9.52.tar.gz) = 1244489 bytes --_----------=_1476906850162730--