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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
|
<?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>General guideline</title>
<body>
<figure link="diagram.png" short="When can a contribution be accepted?"
caption="Flowchart showing the steps for accepting a contribution" />
<p>
When can a contribution be accepted?
</p>
<ol type="1">
<li>
<p>
When signed off by its author (i.e. with a <c>Signed-off-by</c> line):
</p>
<p>
Can be accepted, because the author has confirmed that it is under a free
software license. The committer adds another <c>Signed-off-by</c> 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>.
</p>
<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>
</li>
<li>
<p>
When <e>not</e> signed off:
</p>
<ol type="a">
<li>
<p>
If the contribution is not of
<uri link="https://www.gnu.org/prep/maintain/html_node/Legally-Significant.html">
"legally significant"</uri> size (by the FSF's 15-lines rule of thumb):
</p>
<p>
Can be accepted. The committer adds a <c>Signed-off-by</c> line and
certifies the commit under point 2 of the Certificate of Origin.
</p>
</li>
<li>
<p>
If the contribution is of significant size, and
</p>
<ol type="i">
<li>
<p>
with an independent indication of its license (e.g. copyright and
license notices in the file's header):
</p>
<p>
Can be accepted. The committer adds a <c>Signed-off-by</c> line and
certifies the commit under point 2 of the Certificate of Origin.
</p>
</li>
<li>
<p>
<e>without</e> any other indication of its license:
</p>
<p>
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.
</p>
</li>
</ol>
</li>
</ol>
</li>
</ol>
</body>
</subsection>
</section>
</chapter>
</guide>
|