Hi,
On 2022/11/10 11:40, Matthew Smith wrote:
Hi,
On 10/11/2022 08:43, Jaco Kroon wrote:
A mechanism to QUERY which installed packages are affected by known
GLSA's would also be tremendously helpful.
You can use glsa-check for this, which comes with portage:
https://wiki.gentoo.org/wiki/Portage#glsa-check
Very useful for human-readable, not so much for integration into other
systems :).
We currently parse a lot of that using things like awk etc ... but
thinking about it now, one could probably dig into the xml stuff
directly, so use glsa-check -l to get the list, then find the xml files
and query those using tools more suited for that.
Thank you :).
Kind Regards,
Jaco