You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@orc.apache.org by do...@apache.org on 2022/07/12 17:41:49 UTC
[orc] branch branch-1.8 updated: ORC-1213: [C++] Use `https` in `ThirdpartyToolchain.cmake`
This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch branch-1.8
in repository https://gitbox.apache.org/repos/asf/orc.git
The following commit(s) were added to refs/heads/branch-1.8 by this push:
new 2ea10faab ORC-1213: [C++] Use `https` in `ThirdpartyToolchain.cmake`
2ea10faab is described below
commit 2ea10faab097a98c9cf9c0d65c42e5692b71f898
Author: David Black <db...@atlassian.com>
AuthorDate: Tue Jul 12 10:41:16 2022 -0700
ORC-1213: [C++] Use `https` in `ThirdpartyToolchain.cmake`
Update some download links from using http & ftp to https
Closes #1175 from dbaxa/patch-1.
Authored-by: David Black <db...@atlassian.com>
Signed-off-by: Dongjoon Hyun <do...@apache.org>
(cherry picked from commit 8028da98ae52e225c8b244a6ef4810ca2815cf19)
Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
cmake_modules/ThirdpartyToolchain.cmake | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/cmake_modules/ThirdpartyToolchain.cmake b/cmake_modules/ThirdpartyToolchain.cmake
index 070abe525..6919847fb 100644
--- a/cmake_modules/ThirdpartyToolchain.cmake
+++ b/cmake_modules/ThirdpartyToolchain.cmake
@@ -133,7 +133,7 @@ else ()
endif ()
ExternalProject_Add (zlib_ep
- URL "http://zlib.net/fossils/zlib-${ZLIB_VERSION}.tar.gz"
+ URL "https://zlib.net/fossils/zlib-${ZLIB_VERSION}.tar.gz"
CMAKE_ARGS ${ZLIB_CMAKE_ARGS}
${THIRDPARTY_LOG_OPTIONS}
BUILD_BYPRODUCTS "${ZLIB_STATIC_LIB}")
@@ -276,7 +276,7 @@ endif ()
if (WIN32)
SET(CURRENT_TZDATA_FILE "")
SET(CURRENT_TZDATA_SHA512 "")
- File(DOWNLOAD "http://ftp.osuosl.org/pub/cygwin/noarch/release/tzdata/sha512.sum" ${CMAKE_CURRENT_BINARY_DIR}/sha512.sum)
+ File(DOWNLOAD "https://ftp.osuosl.org/pub/cygwin/noarch/release/tzdata/sha512.sum" ${CMAKE_CURRENT_BINARY_DIR}/sha512.sum)
File(READ ${CMAKE_CURRENT_BINARY_DIR}/sha512.sum TZDATA_SHA512_CONTENT)
string(REPLACE "\n" ";" TZDATA_SHA512_LINE ${TZDATA_SHA512_CONTENT})
foreach (LINE IN LISTS TZDATA_SHA512_LINE)
@@ -293,7 +293,7 @@ if (WIN32)
if (NOT "${CURRENT_TZDATA_FILE}" STREQUAL "")
ExternalProject_Add(tzdata_ep
- URL "ftp://cygwin.osuosl.org/pub/cygwin/noarch/release/tzdata/${CURRENT_TZDATA_FILE}"
+ URL "https://cygwin.osuosl.org/noarch/release/tzdata/${CURRENT_TZDATA_FILE}"
URL_HASH SHA512=${CURRENT_TZDATA_SHA512}
CONFIGURE_COMMAND ""
BUILD_COMMAND ""