Home | History | Annotate | Download | only in devscripts

Lines Matching refs:licensetext

431     my ($licensetext) = @_;
438 if ($licensetext =~ /version ([^, ]+?)[.,]? (?:\(?only\)?.? )?(?:of the GNU (Affero )?General Public License )?(as )?published by the Free Software Foundation/i or
439 $licensetext =~ /GNU (?:Affero )?General Public License (?:as )?published by the Free Software Foundation; version ([^, ]+?)[.,]? /i or
440 $licensetext =~ /GNU (?:Affero )?General Public License,? [Vv]ersion (\d+(?:\.\d+)?)[ \.]/) {
442 } elsif ($licensetext =~ /either version ([^ ]+)(?: of the License)?, or \(at your option\) any later version/) {
446 if ($licensetext =~ /version ([^, ]+?)[.,]? (?:or later|or any later version) (?:of the GNU (?:Lesser |Library )General Public License )(as )?published by the Free Software Foundation/i or
447 $licensetext =~ /GNU (?:Lesser |Library )General Public License (?:(?:as )?published by the Free Software Foundation;)?,? (?:either )?[Vv]ersion ([^, ]+?)(?: of the license)?[.,]? (?:or later|or (?:\(at your option\) )?any later version)/i or
448 $licensetext =~ /GNU (?:Lesser |Library )General Public License(?: \(LGPL\))?,? [Vv]ersion (\d+(?:\.\d+)?)[ \.]/) {
452 if ($licensetext =~ /permission (?:is (also granted|given))? to link (the code of )?this program with (any edition of )?(Qt|the Qt library)/i) {
456 if ($licensetext =~ /(All changes made in this file will be lost|DO NOT (EDIT|delete this file)|Generated (automatically|by|from)|generated.*file)/i) {
460 if ($licensetext =~ /is (free software.? you can redistribute it and\/or modify it|licensed) under the terms of (version [^ ]+ of )?the (GNU (Library |Lesser )General Public License|LGPL)/i or
461 $licensetext =~ /(is distributed|may be used).*terms.*LGPL/) {
469 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) {
471 } elsif ($licensetext =~ /is distributed under the terms of the GNU General Public License,/
474 } elsif ($licensetext =~ /is distributed.*terms.*[^L]GPL/) {
482 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/) {
484 } elsif ($licensetext
488 if ($licensetext =~ /opensource\.org\/licenses\/mit-license\.php/) {
490 } elsif ($licensetext =~ /Permission is hereby granted, free of charge, to any person obtaining a copy of this software and(\/or)? associated documentation files \(the (Software|Materials)\), to deal in the (Software|Materials)/) {
492 } elsif ($licensetext =~ /Permission is hereby granted, without written agreement and without license or royalty fees, to use, copy, modify, and distribute this software and its documentation for any purpose/) {
496 if ($licensetext =~ /This file is distributed under the University of Illinois Open Source License/){
500 if ($licensetext =~ /Permission to use, copy, modify, and(\/or)? distribute this software (and its documentation )?for any purpose (with or )?without fee is hereby granted, provided.*(copyright|entire) notice.*all copies/i) {
504 if ($licensetext =~ /THIS SOFTWARE IS PROVIDED .*AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY/ ||
505 $licensetext =~ /THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABIL- ITY/) {
506 if ($licensetext =~ /All advertising materials mentioning features or use of this software must display the following/) {
508 } elsif ($licensetext =~ /be used to endorse or promote products derived from this software/) {
510 } elsif ($licensetext =~ /Redistributions of source code must retain the above copyright notice/) {
515 } elsif ($licensetext =~ /Use of this source code is governed by a BSD-style license/) {
517 } elsif ($licensetext =~ /BSD terms apply/) {
519 } elsif ($licensetext =~ /subject to the BSD License/) {
522 } elsif ($licensetext =~ /license BSD/) {
524 } elsif ($licensetext =~ /GOVERNED BY A BSD-STYLE SOURCE LICENSE/) {
528 if ($licensetext =~ /Mozilla Public License( Version|, v.) ([^ ]+[^., ]),?/) {
532 if ($licensetext =~ /Released under the terms of the Artistic License ([^ ]+)/) {
536 if ($licensetext =~ /is free software under the Artistic [Ll]icense/) {
540 if ($licensetext =~ /This (program|library) is free software; you can redistribute it and\/or modify it under the same terms as Perl itself/) {
544 if ($licensetext =~ /under the terms of the Apache ([^ ]+) License OR version 2 of the GNU/) {
546 } elsif ($licensetext =~ /under the Apache License, Version ([^ ]+)/) {
550 if ($licensetext =~ /(THE BEER-WARE LICENSE)/i) {
554 if ($licensetext =~ /This source file is subject to version ([^ ]+) of the PHP license/) {
558 if ($licensetext =~ /under the terms of the CeCILL /) {
562 if ($licensetext =~ /under the terms of the CeCILL-([^ ]+) /) {
566 if ($licensetext =~ /under the SGI Free Software (B License|License B)/) {
570 if ($licensetext =~ /in the public domain/i) {
574 if ($licensetext =~ /terms of the Common Development and Distribution License(, Version ([^(]+))? \(the License\)/) {
578 if ($licensetext =~ /Microsoft Permissive License \(Ms-PL\)/) {
582 if ($licensetext =~ /as defined in and that are subject to the Apple Public Source License([ ,-]+Version ([^ ]+)?(\.))/) {
584 } elsif ($licensetext =~ /provided that if you redistribute the Apple Software in its entirety and without modifications, you must retain this notice and the following text and disclaimers in all such redistributions of the Apple Software/) {
589 if ($licensetext =~ /Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license \(the \"Software\"\)/ or
590 $licensetext =~ /Boost Software License([ ,-]+Version ([^ ]+)?(\.))/i) {
594 if ($licensetext =~ /PYTHON SOFTWARE FOUNDATION LICENSE (VERSION ([^ ]+))/i) {
598 if ($licensetext =~ /The origin of this software must not be misrepresented.*Altered source versions must be plainly marked as such.*This notice may not be removed or altered from any source distribution/ or
599 $licensetext =~ /see copyright notice in zlib\.h/) {
601 } elsif ($licensetext =~ /This code is released under the libpng license/) {
605 if ($licensetext =~ /under MIT license/) {
609 if ($licensetext =~ /License MIT(-| )License/) {
613 if ($licensetext =~ /As a special exception, you may create a larger work that contains part or all of the Bison parser skeleton and distribute that work under terms of your choice/) {
617 if ($licensetext =~ /As a special exception to the GNU General Public License, if you distribute this file as part of a program or library that is built using GNU Libtool, you may include this file under the same distribution terms that you use for the rest of that program/) {
621 if ($licensetext =~ /These materials are protected by copyright laws and contain material proprietary to the Khronos Group, Inc\. You may use these materials for implementing Khronos specifications, without altering or removing any trademark, copyright or other notice from the specification/) {