This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch branch-1.7
in repository https://gitbox.apache.org/repos/asf/orc.git


The following commit(s) were added to refs/heads/branch-1.7 by this push:
     new 71c375c41 ORC-1213: [C++] Use `https` in `ThirdpartyToolchain.cmake`
71c375c41 is described below

commit 71c375c41b522ff857341655a055074065491d05
Author: David Black <[email protected]>
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 <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
    (cherry picked from commit 8028da98ae52e225c8b244a6ef4810ca2815cf19)
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 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 ""

Reply via email to