From: Remi Gacogne Date: Fri, 14 Feb 2025 15:51:37 +0000 (+0100) Subject: Rust moved to XZ compression X-Git-Tag: dnsdist-1.9.9~5^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F15182%2Fhead;p=thirdparty%2Fpdns.git Rust moved to XZ compression (cherry picked from commit 2b152da3e752858406189f5a360d967e8bdd816f) --- diff --git a/builder-support/helpers/install_rust.sh b/builder-support/helpers/install_rust.sh index bd1b4ade19..10d29dc5d3 100755 --- a/builder-support/helpers/install_rust.sh +++ b/builder-support/helpers/install_rust.sh @@ -14,7 +14,7 @@ if [ $# -ge 1 ]; then fi SITE=https://downloads.powerdns.com/rust -RUST_TARBALL=$RUST_VERSION.tar.gz +RUST_TARBALL=$RUST_VERSION.tar.xz SHA256SUM_x86_64=$(jq -r .SHA256SUM_x86_64 < rust.json) SHA256SUM_aarch64=$(jq -r .SHA256SUM_aarch64 < rust.json) @@ -41,7 +41,8 @@ echo $0: Expecting hash $VALUE curl -f -o $RUST_TARBALL $SITE/$RUST_TARBALL # Line below should echo two spaces between digest and name echo $VALUE" "$RUST_TARBALL | sha256sum -c - -tar -zxf $RUST_TARBALL +rm -rf $RUST_VERSION +tar -Jxf $RUST_TARBALL cd $RUST_VERSION ./install.sh --prefix=/usr cd ..