Author: schoenfeld-guest
Date: 2008-02-28 19:30:36 +0000 (Thu, 28 Feb 2008)
New Revision: 1073

Modified:
   trunk/debian/changelog
   trunk/scripts/licensecheck.pl
Log:
* Detect a less common form of GPL usage

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog      2008-02-28 17:52:17 UTC (rev 1072)
+++ trunk/debian/changelog      2008-02-28 19:30:36 UTC (rev 1073)
@@ -77,6 +77,7 @@
 
   [ Patrick Schoenfeld ]
   * licensecheck: Support a less common form of MIT license usage
+  * Detect a less common form of GPL usage
 
   [ Mohammed Adnène Trojette ]
   * debian/bug:
@@ -88,7 +89,7 @@
   * debcommit: add support for a new --diff option which dumps changes on
     standard output instead of committing them
 
- -- Adam D. Barratt <[EMAIL PROTECTED]>  Wed, 27 Feb 2008 18:18:56 +0000
+ -- Patrick Schoenfeld <[EMAIL PROTECTED]>  Thu, 28 Feb 2008 20:30:36 +0100
 
 devscripts (2.10.16) unstable; urgency=low
 

Modified: trunk/scripts/licensecheck.pl
===================================================================
--- trunk/scripts/licensecheck.pl       2008-02-28 17:52:17 UTC (rev 1072)
+++ trunk/scripts/licensecheck.pl       2008-02-28 19:30:36 UTC (rev 1073)
@@ -376,6 +376,10 @@
        $license = "GPL$gplver$extrainfo $license";
     }
 
+       if ($licensetext =~ /is distributed.*terms.*GPL$/) {
+       $license = "GPL (unversioned/unknown version)";
+       }
+
     if ($licensetext =~ /This file is part of the .*Qt GUI Toolkit. This file 
may be distributed under the terms of the Q Public License as defined/) {
        $license = "QPL (part of Qt) $license";
     }



-- 
To unsubscribe, send mail to [EMAIL PROTECTED]

Reply via email to