[gettext, gettext-libintl] Prefer downloads from mirror (#47469)

This commit is contained in:
Thomas1664 2025-09-26 21:11:21 +02:00 committed by GitHub
parent 72d3df863a
commit 15fd3bbcf7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 18 additions and 6 deletions

View File

@ -24,7 +24,8 @@ endif()
set(VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS enabled)
vcpkg_download_distfile(ARCHIVE
URLS "https://ftp.gnu.org/pub/gnu/gettext/gettext-${VERSION}.tar.gz"
URLS "https://ftpmirror.gnu.org/gnu/gettext/gettext-${VERSION}.tar.gz"
"https://ftp.gnu.org/pub/gnu/gettext/gettext-${VERSION}.tar.gz"
"https://www.mirrorservice.org/sites/ftp.gnu.org/gnu/gettext/gettext-${VERSION}.tar.gz"
FILENAME "gettext-${VERSION}.tar.gz"
SHA512 d8b22d7fba10052a2045f477f0a5b684d932513bdb3b295c22fbd9dfc2a9d8fccd9aefd90692136c62897149aa2f7d1145ce6618aa1f0be787cb88eba5bc09be

View File

@ -1,7 +1,7 @@
{
"name": "gettext-libintl",
"version": "0.22.5",
"port-version": 3,
"port-version": 4,
"description": "The libintl C library from GNU gettext-runtime.",
"homepage": "https://www.gnu.org/software/gettext/",
"license": "LGPL-2.1-or-later",

View File

@ -13,7 +13,8 @@ set(VCPKG_BUILD_TYPE release)
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
vcpkg_download_distfile(ARCHIVE
URLS "https://ftp.gnu.org/pub/gnu/gettext/gettext-${VERSION}.tar.gz"
URLS "https://ftpmirror.gnu.org/gnu/gettext/gettext-${VERSION}.tar.gz"
"https://ftp.gnu.org/pub/gnu/gettext/gettext-${VERSION}.tar.gz"
"https://www.mirrorservice.org/sites/ftp.gnu.org/gnu/gettext/gettext-${VERSION}.tar.gz"
FILENAME "gettext-${VERSION}.tar.gz"
SHA512 d8b22d7fba10052a2045f477f0a5b684d932513bdb3b295c22fbd9dfc2a9d8fccd9aefd90692136c62897149aa2f7d1145ce6618aa1f0be787cb88eba5bc09be

View File

@ -1,7 +1,7 @@
{
"name": "gettext",
"version": "0.22.5",
"port-version": 2,
"port-version": 3,
"description": "A GNU framework to help produce multi-lingual messages.",
"homepage": "https://www.gnu.org/software/gettext/",
"license": "GPL-3.0-only",

View File

@ -3246,11 +3246,11 @@
},
"gettext": {
"baseline": "0.22.5",
"port-version": 2
"port-version": 3
},
"gettext-libintl": {
"baseline": "0.22.5",
"port-version": 3
"port-version": 4
},
"gettimeofday": {
"baseline": "2017-10-14",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "f68d5e391ae2bc2cf4ed86cb26097b2f0c218e2c",
"version": "0.22.5",
"port-version": 4
},
{
"git-tree": "89734e29d2753df206cdd0e45f2f6c9b3f3fbc4f",
"version": "0.22.5",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "6308f030041019677efe2ef49cc2d7a42b9cf632",
"version": "0.22.5",
"port-version": 3
},
{
"git-tree": "26b118cdddb84cdc2e8cc6b0330ca39e2799055b",
"version": "0.22.5",