mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-03-22 08:51:30 +03:00
spdxcheck: enforce SPDX license tags on build system files
Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Tony Hutter <hutter2@llnl.gov> Signed-off-by: Rob Norris <robn@despairlabs.com> Closes #18077
This commit is contained in:
parent
85391ee931
commit
1051c3d211
@ -82,6 +82,11 @@ my $tagged_patterns = q(
|
|||||||
man/man?/*.?
|
man/man?/*.?
|
||||||
man/man?/*.?.in
|
man/man?/*.?.in
|
||||||
|
|
||||||
|
# Build system
|
||||||
|
*.ac
|
||||||
|
*.am
|
||||||
|
*.m4
|
||||||
|
|
||||||
# Unsuffixed programs (or generated of same)
|
# Unsuffixed programs (or generated of same)
|
||||||
cmd/zarcstat.in
|
cmd/zarcstat.in
|
||||||
cmd/zarcsummary
|
cmd/zarcsummary
|
||||||
@ -98,8 +103,6 @@ my $tagged_patterns = q(
|
|||||||
|
|
||||||
# Misc items that have clear licensing info but aren't easily matched,
|
# Misc items that have clear licensing info but aren't easily matched,
|
||||||
# or are the first of a class that we aren't ready to match yet.
|
# or are the first of a class that we aren't ready to match yet.
|
||||||
config/ax_code_coverage.m4
|
|
||||||
configure.ac
|
|
||||||
module/lua/README.zfs
|
module/lua/README.zfs
|
||||||
scripts/kmodtool
|
scripts/kmodtool
|
||||||
tests/zfs-tests/tests/functional/inheritance/README.config
|
tests/zfs-tests/tests/functional/inheritance/README.config
|
||||||
@ -141,7 +144,6 @@ my $untagged_patterns = q(
|
|||||||
tests/zfs-tests/tests/functional/tmpfile/tmpfile_003_pos.c
|
tests/zfs-tests/tests/functional/tmpfile/tmpfile_003_pos.c
|
||||||
tests/zfs-tests/tests/functional/tmpfile/tmpfile_test.c
|
tests/zfs-tests/tests/functional/tmpfile/tmpfile_test.c
|
||||||
|
|
||||||
autogen.sh
|
|
||||||
contrib/bpftrace/zfs-trace.sh
|
contrib/bpftrace/zfs-trace.sh
|
||||||
contrib/pyzfs/docs/source/conf.py
|
contrib/pyzfs/docs/source/conf.py
|
||||||
contrib/pyzfs/libzfs_core/test/__init__.py
|
contrib/pyzfs/libzfs_core/test/__init__.py
|
||||||
@ -190,8 +192,18 @@ my @path_license_tags = (
|
|||||||
'module/icp' => ['Apache-2.0', 'CDDL-1.0'],
|
'module/icp' => ['Apache-2.0', 'CDDL-1.0'],
|
||||||
'contrib/icp' => ['Apache-2.0', 'CDDL-1.0'],
|
'contrib/icp' => ['Apache-2.0', 'CDDL-1.0'],
|
||||||
|
|
||||||
# Python bindings are always Apache-2.0
|
# Python bindings are always Apache-2.0; CDDL is available for build
|
||||||
'contrib/pyzfs' => ['Apache-2.0'],
|
# files in that dir.
|
||||||
|
'contrib/pyzfs' => ['Apache-2.0', 'CDDL-1.0'],
|
||||||
|
|
||||||
|
# Common licenses for autoconf macros; some of these are complex
|
||||||
|
# with exceptions, so we don't have a "generic" list as such, just
|
||||||
|
# a list of all the ones currently in use.
|
||||||
|
'config' => [
|
||||||
|
'CDDL-1.0', 'LGPL-2.1-or-later', 'FSFAP', 'FSFULLR',
|
||||||
|
'GPL-2.0-or-later WITH Autoconf-exception-generic',
|
||||||
|
'GPL-3.0-or-later WITH Autoconf-exception-macro',
|
||||||
|
],
|
||||||
);
|
);
|
||||||
|
|
||||||
# This is a list of "special case" license tags that are in use in the tree,
|
# This is a list of "special case" license tags that are in use in the tree,
|
||||||
@ -237,9 +249,6 @@ my %override_file_license_tags = (
|
|||||||
'OpenSSL-standalone' => [qw(
|
'OpenSSL-standalone' => [qw(
|
||||||
module/icp/asm-x86_64/aes/aes_aesni.S
|
module/icp/asm-x86_64/aes/aes_aesni.S
|
||||||
)],
|
)],
|
||||||
'LGPL-2.1-or-later' => [qw(
|
|
||||||
config/ax_code_coverage.m4
|
|
||||||
)],
|
|
||||||
|
|
||||||
# Legacy inclusions of BSD-2-Clause files in Linux SPL.
|
# Legacy inclusions of BSD-2-Clause files in Linux SPL.
|
||||||
'BSD-2-Clause' => [qw(
|
'BSD-2-Clause' => [qw(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user