Source: petsc
Version: 3.26.1+dfsg1-1exp1
Severity: serious
X-Debbugs-Cc: [email protected]
Dear Maintainer,
petsc 3.26.1+dfsg1-1exp1 was accepted from the NEW queue by the DFSG, Licensing
& New
Packages Team. The reviewer asked for the following to be addressed in
a later upload:
Justification: Policy 2.3, 12.5, DFSG 1, 3
Tags: patch
Dear Maintainer,
While reviewing petsc for Debian Free Software Guidelines (DFSG) and Debian
Policy compliance, several licensing and copyright discrepancies were found in
the source and binary packages:
1. Ungranted third-party script: src/benchmarks/daemon.py
Lines 17-18 assert an explicit third-party copyright:
__author__ = "Chad J. Schroeder"
__copyright__ = "Copyright (C) 2005 Chad J. Schroeder"
However, there is no license grant statement anywhere in the file's 208
lines. The blanket "Files: *" stanza claiming UChicago Argonne's BSD-2-clause
cannot legally grant distribution or modification rights for third-party
works. Under DFSG §1 and §3, all files distributed in the source package
must carry an explicit free license grant. Since src/benchmarks/ is not
installed into any binary package, this file should either have its
licensing terms documented or be pruned via Files-Excluded in
debian/copyright.
2. Bundled browser JavaScript/CSS assets installed in petsc3.26-doc:
The entire docs/ tree (including docs/_static) and debian/docs/_static are
installed into the petsc3.26-doc binary package (per
debian/petsc3.26-doc.docs),
but several third-party components carry inaccurate or missing stanzas:
- docs/_static/clipboard.min.js: Lines 2-5 explicitly state:
* clipboard.js v2.0.8
* https://clipboardjs.com/
* Licensed MIT (c) Zeno Rocha
However, this file is currently claimed by "Files: *" as UChicago
Argonne BSD-2-clause.
- KaTeX assets (docs/_static/katex.min.js, auto-render.min.js,
katex-math.css,
and debian/docs/_static/*): Downloaded from cdn.jsdelivr.net as documented
in debian/README.source and referencing https://github.com/Khan/KaTeX in
docs/_static/katex-math.css line 2. The local copies in
debian/docs/_static/
currently fall under "Files: debian/*" and are misattributed to the Debian
maintainers under BSD-2-clause, while the docs/_static copies fall under
"Files: *", rather than KaTeX's MIT license.
- sphinx-design (docs/_static/sphinx-design.min.css, design-tabs.js,
docs/_sphinx_design_static/sphinx-design.min.css): Assets from the
sphinx-design Sphinx extension (MIT) shipped without a dedicated stanza.
- pydata-sphinx-theme JS (docs/_static/scripts/pydata-sphinx-theme.js*):
The existing stanza only covers
"docs/_static/styles/pydata-sphinx-theme.*",
leaving the accompanying JS scripts uncovered.
3. Font Awesome 6.5.1 vendored assets (docs/_static/vendor/fontawesome/6.5.1/):
debian/copyright attributes Font Awesome exclusively to Dave Gandy
(2012-2018)
under OFL-1.1 and Expat. However,
docs/_static/vendor/fontawesome/6.5.1/LICENSE.txt
explicitly specifies:
Copyright (c) 2023 Fonticons, Inc. <https://fontawesome.com>
with Reserved Font Name: "Font Awesome".
with SVG/JS icons licensed under CC-BY-4.0 and code under MIT.
Fonticons, Inc. and CC-BY-4.0 are currently omitted from debian/copyright.
4. Siemens mesh (share/petsc/datafiles/meshes/nozzle.igs):
debian/copyright attributes this file to "2006 Siemens", whereas line 2 of
the file specifically asserts:
Siemens PLM Software. All Rights Reserved.
---
Suggested Fix:
1. Add src/benchmarks/daemon.py to Files-Excluded in debian/copyright (or
clarify its upstream license grant).
2. Add explicit stanzas in debian/copyright for the bundled web/documentation
assets:
--- a/debian/copyright
+++ b/debian/copyright
@@ -3,6 +3,7 @@ Upstream-Name: PETSc
Source: http://www.mcs.anl.gov/petsc/
Files-Excluded: src/binding/petsc4py docs/petsc4py
lib/petsc/bin/win32fe/*
+ src/benchmarks/daemon.py
src/ts/tutorials/power_grid/PDF_eqs_power_grid.pdf
Files: *
@@ -54,12 +55,34 @@ Copyright:
2006-2016 Kirill Simonov
License: Expat
-Files: docs/_static/styles/pydata-sphinx-theme.*
+Files:
+ docs/_static/styles/pydata-sphinx-theme.*
+ docs/_static/scripts/pydata-sphinx-theme.*
Copyright: 2011-2024 The Bootstrap Authors
2024 Fonticons, Inc.
2018 pandas
License: Expat and BSD-3-clause
+Files:
+ docs/_static/clipboard.min.js
+Copyright: 2015-2021 Zeno Rocha
+License: Expat
+
+Files:
+ docs/_static/katex*
+ docs/_static/auto-render*
+ debian/docs/_static/*
+Copyright: 2013-2020 Khan Academy and other contributors
+License: Expat
+
+Files:
+ docs/_static/sphinx-design*
+ docs/_static/design-tabs*
+ docs/_sphinx_design_static/*
+Copyright: 2021 Executable Book Project
+License: Expat
+
Files:
docs/_static/scripts/bootstrap.*
docs/_static/styles/bootstrap.*
@@ -124,7 +147,7 @@ License: BSD-2-clause
Files:
share/petsc/datafiles/meshes/nozzle.igs
Copyright:
- 2006 Siemens
+ 2006 Siemens PLM Software
License: BSD-2-clause
Files:
@@ -138,15 +161,16 @@ Comment:
Files:
docs/_static/vendor/fontawesome/*/webfonts/*
Copyright:
+ 2023 Fonticons, Inc. <https://fontawesome.com>
2012-2018, Dave Gandy <[email protected]>
License: OFL-1.1
Comment:
- Upstream doesn't specify which version of OFL
- instead simply links to OFL page.
- Hence latest version of OFL is considered.
+ SIL Open Font License 1.1 with Reserved Font Name "Font Awesome".
Files:
docs/_static/vendor/fontawesome/*/css/*
docs/_static/vendor/fontawesome/*/js/*
Copyright:
+ 2023 Fonticons, Inc. <https://fontawesome.com>
2012-2018, Dave Gandy <[email protected]>
-License: Expat
+License: Expat and CC-BY-4.0
Full review details: https://dfsg-new-queue.debian.org/reviews/petsc
Regards, Reinhard Tartler