Lines Matching refs:of

2 # This script was originally based on the script of the same name from
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 2 of the License, or
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19 # You should have received a copy of the GNU General Public License along
33 I<list of files and directories to check>
38 passed to it, by searching the start of the file for text belonging to
41 If any of the arguments passed are directories, B<licensecheck> will add
42 the files contained within to the list of files to process.
57 Specify the number of lines of each file's header which should be parsed
62 When processing the list of files and directories, the regular
68 Specify that the contents of directories should be added
74 decide which files to check the license of.
113 If this is set to a positive number then the specified number of lines
114 at the start of each file will be read whilst attempting to determine
123 all rights reserved; based on a script of the same name from the KDE
126 You are free to redistribute this code under the terms of the GNU
362 |\(c\) # Legally-null representation of sign
367 |and|or # Part of a sentence
396 --verbose Display the header of each file before its
398 --lines, -l Specify how many lines of the file header
405 --recursive, -r Add the contents of directories recursively
421 on a script of the same name from the KDE SDK by <dfaure\@kde.org>.
424 You are free to redistribute this code under the terms of the
438 if ($licensetext =~ /version ([^, ]+?)[.,]? (?:\(?only\)?.? )?(?:of the GNU (Affero )?General Public License )?(as )?published by the Free Software Foundation/i or
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 )|(?:Lesser|Library) GNU )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
452 if ($licensetext =~ /permission (?:is (also granted|given))? to link (the code of )?this program with (any edition of )?(Qt|the Qt library)/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
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,/
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/) {
483 $license = "QPL (part of Qt) $license";
484 } elsif ($licensetext =~ /may be distributed under the terms of the Q Public License as defined/) {
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)/) {
500 if ($licensetext =~ /This file is part of the Independent JPEG Group(')?s software.*For conditions of distribution and use, see the accompanying README file/i) {
504 if ($licensetext =~ /the University of Illinois Open Source License/){
505 $license = "University of Illinois/NCSA Open Source License (BSD like) $license";
514 if ($licensetext =~ /All advertising materials mentioning features or use of this software must display the following/) {
518 } elsif ($licensetext =~ /Redistributions of source code must retain the above copyright notice/) {
523 } elsif ($licensetext =~ /Use of this source code is governed by a BSD-style license/) {
542 if ($licensetext =~ /Released under the terms of the Artistic License ([^ ]+)/) {
554 if ($licensetext =~ /under the terms of the Apache ([^ ]+) License OR version 2 of the GNU/) {
564 if ($licensetext =~ /This source file is subject to version ([^ ]+) of the PHP license/) {
568 if ($licensetext =~ /under the terms of the CeCILL /) {
572 if ($licensetext =~ /under the terms of the CeCILL-([^ ]+) /) {
584 if ($licensetext =~ /terms of the Common Development and Distribution License(, Version ([^(]+))? \(the License\)/) {
594 } 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/) {
599 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
608 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
623 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/) {
627 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/) {
635 if ($licensetext =~ /This file is part of the FreeType project, and may only be used(,)? modified(,)? and distributed under the terms of the FreeType project license, LICENSE\.TXT\. By continuing to use, modify, or distribute this file you indicate that you have read the license and understand and accept it fully/) {
638 if ($licensetext =~ /This software, and all works of authorship, whether in source or object code form as indicated by the copyright notice.*is made available, and may only be used, modified, and distributed under the FreeType Project License, LICENSE\.TXT\. Additionally, subject to the terms and conditions of the FreeType Project License, each contributor to the Work hereby grants to any individual or legal entity exercising permissions granted by the FreeType Project License and this section.*a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable.*patent license to make/) {