rust: update nightly distfiles

The previous nightly builds are not available anymore.
Use a date based download location for the nightly tarballs.
This commit is contained in:
Jürgen Buchmüller 2017-10-28 17:28:59 +02:00 committed by Leаh Neukirchen
parent e40b621f79
commit 3f6feb8b91

View file

@ -2,6 +2,7 @@
pkgname=rust
version=1.21.0
revision=1
_date=2017-10-28
# NB. if you push any(!) new version, don't forget to put a build
# output of musl to https://repo.voidlinux.eu/distfiles/
wrksrc="rustc-${version}-src"
@ -36,22 +37,22 @@ x86_64)
distfiles+="
https://static.rust-lang.org/dist/2017-08-31/rustc-1.20.0-x86_64-unknown-linux-gnu.tar.gz
https://static.rust-lang.org/dist/2017-08-31/rust-std-1.20.0-x86_64-unknown-linux-gnu.tar.gz
https://s3.amazonaws.com/rust-lang-ci/cargo-builds/6b05583d71f982bcad049b9fa094c637c062e751/cargo-nightly-x86_64-unknown-linux-gnu.tar.gz"
https://static.rust-lang.org/dist/${_date}/cargo-nightly-x86_64-unknown-linux-gnu.tar.xz"
checksum+="
000e776431718a32b5d40c4aa6e09b3425f0b71dea8c95e718d29b8c0f5b35d3
a1b3e13b9d6f9aa713783145cb83070b1dabbe17349043b3528031d7712ca929
d9e69d2b87dc0cf7fafe0e0eb64f82fe3414ef14fcb27f5eeff34df860e459d9"
28e5aae4c7f928ab41a438bcf75842480da4103c8c1eb686a07460d6b2fb74d9"
;;
i686)
# extract from src/stage0.txt
distfiles+="
https://static.rust-lang.org/dist/2017-08-31/rustc-1.20.0-i686-unknown-linux-gnu.tar.gz
https://static.rust-lang.org/dist/2017-08-31/rust-std-1.20.0-i686-unknown-linux-gnu.tar.gz
https://s3.amazonaws.com/rust-lang-ci/cargo-builds/6b05583d71f982bcad049b9fa094c637c062e751/cargo-nightly-i686-unknown-linux-gnu.tar.gz"
https://static.rust-lang.org/dist/${_date}/cargo-nightly-i686-unknown-linux-gnu.tar.xz"
checksum+="
f8ee3a910df757b071472146f7c9ed70b0990f20e7a623cf16c8ada4f6e4e620
f18fbdc7217f9b014a823c7308407ef30610ebf32f76d879bfa3e3f6937079df
863a4f92bbeec76257403fd571a90b90bd759ec8bcaddb7517fb89d40959e9e5"
a3876e72e8424508d764375928bad386c06959d3b8fc9249fb90b578adc15d80"
;;
esac