From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/devmanual:master commit in: general-concepts/licenses/
Date: Sat, 13 Feb 2021 09:40:42 +0000 (UTC) [thread overview]
Message-ID: <1613209210.4a74d85757e446a1d5e755cc3c3e7eae69762b1c.ulm@gentoo> (raw)
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>
next reply other threads:[~2021-02-13 9:40 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-13 9:40 Ulrich Müller [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-04-29 18:36 [gentoo-commits] proj/devmanual:master commit in: general-concepts/licenses/ Ulrich Müller
2023-11-25 13:32 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-27 17:44 Markos Chandras
2012-10-12 17:44 Ulrich Mueller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1613209210.4a74d85757e446a1d5e755cc3c3e7eae69762b1c.ulm@gentoo \
--to=ulm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox