From db907c49445e9cf63f81075d26513fe5b3c86158 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Thu, 1 Jun 2023 17:03:13 +0800 Subject: libmicrohttpd: upgrade 0.9.76 -> 0.9.77 Changelog: ========== 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. (From OE-Core rev: 5e82c4674835900753fb7d5e01aa6dfe41e5d84b) Signed-off-by: Wang Mingyu Signed-off-by: Alexandre Belloni (cherry picked from commit bdc28b0262ad8a57d56f029b55b338478afb3a07) Signed-off-by: Steve Sakoman --- .../libmicrohttpd/libmicrohttpd_0.9.76.bb | 27 ---------------------- .../libmicrohttpd/libmicrohttpd_0.9.77.bb | 27 ++++++++++++++++++++++ 2 files changed, 27 insertions(+), 27 deletions(-) delete mode 100644 meta/recipes-support/libmicrohttpd/libmicrohttpd_0.9.76.bb create mode 100644 meta/recipes-support/libmicrohttpd/libmicrohttpd_0.9.77.bb (limited to 'meta/recipes-support/libmicrohttpd') diff --git a/meta/recipes-support/libmicrohttpd/libmicrohttpd_0.9.76.bb b/meta/recipes-support/libmicrohttpd/libmicrohttpd_0.9.76.bb deleted file mode 100644 index 7bd66f63cf..0000000000 --- a/meta/recipes-support/libmicrohttpd/libmicrohttpd_0.9.76.bb +++ /dev/null @@ -1,27 +0,0 @@ -DESCRIPTION = "A small C library that is supposed to make it easy to run an HTTP server as part of another application" -HOMEPAGE = "http://www.gnu.org/software/libmicrohttpd/" -LICENSE = "LGPL-2.1-or-later" -LIC_FILES_CHKSUM = "file://COPYING;md5=57d09285feac8a64efa878e692b14f36" -SECTION = "net" - -DEPENDS = "file" - -SRC_URI = "${GNU_MIRROR}/libmicrohttpd/${BPN}-${PV}.tar.gz" -SRC_URI[sha256sum] = "f0b1547b5a42a6c0f724e8e1c1cb5ce9c4c35fb495e7d780b9930d35011ceb4c" - -inherit autotools lib_package pkgconfig gettext - -CFLAGS += "-pthread -D_REENTRANT" - -EXTRA_OECONF += "--disable-static --with-gnutls=${STAGING_LIBDIR}/../ --enable-largefile" - -PACKAGECONFIG ?= "curl https" - -PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl," -PACKAGECONFIG[https] = "--enable-https,--disable-https,libgcrypt gnutls," - -do_compile:append() { - sed -i s:-L${STAGING_LIBDIR}::g libmicrohttpd.pc -} - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta/recipes-support/libmicrohttpd/libmicrohttpd_0.9.77.bb b/meta/recipes-support/libmicrohttpd/libmicrohttpd_0.9.77.bb new file mode 100644 index 0000000000..16159a0fd8 --- /dev/null +++ b/meta/recipes-support/libmicrohttpd/libmicrohttpd_0.9.77.bb @@ -0,0 +1,27 @@ +DESCRIPTION = "A small C library that is supposed to make it easy to run an HTTP server as part of another application" +HOMEPAGE = "http://www.gnu.org/software/libmicrohttpd/" +LICENSE = "LGPL-2.1-or-later" +LIC_FILES_CHKSUM = "file://COPYING;md5=57d09285feac8a64efa878e692b14f36" +SECTION = "net" + +DEPENDS = "file" + +SRC_URI = "${GNU_MIRROR}/libmicrohttpd/${BPN}-${PV}.tar.gz" +SRC_URI[sha256sum] = "9e7023a151120060d2806a6ea4c13ca9933ece4eacfc5c9464d20edddb76b0a0" + +inherit autotools lib_package pkgconfig gettext + +CFLAGS += "-pthread -D_REENTRANT" + +EXTRA_OECONF += "--disable-static --with-gnutls=${STAGING_LIBDIR}/../ --enable-largefile" + +PACKAGECONFIG ?= "curl https" + +PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl," +PACKAGECONFIG[https] = "--enable-https,--disable-https,libgcrypt gnutls," + +do_compile:append() { + sed -i s:-L${STAGING_LIBDIR}::g libmicrohttpd.pc +} + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf