Gentoo Archives: gentoo-hardened

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] SELinux Gentoo profiles (the /usr/portage/profiles kind)
Date: Thu, 28 Apr 2011 12:10:58
Message-Id: 4DB958F7.8000605@gentoo.org
In Reply to: Re: [gentoo-hardened] SELinux Gentoo profiles (the /usr/portage/profiles kind) by Chris Richards
1 On 04/27/2011 04:24 PM, Chris Richards wrote:
2
3 >
4 > I'm looking into writing a little tool that will help facilitate this,
5 > giving us a 'profile explorer' that would enable use to see what a given
6 > profile looks like without having to actually switch to it and then do
7 > 'emerge --info'. Kindof like a DOM explorer, but for Gentoo profiles.
8 >
9
10 #!/usr/bin/env python
11
12 import portage
13 for p in portage.settings.profiles:
14 print p
15
16
17 --
18 Anthony G. Basile, Ph.D.
19 Gentoo Linux Developer [Hardened]
20 E-Mail : blueness@g.o
21 GnuPG FP : 8040 5A4D 8709 21B1 1A88 33CE 979C AF40 D045 5535
22 GnuPG ID : D0455535