licensee 9.14.1 → 9.15.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.md +1 -1
  3. data/bin/licensee +1 -1
  4. data/lib/licensee/commands/detect.rb +3 -5
  5. data/lib/licensee/commands/diff.rb +3 -7
  6. data/lib/licensee/content_helper.rb +30 -28
  7. data/lib/licensee/hash_helper.rb +1 -1
  8. data/lib/licensee/license.rb +31 -18
  9. data/lib/licensee/matchers/copyright.rb +3 -8
  10. data/lib/licensee/matchers/cran.rb +1 -1
  11. data/lib/licensee/matchers/dice.rb +6 -8
  12. data/lib/licensee/project_files/license_file.rb +29 -24
  13. data/lib/licensee/project_files/project_file.rb +2 -4
  14. data/lib/licensee/project_files/readme_file.rb +1 -1
  15. data/lib/licensee/projects/fs_project.rb +1 -3
  16. data/lib/licensee/projects/git_project.rb +6 -6
  17. data/lib/licensee/projects/project.rb +14 -19
  18. data/lib/licensee/version.rb +1 -1
  19. data/lib/licensee.rb +7 -4
  20. data/licensee.gemspec +6 -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 +40 -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 +18 -13
  33. data/spec/licensee/license_spec.rb +6 -6
  34. data/spec/licensee/matchers/dice_matcher_spec.rb +3 -3
  35. data/spec/licensee/project_files/license_file_spec.rb +9 -3
  36. data/spec/licensee/project_files/package_info_spec.rb +2 -2
  37. data/spec/licensee/project_spec.rb +4 -5
  38. data/spec/licensee_spec.rb +8 -2
  39. data/spec/spec_helper.rb +3 -3
  40. data/spec/vendored_license_spec.rb +1 -3
  41. data/vendor/choosealicense.com/_licenses/0bsd.txt +4 -2
  42. data/vendor/choosealicense.com/_licenses/afl-3.0.txt +12 -12
  43. data/vendor/choosealicense.com/_licenses/apache-2.0.txt +1 -1
  44. data/vendor/choosealicense.com/_licenses/bsd-3-clause.txt +2 -2
  45. data/vendor/choosealicense.com/_licenses/bsl-1.0.txt +1 -1
  46. data/vendor/choosealicense.com/_licenses/cc-by-4.0.txt +1 -1
  47. data/vendor/choosealicense.com/_licenses/cc-by-sa-4.0.txt +1 -1
  48. data/vendor/choosealicense.com/_licenses/eupl-1.2.txt +75 -58
  49. data/vendor/choosealicense.com/_licenses/isc.txt +8 -8
  50. data/vendor/choosealicense.com/_licenses/mit-0.txt +45 -0
  51. data/vendor/choosealicense.com/_licenses/mulanpsl-2.0.txt +226 -0
  52. data/vendor/choosealicense.com/_licenses/odbl-1.0.txt +2 -2
  53. data/vendor/choosealicense.com/_licenses/osl-3.0.txt +1 -1
  54. data/vendor/choosealicense.com/_licenses/unlicense.txt +1 -1
  55. data/vendor/choosealicense.com/_licenses/upl-1.0.txt +1 -1
  56. data/vendor/license-list-XML/src/0BSD.xml +25 -0
  57. data/vendor/license-list-XML/src/AFL-3.0.xml +212 -0
  58. data/vendor/license-list-XML/src/AGPL-3.0.xml +852 -0
  59. data/vendor/license-list-XML/src/Apache-2.0.xml +223 -0
  60. data/vendor/license-list-XML/src/Artistic-2.0.xml +238 -0
  61. data/vendor/license-list-XML/src/BSD-2-Clause.xml +42 -0
  62. data/vendor/license-list-XML/src/BSD-3-Clause-Clear.xml +59 -0
  63. data/vendor/license-list-XML/src/BSD-3-Clause.xml +46 -0
  64. data/vendor/license-list-XML/src/BSD-4-Clause.xml +59 -0
  65. data/vendor/license-list-XML/src/BSL-1.0.xml +30 -0
  66. data/vendor/license-list-XML/src/CC-BY-4.0.xml +446 -0
  67. data/vendor/license-list-XML/src/CC-BY-SA-4.0.xml +477 -0
  68. data/vendor/license-list-XML/src/CC0-1.0.xml +153 -0
  69. data/vendor/license-list-XML/src/CECILL-2.1.xml +669 -0
  70. data/vendor/license-list-XML/src/ECL-2.0.xml +242 -0
  71. data/vendor/license-list-XML/src/EPL-1.0.xml +255 -0
  72. data/vendor/license-list-XML/src/EPL-2.0.xml +639 -0
  73. data/vendor/license-list-XML/src/EUPL-1.1.xml +337 -0
  74. data/vendor/license-list-XML/src/EUPL-1.2.xml +502 -0
  75. data/vendor/license-list-XML/src/GPL-2.0.xml +474 -0
  76. data/vendor/license-list-XML/src/GPL-3.0.xml +858 -0
  77. data/vendor/license-list-XML/src/ISC.xml +31 -0
  78. data/vendor/license-list-XML/src/LGPL-2.1.xml +662 -0
  79. data/vendor/license-list-XML/src/LGPL-3.0.xml +260 -0
  80. data/vendor/license-list-XML/src/LPPL-1.3c.xml +380 -0
  81. data/vendor/license-list-XML/src/MIT-0.xml +40 -0
  82. data/vendor/license-list-XML/src/MIT.xml +32 -0
  83. data/vendor/license-list-XML/src/MPL-2.0.xml +438 -0
  84. data/vendor/license-list-XML/src/MS-PL.xml +89 -0
  85. data/vendor/license-list-XML/src/MS-RL.xml +97 -0
  86. data/vendor/license-list-XML/src/MulanPSL-2.0.xml +167 -0
  87. data/vendor/license-list-XML/src/NCSA.xml +60 -0
  88. data/vendor/license-list-XML/src/ODbL-1.0.xml +660 -0
  89. data/vendor/license-list-XML/src/OFL-1.1.xml +94 -0
  90. data/vendor/license-list-XML/src/OSL-3.0.xml +209 -0
  91. data/vendor/license-list-XML/src/PostgreSQL.xml +32 -0
  92. data/vendor/license-list-XML/src/UPL-1.0.xml +46 -0
  93. data/vendor/license-list-XML/src/Unlicense.xml +27 -0
  94. data/vendor/license-list-XML/src/Vim.xml +124 -0
  95. data/vendor/license-list-XML/src/WTFPL.xml +30 -0
  96. data/vendor/license-list-XML/src/Zlib.xml +38 -0
  97. metadata +75 -12
@@ -14,7 +14,7 @@ note: The Apache Foundation recommends taking the additional step of adding a bo
14
14
  using:
15
15
  Kubernetes: https://github.com/kubernetes/kubernetes/blob/master/LICENSE
16
16
  PDF.js: https://github.com/mozilla/pdf.js/blob/master/LICENSE
17
- Swift: https://github.com/apple/swift/blob/master/LICENSE.txt
17
+ Swift: https://github.com/apple/swift/blob/main/LICENSE.txt
18
18
 
19
19
  permissions:
20
20
  - commercial-use
@@ -3,12 +3,12 @@ title: BSD 3-Clause "New" or "Revised" License
3
3
  spdx-id: BSD-3-Clause
4
4
  hidden: false
5
5
 
6
- description: A permissive license similar to the <a href="/licenses/bsd-2-clause/">BSD 2-Clause License</a>, but with a 3rd clause that prohibits others from using the name of the project or its contributors to promote derived products without written consent.
6
+ description: A permissive license similar to the <a href="/licenses/bsd-2-clause/">BSD 2-Clause License</a>, but with a 3rd clause that prohibits others from using the name of the copyright holder or its contributors to promote derived products without written consent.
7
7
 
8
8
  how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders.
9
9
 
10
10
  using:
11
- d3: https://github.com/d3/d3/blob/master/LICENSE
11
+ Flutter: https://github.com/flutter/flutter/blob/master/LICENSE
12
12
  LevelDB: https://github.com/google/leveldb/blob/master/LICENSE
13
13
  Quill: https://github.com/quilljs/quill/blob/develop/LICENSE
14
14
 
@@ -11,7 +11,7 @@ note: Boost recommends taking the additional step of adding a boilerplate notice
11
11
 
12
12
  using:
13
13
  Boost: https://github.com/boostorg/boost/blob/master/LICENSE_1_0.txt
14
- Catch2: https://github.com/catchorg/Catch2/blob/master/LICENSE.txt
14
+ Catch2: https://github.com/catchorg/Catch2/blob/devel/LICENSE.txt
15
15
  DMD: https://github.com/dlang/dmd/blob/master/LICENSE.txt
16
16
 
17
17
  permissions:
@@ -8,7 +8,7 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of
8
8
 
9
9
  using:
10
10
  caniuse: https://github.com/Fyrd/caniuse/blob/master/LICENSE
11
- WHATWG HTML standard: https://github.com/whatwg/html/blob/master/LICENSE
11
+ FiveThirtyEight data: https://github.com/fivethirtyeight/data/blob/master/LICENSE
12
12
  Kubernetes documentation: https://github.com/kubernetes/website/blob/master/LICENSE
13
13
 
14
14
  permissions:
@@ -335,8 +335,8 @@ apply to Your use of the Licensed Material:
335
335
  contents in a database in which You have Sui Generis Database
336
336
  Rights, then the database in which You have Sui Generis Database
337
337
  Rights (but not its individual contents) is Adapted Material,
338
-
339
338
  including for purposes of Section 3(b); and
339
+
340
340
  c. You must comply with the conditions in Section 3(a) if You Share
341
341
  all or a substantial portion of the contents of the database.
342
342
 
@@ -2,12 +2,12 @@
2
2
  title: European Union Public License 1.2
3
3
  spdx-id: EUPL-1.2
4
4
 
5
- description: The European Union Public Licence (EUPL) is a copyleft free/open source software license created on the initiative of and approved by the European Commission in 22 official languages of the European Union.
5
+ description: The European Union Public Licence (EUPL) is a copyleft free/open source software license created on the initiative of and approved by the European Commission in <a href="https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12">23 official languages</a> of the European Union.
6
6
 
7
7
  how: Indicate “Licensed under the EUPL” following the copyright notice of your source code, for example in a README file or directly in a source code file as a comment.
8
8
 
9
9
  using:
10
- AethysRotation: https://github.com/SimCMinMax/AethysRotation/blob/master/LICENSE
10
+ HeroRotation: https://github.com/herotc/hero-rotation/blob/shadowlands/LICENSE
11
11
  WildDuck: https://github.com/nodemailer/wildduck/blob/master/LICENSE
12
12
  ZoneMTA: https://github.com/zone-eu/zone-mta/blob/master/LICENSE
13
13
 
@@ -32,10 +32,8 @@ limitations:
32
32
 
33
33
  ---
34
34
 
35
- European Union Public Licence
36
- V. 1.2
37
-
38
- EUPL © the European Union 2007, 2016
35
+ EUROPEAN UNION PUBLIC LICENCE v. 1.2
36
+ EUPL © the European Union 2007, 2016
39
37
 
40
38
  This European Union Public Licence (the ‘EUPL’) applies to the Work (as
41
39
  defined below) which is provided under the terms of this Licence. Any use of
@@ -44,35 +42,47 @@ extent such use is covered by a right of the copyright holder of the Work).
44
42
 
45
43
  The Work is provided under the terms of this Licence when the Licensor (as
46
44
  defined below) has placed the following notice immediately following the
47
- copyright notice for the Work: “Licensed under the EUPL”, or has expressed by
48
- any other means his willingness to license under the EUPL.
45
+ copyright notice for the Work:
46
+
47
+ Licensed under the EUPL
48
+
49
+ or has expressed by any other means his willingness to license under the EUPL.
49
50
 
50
51
  1. Definitions
51
52
 
52
53
  In this Licence, the following terms have the following meaning:
53
- — ‘The Licence’: this Licence.
54
- ‘The Original Work’: the work or software distributed or communicated by the
55
- ‘Licensor under this Licence, available as Source Code and also as
56
- Executable Code as the case may be.
57
- ‘Derivative Works’: the works or software that could be created by the
58
- ‘Licensee, based upon the Original Work or modifications thereof. This
59
- ‘Licence does not define the extent of modification or dependence on the
60
- Original Work required in order to classify a work as a Derivative Work;
61
- ‘this extent is determined by copyright law applicable in the country
62
- ‘mentioned in Article 15.
63
- ‘The Work’: the Original Work or its Derivative Works.
64
- ‘The Source Code’: the human-readable form of the Work which is the most
54
+
55
+ - ‘The Licence’: this Licence.
56
+
57
+ - The Original Work’: the work or software distributed or communicated by the
58
+ Licensor under this Licence, available as Source Code and also as Executable
59
+ Code as the case may be.
60
+
61
+ - Derivative Works’: the works or software that could be created by the
62
+ Licensee, based upon the Original Work or modifications thereof. This
63
+ Licence does not define the extent of modification or dependence on the
64
+ Original Work required in order to classify a work as a Derivative Work;
65
+ this extent is determined by copyright law applicable in the country
66
+ mentioned in Article 15.
67
+
68
+ - ‘The Work’: the Original Work or its Derivative Works.
69
+
70
+ - ‘The Source Code’: the human-readable form of the Work which is the most
65
71
  convenient for people to study and modify.
66
72
 
67
- ‘The Executable Code’: any code which has generally been compiled and which
73
+ - ‘The Executable Code’: any code which has generally been compiled and which
68
74
  is meant to be interpreted by a computer as a program.
69
- — ‘The Licensor’: the natural or legal person that distributes or communicates
75
+
76
+ - ‘The Licensor’: the natural or legal person that distributes or communicates
70
77
  the Work under the Licence.
71
- — ‘Contributor(s)’: any natural or legal person who modifies the Work under
78
+
79
+ - ‘Contributor(s)’: any natural or legal person who modifies the Work under
72
80
  the Licence, or otherwise contributes to the creation of a Derivative Work.
73
- — ‘The Licensee’ or ‘You’: any natural or legal person who makes any usage of
81
+
82
+ - ‘The Licensee’ or ‘You’: any natural or legal person who makes any usage of
74
83
  the Work under the terms of the Licence.
75
- — ‘Distribution’ or ‘Communication’: any act of selling, giving, lending,
84
+
85
+ - ‘Distribution’ or ‘Communication’: any act of selling, giving, lending,
76
86
  renting, distributing, communicating, transmitting, or otherwise making
77
87
  available, online or offline, copies of the Work or providing access to its
78
88
  essential functionalities at the disposal of any other natural or legal
@@ -84,15 +94,15 @@ The Licensor hereby grants You a worldwide, royalty-free, non-exclusive,
84
94
  sublicensable licence to do the following, for the duration of copyright
85
95
  vested in the Original Work:
86
96
 
87
- use the Work in any circumstance and for all usage,
88
- reproduce the Work,
89
- modify the Work, and make Derivative Works based upon the Work,
90
- communicate to the public, including the right to make available or display
97
+ - use the Work in any circumstance and for all usage,
98
+ - reproduce the Work,
99
+ - modify the Work, and make Derivative Works based upon the Work,
100
+ - communicate to the public, including the right to make available or display
91
101
  the Work or copies thereof to the public and perform publicly, as the case
92
102
  may be, the Work,
93
- distribute the Work or copies thereof,
94
- lend and rent the Work or copies thereof,
95
- sublicense rights in the Work or copies thereof.
103
+ - distribute the Work or copies thereof,
104
+ - lend and rent the Work or copies thereof,
105
+ - sublicense rights in the Work or copies thereof.
96
106
 
97
107
  Those rights can be exercised on any media, supports and formats, whether now
98
108
  known or later invented, as far as the applicable law permits so.
@@ -238,10 +248,11 @@ accessible, concluded, stored and reproduced by the Licensee.
238
248
  12. Termination of the Licence
239
249
 
240
250
  The Licence and the rights granted hereunder will terminate automatically upon
241
- any breach by the Licensee of the terms of the Licence. Such a termination
242
- will not terminate the licences of any person who has received the Work from
243
- the Licensee under the Licence, provided such persons remain in full
244
- compliance with the Licence.
251
+ any breach by the Licensee of the terms of the Licence.
252
+
253
+ Such a termination will not terminate the licences of any person who has
254
+ received the Work from the Licensee under the Licence, provided such persons
255
+ remain in full compliance with the Licence.
245
256
 
246
257
  13. Miscellaneous
247
258
 
@@ -266,12 +277,14 @@ their choice.
266
277
  14. Jurisdiction
267
278
 
268
279
  Without prejudice to specific agreement between parties,
269
- — any litigation resulting from the interpretation of this License, arising
280
+
281
+ - any litigation resulting from the interpretation of this License, arising
270
282
  between the European Union institutions, bodies, offices or agencies, as a
271
283
  Licensor, and any Licensee, will be subject to the jurisdiction of the Court
272
284
  of Justice of the European Union, as laid down in article 272 of the Treaty
273
285
  on the Functioning of the European Union,
274
- — any litigation arising between other parties and resulting from the
286
+
287
+ - any litigation arising between other parties and resulting from the
275
288
  interpretation of this License, will be subject to the exclusive
276
289
  jurisdiction of the competent court where the Licensor resides or conducts
277
290
  its primary business.
@@ -279,30 +292,34 @@ Without prejudice to specific agreement between parties,
279
292
  15. Applicable Law
280
293
 
281
294
  Without prejudice to specific agreement between parties,
282
- — this Licence shall be governed by the law of the European Union Member State
295
+
296
+ - this Licence shall be governed by the law of the European Union Member State
283
297
  where the Licensor has his seat, resides or has his registered office,
284
- — this licence shall be governed by Belgian law if the Licensor has no seat,
298
+
299
+ - this licence shall be governed by Belgian law if the Licensor has no seat,
285
300
  residence or registered office inside a European Union Member State.
286
301
 
287
302
  Appendix
288
303
 
289
304
  ‘Compatible Licences’ according to Article 5 EUPL are:
290
- — GNU General Public License (GPL) v. 2, v. 3
291
- GNU Affero General Public License (AGPL) v. 3
292
- Open Software License (OSL) v. 2.1, v. 3.0
293
- Eclipse Public License (EPL) v. 1.0
294
- CeCILL v. 2.0, v. 2.1
295
- Mozilla Public Licence (MPL) v. 2
296
- GNU Lesser General Public Licence (LGPL) v. 2.1, v. 3
297
- Creative Commons Attribution-ShareAlike v. 3.0 Unported (CC BY-SA 3.0) for
305
+
306
+ - GNU General Public License (GPL) v. 2, v. 3
307
+ - GNU Affero General Public License (AGPL) v. 3
308
+ - Open Software License (OSL) v. 2.1, v. 3.0
309
+ - Eclipse Public License (EPL) v. 1.0
310
+ - CeCILL v. 2.0, v. 2.1
311
+ - Mozilla Public Licence (MPL) v. 2
312
+ - GNU Lesser General Public Licence (LGPL) v. 2.1, v. 3
313
+ - Creative Commons Attribution-ShareAlike v. 3.0 Unported (CC BY-SA 3.0) for
298
314
  works other than software
299
- European Union Public Licence (EUPL) v. 1.1, v. 1.2
300
- Québec Free and Open-Source Licence — Reciprocity (LiLiQ-R) or
301
- Strong Reciprocity (LiLiQ-R+)
302
-
303
- The European Commission may update this Appendix to later versions of the
304
- above licences without producing a new version of the EUPL, as long as they
305
- provide the rights granted in Article 2 of this Licence and protect the
306
- covered Source Code from exclusive appropriation.
307
- — All other changes or additions to this Appendix require the production of a
308
- new EUPL version.
315
+ - European Union Public Licence (EUPL) v. 1.1, v. 1.2
316
+ - Québec Free and Open-Source Licence — Reciprocity (LiLiQ-R) or Strong
317
+ Reciprocity (LiLiQ-R+).
318
+
319
+ The European Commission may update this Appendix to later versions of the
320
+ above licences without producing a new version of the EUPL, as long as they
321
+ provide the rights granted in Article 2 of this Licence and protect the
322
+ covered Source Code from exclusive appropriation.
323
+
324
+ All other changes or additions to this Appendix require the production of a
325
+ new EUPL version.
@@ -28,16 +28,16 @@ limitations:
28
28
 
29
29
  ISC License
30
30
 
31
- Copyright (c) [year], [fullname]
31
+ Copyright (c) [year] [fullname]
32
32
 
33
33
  Permission to use, copy, modify, and/or distribute this software for any
34
34
  purpose with or without fee is hereby granted, provided that the above
35
35
  copyright notice and this permission notice appear in all copies.
36
36
 
37
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
38
- WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
39
- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
40
- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
41
- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
42
- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
43
- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
37
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
38
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
39
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
40
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
41
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
42
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
43
+ PERFORMANCE OF THIS SOFTWARE.
@@ -0,0 +1,45 @@
1
+ ---
2
+ title: MIT No Attribution
3
+ spdx-id: MIT-0
4
+
5
+ description: A short and simple permissive license with no conditions, not even requiring preservation of copyright and license notices. Licensed works, modifications, and larger works may be distributed under different terms and without source code.
6
+
7
+ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders.
8
+
9
+ using:
10
+ rssfs: https://github.com/dertuxmalwieder/rssfs/blob/master/LICENSE
11
+ SOIL2: https://github.com/SpartanJ/SOIL2/blob/master/LICENSE
12
+ Units.NET: https://github.com/angularsen/UnitsNet/blob/master/LICENSE
13
+
14
+ permissions:
15
+ - commercial-use
16
+ - modifications
17
+ - distribution
18
+ - private-use
19
+
20
+ conditions: []
21
+
22
+ limitations:
23
+ - liability
24
+ - warranty
25
+
26
+ ---
27
+
28
+ MIT No Attribution
29
+
30
+ Copyright [year] [fullname]
31
+
32
+ Permission is hereby granted, free of charge, to any person obtaining a copy
33
+ of this software and associated documentation files (the "Software"), to deal
34
+ in the Software without restriction, including without limitation the rights
35
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
36
+ copies of the Software, and to permit persons to whom the Software is
37
+ furnished to do so.
38
+
39
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
40
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
41
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
42
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
43
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
44
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
45
+ SOFTWARE.
@@ -0,0 +1,226 @@
1
+ ---
2
+ title: Mulan Permissive Software License, Version 2
3
+ spdx-id: MulanPSL-2.0
4
+ nickname: Mulan PSL v2
5
+
6
+ description: A permissive license similar to the <a href="/licenses/apache-2.0/">Apache License</a>, but explicitly states that it does not grant trademark rights. Mulan Permissive Software License is the first open source license in both Chinese and English approved by OSI.
7
+
8
+ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file.
9
+
10
+ note: It's suggested to take the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the end of the license.
11
+
12
+ using:
13
+ openGauss Server: https://github.com/opengauss-mirror/openGauss-server/blob/master/License
14
+ lute: https://github.com/88250/lute/blob/master/LICENSE
15
+ Android CN OAID: https://github.com/gzu-liyujiang/Android_CN_OAID/blob/master/LICENSE
16
+
17
+ permissions:
18
+ - commercial-use
19
+ - modifications
20
+ - distribution
21
+ - patent-use
22
+ - private-use
23
+
24
+ conditions:
25
+ - include-copyright
26
+
27
+ limitations:
28
+ - liability
29
+ - trademark-use
30
+ - warranty
31
+
32
+ ---
33
+
34
+ 木兰宽松许可证, 第2版
35
+
36
+ 木兰宽松许可证, 第2版
37
+
38
+ 2020年1月 http://license.coscl.org.cn/MulanPSL2
39
+
40
+ 您对“软件”的复制、使用、修改及分发受木兰宽松许可证,第2版(“本许可证”)的如下条款的约束:
41
+
42
+ 0. 定义
43
+
44
+ “软件” 是指由“贡献”构成的许可在“本许可证”下的程序和相关文档的集合。
45
+
46
+ “贡献” 是指由任一“贡献者”许可在“本许可证”下的受版权法保护的作品。
47
+
48
+ “贡献者” 是指将受版权法保护的作品许可在“本许可证”下的自然人或“法人实体”。
49
+
50
+ “法人实体” 是指提交贡献的机构及其“关联实体”。
51
+
52
+ “关联实体” 是指,对“本许可证”下的行为方而言,控制、受控制或与其共同受控制的机构,此处的控制是
53
+ 指有受控方或共同受控方至少50%直接或间接的投票权、资金或其他有价证券。
54
+
55
+ 1. 授予版权许可
56
+
57
+ 每个“贡献者”根据“本许可证”授予您永久性的、全球性的、免费的、非独占的、不可撤销的版权许可,您可
58
+ 以复制、使用、修改、分发其“贡献”,不论修改与否。
59
+
60
+ 2. 授予专利许可
61
+
62
+ 每个“贡献者”根据“本许可证”授予您永久性的、全球性的、免费的、非独占的、不可撤销的(根据本条规定
63
+ 撤销除外)专利许可,供您制造、委托制造、使用、许诺销售、销售、进口其“贡献”或以其他方式转移其“贡
64
+ 献”。前述专利许可仅限于“贡献者”现在或将来拥有或控制的其“贡献”本身或其“贡献”与许可“贡献”时的“软
65
+ 件”结合而将必然会侵犯的专利权利要求,不包括对“贡献”的修改或包含“贡献”的其他结合。如果您或您的“
66
+ 关联实体”直接或间接地,就“软件”或其中的“贡献”对任何人发起专利侵权诉讼(包括反诉或交叉诉讼)或
67
+ 其他专利维权行动,指控其侵犯专利权,则“本许可证”授予您对“软件”的专利许可自您提起诉讼或发起维权
68
+ 行动之日终止。
69
+
70
+ 3. 无商标许可
71
+
72
+ “本许可证”不提供对“贡献者”的商品名称、商标、服务标志或产品名称的商标许可,但您为满足第4条规定
73
+ 的声明义务而必须使用除外。
74
+
75
+ 4. 分发限制
76
+
77
+ 您可以在任何媒介中将“软件”以源程序形式或可执行形式重新分发,不论修改与否,但您必须向接收者提供“
78
+ 本许可证”的副本,并保留“软件”中的版权、商标、专利及免责声明。
79
+
80
+ 5. 免责声明与责任限制
81
+
82
+ “软件”及其中的“贡献”在提供时不带任何明示或默示的担保。在任何情况下,“贡献者”或版权所有者不对
83
+ 任何人因使用“软件”或其中的“贡献”而引发的任何直接或间接损失承担责任,不论因何种原因导致或者基于
84
+ 何种法律理论,即使其曾被建议有此种损失的可能性。
85
+
86
+ 6. 语言
87
+
88
+ “本许可证”以中英文双语表述,中英文版本具有同等法律效力。如果中英文版本存在任何冲突不一致,以中文
89
+ 版为准。
90
+
91
+ 条款结束
92
+
93
+ 如何将木兰宽松许可证,第2版,应用到您的软件
94
+
95
+ 如果您希望将木兰宽松许可证,第2版,应用到您的新软件,为了方便接收者查阅,建议您完成如下三步:
96
+
97
+ 1, 请您补充如下声明中的空白,包括软件名、软件的首次发表年份以及您作为版权人的名字;
98
+
99
+ 2, 请您在软件包的一级目录下创建以“LICENSE”为名的文件,将整个许可证文本放入该文件中;
100
+
101
+ 3, 请将如下声明文本放入每个源文件的头部注释中。
102
+
103
+ Copyright (c) [Year] [name of copyright holder]
104
+ [Software Name] is licensed under Mulan PSL v2.
105
+ You can use this software according to the terms and conditions of the Mulan
106
+ PSL v2.
107
+ You may obtain a copy of Mulan PSL v2 at:
108
+ http://license.coscl.org.cn/MulanPSL2
109
+ THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY
110
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
111
+ NON-INFRINGEMENT,
112
+ MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
113
+ See the Mulan PSL v2 for more details.
114
+
115
+ Mulan Permissive Software License,Version 2
116
+
117
+ Mulan Permissive Software License,Version 2 (Mulan PSL v2)
118
+
119
+ January 2020 http://license.coscl.org.cn/MulanPSL2
120
+
121
+ Your reproduction, use, modification and distribution of the Software shall
122
+ be subject to Mulan PSL v2 (this License) with the following terms and
123
+ conditions:
124
+
125
+ 0. Definition
126
+
127
+ Software means the program and related documents which are licensed under
128
+ this License and comprise all Contribution(s).
129
+
130
+ Contribution means the copyrightable work licensed by a particular
131
+ Contributor under this License.
132
+
133
+ Contributor means the Individual or Legal Entity who licenses its
134
+ copyrightable work under this License.
135
+
136
+ Legal Entity means the entity making a Contribution and all its
137
+ Affiliates.
138
+
139
+ Affiliates means entities that control, are controlled by, or are under
140
+ common control with the acting entity under this License, ‘control’ means
141
+ direct or indirect ownership of at least fifty percent (50%) of the voting
142
+ power, capital or other securities of controlled or commonly controlled
143
+ entity.
144
+
145
+ 1. Grant of Copyright License
146
+
147
+ Subject to the terms and conditions of this License, each Contributor hereby
148
+ grants to you a perpetual, worldwide, royalty-free, non-exclusive,
149
+ irrevocable copyright license to reproduce, use, modify, or distribute its
150
+ Contribution, with modification or not.
151
+
152
+ 2. Grant of Patent License
153
+
154
+ Subject to the terms and conditions of this License, each Contributor hereby
155
+ grants to you a perpetual, worldwide, royalty-free, non-exclusive,
156
+ irrevocable (except for revocation under this Section) patent license to
157
+ make, have made, use, offer for sale, sell, import or otherwise transfer its
158
+ Contribution, where such patent license is only limited to the patent claims
159
+ owned or controlled by such Contributor now or in future which will be
160
+ necessarily infringed by its Contribution alone, or by combination of the
161
+ Contribution with the Software to which the Contribution was contributed.
162
+ The patent license shall not apply to any modification of the Contribution,
163
+ and any other combination which includes the Contribution. If you or your
164
+ Affiliates directly or indirectly institute patent litigation (including a
165
+ cross claim or counterclaim in a litigation) or other patent enforcement
166
+ activities against any individual or entity by alleging that the Software or
167
+ any Contribution in it infringes patents, then any patent license granted to
168
+ you under this License for the Software shall terminate as of the date such
169
+ litigation or activity is filed or taken.
170
+
171
+ 3. No Trademark License
172
+
173
+ No trademark license is granted to use the trade names, trademarks, service
174
+ marks, or product names of Contributor, except as required to fulfill notice
175
+ requirements in section 4.
176
+
177
+ 4. Distribution Restriction
178
+
179
+ You may distribute the Software in any medium with or without modification,
180
+ whether in source or executable forms, provided that you provide recipients
181
+ with a copy of this License and retain copyright, patent, trademark and
182
+ disclaimer statements in the Software.
183
+
184
+ 5. Disclaimer of Warranty and Limitation of Liability
185
+
186
+ THE SOFTWARE AND CONTRIBUTION IN IT ARE PROVIDED WITHOUT WARRANTIES OF ANY
187
+ KIND, EITHER EXPRESS OR IMPLIED. IN NO EVENT SHALL ANY CONTRIBUTOR OR
188
+ COPYRIGHT HOLDER BE LIABLE TO YOU FOR ANY DAMAGES, INCLUDING, BUT NOT
189
+ LIMITED TO ANY DIRECT, OR INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING
190
+ FROM YOUR USE OR INABILITY TO USE THE SOFTWARE OR THE CONTRIBUTION IN IT, NO
191
+ MATTER HOW IT’S CAUSED OR BASED ON WHICH LEGAL THEORY, EVEN IF ADVISED OF
192
+ THE POSSIBILITY OF SUCH DAMAGES.
193
+
194
+ 6. Language
195
+
196
+ THIS LICENSE IS WRITTEN IN BOTH CHINESE AND ENGLISH, AND THE CHINESE VERSION
197
+ AND ENGLISH VERSION SHALL HAVE THE SAME LEGAL EFFECT. IN THE CASE OF
198
+ DIVERGENCE BETWEEN THE CHINESE AND ENGLISH VERSIONS, THE CHINESE VERSION
199
+ SHALL PREVAIL.
200
+
201
+ END OF THE TERMS AND CONDITIONS
202
+
203
+ How to Apply the Mulan Permissive Software License,Version 2
204
+ (Mulan PSL v2) to Your Software
205
+
206
+ To apply the Mulan PSL v2 to your work, for easy identification by
207
+ recipients, you are suggested to complete following three steps:
208
+
209
+ i. Fill in the blanks in following statement, including insert your software
210
+ name, the year of the first publication of your software, and your name
211
+ identified as the copyright owner;
212
+ ii. Create a file named "LICENSE" which contains the whole context of this
213
+ License in the first directory of your software package;
214
+ iii. Attach the statement to the appropriate annotated syntax at the
215
+ beginning of each source file.
216
+
217
+ Copyright (c) [Year] [name of copyright holder]
218
+ [Software Name] is licensed under Mulan PSL v2.
219
+ You can use this software according to the terms and conditions of the Mulan
220
+ PSL v2.
221
+ You may obtain a copy of Mulan PSL v2 at:
222
+ http://license.coscl.org.cn/MulanPSL2
223
+ THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY
224
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
225
+ NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
226
+ See the Mulan PSL v2 for more details.
@@ -1,5 +1,5 @@
1
1
  ---
2
- title: ODC Open Database License v1.0
2
+ title: Open Data Commons Open Database License v1.0
3
3
  spdx-id: ODbL-1.0
4
4
  nickname: ODbL
5
5
 
@@ -10,7 +10,7 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of
10
10
  using:
11
11
  World Countries: https://github.com/mledoze/countries/blob/master/LICENSE
12
12
  OpenFlights: https://github.com/jpatokal/openflights/blob/master/data/LICENSE
13
- Public Zone Database: https://github.com/zonedb/zonedb/blob/master/LICENSE.md
13
+ Public Zone Database: https://github.com/zonedb/zonedb/blob/main/LICENSE.md
14
14
 
15
15
  permissions:
16
16
  - commercial-use
@@ -41,7 +41,7 @@ authorship (the "Original Work") whose owner (the "Licensor") has placed the
41
41
  following licensing notice adjacent to the copyright notice for the Original
42
42
  Work:
43
43
 
44
- Licensed under the Open Software License version 3.0
44
+ Licensed under the Open Software License version 3.0
45
45
 
46
46
  1) Grant of Copyright License. Licensor grants You a worldwide, royalty-free,
47
47
  non-exclusive, sublicensable license, for the duration of the copyright, to do
@@ -8,7 +8,7 @@ description: A license with no conditions whatsoever which dedicates works to th
8
8
  how: Create a text file (typically named UNLICENSE or UNLICENSE.txt) in the root of your source code and copy the text of the license disclaimer into the file.
9
9
 
10
10
  using:
11
- youtube-dl: https://github.com/rg3/youtube-dl/blob/master/LICENSE
11
+ scoop: https://github.com/lukesampson/scoop/blob/master/LICENSE
12
12
  kakoune: https://github.com/mawww/kakoune/blob/master/UNLICENSE
13
13
  RDF.rb: https://github.com/ruby-rdf/rdf/blob/master/UNLICENSE
14
14
 
@@ -9,7 +9,7 @@ how: Insert the license or a link to it along with a copyright notice into your
9
9
  note: It is recommended to add a link to the license and copyright notice at the top of each source file, example text can be found at https://oss.oracle.com/licenses/upl/.
10
10
 
11
11
  using:
12
- Oracle Product Images for Docker: https://github.com/oracle/docker-images/blob/master/LICENSE
12
+ Oracle Product Images for Docker: https://github.com/oracle/docker-images/blob/main/LICENSE.txt
13
13
  Skater: https://github.com/oracle/Skater/blob/master/LICENSE
14
14
  Soufflé: https://github.com/souffle-lang/souffle/blob/master/LICENSE
15
15
 
@@ -0,0 +1,25 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <SPDXLicenseCollection xmlns="http://www.spdx.org/license">
3
+ <license isOsiApproved="true" licenseId="0BSD" name="BSD Zero Clause License">
4
+ <crossRefs>
5
+ <crossRef>http://landley.net/toybox/license.html</crossRef>
6
+ <crossRef>https://opensource.org/licenses/0BSD</crossRef>
7
+ </crossRefs>
8
+ <text>
9
+ <titleText>
10
+ <p><alt name="title" match="(BSD Zero[ -]Clause|Zero[ -]Clause BSD)( License)?( \(0BSD\))?">BSD Zero Clause License</alt></p>
11
+ </titleText>
12
+ <copyrightText>
13
+ <p>Copyright (C) YEAR by AUTHOR EMAIL</p>
14
+ </copyrightText>
15
+
16
+ <p>Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is
17
+ hereby granted.</p>
18
+ <p>THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE
19
+ INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE
20
+ LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
21
+ FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
22
+ ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.</p>
23
+ </text>
24
+ </license>
25
+ </SPDXLicenseCollection>