The following commit has been merged in the jessie branch:
commit 7dd76ec4d622d3d605a7ddfcbcdf5a7c9cb7ab1b
Author: Dmitry Smirnov <[email protected]>
Date: Wed Oct 10 18:12:29 2012 +1100
bugfix: detect GPL license version
Signed-off-by: Benjamin Drung <[email protected]>
diff --git a/scripts/licensecheck.pl b/scripts/licensecheck.pl
index 0b8126f..57e4234 100755
--- a/scripts/licensecheck.pl
+++ b/scripts/licensecheck.pl
@@ -429,7 +429,7 @@ sub parselicense {
my $license = "";
if ($licensetext =~ /version ([^, ]+?)[.,]? (?:\(?only\)?.? )?(?:of the
GNU (Affero )?(Lesser |Library )?General Public License )?(as )?published by
the Free Software Foundation/i or
- $licensetext =~ /GNU (?:Affero )?(?:Lesser |Library )?General Public
License (?:as )?published by the Free Software Foundation; version ([^,
]+?)[.,]? /i) {
+ $licensetext =~ /GNU (?:Affero )?(?:Lesser |Library )?General Public
License (?:as )?published by the Free Software Foundation[;,] version ([^,
]+?)[.,]? /i) {
$gplver = " (v$1)";
} elsif ($licensetext =~ /GNU (?:Affero )?(?:Lesser |Library )?General
Public License, version (\d+(?:\.\d+)?)[ \.]/) {
--
Git repository for devscripts
_______________________________________________
devscripts-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel