rust-cargo-audit: update to 0.17.4.
This commit is contained in:
parent
f5a2e60c3c
commit
7c0bbec01c
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'rust-cargo-audit'
|
# Template file for 'rust-cargo-audit'
|
||||||
pkgname=rust-cargo-audit
|
pkgname=rust-cargo-audit
|
||||||
version=0.13.1
|
version=0.17.4
|
||||||
revision=2
|
revision=1
|
||||||
build_style=cargo
|
build_style=cargo
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="openssl-devel libssh2-devel zlib-devel"
|
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>"
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||||
license="Apache-2.0, MIT"
|
license="Apache-2.0, MIT"
|
||||||
homepage="https://rustsec.org"
|
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"
|
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
|
if [ "$XBPS_TARGET_WORDSIZE" = "32" -a "$XBPS_TARGET_ENDIAN" = "be" ]; then
|
||||||
broken="smartstring crate does not build on 32-bit BE architectures"
|
broken="smartstring crate does not build on 32-bit BE architectures"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pre_build() {
|
|
||||||
# fixes an indexmap error when cross compiling
|
|
||||||
cargo update --package autocfg:1.0.1 --precise 1.1.0
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE-APACHE
|
vlicense LICENSE-APACHE
|
||||||
vlicense LICENSE-MIT
|
vlicense LICENSE-MIT
|
||||||
|
|
Loading…
Reference in New Issue