From 3a10acf3f35bfa0685b8fd5a64b0401bf82d511b Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 22 Feb 2025 00:16:33 +0530
Subject: [PATCH] cargo-deny: update to 0.18.2.

---
 srcpkgs/cargo-deny/template | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/cargo-deny/template b/srcpkgs/cargo-deny/template
index 8d6879b2a4f..664c218b4ad 100644
--- a/srcpkgs/cargo-deny/template
+++ b/srcpkgs/cargo-deny/template
@@ -1,8 +1,8 @@
 # Template file for 'cargo-deny'
 pkgname=cargo-deny
-version=0.16.3
+version=0.18.2
 revision=1
-_adv_commit="6ef1d1fd84c57e46253ff16bf7379c115e1062eb"
+_adv_commit="ddccfe8aced779f7b54d27bbe7e122ecb1dda33a"
 _test_adv_commit="1f44d565d81692a44b8c7af8a80f587e19757f8c"
 build_style=cargo
 configure_args="--no-default-features"
@@ -15,7 +15,7 @@ license="MIT, Apache-2.0"
 homepage="https://github.com/EmbarkStudios/cargo-deny"
 changelog="https://raw.githubusercontent.com/EmbarkStudios/cargo-deny/main/CHANGELOG.md"
 distfiles="https://github.com/EmbarkStudios/cargo-deny/archive/refs/tags/${version}.tar.gz"
-checksum=99f8906b6468ae309c5c7312f9ce1d7567300dcc43cd58228955dcc5522fcaff
+checksum=bb47741fada886c166e2a697a87fe93fca38ec083db489d404c73bcb0b9d7445
 
 if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then
 	broken="bitvec crate unimplemented for big endian"
@@ -32,12 +32,12 @@ pre_build() {
 pre_check() {
 	export PATH="/usr/libexec/chroot-git:${PATH}"
 
-	ADV_DB_DIR="tests/advisory-db/github.com-a946fc29ac602819"
+	ADV_DB_DIR="tests/advisory-db/advisory-db-3157b0e258782691"
 	rmdir $ADV_DB_DIR
 	git clone https://github.com/rustsec/advisory-db.git $ADV_DB_DIR
 	git -C $ADV_DB_DIR checkout ${_adv_commit}
 
-	TEST_ADV_DB_DIR="tests/advisory-db/github.com-c373669cccc50ac0"
+	TEST_ADV_DB_DIR="tests/advisory-db/test-advisory-db-c27873b782cceedc"
 	rmdir $TEST_ADV_DB_DIR
 	git clone https://github.com/EmbarkStudios/test-advisory-db.git $TEST_ADV_DB_DIR
 	git -C $TEST_ADV_DB_DIR checkout ${_test_adv_commit}