package/glibc: fix license information

The COPYINGv3 license file was added with upstream commit
e067e53080386e93dcf8b07e25fb6656f2c8941e, it applies to scripts used
during build.

LGPL-3.0+ applies to sysdeps/htl/raise.c, which is used for the Hurd
platform. Buildroot builds only Linux, so the file should not be
compiled, but it is part of the downloaded (and possibly shared, if
"make legal-info" is used) archive. The same applies to the manual.

Checked against the copyright file of the Debian "libc6" package (as
of 2.42-17 and 2.43-2), note that Debian excludes the manual.

Signed-off-by: Fiona Klute (Othermo GmbH) <fiona.klute@gmx.de>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Fiona Klute (Othermo GmbH)
2026-07-30 16:45:40 +02:00
committed by Julien Olivain
parent a4d4c7527a
commit 45b24c43a0
2 changed files with 10 additions and 2 deletions

View File

@@ -4,4 +4,6 @@ sha256 a818ca8450ef1e19a2413b2c9a2882f381f05be07b31e9b38085b6ba193d0af2 glibc-
# Hashes for license files
sha256 edaef632cbb643e4e7a221717a6c441a4c1a7c918e6e4d56debc3d8739b233f6 COPYINGv2
sha256 20e50fe7aae3e56378ebf0417d9de904f55a0e61e4df315333e632a4d3555d95 COPYING.LESSERv2
sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 COPYINGv3
sha256 b22a69aa3f80a5201818c66cb0df0f25f9fa13cf5861b0093a058dbd12d50dce LICENSES
sha256 297ad42928811894f3abc955526431b1e7856e6766eecb7de2a5a0aa2915e5cf manual/fdl-1.3.texi

View File

@@ -11,8 +11,14 @@ GLIBC_VERSION = 2.44-23-g11ac3d78fc5e4f7f2846002e099f773ad8ff82fc
GLIBC_SITE = https://gitlab.com/gnutools/glibc.git
GLIBC_SITE_METHOD = git
GLIBC_LICENSE = GPL-2.0+ (programs), LGPL-2.1+, BSD-3-Clause, MIT (library)
GLIBC_LICENSE_FILES = COPYINGv2 COPYING.LESSERv2 LICENSES
GLIBC_LICENSE = \
GPL-2.0+ (programs), \
LGPL-2.1+, BSD-2-Clause, BSD-3-Clause, BSL-1.0, FSFAP, ISC, other permissive licenses, public domain (library), \
LGPL-3.0+ (sysdeps/htl/raise.c, for Hurd only), \
GPL-3.0+ (scripts/move-if-change), \
GPL-3.0+ WITH Texinfo-exception (manual/texinfo.tex), \
GFDL-1.3-or-later (manual)
GLIBC_LICENSE_FILES = COPYINGv2 COPYING.LESSERv2 COPYINGv3 LICENSES manual/fdl-1.3.texi
GLIBC_CPE_ID_VENDOR = gnu
# Extract the base version (e.g. 2.38) from GLIBC_VERSION in order to