Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 860552 - Clarification about licensing issue
Summary: Clarification about licensing issue
Status: RESOLVED FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Policy Guide (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Quality Assurance Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-24 13:23 UTC by Viorel Munteanu
Modified: 2023-01-14 16:45 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Proposed update for PG 0704 (0001-other-metadata-Sync-with-the-updated-LICENSE-policy-.patch,3.35 KB, patch)
2022-07-24 17:22 UTC, Ulrich Müller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Viorel Munteanu gentoo-dev 2022-07-24 13:23:59 UTC
I found conflicting information regarding the license of scripts used during installation, but that are not installed.

The dev manual states:

"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."

https://devmanual.gentoo.org/general-concepts/licenses/index.html

But the QA policy states:

"The licenses for files that are not installed but that are used at build time are not listed explicitly."

"The ebuild format does not provide a separate variable to list licenses needed only at build time. So far it has not been considered important enough to have one, as the relevant files exist only temporarily on the user’s system and do not affect the runtime use of packages."

https://projects.gentoo.org/qa/policy-guide/other-metadata.html#pg0704
Comment 1 Ulrich Müller gentoo-dev 2022-07-24 17:03:01 UTC
The devmanual was updated some time ago, because by the FSF's definition the licenses for all files of the "corresponding source" must be listed:
https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=4a74d85757e446a1d5e755cc3c3e7eae69762b1c

Presumably, the QA policy guide should be updated accordingly.
Comment 2 Ulrich Müller gentoo-dev 2022-07-24 17:22:27 UTC
Created attachment 794033 [details, diff]
Proposed update for PG 0704
Comment 3 Larry the Git Cow gentoo-dev 2023-01-14 16:45:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/policy-guide.git/commit/?id=92bb5e10171165b681c3ec526d90a1508e6dc9fa

commit 92bb5e10171165b681c3ec526d90a1508e6dc9fa
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2022-07-24 17:15:42 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2022-07-25 16:08:46 +0000

    other-metadata: Sync with the updated LICENSE policy in the devmanual
    
    See commit 4a74d85 in the proj/devmanual repository:
    
    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.
    
    Closes: https://bugs.gentoo.org/860552
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 other-metadata.rst | 19 ++++++++-----------
 1 file changed, 8 insertions(+), 11 deletions(-)