# salt.modules.gentoolkitmod

Support for Gentoolkit

`salt.modules.gentoolkitmod.` `eclean_dist`(destructive=False, package_names=False, size_limit=0, time_limit=0, fetch_restricted=False, exclude_file='/etc/eclean/distfiles.exclude')

  Clean obsolete portage sources

  destructive
    Only keep minimum for reinstallation
  package_names
    Protect all versions of installed packages. Only meaningful if used with destructive=True
  size_limit <size>
    Don't delete distfiles bigger than <size>. <size> is a size specification: "10M" is "ten megabytes", "200K" is "two hundreds kilobytes", etc. Units are: G, M, K and B.
  time_limit <time>
    Don't delete distfiles files modified since <time> <time> is an amount of time: "1y" is "one year", "2w" is "two weeks", etc. Units are: y (years), m (months), w (weeks), d (days) and h (hours).
  fetch_restricted
    Protect fetch-restricted files. Only meaningful if used with destructive=True
  exclude_file
    Path to exclusion file. Default is /etc/eclean/distfiles.exclude This is the same default eclean-dist uses. Use None if this file exists and you want to ignore.

  Returns a dict containing the cleaned, saved, and deprecated dists:

      {'cleaned': {<dist file>: <size>},
       'deprecated': {<package>: <dist file>},
       'saved': {<package>: <dist file>},
       'total_cleaned': <size>}

  CLI Example:

      salt '*' gentoolkit.eclean_dist destructive=True

`salt.modules.gentoolkitmod.` `eclean_pkg`(destructive=False, package_names=False, time_limit=0, exclude_file='/etc/eclean/packages.exclude')

  Clean obsolete binary packages

  destructive
    Only keep minimum for reinstallation
  package_names
    Protect all versions of installed packages. Only meaningful if used with destructive=True
  time_limit <time>
    Don't delete distfiles files modified since <time> <time> is an amount of time: "1y" is "one year", "2w" is "two weeks", etc. Units are: y (years), m (months), w (weeks), d (days) and h (hours).
  exclude_file
    Path to exclusion file. Default is /etc/eclean/packages.exclude This is the same default eclean-pkg uses. Use None if this file exists and you want to ignore.

  Returns a dict containing the cleaned binary packages:

      {'cleaned': {<dist file>: <size>},
       'total_cleaned': <size>}

  CLI Example:

      salt '*' gentoolkit.eclean_pkg destructive=True

`salt.modules.gentoolkitmod.` `glsa_check_list`(glsa_list)

  List the status of Gentoo Linux Security Advisories

  glsa_list
    can contain an arbitrary number of GLSA ids, filenames containing GLSAs or the special identifiers 'all' and 'affected'

  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'

`salt.modules.gentoolkitmod.` `revdep_rebuild`(lib=None)

  Fix up broken reverse dependencies

  lib
    Search for reverse dependencies for a particular library rather than every library on the system. It can be a full path to a library or basic regular expression.

  CLI Example:

      salt '*' gentoolkit.revdep_rebuild

Current Salt release: 0.17.1

#### Previous topic

salt.modules.gentoo_service

#### Next topic

salt.modules.git

### Quick search

Enter search terms or a module, class or function name.

### Upcoming SaltStack Events

My conferences on Lanyrd