User Configuration

These files are found in the CONFIG_DIR (as displayed by portmod <prefix> info). This is typically one of the following locations, depending on your platform.

Linux

~/.config/portmod/<prefix>

Windows

C:\Documents and Settings\<User>\Application Data\Local Settings\portmod\portmod\<prefix> or C:\Documents and Settings\<User>\Application Data\portmod\portmod\<prefix>

package.accept_license

The file {CONFIG_DIR}/package.accept_license can be used to allow the installation of packages with a license which is not accepted using the global ACCEPT_LICENSE setting.

package.accept_keywords

The file {CONFIG_DIR}/package.accept_keywords can be used to configure the visibility of packages via their Keywords.

package.mask

The file {CONFIG_DIR}/package.mask can be used to prevent certain packages from being installed.

package.use

The file {CONFIG_DIR}/package.use can be used to configure Use Flags for individual packages or package versions.

portmod.conf

The {CONFIG_DIR}/portmod.conf file is used for configuring Portmod’s global options.

profile

The profile symlink points to the first directory of your Profile.

profile.user

The user profile directory can be used to customize your Profile. This is recommended only for advanced users.

repos.cfg

The repos.cfg file in the portmod config directory (See portmod.conf) can be used to specify the various repositories that Portmod pulls information from.

sets

You can create your own Sets by adding set files to the sets directory in the CONFIG_DIR. A set file is a file where the filename (no file extension) corresponds to the set name, and the contents are a newline-separated list of mod atoms. Set files can also include comments (lines starting with #).