The following commit has been merged in the master branch:
commit 917d833db3495bdc1252d3e739e8ef68f5710105
Author: Adam Langley <[email protected]>
Date: Tue Sep 27 15:07:53 2011 -0400
Add additional regexp for MIT licenses.
Harfbuzz (at least) uses an MIT-style license that isn't currently
recognised
(see below). This change adds recognition of that variant.
(This matches the form `Modern Variants' on
http://fedoraproject.org/wiki/Licensing:MIT)
Permission is hereby granted, without written agreement and without
license or royalty fees, to use, copy, modify, and distribute this
software and its documentation for any purpose, provided that the
above copyright notice and the following two paragraphs appear in
all copies of this software.
IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
Signed-off-by: James Vega <[email protected]>
diff --git a/scripts/licensecheck.pl b/scripts/licensecheck.pl
index ddbd037..461de28 100755
--- a/scripts/licensecheck.pl
+++ b/scripts/licensecheck.pl
@@ -441,6 +441,8 @@ sub parselicense($) {
$license = "MIT/X11 (BSD like) $license";
} elsif ($licensetext =~ /Permission is hereby granted, free of charge, to
any person obtaining a copy of this software and associated documentation files
\(the Software\), to deal in the Software/) {
$license = "MIT/X11 (BSD like) $license";
+ } elsif ($licensetext =~ /Permission is hereby granted, without written
agreement and without license or royalty fees, to use, copy, modify, and
distribute this software and its documentation for any purpose/) {
+ $license = "MIT/X11 (BSD like) $license";
}
if ($licensetext =~ /Permission to use, copy, modify, and(\/or)?
distribute this software for any purpose with or without fee is hereby granted,
provided.*copyright notice.*permission notice.*all copies/) {
--
Git repository for devscripts
--
To unsubscribe, send mail to [email protected].