diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-11-09 08:26:46 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-11-09 08:26:46 +0000 |
commit | d0b6d783aeb42b4972efba9f06e3a74e3a68295e (patch) | |
tree | 0086fdd24053305007874b4806f252ecd6308379 /packaging | |
parent | Adding upstream version 1.47.2. (diff) | |
download | netdata-d0b6d783aeb42b4972efba9f06e3a74e3a68295e.tar.xz netdata-d0b6d783aeb42b4972efba9f06e3a74e3a68295e.zip |
Adding upstream version 1.47.5.upstream/1.47.5
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'packaging')
-rwxr-xr-x | packaging/installer/netdata-updater.sh | 10 | ||||
-rw-r--r-- | packaging/makeself/bundled-packages.version | 4 | ||||
-rw-r--r-- | packaging/version | 2 |
3 files changed, 10 insertions, 6 deletions
diff --git a/packaging/installer/netdata-updater.sh b/packaging/installer/netdata-updater.sh index fc8b39cd..5ebb6baa 100755 --- a/packaging/installer/netdata-updater.sh +++ b/packaging/installer/netdata-updater.sh @@ -532,6 +532,8 @@ get_netdata_latest_tag() { newer_commit_date() { info "Checking if a newer version of the updater script is available." + ndtmpdir="$(create_tmp_directory)" + commit_check_file="${ndtmpdir}/latest-commit.json" commit_check_url="https://api.github.com/repos/netdata/netdata/commits?path=packaging%2Finstaller%2Fnetdata-updater.sh&page=1&per_page=1" python_version_check=" from __future__ import print_function @@ -545,12 +547,14 @@ else: print(data[0]['commit']['committer']['date'] if isinstance(data, list) and data else '') " + _safe_download "${commit_check_url}" "${commit_check_file}" + if command -v jq > /dev/null 2>&1; then - commit_date="$(_safe_download "${commit_check_url}" /dev/stdout | jq '.[0].commit.committer.date' 2>/dev/null | tr -d '"')" + commit_date="$(jq '.[0].commit.committer.date' 2>/dev/null < "${commit_check_file}" | tr -d '"')" elif command -v python > /dev/null 2>&1;then - commit_date="$(_safe_download "${commit_check_url}" /dev/stdout | python -c "${python_version_check}")" + commit_date="$(python -c "${python_version_check}" < "${commit_check_file}")" elif command -v python3 > /dev/null 2>&1;then - commit_date="$(_safe_download "${commit_check_url}" /dev/stdout | python3 -c "${python_version_check}")" + commit_date="$(python3 -c "${python_version_check}" < "${commit_check_file}")" fi if [ -z "${commit_date}" ] ; then diff --git a/packaging/makeself/bundled-packages.version b/packaging/makeself/bundled-packages.version index 02ee4469..b19ad3c3 100644 --- a/packaging/makeself/bundled-packages.version +++ b/packaging/makeself/bundled-packages.version @@ -1,9 +1,9 @@ # Source of truth for all the packages we bundle in static builds PACKAGES=("OPENSSL" "CURL" "BASH" "IOPING" "LIBNETFILTER_ACT") SOURCE_TYPES=("GH_REPO_CLONE" "GH_REPO_CLONE" "DW_TARBALL" "GH_REPO_SOURCE" "DW_TARBALL") -OPENSSL_VERSION="openssl-3.1.4" +OPENSSL_VERSION="openssl-3.3.2" OPENSSL_SOURCE="https://github.com/openssl/openssl" -CURL_VERSION="curl-8_4_0" +CURL_VERSION="curl-8_10_1" CURL_SOURCE="https://github.com/curl/curl" BASH_VERSION="5.1.16" BASH_ARTIFACT_SOURCE="http://ftp.gnu.org/gnu/bash" diff --git a/packaging/version b/packaging/version index 7fa3401a..3ea09128 100644 --- a/packaging/version +++ b/packaging/version @@ -1 +1 @@ -v1.47.2 +v1.47.5 |