mirror of
https://git.yoctoproject.org/poky
synced 2026-02-24 10:29:40 +01:00
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: bdc28b0262ad8a57d56f029b55b338478afb3a07) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
28 lines
912 B
BlitzBasic
28 lines
912 B
BlitzBasic
SUMMARY = "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"
|