* [gentoo-commits] proj/devmanual:master commit in: general-concepts/licenses/
@ 2012-10-12 17:44 Ulrich Mueller
0 siblings, 0 replies; 19+ messages in thread
From: Ulrich Mueller @ 2012-10-12 17:44 UTC (permalink / raw
To: gentoo-commits
commit: b3d734e090a9f14e60202ec8bf776fadc3d72f04
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 5 12:44:23 2012 +0000
Commit: Ulrich Mueller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Oct 9 16:09:07 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/devmanual.git;a=commit;h=b3d734e0
Note that license file must be UTF-8 encoded.
See bug 390759.
---
general-concepts/licenses/text.xml | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/general-concepts/licenses/text.xml b/general-concepts/licenses/text.xml
index 45b94f7..c609db4 100644
--- a/general-concepts/licenses/text.xml
+++ b/general-concepts/licenses/text.xml
@@ -26,9 +26,9 @@ LICENSE="|| ( foo bar )"
<p>
If your package's license is not already in the tree, you must add the
license before committing the package. When adding the license, use a
-plain text file if at all possible. Some licenses are PDF files rather
-than plain text <d/> this should only be done if we are legally required
-to do so.
+plain text file (UTF-8 encoded) if at all possible. Some licenses are
+PDF files rather than plain text <d/> this should only be done if we
+are legally required to do so.
</p>
<p>
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] proj/devmanual:master commit in: general-concepts/licenses/
@ 2012-10-27 17:44 Markos Chandras
0 siblings, 0 replies; 19+ messages in thread
From: Markos Chandras @ 2012-10-27 17:44 UTC (permalink / raw
To: gentoo-commits
commit: e5bbab8b77bc314b3d6e33af2fc8bf2d010129ca
Author: Markos Chandras <hwoarang <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 27 17:44:26 2012 +0000
Commit: Markos Chandras <hwoarang <AT> gentoo <DOT> org>
CommitDate: Sat Oct 27 17:44:26 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/devmanual.git;a=commit;h=e5bbab8b
licenses: Add note about the licenses <AT> gentoo.org e-mail alias
---
general-concepts/licenses/text.xml | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/general-concepts/licenses/text.xml b/general-concepts/licenses/text.xml
index b37d095..07b7bdb 100644
--- a/general-concepts/licenses/text.xml
+++ b/general-concepts/licenses/text.xml
@@ -35,10 +35,10 @@ as listed in $PORTDIR/profiles/license_groups. For more information see the
</p>
<p>
-It is not normally necessary to mail the <c>gentoo-dev</c> list before
-adding a new license. You should only do so if the license could be
-considered 'questionable' or if you are unsure as to the meaning of
-any part of it.
+It is not normally necessary to mail the <c>gentoo-dev</c> list or
+<c>licenses@gentoo.org</c> before adding a new license. You should
+only do so if the license could be considered 'questionable' or if
+you are unsure as to the meaning of any part of it.
</p>
</body>
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] proj/devmanual:master commit in: general-concepts/licenses/
@ 2012-10-27 17:44 Markos Chandras
0 siblings, 0 replies; 19+ messages in thread
From: Markos Chandras @ 2012-10-27 17:44 UTC (permalink / raw
To: gentoo-commits
commit: 2b37a333cac4a3d033deb0caa2b6303e257c1544
Author: Markos Chandras <hwoarang <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 27 17:41:20 2012 +0000
Commit: Markos Chandras <hwoarang <AT> gentoo <DOT> org>
CommitDate: Sat Oct 27 17:41:20 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/devmanual.git;a=commit;h=2b37a333
licenses: Add note about license groups and glep42
---
general-concepts/licenses/text.xml | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/general-concepts/licenses/text.xml b/general-concepts/licenses/text.xml
index c609db4..b37d095 100644
--- a/general-concepts/licenses/text.xml
+++ b/general-concepts/licenses/text.xml
@@ -29,6 +29,9 @@ license before committing the package. When adding the license, use a
plain text file (UTF-8 encoded) if at all possible. Some licenses are
PDF files rather than plain text <d/> this should only be done if we
are legally required to do so.
+Finally you need to check if your license should be added to a license group
+as listed in $PORTDIR/profiles/license_groups. For more information see the
+<uri link="http://www.gentoo.org/proj/en/glep/glep-0042.html">GLEP 42</uri>
</p>
<p>
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] proj/devmanual:master commit in: general-concepts/licenses/
@ 2012-10-27 17:48 Markos Chandras
0 siblings, 0 replies; 19+ messages in thread
From: Markos Chandras @ 2012-10-27 17:48 UTC (permalink / raw
To: gentoo-commits
commit: 51d07a43e9b18f78a44e2f8991d96909e42de718
Author: Markos Chandras <hwoarang <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 27 17:48:19 2012 +0000
Commit: Markos Chandras <hwoarang <AT> gentoo <DOT> org>
CommitDate: Sat Oct 27 17:48:19 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/devmanual.git;a=commit;h=51d07a43
licenses: s/glep42/glep23/
---
general-concepts/licenses/text.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/general-concepts/licenses/text.xml b/general-concepts/licenses/text.xml
index 07b7bdb..f98f303 100644
--- a/general-concepts/licenses/text.xml
+++ b/general-concepts/licenses/text.xml
@@ -31,7 +31,7 @@ PDF files rather than plain text <d/> this should only be done if we
are legally required to do so.
Finally you need to check if your license should be added to a license group
as listed in $PORTDIR/profiles/license_groups. For more information see the
-<uri link="http://www.gentoo.org/proj/en/glep/glep-0042.html">GLEP 42</uri>
+<uri link="http://www.gentoo.org/proj/en/glep/glep-0023.html">GLEP 23</uri>
</p>
<p>
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] proj/devmanual:master commit in: general-concepts/licenses/
@ 2018-12-20 4:56 Göktürk Yüksek
0 siblings, 0 replies; 19+ messages in thread
From: Göktürk Yüksek @ 2018-12-20 4:56 UTC (permalink / raw
To: gentoo-commits
commit: 4aee878793ba33740866cc763f341db5531cbf09
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 28 09:23:45 2018 +0000
Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Thu Dec 20 04:55:30 2018 +0000
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=4aee8787
general-concepts/licenses: Warn about GPL-n+ etc.
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 | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/general-concepts/licenses/text.xml b/general-concepts/licenses/text.xml
index f1d5299..aa2ca74 100644
--- a/general-concepts/licenses/text.xml
+++ b/general-concepts/licenses/text.xml
@@ -86,6 +86,34 @@ to include license term violations.
</body>
</subsection>
+<subsection>
+<title>GPL-x vs GPL-x+</title>
+<body>
+
+<p>
+FSF licenses (GPL, LGPL, AGPL, FDL) occur in two variants: the 'vN only'
+and 'vN or later' variants. In Gentoo, the licenses of the latter variants
+are denoted by appending
+a plus sign (+) to their respective license notations of the former variant,
+e.g. <c>GPL-2+</c> and <c>GPL-2</c>.
+</p>
+
+<p>
+Determining the correct variant usually requires looking for copyright
+notices in the code. For example, the following copyright notice
+indicates <c>GPL-2+</c> license:
+</p>
+
+<pre>
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+</pre>
+
+</body>
+</subsection>
+
<subsection>
<title>Adding New Licenses</title>
<body>
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] proj/devmanual:master commit in: general-concepts/licenses/
@ 2018-12-20 4:56 Göktürk Yüksek
0 siblings, 0 replies; 19+ messages in thread
From: Göktürk Yüksek @ 2018-12-20 4:56 UTC (permalink / raw
To: gentoo-commits
commit: 94bf0f8865a91dfdf5b0a847f667f361b8e66b09
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 28 08:54:22 2018 +0000
Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Thu Dec 20 04:55:07 2018 +0000
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=94bf0f88
general-concepts/licenses: make it clear that multiple can be listed
The previous wording was kinda weird, suggesting the variable
is a filename, rather than dep-style. Reword it to make it clear that
multiple values can be used.
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 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/general-concepts/licenses/text.xml b/general-concepts/licenses/text.xml
index 612b1a6..4c4ce62 100644
--- a/general-concepts/licenses/text.xml
+++ b/general-concepts/licenses/text.xml
@@ -6,8 +6,8 @@
<body>
<p>
All ebuilds must specify a <c>LICENSE</c> (note the American English
-spelling) variable. The value of this variable must be the name of a
-file in the Gentoo repository's <c>licenses/</c> directory.
+spelling) variable. The license names listed in this variable must
+match files existing in the repository's <c>licenses/</c> directory.
</p>
<p>
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] proj/devmanual:master commit in: general-concepts/licenses/
@ 2018-12-20 4:56 Göktürk Yüksek
0 siblings, 0 replies; 19+ messages in thread
From: Göktürk Yüksek @ 2018-12-20 4:56 UTC (permalink / raw
To: gentoo-commits
commit: 0f723044723689a7b05777cb8044558769c3d388
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 28 09:00:40 2018 +0000
Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Thu Dec 20 04:55:14 2018 +0000
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=0f723044
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 <AT> gentoo.org>
Signed-off-by: Göktürk Yüksek <gokturk <AT> gentoo.org>
general-concepts/licenses/text.xml | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
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
@@ -10,6 +10,26 @@ spelling) variable. The license names listed in this variable must
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:
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] proj/devmanual:master commit in: general-concepts/licenses/
@ 2018-12-20 4:56 Göktürk Yüksek
0 siblings, 0 replies; 19+ messages in thread
From: Göktürk Yüksek @ 2018-12-20 4:56 UTC (permalink / raw
To: gentoo-commits
commit: 8ad5c097240eadd919146ffdab6c55ee6175f719
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 28 09:33:57 2018 +0000
Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Thu Dec 20 04:55:36 2018 +0000
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=8ad5c097
general-concepts/licenses: warn about GitHub license guesser
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 | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/general-concepts/licenses/text.xml b/general-concepts/licenses/text.xml
index aa2ca74..c647871 100644
--- a/general-concepts/licenses/text.xml
+++ b/general-concepts/licenses/text.xml
@@ -43,6 +43,12 @@ LICENSE="|| ( foo bar )"
<title>Determining the correct license</title>
<body>
+<warning>
+Do not trust the license indicated by GitHub or other sites that use
+automation to guess the license! The information presented may be
+incomplete and/or incorrect.
+</warning>
+
<p>
To establish the correct value of <c>LICENSE</c>, you need to trace
the licenses of all installed files. Normally, the licenses of output
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] proj/devmanual:master commit in: general-concepts/licenses/
@ 2018-12-20 4:56 Göktürk Yüksek
0 siblings, 0 replies; 19+ messages in thread
From: Göktürk Yüksek @ 2018-12-20 4:56 UTC (permalink / raw
To: gentoo-commits
commit: 2c4f7fcc5d3c0856660567aac7489a3a5f8c5343
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 28 09:16:31 2018 +0000
Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Thu Dec 20 04:55:21 2018 +0000
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=2c4f7fcc
general-concepts/licenses: Determining the license
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 | 47 ++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/general-concepts/licenses/text.xml b/general-concepts/licenses/text.xml
index 093fd9e..f1d5299 100644
--- a/general-concepts/licenses/text.xml
+++ b/general-concepts/licenses/text.xml
@@ -39,6 +39,53 @@ be used) then use the following syntax:
LICENSE="|| ( foo bar )"
</codesample>
+<subsection>
+<title>Determining the correct license</title>
+<body>
+
+<p>
+To establish the correct value of <c>LICENSE</c>, you need to trace
+the licenses of all installed files. Normally, the licenses of output
+files (compiled executables, generated files) are implied
+by the licenses of the relevant input files.
+</p>
+
+<p>
+When looking for license information, the following should be
+considered:
+</p>
+
+<ol>
+ <li>
+ <c>COPYING*</c> and <c>LICENSE*</c> files distributed with
+ the package
+ </li>
+ <li>
+ explicit statements in documentation
+ </li>
+ <li>
+ explicit license notices in source and data files
+ </li>
+</ol>
+
+<p>
+The latter (more specific) options take precedence over the former.
+In particular, <c>COPYING*</c> files are frequently included as hardcopies
+of applicable licenses but the exact application of licenses and their
+versions are specified elsewhere.
+</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
+the licenses team for guidance. Do not add packages that seem
+to include license term violations.
+</p>
+
+</body>
+</subsection>
+
<subsection>
<title>Adding New Licenses</title>
<body>
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] proj/devmanual:master commit in: general-concepts/licenses/
@ 2019-09-08 17:55 Ulrich Müller
0 siblings, 0 replies; 19+ messages in thread
From: Ulrich Müller @ 2019-09-08 17:55 UTC (permalink / raw
To: gentoo-commits
commit: c87c36a654840d2885f2f26a6f7fac65e6c5e2bf
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 8 17:25:14 2019 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Sep 8 17:55:09 2019 +0000
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=c87c36a6
general-concepts/licenses: Use sections instead of subsections
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
general-concepts/licenses/text.xml | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/general-concepts/licenses/text.xml b/general-concepts/licenses/text.xml
index c647871..86ffc8d 100644
--- a/general-concepts/licenses/text.xml
+++ b/general-concepts/licenses/text.xml
@@ -39,7 +39,7 @@ be used) then use the following syntax:
LICENSE="|| ( foo bar )"
</codesample>
-<subsection>
+<section>
<title>Determining the correct license</title>
<body>
@@ -90,9 +90,9 @@ to include license term violations.
</p>
</body>
-</subsection>
+</section>
-<subsection>
+<section>
<title>GPL-x vs GPL-x+</title>
<body>
@@ -118,9 +118,9 @@ indicates <c>GPL-2+</c> license:
</pre>
</body>
-</subsection>
+</section>
-<subsection>
+<section>
<title>Adding New Licenses</title>
<body>
@@ -143,7 +143,7 @@ you are unsure as to the meaning of any part of it.
</p>
</body>
-</subsection>
+</section>
</body>
</chapter>
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] proj/devmanual:master commit in: general-concepts/licenses/
@ 2019-10-16 18:49 Göktürk Yüksek
0 siblings, 0 replies; 19+ messages in thread
From: Göktürk Yüksek @ 2019-10-16 18:49 UTC (permalink / raw
To: gentoo-commits
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
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] proj/devmanual:master commit in: general-concepts/licenses/
@ 2019-10-16 18:49 Göktürk Yüksek
0 siblings, 0 replies; 19+ messages in thread
From: Göktürk Yüksek @ 2019-10-16 18:49 UTC (permalink / raw
To: gentoo-commits
commit: b939305296bcd7ec9b0e5bec180a7c60220ca803
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 23 08:29:31 2019 +0000
Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Wed Oct 16 18:48:46 2019 +0000
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=b9393052
general-concepts/licenses: Expand the section on restrictions
Closes: https://github.com/gentoo/devmanual.gentoo.org/pull/108
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 | 43 +++++++++++++++++++++++++++++++-------
1 file changed, 36 insertions(+), 7 deletions(-)
diff --git a/general-concepts/licenses/text.xml b/general-concepts/licenses/text.xml
index f7e904e..2e1a268 100644
--- a/general-concepts/licenses/text.xml
+++ b/general-concepts/licenses/text.xml
@@ -37,16 +37,45 @@ be used) then use the following syntax:
LICENSE="|| ( foo bar )"
</codesample>
+<section>
+<title>License-implied restrictions</title>
+<body>
+
+<p>
+Non-free licenses may impose additional restrictions that need to be stated
+in the ebuild. In order to identify such restrictions correctly, it is necessary
+to analyze relevant license(s) and determine applicable clauses based
+on the files contained in upstream packages. Note that upstreams may use
+the same license for multiple products, with some restrictions not being
+applicable to the ebuild in question.
+</p>
+
<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>.
+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> to prevent the affected files from being copied to Gentoo
+mirrors. In some cases, the license permits redistributing unmodified original
+archives only <d/> in that case, <c>SRC_URI</c> must not contain modified
+or repackaged upstream archives, and all changes must be applied via patching
+in appropriate ebuild phases.
</p>
+<p>
+If the license does not permit distributing Gentoo binary packages built using
+the ebuild, with or without source modifications, it must have
+<c>RESTRICT=bindist</c>. This is also the case if restrictions are set based
+on the cost of redistribution (e.g. the license prohibits selling the product).
+</p>
+
+<p>
+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>
+
+</body>
+</section>
+
<section>
<title>Determining the correct license</title>
<body>
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] proj/devmanual:master commit in: general-concepts/licenses/
@ 2019-12-26 23:53 Göktürk Yüksek
0 siblings, 0 replies; 19+ messages in thread
From: Göktürk Yüksek @ 2019-12-26 23:53 UTC (permalink / raw
To: gentoo-commits
commit: be80788debfcc0035e9d014956763871fd5df287
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 9 08:52:47 2019 +0000
Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Thu Dec 26 23:52:22 2019 +0000
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=be80788d
general-concepts/licenses: Add a section on upstream license problems
(The submission is subjected to further editing by the committer)
Closes: https://github.com/gentoo/devmanual/pull/109
Acked-by: Ulrich Müller <ulm <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 | 61 ++++++++++++++++++++++++++++++++++----
1 file changed, 56 insertions(+), 5 deletions(-)
diff --git a/general-concepts/licenses/text.xml b/general-concepts/licenses/text.xml
index d37456c..94ad420 100644
--- a/general-concepts/licenses/text.xml
+++ b/general-concepts/licenses/text.xml
@@ -127,14 +127,65 @@ ought to have <c>all-rights-reserved</c> license,
and <c>RESTRICT="bindist mirror"</c>.
</p>
+</body>
+</section>
+
+<section>
+<title>Detecting upstream license problems</title>
+<body>
+
<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
-the licenses team for guidance. Do not add packages that seem
-to include license term violations.
+Please watch out for upstream licensing problems and report them
+upstream.
+You may ask the Gentoo licenses team for guidance. In general, it is
+preferable to wait for upstream to resolve the issue and release a new
+version. Do not add packages that seem to include license term
+violations!
</p>
+<p>
+Common license problems include but are not limited to:
+</p>
+
+<ol>
+ <li>
+ <p>
+ Including third party code without appropriate copyright notices.
+ Practically all licenses (with notable exception of public
+ domain-alike) require attribution, and some require copying
+ original copyright notices verbatim.
+ </p>
+ </li>
+ <li>
+ <p>
+ Combining incompatible licenses. When you are combining multiple
+ files using different licenses into a single executable, those
+ licenses need to be compatible. For example, it is not possible
+ to combine proprietary code with copyleft licenses (e.g. GPL).
+ It is also incorrect to combine GPL-2 (only) and GPL-3 code.
+ </p>
+ </li>
+ <li>
+ <p>
+ Dynamically linking incompatible executables. Arguably, some
+ licenses also apply restriction on dynamic linking between
+ executables and shared libraries. For example, normally you can't
+ link GPL executables with OpenSSL. The same restriction does not
+ apply to LGPL, and some projects are adding specific linking
+ exceptions to their GPL usage.
+ </p>
+ </li>
+ <li>
+ <p>
+ Wrong or incomplete license information about a project. Upstream
+ may indicate the wrong effective license for a project (e.g.
+ in README. For example, upstream may indicate that the project
+ is licensed as GPL-2+ while some of the source code files use
+ GPL-3+ license.
+ </p>
+ </li>
+</ol>
+
</body>
</section>
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] proj/devmanual:master commit in: general-concepts/licenses/
@ 2020-01-14 8:42 Ulrich Müller
0 siblings, 0 replies; 19+ messages in thread
From: Ulrich Müller @ 2020-01-14 8:42 UTC (permalink / raw
To: gentoo-commits
commit: 820ce06e42960dcf77844c01b32a042d1f531070
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 4 05:28:54 2019 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Jan 14 08:41:08 2020 +0000
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=820ce06e
general-concepts/licenses: Add 'Further reading' subsection
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
general-concepts/licenses/text.xml | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/general-concepts/licenses/text.xml b/general-concepts/licenses/text.xml
index 94ad420..24c9f02 100644
--- a/general-concepts/licenses/text.xml
+++ b/general-concepts/licenses/text.xml
@@ -239,6 +239,32 @@ only do so if the license could be considered 'questionable' or if
you are unsure as to the meaning of any part of it.
</p>
+</body>
+</section>
+
+<section>
+<title>Further reading</title>
+<body>
+
+<p>
+The following resources are recommended as source of more information
+on copyright and licensing:
+</p>
+
+<ul>
+ <li>
+ <uri link="https://dwheeler.com/essays/floss-license-slide.html">
+ David A. Wheeler, The Free-Libre / Open Source Software (FLOSS)
+ License Slide
+ </uri>
+ </li>
+ <li>
+ <uri link="https://www.gnu.org/licenses/license-compatibility.en.html">
+ Richard Stallman, License Compatibility and Relicensing
+ </uri>
+ </li>
+</ul>
+
</body>
</section>
</chapter>
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] proj/devmanual:master commit in: general-concepts/licenses/
@ 2020-05-06 14:29 Ulrich Müller
0 siblings, 0 replies; 19+ messages in thread
From: Ulrich Müller @ 2020-05-06 14:29 UTC (permalink / raw
To: gentoo-commits
commit: 6f2153b78f73b2fba8148d511e361c9dfa1cad59
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 7 20:34:12 2020 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed May 6 14:27:35 2020 +0000
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=6f2153b7
general-concepts/licenses: GitHub license API might be incomplete
Closes: https://github.com/gentoo/devmanual/pull/166
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
general-concepts/licenses/text.xml | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/general-concepts/licenses/text.xml b/general-concepts/licenses/text.xml
index 9e3bb6d..7f600c4 100644
--- a/general-concepts/licenses/text.xml
+++ b/general-concepts/licenses/text.xml
@@ -82,9 +82,12 @@ Some EULAs may also require the user to fetch distfiles manually, in which case
<body>
<warning>
-Do not trust the license indicated by GitHub or other sites that use
-automation to guess the license! The information presented may be
-incomplete and/or incorrect.
+Do not trust the license indicated by GitHub or other sites that use automation
+to guess the license! The information presented may be incomplete and/or
+incorrect. The
+<uri link="https://developer.github.com/v3/licenses/#get-the-contents-of-a-repositorys-license">
+GitHub License API</uri> for example can only return a single license for a
+given repository.
</warning>
<p>
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] proj/devmanual:master commit in: general-concepts/licenses/
@ 2020-05-06 14:29 Ulrich Müller
0 siblings, 0 replies; 19+ messages in thread
From: Ulrich Müller @ 2020-05-06 14:29 UTC (permalink / raw
To: gentoo-commits
commit: 154ec2ccfa56445a518c2736851fd1573ecbec2a
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 7 07:59:27 2020 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed May 6 14:22:05 2020 +0000
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=154ec2cc
general-concepts/licenses: Mention the SPDX list and its caveats.
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
general-concepts/licenses/text.xml | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/general-concepts/licenses/text.xml b/general-concepts/licenses/text.xml
index 24c9f02..9e3bb6d 100644
--- a/general-concepts/licenses/text.xml
+++ b/general-concepts/licenses/text.xml
@@ -239,6 +239,15 @@ only do so if the license could be considered 'questionable' or if
you are unsure as to the meaning of any part of it.
</p>
+<p>
+When adding a new license, it should be checked whether there is an established
+name in the <uri link="https://spdx.org/licenses/">SPDX license list</uri>.
+However, Gentoo does not consider the Software Package Data Exchange to be an
+authoritative standard, so we may sometimes deviate from it, e.g., if their
+"short identifier" is excessively long. Also, we generally don't rename our
+existing identifiers.
+</p>
+
</body>
</section>
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] proj/devmanual:master commit in: general-concepts/licenses/
@ 2021-02-13 9:40 Ulrich Müller
0 siblings, 0 replies; 19+ messages in thread
From: Ulrich Müller @ 2021-02-13 9:40 UTC (permalink / raw
To: gentoo-commits
commit: 4a74d85757e446a1d5e755cc3c3e7eae69762b1c
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 6 12:32:25 2021 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Feb 13 09:40:10 2021 +0000
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=4a74d857
general-concepts/licenses: LICENSE should include build scripts
By the FSF's definition (see for example GPL-3):
"The 'Corresponding Source' for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities."
It makes much sense to apply this as a general definition. Applying it
only to GPL licensed packages would mean:
- We would need another case distinction, making the rules for LICENSE
even more complicated.
- As an example, consider a MIT licensed package with a CDDL licensed
(i.e., GPL incompatible) build script: If that package was a library,
then it couldn't be linked against a GPL licensed package, whereas
a LICENSE variable listing only MIT would falsely indicate that it
could.
Reported-By: John Helmert III <jchelmert3 <AT> posteo.net>
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
general-concepts/licenses/text.xml | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
diff --git a/general-concepts/licenses/text.xml b/general-concepts/licenses/text.xml
index 7f600c4..2153a39 100644
--- a/general-concepts/licenses/text.xml
+++ b/general-concepts/licenses/text.xml
@@ -11,10 +11,16 @@ 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>:
+The value of this variable should include all licenses pertaining to the
+"corresponding source" of the files installed by the package. This includes
+all their source code, but also all scripts used to control compilation and
+installation.
+</p>
+
+<p>
+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">
@@ -22,10 +28,8 @@ 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.
+If the package sources include additional files that are neither installed
+nor used at build time, their license should not be listed.
</p>
<p>
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] proj/devmanual:master commit in: general-concepts/licenses/
@ 2023-11-25 13:32 Ulrich Müller
0 siblings, 0 replies; 19+ messages in thread
From: Ulrich Müller @ 2023-11-25 13:32 UTC (permalink / raw
To: gentoo-commits
commit: bf32e5008694b6fddf4708ff22555a656972ff6e
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 20 20:04:43 2023 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Nov 25 09:29:59 2023 +0000
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=bf32e500
general-concepts/licenses: The main license should be listed first
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
general-concepts/licenses/text.xml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/general-concepts/licenses/text.xml b/general-concepts/licenses/text.xml
index 1e6b918..a9fb702 100644
--- a/general-concepts/licenses/text.xml
+++ b/general-concepts/licenses/text.xml
@@ -14,7 +14,8 @@ match files existing in the repository's <c>licenses/</c> directory.
The value of this variable should include all licenses pertaining to the
"corresponding source" of the files installed by the package. This includes
all their source code, but also all scripts used to control compilation and
-installation.
+installation. If the package has a "main license" <d/> i.e. a license covering
+most of its files <d/> then this should be listed first.
</p>
<p>
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] proj/devmanual:master commit in: general-concepts/licenses/
@ 2024-04-29 18:36 Ulrich Müller
0 siblings, 0 replies; 19+ messages in thread
From: Ulrich Müller @ 2024-04-29 18:36 UTC (permalink / raw
To: gentoo-commits
commit: 5788aaadff50c5f29290cf7aa5d32c3932cd7e1f
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 29 10:35:13 2024 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Apr 29 18:34:09 2024 +0000
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=5788aaad
general-concepts/licenses: Licenses must be plain text
Historically we had some PDF files in the repository, but the last
of them was removed in 2011.
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
general-concepts/licenses/text.xml | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/general-concepts/licenses/text.xml b/general-concepts/licenses/text.xml
index 182cfb6..939b429 100644
--- a/general-concepts/licenses/text.xml
+++ b/general-concepts/licenses/text.xml
@@ -230,11 +230,11 @@ indicates <c>GPL-2+</c> license:
<body>
<p>
-If your package's license is not already in the tree, you must add the
-license before committing the package. When adding the license, use a
-plain text file (UTF-8 encoded) if at all possible. Some licenses are
-PDF files rather than plain text <d/> this should only be done if we
-are legally required to do so.
+If your package's license is not already in the tree, you must add the license
+before committing the package. When adding the license, use a plain text file
+(UTF-8 encoded), because non-text files
+<uri link="::general-concepts/tree/#What Belongs in the Tree?">do not belong
+in the repository</uri>.
Finally you need to check if your license should be added to a license group
as listed in the repository's <c>profiles/license_groups</c> file. For more
information see
^ permalink raw reply related [flat|nested] 19+ messages in thread
end of thread, other threads:[~2024-04-29 18:36 UTC | newest]
Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-27 17:44 [gentoo-commits] proj/devmanual:master commit in: general-concepts/licenses/ Markos Chandras
-- strict thread matches above, loose matches on Subject: below --
2024-04-29 18:36 Ulrich Müller
2023-11-25 13:32 Ulrich Müller
2021-02-13 9:40 Ulrich Müller
2020-05-06 14:29 Ulrich Müller
2020-05-06 14:29 Ulrich Müller
2020-01-14 8:42 Ulrich Müller
2019-12-26 23:53 Göktürk Yüksek
2019-10-16 18:49 Göktürk Yüksek
2019-10-16 18:49 Göktürk Yüksek
2019-09-08 17:55 Ulrich Müller
2018-12-20 4:56 Göktürk Yüksek
2018-12-20 4:56 Göktürk Yüksek
2018-12-20 4:56 Göktürk Yüksek
2018-12-20 4:56 Göktürk Yüksek
2018-12-20 4:56 Göktürk Yüksek
2012-10-27 17:48 Markos Chandras
2012-10-27 17:44 Markos Chandras
2012-10-12 17:44 Ulrich Mueller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox