aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-09-08 19:43:56 +0200
committerGöktürk Yüksek <gokturk@gentoo.org>2019-10-16 14:48:36 -0400
commit6e513443da0103b0c849449af124e1cd7173f412 (patch)
treebd06104cd6e4660dfc260a5ed85e055e459a5fd6 /general-concepts
parentgeneral-concepts/dependencies: Fix ranged dependencies example (diff)
downloaddevmanual-6e513443da0103b0c849449af124e1cd7173f412.tar.gz
devmanual-6e513443da0103b0c849449af124e1cd7173f412.tar.bz2
devmanual-6e513443da0103b0c849449af124e1cd7173f412.zip
general-concepts/licenses: all-rights-reserved default, restricts
Add a paragraph on applicable restrictions per license terms. Also clearly indicate that sources with no license are all-rights-reserved. Acked-by: Michael Orlitzky <mjo@gentoo.org> 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.xml22
1 files changed, 19 insertions, 3 deletions
diff --git a/general-concepts/licenses/text.xml b/general-concepts/licenses/text.xml
index 86ffc8d..f7e904e 100644
--- a/general-concepts/licenses/text.xml
+++ b/general-concepts/licenses/text.xml
@@ -25,9 +25,7 @@ LICENSE="LGPL-2.1+ tools? ( GPL-2+ )"
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.
+could prevent users from building the software.
</p>
<p>
@@ -39,6 +37,16 @@ be used) then use the following syntax:
LICENSE="|| ( foo bar )"
</codesample>
+<p>
+If the license of a package does not explicitly permit redistributing
+distfiles found in <c>SRC_URI</c>, the corresponding ebuilds must have
+<c>RESTRICT=mirror</c>. If the license does not permit distributing
+Gentoo binary packages built from the source, the ebuilds should have
+<c>RESTRICT=bindist</c>. Some EULAs may also require the user to fetch
+distfiles manually, in which case <c>RESTRICT=fetch</c> is necessary.
+Note that <c>RESTRICT=fetch</c> implies <c>RESTRICT=mirror</c>.
+</p>
+
<section>
<title>Determining the correct license</title>
<body>
@@ -82,6 +90,14 @@ versions are specified elsewhere.
</p>
<p>
+If the package does not indicate any license, then you should contact
+the author for clarification. Adding packages with no explicit license
+statement is strongly discouraged. If they are present already, they
+ought to have <c>all-rights-reserved</c> license,
+and <c>RESTRICT="bindist mirror"</c>.
+</p>
+
+<p>
Please watch for license conflicts. If the license indicated
by the package is incompatible with the licenses used by its sources
(e.g. BSD/MIT package including GPL sources), please contact