licensee 9.14.1 → 9.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.md +1 -1
  3. data/bin/licensee +1 -1
  4. data/lib/licensee.rb +1 -1
  5. data/lib/licensee/commands/detect.rb +2 -4
  6. data/lib/licensee/commands/diff.rb +1 -3
  7. data/lib/licensee/content_helper.rb +23 -27
  8. data/lib/licensee/hash_helper.rb +1 -1
  9. data/lib/licensee/license.rb +28 -14
  10. data/lib/licensee/matchers/copyright.rb +2 -7
  11. data/lib/licensee/matchers/cran.rb +1 -1
  12. data/lib/licensee/matchers/dice.rb +1 -1
  13. data/lib/licensee/project_files/license_file.rb +29 -22
  14. data/lib/licensee/project_files/project_file.rb +2 -4
  15. data/lib/licensee/project_files/readme_file.rb +1 -1
  16. data/lib/licensee/projects/fs_project.rb +1 -3
  17. data/lib/licensee/projects/git_project.rb +6 -4
  18. data/lib/licensee/projects/project.rb +11 -10
  19. data/lib/licensee/version.rb +1 -1
  20. data/licensee.gemspec +5 -4
  21. data/spec/fixture_spec.rb +2 -2
  22. data/spec/fixtures/bsd-3-authorowner/LICENSE +27 -0
  23. data/spec/fixtures/cc-by-sa-mdlinks/License.md +173 -0
  24. data/spec/fixtures/cc-by-sa-nocclicensor/License.md +425 -0
  25. data/spec/fixtures/detect.json +5 -5
  26. data/spec/fixtures/eupl-cal2017/LICENSE.txt +274 -0
  27. data/spec/fixtures/fixtures.yml +45 -25
  28. data/spec/fixtures/license-hashes.json +39 -38
  29. data/spec/fixtures/pixar-modified-apache/LICENSE.txt +174 -0
  30. data/spec/integration_spec.rb +46 -6
  31. data/spec/licensee/commands/detect_spec.rb +2 -2
  32. data/spec/licensee/content_helper_spec.rb +14 -13
  33. data/spec/licensee/license_spec.rb +5 -5
  34. data/spec/licensee/matchers/dice_matcher_spec.rb +2 -2
  35. data/spec/licensee/project_files/license_file_spec.rb +8 -2
  36. data/spec/licensee/project_spec.rb +1 -3
  37. data/spec/licensee_spec.rb +1 -1
  38. data/spec/spec_helper.rb +3 -3
  39. data/spec/vendored_license_spec.rb +1 -1
  40. data/vendor/choosealicense.com/_licenses/apache-2.0.txt +1 -1
  41. data/vendor/choosealicense.com/_licenses/bsl-1.0.txt +1 -1
  42. data/vendor/choosealicense.com/_licenses/eupl-1.2.txt +75 -58
  43. data/vendor/choosealicense.com/_licenses/mit-0.txt +45 -0
  44. data/vendor/choosealicense.com/_licenses/odbl-1.0.txt +1 -1
  45. data/vendor/choosealicense.com/_licenses/unlicense.txt +1 -1
  46. data/vendor/license-list-XML/src/0BSD.xml +21 -0
  47. data/vendor/license-list-XML/src/AFL-3.0.xml +212 -0
  48. data/vendor/license-list-XML/src/AGPL-3.0.xml +852 -0
  49. data/vendor/license-list-XML/src/Apache-2.0.xml +223 -0
  50. data/vendor/license-list-XML/src/Artistic-2.0.xml +238 -0
  51. data/vendor/license-list-XML/src/BSD-2-Clause.xml +42 -0
  52. data/vendor/license-list-XML/src/BSD-3-Clause-Clear.xml +59 -0
  53. data/vendor/license-list-XML/src/BSD-3-Clause.xml +46 -0
  54. data/vendor/license-list-XML/src/BSD-4-Clause.xml +59 -0
  55. data/vendor/license-list-XML/src/BSL-1.0.xml +30 -0
  56. data/vendor/license-list-XML/src/CC-BY-4.0.xml +444 -0
  57. data/vendor/license-list-XML/src/CC-BY-SA-4.0.xml +475 -0
  58. data/vendor/license-list-XML/src/CC0-1.0.xml +153 -0
  59. data/vendor/license-list-XML/src/CECILL-2.1.xml +669 -0
  60. data/vendor/license-list-XML/src/ECL-2.0.xml +242 -0
  61. data/vendor/license-list-XML/src/EPL-1.0.xml +255 -0
  62. data/vendor/license-list-XML/src/EPL-2.0.xml +639 -0
  63. data/vendor/license-list-XML/src/EUPL-1.1.xml +337 -0
  64. data/vendor/license-list-XML/src/EUPL-1.2.xml +502 -0
  65. data/vendor/license-list-XML/src/GPL-2.0.xml +474 -0
  66. data/vendor/license-list-XML/src/GPL-3.0.xml +858 -0
  67. data/vendor/license-list-XML/src/ISC.xml +29 -0
  68. data/vendor/license-list-XML/src/LGPL-2.1.xml +662 -0
  69. data/vendor/license-list-XML/src/LGPL-3.0.xml +260 -0
  70. data/vendor/license-list-XML/src/LPPL-1.3c.xml +380 -0
  71. data/vendor/license-list-XML/src/MIT-0.xml +40 -0
  72. data/vendor/license-list-XML/src/MIT.xml +32 -0
  73. data/vendor/license-list-XML/src/MPL-2.0.xml +438 -0
  74. data/vendor/license-list-XML/src/MS-PL.xml +89 -0
  75. data/vendor/license-list-XML/src/MS-RL.xml +97 -0
  76. data/vendor/license-list-XML/src/NCSA.xml +60 -0
  77. data/vendor/license-list-XML/src/ODbL-1.0.xml +660 -0
  78. data/vendor/license-list-XML/src/OFL-1.1.xml +94 -0
  79. data/vendor/license-list-XML/src/OSL-3.0.xml +209 -0
  80. data/vendor/license-list-XML/src/PostgreSQL.xml +32 -0
  81. data/vendor/license-list-XML/src/UPL-1.0.xml +46 -0
  82. data/vendor/license-list-XML/src/Unlicense.xml +27 -0
  83. data/vendor/license-list-XML/src/Vim.xml +124 -0
  84. data/vendor/license-list-XML/src/WTFPL.xml +30 -0
  85. data/vendor/license-list-XML/src/Zlib.xml +38 -0
  86. metadata +73 -13
@@ -0,0 +1,474 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <SPDXLicenseCollection xmlns="http://www.spdx.org/license">
3
+ <license licenseId="GPL-2.0" isOsiApproved="true"
4
+ name="GNU General Public License v2.0 only"
5
+ isDeprecated="true" deprecatedVersion="3.0">
6
+ <obsoletedBys>
7
+ <obsoletedBy>GPL-2.0-only</obsoletedBy>
8
+ <obsoletedBy expression="GPL-2.0+">GPL-2.0-or-later</obsoletedBy>
9
+ </obsoletedBys>
10
+ <crossRefs>
11
+ <crossRef>https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html</crossRef>
12
+ <crossRef>https://opensource.org/licenses/GPL-2.0</crossRef>
13
+ </crossRefs>
14
+ <standardLicenseHeader>
15
+ Copyright (C) <alt name="copyright" match=".+">yyyy name of author</alt>
16
+ <p>
17
+ This program is free software; you can redistribute it and/or
18
+ modify it under the terms of the GNU General Public License
19
+ as published by the Free Software Foundation; version 2.
20
+ </p>
21
+ <p>
22
+ This program is distributed in the hope that it will be
23
+ useful, but WITHOUT ANY WARRANTY; without even the implied
24
+ warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
25
+ PURPOSE. See the GNU General Public License for more details.
26
+ </p>
27
+ <p>
28
+ You should have received a copy of the GNU General Public License
29
+ along with this program; if not, write to the Free Software Foundation,
30
+ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301<optional spacing="after">,</optional>
31
+ USA.
32
+ </p>
33
+ </standardLicenseHeader>
34
+ <text>
35
+ <titleText>
36
+ <p>
37
+ GNU GENERAL PUBLIC LICENSE<br></br>
38
+ Version 2, June 1991
39
+ </p>
40
+ </titleText>
41
+ <p>
42
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.<alt name="incComma" match=",|"/><br/>
43
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301<optional spacing="after">,</optional>
44
+ USA
45
+ </p>
46
+ <p>
47
+ Everyone is permitted to copy and distribute verbatim copies
48
+ of this license document, but changing it is not allowed.
49
+ </p>
50
+ <p>
51
+ Preamble
52
+ </p>
53
+ <p>
54
+ The licenses for most software are designed to take away your freedom
55
+ to share and change it. By contrast, the GNU General Public License is
56
+ intended to guarantee your freedom to share and change free software--to
57
+ make sure the software is free for all its users. This General Public
58
+ License applies to most of the Free Software Foundation's software
59
+ and to any other program whose authors commit to using it. (Some other
60
+ Free Software Foundation software is covered by the GNU Lesser General
61
+ Public License instead.) You can apply it to your programs, too.
62
+ </p>
63
+ <p>
64
+ When we speak of free software, we are referring to freedom, not price.
65
+ Our General Public Licenses are designed to make sure that you have
66
+ the freedom to distribute copies of free software (and charge for
67
+ this service if you wish), that you receive source code or can get
68
+ it if you want it, that you can change the software or use pieces of
69
+ it in new free programs; and that you know you can do these things.
70
+ </p>
71
+ <p>
72
+ To protect your rights, we need to make restrictions that forbid
73
+ anyone to deny you these rights or to ask you to surrender the
74
+ rights. These restrictions translate to certain responsibilities for
75
+ you if you distribute copies of the software, or if you modify it.
76
+ </p>
77
+ <p>
78
+ For example, if you distribute copies of such a program, whether gratis
79
+ or for a fee, you must give the recipients all the rights that you
80
+ have. You must make sure that they, too, receive or can get the source
81
+ code. And you must show them these terms so they know their rights.
82
+ </p>
83
+ <p>
84
+ We protect your rights with two steps: (1) copyright the
85
+ software, and (2) offer you this license which gives you legal
86
+ permission to copy, distribute and/or modify the software.
87
+ </p>
88
+ <p>
89
+ Also, for each author's protection and ours, we want to make
90
+ certain that everyone understands that there is no warranty for
91
+ this free software. If the software is modified by someone else
92
+ and passed on, we want its recipients to know that what they
93
+ have is not the original, so that any problems introduced by
94
+ others will not reflect on the original authors' reputations.
95
+ </p>
96
+ <p>
97
+ Finally, any free program is threatened constantly by software patents.
98
+ We wish to avoid the danger that redistributors of a free program
99
+ will individually obtain patent licenses, in effect making the program
100
+ proprietary. To prevent this, we have made it clear that any patent
101
+ must be licensed for everyone's free use or not licensed at all.
102
+ </p>
103
+ <p>
104
+ The precise terms and conditions for copying,
105
+ distribution and modification follow.
106
+ </p>
107
+ <p>
108
+ <alt name="termsTitle" match="GNU GENERAL PUBLIC LICENSE|"/>
109
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
110
+ </p>
111
+ <list>
112
+ <item>
113
+ <bullet>0.</bullet>
114
+ This License applies to any program or other work which contains a
115
+ notice placed by the copyright holder saying it may be distributed
116
+ under the terms of this General Public License. The "Program", below,
117
+ refers to any such program or work, and a "work based on the Program"
118
+ means either the Program or any derivative work under copyright law:
119
+ that is to say, a work containing the Program or a portion of it,
120
+ either verbatim or with modifications and/or translated into another
121
+ language. (Hereinafter, translation is included without limitation
122
+ in the term "modification".) Each licensee is addressed as "you".
123
+ <p>
124
+ Activities other than copying, distribution and modification are
125
+ not covered by this License; they are outside its scope. The act
126
+ of running the Program is not restricted, and the output from the
127
+ Program is covered only if its contents constitute a work based
128
+ on the Program (independent of having been made by running the
129
+ Program). Whether that is true depends on what the Program does.
130
+ </p>
131
+ </item>
132
+ <item>
133
+ <bullet>1.</bullet>
134
+ You may copy and distribute verbatim copies of the Program's source
135
+ code as you receive it, in any medium, provided that you conspicuously
136
+ and appropriately publish on each copy an appropriate copyright notice
137
+ and disclaimer of warranty; keep intact all the notices that refer to
138
+ this License and to the absence of any warranty; and give any other
139
+ recipients of the Program a copy of this License along with the Program.
140
+ <p>
141
+ You may charge a fee for the physical act of
142
+ transferring a copy, and you may at your option
143
+ offer warranty protection in exchange for a fee.
144
+ </p>
145
+ </item>
146
+ <item>
147
+ <bullet>2.</bullet>
148
+ You may modify your copy or copies of the Program or any portion
149
+ of it, thus forming a work based on the Program, and copy and
150
+ distribute such modifications or work under the terms of Section
151
+ 1 above, provided that you also meet all of these conditions:
152
+ <list>
153
+ <item>
154
+ <bullet>a)</bullet>
155
+ You must cause the modified files to carry prominent notices
156
+ stating that you changed the files and the date of any change.
157
+ </item>
158
+ <item>
159
+ <bullet>b)</bullet>
160
+ You must cause any work that you distribute or publish,
161
+ that in whole or in part contains or is derived from the
162
+ Program or any part thereof, to be licensed as a whole at no
163
+ charge to all third parties under the terms of this License.
164
+ </item>
165
+ <item>
166
+ <bullet>c)</bullet>
167
+ If the modified program normally reads commands interactively
168
+ when run, you must cause it, when started running for such
169
+ interactive use in the most ordinary way, to print or display
170
+ an announcement including an appropriate copyright notice and
171
+ a notice that there is no warranty (or else, saying that you
172
+ provide a warranty) and that users may redistribute the program
173
+ under these conditions, and telling the user how to view a copy
174
+ of this License. (Exception: if the Program itself is interactive
175
+ but does not normally print such an announcement, your work
176
+ based on the Program is not required to print an announcement.)
177
+ </item>
178
+ </list>
179
+ <p>
180
+ These requirements apply to the modified work as a whole. If
181
+ identifiable sections of that work are not derived from the
182
+ Program, and can be reasonably considered independent and separate
183
+ works in themselves, then this License, and its terms, do not
184
+ apply to those sections when you distribute them as separate
185
+ works. But when you distribute the same sections as part of a
186
+ whole which is a work based on the Program, the distribution
187
+ of the whole must be on the terms of this License, whose
188
+ permissions for other licensees extend to the entire whole,
189
+ and thus to each and every part regardless of who wrote it.
190
+ </p>
191
+ <p>
192
+ Thus, it is not the intent of this section to claim rights or
193
+ contest your rights to work written entirely by you; rather,
194
+ the intent is to exercise the right to control the distribution
195
+ of derivative or collective works based on the Program.
196
+ </p>
197
+ <p>
198
+ In addition, mere aggregation of another work not based on
199
+ the Program with the Program (or with a work based on the
200
+ Program) on a volume of a storage or distribution medium does
201
+ not bring the other work under the scope of this License.
202
+ </p>
203
+ </item>
204
+ <item>
205
+ <bullet>3.</bullet>
206
+ You may copy and distribute the Program (or a work based on it,
207
+ under Section 2) in object code or executable form under the terms of
208
+ Sections 1 and 2 above provided that you also do one of the following:
209
+ <list>
210
+ <item>
211
+ <bullet>a)</bullet>
212
+ Accompany it with the complete corresponding machine-readable source
213
+ code, which must be distributed under the terms of Sections 1 and
214
+ 2 above on a medium customarily used for software interchange; or,
215
+ </item>
216
+ <item>
217
+ <bullet>b)</bullet>
218
+ Accompany it with a written offer, valid for at least three
219
+ years, to give any third party, for a charge no more than your
220
+ cost of physically performing source distribution, a complete
221
+ machine-readable copy of the corresponding source code, to
222
+ be distributed under the terms of Sections 1 and 2 above
223
+ on a medium customarily used for software interchange; or,
224
+ </item>
225
+ <item>
226
+ <bullet>c)</bullet>
227
+ Accompany it with the information you received as to the offer
228
+ to distribute corresponding source code. (This alternative
229
+ is allowed only for noncommercial distribution and only if
230
+ you received the program in object code or executable form
231
+ with such an offer, in accord with Subsection b above.)
232
+ </item>
233
+ </list>
234
+ <p>
235
+ The source code for a work means the preferred form of the work
236
+ for making modifications to it. For an executable work, complete
237
+ source code means all the source code for all modules it contains,
238
+ plus any associated interface definition files, plus the scripts
239
+ used to control compilation and installation of the executable.
240
+ However, as a special exception, the source code distributed
241
+ need not include anything that is normally distributed (in either
242
+ source or binary form) with the major components (compiler,
243
+ kernel, and so on) of the operating system on which the executable
244
+ runs, unless that component itself accompanies the executable.
245
+ </p>
246
+ <p>
247
+ If distribution of executable or object code is made by offering
248
+ access to copy from a designated place, then offering equivalent
249
+ access to copy the source code from the same place counts as
250
+ distribution of the source code, even though third parties are
251
+ not compelled to copy the source along with the object code.
252
+ </p>
253
+ </item>
254
+ <item>
255
+ <bullet>4.</bullet>
256
+ You may not copy, modify, sublicense, or distribute the Program
257
+ except as expressly provided under this License. Any attempt
258
+ otherwise to copy, modify, sublicense or distribute the Program
259
+ is void, and will automatically terminate your rights under
260
+ this License. However, parties who have received copies, or
261
+ rights, from you under this License will not have their licenses
262
+ terminated so long as such parties remain in full compliance.
263
+ </item>
264
+ <item>
265
+ <bullet>5.</bullet>
266
+ You are not required to accept this License, since you have
267
+ not signed it. However, nothing else grants you permission to
268
+ modify or distribute the Program or its derivative works. These
269
+ actions are prohibited by law if you do not accept this License.
270
+ Therefore, by modifying or distributing the Program (or any
271
+ work based on the Program), you indicate your acceptance of this
272
+ License to do so, and all its terms and conditions for copying,
273
+ distributing or modifying the Program or works based on it.
274
+ </item>
275
+ <item>
276
+ <bullet>6.</bullet>
277
+ Each time you redistribute the Program (or any work based on the
278
+ Program), the recipient automatically receives a license from the
279
+ original licensor to copy, distribute or modify the Program subject to
280
+ these terms and conditions. You may not impose any further restrictions
281
+ on the recipients' exercise of the rights granted herein. You are not
282
+ responsible for enforcing compliance by third parties to this License.
283
+ </item>
284
+ <item>
285
+ <bullet>7.</bullet>
286
+ If, as a consequence of a court judgment or allegation of patent
287
+ infringement or for any other reason (not limited to patent issues),
288
+ conditions are imposed on you (whether by court order, agreement
289
+ or otherwise) that contradict the conditions of this License,
290
+ they do not excuse you from the conditions of this License. If you
291
+ cannot distribute so as to satisfy simultaneously your obligations
292
+ under this License and any other pertinent obligations, then as a
293
+ consequence you may not distribute the Program at all. For example,
294
+ if a patent license would not permit royalty-free redistribution of
295
+ the Program by all those who receive copies directly or indirectly
296
+ through you, then the only way you could satisfy both it and this
297
+ License would be to refrain entirely from distribution of the Program.
298
+ <p>
299
+ If any portion of this section is held invalid or
300
+ unenforceable under any particular circumstance, the
301
+ balance of the section is intended to apply and the section
302
+ as a whole is intended to apply in other circumstances.
303
+ </p>
304
+ <p>
305
+ It is not the purpose of this section to induce you to infringe
306
+ any patents or other property right claims or to contest
307
+ validity of any such claims; this section has the sole purpose
308
+ of protecting the integrity of the free software distribution
309
+ system, which is implemented by public license practices. Many
310
+ people have made generous contributions to the wide range of
311
+ software distributed through that system in reliance on consistent
312
+ application of that system; it is up to the author/donor to
313
+ decide if he or she is willing to distribute software through
314
+ any other system and a licensee cannot impose that choice.
315
+ </p>
316
+ <p>
317
+ This section is intended to make thoroughly clear what is
318
+ believed to be a consequence of the rest of this License.
319
+ </p>
320
+ </item>
321
+ <item>
322
+ <bullet>8.</bullet>
323
+ If the distribution and/or use of the Program is restricted in
324
+ certain countries either by patents or by copyrighted interfaces,
325
+ the original copyright holder who places the Program under this
326
+ License may add an explicit geographical distribution limitation
327
+ excluding those countries, so that distribution is permitted only
328
+ in or among countries not thus excluded. In such case, this License
329
+ incorporates the limitation as if written in the body of this License.
330
+ </item>
331
+ <item>
332
+ <bullet>9.</bullet>
333
+ The Free Software Foundation may publish revised and/or new
334
+ versions of the General Public License from time to time. Such
335
+ new versions will be similar in spirit to the present version,
336
+ but may differ in detail to address new problems or concerns.
337
+ <p>
338
+ Each version is given a distinguishing version number. If the
339
+ Program specifies a version number of this License which applies
340
+ to it and "any later version", you have the option of following
341
+ the terms and conditions either of that version or of any later
342
+ version published by the Free Software Foundation. If the Program
343
+ does not specify a version number of this License, you may choose
344
+ any version ever published by the Free Software Foundation.
345
+ </p>
346
+ </item>
347
+ <item>
348
+ <bullet>10.</bullet>
349
+ If you wish to incorporate parts of the Program into other free
350
+ programs whose distribution conditions are different, write to the
351
+ author to ask for permission. For software which is copyrighted by the
352
+ Free Software Foundation, write to the Free Software Foundation; we
353
+ sometimes make exceptions for this. Our decision will be guided by the
354
+ two goals of preserving the free status of all derivatives of our free
355
+ software and of promoting the sharing and reuse of software generally.
356
+ <p>
357
+ NO WARRANTY
358
+ </p>
359
+ </item>
360
+ <item>
361
+ <bullet>11.</bullet>
362
+ BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
363
+ FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT
364
+ WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER
365
+ PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND,
366
+ EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
367
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
368
+ PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF
369
+ THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU
370
+ ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
371
+ </item>
372
+ <item>
373
+ <bullet>12.</bullet>
374
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
375
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
376
+ REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR
377
+ DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL
378
+ DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM
379
+ (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
380
+ INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF
381
+ THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER
382
+ OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
383
+ </item>
384
+ </list>
385
+ <optional>
386
+ <p>
387
+ END OF TERMS AND CONDITIONS
388
+ </p>
389
+ <p>
390
+ How to Apply These Terms to Your New Programs
391
+ </p>
392
+ <p>
393
+ If you develop a new program, and you want it to be
394
+ of the greatest possible use to the public, the best
395
+ way to achieve this is to make it free software which
396
+ everyone can redistribute and change under these terms.
397
+ </p>
398
+ <p>
399
+ To do so, attach the following notices to the program. It is safest
400
+ to attach them to the start of each source file to most effectively
401
+ convey the exclusion of warranty; and each file should have at least
402
+ the "copyright" line and a pointer to where the full notice is found.
403
+ </p>
404
+ <p>
405
+ <optional spacing="none">&lt;</optional>one line to give the program's name and <alt name="ideaArticle" match="a brief|an">an</alt> idea of what it does.<optional spacing="none">&gt;</optional>
406
+ <br></br>
407
+ Copyright (C)
408
+ <optional spacing="before">&lt;</optional><alt name="templateYear" match="yyyy|year">yyyy</alt><optional spacing="after">&gt;</optional>
409
+ <optional spacing="before">&lt;</optional>name of author<optional spacing="none">&gt;</optional>
410
+ </p>
411
+ <p>
412
+ This program is free software; you can redistribute it and/or
413
+ modify it under the terms of the GNU General Public License
414
+ as published by the Free Software Foundation; either version
415
+ 2 of the License, or (at your option) any later version.
416
+ </p>
417
+ <p>
418
+ This program is distributed in the hope that it will be
419
+ useful, but WITHOUT ANY WARRANTY; without even the implied
420
+ warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
421
+ PURPOSE. See the GNU General Public License for more details.
422
+ </p>
423
+ <p>
424
+ You should have received a copy of the GNU General Public License
425
+ along with this program; if not, write to the Free Software Foundation,
426
+ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301<optional spacing="after">,</optional>
427
+ USA.
428
+ </p>
429
+ <p>
430
+ Also add information on how to
431
+ contact you by electronic and paper mail.
432
+ </p>
433
+ <p>
434
+ If the program is interactive, make it output a short
435
+ notice like this when it starts in an interactive mode:
436
+ </p>
437
+ <p>
438
+ Gnomovision version 69, Copyright (C) year name of author
439
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details
440
+ type `show w'. This is free software, and you are welcome to
441
+ redistribute it under certain conditions; type `show c' for details.
442
+ </p>
443
+ <p>
444
+ The hypothetical commands `show w' and `show c' should show the
445
+ appropriate parts of the General Public License. Of course, the commands
446
+ you use may be called something other than `show w' and `show c'; they
447
+ could even be mouse-clicks or menu items--whatever suits your program.
448
+ </p>
449
+ <p>
450
+ You should also get your employer (if you work as a programmer)
451
+ or your school, if any, to sign a "copyright disclaimer" for
452
+ the program, if necessary. Here is a sample; alter the names:
453
+ </p>
454
+ <p>
455
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
456
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
457
+ </p>
458
+ <p>
459
+ <optional spacing="none">&lt;</optional>signature of Ty Coon<optional spacing="none">&gt;</optional>,
460
+ 1 April 1989 Ty Coon, President of Vice
461
+ </p>
462
+ </optional>
463
+ <optional>
464
+ <p>
465
+ This General Public License does not permit incorporating your program into
466
+ proprietary programs. If your program is a subroutine library, you may
467
+ consider it more useful to permit linking proprietary applications with the
468
+ library. If this is what you want to do, use the GNU Lesser General
469
+ Public License instead of this License.
470
+ </p>
471
+ </optional>
472
+ </text>
473
+ </license>
474
+ </SPDXLicenseCollection>