[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#955005: Relax requirements to copy copyright notices into d/copyright



control: tag -1 + patch

Hello,

On Thu 26 Mar 2020 at 09:57AM -07, Sean Whitton wrote:

> The relevant parts of Policy to update are §§ 2.3, 4.5 and 12.5.

Here's a patch for seconding, and for the FTP Team to approve.  Thanks
to Scott for prompting the "all copies" amendation.

There could probably be some useful re-organisation and deduplication
between §§ 2.3, 4.5 and 12.5, but as that's non-normative, let's get
this change committed first.

diff --git a/policy/ch-archive.rst b/policy/ch-archive.rst
index b8ba081..4217dd4 100644
--- a/policy/ch-archive.rst
+++ b/policy/ch-archive.rst
@@ -184,15 +184,32 @@ Copyright considerations
 ------------------------

 Every package must be accompanied by a verbatim copy of its
-distribution license in the file ``/usr/share/doc/package/copyright``.
-
-Every package must be accompanied by a verbatim copy of its copyright
-information, unless its distribution license explicitly permits this
-information to be excluded from distributions of binaries built from
-the source.  In such cases, a verbatim copy of its copyright
-information should normally still be included, but need not be if
-creating and maintaining a copy of that information involves
-significant time and effort.  [#]_
+distribution license(s) in the file ``/usr/share/doc/package/copyright``.
+
+The copyright information for files in a package must be copied
+verbatim into ``/usr/share/doc/package/copyright``, when
+
+#. the distribution license for those files requires that copyright
+   information be included in all copies and/or binary distributions;
+
+#. the files are shipped in the binary package, either in source or
+   compiled form; and
+
+#. the form in which the files are present in the binary package does
+   not include a plain text version of their copyright notices.
+
+Thus, the copyright information for files in the source package which
+are only part of its build process, such as autotools files, need not
+be included in ``/usr/share/doc/package/copyright``, because those
+files do not get installed into the binary package.  Similarly, plain
+text files which include their own copyright information and are
+installed into the binary package unmodified need not have that
+copyright information copied into ``/usr/share/doc/package/copyright``
+
+However, the copyright notices for any files which are compiled into
+the object code shipped in the binary package must all be included in
+d/copyright when the license requires that copyright information be
+included in all copies and/or binary distributions, as most do.  [#]_

 See :ref:`s-copyrightfile` for further details.

diff --git a/policy/ch-docs.rst b/policy/ch-docs.rst
index b466304..3e797d6 100644
--- a/policy/ch-docs.rst
+++ b/policy/ch-docs.rst
@@ -181,10 +181,13 @@ maintainer's discretion.
 Copyright information
 ---------------------

-Every package must be accompanied by a verbatim copy of its copyright
-information and distribution license in the file
-``/usr/share/doc/package/copyright``. This file must neither be
-compressed nor be a symbolic link.
+Every package must be accompanied by a verbatim copy of its
+distribution license(s) in the file ``/usr/share/doc/package/copyright``.
+This file must neither be compressed nor be a symbolic link.
+
+A verbatim copy of the package's copyright information is often
+required to be present in ``/usr/share/doc/package/copyright``, too;
+see :ref:`s-pkgcopyright`.

 In addition, the copyright file must say where the upstream sources (if
 any) were obtained, and should include a name or contact address for the
diff --git a/policy/ch-source.rst b/policy/ch-source.rst
index 1a4e871..7644a27 100644
--- a/policy/ch-source.rst
+++ b/policy/ch-source.rst
@@ -211,9 +211,9 @@ Copyright: ``debian/copyright``
 -------------------------------

 Every package must be accompanied by a verbatim copy of its
-distribution license in the file ``/usr/share/doc/package/copyright``.
+distribution license(s) in the file ``/usr/share/doc/package/copyright``.

-This file is usually required to contain a verbatim copy of the
+This file is often required to contain a verbatim copy of the
 package's copyright information, too; see :ref:`s-copyrightfile` and
 :ref:`s-pkgcopyright` for details, and for further considerations
 related to copyrights for packages.

-- 
Sean Whitton

Attachment: signature.asc
Description: PGP signature


Reply to: