GLEP 23 говорит
Most ebuilds are for software which is released under a single license. In these cases, the current LICENSE variable can remain as is. For example:
LICENSE="single-license"
However, there are several ebuilds for software which is released under several licenses, of which the user must accept one, some or all [2]. To complicate this, some ebuilds include optional components which fall under a different license.
To accomodate these cases, LICENSE syntax should accomodate all functionality offered by a DEPEND string. To keep things simple, this GLEP proposes that the syntax be identical. For example:
LICENSE="mandatory-license || ( choosable-licence1 chooseable-license-2 ) useflag? ( optional-component-license )"
License names may contain [a-zA-Z0-9] (english alphanumeric characters), _ (underscore), - (dash), . (dot) and + (plus sign).
Если я понял правильно то
- mandatory-license - обязательная(-ые). все должны быть в ACCEP_LICENSE для успешной установки
- choosable-licenceX - с возможностью выбора. хотя бы одна должна быть в ACCEP_LICENSE для успешной установки
- optional-component-license - опциональная(-ые). нужна если флаг установлен
но встречаются некоторые странные case`ы. например app-emulation/x48/x48-0.4.3-r1
LICENSE="|| ( ( GPL-2 free-noncomm ) GPL-2 )"
LICENSE="|| ( Artistic GPL-2 ) || ( BSD GPL-2 ) BZIP2 CRACKLIB DB
GPL-2 || ( GPL-2 AFL-2.1 ) LGPL-2 LGPL-2.1 GPL-3 LGPL-3
MIT MPL-1.1 OPENLDAP OpenSoftware openssl OracleDB ZLIB
tcp_wrappers_license as-is UoI-NCSA wxWinLL-3.1"
И если с последним все понятноего я бы «переписал» так
LICENSE="|| ( Artistic BSD AFL-2.1 ) BZIP2 CRACKLIB DB
GPL-2 LGPL-2 LGPL-2.1 GPL-3 LGPL-3
MIT MPL-1.1 OPENLDAP OpenSoftware openssl OracleDB ZLIB
tcp_wrappers_license as-is UoI-NCSA wxWinLL-3.1"