commit:     f034ac4a678a6da8d854f82a52d4fe523bf6cb8f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 29 02:37:14 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 30 20:35:00 2022 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=f034ac4a

cnf: sets: add @rust-rebuild set

Rust is statically linked like Go and this is useful for us
to mention in GLSAs (and possibly dev-lang/rust{,-bin}'s pkg_postinst).

Bug: https://bugs.gentoo.org/827974
Bug: https://bugs.gentoo.org/865115
Signed-off-by: Sam James <sam <AT> gentoo.org>
Closes: https://github.com/gentoo/portage/pull/915
Signed-off-by: Sam James <sam <AT> gentoo.org>

 cnf/sets/portage.conf | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/cnf/sets/portage.conf b/cnf/sets/portage.conf
index 3738f147d..2e02f91f9 100644
--- a/cnf/sets/portage.conf
+++ b/cnf/sets/portage.conf
@@ -115,3 +115,9 @@ class = portage.sets.dbapi.ChangedDepsSet
 class = portage.sets.dbapi.VariableSet
 variable = BDEPEND
 includes = dev-lang/go
+
+# Installed packages for which vdb *DEPEND includes virtual/rust
+[rust-rebuild]
+class = portage.sets.dbapi.VariableSet
+variable = BDEPEND
+includes = virtual/rust

Reply via email to