aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2018-03-07 15:39:29 +0100
committerAnders Broman <a.broman58@gmail.com>2018-03-07 15:41:50 +0000
commit71f36379aef2ff9fcf092619011f02f68ce9d3b2 (patch)
tree5abcc8f00909d585f8699a79d7c2cc29eed4d4fd
parent8a5385b9c9ec4ccfd692263eb7c59b09f9bc1a15 (diff)
licensecheck: add BSD licenses.
Change-Id: I764d03e4dc6d8925e656f37c98ece3da1fb1f001 Reviewed-on: https://code.wireshark.org/review/26335 Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rwxr-xr-xtools/licensecheck.pl8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/licensecheck.pl b/tools/licensecheck.pl
index dc5428ecc6..8f049e81f7 100755
--- a/tools/licensecheck.pl
+++ b/tools/licensecheck.pl
@@ -695,6 +695,14 @@ sub parselicense {
$license = 'BSD (3 clause)';
}
+ if ($licensetext =~ /SPDX-License-Identifier:\s+BSD-2-Clause/i) {
+ $license = 'BSD (2 clause)';
+ }
+
+ if ($licensetext =~ /SPDX-License-Identifier:\s+BSD-1-Clause/i) {
+ $license = 'BSD';
+ }
+
if ($licensetext =~ /SPDX-License-Identifier:\s+MIT/i) {
$license = 'MIT/X11 (BSD like)';
}