mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
community/cargo-audit: enable fix
command
This commit is contained in:
parent
0db4e98658
commit
295dc1cb68
@ -2,17 +2,18 @@
|
||||
# Maintainer: kpcyrd <git@rxv.cc>
|
||||
pkgname=cargo-audit
|
||||
pkgver=0.17.5
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Audit Cargo.lock for crates with security vulnerabilities"
|
||||
url="https://github.com/RustSec/rustsec"
|
||||
arch="all"
|
||||
# s390x, ppc64le, riscv64: blocked by ring crate
|
||||
arch="all !s390x !ppc64le !riscv64"
|
||||
license="MIT OR Apache-2.0"
|
||||
makedepends="cargo libgit2-dev openssl-dev>3"
|
||||
subpackages="$pkgname-doc"
|
||||
options="net"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/RustSec/cargo-audit/archive/cargo-audit/v$pkgver.tar.gz"
|
||||
builddir="$srcdir/rustsec-$pkgname-v$pkgver/$pkgname"
|
||||
options="!check" # requires running binaries prebuilt against glibc as part of the tests and fails
|
||||
options="net !check" # requires running binaries prebuilt against glibc as part of the tests and fails
|
||||
|
||||
|
||||
case "$CARCH" in
|
||||
@ -29,7 +30,7 @@ prepare() {
|
||||
}
|
||||
|
||||
build() {
|
||||
cargo build --release --frozen
|
||||
cargo build --release --frozen --features fix
|
||||
}
|
||||
|
||||
check() {
|
||||
|
Loading…
Reference in New Issue
Block a user