public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/cargo-audit/
Date: Sat, 01 Mar 2025 12:04:10 +0000 (UTC)	[thread overview]
Message-ID: <1740830645.0233b670aae3a545ba78c0a122aca4371d64a731.arthurzam@gentoo> (raw)

commit:     0233b670aae3a545ba78c0a122aca4371d64a731
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  1 12:03:45 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Mar  1 12:04:05 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0233b670

dev-util/cargo-audit: add 0.21.2

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-util/cargo-audit/Manifest                  |  2 +
 dev-util/cargo-audit/cargo-audit-0.21.2.ebuild | 54 ++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/dev-util/cargo-audit/Manifest b/dev-util/cargo-audit/Manifest
index 19e5e5b42b1b..bebbb150a922 100644
--- a/dev-util/cargo-audit/Manifest
+++ b/dev-util/cargo-audit/Manifest
@@ -42,6 +42,7 @@ DIST canonical-path-2.0.2.crate 5536 BLAKE2B 63de79c5f5ce832c6c4db05c812a9f2dacd
 DIST cargo-audit-0.21.0.tar.gz 1066205 BLAKE2B 8012299296f7cd54e100328f6e1aac1554b929c53f714c8d3ab41b64fdd46741780f07098d311851441c250845b3a3df9a3f547f0aa51f496648caa2a770f618 SHA512 63ef59d04e0dce11431f23892e93679f33c63e11556fb106845cd7dc1b34cf46a967b01e9dabc30942c83f300be028fc5129a6765523a8bef2462992b5a95c1f
 DIST cargo-audit-0.21.1-crates.tar.xz 25023216 BLAKE2B 191a4c733755c408d212530754298fbdf4c6fc87b3776361fe36570967bb39711f64251249b55b8a334b6106279e9a6c765d24daea414dc891bf140ad5f71336 SHA512 103f1dae07a994b6ca373d50a8b7a6787ceea638875ad33f6b11aabb69be35b9f5a5b9b7c8f6a155ab8572caa0a981769e30325ad958ffee09e63bb2fa8bfb7f
 DIST cargo-audit-0.21.1.tar.gz 1070976 BLAKE2B 2349195d099cdfa235df7ba081a4d8ce22f95c0b57b5236bda00349f73f3ced7ac03c8178e21e959a9512694cb735847f4f9d758166adc22cabbbc6a40c81f2e SHA512 7c18a3e9d243b60cb41980de60b5c446d45fad4a0240f06cd88d6d809ad606fd603af06c8cebc02d4b6e502412112318aea3ff2ae839907d5ba3bd9af6454d36
+DIST cargo-audit-0.21.2.tar.gz 1071525 BLAKE2B 258275e71b101f603f7770d2fdbe8b467e99f0c8dacd527bdd0de91785ee403b0775b48002579b35b8309331d0f0aa7885cd78aad5579915d119f131b5fe9c36 SHA512 2e7dd4b44d4f9542606d353e1fdbddc3ff7a8a8da75b6731d8fa4b4bd1dfbe86040894cc4ee76061a326fd018bff1c6aaf42c0782ac6d24692f2019be37bd1c2
 DIST cc-1.1.31.crate 84637 BLAKE2B 80b95666f87f80f20efc53aacb132db32900132a58995411e95fdb043e65467ac3c84ac905d13206524d9666563486ab594a09df1fe86035ec3e5542f78a6f5e SHA512 fbc42db9e908d69fe2dac18605e057f3187ccca067ee0e9f0c271b6b9dd213f0bce1a1e32f073bc012d2ea756878929f506775076d453593a14accc5f9a159ea
 DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff
 DIST cfg_aliases-0.2.1.crate 6355 BLAKE2B a758d9c88527f0e6e7cfd6d4c83eda1bcb4d6e2438189fe08e8ecbcaa78d56afc5a4873f3b82bf7da96afd690b44cdf1e44466b6da0f37c358b340481017103e SHA512 74969d12d5d24002a29e08d52e30fbce014dd481a7c35ee0162e69333c5f2d7755f3b02439b31522e12444cf1ac8e65880ce33fe6778dac03757e362cbf8a72c
@@ -244,6 +245,7 @@ DIST rustls-native-certs-0.8.0.crate 32185 BLAKE2B 8660c48e818329639885fafbb35dd
 DIST rustls-pemfile-2.2.0.crate 25849 BLAKE2B dfb94a77fe9d86b17b0c6badc6b715f247e9aaf0b312bc9698dbe8d38fff281428ceaec2ec73bef8009667dd93536dda2bc7e7c49d194b36244dca38dd86d577 SHA512 1e69f0b72c6060eb0a54ec8a1cb51809525b053771a1d417892205f8f5dbcf4ba45250fc0d6a836e0cc8fede06d934f0a90c47d475cd8e066dcb3f7504ddaf17
 DIST rustls-pki-types-1.10.0.crate 55134 BLAKE2B e61e78231bb48b6b249e3b1fa6a6edde4479c4b263ad78f78fcb78982d4fadae7c67ac08077b9b0ec32d0f0d527e12f3ecf456ba11f9740854f0cedeeb881d82 SHA512 8a5c51acfb97cef6e9aa2516b3a2a07f6fd37884b7597bdf81e16bd6ad7512fe45f0b95f4635963fd6e74c0aa79fefed1c3f1a9e1fbf7ab78477302fc333743c
 DIST rustls-webpki-0.102.8.crate 204327 BLAKE2B 8db832f181b46bdecc419e1433dd5550bc181cbffa1961aa90b2533f92696ebe15d71d742225bf806e2dc3a4ebb110d48bf62b0677089df1eede6d5a072c0a28 SHA512 8cdd5d07bb8d6c3f0d1d6663babc3b7ccbe8c9b1463870a3dd095c67f46addf4097a715da796c70f1891ebc1d045ae7d7c3a352400e8bfd6687e6cddfd33b1ba
+DIST rustsec-cargo-audit-v0.21.2-crates.tar.xz 25115408 BLAKE2B 50dad43e88e74068439c53cf8d620e19086a81eff06d92d94627c9c997804049c68ce6285ac0c0af4bd7e98bac60bee0345036dc9c4a160c8bafae5ed6f30d25 SHA512 db8349b84e82d5db6a745566287f4978fa131f48f7df06b0f64da59560f2c1497189df0ca1e07fc04238de778dcfedffc359437033cecd3cf6a8f9e8ed6582f3
 DIST ryu-1.0.18.crate 47713 BLAKE2B 409cdf4b4e77685394018371e91ad6fdb175ac57e1df9f902871f13208515e5a2ab1daa226fc1e7291278e64448332845be4cc9409bce3b2f3daed409259e104 SHA512 a9b2beac778ec47e6be303148d7512ee681bd2361f6e4ac6db32c8b4baf86a8c5eb5b0d02eacd6131ae88c7b5105c57018c3050676e0b3dd1ed9c4d2fd650e84
 DIST same-file-1.0.6.crate 10183 BLAKE2B a320c8343e0b38078ba81c4f0159d886bf47764c74efe0d7cd2b3218426e8341b51e523c00a9e5fbc2ee1057618296bd70b576c68751bd55d6ddb352defaca15 SHA512 3ba35309742c8db63210d9ea78bff4ecd80471d69e6238eb96c7bf0673814f221e2d838fe6311bfc5a0e71b4a7ccba33e07859c0b9cff2171969ff08a4214a7c
 DIST schannel-0.1.26.crate 42791 BLAKE2B 7066c414a30de1ffcf5badb24410371765ac3e6ab94f41892a0587495d8920c3b3809a2d7c4e0fb452f03b904062e114a3eb50b619f910a302aabc45af17db03 SHA512 6db6182cc076df820d44aa0bea24f96013e3f1a581bf9416d84e59e33dbd98a3a5d39a7aca9ae162cf109f1501a0edac683a3a95361bf9107780b2a280e82323

diff --git a/dev-util/cargo-audit/cargo-audit-0.21.2.ebuild b/dev-util/cargo-audit/cargo-audit-0.21.2.ebuild
new file mode 100644
index 000000000000..e1dedfbdb253
--- /dev/null
+++ b/dev-util/cargo-audit/cargo-audit-0.21.2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 2024-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CRATES=""
+inherit cargo
+
+DESCRIPTION="Audit Cargo.lock for crates with security vulnerabilities"
+HOMEPAGE="https://rustsec.org https://github.com/rustsec/rustsec"
+SRC_URI="https://github.com/rustsec/rustsec/archive/refs/tags/${PN}/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://github.com/gentoo-crate-dist/rustsec/releases/download/${PN}%2Fv${PV}/rustsec-${PN}-v${PV}-crates.tar.xz"
+S=${WORKDIR}/rustsec-${PN}-v${PV}
+
+LICENSE="|| ( Apache-2.0 MIT )"
+# Dependent crate licenses
+LICENSE+="
+	Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC MIT MPL-2.0
+	Unicode-3.0 Unicode-DFS-2016
+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64"
+IUSE="fix"
+
+# requires checkout of vuln db/network
+PROPERTIES="test_network"
+RESTRICT="test"
+
+RDEPEND="dev-libs/openssl:="
+DEPEND="${RDEPEND}"
+
+QA_FLAGS_IGNORED="usr/bin/${PN}"
+
+src_configure() {
+	local myfeatures=(
+		$(usev fix)
+	)
+
+	cargo_src_configure
+}
+
+src_compile() {
+	# normally we can pass --bin cargo-audit
+	# to build single workspace member, but we need to cd
+	# for tests to be discovered properly
+	cd cargo-audit || die
+	cargo_src_compile
+}
+
+src_install() {
+	cargo_src_install --path cargo-audit
+	local DOCS=( cargo-audit/{README.md,audit.toml.example} )
+	einstalldocs
+}


             reply	other threads:[~2025-03-01 12:04 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-01 12:04 Arthur Zamarin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-01 12:04 [gentoo-commits] repo/gentoo:master commit in: dev-util/cargo-audit/ Arthur Zamarin
2025-01-25 12:31 Arthur Zamarin
2025-01-25 12:26 Arthur Zamarin
2024-11-08 20:44 Arthur Zamarin
2024-11-08 20:44 Arthur Zamarin
2024-09-13 20:06 Arthur Zamarin
2024-01-31 13:56 Matt Turner
2023-06-27  6:43 Sam James
2022-09-29 20:54 Georgy Yakovlev
2022-09-29 20:54 Georgy Yakovlev
2022-09-19  7:25 Georgy Yakovlev
2022-06-24 18:16 Georgy Yakovlev
2022-06-24 18:11 Georgy Yakovlev
2022-06-24 18:11 Georgy Yakovlev
2022-06-24 18:11 Georgy Yakovlev
2021-10-07 16:42 Georgy Yakovlev
2021-10-07 16:42 Georgy Yakovlev
2021-07-03  7:03 Georgy Yakovlev
2021-07-03  7:03 Georgy Yakovlev
2021-05-01 12:22 Georgy Yakovlev
2021-04-11  1:57 Thomas Deutschmann
2020-10-27  8:17 Georgy Yakovlev
2020-10-25 18:58 Georgy Yakovlev
2020-10-25  9:35 Georgy Yakovlev
2020-10-25  5:01 Georgy Yakovlev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1740830645.0233b670aae3a545ba78c0a122aca4371d64a731.arthurzam@gentoo \
    --to=arthurzam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox