commit:     6e513443da0103b0c849449af124e1cd7173f412
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Sep  8 17:43:56 2019 +0000
Commit:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Wed Oct 16 18:48:36 2019 +0000
URL:        https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=6e513443

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 <AT> gentoo.org>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
Signed-off-by: Göktürk Yüksek <gokturk <AT> gentoo.org>

 general-concepts/licenses/text.xml | 22 +++++++++++++++++++---
 1 file 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>
@@ -81,6 +89,14 @@ of applicable licenses but the exact application of licenses 
and their
 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

Reply via email to