handle MIT

This commit is contained in:
Sébastien Loriot
2026-08-21 09:57:21 +02:00
parent 7bb1958b87
commit 6fc46ed6cc
+5 -1
View File
@@ -404,7 +404,7 @@ EOF
sub version {
print <<"EOF";
This is $progname, from the Debian devscripts package, version
This is $progname, from the Debian devscripts package, version
Copyright (C) 2007, 2008 by Adam D. Barratt <adam\@adam-barratt.org.uk>; based
on a script of the same name from the KDE SDK by <dfaure\@kde.org>.
@@ -615,6 +615,10 @@ sub parselicense {
if ($licensetext =~ /SPDX-License-Identifier \( GPL-3.0-or-later OR LicenseRef-Commercial \) AND MIT/i) {
$license = "GPL (v3 or later) AND MIT/X11 (BSD like)";
}
if ($licensetext =~ /SPDX-License-Identifier MIT/i) {
$license = "MIT/X11 (BSD like)";
}
}
$license = "UNKNOWN" if (!length($license));