From cab45725e94c161f708eca4c1dfee3e9f465dad3 Mon Sep 17 00:00:00 2001 From: Eddie Carswell Date: Fri, 14 Nov 2025 16:52:38 +0000 Subject: [PATCH 1/2] Added bash 5.3 configuration Signed-off-by: Eddie Carswell --- version-53.sh | 11 +++++++++++ version.sh | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 version-53.sh diff --git a/version-53.sh b/version-53.sh new file mode 100644 index 0000000..bb73e2a --- /dev/null +++ b/version-53.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +bash_version="5.3" +bash_patch_level=3 +musl_version="1.2.5" +CFLAGS="-Wno-error=implicit-function-declaration" + +export bash_version +export bash_patch_level +export musl_version +export CFLAGS diff --git a/version.sh b/version.sh index daddfc7..67452e1 120000 --- a/version.sh +++ b/version.sh @@ -1 +1 @@ -version-52.sh \ No newline at end of file +version-53.sh \ No newline at end of file From 402e7c733eee8ac0da19f244d1e2d1ec2a520d56 Mon Sep 17 00:00:00 2001 From: Eddie Carswell Date: Fri, 14 Nov 2025 17:02:58 +0000 Subject: [PATCH 2/2] Make curl fail fast and emit errors on failed requests Supercedes: #56 Signed-off-by: Eddie Carswell --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index b4ae825..741f492 100755 --- a/build.sh +++ b/build.sh @@ -35,9 +35,9 @@ popd() { command popd >/dev/null; } # Only pull files that don't already exist mycurl() { (($# == 2)) || return - [[ -f ${1##*/} ]] || { echo "File: ${1##*/} | Url: ${1}" && curl -sLO "$1"; } + [[ -f ${1##*/} ]] || { echo "File: ${1##*/} | Url: ${1}" && curl -sSfLO "$1"; } [[ -f ${1##*/}.${2} || ${NO_SIGS:-} ]] || { - echo "File: ${1##*/}.${2} | Url: ${1}.${2}" && curl -sLO "${1}.${2}" + echo "File: ${1##*/}.${2} | Url: ${1}.${2}" && curl -sSfLO "${1}.${2}" gpg --trust-model always --verify "${1##*/}.${2}" "${1##*/}" 2>/dev/null } }