Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 426716 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]
Patch for app-portage/gentoolkit-0.3.1
list_only_affected_atoms.diff (text/plain), 926 bytes, created by
Roland Hopferwieser
on 2016-02-27 00:07:15 UTC
(
hide
)
Description:
Patch for app-portage/gentoolkit-0.3.1
Filename:
MIME Type:
Creator:
Roland Hopferwieser
Created:
2016-02-27 00:07:15 UTC
Size:
926 bytes
patch
obsolete
>diff --git a/bin/glsa-check b/bin/glsa-check >index 46088d7..e120cbb 100755 >--- a/bin/glsa-check >+++ b/bin/glsa-check >@@ -240,11 +240,15 @@ def summarylist(myglsalist, fd1=sys.stdout, fd2=sys.stderr, encoding="utf-8"): > if len(myglsa.packages) > 3: > fd1.write("... ") > else: >- for pkg in myglsa.packages.keys(): >- mylist = vardb.match(portage.dep_getkey(str(pkg))) >+ for cpv in myglsa.packages.keys(): >+ pkg = myglsa.packages[cpv] >+ 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 + " ") >+ cpv = color(" ".join(mylist)) >+ fd1.write(" " + cpv + " ") > > fd1.write(")") > if list_cve:
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 400763
:
299869
| 426716