Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 32803

Summary: GLSA updates
Product: Portage Development Reporter: Marius Mauch (RETIRED) <genone>
Component: CoreAssignee: Portage team <dev-portage>
Status: VERIFIED LATER    
Severity: enhancement CC: aliz, basic, klieber, m.debruijne, rajiv, solar
Priority: High Keywords: Inclusion
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.gentoo.org/proj/en/glep/glep-0014.html
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 5835    
Attachments: base class to handle GLSAs, contains the backend code
tool to use glsa.py
rewritten glsa class for the new DTD
revised tool for the rewritten glsa class

Description Marius Mauch (RETIRED) gentoo-dev 2003-11-05 09:42:40 UTC
I think it's time to release the GLSA update tool to users.
It should be kept as an external tool for some time, so that bugs in it don't
affect other portage functions. When it's better tested I'll write patches to integrate it into emerge itself.
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2003-11-05 09:45:11 UTC
Created attachment 20291 [details]
base class to handle GLSAs, contains the backend code

This class contains all the xml parsing code, it's currently designed to
interface with emerge and portageq, that will be changed to internal portage
calls later.
I suggest it's put in the same directory as portage.py
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2003-11-05 09:53:02 UTC
Created attachment 20292 [details]
tool to use glsa.py

This script is the user interface to glsa.py, it should be in
/usr/lib/portage/bin/ . Its functionality will later go into emerge.
Comment 3 Frido Ferdinand 2003-11-05 14:17:43 UTC
Any chance that you could post a glsa.conf file, or should the defaults just
work ? I did a wget on http://www.gentoo.org/security/en/glsa/glsa-200310-03.xml?passthru=1
and placed it in /usr/portage/glsa/. Anything else I need to test this ?
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2003-11-05 14:26:37 UTC
The defaults should work, I don't use a glsa.conf myself. If you have a GLSA
in /usr/portage/glsa it should be used (the HTTP/FTP stuff is not completely
implemented).
Comment 5 Marius Mauch (RETIRED) gentoo-dev 2003-12-21 20:00:34 UTC
Created attachment 22530 [details]
rewritten glsa class for the new DTD
Comment 6 Marius Mauch (RETIRED) gentoo-dev 2003-12-21 20:01:14 UTC
Created attachment 22531 [details]
revised tool for the rewritten glsa class
Comment 7 Marius Mauch (RETIRED) gentoo-dev 2003-12-21 20:03:09 UTC
ok, this is the brand new code for the new DTD from Swift. It's also changed 
to interface with portage directly (no more calls to portageq) and uses the
standard portage config way to get variables (so no glsa.conf, just add the 
things to make.conf if you want to override the defaults).
Comment 8 Marius Mauch (RETIRED) gentoo-dev 2003-12-22 01:50:24 UTC
I'll stop posting new attachments here, the latest versions are in CVS in
gentoo-projects/gentoo-security/GLSA/user-tools
Comment 9 Jason Stubbs (RETIRED) gentoo-dev 2005-07-28 07:25:09 UTC
Putting a hold on feature requests for portage as they are drowning out the 
bugs. Most of these features should be available in the next major version of 
portage. But for the time being, they are just drowning out the major bugs and 
delaying the next version's progress. 
 
Any bugs that contain patches and any bugs for etc-update or dispatch-conf can 
be reopened. Sorry, I'm just not good enough with bugzilla. ;) 
Comment 10 Marius Mauch (RETIRED) gentoo-dev 2007-01-11 12:30:18 UTC
Fixed for a long time.