From 8575425140e5c899115d3de7d9586ef0baba6f5b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 16 Oct 2024 10:41:37 +0000 Subject: [PATCH 1/2] chore(deps): update dependency libressl/portable to v4 --- .github/actions/install-dependencies/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/install-dependencies/action.yml b/.github/actions/install-dependencies/action.yml index 4634e84..7c9b4c2 100644 --- a/.github/actions/install-dependencies/action.yml +++ b/.github/actions/install-dependencies/action.yml @@ -36,7 +36,7 @@ runs: # renovate: datasource=github-tags depName=nanodbc/nanodbc NANODBC_VERSION: v2.14.0 # renovate: datasource=github-releases depName=libressl/portable - LIBRESSL_VERSION: v3.9.2 + LIBRESSL_VERSION: v4.0.0 - name: Install libada shell: bash From 1b1c718c876ca15fd69be2481d47bb65c30a3d7d Mon Sep 17 00:00:00 2001 From: Volodymyr Kolesnykov Date: Wed, 16 Oct 2024 13:53:20 +0300 Subject: [PATCH 2/2] build: update libressl URL --- .devcontainer/Dockerfile | 2 +- .github/actions/install-dependencies/action.yml | 2 +- .github/renovate.json | 2 +- src/CMakeLists.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 374c9d1..2f4e97a 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -65,7 +65,7 @@ RUN \ cmake --install build RUN \ - wget -q -O - https://github.com/libressl/portable/releases/download/${LIBRESSL_VERSION}/libressl-${LIBRESSL_VERSION#v}.tar.gz | tar xzf - && \ + wget -q -O - "https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${LIBRESSL_VERSION#v}.tar.gz" | tar xzf - && \ cd libressl-* && \ cmake -B build -DCMAKE_BUILD_TYPE=Release -DLIBRESSL_APPS=OFF -DLIBRESSL_TESTS=OFF && \ cmake --build build && \ diff --git a/.github/actions/install-dependencies/action.yml b/.github/actions/install-dependencies/action.yml index 7c9b4c2..7b04719 100644 --- a/.github/actions/install-dependencies/action.yml +++ b/.github/actions/install-dependencies/action.yml @@ -68,7 +68,7 @@ runs: - name: Install libressl shell: bash run: | - wget -q -O - https://github.com/libressl/portable/releases/download/${LIBRESSL_VERSION}/libressl-${LIBRESSL_VERSION#v}.tar.gz | tar xzf - + wget -q -O - https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${LIBRESSL_VERSION#v}.tar.gz | tar xzf - cd libressl-* cmake -B build -DCMAKE_BUILD_TYPE=MinSizeRel -DBUILD_SHARED_LIBS=OFF -DLIBRESSL_APPS=OFF -DLIBRESSL_TESTS=OFF -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache cmake --build build diff --git a/.github/renovate.json b/.github/renovate.json index 5d3f84a..71aad4d 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -8,7 +8,7 @@ "customType": "regex", "fileMatch": ["^Dockerfile$"], "matchStrings": [ - "# renovate: datasource=(?.*?) depName=(?.*?)( versioning=(?.*?))?( registryUrl=(?.*?))?\\sENV\\s+.*?_VERSION=(?.*)\\s" + "# renovate: datasource=(?.*?) depName=(?.*?)( versioning=(?.*?))?( registryUrl=(?.*?))?\\s+ENV\\s+.*?_VERSION=(?.*)\\s" ], "versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}" }, diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c713be0..bbcc168 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -145,7 +145,7 @@ if(NOT LibreSSL_FOUND) set(LIBRESSL_APPS OFF) set(LIBRESSL_TESTS OFF) set(BUILD_SHARED_LIBS OFF) - FetchContent_Declare(libressl URL https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.9.2.tar.gz) + FetchContent_Declare(libressl URL https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-4.0.0.tar.gz) FetchContent_MakeAvailable(libressl) add_library(LibreSSL::Crypto ALIAS crypto) add_library(LibreSSL::SSL ALIAS ssl)