From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 244BA1382C5 for ; Sat, 13 Feb 2021 09:40:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 667C8E0864; Sat, 13 Feb 2021 09:40:47 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 51F58E0864 for ; Sat, 13 Feb 2021 09:40:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ED958340DE0 for ; Sat, 13 Feb 2021 09:40:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 656864C for ; Sat, 13 Feb 2021 09:40:42 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1613209210.4a74d85757e446a1d5e755cc3c3e7eae69762b1c.ulm@gentoo> Subject: [gentoo-commits] proj/devmanual:master commit in: general-concepts/licenses/ X-VCS-Repository: proj/devmanual X-VCS-Files: general-concepts/licenses/text.xml X-VCS-Directories: general-concepts/licenses/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 4a74d85757e446a1d5e755cc3c3e7eae69762b1c X-VCS-Branch: master Date: Sat, 13 Feb 2021 09:40:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a3886f2b-fa61-45b4-a336-28586b367844 X-Archives-Hash: 35a9bb0a4bf311edff740bc2a717ee23 commit: 4a74d85757e446a1d5e755cc3c3e7eae69762b1c Author: Ulrich Müller gentoo org> AuthorDate: Sat Feb 6 12:32:25 2021 +0000 Commit: Ulrich Müller gentoo 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 posteo.net> Signed-off-by: Ulrich Müller 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 licenses/ directory.

-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 LICENSE: +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. +

+ +

+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 LICENSE:

@@ -22,10 +28,8 @@ 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. +If the package sources include additional files that are neither installed +nor used at build time, their license should not be listed.