From 9edfdd6e416bbe2789ed82f1b66a636ce2db3f19 Mon Sep 17 00:00:00 2001 From: Tony Hutter Date: Thu, 23 Apr 2026 13:08:28 -0700 Subject: [PATCH] [zfs-2.4.2] Whitelist some Makefile.am files from SPDX The Makefile.am files from libshare, libtpool, libunicode, and libuutil do not have SPDX lines. This is because those Makefiles only got SPDX lines after the big Makefile merge in commits like 309006a0c and 0d44b58d7 (which have not been ported to this branch). Add the Makefiles to the whitelist here so spdxcheck.pl passes. Signed-off-by: Tony Hutter --- scripts/spdxcheck.pl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/scripts/spdxcheck.pl b/scripts/spdxcheck.pl index 953f76408..cde11167b 100755 --- a/scripts/spdxcheck.pl +++ b/scripts/spdxcheck.pl @@ -164,6 +164,16 @@ my $untagged_patterns = q( tests/zfs-tests/include/tunables.cfg tests/zfs-tests/include/zpool_script.shlib tests/zfs-tests/tests/functional/mv_files/random_creation.ksh + + # These Makefiles are not present in master since they were merged + # into the larger libraries. It was only after that big Makefile merge + # that they got their SPDX lines. Since this branch does not include + # the big Makefile merge, we have to whitelist these older Makefile + # since they don't have SPDX lines. + lib/libshare/Makefile.am + lib/libtpool/Makefile.am + lib/libunicode/Makefile.am + lib/libuutil/Makefile.am ); # For files expected to have a license tags, these are the acceptable tags by