[PATCH] licensecheck: LGPL blurbs with the "terms and conditions" variation

Yanko Kaneti yaneti at declera.com
Fri Jun 28 10:58:03 UTC 2013


---
 scripts/licensecheck.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/licensecheck.pl b/scripts/licensecheck.pl
index 5174c81..fd51bbb 100755
--- a/scripts/licensecheck.pl
+++ b/scripts/licensecheck.pl
@@ -447,7 +447,7 @@ sub parselicense {
 	$license = "GENERATED FILE";
     }
 
-    if ($licensetext =~ /((is free software.? )?you can redistribute (it|them) and\/or modify (it|them)|is licensed) under the terms of (version [^ ]+ of )?the (GNU (Library |Lesser )General Public License|LGPL)/i) {
+    if ($licensetext =~ /((is free software.? )?you can redistribute (it|them) and\/or modify (it|them)|is licensed) under the terms (and conditions )?of (version [^ ]+ of )?the (GNU (Library |Lesser )General Public License|LGPL)/i) {
 	$license = "LGPL$gplver$extrainfo $license";
     }
 
-- 
1.8.3.1





More information about the devscripts-devel mailing list