aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2021-09-21 15:51:46 +0300
committerUlrich Müller <ulm@gentoo.org>2021-09-26 11:03:18 +0200
commit4c395f6b1071fee86f0d296df0750958e4a5acca (patch)
treeb0c529df3db91bf2334f34cfbff9d4af8166512d
parentgeneral-concepts/ebuild-revisions: Fix link syntax (diff)
downloaddevmanual-4c395f6b.tar.gz
devmanual-4c395f6b.tar.bz2
devmanual-4c395f6b.zip
general-concepts/copyright-policy/: new page
Signed-off-by: Joonas Niilola <juippis@gentoo.org> [Delete trailing whitespace.] Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r--general-concepts/copyright-policy/text.xml99
-rw-r--r--general-concepts/text.xml1
2 files changed, 100 insertions, 0 deletions
diff --git a/general-concepts/copyright-policy/text.xml b/general-concepts/copyright-policy/text.xml
new file mode 100644
index 0000000..c8a488b
--- /dev/null
+++ b/general-concepts/copyright-policy/text.xml
@@ -0,0 +1,99 @@
+<?xml version="1.0"?>
+<guide self="general-concepts/copyright-policy/">
+<chapter>
+<title>Gentoo's 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
+<uri link="https://www.gentoo.org/glep/glep-0076.html#licensing-of-gentoo-projects">
+predetermined licenses</uri>. Exceptions may be granted by the Gentoo
+Foundation per-case basis.
+</p>
+
+</body>
+
+<section>
+<title>Certificate of Origin</title>
+<body>
+
+<p>
+Per Gentoo's <uri link="https://www.gentoo.org/glep/glep-0076.html">GLEP 76
+(Copyright Policy GLEP)</uri>, 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">
+ GCO</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 GCO point 2.
+ </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 GCO point 2.
+ </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>
diff --git a/general-concepts/text.xml b/general-concepts/text.xml
index ace731e..dd7a7c2 100644
--- a/general-concepts/text.xml
+++ b/general-concepts/text.xml
@@ -22,6 +22,7 @@ writing ebuilds or working with the Gentoo repository.
<!-- Keep in alphabetical order -->
<include href="autotools/"/>
<include href="config-protect/"/>
+<include href="copyright-policy/"/>
<include href="dependencies/"/>
<include href="ebuild-revisions/"/>
<include href="emerge-and-ebuild/"/>