#991943 klibc: please consider including machine-readable copyright file

Package:
src:klibc
Source:
klibc
Submitter:
Andrej Shadura
Date:
2025-03-04 05:21:02 UTC
Severity:
wishlist
Tags:
#991943#5
Date:
2021-08-06 12:31:26 UTC
From:
To:
Hi,

Please consider including the attached machine-readable copyright file.
I tried to make it as precise as I can based on the information in the
source and accompanying text files; improve it as you see fit.

- --
Cheers,
  Andrej
-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQSD3NF/RLIsyDZW7aHoRGtKyMdyYQUCYQ0rmAAKCRDoRGtKyMdy
Yd2xAQCZTyRxfp7cdJim3/22RJHoJ+46/cTXvSdu0Gz6fCYCuwEA4BD4bqtdsxmg
6ntMSp862Lq54br/b/0JAS7mRBk5Jws=
=0MaS
-----END PGP SIGNATURE-----

#991943#10
Date:
2021-08-11 12:30:04 UTC
From:
To:
Hi,

I’ve noticed a few issues with the proposed copyright file. I have fixed
them; please find the attached patch to the packaging.

#991943#15
Date:
2021-08-11 12:40:20 UTC
From:
To:
Files: debian/*
Copyright:
 2005      Jeff Bailey <jbailey@raspberryginger.com>
 2005-2014 maximilian attems <maks@sternwelten.at>
 2015-2021 Ben Hutchings <ben@decadent.org.uk>

I’m not sure what the license of the packaging is.

#991943#20
Date:
2021-08-11 12:49:28 UTC
From:
To:
please use whatever is canonical, I'm fine with GPL as well as BSD,
as it is mostly glue to just bring things to the enduser.

please use this email adress of mine, thank you.

also the patch should be submitted to klibc upstream ;)

#991943#25
Date:
2021-08-13 01:54:46 UTC
From:
To:
There is no debian directory in the upstream repository.

Ben.

#991943#30
Date:
2025-03-04 05:19:20 UTC
From:
To:
Thanks for having a go at this.

I believe it should be the same as upstream's default license, i.e.
Expat.

I think the contributions of Jeff Bailey and several others are
© Canonical Ltd.  And there have been a couple of other contributors
whose work is still present and looks large enough to be copyrightable.

[...]

Using "... and/or ..." is not allowed by the format, and I don't think
it would be a useful description anyway.

Since usr/klibc/LICENSE says that the Expat license applies to "all
remaining files", I think the wildcard paragraph should simply have
"License: Expat" and all the other paragraphs with "License: Expat" can
be dropped.

[...]

In fact, the files under scripts/ are mostly derived from the Linux
kernel's scripts directory (though with many changes), so I think all of
them should have "License: GPL-2".

[...]

This should be "usr/dash/bltin/test.c".

Public domain means copyright has been disclaimed, so I think no
copyright holders should be listed.  But the policy is not explicit
about this, and lintian insists there has to be a Copyright field.

The files usr/dash/hetio.[ch] also have different license terms from the
rest of usr/dash.

[...]

The files usr/include/paths.h and usr/utils/cat.c are also under this
license.

[...]

This file has since been removed upstream.

The file usr/utils/insmod.c is also GPL-2+.
[...]

Several license texts are missing at the bottom of the file.

I'm attaching a patch that I think covers all the files correctly, and
satisfies lintian.  If you could check my work that would be
appreciated.

Ben.