pkgcheck.checks.glsa module

class pkgcheck.checks.glsa.GlsaCheck(*args)[source]

Bases: GentooRepoCheck

Scan for vulnerable ebuilds in the tree.

Requires a GLSA directory for vulnerability info.

feed(pkg)[source]

Handle functionality against the passed in item.

known_results = frozenset({<class 'pkgcheck.checks.glsa.VulnerablePackage'>})
static mangle_argparser(parser)[source]

Add extra options and/or groups to the argparser.

This hook is always triggered, even if the checker is not activated (because it runs before the commandline is parsed).

Parameters:

parser – an C{argparse.ArgumentParser} instance.

scope = <PackageScope desc='version' @0x7f4ee7e995d0>
class pkgcheck.checks.glsa.VulnerablePackage(arches, glsa, **kwargs)[source]

Bases: VersionResult, Error

Packages marked as vulnerable by GLSAs.

property desc

Result description.

name = 'VulnerablePackage'