aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Norris <robn@despairlabs.com>2025-12-20 05:17:11 +0000
committerBrian Behlendorf <behlendorf1@llnl.gov>2026-01-08 23:08:32 +0000
commit1051c3d21140c60c7139099eceb97e6ded7bca32 (patch)
tree318454733a96b9ba34077e65ecf7167b9c1ff7df
parent85391ee9314d3e0ee7787351decc95adda3d03ec (diff)
-rwxr-xr-xscripts/spdxcheck.pl25
1 files changed, 17 insertions, 8 deletions
diff --git a/scripts/spdxcheck.pl b/scripts/spdxcheck.pl
index e1af3150bccd..8e40cee835cb 100755
--- a/scripts/spdxcheck.pl
+++ b/scripts/spdxcheck.pl
@@ -82,6 +82,11 @@ my $tagged_patterns = q(
man/man?/*.?
man/man?/*.?.in
+ # Build system
+ *.ac
+ *.am
+ *.m4
+
# Unsuffixed programs (or generated of same)
cmd/zarcstat.in
cmd/zarcsummary
@@ -98,8 +103,6 @@ my $tagged_patterns = q(
# 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.
- config/ax_code_coverage.m4
- configure.ac
module/lua/README.zfs
scripts/kmodtool
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_test.c
- autogen.sh
contrib/bpftrace/zfs-trace.sh
contrib/pyzfs/docs/source/conf.py
contrib/pyzfs/libzfs_core/test/__init__.py
@@ -190,8 +192,18 @@ my @path_license_tags = (
'module/icp' => ['Apache-2.0', 'CDDL-1.0'],
'contrib/icp' => ['Apache-2.0', 'CDDL-1.0'],
- # Python bindings are always Apache-2.0
- 'contrib/pyzfs' => ['Apache-2.0'],
+ # Python bindings are always Apache-2.0; CDDL is available for build
+ # 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,
@@ -237,9 +249,6 @@ my %override_file_license_tags = (
'OpenSSL-standalone' => [qw(
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.
'BSD-2-Clause' => [qw(