/etc/portage/license_groups

From Gentoo Wiki
< /etc‎ | portage
Jump to:navigation Jump to:search


/etc/portage/license_groups is a file containing groups of licenses that may be specified in the ACCEPT_LICENSE variable. Refer to GLEP 23 for further information.

Format

  • Comments begin with # (no inline comments).
  • One group name, followed by list of licenses and nested groups.
  • Nested groups are prefixed with the @ symbol.

Example

FILE /etc/portage/license_groupsLicense groups example
# The FSF-APPROVED group includes the entire GPL-COMPATIBLE group and more.
FSF-APPROVED @GPL-COMPATIBLE Apache-1.1 BSD-4 MPL-1.0 MPL-1.1
# The GPL-COMPATIBLE group includes all licenses compatible with the GNU GPL.
GPL-COMPATIBLE Apache-2.0 BSD BSD-2 GPL-2 GPL-3 LGPL-2.1 LGPL-3 X11 ZLIB