diff --git a/testing/prometheus-wireguard-exporter/APKBUILD b/testing/prometheus-wireguard-exporter/APKBUILD index 38e472e0ebe4ae435afef29a2458c4fe3aa65587..5d3beb6204f1757ef1a991a350563eaa529e13c3 100644 --- a/testing/prometheus-wireguard-exporter/APKBUILD +++ b/testing/prometheus-wireguard-exporter/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: pkgname=prometheus-wireguard-exporter pkgver=3.2.1 -pkgrel=2 +pkgrel=3 pkgdesc="A Prometheus exporter for WireGuard, written in Rust" url="https://github.com/MindFlavor/prometheus_wireguard_exporter" arch="all !s390x !ppc64le !mips !mips64 !riscv64" #Crypto is broken (https://github.com/briansmith/ring/issues/389) @@ -16,15 +16,15 @@ options="net" builddir="$srcdir"/prometheus_wireguard_exporter-"$pkgver" build() { - cargo build --release + cargo build --release --locked } check() { - cargo test --release + cargo test --release --locked } package() { - cargo install --path . --root="$pkgdir"/usr + cargo install --locked --path . --root="$pkgdir"/usr rm -f "$pkgdir"/usr/.crates2.json rm -f "$pkgdir"/usr/.crates.toml