test/data/: Add SPDX license information based on current knowledge

Signed-off-by: Ralf Habacker <ralf.habacker@freenet.de>
This commit is contained in:
Ralf Habacker 2022-11-06 00:02:09 +01:00
parent 4498a26d33
commit 734a29e0ca
2 changed files with 86 additions and 1 deletions

View file

@ -0,0 +1,18 @@
Several older source files were contributed to dbus without explicitly
specifying a license or a copyright holder. A reasonable assumption is
that those files are probably intended to be licensed under
"AFL-2.1 OR GPL-2.0-or-later".
Other projects wishing to reuse those source files should do whatever
level of legal checking and research they consider to be appropriate.
A note explaining why this license is useful has been added at
https://gitlab.freedesktop.org/dbus/dbus/-/merge_requests/304#note_2044026.
The following text has been slightly modified as several files are
affected:
...
The fact that its not MIT-licensed would be machine-readable, and we
would avoid the situation where someone accidentally does add
SPDX-License-Identifier: MIT (or some other valid license) to the
file(s) later on in a second pass without realising the history here.

View file

@ -9,7 +9,74 @@ SPDX-FileCopyrightText = ["© 2022-2023 Meson contributors"]
SPDX-License-Identifier = "MIT"
[[annotations]]
path = "doc/*.xml.in"
path = ["test/data/invalid-config-files/*.conf"]
precedence = "aggregate"
SPDX-FileCopyrightText = ["Copyright © 2018 Collabora Ltd"]
SPDX-License-Identifier = "AFL-2.1 OR GPL-2.0-or-later"
[[annotations]]
path = [
"doc/*.xml.in",
"test/data/auth/*-script",
"test/data/invalid-config-files/badselinux-2.conf",
"test/data/invalid-config-files/truncated-file.conf",
"test/data/invalid-config-files/badselinux-1.conf"
]
precedence = "aggregate"
SPDX-FileCopyrightText = ["(c) 2003 Red Hat, Inc."]
SPDX-License-Identifier = "AFL-2.1 OR GPL-2.0-or-later"
[[annotations]]
path = [
"test/data/invalid-config-files/circular-1.conf",
"test/data/invalid-config-files/circular-2.conf",
"test/data/invalid-config-files/circular-3.conf",
"test/data/invalid-config-files/not-well-formed.conf"
]
precedence = "override"
SPDX-License-Identifier = "LicenseRef-unknown"
[[annotations]]
path = [
"test/data/auth/external-username.auth-script",
"test/data/auth/external-auto.auth-script"
]
precedence = "override"
SPDX-FileCopyrightText = ["Copyright © 2018 Collabora Ltd"]
SPDX-License-Identifier = "AFL-2.1 OR GPL-2.0-or-later"
[[annotations]]
path = [
"test/data/auth/cookie-sha1-username.auth-script",
"test/data/auth/cookie-sha1.auth-script"
]
precedence = "override"
SPDX-FileCopyrightText = ["Copyright © 2019 Collabora Ltd"]
SPDX-License-Identifier = "AFL-2.1 OR GPL-2.0-or-later"
[[annotations]]
path = ["test/data/auth/fallback.auth-script"]
precedence = "override"
SPDX-License-Identifier = "LicenseRef-unknown"
[[annotations]]
path = [
"bus/*.in",
"test/data/equiv-config-files/*",
"test/data/equiv-config-files/basic/*",
"test/data/equiv-config-files/basic/basic.d/*",
"test/data/equiv-config-files/entities/*",
"test/data/equiv-config-files/entities/basic.d/*",
"test/data/invalid-service-files-system/*",
"test/data/sha-1/*",
"test/data/systemd-activation/*",
"test/data/valid-config-files-system/*",
"test/data/valid-config-files-system/system.d/*",
"test/data/valid-config-files/*",
"test/data/valid-config-files/basic.d/*",
"test/data/valid-service-files/*",
"test/data/valid-service-files-system/*",
"test/data/valid-service-files-system/system.d/*",
]
precedence = "aggregate"
SPDX-License-Identifier = "LicenseRef-unknown"