From 1a78b20556297ea315789d07b03f8f950f32f361 Mon Sep 17 00:00:00 2001 From: WXbet <57314510+WXbet@users.noreply.github.com> Date: Sat, 18 Dec 2021 23:13:58 +0100 Subject: [PATCH] s3.TUP Update OpenSSL download links again less agressive filter --- support/configs/plugin_update_toolchain.config.template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/support/configs/plugin_update_toolchain.config.template b/support/configs/plugin_update_toolchain.config.template index 0ba5e8d..7adfad1 100644 --- a/support/configs/plugin_update_toolchain.config.template +++ b/support/configs/plugin_update_toolchain.config.template @@ -1,6 +1,6 @@ # List of setup, build and config commands below. All commands are executed in the context of the current user. # Pay attention to the SEMICOLON at the end of EACH command and the correct quoting (' or ") for or to avoid expansion of variables. -S3TUP_CONFIG_VERSION="38"; +S3TUP_CONFIG_VERSION="39"; # Tokens that are replaced automatically: # @CTNGSOURCE@ crosstool-NG source folder; support/crosstool/crosstool-ng @@ -76,9 +76,9 @@ LIBS_AUTO_INTEGRATE="1"; # Automatically reintegrate libraries when rebuilding t SSL_300="1"; SSL_300_beta="0"; SSL_300_name="OpenSSL"; -SSL_300_version="$(curl --silent "https://api.github.com/repos/openssl/openssl/tags?page=1&per_page=100" | jq '[.[] | select(.name|test("openssl-3.0.0.*"))][0] | .name' | sed -e 's#openssl-##g; s#_#.#g; s#\"##g')"; +SSL_300_version="$(curl --silent "https://api.github.com/repos/openssl/openssl/tags?page=1&per_page=100" | jq '[.[] | select(.name|test("openssl-3.*"))][0] | .name' | sed -e 's#openssl-##g; s#_#.#g; s#\"##g')"; SSL_300_check="openssl.pc $(printf "$SSL_300_version" | grep -Eo '[0-9]+\.[0-9]+\.[0-9]+')"; -SSL_300_url="$(curl --silent "https://api.github.com/repos/openssl/openssl/tags?page=1&per_page=100" | jq '[.[] | select(.name|test("openssl-3.0.0.*"))][0] | .tarball_url' | sed -e 's#\"##g')"; +SSL_300_url="$(curl --silent "https://api.github.com/repos/openssl/openssl/tags?page=1&per_page=100" | jq '[.[] | select(.name|test("openssl-3.*"))][0] | .tarball_url' | sed -e 's#\"##g')"; SSL_300_tasks=('export TOOLCHAIN=@TOOLCHAIN@;'); SSL_300_tasks+=('export PATH="$TOOLCHAIN/bin:$PATH";'); SSL_300_tasks+=('[ -n "@CFLAGS@" ] && export CFLAGS="@CFLAGS@";');