Bug#964496: libjson-validator-perl: License known for cache files
merkys at debian.org
merkys at debian.org
Wed Jul 8 05:36:40 BST 2020
notfound 964496 3.25+dfsg-1+koha3
found 964496 3.25+dfsg-1
thanks
Hello,
On Wed, 08 Jul 2020 01:31:47 +0000 tuxayo/Victor Grousset <victor at tuxayo.net> wrote:
> https://salsa.debian.org/perl-team/modules/packages/libjson-validator-perl/-/raw/master/debian/copyright
> > Comment: The +dfsg version is created by removing the cache files from the
> > lib/JSON/Validator directory, where the license is unknown.
>
> This causes malfunction when there is no internet access or when swagger.io (where the schemas are hosted) is down.
>
> But actually excluding the files from the package doesn't seem necessary.
> I got a confirmation[1] that they[2] are under Apache-2.0 license.
>
> [1] https://github.com/OAI/OpenAPI-Specification/issues/2280
> [2] example, one of them: https://github.com/OAI/OpenAPI-Specification/blob/master/schemas/v2.0/schema.json
Indeed, the OpenAPI schema files are Apache2-licensed [3], thus at least them could be retained. However, copies of these schema files are already around in Debian [4], thus I would suggest packaging OpenAPI schema files in a separate Debian package, and symlinking them to JSON::Validator cache location.
[3] https://github.com/OAI/OpenAPI-Specification/blob/master/LICENSE
[4] https://codesearch.debian.net/search?q=A+JSON+Schema+for+Swagger+2.0+API&literal=1
Best,
Andrius
More information about the pkg-perl-maintainers
mailing list