Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Side by Side Diff: third_party/devscripts/chromium-1.patch

Issue 7875009: Linux: check in Debian's licensecheck utility. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/devscripts/README.chromium ('k') | third_party/devscripts/licensecheck.pl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 --- licensecheck.pl.orig 2011-09-12 15:54:33.369133553 -0700
2 +++ licensecheck.pl 2011-09-12 16:53:51.189069386 -0700
3 @@ -406,7 +406,7 @@
4 $extrainfo = " (with Qt exception)$extrainfo"
5 }
6
7 - if ($licensetext =~ /(All changes made in this file will be lost|DO NOT (ED IT|delete this file)|Generated by)/i) {
8 + if ($licensetext =~ /(All changes made in this file will be lost|DO NOT (ED IT|delete this file)|Generated (automatically|by|from)|generated.*file)/i) {
9 $license = "GENERATED FILE";
10 }
11
12 @@ -437,7 +437,7 @@
13 $license = "QPL $license";
14 }
15
16 - if ($licensetext =~ /http:\/\/opensource\.org\/licenses\/mit-license\.php/) {
17 + if ($licensetext =~ /opensource\.org\/licenses\/mit-license\.php/) {
18 $license = "MIT/X11 (BSD like) $license";
19 } elsif ($licensetext =~ /Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files \(the Software\), to deal in the Software/) {
20 $license = "MIT/X11 (BSD like) $license";
21 @@ -459,6 +459,12 @@
22 }
23 }
24
25 + if ($licensetext =~ /Use of this source code is governed by a BSD-style lic ense/) {
26 + $license = "BSD-like $license";
27 + } elsif ($licensetext =~ /BSD terms apply.*see.*COPYING.*for details/) {
28 + $license = "BSD-like $license";
29 + }
30 +
31 if ($licensetext =~ /Mozilla Public License Version ([^ ]+)/) {
32 $license = "MPL (v$1) $license";
33 }
34 @@ -495,7 +501,7 @@
35 $license = "SGI Free Software License B $license";
36 }
37
38 - if ($licensetext =~ /is in the public domain/i) {
39 + if ($licensetext =~ /is.*in the public domain|disclaims copyright/i) {
40 $license = "Public domain";
41 }
42
43 @@ -503,6 +509,10 @@
44 $license = "CDDL " . ($1 ? "(v$2) " : '') . $license;
45 }
46
47 + if ($licensetext =~ /Microsoft Permissive License \(Ms-PL\)/) {
48 + $license = "Ms-PL $license";
49 + }
50 +
51 if ($licensetext =~ /Permission is hereby granted, free of charge, to any p erson or organization obtaining a copy of the software and accompanying document ation covered by this license \(the \"Software\"\)/ or
52 $licensetext =~ /Boost Software License([ ,-]+Version ([^ ]+)?(\.))/i) {
53 $license = "BSL " . ($1 ? "(v$2) " : '') . $license;
54 @@ -515,6 +525,8 @@
55 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
56 $licensetext =~ /see copyright notice in zlib\.h/) {
57 $license = "zlib/libpng $license";
58 + } elsif ($licensetext =~ /This code is released under the libpng license/) {
59 + $license = "libpng $license";
60 }
61
62 if ($licensetext =~ /Do What The Fuck You Want To Public License, Version ( [^, ]+)/i) {
OLDNEW
« no previous file with comments | « third_party/devscripts/README.chromium ('k') | third_party/devscripts/licensecheck.pl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698