diff options
| author | Alexander Kaspar <alexander.kaspar@gmail.com> | 2016-12-02 10:12:57 +0100 |
|---|---|---|
| committer | Alexander Kaspar <alexander.kaspar@gmail.com> | 2016-12-02 10:12:57 +0100 |
| commit | 13b0c034ecfc78c683d1924334370f5cfcbeab71 (patch) | |
| tree | 635d25d9875378dfafee903c7328693630a9920e | |
| parent | 279f6d5830ea3f47b2f09695b6113d84083c2674 (diff) | |
| download | vcpkg-13b0c034ecfc78c683d1924334370f5cfcbeab71.tar.gz vcpkg-13b0c034ecfc78c683d1924334370f5cfcbeab71.zip | |
[qca] downloading cacerts from curl homepage, because used version is very outdated.
| -rw-r--r-- | ports/qca/portfile.cmake | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/ports/qca/portfile.cmake b/ports/qca/portfile.cmake index bdb5ac153..dc360af87 100644 --- a/ports/qca/portfile.cmake +++ b/ports/qca/portfile.cmake @@ -48,13 +48,18 @@ vcpkg_apply_patches( PATCHES ${CMAKE_CURRENT_LIST_DIR}/0001-fix-path-for-vcpkg.patch ) -# Importing local certificates +# According to: +# https://www.openssl.org/docs/faq.html#USER16 +# it is up to developers or admins to maintain CAs. +# So we do it here: +# Importing certificates from curl maintainers +# See: https://curl.haxx.se/docs/caextract.html message(STATUS "Importing certstore") file(REMOVE ${SOURCE_PATH}/certs/rootcerts.pem) -vcpkg_execute_required_process( - COMMAND "& ${CMAKE_CURRENT_LIST_DIR}/import-local-certificates.ps1 -outpath ${SOURCE_PATH}/certs/" - WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR} - LOGNAME certimport +file(DOWNLOAD https://curl.haxx.se/ca/cacert.pem + ${SOURCE_PATH}/certs/rootcerts.pem + SHOW_PROGRESS + TLS_VERIFY ON ) message(STATUS "Importing certstore done") |
