Andrew Geissler | a2681d9 | 2020-10-16 10:17:07 -0500 | [diff] [blame] | 1 | From 5a5317044b0039e9e19aabcecb7b666a3f13e136 Mon Sep 17 00:00:00 2001 |
| 2 | From: Yi Zhao <yi.zhao@windriver.com> |
| 3 | Date: Thu, 10 Sep 2020 15:08:19 +0800 |
| 4 | Subject: [PATCH] cmake/LibreSSL.cmake: use libressl local source tarball |
| 5 | |
| 6 | Do not download libressl source during compile. |
| 7 | |
| 8 | Upstream-Status: Inappropriate [embedded specific] |
| 9 | |
| 10 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> |
| 11 | --- |
| 12 | cmake/LibreSSL.cmake | 4 +--- |
| 13 | 1 file changed, 1 insertion(+), 3 deletions(-) |
| 14 | |
| 15 | diff --git a/cmake/LibreSSL.cmake b/cmake/LibreSSL.cmake |
| 16 | index 57319e40..bab30129 100644 |
| 17 | --- a/cmake/LibreSSL.cmake |
| 18 | +++ b/cmake/LibreSSL.cmake |
| 19 | @@ -43,9 +43,7 @@ function(use_libre_ssl SOURCE_DIR BINARY_DIR) |
| 20 | |
| 21 | ExternalProject_Add( |
| 22 | libressl-portable |
| 23 | - URL https://cdn.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.8.3.tar.gz https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.8.3.tar.gz https://gentoo.osuosl.org/distfiles/libressl-2.8.3.tar.gz |
| 24 | - URL_HASH "SHA256=9b640b13047182761a99ce3e4f000be9687566e0828b4a72709e9e6a3ef98477" |
| 25 | - SOURCE_DIR "${BINARY_DIR}/thirdparty/libressl-src" |
| 26 | + SOURCE_DIR "${SOURCE_DIR}/thirdparty/libressl-2.8.3" |
| 27 | PATCH_COMMAND ${PATCH} |
| 28 | CMAKE_ARGS ${PASSTHROUGH_CMAKE_ARGS} |
| 29 | "-DCMAKE_INSTALL_PREFIX=${BINARY_DIR}/thirdparty/libressl-install" |
| 30 | -- |
| 31 | 2.17.1 |
| 32 | |