[libmicrohttpd] update to v0.9.75 (#22514)

* update libmicrohttpd to v0.9.75

* delete useless patch file

Co-authored-by: Mengna-Li <you@example.com>
This commit is contained in:
Mengna Li 2022-01-14 02:50:47 +08:00 committed by GitHub
parent 1a19b0eb3c
commit a0886ef838
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 21 deletions

View File

@ -1,12 +0,0 @@
diff --git a/w32/common/libmicrohttpd-files.vcxproj b/w32/common/libmicrohttpd-files.vcxproj
index 6f1e03b..c0ddea8 100644
--- a/w32/common/libmicrohttpd-files.vcxproj
+++ b/w32/common/libmicrohttpd-files.vcxproj
@@ -3,6 +3,7 @@
<ItemGroup>
<ClCompile Include="$(MhdSrc)microhttpd\base64.c" />
<ClCompile Include="$(MhdSrc)microhttpd\basicauth.c" />
+ <ClCompile Include="$(MhdSrc)microhttpd\sha256.c" />
<ClCompile Include="$(MhdSrc)microhttpd\connection.c" />
<ClCompile Include="$(MhdSrc)microhttpd\daemon.c" />
<ClCompile Include="$(MhdSrc)microhttpd\digestauth.c" />

View File

@ -1,19 +1,16 @@
vcpkg_fail_port_install(ON_TARGET "UWP" ON_ARCH "arm")
set(MICROHTTPD_VERSION 0.9.63)
set(MICROHTTPD_VERSION 0.9.75)
vcpkg_download_distfile(ARCHIVE
URLS
"https://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-${MICROHTTPD_VERSION}.tar.gz"
"https://www.mirrorservice.org/sites/ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-${MICROHTTPD_VERSION}.tar.gz"
FILENAME "libmicrohttpd-${MICROHTTPD_VERSION}.tar.gz"
SHA512 cb99e7af84fb6d7c0fd3894a9dc0fbff14959b35347506bd3211a65bbfad36455007b9e67493e97c9d8394834408df10eeabdc7758573e6aae0ba6f5f87afe17
SHA512 4dc62ed191342a61cc2767171bb1ff4050f390db14ef7100299888237b52ea0b04b939c843878fe7f5daec2b35a47b3c1b7e7c11fb32d458184fe6b19986a37c
)
vcpkg_extract_source_archive_ex(
ARCHIVE "${ARCHIVE}"
OUT_SOURCE_PATH SOURCE_PATH
PATCHES fix-msvc-project.patch
)
if(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)

View File

@ -1,7 +1,6 @@
{
"name": "libmicrohttpd",
"version": "0.9.63",
"port-version": 7,
"version": "0.9.75",
"description": "GNU libmicrohttpd is a small C library that is supposed to make it easy to run an HTTP server as part of another application",
"homepage": "https://www.gnu.org/software/libmicrohttpd/",
"supports": "!(arm | uwp)",

View File

@ -3669,8 +3669,8 @@
"port-version": 2
},
"libmicrohttpd": {
"baseline": "0.9.63",
"port-version": 7
"baseline": "0.9.75",
"port-version": 0
},
"libmikmod": {
"baseline": "3.3.11.1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "059bfe5715b9179cbd4d365ca571e6fade762700",
"version": "0.9.75",
"port-version": 0
},
{
"git-tree": "f6c2bc7d6fd2ee5441a6235f3c99067aad069b14",
"version": "0.9.63",