/
licenses.json
381 lines (379 loc) · 12.8 KB
/
licenses.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
{
"AFL-1.1": {
"alias": "^AFL[- ]?1[- .]1$",
"family": "AFL",
"recognize": "Licensed under the Academic Free License version 1.1."
},
"AFL-1.2": {
"alias": "^AFL[- ]?1[- .]2$",
"family": "AFL",
"recognize": "Licensed under the Academic Free License version 1.2 "
},
"AFL-2.0": {
"alias": "^AFL[- ]?2$",
"family": "AFL",
"recognize": "Licensed under the Academic Free License version 2.0 "
},
"AFL-2.1": {
"alias": "^AFL[- ]?2[- .]1$",
"family": "AFL",
"recognize": "Licensed under the Academic Free License version 2.1 "
},
"AFL-3.0": {
"alias": "^AFL[- ]?3$",
"family": "AFL",
"recognize": "Licensed under the Academic Free License version 3.0 "
},
"AGPL-1.0": {
"alias": "^AGPL[- ]?1$",
"family": "AGPL"
},
"AGPL-3.0": {
"alias": "^AGPL[- ]?3$",
"family": "AGPL",
"match": "(:<project><one line to give the program's name and a brief idea of what it does.>)\\s*Copyright \\(C\\) (:<years><year>) (:<author><name of author>)",
"replace": "$project\nCopyright (C) $years $author",
"header": "<one line to give the program's name and a brief idea of what it does.>([\\r\\n]+ .*)*",
"headerClean": "^ ",
"recognize": ""
},
"Apache-1.0": {
"alias": "^Apache[- ]?1$",
"family": "Apache"
},
"Apache-1.1": {
"alias": "^Apache[- ]?1[- .]1$",
"family": "Apache"
},
"Apache-2.0": {
"url": "http://opensource.org/licenses/Apache-2.0",
"alias": "^Apache[- ]?2$",
"family": "Apache",
"common": true,
"motivation": "I am concerned about patents.",
"motivationYou": "Because you are concerned about patents.",
"desc": "The Apache License is a permissive license similar to the MIT License, but also provides an express grant of patent rights from contributors to users.\n\nApache, SVN, and NuGet use the Apache License.",
"match": "Copyright (:<years>\\[yyyy\\]) (:<author>\\[name of copyright owner\\])",
"replace": "Copyright $years $author",
"header": ".*\\s*Licensed under the Apache License[\\s\\S]*",
"recognize": ""
},
"APL-1.0": {
"alias": "^APL[- ]?1$"
},
"APSL-1.0": {
"alias": "^APSL[- ]?1$",
"family": "APSL"
},
"APSL-1.1": {
"alias": "^APSL[- ]?1[- .]1$",
"family": "APSL"
},
"APSL-1.2": {
"alias": "^APSL[- ]?1[- .]2$",
"family": "APSL"
},
"APSL-2.0": {
"alias": "^APSL[- ]?2$",
"family": "APSL"
},
"Artistic-1.0-cl8": {
"family": "Artistic"
},
"Artistic-1.0-Perl": {
"family": "Artistic"
},
"Artistic-1.0": {
"alias": "^Artistic[- ]?1$",
"family": "Artistic"
},
"Artistic-2.0": {
"alias": "^Artistic[- ]?2$",
"family": "Artistic"
},
"BSD-2-Clause": {
"alias": "^BSD[- ]?2$",
"family": "BSD",
"match": "Copyright \\(c\\) (:<years><YEAR>), (:<author><OWNER>)",
"replace": "Copyright (c) $years $author",
"recognize": "Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution."
},
"BSD-3-Clause": {
"alias": "^BSD[- ]?3$",
"family": "BSD",
"match": "Copyright \\(c\\) (:<years><YEAR>), (:<author><OWNER>)",
"replace": "Copyright (c) $years $author",
"recognize": "Neither the name of the ORGANIZATION nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission."
},
"BSD-4-Clause": {
"alias": "^BSD[- ]?4$",
"family": "BSD",
"match": "Copyright \\(c\\) (:<years><year>), (:<author><copyright holder>)",
"replace": "Copyright (c) $years $author",
"recognize": "All advertising materials mentioning features or use of this software must display the following acknowledgement:"
},
"CDDL-1.0": {
"alias": "^CDDL[- ]?1$",
"family": "CDDL"
},
"CDDL-1.1": {
"alias": "^CDDL[- ]?1[- .]1$",
"family": "CDDL"
},
"CPAL-1.0": {
"alias": "^CPAL[- ]?1?$"
},
"CPL-1.0": {
"alias": "^CPL[- ]?1?$"
},
"CPOL-1.02": {
"alias": "^CPOL[- ]?1?([- .]03)?$"
},
"ECL-1.0": {
"alias": "^ECL[- ]?1$",
"family": "ECL"
},
"ECL-2.0": {
"alias": "^ECL[- ]?2$",
"family": "ECL"
},
"EPL-1.0": {
"alias": "^ECL[- ]?1?$"
},
"GFDL-1.1": {
"alias": "^GFDL[- ]?1[- .]1$",
"family": "GFDL"
},
"GFDL-1.2": {
"alias": "^GFDL[- ]?1[- .]2$",
"family": "GFDL"
},
"GFDL-1.3": {
"alias": "^GFDL[- ]?1[- .]3$",
"family": "GFDL"
},
"ISC": {
"match": "(?:[\\s\\S]*)(:<years>1995-2003) by (:<author>Internet Software Consortium)",
"replace": "ISC License:\n\nCopyright (c) $years by $author",
"recognize": "ISC License:"
},
"WTFPL": {
"match": "Copyright \\(C\\) (:<years>2004) (:<author>Sam Hocevar) (:<email><sam@hocevar.net>)",
"replace": "Copyright (c) $years $author $email",
"recognize": "DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE"
},
"MIT": {
"url" : "http://opensource.org/licenses/MIT",
"family": "MIT",
"common": true,
"motivation": "I want it simple and permissive",
"motivationYou": "Because you want it simple and permissive",
"desc": "The MIT License is a permissive license that is short and to the point. It lets people do anything they want with your code as long as they provide attribution back to you and don’t hold you liable.\n\njQuery and Rails use the MIT License.",
"match": "Copyright \\(c\\) (:<years><year>) (:<author><copyright holders>)",
"replace": "Copyright (c) $years $author",
"recognize": "^MIT License\\s+Copyright"
},
"MPL-1.0": {
"alias": "^MPL[- ]?1$",
"family": "MPL"
},
"MPL-1.1": {
"alias": "^MPL[- ]?1[- .]1$",
"family": "MPL"
},
"MPL-2.0": {
"alias": "^MPL[- ]?2$",
"family": "MPL"
},
"OSL-1.0": {
"alias": "^OSL[- ]?1$",
"family": "OSL"
},
"OSL-1.1": {
"alias": "^OSL[- ]?1[- .]1$",
"family": "OSL"
},
"OSL-2.0": {
"alias": "^OSL[- ]?2$",
"family": "OSL"
},
"OSL-2.1": {
"alias": "^OSL[- ]?1[- .]1$",
"family": "OSL"
},
"OSL-3.0": {
"alias": "^OSL[- ]?3$",
"family": "OSL"
},
"GPL-1.0+": {
"family": "GPL",
"match": "(:<project><one line to give the program's name and a brief idea of what it does.>)\\s*Copyright \\(C\\) (:<years>19yy) (:<author><name of author>)",
"replace": "$project\nCopyright (C) $years $author",
"header": "<one line to give the program's name and a brief idea of what it does.>([\\r\\n]+ .*)*",
"headerClean": "^ ",
"recognize": ""
},
"GPL-1.0": {
"alias": "^GPL[- ]?1$",
"family": "GPL",
"match": "(:<project><one line to give the program's name and a brief idea of what it does.>)\\s*Copyright \\(C\\) (:<years>19yy) (:<author><name of author>)",
"replace": "$project\nCopyright (C) $years $author",
"header": "<one line to give the program's name and a brief idea of what it does.>.*([\\r\\n]+ .*)*",
"headerClean": "^ ",
"recognize": ""
},
"GPL-2.0": {
"url": "http://opensource.org/licenses/GPL-2.0",
"alias": "^GPL[- ]?2$",
"family": "GPL",
"common": true,
"motivation": "I care about sharing improvements.",
"motivationYou": "Because you care about sharing improvements.",
"desc": "The GPL (V2 or V3) is a copyleft license that requires anyone who distributes your code or a derivative work to make the source available under the same terms. V3 is similar to V2, but further restricts use in hardware that forbids software alterations.\n\nLinux, Git, and WordPress use the GPL.",
"match": "(:<project>one line to give the program's name and an idea of what it does.)\\s*Copyright \\(C\\) (:<years>yyyy) (:<author>name of author)",
"replace": "$project\nCopyright (C) $years $author",
"header": "one line to give the program's name and an idea of what it does..*([\\r\\n]+ .*)*",
"headerClean": "^ ",
"recognize": ""
},
"GPL-2.0+": {
"family": "GPL",
"match": "(:<project>one line to give the program's name and an idea of what it does.)\\s*Copyright \\(C\\) (:<years>yyyy) (:<author>name of author)",
"replace": "$project\nCopyright (C) $years $author",
"header": "one line to give the program's name and an idea of what it does.([\\r\\n]+.*)*?(?=[\\r\\n]+If the program is interactive)",
"recognize": ""
},
"GPL-2.0-with-autoconf-exception": {
"family": "GPL"
},
"GPL-2.0-with-bison-exception": {
"family": "GPL"
},
"GPL-2.0-with-classpath-exception": {
"family": "GPL"
},
"GPL-2.0-with-font-exception": {
"family": "GPL"
},
"GPL-2.0-with-GCC-exception": {
"family": "GPL"
},
"GPL-3.0": {
"url": "http://opensource.org/licenses/GPL-3.0",
"alias": "^GPL[- ]?3$",
"family": "GPL",
"common": true,
"motivation": "I care about sharing improvements.",
"motivationYou": "Because you care about sharing improvements.",
"match": "(:<project><one line to give the program's name and a brief idea of what it does.>)\\s*Copyright \\(C\\) (:<years><year>) (:<author><name of author>)",
"replace": "$project\nCopyright (C) $years $author",
"header": "<one line to give the program's name and a brief idea of what it does.>([\\r\\n]+ .*)*",
"headerClean": "^ ",
"recognize": ""
},
"GPL-3.0+": {
"family": "GPL",
"match": "(:<project><one line to give the program's name and a brief idea of what it does.>)\\s*Copyright \\(C\\) (:<years><year>) (:<author><name of author>)",
"replace": "$project\nCopyright (C) $years $author",
"header": "<one line to give the program's name and a brief idea of what it does.>([\\r\\n]+ .*)*",
"headerClean": "^ ",
"recognize": ""
},
"GPL-3.0-with-autoconf-exception": {
"family": "GPL"
},
"GPL-3.0-with-GCC-exception": {
"family": "GPL"
},
"LGPL-2.0": {
"alias": "^LGPL[- ]?2$",
"family": "LGPL",
"match": "(:<project>one line to give the library's name and an idea of what it does.)\\s*Copyright \\(C\\) (:<years>year) (:<author>name of author)",
"replace": "$project\nCopyright (C) $years $author",
"header": "one line to give the library's name and an idea of what it does.([\\r\\n]+.*)*?(?=[\\r\\n]+Also add information on how)",
"headerClean": "^ ",
"recognize": ""
},
"LGPL-2.0+": {
"family": "LGPL",
"match": "(:<project>one line to give the library's name and an idea of what it does.)\\s*Copyright \\(C\\) (:<years>year) (:<author>name of author)",
"replace": "$project\nCopyright (C) $years $author",
"header": "one line to give the library's name and an idea of what it does.([\\r\\n]+.*)*?(?=[\\r\\n]+You should also get your employer)",
"recognize": ""
},
"LGPL-2.1": {
"alias": "^LGPL[- ]?2[- .]1$",
"family": "LGPL",
"common": false,
"match": "(:<project>one line to give the library's name and an idea of what it does.)\\s*Copyright \\(C\\) (:<years>year) (:<author>name of author)",
"replace": "$project\nCopyright (C) $years $author",
"header": "one line to give the library's name and an idea of what it does.([\\r\\n]+.*)*?(?=[\\r\\n]+You should also get your employer)",
"headerClean": "^ ",
"recognize": ""
},
"LGPL-2.1+": {
"family": "LGPL",
"match": "(:<project>one line to give the library's name and an idea of what it does.)\\s*Copyright \\(C\\) (:<years>year) (:<author>name of author)",
"replace": "$project\nCopyright (C) $years $author",
"header": "one line to give the library's name and an idea of what it does.([\\r\\n]+.*)*?(?=[\\r\\n]+You should also get your employer)",
"recognize": ""
},
"LGPL-3.0": {
"alias": "^LGPL[- ]?3$",
"family": "LGPL",
"common": false
},
"LGPL-3.0+": {
"family": "LGPL"
},
"NPOSL-3.0": {
"alias": "^NPOSL[- ]?3$"
},
"OFL-1.0": {
"alias": "^OFL[- ]?1$",
"family": "OFL"
},
"OFL-1.1": {
"alias": "^OFL[- ]?1[- .]1$",
"family": "OFL"
},
"OPL-1.0": {
"alias": "^OPL[- ]?1?$"
},
"CC-BY-4.0": {
"url": "http://creativecommons.org/licenses/by/4.0/",
"alias": "^CC-?BY[- ]?4$",
"family": "CreativeCommons",
"motivation": "Allow adaptations to be shared and allow commercial use"
},
"CC-BY-ND-4.0": {
"url": "http://creativecommons.org/licenses/by-nd/4.0/",
"alias": "^CC-?BY[- ]?ND[- ]?4$",
"family": "CreativeCommons",
"motivation": "Allow commercial use but do not allow adaptations to be shared"
},
"CC-BY-NC-4.0": {
"url": "http://creativecommons.org/licenses/by-nc/4.0/",
"alias": "^CC-?BY[- ]?NC[- ]?4$",
"family": "CreativeCommons",
"motivation": "Allow adaptations to be shared but do not allow commercial use"
},
"CC-BY-NC-ND-4.0": {
"url": "http://creativecommons.org/licenses/by-nc-nd/4.0/",
"alias": "^CC-?BY[- ]?NC[- ]?ND[- ]?4$",
"family": "CreativeCommons",
"motivation": "Do not allow commercial use and do not allow adaptations to be shared"
},
"CC-BY-NC-SA-4.0": {
"url": "http://creativecommons.org/licenses/by-nc-sa/4.0/",
"alias": "^CC-?BY[- ]?NC[- ]?SA[- ]?4$",
"family": "CreativeCommons",
"motivation": "Do not allow commercial but do allow adaptations to be shared but only under the same license"
},
"CC-BY-SA-4.0": {
"url": "http://creativecommons.org/licenses/by-sa/4.0/",
"alias": "^CC-?BY[- ]?SA[- ]?4$",
"family": "CreativeCommons",
"motivation": "Allow commercial use and allow adaptations to be shared but only under the same license"
}
}