diff --git a/third_party/devscripts/licensecheck.pl b/third_party/devscripts/licensecheck.pl index 983043562ff79..fc476af3d93e2 100755 --- a/third_party/devscripts/licensecheck.pl +++ b/third_party/devscripts/licensecheck.pl @@ -434,6 +434,10 @@ sub parselicense($) { $license = "MIT/X11 (BSD like) $license"; } + if ($licensetext =~ /This file is distributed under the University of Illinois Open Source License/){ + $license = "University of Illinois/NCSA Open Source License (BSD like) $license"; + } + if ($licensetext =~ /Permission to use, copy, modify, and(\/or)? distribute this software (and its documentation )?for any purpose (with or )?without fee is hereby granted, provided.*(copyright|entire) notice.*all copies/) { $license = "ISC $license"; } diff --git a/tools/checklicenses/checklicenses.py b/tools/checklicenses/checklicenses.py index 57cb29c4d648c..fc80024dcc79b 100755 --- a/tools/checklicenses/checklicenses.py +++ b/tools/checklicenses/checklicenses.py @@ -83,6 +83,7 @@ WHITELISTED_LICENSES = [ 'libpng', 'zlib/libpng', 'SGI Free Software License B', + 'University of Illinois/NCSA Open Source License (BSD like)', ]