diff --git a/www/libmicrohttpd/Makefile b/www/libmicrohttpd/Makefile index f11793c91c1c..5edcebbb9ec1 100644 --- a/www/libmicrohttpd/Makefile +++ b/www/libmicrohttpd/Makefile @@ -1,37 +1,37 @@ PORTNAME= libmicrohttpd -DISTVERSION= 1.0.4 +DISTVERSION= 1.0.5 CATEGORIES= www MASTER_SITES= GNU MAINTAINER= gaod@hychen.org COMMENT= C library for embedding HTTP server functionality WWW= https://www.gnu.org/software/libmicrohttpd/ LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING -USES= cpe libtool localbase pathfix +USES= cpe libtool localbase pathfix pkgconfig USE_LDCONFIG= yes CPE_VENDOR= gnu GNU_CONFIGURE= yes INFO= libmicrohttpd libmicrohttpd-tutorial INSTALL_TARGET= install-strip TEST_TARGET= check CONFIGURE_ARGS= --disable-examples \ --disable-static OPTIONS_DEFINE= GNUTLS TESTCURL OPTIONS_DEFAULT= GNUTLS TESTCURL_DESC= Use curl when running unit tests GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_ENABLE=https TESTCURL_LIB_DEPENDS= libcurl.so:ftp/curl TESTCURL_CONFIGURE_ENABLE= curl .include diff --git a/www/libmicrohttpd/distinfo b/www/libmicrohttpd/distinfo index 352e06f8c61c..376e85c64d88 100644 --- a/www/libmicrohttpd/distinfo +++ b/www/libmicrohttpd/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1776227503 -SHA256 (libmicrohttpd-1.0.4.tar.gz) = d72e5cfccd62bf2f79252edbc3828eeedc088ce71fc47b7c9e3bd7246b3d54de -SIZE (libmicrohttpd-1.0.4.tar.gz) = 2102676 +TIMESTAMP = 1776644553 +SHA256 (libmicrohttpd-1.0.5.tar.gz) = b46d00f58efa6f497b97d2e782c4ee66301d412ddd855dd3068518b3a2cd3ea2 +SIZE (libmicrohttpd-1.0.5.tar.gz) = 2103850 diff --git a/www/libmicrohttpd/files/patch-src_include_microhttpd.h b/www/libmicrohttpd/files/patch-src_include_microhttpd.h deleted file mode 100644 index bc383c4eb3ca..000000000000 --- a/www/libmicrohttpd/files/patch-src_include_microhttpd.h +++ /dev/null @@ -1,11 +0,0 @@ ---- src/include/microhttpd.h.orig 2026-04-01 22:24:48 UTC -+++ src/include/microhttpd.h -@@ -101,7 +101,7 @@ MHD_C_DECLRATIONS_START_HERE_ - * they are parsed as decimal numbers. - * Example: 0x01093001 = 1.9.30-1. - */ --#define MHD_VERSION 0x01000300 -+#define MHD_VERSION 0x01000400 - - /* If generic headers don't work on your platform, include headers - which define 'va_list', 'size_t', 'ssize_t', 'intptr_t', 'off_t', diff --git a/www/libmicrohttpd/files/patch-src_microhttpd_connection.c b/www/libmicrohttpd/files/patch-src_microhttpd_connection.c deleted file mode 100644 index 184db5724dfd..000000000000 --- a/www/libmicrohttpd/files/patch-src_microhttpd_connection.c +++ /dev/null @@ -1,16 +0,0 @@ ---- src/microhttpd/connection.c.orig 2026-04-13 09:38:40 UTC -+++ src/microhttpd/connection.c -@@ -4902,10 +4902,9 @@ parse_connection_headers (struct MHD_Connection *conne - - for (pos = connection->rq.headers_received; NULL != pos; pos = pos->next) - if ( (0 != (pos->kind & MHD_HEADER_KIND)) && -- (MHD_str_equal_caseless_bin_n_ (MHD_HTTP_HEADER_CONTENT_LENGTH, -- pos->header, -- MHD_STATICSTR_LEN_ ( -- MHD_HTTP_HEADER_CONTENT_LENGTH))) ) -+ (MHD_str_equal_caseless_s_bin_n_ (MHD_HTTP_HEADER_CONTENT_LENGTH, -+ pos->header, -+ pos->header_size)) ) - { - const char *clen; - size_t val_len;