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

Yanko Kaneti yaneti at declera.com
Sat Jun 29 11:18:44 UTC 2013


On Sat, 2013-06-29 at 12:31 +0200, Benjamin Drung wrote:
> Hi,
> 
> do you have a test case that uses "terms and conditions"?

Stumbled upon here:
https://github.com/01org/dleyna-core/tree/master/libdleyna/core
Maybe the Intel lawyers just wanted to be different...

> 
> Am Freitag, den 28.06.2013, 13:58 +0300 schrieb Yanko Kaneti:
> > ---
> >  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";
> >      }
> 





More information about the devscripts-devel mailing list