portage._sets.security module

class portage._sets.security.AffectedSet(settings, vardbapi, portdbapi, least_change=True)

Bases: portage._sets.security.SecuritySet

_load()
_operations = ['merge']
_reduce(atomlist)
_setAtoms(atoms)
_skip_applied = False
_updateAtomMap(atoms=None)

Update self._atommap for specific atoms or all atoms.

containsCPV(cpv)
description = 'Package set that includes all packages affected by an unapplied GLSA'
findAtomForPackage(pkg, modified_use=None)

Return the best match for a given package from the arguments, or None if there are no matches. This matches virtual arguments against the PROVIDE metadata. This can raise an InvalidDependString exception if an error occurs while parsing PROVIDE.

getAtoms()
getGlsaList(skip_applied)
getMetadata(key)
getNonAtoms()
iterAtomsForPackage(pkg)

Find all matching atoms for a given package. This matches virtual arguments against the PROVIDE metadata. This will raise an InvalidDependString exception if PROVIDE is invalid.

load()
classmethod singleBuilder(options, settings, trees)
supportsOperation(op)
updateAppliedList()
useGlsa(myglsa)
class portage._sets.security.NewAffectedSet(settings, vardbapi, portdbapi, least_change=True)

Bases: portage._sets.security.AffectedSet

_load()
_operations = ['merge']
_reduce(atomlist)
_setAtoms(atoms)
_skip_applied = True
_updateAtomMap(atoms=None)

Update self._atommap for specific atoms or all atoms.

containsCPV(cpv)
description = 'Package set that includes all packages affected by an unapplied GLSA'
findAtomForPackage(pkg, modified_use=None)

Return the best match for a given package from the arguments, or None if there are no matches. This matches virtual arguments against the PROVIDE metadata. This can raise an InvalidDependString exception if an error occurs while parsing PROVIDE.

getAtoms()
getGlsaList(skip_applied)
getMetadata(key)
getNonAtoms()
iterAtomsForPackage(pkg)

Find all matching atoms for a given package. This matches virtual arguments against the PROVIDE metadata. This will raise an InvalidDependString exception if PROVIDE is invalid.

load()
classmethod singleBuilder(options, settings, trees)
supportsOperation(op)
updateAppliedList()
useGlsa(myglsa)
class portage._sets.security.NewGlsaSet(settings, vardbapi, portdbapi, least_change=True)

Bases: portage._sets.security.SecuritySet

_load()
_operations = ['merge']
_reduce(atomlist)
_setAtoms(atoms)
_skip_applied = True
_updateAtomMap(atoms=None)

Update self._atommap for specific atoms or all atoms.

containsCPV(cpv)
description = 'Package set that includes all packages possibly affected by an unapplied GLSA'
findAtomForPackage(pkg, modified_use=None)

Return the best match for a given package from the arguments, or None if there are no matches. This matches virtual arguments against the PROVIDE metadata. This can raise an InvalidDependString exception if an error occurs while parsing PROVIDE.

getAtoms()
getGlsaList(skip_applied)
getMetadata(key)
getNonAtoms()
iterAtomsForPackage(pkg)

Find all matching atoms for a given package. This matches virtual arguments against the PROVIDE metadata. This will raise an InvalidDependString exception if PROVIDE is invalid.

load()
classmethod singleBuilder(options, settings, trees)
supportsOperation(op)
updateAppliedList()
useGlsa(myglsa)
class portage._sets.security.SecuritySet(settings, vardbapi, portdbapi, least_change=True)

Bases: portage._sets.base.PackageSet

_load()
_operations = ['merge']
_reduce(atomlist)
_setAtoms(atoms)
_skip_applied = False
_updateAtomMap(atoms=None)

Update self._atommap for specific atoms or all atoms.

containsCPV(cpv)
description = 'package set that includes all packages possibly affected by a GLSA'
findAtomForPackage(pkg, modified_use=None)

Return the best match for a given package from the arguments, or None if there are no matches. This matches virtual arguments against the PROVIDE metadata. This can raise an InvalidDependString exception if an error occurs while parsing PROVIDE.

getAtoms()
getGlsaList(skip_applied)
getMetadata(key)
getNonAtoms()
iterAtomsForPackage(pkg)

Find all matching atoms for a given package. This matches virtual arguments against the PROVIDE metadata. This will raise an InvalidDependString exception if PROVIDE is invalid.

load()
classmethod singleBuilder(options, settings, trees)
supportsOperation(op)
updateAppliedList()
useGlsa(myglsa)