aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-11-28 10:00:40 +0100
committerGöktürk Yüksek <gokturk@gentoo.org>2018-12-19 23:55:14 -0500
commit0f723044723689a7b05777cb8044558769c3d388 (patch)
treecd8741806cc77d8ab5c20a70a484ff6f30f9a6d2 /general-concepts
parentgeneral-concepts/licenses: make it clear that multiple can be listed (diff)
downloaddevmanual-0f723044723689a7b05777cb8044558769c3d388.tar.gz
devmanual-0f723044723689a7b05777cb8044558769c3d388.tar.bz2
devmanual-0f723044723689a7b05777cb8044558769c3d388.zip
general-concepts/licenses: Explain which licenses go into LICENSE
Explain which licenses go into LICENSE and which don't Signed-off-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: Göktürk Yüksek <gokturk@gentoo.org>
Diffstat (limited to 'general-concepts')
-rw-r--r--general-concepts/licenses/text.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/general-concepts/licenses/text.xml b/general-concepts/licenses/text.xml
index 4c4ce62..093fd9e 100644
--- a/general-concepts/licenses/text.xml
+++ b/general-concepts/licenses/text.xml
@@ -11,6 +11,26 @@ match files existing in the repository's <c>licenses/</c> directory.
</p>
<p>
+The value of this variable should include all licenses pertaining
+to the files installed by the package. If some parts of the package
+are installed only conditionally, or their license depends on the USE
+flag combination, you can use USE conditionals in <c>LICENSE</c>:
+</p>
+
+<codesample lang="ebuild">
+LICENSE="LGPL-2.1+ tools? ( GPL-2+ )"
+</codesample>
+
+<p>
+If the package sources include additional files that are not installed,
+their license should not be listed. However, if those files are used
+at build time, then the license must not impose any restrictions that
+could prevent users from building the software. Please also note
+that some licenses may impose additional restrictons, e.g. fetch
+and/or mirroring restriction.
+</p>
+
+<p>
If the application is multi-license (either of several licenses can
be used) then use the following syntax:
</p>