aboutsummaryrefslogtreecommitdiff
path: root/ports/libidn2
diff options
context:
space:
mode:
authorNancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>2020-01-06 14:33:00 -0800
committerdan-shaw <51385773+dan-shaw@users.noreply.github.com>2020-01-06 14:33:00 -0800
commit2c7ff757a10a1d63e5fd6e295430f00bd67b902c (patch)
tree7a2e7ecbb196809aeeb874b4a4b7df6e588a0652 /ports/libidn2
parente13ed9547a1e33064622e99fe213018634d3cfa3 (diff)
downloadvcpkg-2c7ff757a10a1d63e5fd6e295430f00bd67b902c.tar.gz
vcpkg-2c7ff757a10a1d63e5fd6e295430f00bd67b902c.zip
[many ports] Add mirror (#9123)
Diffstat (limited to 'ports/libidn2')
-rw-r--r--ports/libidn2/CONTROL2
-rw-r--r--ports/libidn2/portfile.cmake4
2 files changed, 2 insertions, 4 deletions
diff --git a/ports/libidn2/CONTROL b/ports/libidn2/CONTROL
index 3ed7546ba..7dc55f126 100644
--- a/ports/libidn2/CONTROL
+++ b/ports/libidn2/CONTROL
@@ -1,5 +1,5 @@
Source: libidn2
-Version: 2.2.0
+Version: 2.2.0-1
Build-Depends: libiconv
Homepage: https://www.gnu.org/software/libidn/
Description: GNU Libidn is an implementation of the Stringprep, Punycode and IDNA 2003 specifications. Libidn's purpose is to encode and decode internationalized domain names.
diff --git a/ports/libidn2/portfile.cmake b/ports/libidn2/portfile.cmake
index 2b5be4692..1d7c94070 100644
--- a/ports/libidn2/portfile.cmake
+++ b/ports/libidn2/portfile.cmake
@@ -1,10 +1,8 @@
-include(vcpkg_common_functions)
-
set(IDN2_VERSION 2.2.0)
set(IDN2_FILENAME libidn2-${IDN2_VERSION}.tar.gz)
vcpkg_download_distfile(ARCHIVE
- URLS "http://ftp.gnu.org/gnu/libidn/${IDN2_FILENAME}"
+ URLS "https://ftp.gnu.org/gnu/libidn/${IDN2_FILENAME}" "https://www.mirrorservice.org/sites/ftp.gnu.org/gnu/libidn/${IDN2_FILENAME}"
FILENAME "${IDN2_FILENAME}"
SHA512 ccf56056a378d49a28ff67a2a23cd3d32ce51f86a78f84839b98dad709a1d0d03ac8d7c1496f0e4d3536bca00e3d09d34d76a37317b2ce87e3aa66bdf4e877b8
)