Package: devscripts
Version: 2.10.45
Severity: minor
Tags: patch

Hi,

the attached patch should provide a better check against the GNU GPL license
(v2/v3) - LGPL seems not to be affected by this particular wording.

Thanks,
Cristian
Index: licensecheck.pl
===================================================================
--- licensecheck.pl	(revision 1810)
+++ licensecheck.pl	(working copy)
@@ -405,7 +405,7 @@
 	$license = "LGPL$gplver$extrainfo $license";
     }
 
-    if ($licensetext =~ /is free software.? you can redistribute it and\/or modify it under the terms of (?:version [^ ]+ (?:\(?only\)? )?of )?the GNU General Public License/i) {
+    if ($licensetext =~ /is free software.? you (can|may) redistribute it and\/or modify it under the terms of (?:version [^ ]+ (?:\(?only\)? )?of )?the GNU General Public License/i) {
 	$license = "GPL$gplver$extrainfo $license";
     }

Attachment: signature.asc
Description: Digital signature

Reply via email to