We apologise for misspelling 'licence' as 'license' throughout. This is done to match the ebuild variable 'LICENSE', whose name cannot be fixed for Gentoo-based distributions for historical reasons.
On Gentoo and derived distributions, the licenses.conf
file controls which licenses are and are not
accepted. It is a standard configuration file which may be a bash file (licenses.bash
) and which may use the
licenses.conf.d/
directory.
On Exherbo, the licences.conf
file controls which licences are and are not accepted. It is a standard
configuration file which may be a bash file (licences.bash
) and which may use the
licences.conf.d/
directory.
Each line in the file consists of a specification followed by one or more license symbols. A specification may be any of:
*/*
, which matches all packages. Nearly all users will have at least one
line using this specification.category/package
name.set
name.A license symbol can be any of:
license
, which accepts that license.-license
, which unaccepts that license.-*
, which unaccepts all licenses.*
, which accepts all licenses.Any token may be quoted using either single or double quotes.
License settings are cumulative. To only accept listed licenses for a given spec, include -*
in
the symbols list.
Most users will only want:
# Accept everything */* *