Gentoo Archives: gentoo-security

From: Steven G Davis <sgdavis@×××××××.com>
To: gentoo-security@l.g.o
Subject: Re: [gentoo-security] Kernels and GLSAs
Date: Tue, 20 Sep 2005 13:22:16
Message-Id: 43300BD7.4020607@bioneos.com
In Reply to: Re: [gentoo-security] Kernels and GLSAs by Marius Mauch
1 Marius Mauch wrote:
2 > On Tue, 20 Sep 2005 07:16:36 -0500
3 > "Brian G. Peterson" <brian@×××××××××.com> wrote:
4 >
5 >>I subscribe to the GLSA RSS feed, and scan that feed manually against
6 >>my installed software list. The glsa-check tool is basically useless
7 >>(as of gentoolkit-0.2.1_pre7), as it shows all GLSAs rather than just
8 >>GLSAs for tools that correspond to packages installed on the system
9 >>it is run on.
10 >
11 > Can you explain this a bit more? glsa-check hasn't actually changed for
12 > a long time. Also make sure you don't confuse the --list option with
13 > the --test option.
14 >
15
16 I don't have any problems with the glsa-check program, I think you are
17 just forgetting to use the --test mode. I would have liked a way to get
18 the title of the program printed out along with the GLSA advisory #, so
19 I wrote a very simple shell script to do just that:
20
21 Steve
22
23 #! /bin/bash
24 # Script written by Steven Davis (sgdavis@×××××××.com)
25 # Created on: April 13, 2005
26 # Description: Very simple shell script that uses glsa-check
27 # in --test mode and then translates the GLSA # into an
28 # actual program title. It isn't perfect but it works,
29 # No warranty implied :)
30 #
31 for i in `glsa-check -t all`;
32 do
33 if [ -e /usr/portage/metadata/glsa/glsa-$i.xml ]
34 then
35 echo $i; cat /usr/portage/metadata/glsa/glsa-$i.xml | grep title;
36 fi
37 done
38 --
39 gentoo-security@g.o mailing list

Replies

Subject Author
Re: [gentoo-security] Kernels and GLSAs Tobias Sager <moixa@×××.ch>