Re: LICENSES folder in /usr/share/doc/<pkg> ?
Hi c.buhtz (2024.11.18_12:31:01_+0000)
> I was not sure which list is appropriate for this question. Because of that
> I try it here because I am quit familiar with this community.
>
> To my understanding of the policy the license file of package should be
> installed into
>
> /usr/share/doc/<package>/LICENSE
It's spelled: /usr/share/doc/<package>/copyright
> How to handle it if a project does have multiple license files?
We combine them all into a single file. See:
https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
> According to the REUSE standard (itself related to SPDX standard) an
> upstream repository should have a folder named LICENSES containing the
> licenses. See [1] as an example.
>
> Would it be OK, just installing that folder in Debian GNU/Linux the same
> way?
>
> /usr/share/doc/<package>/LICENSES/*.txt
I'm afraid not, that wouldn't comply with policy, §12.5 is fairly
specific.
https://www.debian.org/doc/debian-policy/ch-docs.html#s-copyrightfile
https://www.debian.org/doc/debian-policy/ch-source.html#copyright-debian-copyright
Not that policy can't be changed, but there'd need to be a good reason.
This scheme looks less expressive than Debian's machine-readable format.
Stefano
--
Stefano Rivera
http://tumbleweed.org.za/
+1 415 683 3272
Reply to: