24 lines
855 B
Bash
24 lines
855 B
Bash
# Template file for 'rust-cargo-audit'
|
|
pkgname=rust-cargo-audit
|
|
version=0.17.6
|
|
revision=3
|
|
build_style=cargo
|
|
configure_args="--features=fix"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="openssl-devel libssh2-devel zlib-devel"
|
|
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=d7c04d2178b9ff56e0d4500d10d72d3a5d8156c2d6b6fc193e28a524dadde5c5
|
|
|
|
if [ "$XBPS_TARGET_WORDSIZE" = "32" -a "$XBPS_TARGET_ENDIAN" = "be" ]; then
|
|
broken="smartstring crate does not build on 32-bit BE architectures"
|
|
fi
|
|
|
|
post_install() {
|
|
vlicense LICENSE-APACHE
|
|
vlicense LICENSE-MIT
|
|
}
|