rust-cargo-audit: update to 0.17.4.

This commit is contained in:
Jan Christian Grünhage 2022-11-14 10:47:34 +01:00 committed by Michal Vasilek
parent f5a2e60c3c
commit 7c0bbec01c
1 changed files with 4 additions and 8 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'rust-cargo-audit'
pkgname=rust-cargo-audit
version=0.13.1
revision=2
version=0.17.4
revision=1
build_style=cargo
hostmakedepends="pkg-config"
makedepends="openssl-devel libssh2-devel zlib-devel"
@ -9,18 +9,14 @@ short_desc="Audit Cargo.lock for crates with security vulnerabilities"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="Apache-2.0, MIT"
homepage="https://rustsec.org"
changelog="https://github.com/rustsec/rustsec/raw/main/cargo-audit/CHANGELOG.md"
distfiles="https://static.crates.io/crates/cargo-audit/cargo-audit-${version}.crate"
checksum=5c04240c97606ef511e5df2e26eb8c7c30031d015613c1f01c59068b50da7df2
checksum=d081c816d0ad00c75527ea30e1bb10d5ac15a741b945c23a56acde67bb04a7c9
if [ "$XBPS_TARGET_WORDSIZE" = "32" -a "$XBPS_TARGET_ENDIAN" = "be" ]; then
broken="smartstring crate does not build on 32-bit BE architectures"
fi
pre_build() {
# fixes an indexmap error when cross compiling
cargo update --package autocfg:1.0.1 --precise 1.1.0
}
post_install() {
vlicense LICENSE-APACHE
vlicense LICENSE-MIT