licensecheck: add BSD licenses.
Change-Id: I764d03e4dc6d8925e656f37c98ece3da1fb1f001 Reviewed-on: https://code.wireshark.org/review/26335 Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
8a5385b9c9
commit
71f36379ae
|
@ -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)';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue