aboutsummaryrefslogtreecommitdiff
blob: 7b877f87033fda37862f1780bcc3aec6c609afb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<?xml version="1.0" encoding="UTF-8"?>
<guide self="general-concepts/copyright-policy/">
<chapter>
<title>Copyright Policy</title>
<body>

<p>
<uri link="https://www.gentoo.org/glep/glep-0076.html">GLEP 76</uri> defines
copyright and license policies for Gentoo Linux.
</p>

<p>
Every Gentoo project must abide by the
<uri link="https://www.gentoo.org/get-started/philosophy/social-contract.html">
Gentoo Social Contract</uri> and release its work under one or more of the
following licenses:
</p>

<ul>
  <li>
    The <uri link="https://www.gnu.org/licenses/gpl-2.0.html">
    GNU General Public License, version 2 or later</uri> (GPL-2+)
  </li>
  <li>
    The <uri link="https://creativecommons.org/licenses/by-sa/4.0/">
    Creative Commons Attribution-ShareAlike 4.0 International License</uri>
    (CC-BY-SA-4.0), only for documentation
  </li>
  <li>
    Any
    <uri link="https://www.gnu.org/licenses/license-list.en.html#GPLCompatibleLicenses">
    GPL-compatible free software license</uri>
  </li>
</ul>

<p>
Exceptions for other (GPL-incompatible) free software licenses may be granted
by the Gentoo Foundation on a case-by-case basis.
</p>

</body>

<section>
<title>Certificate of Origin</title>
<body>

<p>
Per GLEP 76, you must sign-off all your commits to any Gentoo-hosted repository
with accordance to the
<uri link="https://www.gentoo.org/glep/glep-0076.html#certificate-of-origin">
copyright policy</uri>.
</p>

<p>
When committing work authored by someone else, e.g. a Bugzilla patch, or GitHub
pull request, a sign-off from the original author is always strongly
recommended, in order to indicate that the author acknowledges Gentoo's
copyright policy. However, it is not mandatory for every case. Please refer to
the example list below when determining whether a sign-off from the original
author is, or is not required. The list below serves as a general guideline.
</p>
</body>

<subsection>
<title>Examples for general guideline</title>
<body>

<dl>
  <dt>A contribution with a Signed-off-by line by its author</dt>
  <dd>
    Can be accepted, because the author confirmed that it is under a free
    software license. The committer adds another S-o-b line and certifies the
    commit under point 4 of the
    <uri link="https://www.gentoo.org/glep/glep-0076.html#certificate-of-origin">
    Certificate of Origin</uri>.
    <note>
    Use common sense here, especially if you don't know the contributor. If the
    contribution was taken from somewhere else and the contributor doesn't have
    the right to distribute it under a free software license, you as the
    committer might get into trouble. So in this situation, do your best to
    check repositories for matching code, and whether they hold any special
    copyright claims.
    </note>
  </dd>
  <dt>
    A contribution without a S-o-b line and of significant size, but with an
    independent indication of its license (e.g. copyright and license notices
    in the file's header)
  </dt>
  <dd>
    Can be accepted. The committer adds a S-o-b line and certifies the commit
    under point 2 of the Certificate of Origin.
  </dd>
  <dt>
    A contribution without a S-o-b line but not
    <uri link="https://www.gnu.org/prep/maintain/html_node/Legally-Significant.html">
    "legally significant"</uri> (by the FSF's 15-lines rule of thumb)
  </dt>
  <dd>
    Can be accepted. The committer adds a S-o-b line and certifies the commit
    under point 2 of the Certificate of Origin.
  </dd>
  <dt>
    A contribution without a S-o-b line and of significant size, without any
    other indication of its license
  </dt>
  <dd>
    Can <e>not</e> be accepted. There's no indication that the author has
    released their work under a free license, therefore it must not be
    distributed by Gentoo.
  </dd>
</dl>
</body>
</subsection>

</section>
</chapter>
</guide>