From 27439fb72f5b4e6c59469df0a5919a6a157fc882 Mon Sep 17 00:00:00 2001 From: Christian Sarre Date: Mon, 22 May 2023 10:29:24 +0000 Subject: [PATCH 1/4] Possible fix for "missing" OpenSSL libraries. --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 20773ee..3b5dd47 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -105,7 +105,7 @@ build-x86_64-linux-musl: # Statically build ffsend - export OPENSSL_STATIC=1 - - export OPENSSL_LIB_DIR=/usr/local/lib + - export OPENSSL_LIB_DIR=/usr/local/lib64 - export OPENSSL_INCLUDE_DIR=/usr/local/include - cargo build --target=$RUST_TARGET --release --verbose From 2c9d60d5c193084710af1c9f600705274ed89684 Mon Sep 17 00:00:00 2001 From: Christian Sarre Date: Mon, 22 May 2023 12:01:09 +0000 Subject: [PATCH 2/4] Change image to "rust:slim-bookworm" - continuation for previous commit. --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3b5dd47..66a9a7b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,7 +5,7 @@ # - export a build artifact from the new job # - manually upload artifact to GitHub in the 'github-release' job -image: "rust:slim" +image: "rust:slim-bookworm" stages: - check From c87845770de6d6f76d8a52a51b8ad63e195cbb90 Mon Sep 17 00:00:00 2001 From: Christian Sarre Date: Thu, 11 Jul 2024 11:21:50 +0300 Subject: [PATCH 3/4] Update OpenSSL to 3.0.14. --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 66a9a7b..fb6fab2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -95,9 +95,9 @@ build-x86_64-linux-musl: # Build OpenSSL statically - apt-get install -y build-essential wget musl-tools - - wget https://www.openssl.org/source/old/1.1.1/openssl-1.1.1k.tar.gz - - tar xzvf openssl-1.1.1k.tar.gz - - cd openssl-1.1.1k + - wget https://www.openssl.org/source/openssl-3.0.14.tar.gz + - tar xzvf openssl-3.0.14.tar.gz + - cd openssl-3.0.14 - ./config no-async -fPIC --openssldir=/usr/local/ssl --prefix=/usr/local - make - make install From 0e7884d13a1560e6fb9c03c2c898046cef808d81 Mon Sep 17 00:00:00 2001 From: Christian Sarre Date: Tue, 17 Sep 2024 13:18:55 +0300 Subject: [PATCH 4/4] Update OpenSSL to version 3.0.15. --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fb6fab2..d30bd35 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -95,9 +95,9 @@ build-x86_64-linux-musl: # Build OpenSSL statically - apt-get install -y build-essential wget musl-tools - - wget https://www.openssl.org/source/openssl-3.0.14.tar.gz - - tar xzvf openssl-3.0.14.tar.gz - - cd openssl-3.0.14 + - wget https://github.com/openssl/openssl/releases/download/openssl-3.0.15/openssl-3.0.15.tar.gz + - tar xzvf openssl-3.0.15.tar.gz + - cd openssl-3.0.15 - ./config no-async -fPIC --openssldir=/usr/local/ssl --prefix=/usr/local - make - make install