diff --git a/srcpkgs/rust-cargo-audit/template b/srcpkgs/rust-cargo-audit/template index 908fb77a7c..a90a763636 100644 --- a/srcpkgs/rust-cargo-audit/template +++ b/srcpkgs/rust-cargo-audit/template @@ -1,7 +1,7 @@ # Template file for 'rust-cargo-audit' pkgname=rust-cargo-audit version=0.11.2 -revision=1 +revision=2 wrksrc="${pkgname/rust-/}-${version}" build_style=cargo hostmakedepends="pkg-config" @@ -13,6 +13,10 @@ homepage="https://rustsec.org" distfiles="https://static.crates.io/crates/cargo-audit/cargo-audit-${version}.crate" checksum=c5a18158b613c72145473977a158ae16e30784f49fff8f360c330b44721ff207 +pre_build() { + cargo update --package openssl-sys --precise 0.9.58 +} + post_install() { vlicense LICENSE-APACHE vlicense LICENSE-MIT