Support for Gentoolkit
Clean obsolete portage sources
Return a dict containing the cleaned, saved, and deprecated dists:
{'cleaned': {<dist file>: <size>},
'deprecated': {<package>: <dist file>},
'saved': {<package>: <dist file>},
'total_cleaned': <size>}
Clean obsolete binary packages
Return a dict containing the cleaned binary packages:
{'cleaned': {<dist file>: <size>},
'total_cleaned': <size>}
List the status of Gentoo Linux Security Advisories
Returns a dict containing glsa ids with a description, status, and CVEs:
{<glsa id>: {'description': <glsa description>,
'status': <glsa status>,
'CVEs': [<list of CVEs>]}}
CLI Example:
salt '*' gentoolkit.glsa_check_list 'affected'
Fix up broken reverse dependencies
CLI Example:
salt '*' gentoolkit.revdep_rebuild