Skip to content

Commit

Permalink
[libmicrohttpd] update to v0.9.75 (#22514)
Browse files Browse the repository at this point in the history
* update libmicrohttpd to v0.9.75

* delete useless patch file

Co-authored-by: Mengna-Li <you@example.com>
  • Loading branch information
Adela0814 and Mengna-Li committed Jan 13, 2022
1 parent 1a19b0e commit a0886ef
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 21 deletions.
12 changes: 0 additions & 12 deletions ports/libmicrohttpd/fix-msvc-project.patch

This file was deleted.

7 changes: 2 additions & 5 deletions ports/libmicrohttpd/portfile.cmake
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
3 changes: 1 addition & 2 deletions ports/libmicrohttpd/vcpkg.json
Original file line number Diff line number Diff line change
@@ -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)",
Expand Down
4 changes: 2 additions & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
5 changes: 5 additions & 0 deletions versions/l-/libmicrohttpd.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "059bfe5715b9179cbd4d365ca571e6fade762700",
"version": "0.9.75",
"port-version": 0
},
{
"git-tree": "f6c2bc7d6fd2ee5441a6235f3c99067aad069b14",
"version": "0.9.63",
Expand Down

0 comments on commit a0886ef

Please sign in to comment.