Skip to content

Commit 7f272da

Browse files
authored
cmake: add mirror for the openldap tarball (#194)
Ref: https://www.openldap.org/software/download/ Note: new releases may not be available on the mirrors. ``` CMake Error at openldap_external-stamp/download-openldap_external.cmake:163 (message): Each download failed! error: downloading 'https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-2.6.10.tgz' failed status_code: 28 status_string: "Timeout was reached" log: --- LOG BEGIN --- timeout on name lookup is not supported ``` Ref: https://github.com/curl/curl/actions/runs/17893469923/job/50876989019?pr=18660#step:4:1523
1 parent 98f2931 commit 7f272da

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,8 @@ endif()
195195

196196
# Install OpenLDAP
197197
set(OPENLDAP_VERSION 2.6.10)
198-
set(OPENLDAP_URL https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-${OPENLDAP_VERSION}.tgz)
198+
set(OPENLDAP_URL https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-${OPENLDAP_VERSION}.tgz
199+
https://mirror.koddos.net/OpenLDAP/openldap-release/openldap-${OPENLDAP_VERSION}.tgz)
199200
set(OPENLDAP_INSTALL_DIR ${CMAKE_BINARY_DIR}/openldap-install)
200201
set(OPENLDAP_STATIC_LIB_LDAP ${OPENLDAP_INSTALL_DIR}/lib/libldap.a)
201202
set(OPENLDAP_STATIC_LIB_LBER ${OPENLDAP_INSTALL_DIR}/lib/liblber.a)

0 commit comments

Comments
 (0)