libmicrohttpd: update to version 0.9.77 Changelog: This is mostly a bugfix release. This version created by taking patches from the current development branch and back-porting them on top of version 0.9.76. The most notable changes are: some improvements for Digest and Basic authorizations, fixed efficiency for TLS upgraded connections, fixed processing of folded headers in requests, fixed functionality with blocking sockets, improved and fixed internal test-suite. The more detailed list of the important changes: API changes: + Added new function MHD_get_version_bin(). Improvements and enhancements: * Digest Auth: changed algorithm identifiers in server generated headers from "md5" / "sha-256" to "MD5" / "SHA-256" to better match RFC (while clients should use caseless matching). * Improved Base64 decoding by new implementation with robust input data validation checks. * Improved configure for cross-compiling, for better compatibility with POSIX and for better compatibility with the latest compiler versions. * New internal tests: for Base64 decoding, Basic Auth and folded headers. * Supported new libcurl API in tests to mute deprecation warnings. * Supported ARM and ARM64 for VC compilers. Functionality changes: * any negative number returned by response data generation callback function is treated as an error. Previously negative values except predefined error codes could produce undefined behaviour. * Added handling of "DEBUG" preprocessor macro as an alias of "_DEBUG". Fixes: # Fixed functionality with blocking sockets. # Fixed very inefficient data pumping for upgraded TLS connections. # Fixed processing of folded headers in the requests. # Fixed data races when closing upgraded connection. # Removed duplication of "Connection: upgrade" header. # Digest auth: fixed thread sync to avoid "stale hash" results. # Fixed harmless unwanted extra data processing resulting in triggering of the assert. # Fixed tests for LTO. # Removed removed non-portable functions in examples. # Fixed delayed call of connection notification callback in thread-per-connection mode. # Fixed Address Sanitizer unpoison of memory when memory pool is destroyed. This fixed periodic ASAN error when used for a long time with the sanitizer. # Fixed compiler warnings in library code, examples, tests and configure checks. # New TLS certificates for test-suite: all with SAN fields and SHA-256 hash. # Tests: fixed tests on Darwin 22.x (Ventura). # Tests: redesigned one tests group to avoid stress-testing of the OS.diff -r1.69 -r1.70 pkgsrc/www/libmicrohttpd/Makefile
(nikita)
@@ -1,17 +1,16 @@ | @@ -1,17 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.69 2023/04/19 08:08:49 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.70 2023/05/30 16:04:28 nikita Exp $ | |
2 | 2 | |||
3 | DISTNAME= libmicrohttpd-0.9.76 | 3 | DISTNAME= libmicrohttpd-0.9.77 | |
4 | PKGREVISION= 1 | |||
5 | CATEGORIES= www | 4 | CATEGORIES= www | |
6 | MASTER_SITES= ${MASTER_SITE_GNU:=libmicrohttpd/} | 5 | MASTER_SITES= ${MASTER_SITE_GNU:=libmicrohttpd/} | |
7 | 6 | |||
8 | MAINTAINER= nikita@NetBSD.org | 7 | MAINTAINER= nikita@NetBSD.org | |
9 | HOMEPAGE= https://www.gnu.org/software/libmicrohttpd/ | 8 | HOMEPAGE= https://www.gnu.org/software/libmicrohttpd/ | |
10 | COMMENT= Small C library to run an HTTP server as part of another app | 9 | COMMENT= Small C library to run an HTTP server as part of another app | |
11 | LICENSE= gnu-lgpl-v2.1 # or later | 10 | LICENSE= gnu-lgpl-v2.1 # or later | |
12 | 11 | |||
13 | USE_LIBTOOL= yes | 12 | USE_LIBTOOL= yes | |
14 | USE_TOOLS+= pkg-config | 13 | USE_TOOLS+= pkg-config | |
15 | GNU_CONFIGURE= yes | 14 | GNU_CONFIGURE= yes | |
16 | INFO_FILES= yes | 15 | INFO_FILES= yes | |
17 | # 2 tests skipped as of 0.9.75, this is expected. | 16 | # 2 tests skipped as of 0.9.75, this is expected. |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.39 2023/02/27 19:53:33 nikita Exp $ | 1 | $NetBSD: distinfo,v 1.40 2023/05/30 16:04:28 nikita Exp $ | |
2 | 2 | |||
3 | BLAKE2s (libmicrohttpd-0.9.76.tar.gz) = b38625148ff90c69edfadd602a6f548774b7f140447352a11a74df1357d76afd | 3 | BLAKE2s (libmicrohttpd-0.9.77.tar.gz) = f0e00f6fe719603ef547f6bef714c0cb89cc97fea22a4e5c9141cc7374a28dde | |
4 | SHA512 (libmicrohttpd-0.9.76.tar.gz) = 9ff8a837892142376eaeaf50c0b0dba76697d0ff44b908434cba8db4324c57dfb8bbcc1a922b97d825891ac10f50693dee9388531856e0fa81fa2cfeac538581 | 4 | SHA512 (libmicrohttpd-0.9.77.tar.gz) = 001025c023dd94c4a0cf017ed575e65a577b5ce595e7e450346bfb75def77eaa8a4cfbeffb9f4b912e34165c2cfca147c02c895e067a4f6c5a321a12035758a5 | |
5 | Size (libmicrohttpd-0.9.76.tar.gz) = 2199858 bytes | 5 | Size (libmicrohttpd-0.9.77.tar.gz) = 1896679 bytes |