Skip to content

Commit 45e96d3

Browse files
authored
[build] Download GNU deps from mirror (koreader#824)
Fixes koreader#823. This is a simple one. https://ftp.gnu.org/ is currently offline but we shouldn't actually be using it anyway. https://www.gnu.org/server/mirror.en.html > First, for users/downloaders: the address http://ftpmirror.gnu.org/ multiplexes between the mirrors, trying to choose one that is nearby and up to date. E.g., http://ftpmirror.gnu.org/emacs/ goes to a mirror's directory of GNU Emacs. We recommend using this generic ftpmirror.gnu.org address wherever possible in links, documentation, etc., to reduce load on the main GNU server. tl;dr http://ftpmirror.gnu.org should be more stable.
1 parent 43f7c15 commit 45e96d3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

thirdparty/gettext/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ set(GETTEXT_VER "0.19.8.1")
3131
include(ExternalProject)
3232
ExternalProject_Add(
3333
${PROJECT_NAME}
34-
URL http://ftp.gnu.org/pub/gnu/gettext/gettext-${GETTEXT_VER}.tar.gz
34+
URL http://ftpmirror.gnu.org/gettext/gettext-${GETTEXT_VER}.tar.gz
3535
URL_MD5 97e034cf8ce5ba73a28ff6c3c0638092
3636
DOWNLOAD_DIR ${KO_DOWNLOAD_DIR}
3737
CONFIGURE_COMMAND ${CFG_CMD}

thirdparty/libiconv/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ set(GETTEXT_VER "1.15")
1919
include(ExternalProject)
2020
ExternalProject_Add(
2121
libiconv
22-
URL http://ftp.gnu.org/pub/gnu/libiconv/libiconv-${GETTEXT_VER}.tar.gz
22+
URL http://ftpmirror.gnu.org/libiconv/libiconv-${GETTEXT_VER}.tar.gz
2323
URL_MD5 ace8b5f2db42f7b3b3057585e80d9808
2424
DOWNLOAD_DIR ${KO_DOWNLOAD_DIR}
2525
CONFIGURE_COMMAND ${CFG_CMD}

thirdparty/tar/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ include(ExternalProject)
5353
set(TAR_VER "1.31")
5454
ExternalProject_Add(
5555
${PROJECT_NAME}
56-
URL http://ftp.gnu.org/gnu/tar/tar-${TAR_VER}.tar.gz
56+
URL http://ftpmirror.gnu.org/tar/tar-${TAR_VER}.tar.gz
5757
URL_MD5 f2d3b2c7130390f2fd204527c4c22aa5
5858
DOWNLOAD_DIR ${KO_DOWNLOAD_DIR}
5959
PATCH_COMMAND COMMAND ${PATCH_CMD1}

0 commit comments

Comments
 (0)