Hello,

it is probably good idea to learn not to fail when libressl site is down
(I'll work on that).

as a fast fix, let us switch to mirror.

Ilya
From 283f9b790071f5333f00792f883f470f12b7933c Mon Sep 17 00:00:00 2001
From: Ilia Shipitsin <[email protected]>
Date: Wed, 26 Apr 2023 12:15:11 +0200
Subject: [PATCH 2/2] BUILD: ssl: switch LibreSSL to Fastly CDN

OpenBSD ftp is down, let us switch to CDN
---
 scripts/build-ssl.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/build-ssl.sh b/scripts/build-ssl.sh
index 4360adf34..a1935dd1e 100755
--- a/scripts/build-ssl.sh
+++ b/scripts/build-ssl.sh
@@ -59,7 +59,7 @@ build_openssl () {
 download_libressl () {
     if [ ! -f "download-cache/libressl-${LIBRESSL_VERSION}.tar.gz" ]; then
         wget -P download-cache/ \
-           
"https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${LIBRESSL_VERSION}.tar.gz";
+           
"https://cdn.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${LIBRESSL_VERSION}.tar.gz";
     fi
 }
 
-- 
2.39.2.windows.1

From d48b80838c22bdb1ad799cd14d6e8635428bffd5 Mon Sep 17 00:00:00 2001
From: Ilia Shipitsin <[email protected]>
Date: Wed, 26 Apr 2023 12:12:54 +0200
Subject: [PATCH 1/2] CI: switch to Fastly CDN to download LibreSSL

OpenBSD ftp is down, let us switch to mirror
---
 .github/matrix.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/matrix.py b/.github/matrix.py
index a0e90bc2d..a2a02e968 100755
--- a/.github/matrix.py
+++ b/.github/matrix.py
@@ -51,7 +51,7 @@ def determine_latest_openssl(ssl):
 @functools.lru_cache(5)
 def determine_latest_libressl(ssl):
     libressl_download_list = urllib.request.urlopen(
-        "http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/";
+        "https://cdn.openbsd.org/pub/OpenBSD/LibreSSL/";
     )
     for line in libressl_download_list.readlines():
         decoded_line = line.decode("utf-8")
-- 
2.39.2.windows.1

Reply via email to