licensee 9.11.0 → 9.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (92) hide show
  1. checksums.yaml +4 -4
  2. data/bin/licensee +1 -0
  3. data/lib/licensee.rb +4 -2
  4. data/lib/licensee/commands/detect.rb +2 -0
  5. data/lib/licensee/commands/diff.rb +5 -1
  6. data/lib/licensee/commands/license_path.rb +2 -0
  7. data/lib/licensee/commands/version.rb +2 -0
  8. data/lib/licensee/content_helper.rb +20 -10
  9. data/lib/licensee/hash_helper.rb +2 -0
  10. data/lib/licensee/license.rb +2 -0
  11. data/lib/licensee/license_field.rb +2 -0
  12. data/lib/licensee/license_meta.rb +2 -0
  13. data/lib/licensee/license_rules.rb +2 -0
  14. data/lib/licensee/matchers.rb +2 -0
  15. data/lib/licensee/matchers/cabal.rb +15 -1
  16. data/lib/licensee/matchers/cargo.rb +2 -0
  17. data/lib/licensee/matchers/copyright.rb +2 -0
  18. data/lib/licensee/matchers/cran.rb +2 -0
  19. data/lib/licensee/matchers/dice.rb +3 -1
  20. data/lib/licensee/matchers/dist_zilla.rb +2 -0
  21. data/lib/licensee/matchers/exact.rb +2 -0
  22. data/lib/licensee/matchers/gemspec.rb +2 -0
  23. data/lib/licensee/matchers/matcher.rb +2 -0
  24. data/lib/licensee/matchers/npm_bower.rb +2 -0
  25. data/lib/licensee/matchers/package.rb +2 -0
  26. data/lib/licensee/matchers/reference.rb +2 -0
  27. data/lib/licensee/matchers/spdx.rb +2 -0
  28. data/lib/licensee/project_files.rb +2 -0
  29. data/lib/licensee/project_files/license_file.rb +5 -3
  30. data/lib/licensee/project_files/package_manager_file.rb +2 -0
  31. data/lib/licensee/project_files/project_file.rb +11 -4
  32. data/lib/licensee/project_files/readme_file.rb +2 -0
  33. data/lib/licensee/projects.rb +2 -0
  34. data/lib/licensee/projects/fs_project.rb +2 -0
  35. data/lib/licensee/projects/git_project.rb +16 -8
  36. data/lib/licensee/projects/github_project.rb +2 -0
  37. data/lib/licensee/projects/project.rb +4 -2
  38. data/lib/licensee/rule.rb +2 -0
  39. data/lib/licensee/version.rb +3 -1
  40. data/spec/bin_spec.rb +2 -0
  41. data/spec/fixture_spec.rb +46 -0
  42. data/spec/fixtures/detect.json +6 -4
  43. data/spec/fixtures/fixtures.yml +110 -0
  44. data/spec/fixtures/html/license.html +262 -0
  45. data/spec/fixtures/license-hashes.json +30 -27
  46. data/spec/fixtures/mit-optional/LICENSE.txt +21 -0
  47. data/spec/integration_spec.rb +20 -0
  48. data/spec/licensee/commands/detect_spec.rb +5 -1
  49. data/spec/licensee/commands/license_path_spec.rb +2 -0
  50. data/spec/licensee/commands/version_spec.rb +2 -0
  51. data/spec/licensee/content_helper_spec.rb +22 -5
  52. data/spec/licensee/hash_helper_spec.rb +2 -0
  53. data/spec/licensee/license_field_spec.rb +2 -0
  54. data/spec/licensee/license_meta_spec.rb +2 -0
  55. data/spec/licensee/license_rules_spec.rb +2 -0
  56. data/spec/licensee/license_spec.rb +4 -2
  57. data/spec/licensee/matchers/cabal_matcher_spec.rb +93 -0
  58. data/spec/licensee/matchers/cargo_matcher_spec.rb +2 -0
  59. data/spec/licensee/matchers/copyright_matcher_spec.rb +4 -2
  60. data/spec/licensee/matchers/cran_matcher_spec.rb +2 -0
  61. data/spec/licensee/matchers/dice_matcher_spec.rb +2 -0
  62. data/spec/licensee/matchers/dist_zilla_matcher_spec.rb +2 -0
  63. data/spec/licensee/matchers/exact_matcher_spec.rb +2 -0
  64. data/spec/licensee/matchers/gemspec_matcher_spec.rb +2 -0
  65. data/spec/licensee/matchers/matcher_spec.rb +2 -0
  66. data/spec/licensee/matchers/npm_bower_matcher_spec.rb +2 -0
  67. data/spec/licensee/matchers/package_matcher_spec.rb +2 -0
  68. data/spec/licensee/matchers/reference_matcher_spec.rb +2 -0
  69. data/spec/licensee/matchers/spdx_matcher_spec.rb +2 -0
  70. data/spec/licensee/project_files/license_file_spec.rb +3 -1
  71. data/spec/licensee/project_files/package_info_spec.rb +2 -0
  72. data/spec/licensee/project_files/project_file_spec.rb +3 -0
  73. data/spec/licensee/project_files/readme_file_spec.rb +2 -0
  74. data/spec/licensee/project_spec.rb +2 -0
  75. data/spec/licensee/projects/git_project_spec.rb +23 -0
  76. data/spec/licensee/projects/github_project_spec.rb +2 -0
  77. data/spec/licensee/rule_spec.rb +2 -0
  78. data/spec/licensee_spec.rb +3 -1
  79. data/spec/spec_helper.rb +16 -3
  80. data/spec/vendored_license_spec.rb +9 -7
  81. data/vendor/choosealicense.com/_licenses/0bsd.txt +39 -0
  82. data/vendor/choosealicense.com/_licenses/afl-3.0.txt +7 -5
  83. data/vendor/choosealicense.com/_licenses/bsd-3-clause-clear.txt +1 -1
  84. data/vendor/choosealicense.com/_licenses/bsd-3-clause.txt +1 -1
  85. data/vendor/choosealicense.com/_licenses/cecill-2.1.txt +579 -0
  86. data/vendor/choosealicense.com/_licenses/epl-1.0.txt +1 -1
  87. data/vendor/choosealicense.com/_licenses/epl-2.0.txt +1 -1
  88. data/vendor/choosealicense.com/_licenses/odbl-1.0.txt +573 -0
  89. data/vendor/choosealicense.com/_licenses/osl-3.0.txt +1 -1
  90. data/vendor/choosealicense.com/_licenses/unlicense.txt +1 -1
  91. data/vendor/choosealicense.com/_licenses/upl-1.0.txt +3 -3
  92. metadata +40 -18
@@ -9,7 +9,7 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of
9
9
  using:
10
10
  - Eclipse hawkBit: https://github.com/eclipse/hawkbit/blob/master/LICENSE
11
11
  - JUnit: https://github.com/junit-team/junit4/blob/master/LICENSE-junit.txt
12
- - openHAB: https://github.com/openhab/openhab-distro/blob/master/LICENSE
12
+ - Quil: https://github.com/quil/quil/blob/master/LICENSE
13
13
 
14
14
  permissions:
15
15
  - commercial-use
@@ -9,8 +9,8 @@ description: This commercially-friendly copyleft license provides the ability to
9
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.
10
10
 
11
11
  using:
12
- - Eclipse Ditto: https://github.com/eclipse/ditto/blob/master/LICENSE
13
12
  - Eclipse SmartHome: https://github.com/eclipse/smarthome/blob/master/LICENSE
13
+ - openHAB: https://github.com/openhab/openhab-distro/blob/master/LICENSE
14
14
  - SUMO: https://github.com/eclipse/sumo/blob/master/LICENSE
15
15
 
16
16
  permissions:
@@ -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.