licensee 9.10.1 → 9.13.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (130) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.md +1 -1
  3. data/bin/licensee +5 -4
  4. data/lib/licensee.rb +7 -5
  5. data/lib/licensee/commands/detect.rb +7 -5
  6. data/lib/licensee/commands/diff.rb +7 -8
  7. data/lib/licensee/commands/license_path.rb +2 -0
  8. data/lib/licensee/commands/version.rb +2 -0
  9. data/lib/licensee/content_helper.rb +230 -85
  10. data/lib/licensee/hash_helper.rb +7 -5
  11. data/lib/licensee/license.rb +21 -22
  12. data/lib/licensee/license_field.rb +3 -1
  13. data/lib/licensee/license_meta.rb +2 -0
  14. data/lib/licensee/license_rules.rb +2 -0
  15. data/lib/licensee/matchers.rb +2 -0
  16. data/lib/licensee/matchers/cabal.rb +16 -2
  17. data/lib/licensee/matchers/cargo.rb +3 -1
  18. data/lib/licensee/matchers/copyright.rb +6 -4
  19. data/lib/licensee/matchers/cran.rb +5 -3
  20. data/lib/licensee/matchers/dice.rb +6 -4
  21. data/lib/licensee/matchers/dist_zilla.rb +3 -1
  22. data/lib/licensee/matchers/exact.rb +2 -0
  23. data/lib/licensee/matchers/gemspec.rb +7 -5
  24. data/lib/licensee/matchers/matcher.rb +3 -1
  25. data/lib/licensee/matchers/npm_bower.rb +3 -1
  26. data/lib/licensee/matchers/package.rb +2 -0
  27. data/lib/licensee/matchers/reference.rb +3 -1
  28. data/lib/licensee/matchers/spdx.rb +3 -1
  29. data/lib/licensee/project_files.rb +2 -0
  30. data/lib/licensee/project_files/license_file.rb +12 -10
  31. data/lib/licensee/project_files/package_manager_file.rb +2 -0
  32. data/lib/licensee/project_files/project_file.rb +12 -5
  33. data/lib/licensee/project_files/readme_file.rb +5 -3
  34. data/lib/licensee/projects.rb +2 -0
  35. data/lib/licensee/projects/fs_project.rb +9 -2
  36. data/lib/licensee/projects/git_project.rb +19 -11
  37. data/lib/licensee/projects/github_project.rb +3 -1
  38. data/lib/licensee/projects/project.rb +7 -5
  39. data/lib/licensee/rule.rb +2 -0
  40. data/lib/licensee/version.rb +3 -1
  41. data/licensee.gemspec +45 -0
  42. data/spec/bin_spec.rb +3 -1
  43. data/spec/fixture_spec.rb +46 -0
  44. data/spec/fixtures/bsd-3-noendorseslash/LICENSE +30 -0
  45. data/spec/fixtures/cc0-cal2013/LICENSE +116 -0
  46. data/spec/fixtures/cc0-cc/LICENSE +121 -0
  47. data/spec/fixtures/detect.json +10 -8
  48. data/spec/fixtures/fixtures.yml +134 -0
  49. data/spec/fixtures/html/license.html +262 -0
  50. data/spec/fixtures/license-hashes.json +41 -0
  51. data/spec/fixtures/mit-optional/LICENSE.txt +21 -0
  52. data/spec/fixtures/multiple-arrs/LICENSE +30 -0
  53. data/spec/fixtures/readme-invalid-encoding/README.md +24 -0
  54. data/spec/fixtures/unlicense-noinfo/LICENSE +22 -0
  55. data/spec/integration_spec.rb +68 -2
  56. data/spec/licensee/commands/detect_spec.rb +11 -7
  57. data/spec/licensee/commands/license_path_spec.rb +3 -1
  58. data/spec/licensee/commands/version_spec.rb +3 -1
  59. data/spec/licensee/content_helper_spec.rb +185 -67
  60. data/spec/licensee/hash_helper_spec.rb +3 -1
  61. data/spec/licensee/license_field_spec.rb +5 -3
  62. data/spec/licensee/license_meta_spec.rb +16 -12
  63. data/spec/licensee/license_rules_spec.rb +6 -2
  64. data/spec/licensee/license_spec.rb +37 -35
  65. data/spec/licensee/matchers/cabal_matcher_spec.rb +97 -2
  66. data/spec/licensee/matchers/cargo_matcher_spec.rb +5 -2
  67. data/spec/licensee/matchers/copyright_matcher_spec.rb +7 -5
  68. data/spec/licensee/matchers/cran_matcher_spec.rb +5 -2
  69. data/spec/licensee/matchers/dice_matcher_spec.rb +15 -12
  70. data/spec/licensee/matchers/dist_zilla_matcher_spec.rb +5 -2
  71. data/spec/licensee/matchers/exact_matcher_spec.rb +5 -2
  72. data/spec/licensee/matchers/gemspec_matcher_spec.rb +5 -2
  73. data/spec/licensee/matchers/matcher_spec.rb +6 -2
  74. data/spec/licensee/matchers/npm_bower_matcher_spec.rb +5 -3
  75. data/spec/licensee/matchers/package_matcher_spec.rb +6 -2
  76. data/spec/licensee/matchers/reference_matcher_spec.rb +4 -2
  77. data/spec/licensee/matchers/spdx_matcher_spec.rb +5 -2
  78. data/spec/licensee/project_files/license_file_spec.rb +20 -18
  79. data/spec/licensee/project_files/package_info_spec.rb +5 -1
  80. data/spec/licensee/project_files/project_file_spec.rb +8 -2
  81. data/spec/licensee/project_files/readme_file_spec.rb +4 -1
  82. data/spec/licensee/project_spec.rb +24 -17
  83. data/spec/licensee/projects/git_project_spec.rb +23 -0
  84. data/spec/licensee/projects/github_project_spec.rb +8 -5
  85. data/spec/licensee/rule_spec.rb +6 -3
  86. data/spec/licensee_spec.rb +12 -9
  87. data/spec/spec_helper.rb +27 -9
  88. data/spec/vendored_license_spec.rb +29 -10
  89. data/vendor/choosealicense.com/_data/meta.yml +0 -4
  90. data/vendor/choosealicense.com/_data/rules.yml +3 -0
  91. data/vendor/choosealicense.com/_licenses/0bsd.txt +39 -0
  92. data/vendor/choosealicense.com/_licenses/afl-3.0.txt +7 -6
  93. data/vendor/choosealicense.com/_licenses/agpl-3.0.txt +0 -1
  94. data/vendor/choosealicense.com/_licenses/apache-2.0.txt +1 -2
  95. data/vendor/choosealicense.com/_licenses/artistic-2.0.txt +1 -2
  96. data/vendor/choosealicense.com/_licenses/bsd-2-clause.txt +8 -6
  97. data/vendor/choosealicense.com/_licenses/bsd-3-clause-clear.txt +2 -2
  98. data/vendor/choosealicense.com/_licenses/bsd-3-clause.txt +12 -10
  99. data/vendor/choosealicense.com/_licenses/bsd-4-clause.txt +61 -0
  100. data/vendor/choosealicense.com/_licenses/bsl-1.0.txt +5 -2
  101. data/vendor/choosealicense.com/_licenses/cc-by-4.0.txt +16 -14
  102. data/vendor/choosealicense.com/_licenses/cc-by-sa-4.0.txt +16 -14
  103. data/vendor/choosealicense.com/_licenses/cc0-1.0.txt +113 -105
  104. data/vendor/choosealicense.com/_licenses/cecill-2.1.txt +579 -0
  105. data/vendor/choosealicense.com/_licenses/ecl-2.0.txt +1 -2
  106. data/vendor/choosealicense.com/_licenses/epl-1.0.txt +1 -2
  107. data/vendor/choosealicense.com/_licenses/epl-2.0.txt +3 -4
  108. data/vendor/choosealicense.com/_licenses/eupl-1.1.txt +0 -1
  109. data/vendor/choosealicense.com/_licenses/eupl-1.2.txt +0 -1
  110. data/vendor/choosealicense.com/_licenses/gpl-2.0.txt +0 -1
  111. data/vendor/choosealicense.com/_licenses/gpl-3.0.txt +1 -2
  112. data/vendor/choosealicense.com/_licenses/isc.txt +2 -3
  113. data/vendor/choosealicense.com/_licenses/lgpl-2.1.txt +0 -1
  114. data/vendor/choosealicense.com/_licenses/lgpl-3.0.txt +1 -3
  115. data/vendor/choosealicense.com/_licenses/lppl-1.3c.txt +1 -2
  116. data/vendor/choosealicense.com/_licenses/mit.txt +1 -2
  117. data/vendor/choosealicense.com/_licenses/mpl-2.0.txt +0 -1
  118. data/vendor/choosealicense.com/_licenses/ms-pl.txt +0 -1
  119. data/vendor/choosealicense.com/_licenses/ms-rl.txt +0 -1
  120. data/vendor/choosealicense.com/_licenses/ncsa.txt +21 -22
  121. data/vendor/choosealicense.com/_licenses/odbl-1.0.txt +573 -0
  122. data/vendor/choosealicense.com/_licenses/ofl-1.1.txt +4 -2
  123. data/vendor/choosealicense.com/_licenses/osl-3.0.txt +1 -2
  124. data/vendor/choosealicense.com/_licenses/postgresql.txt +4 -5
  125. data/vendor/choosealicense.com/_licenses/unlicense.txt +1 -2
  126. data/vendor/choosealicense.com/_licenses/upl-1.0.txt +4 -5
  127. data/vendor/choosealicense.com/_licenses/vim.txt +111 -0
  128. data/vendor/choosealicense.com/_licenses/wtfpl.txt +0 -1
  129. data/vendor/choosealicense.com/_licenses/zlib.txt +4 -2
  130. metadata +79 -28
@@ -1,13 +1,12 @@
1
1
  ---
2
2
  title: Educational Community License v2.0
3
3
  spdx-id: ECL-2.0
4
- source: https://opensource.org/licenses/ECL-2.0
5
4
 
6
5
  description: The Educational Community License version 2.0 ("ECL") consists of the Apache 2.0 license, modified to change the scope of the patent grant in section 3 to be specific to the needs of the education communities using this license.
7
6
 
8
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.
9
8
 
10
- note: The Apereo Foundation recommends taking the additional step of adding a boilerplate notice to the header of each source file. You can find the notice at the very end of the license in the appendix.
9
+ note: The Apereo Foundation recommends taking the additional step of adding a boilerplate notice to the header of each source file. You can find the notice in the appendix at the very end of the license text.
11
10
 
12
11
  using:
13
12
  - Sakai: https://github.com/sakaiproject/sakai/blob/master/LICENSE
@@ -1,7 +1,6 @@
1
1
  ---
2
2
  title: Eclipse Public License 1.0
3
3
  spdx-id: EPL-1.0
4
- source: https://www.eclipse.org/legal/epl-v10.html
5
4
 
6
5
  description: This commercially-friendly copyleft license provides the ability to commercially license binaries; a modern royalty-free patent license grant; and the ability for linked works to use other licenses, including commercial ones.
7
6
 
@@ -10,7 +9,7 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of
10
9
  using:
11
10
  - Eclipse hawkBit: https://github.com/eclipse/hawkbit/blob/master/LICENSE
12
11
  - JUnit: https://github.com/junit-team/junit4/blob/master/LICENSE-junit.txt
13
- - openHAB: https://github.com/openhab/openhab-distro/blob/master/LICENSE
12
+ - Quil: https://github.com/quil/quil/blob/master/LICENSE
14
13
 
15
14
  permissions:
16
15
  - commercial-use
@@ -2,7 +2,6 @@
2
2
  title: Eclipse Public License 2.0
3
3
  spdx-id: EPL-2.0
4
4
  redirect_from: /licenses/eclipse/
5
- source: https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt
6
5
  hidden: false
7
6
 
8
7
  description: This commercially-friendly copyleft license provides the ability to commercially license binaries; a modern royalty-free patent license grant; and the ability for linked works to use other licenses, including commercial ones.
@@ -10,8 +9,8 @@ description: This commercially-friendly copyleft license provides the ability to
10
9
  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.
11
10
 
12
11
  using:
13
- - Eclipse Ditto: https://github.com/eclipse/ditto/blob/master/LICENSE
14
12
  - Eclipse SmartHome: https://github.com/eclipse/smarthome/blob/master/LICENSE
13
+ - openHAB: https://github.com/openhab/openhab-distro/blob/master/LICENSE
15
14
  - SUMO: https://github.com/eclipse/sumo/blob/master/LICENSE
16
15
 
17
16
  permissions:
@@ -295,8 +294,8 @@ No third-party beneficiary rights are created under this Agreement.
295
294
 
296
295
  Exhibit A - Form of Secondary Licenses Notice
297
296
 
298
- "This Source Code may also be made available under the following
299
- Secondary Licenses when the conditions for such availability set forth
297
+ "This Source Code may also be made available under the following
298
+ Secondary Licenses when the conditions for such availability set forth
300
299
  in the Eclipse Public License, v. 2.0 are satisfied: {name license(s),
301
300
  version(s), and exceptions or additional permissions here}."
302
301
 
@@ -2,7 +2,6 @@
2
2
  title: European Union Public License 1.1
3
3
  spdx-id: EUPL-1.1
4
4
  redirect_from: /licenses/eupl-v1.1/
5
- source: https://joinup.ec.europa.eu/page/eupl-text-11-12
6
5
 
7
6
  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.
8
7
 
@@ -1,7 +1,6 @@
1
1
  ---
2
2
  title: European Union Public License 1.2
3
3
  spdx-id: EUPL-1.2
4
- source: https://eur-lex.europa.eu/legal-content/TXT/?uri=CELEX%3A32017D0863
5
4
 
6
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.
7
6
 
@@ -3,7 +3,6 @@ title: GNU General Public License v2.0
3
3
  spdx-id: GPL-2.0
4
4
  nickname: GNU GPLv2
5
5
  redirect_from: /licenses/gpl-v2/
6
- source: https://www.gnu.org/licenses/gpl-2.0.txt
7
6
  hidden: false
8
7
 
9
8
  description: The GNU GPL is the most widely used free software license and has a strong copyleft requirement. When distributing derived works, the source code of the work must be made available under the same license. There are multiple variants of the GNU GPL, each with different requirements.
@@ -3,13 +3,12 @@ title: GNU General Public License v3.0
3
3
  spdx-id: GPL-3.0
4
4
  nickname: GNU GPLv3
5
5
  redirect_from: /licenses/gpl-v3/
6
- source: https://www.gnu.org/licenses/gpl-3.0.txt
7
6
  featured: true
8
7
  hidden: false
9
8
 
10
9
  description: Permissions of this strong copyleft license are conditioned on making available complete source code of licensed works and modifications, which include larger works using a licensed work, under the same license. Copyright and license notices must be preserved. Contributors provide an express grant of patent rights.
11
10
 
12
- 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.
11
+ how: Create a text file (typically named COPYING, as per GNU conventions) in the root of your source code and copy the text of the license into the file.
13
12
 
14
13
  note: The Free Software Foundation recommends taking 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.
15
14
 
@@ -1,16 +1,15 @@
1
1
  ---
2
2
  title: ISC License
3
3
  spdx-id: ISC
4
- source: https://opensource.org/licenses/isc-license
5
4
 
6
5
  description: A permissive license lets people do anything with your code with proper attribution and without warranty. The ISC license is functionally equivalent to the <a href="/licenses/bsd-2-clause/">BSD 2-Clause</a> and <a href="/licenses/mit/">MIT</a> licenses, removing some language that is no longer necessary.
7
6
 
8
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.
9
8
 
10
9
  using:
11
- - Helix: https://github.com/tildeio/helix/blob/master/LICENSE
10
+ - Starship: https://github.com/starship/starship/blob/master/LICENSE
12
11
  - Node.js semver: https://github.com/npm/node-semver/blob/master/LICENSE
13
- - OpenStreetMap iD: https://github.com/openstreetmap/iD/blob/master/LICENSE.md
12
+ - OpenStreetMap iD: https://github.com/openstreetmap/iD/blob/develop/LICENSE.md
14
13
 
15
14
  permissions:
16
15
  - commercial-use
@@ -3,7 +3,6 @@ title: GNU Lesser General Public License v2.1
3
3
  spdx-id: LGPL-2.1
4
4
  nickname: GNU LGPLv2.1
5
5
  redirect_from: /licenses/lgpl-v2.1/
6
- source: https://www.gnu.org/licenses/lgpl-2.1.txt
7
6
  hidden: false
8
7
 
9
8
  description: Primarily used for software libraries, the GNU LGPL requires that derived works be licensed under the same license, but works that only link to it do not fall under this restriction. There are two commonly used versions of the GNU LGPL.
@@ -3,12 +3,10 @@ title: GNU Lesser General Public License v3.0
3
3
  spdx-id: LGPL-3.0
4
4
  nickname: GNU LGPLv3
5
5
  redirect_from: /licenses/lgpl-v3/
6
- source: https://www.gnu.org/licenses/lgpl-3.0.txt
7
- hidden: false
8
6
 
9
7
  description: Permissions of this copyleft license are conditioned on making available complete source code of licensed works and modifications under the same license or the GNU GPLv3. Copyright and license notices must be preserved. Contributors provide an express grant of patent rights. However, a larger work using the licensed work through interfaces provided by the licensed work may be distributed under different terms and without source code for the larger work.
10
8
 
11
- how: This license is an additional set of permissions to the <a href="/licenses/gpl-3.0">GNU GPLv3</a> license. Follow the instructions to apply the GNU GPLv3. Then add a separate file named COPYING.LESSER in the root of your source code and copy the text.
9
+ how: This license is an additional set of permissions to the <a href="/licenses/gpl-3.0">GNU GPLv3</a> license. Follow the instructions to apply the GNU GPLv3, in the root of your source code. Then add another file named COPYING.LESSER and copy the text.
12
10
 
13
11
  note: The Free Software Foundation recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the end of the <a href="/licenses/gpl-3.0">GNU GPLv3 license</a>. Insert the word “Lesser” before “General” in all three places in the boilerplate notice to make sure that you refer to the GNU LGPLv3 and not the GNU GPLv3.
14
12
 
@@ -1,11 +1,10 @@
1
1
  ---
2
2
  title: LaTeX Project Public License v1.3c
3
3
  spdx-id: LPPL-1.3c
4
- source: https://latex-project.org/lppl/lppl-1-3c.html
5
4
 
6
5
  description: The LaTeX Project Public License (LPPL) is the primary license under which the LaTeX kernel and the base LaTeX packages are distributed.
7
6
 
8
- how: To use this license, place in each of the components of your work both an explicit copyright notice including your name and the year the work was authored and/or last substantially modified. Include also a statement that the distribution and/or modification of that component is constrained by the conditions in this license.
7
+ how: Place in each of the components of your work both an explicit copyright notice including your name, and the year the work was authored and/or last substantially modified. Include also a statement that the distribution and/or modification of that component is constrained by the conditions in this license.
9
8
 
10
9
  note: An example boilerplate and more information about how to use the license can be found at the end of the license.
11
10
 
@@ -1,7 +1,6 @@
1
1
  ---
2
2
  title: MIT License
3
3
  spdx-id: MIT
4
- source: https://opensource.org/licenses/MIT
5
4
  featured: true
6
5
  hidden: false
7
6
 
@@ -11,7 +10,7 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of
11
10
 
12
11
  using:
13
12
  - Babel: https://github.com/babel/babel/blob/master/LICENSE
14
- - .NET Core: https://github.com/dotnet/corefx/blob/master/LICENSE.TXT
13
+ - .NET Core: https://github.com/dotnet/runtime/blob/master/LICENSE.TXT
15
14
  - Rails: https://github.com/rails/rails/blob/master/MIT-LICENSE
16
15
 
17
16
  permissions:
@@ -2,7 +2,6 @@
2
2
  title: Mozilla Public License 2.0
3
3
  spdx-id: MPL-2.0
4
4
  redirect_from: /licenses/mozilla/
5
- source: https://www.mozilla.org/media/MPL/2.0/index.txt
6
5
  hidden: false
7
6
 
8
7
  description: Permissions of this weak copyleft license are conditioned on making available source code of licensed files and modifications of those files under the same license (or in certain cases, one of the GNU licenses). Copyright and license notices must be preserved. Contributors provide an express grant of patent rights. However, a larger work using the licensed work may be distributed under different terms and without source code for files added in the larger work.
@@ -1,7 +1,6 @@
1
1
  ---
2
2
  title: Microsoft Public License
3
3
  spdx-id: MS-PL
4
- source: https://opensource.org/licenses/ms-pl
5
4
 
6
5
  description: An open source license with a patent grant.
7
6
 
@@ -1,7 +1,6 @@
1
1
  ---
2
2
  title: Microsoft Reciprocal License
3
3
  spdx-id: MS-RL
4
- source: https://opensource.org/licenses/ms-rl
5
4
 
6
5
  description: An open source license with a patent grant similar to the <a href="/licenses/ms-pl/">Microsoft Public License</a>, with the additional condition that any source code for any derived file be provided under this license.
7
6
 
@@ -2,13 +2,12 @@
2
2
  title: University of Illinois/NCSA Open Source License
3
3
  spdx-id: NCSA
4
4
  nickname: UIUC/NCSA
5
- source: https://opensource.org/licenses/NCSA
6
5
 
7
6
  description: The University of Illinois/NCSA Open Source License, or UIUC license, is a permissive free software license, based on the <a href="/licenses/mit/">MIT/X11 license</a> and the <a href="/licenses/bsd-3-clause/">BSD 3-clause License</a>. Its conditions include requiring the preservation of copyright and license notices both in source and in binary distributions and the prohibition of using the names of the authors or the project organization to promote or endorse derived products.
8
7
 
9
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. Replace [project] with the project organization, if any, that sponsors this work.
10
9
 
11
- using:
10
+ using:
12
11
  - LLDB: https://github.com/llvm-mirror/lldb/blob/master/LICENSE.TXT
13
12
  - ROCR-Runtime: https://github.com/RadeonOpenCompute/ROCR-Runtime/blob/master/LICENSE.txt
14
13
  - RLTK: https://github.com/chriswailes/RLTK/blob/master/LICENSE
@@ -28,37 +27,37 @@ limitations:
28
27
 
29
28
  ---
30
29
 
31
- University of Illinois/NCSA Open Source License
30
+ University of Illinois/NCSA Open Source License
32
31
 
33
- Copyright (c) [year] [fullname]. All rights reserved.
32
+ Copyright (c) [year] [fullname]. All rights reserved.
34
33
 
35
- Developed by: [project]
36
- [fullname]
34
+ Developed by: [project]
35
+ [fullname]
37
36
  [projecturl]
38
-
39
- Permission is hereby granted, free of charge, to any person
40
- obtaining a copy of this software and associated documentation files
41
- (the "Software"), to deal with the Software without restriction,
37
+
38
+ Permission is hereby granted, free of charge, to any person
39
+ obtaining a copy of this software and associated documentation files
40
+ (the "Software"), to deal with the Software without restriction,
42
41
  including without limitation the rights to use, copy, modify, merge,
43
- publish, distribute, sublicense, and/or sell copies of the Software,
44
- and to permit persons to whom the Software is furnished to do so,
42
+ publish, distribute, sublicense, and/or sell copies of the Software,
43
+ and to permit persons to whom the Software is furnished to do so,
45
44
  subject to the following conditions:
46
45
 
47
- * Redistributions of source code must retain the above copyright notice,
46
+ * Redistributions of source code must retain the above copyright notice,
48
47
  this list of conditions and the following disclaimers.
49
48
 
50
- * Redistributions in binary form must reproduce the above copyright
51
- notice, this list of conditions and the following disclaimers in the
49
+ * Redistributions in binary form must reproduce the above copyright
50
+ notice, this list of conditions and the following disclaimers in the
52
51
  documentation and/or other materials provided with the distribution.
53
52
 
54
- * Neither the names of [fullname], [project] nor the names of its
53
+ * Neither the names of [fullname], [project] nor the names of its
55
54
  contributors may be used to endorse or promote products derived from
56
55
  this Software without specific prior written permission.
57
-
58
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
59
- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
60
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
61
- CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
62
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
56
+
57
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
58
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
59
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
60
+ CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
61
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
63
62
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH
64
63
  THE SOFTWARE.
@@ -0,0 +1,573 @@
1
+ ---
2
+ title: ODC Open Database License v1.0
3
+ spdx-id: ODbL-1.0
4
+ nickname: ODbL
5
+
6
+ description: The Open Database License (ODbL) is a license agreement intended to allow users to freely share, modify, and use a database while maintaining this same freedom for others.
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
+ using:
11
+ - World Countries: https://github.com/mledoze/countries/blob/master/LICENSE
12
+ - OpenFlights: https://github.com/jpatokal/openflights/blob/master/data/LICENSE
13
+ - Public Zone Database: https://github.com/zonedb/zonedb/blob/master/LICENSE.md
14
+
15
+ permissions:
16
+ - commercial-use
17
+ - distribution
18
+ - modifications
19
+ - private-use
20
+
21
+ conditions:
22
+ - disclose-source
23
+ - include-copyright
24
+ - same-license
25
+
26
+ limitations:
27
+ - liability
28
+ - patent-use
29
+ - trademark-use
30
+ - warranty
31
+
32
+ ---
33
+
34
+ ## ODC Open Database License (ODbL)
35
+
36
+ ### Preamble
37
+
38
+ The Open Database License (ODbL) is a license agreement intended to
39
+ allow users to freely share, modify, and use this Database while
40
+ maintaining this same freedom for others. Many databases are covered by
41
+ copyright, and therefore this document licenses these rights. Some
42
+ jurisdictions, mainly in the European Union, have specific rights that
43
+ cover databases, and so the ODbL addresses these rights, too. Finally,
44
+ the ODbL is also an agreement in contract for users of this Database to
45
+ act in certain ways in return for accessing this Database.
46
+
47
+ Databases can contain a wide variety of types of content (images,
48
+ audiovisual material, and sounds all in the same database, for example),
49
+ and so the ODbL only governs the rights over the Database, and not the
50
+ contents of the Database individually. Licensors should use the ODbL
51
+ together with another license for the contents, if the contents have a
52
+ single set of rights that uniformly covers all of the contents. If the
53
+ contents have multiple sets of different rights, Licensors should
54
+ describe what rights govern what contents together in the individual
55
+ record or in some other way that clarifies what rights apply.
56
+
57
+ Sometimes the contents of a database, or the database itself, can be
58
+ covered by other rights not addressed here (such as private contracts,
59
+ trade mark over the name, or privacy rights / data protection rights
60
+ over information in the contents), and so you are advised that you may
61
+ have to consult other documents or clear other rights before doing
62
+ activities not covered by this License.
63
+
64
+ ------
65
+
66
+ The Licensor (as defined below)
67
+
68
+ and
69
+
70
+ You (as defined below)
71
+
72
+ agree as follows:
73
+
74
+ ### 1.0 Definitions of Capitalised Words
75
+
76
+ "Collective Database" – Means this Database in unmodified form as part
77
+ of a collection of independent databases in themselves that together are
78
+ assembled into a collective whole. A work that constitutes a Collective
79
+ Database will not be considered a Derivative Database.
80
+
81
+ "Convey" – As a verb, means Using the Database, a Derivative Database,
82
+ or the Database as part of a Collective Database in any way that enables
83
+ a Person to make or receive copies of the Database or a Derivative
84
+ Database. Conveying does not include interaction with a user through a
85
+ computer network, or creating and Using a Produced Work, where no
86
+ transfer of a copy of the Database or a Derivative Database occurs.
87
+ "Contents" – The contents of this Database, which includes the
88
+ information, independent works, or other material collected into the
89
+ Database. For example, the contents of the Database could be factual
90
+ data or works such as images, audiovisual material, text, or sounds.
91
+
92
+ "Database" – A collection of material (the Contents) arranged in a
93
+ systematic or methodical way and individually accessible by electronic
94
+ or other means offered under the terms of this License.
95
+
96
+ "Database Directive" – Means Directive 96/9/EC of the European
97
+ Parliament and of the Council of 11 March 1996 on the legal protection
98
+ of databases, as amended or succeeded.
99
+
100
+ "Database Right" – Means rights resulting from the Chapter III ("sui
101
+ generis") rights in the Database Directive (as amended and as transposed
102
+ by member states), which includes the Extraction and Re-utilisation of
103
+ the whole or a Substantial part of the Contents, as well as any similar
104
+ rights available in the relevant jurisdiction under Section 10.4.
105
+
106
+ "Derivative Database" – Means a database based upon the Database, and
107
+ includes any translation, adaptation, arrangement, modification, or any
108
+ other alteration of the Database or of a Substantial part of the
109
+ Contents. This includes, but is not limited to, Extracting or
110
+ Re-utilising the whole or a Substantial part of the Contents in a new
111
+ Database.
112
+
113
+ "Extraction" – Means the permanent or temporary transfer of all or a
114
+ Substantial part of the Contents to another medium by any means or in
115
+ any form.
116
+
117
+ "License" – Means this license agreement and is both a license of rights
118
+ such as copyright and Database Rights and an agreement in contract.
119
+
120
+ "Licensor" – Means the Person that offers the Database under the terms
121
+ of this License.
122
+
123
+ "Person" – Means a natural or legal person or a body of persons
124
+ corporate or incorporate.
125
+
126
+ "Produced Work" – a work (such as an image, audiovisual material, text,
127
+ or sounds) resulting from using the whole or a Substantial part of the
128
+ Contents (via a search or other query) from this Database, a Derivative
129
+ Database, or this Database as part of a Collective Database.
130
+
131
+ "Publicly" – means to Persons other than You or under Your control by
132
+ either more than 50% ownership or by the power to direct their
133
+ activities (such as contracting with an independent consultant).
134
+
135
+ "Re-utilisation" – means any form of making available to the public all
136
+ or a Substantial part of the Contents by the distribution of copies, by
137
+ renting, by online or other forms of transmission.
138
+
139
+ "Substantial" – Means substantial in terms of quantity or quality or a
140
+ combination of both. The repeated and systematic Extraction or
141
+ Re-utilisation of insubstantial parts of the Contents may amount to the
142
+ Extraction or Re-utilisation of a Substantial part of the Contents.
143
+
144
+ "Use" – As a verb, means doing any act that is restricted by copyright
145
+ or Database Rights whether in the original medium or any other; and
146
+ includes without limitation distributing, copying, publicly performing,
147
+ publicly displaying, and preparing derivative works of the Database, as
148
+ well as modifying the Database as may be technically necessary to use it
149
+ in a different mode or format.
150
+
151
+ "You" – Means a Person exercising rights under this License who has not
152
+ previously violated the terms of this License with respect to the
153
+ Database, or who has received express permission from the Licensor to
154
+ exercise rights under this License despite a previous violation.
155
+
156
+ Words in the singular include the plural and vice versa.
157
+
158
+ ### 2.0 What this License covers
159
+
160
+ 2.1. Legal effect of this document. This License is:
161
+
162
+ a. A license of applicable copyright and neighbouring rights;
163
+
164
+ b. A license of the Database Right; and
165
+
166
+ c. An agreement in contract between You and the Licensor.
167
+
168
+ 2.2 Legal rights covered. This License covers the legal rights in the
169
+ Database, including:
170
+
171
+ a. Copyright. Any copyright or neighbouring rights in the Database.
172
+ The copyright licensed includes any individual elements of the
173
+ Database, but does not cover the copyright over the Contents
174
+ independent of this Database. See Section 2.4 for details. Copyright
175
+ law varies between jurisdictions, but is likely to cover: the Database
176
+ model or schema, which is the structure, arrangement, and organisation
177
+ of the Database, and can also include the Database tables and table
178
+ indexes; the data entry and output sheets; and the Field names of
179
+ Contents stored in the Database;
180
+
181
+ b. Database Rights. Database Rights only extend to the Extraction and
182
+ Re-utilisation of the whole or a Substantial part of the Contents.
183
+ Database Rights can apply even when there is no copyright over the
184
+ Database. Database Rights can also apply when the Contents are removed
185
+ from the Database and are selected and arranged in a way that would
186
+ not infringe any applicable copyright; and
187
+
188
+ c. Contract. This is an agreement between You and the Licensor for
189
+ access to the Database. In return you agree to certain conditions of
190
+ use on this access as outlined in this License.
191
+
192
+ 2.3 Rights not covered.
193
+
194
+ a. This License does not apply to computer programs used in the making
195
+ or operation of the Database;
196
+
197
+ b. This License does not cover any patents over the Contents or the
198
+ Database; and
199
+
200
+ c. This License does not cover any trademarks associated with the
201
+ Database.
202
+
203
+ 2.4 Relationship to Contents in the Database. The individual items of
204
+ the Contents contained in this Database may be covered by other rights,
205
+ including copyright, patent, data protection, privacy, or personality
206
+ rights, and this License does not cover any rights (other than Database
207
+ Rights or in contract) in individual Contents contained in the Database.
208
+ For example, if used on a Database of images (the Contents), this
209
+ License would not apply to copyright over individual images, which could
210
+ have their own separate licenses, or one single license covering all of
211
+ the rights over the images.
212
+
213
+ ### 3.0 Rights granted
214
+
215
+ 3.1 Subject to the terms and conditions of this License, the Licensor
216
+ grants to You a worldwide, royalty-free, non-exclusive, terminable (but
217
+ only under Section 9) license to Use the Database for the duration of
218
+ any applicable copyright and Database Rights. These rights explicitly
219
+ include commercial use, and do not exclude any field of endeavour. To
220
+ the extent possible in the relevant jurisdiction, these rights may be
221
+ exercised in all media and formats whether now known or created in the
222
+ future.
223
+
224
+ The rights granted cover, for example:
225
+
226
+ a. Extraction and Re-utilisation of the whole or a Substantial part of
227
+ the Contents;
228
+
229
+ b. Creation of Derivative Databases;
230
+
231
+ c. Creation of Collective Databases;
232
+
233
+ d. Creation of temporary or permanent reproductions by any means and
234
+ in any form, in whole or in part, including of any Derivative
235
+ Databases or as a part of Collective Databases; and
236
+
237
+ e. Distribution, communication, display, lending, making available, or
238
+ performance to the public by any means and in any form, in whole or in
239
+ part, including of any Derivative Database or as a part of Collective
240
+ Databases.
241
+
242
+ 3.2 Compulsory license schemes. For the avoidance of doubt:
243
+
244
+ a. Non-waivable compulsory license schemes. In those jurisdictions in
245
+ which the right to collect royalties through any statutory or
246
+ compulsory licensing scheme cannot be waived, the Licensor reserves
247
+ the exclusive right to collect such royalties for any exercise by You
248
+ of the rights granted under this License;
249
+
250
+ b. Waivable compulsory license schemes. In those jurisdictions in
251
+ which the right to collect royalties through any statutory or
252
+ compulsory licensing scheme can be waived, the Licensor waives the
253
+ exclusive right to collect such royalties for any exercise by You of
254
+ the rights granted under this License; and,
255
+
256
+ c. Voluntary license schemes. The Licensor waives the right to collect
257
+ royalties, whether individually or, in the event that the Licensor is
258
+ a member of a collecting society that administers voluntary licensing
259
+ schemes, via that society, from any exercise by You of the rights
260
+ granted under this License.
261
+
262
+ 3.3 The right to release the Database under different terms, or to stop
263
+ distributing or making available the Database, is reserved. Note that
264
+ this Database may be multiple-licensed, and so You may have the choice
265
+ of using alternative licenses for this Database. Subject to Section
266
+ 10.4, all other rights not expressly granted by Licensor are reserved.
267
+
268
+ ### 4.0 Conditions of Use
269
+
270
+ 4.1 The rights granted in Section 3 above are expressly made subject to
271
+ Your complying with the following conditions of use. These are important
272
+ conditions of this License, and if You fail to follow them, You will be
273
+ in material breach of its terms.
274
+
275
+ 4.2 Notices. If You Publicly Convey this Database, any Derivative
276
+ Database, or the Database as part of a Collective Database, then You
277
+ must:
278
+
279
+ a. Do so only under the terms of this License or another license
280
+ permitted under Section 4.4;
281
+
282
+ b. Include a copy of this License (or, as applicable, a license
283
+ permitted under Section 4.4) or its Uniform Resource Identifier (URI)
284
+ with the Database or Derivative Database, including both in the
285
+ Database or Derivative Database and in any relevant documentation; and
286
+
287
+ c. Keep intact any copyright or Database Right notices and notices
288
+ that refer to this License.
289
+
290
+ d. If it is not possible to put the required notices in a particular
291
+ file due to its structure, then You must include the notices in a
292
+ location (such as a relevant directory) where users would be likely to
293
+ look for it.
294
+
295
+ 4.3 Notice for using output (Contents). Creating and Using a Produced
296
+ Work does not require the notice in Section 4.2. However, if you
297
+ Publicly Use a Produced Work, You must include a notice associated with
298
+ the Produced Work reasonably calculated to make any Person that uses,
299
+ views, accesses, interacts with, or is otherwise exposed to the Produced
300
+ Work aware that Content was obtained from the Database, Derivative
301
+ Database, or the Database as part of a Collective Database, and that it
302
+ is available under this License.
303
+
304
+ a. Example notice. The following text will satisfy notice under
305
+ Section 4.3:
306
+
307
+ Contains information from DATABASE NAME, which is made available
308
+ here under the Open Database License (ODbL).
309
+
310
+ DATABASE NAME should be replaced with the name of the Database and a
311
+ hyperlink to the URI of the Database. "Open Database License" should
312
+ contain a hyperlink to the URI of the text of this License. If
313
+ hyperlinks are not possible, You should include the plain text of the
314
+ required URI's with the above notice.
315
+
316
+ 4.4 Share alike.
317
+
318
+ a. Any Derivative Database that You Publicly Use must be only under
319
+ the terms of:
320
+
321
+ i. This License;
322
+
323
+ ii. A later version of this License similar in spirit to this
324
+ License; or
325
+
326
+ iii. A compatible license.
327
+
328
+ If You license the Derivative Database under one of the licenses
329
+ mentioned in (iii), You must comply with the terms of that license.
330
+
331
+ b. For the avoidance of doubt, Extraction or Re-utilisation of the
332
+ whole or a Substantial part of the Contents into a new database is a
333
+ Derivative Database and must comply with Section 4.4.
334
+
335
+ c. Derivative Databases and Produced Works. A Derivative Database is
336
+ Publicly Used and so must comply with Section 4.4. if a Produced Work
337
+ created from the Derivative Database is Publicly Used.
338
+
339
+ d. Share Alike and additional Contents. For the avoidance of doubt,
340
+ You must not add Contents to Derivative Databases under Section 4.4 a
341
+ that are incompatible with the rights granted under this License.
342
+
343
+ e. Compatible licenses. Licensors may authorise a proxy to determine
344
+ compatible licenses under Section 4.4 a iii. If they do so, the
345
+ authorised proxy's public statement of acceptance of a compatible
346
+ license grants You permission to use the compatible license.
347
+
348
+
349
+ 4.5 Limits of Share Alike. The requirements of Section 4.4 do not apply
350
+ in the following:
351
+
352
+ a. For the avoidance of doubt, You are not required to license
353
+ Collective Databases under this License if You incorporate this
354
+ Database or a Derivative Database in the collection, but this License
355
+ still applies to this Database or a Derivative Database as a part of
356
+ the Collective Database;
357
+
358
+ b. Using this Database, a Derivative Database, or this Database as
359
+ part of a Collective Database to create a Produced Work does not
360
+ create a Derivative Database for purposes of Section 4.4; and
361
+
362
+ c. Use of a Derivative Database internally within an organisation is
363
+ not to the public and therefore does not fall under the requirements
364
+ of Section 4.4.
365
+
366
+ 4.6 Access to Derivative Databases. If You Publicly Use a Derivative
367
+ Database or a Produced Work from a Derivative Database, You must also
368
+ offer to recipients of the Derivative Database or Produced Work a copy
369
+ in a machine readable form of:
370
+
371
+ a. The entire Derivative Database; or
372
+
373
+ b. A file containing all of the alterations made to the Database or
374
+ the method of making the alterations to the Database (such as an
375
+ algorithm), including any additional Contents, that make up all the
376
+ differences between the Database and the Derivative Database.
377
+
378
+ The Derivative Database (under a.) or alteration file (under b.) must be
379
+ available at no more than a reasonable production cost for physical
380
+ distributions and free of charge if distributed over the internet.
381
+
382
+ 4.7 Technological measures and additional terms
383
+
384
+ a. This License does not allow You to impose (except subject to
385
+ Section 4.7 b.) any terms or any technological measures on the
386
+ Database, a Derivative Database, or the whole or a Substantial part of
387
+ the Contents that alter or restrict the terms of this License, or any
388
+ rights granted under it, or have the effect or intent of restricting
389
+ the ability of any person to exercise those rights.
390
+
391
+ b. Parallel distribution. You may impose terms or technological
392
+ measures on the Database, a Derivative Database, or the whole or a
393
+ Substantial part of the Contents (a "Restricted Database") in
394
+ contravention of Section 4.74 a. only if You also make a copy of the
395
+ Database or a Derivative Database available to the recipient of the
396
+ Restricted Database:
397
+
398
+ i. That is available without additional fee;
399
+
400
+ ii. That is available in a medium that does not alter or restrict
401
+ the terms of this License, or any rights granted under it, or have
402
+ the effect or intent of restricting the ability of any person to
403
+ exercise those rights (an "Unrestricted Database"); and
404
+
405
+ iii. The Unrestricted Database is at least as accessible to the
406
+ recipient as a practical matter as the Restricted Database.
407
+
408
+ c. For the avoidance of doubt, You may place this Database or a
409
+ Derivative Database in an authenticated environment, behind a
410
+ password, or within a similar access control scheme provided that You
411
+ do not alter or restrict the terms of this License or any rights
412
+ granted under it or have the effect or intent of restricting the
413
+ ability of any person to exercise those rights.
414
+
415
+ 4.8 Licensing of others. You may not sublicense the Database. Each time
416
+ You communicate the Database, the whole or Substantial part of the
417
+ Contents, or any Derivative Database to anyone else in any way, the
418
+ Licensor offers to the recipient a license to the Database on the same
419
+ terms and conditions as this License. You are not responsible for
420
+ enforcing compliance by third parties with this License, but You may
421
+ enforce any rights that You have over a Derivative Database. You are
422
+ solely responsible for any modifications of a Derivative Database made
423
+ by You or another Person at Your direction. You may not impose any
424
+ further restrictions on the exercise of the rights granted or affirmed
425
+ under this License.
426
+
427
+ ### 5.0 Moral rights
428
+
429
+ 5.1 Moral rights. This section covers moral rights, including any rights
430
+ to be identified as the author of the Database or to object to treatment
431
+ that would otherwise prejudice the author's honour and reputation, or
432
+ any other derogatory treatment:
433
+
434
+ a. For jurisdictions allowing waiver of moral rights, Licensor waives
435
+ all moral rights that Licensor may have in the Database to the fullest
436
+ extent possible by the law of the relevant jurisdiction under Section
437
+ 10.4;
438
+
439
+ b. If waiver of moral rights under Section 5.1 a in the relevant
440
+ jurisdiction is not possible, Licensor agrees not to assert any moral
441
+ rights over the Database and waives all claims in moral rights to the
442
+ fullest extent possible by the law of the relevant jurisdiction under
443
+ Section 10.4; and
444
+
445
+ c. For jurisdictions not allowing waiver or an agreement not to assert
446
+ moral rights under Section 5.1 a and b, the author may retain their
447
+ moral rights over certain aspects of the Database.
448
+
449
+ Please note that some jurisdictions do not allow for the waiver of moral
450
+ rights, and so moral rights may still subsist over the Database in some
451
+ jurisdictions.
452
+
453
+ ### 6.0 Fair dealing, Database exceptions, and other rights not affected
454
+
455
+ 6.1 This License does not affect any rights that You or anyone else may
456
+ independently have under any applicable law to make any use of this
457
+ Database, including without limitation:
458
+
459
+ a. Exceptions to the Database Right including: Extraction of Contents
460
+ from non-electronic Databases for private purposes, Extraction for
461
+ purposes of illustration for teaching or scientific research, and
462
+ Extraction or Re-utilisation for public security or an administrative
463
+ or judicial procedure.
464
+
465
+ b. Fair dealing, fair use, or any other legally recognised limitation
466
+ or exception to infringement of copyright or other applicable laws.
467
+
468
+ 6.2 This License does not affect any rights of lawful users to Extract
469
+ and Re-utilise insubstantial parts of the Contents, evaluated
470
+ quantitatively or qualitatively, for any purposes whatsoever, including
471
+ creating a Derivative Database (subject to other rights over the
472
+ Contents, see Section 2.4). The repeated and systematic Extraction or
473
+ Re-utilisation of insubstantial parts of the Contents may however amount
474
+ to the Extraction or Re-utilisation of a Substantial part of the
475
+ Contents.
476
+
477
+ ### 7.0 Warranties and Disclaimer
478
+
479
+ 7.1 The Database is licensed by the Licensor "as is" and without any
480
+ warranty of any kind, either express, implied, or arising by statute,
481
+ custom, course of dealing, or trade usage. Licensor specifically
482
+ disclaims any and all implied warranties or conditions of title,
483
+ non-infringement, accuracy or completeness, the presence or absence of
484
+ errors, fitness for a particular purpose, merchantability, or otherwise.
485
+ Some jurisdictions do not allow the exclusion of implied warranties, so
486
+ this exclusion may not apply to You.
487
+
488
+ ### 8.0 Limitation of liability
489
+
490
+ 8.1 Subject to any liability that may not be excluded or limited by law,
491
+ the Licensor is not liable for, and expressly excludes, all liability
492
+ for loss or damage however and whenever caused to anyone by any use
493
+ under this License, whether by You or by anyone else, and whether caused
494
+ by any fault on the part of the Licensor or not. This exclusion of
495
+ liability includes, but is not limited to, any special, incidental,
496
+ consequential, punitive, or exemplary damages such as loss of revenue,
497
+ data, anticipated profits, and lost business. This exclusion applies
498
+ even if the Licensor has been advised of the possibility of such
499
+ damages.
500
+
501
+ 8.2 If liability may not be excluded by law, it is limited to actual and
502
+ direct financial loss to the extent it is caused by proved negligence on
503
+ the part of the Licensor.
504
+
505
+ ### 9.0 Termination of Your rights under this License
506
+
507
+ 9.1 Any breach by You of the terms and conditions of this License
508
+ automatically terminates this License with immediate effect and without
509
+ notice to You. For the avoidance of doubt, Persons who have received the
510
+ Database, the whole or a Substantial part of the Contents, Derivative
511
+ Databases, or the Database as part of a Collective Database from You
512
+ under this License will not have their licenses terminated provided
513
+ their use is in full compliance with this License or a license granted
514
+ under Section 4.8 of this License. Sections 1, 2, 7, 8, 9 and 10 will
515
+ survive any termination of this License.
516
+
517
+ 9.2 If You are not in breach of the terms of this License, the Licensor
518
+ will not terminate Your rights under it.
519
+
520
+ 9.3 Unless terminated under Section 9.1, this License is granted to You
521
+ for the duration of applicable rights in the Database.
522
+
523
+ 9.4 Reinstatement of rights. If you cease any breach of the terms and
524
+ conditions of this License, then your full rights under this License
525
+ will be reinstated:
526
+
527
+ a. Provisionally and subject to permanent termination until the 60th
528
+ day after cessation of breach;
529
+
530
+ b. Permanently on the 60th day after cessation of breach unless
531
+ otherwise reasonably notified by the Licensor; or
532
+
533
+ c. Permanently if reasonably notified by the Licensor of the
534
+ violation, this is the first time You have received notice of
535
+ violation of this License from the Licensor, and You cure the
536
+ violation prior to 30 days after your receipt of the notice.
537
+
538
+ Persons subject to permanent termination of rights are not eligible to
539
+ be a recipient and receive a license under Section 4.8.
540
+
541
+ 9.5 Notwithstanding the above, Licensor reserves the right to release
542
+ the Database under different license terms or to stop distributing or
543
+ making available the Database. Releasing the Database under different
544
+ license terms or stopping the distribution of the Database will not
545
+ withdraw this License (or any other license that has been, or is
546
+ required to be, granted under the terms of this License), and this
547
+ License will continue in full force and effect unless terminated as
548
+ stated above.
549
+
550
+ ### 10.0 General
551
+
552
+ 10.1 If any provision of this License is held to be invalid or
553
+ unenforceable, that must not affect the validity or enforceability of
554
+ the remainder of the terms and conditions of this License and each
555
+ remaining provision of this License shall be valid and enforced to the
556
+ fullest extent permitted by law.
557
+
558
+ 10.2 This License is the entire agreement between the parties with
559
+ respect to the rights granted here over the Database. It replaces any
560
+ earlier understandings, agreements or representations with respect to
561
+ the Database.
562
+
563
+ 10.3 If You are in breach of the terms of this License, You will not be
564
+ entitled to rely on the terms of this License or to complain of any
565
+ breach by the Licensor.
566
+
567
+ 10.4 Choice of law. This License takes effect in and will be governed by
568
+ the laws of the relevant jurisdiction in which the License terms are
569
+ sought to be enforced. If the standard suite of rights granted under
570
+ applicable copyright law and Database Rights in the relevant
571
+ jurisdiction includes additional rights not granted under this License,
572
+ these additional rights are granted in this License in order to meet the
573
+ terms of this License.