liburcu: correct licenses

I've listed what files contain each SPDX-License-Identifier, and tried
to classify their purpose as below:

- BSD-2-Clause: `tests/**` (tests)
- CC0-1.0: `extras/abi/**/*.xml` (documentation)
- CC-BY-4.0: `ChangeLog`, `**/*.md` (documentation)
- FSFAP: `m4/*.m4` (build system)
- GPL-2.0-only: `tests/**`, `extras/abi/dump_abi.sh` (tests,
  documentation)
- GPL-2.0-or-later: `scripts/urcu-api-list.sh`, `tests/**` (tests,
  documentation)
- GPL-2.0-or-later WITH Autoconf-exception-2.0: `m4/ae_pprint.m4` (build
  system)
- GPL-2.0-or-later WITH LicenseRef-Autoconf-exception-macro: `m4/*.m4`
  (build system)
- GPL-3.0-or-later: `tests/utils/tap.sh` (tests)
- LGPL-2.1-only: `configure.ac`, `include/**/*.h` (build system,
  headers)
- LGPL-2.1-or-later: `doc/**`, `include/**/*.h`, `src/**/*.{c,h}`,
  `tests/**`, (documentation, headers, source, tests)
- LicenseRef-Boehm-GC: `include/**/*.h`, `tests/common/thread-id.h`
  (headers, documentation)
- MIT: `.gitignore`, `.gitreview`, `Makefile.am`, `bootstrap`, `doc/**`,
  `extras/Makefile.am`, `include/Makefile.am`, `include/**/*.h`,
  `src/**/*.{am,h,pc.in}`, `tests/**` (documentation, build system,
  headers, source control)

Then in PKG_LICENSE I've included licenses which are used for headers,
source, or build system. I've also corrected PKG_LICENSE_FILES: license
texts are in the LICENSES directory, lgpl-relicensing ends with .md, and
I've added the overarching LICENSE.md.

Signed-off-by: Linus Kardell <linus.kardell@infobric.com>
This commit is contained in:
Linus Kardell
2025-09-10 11:59:17 +02:00
committed by Wesley Gimenes
parent c5f0449bb6
commit 971672252d

View File

@@ -10,11 +10,14 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=liburcu
PKG_VERSION:=0.15.3
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_MAINTAINER:=Daniel Salzman <daniel.salzman@nic.cz>
PKG_LICENSE:=LGPL-2.1-or-later GPL-2.0-or-later MIT
PKG_LICENSE_FILES:=lgpl-2.1.txt gpl-2.0.txt lgpl-relicensing.txt
PKG_LICENSE:=LGPL-2.1-only LGPL-2.1-or-later GPL-2.0-or-later-with-Autoconf-exception-2.0 \
GPL-2.0-or-later-with-LicenseRef-Autoconf-exception-macro MIT FSFAP LicenseRef-Boehm-GC
PKG_LICENSE_FILES:=LICENSES/LGPL-2.1-only.txt LICENSES/LGPL-2.1-or-later.txt LICENSES/GPL-2.0-or-later.txt \
LICENSES/Autoconf-exception-2.0.txt LICENSES/LicenseRef-Autoconf-exception-macro.txt \
LICENSES/MIT.txt LICENSES/FSFAP.txt LICENSES/LicenseRef-Boehm-GC.txt lgpl-relicensing.md LICENSE.md
PKG_SOURCE:=userspace-rcu-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://lttng.org/files/urcu/