/etc/portage/repos.conf

can be a file or directory of files that specifies site-specific repository configuration information.

Format

 * Comments begin with  (no inline comments)
 * Configuration of each repository is specified in a section starting with
 * Attributes are specified in  format

Examples
See Brother_networked_printer

For an exampe of as a file see man 5 portage

Listing repositories
To see a compact list of repositories, formatted for easy reading:

To see a detailed list of repositories, without any formatting:

Managing repositories from make.conf
The  environment variable has the same format as. Like the old  variable, it can be used to manage repositories from your  file.

First, create a basic file. This assumes you have repositories installed in.

Query the environment variable and redirect output to :

Delete the unwanted file:

The final step is to edit, setting the ,   and   variables as required. For local repositories that don't require syncing, set the sync- variables to empty, rather than commenting them out.

Adding squashfs support as a plug-in
Squashfs support was removed in portage-2.2.20. However, you can use the plug-in sync system to add squashfs support back in, as a plug-in:

External resources

 * news-items 2015-02-04 portage-sync-changes