Gentoo Archives: gentoo-dev

From: Sebastian Pipping <webmaster@××××××××.org>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Gentoo-specific PackageMap stuff
Date: Fri, 12 Jun 2009 08:05:35
Message-Id: 4A320C48.2040502@hartwork.org
1 Related to my previous mail 'Inviting you to project "PackageMap"'
2 (blog post version at <http://blog.hartwork.org/?p=373>)
3
4
5 # Clone repo
6 git clone git://git.goodpoint.de/packagemap.git
7 cd packagemap
8
9 # Prepape CPE database
10 ( cd nvd && ./download-nvdcve.sh && ./extract-cpe.sh )
11
12 # Create packagemap file from/for single ebuild (audacious here)
13 ( cd code/gentoo && ./ebuild-to-packagemap.sh \
14 /usr/portage/media-sound/audacious/audacious-2.0.1.ebuild )
15
16 # Create packagemap for anything left unmapped in the tree
17 ( cd code/gentoo && ./gentoo-world-to-packagemap.sh )
18
19
20 Result is a large collection of packagemap candidate files
21 with extra iunfo like CPE candidates listed in the XML comments.
22 The main job is to come up with good CPE names.
23
24 Enough packagemap from me now, now I want your feedback :-)
25
26
27
28 Sebastian