Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 299869 Details for
Bug 400763
glsa-check list only affected versions
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Patch to list only affected atoms
list_only_affected_atoms.diff (text/plain), 732 bytes, created by
Roland Hopferwieser
on 2012-01-25 15:44:09 UTC
(
hide
)
Description:
Patch to list only affected atoms
Filename:
MIME Type:
Creator:
Roland Hopferwieser
Created:
2012-01-25 15:44:09 UTC
Size:
732 bytes
patch
obsolete
>--- /usr/bin/glsa-check 2012-01-11 14:04:16.000000000 +0100 >+++ glsa-check 2012-01-25 15:36:01.084535583 +0100 >@@ -240,8 +240,12 @@ > if len(myglsa.packages) > 3: > fd1.write("... ") > else: >- for pkg in myglsa.packages.keys(): >- mylist = vardb.match(portage.dep_getkey(str(pkg))) >+ for k in myglsa.packages.keys(): >+ pkg = myglsa.packages[k] >+ for path in pkg: >+ v_installed = reduce(operator.add, [match(v, "vartree") for v in path["vul_atoms"]], []) >+ u_installed = reduce(operator.add, [match(u, "vartree") for u in path["unaff_atoms"]], []) >+ mylist = list(set(v_installed).difference(set(u_installed))) > if len(mylist) > 0: > pkg = color(" ".join(mylist)) > fd1.write(" " + pkg + " ")
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 400763
:
299869
|
426716