licensee 9.15.2 → 9.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/bin/licensee +4 -0
  3. data/lib/licensee/content_helper.rb +6 -5
  4. data/lib/licensee/license.rb +11 -3
  5. data/lib/licensee/matchers/copyright.rb +3 -1
  6. data/lib/licensee/matchers/dist_zilla.rb +1 -0
  7. data/lib/licensee/projects/github_project.rb +1 -1
  8. data/lib/licensee/version.rb +1 -1
  9. data/licensee.gemspec +3 -3
  10. data/spec/fixture_spec.rb +1 -1
  11. data/spec/fixtures/agpl-3.0_markdown/LICENSE.md +651 -0
  12. data/spec/fixtures/apache-2.0_markdown/LICENSE.md +195 -0
  13. data/spec/fixtures/{markdown-artistic → artistic-2.0_markdown}/LICENSE.md +0 -0
  14. data/spec/fixtures/bsd-2-author/LICENSE +22 -0
  15. data/spec/fixtures/bsd-3-clause_markdown/LICENSE.md +28 -0
  16. data/spec/fixtures/cc-by-4.0_markdown/LICENSE.md +157 -0
  17. data/spec/fixtures/cc-by-sa-4.0_markdown/LICENSE.md +171 -0
  18. data/spec/fixtures/cc0-1.0_markdown/LICENSE.md +41 -0
  19. data/spec/fixtures/detect.json +2 -2
  20. data/spec/fixtures/epl-1.0_markdown/LICENSE.md +76 -0
  21. data/spec/fixtures/fixtures.yml +105 -41
  22. data/spec/fixtures/gfdl-1.3_markdown/LICENSE.md +450 -0
  23. data/spec/fixtures/gpl-2.0_markdown/LICENSE.md +336 -0
  24. data/spec/fixtures/{markdown-gpl → gpl-2.0_markdown_headings}/LICENSE.md +0 -0
  25. data/spec/fixtures/gpl-3.0_markdown/LICENSE.md +595 -0
  26. data/spec/fixtures/lgpl-2.1_markdown/LICENSE.md +494 -0
  27. data/spec/fixtures/lgpl-3.0_markdown/LICENSE.md +163 -0
  28. data/spec/fixtures/license-hashes.json +10 -6
  29. data/spec/fixtures/mit_markdown/LICENSE.md +26 -0
  30. data/spec/fixtures/mpl-2.0_markdown/LICENSE.md +357 -0
  31. data/spec/fixtures/unlicense_markdown/LICENSE.md +27 -0
  32. data/spec/integration_spec.rb +11 -2
  33. data/spec/licensee/commands/detect_spec.rb +18 -2
  34. data/spec/licensee/content_helper_spec.rb +16 -0
  35. data/spec/licensee/license_meta_spec.rb +3 -3
  36. data/spec/licensee/license_spec.rb +7 -2
  37. data/spec/licensee/matchers/copyright_matcher_spec.rb +12 -3
  38. data/spec/licensee/matchers/dice_matcher_spec.rb +2 -2
  39. data/spec/licensee/matchers/reference_matcher_spec.rb +17 -0
  40. data/spec/licensee_spec.rb +1 -1
  41. data/vendor/choosealicense.com/_licenses/agpl-3.0.txt +3 -0
  42. data/vendor/choosealicense.com/_licenses/apache-2.0.txt +1 -1
  43. data/vendor/choosealicense.com/_licenses/bsd-2-clause.txt +0 -1
  44. data/vendor/choosealicense.com/_licenses/bsd-3-clause.txt +1 -1
  45. data/vendor/choosealicense.com/_licenses/bsl-1.0.txt +1 -1
  46. data/vendor/choosealicense.com/_licenses/cecill-2.1.txt +1 -0
  47. data/vendor/choosealicense.com/_licenses/cern-ohl-p-2.0.txt +216 -0
  48. data/vendor/choosealicense.com/_licenses/cern-ohl-s-2.0.txt +299 -0
  49. data/vendor/choosealicense.com/_licenses/cern-ohl-w-2.0.txt +321 -0
  50. data/vendor/choosealicense.com/_licenses/eupl-1.1.txt +1 -1
  51. data/vendor/choosealicense.com/_licenses/gfdl-1.3.txt +483 -0
  52. data/vendor/choosealicense.com/_licenses/mit.txt +1 -1
  53. data/vendor/choosealicense.com/_licenses/mulanpsl-2.0.txt +55 -56
  54. data/vendor/choosealicense.com/_licenses/unlicense.txt +1 -1
  55. data/vendor/license-list-XML/src/Artistic-2.0.xml +5 -3
  56. data/vendor/license-list-XML/src/BSD-3-Clause-Clear.xml +3 -1
  57. data/vendor/license-list-XML/src/BSD-3-Clause.xml +3 -1
  58. data/vendor/license-list-XML/src/BSD-4-Clause.xml +3 -3
  59. data/vendor/license-list-XML/src/CERN-OHL-P-2.0.xml +90 -0
  60. data/vendor/license-list-XML/src/CERN-OHL-S-2.0.xml +109 -0
  61. data/vendor/license-list-XML/src/CERN-OHL-W-2.0.xml +116 -0
  62. data/vendor/license-list-XML/src/GFDL-1.3.xml +594 -0
  63. data/vendor/license-list-XML/src/LGPL-3.0.xml +828 -1
  64. data/vendor/license-list-XML/src/MPL-2.0.xml +66 -29
  65. metadata +48 -12
@@ -4,7 +4,7 @@ RSpec.describe Licensee do
4
4
  let(:project_path) { fixture_path('mit') }
5
5
  let(:license_path) { fixture_path('mit/LICENSE.txt') }
6
6
  let(:mit_license) { Licensee::License.find('mit') }
7
- let(:hidden_license_count) { 43 }
7
+ let(:hidden_license_count) { 47 }
8
8
 
9
9
  it 'exposes licenses' do
10
10
  expect(described_class.licenses).to be_an(Array)
@@ -12,6 +12,9 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of
12
12
  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.
13
13
 
14
14
  using:
15
+ Grafana: https://github.com/grafana/grafana/blob/main/LICENSE
16
+ Mastodon: https://github.com/mastodon/mastodon/blob/main/LICENSE
17
+ Nextcloud Server: https://github.com/nextcloud/server/blob/master/COPYING
15
18
 
16
19
  permissions:
17
20
  - commercial-use
@@ -9,7 +9,7 @@ description: A permissive license whose main conditions require preservation of
9
9
 
10
10
  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
11
 
12
- note: The Apache 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.
12
+ note: The Apache Software Foundation <a href="https://apache.org/foundation/license-faq.html#Apply-My-Software">recommends</a> 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.
13
13
 
14
14
  using:
15
15
  Kubernetes: https://github.com/kubernetes/kubernetes/blob/master/LICENSE
@@ -31,7 +31,6 @@ limitations:
31
31
  BSD 2-Clause License
32
32
 
33
33
  Copyright (c) [year], [fullname]
34
- All rights reserved.
35
34
 
36
35
  Redistribution and use in source and binary forms, with or without
37
36
  modification, are permitted provided that the following conditions are met:
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  title: BSD 3-Clause "New" or "Revised" License
3
3
  spdx-id: BSD-3-Clause
4
+ nickname: Modified BSD License
4
5
  hidden: false
5
6
 
6
7
  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.
@@ -30,7 +31,6 @@ limitations:
30
31
  BSD 3-Clause License
31
32
 
32
33
  Copyright (c) [year], [fullname]
33
- All rights reserved.
34
34
 
35
35
  Redistribution and use in source and binary forms, with or without
36
36
  modification, are permitted provided that the following conditions are met:
@@ -7,7 +7,7 @@ description: A simple permissive license only requiring preservation of copyrigh
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.
9
9
 
10
- note: Boost recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the [Boost Software License FAQ](https://www.boost.org/users/license.html#FAQ).
10
+ note: Boost recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the <a href="https://www.boost.org/users/license.html#FAQ">Boost Software License FAQ</a>.
11
11
 
12
12
  using:
13
13
  Boost: https://github.com/boostorg/boost/blob/master/LICENSE_1_0.txt
@@ -20,6 +20,7 @@ permissions:
20
20
 
21
21
  conditions:
22
22
  - include-copyright
23
+ - network-use-disclose
23
24
  - disclose-source
24
25
  - same-license
25
26
 
@@ -0,0 +1,216 @@
1
+ ---
2
+ title: CERN Open Hardware Licence Version 2 - Permissive
3
+ spdx-id: CERN-OHL-P-2.0
4
+ nickname: CERN OHL v2 Permissive
5
+
6
+ description: A permissive license for hardware designs, with conditions only requiring preservation of notices. Contributors provide an express grant of patent rights. Licensed works, modifications, and larger works may be distributed under different terms and without sources.
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: 'CERN <a href="https://ohwr.org/project/cernohl/wikis/uploads/8a6b5d01f71c207c49493e4d114d61e6/cern_ohl_p_v2_howto.pdf">recommends</a> adding the following information in the source files: copyright and license notice, a disclaimer of warranties and a source location. You can also include the source location in a part of the design which will be visible in the end product.'
11
+
12
+ using:
13
+ tedium: https://github.com/jboone/tedium/blob/master/LICENSE-CERN-OHL-P-v2
14
+ LEDEAF: https://github.com/adamgreig/ledeaf/blob/master/LICENSE_CERN_OHL_P_v2.txt
15
+ Open source controller board for ventilators: https://github.com/CV19CO/open_controller_for_ventilator/blob/master/LICENSE
16
+
17
+ permissions:
18
+ - commercial-use
19
+ - modifications
20
+ - distribution
21
+ - private-use
22
+ - patent-use
23
+
24
+ conditions:
25
+ - include-copyright
26
+ - document-changes
27
+
28
+ limitations:
29
+ - liability
30
+ - warranty
31
+
32
+ ---
33
+ CERN Open Hardware Licence Version 2 - Permissive
34
+
35
+
36
+ Preamble
37
+
38
+ CERN has developed this licence to promote collaboration among hardware
39
+ designers and to provide a legal tool which supports the freedom to use,
40
+ study, modify, share and distribute hardware designs and products based on
41
+ those designs. Version 2 of the CERN Open Hardware Licence comes in three
42
+ variants: this licence, CERN-OHL-P (permissive); and two reciprocal licences:
43
+ CERN-OHL-W (weakly reciprocal) and CERN-OHL-S (strongly reciprocal).
44
+
45
+ The CERN-OHL-P is copyright CERN 2020. Anyone is welcome to use it, in
46
+ unmodified form only.
47
+
48
+ Use of this Licence does not imply any endorsement by CERN of any Licensor or
49
+ their designs nor does it imply any involvement by CERN in their development.
50
+
51
+
52
+ 1 Definitions
53
+
54
+ 1.1 'Licence' means this CERN-OHL-P.
55
+
56
+ 1.2 'Source' means information such as design materials or digital code
57
+ which can be applied to Make or test a Product or to prepare a Product
58
+ for use, Conveyance or sale, regardless of its medium or how it is
59
+ expressed. It may include Notices.
60
+
61
+ 1.3 'Covered Source' means Source that is explicitly made available under
62
+ this Licence.
63
+
64
+ 1.4 'Product' means any device, component, work or physical object, whether
65
+ in finished or intermediate form, arising from the use, application or
66
+ processing of Covered Source.
67
+
68
+ 1.5 'Make' means to create or configure something, whether by manufacture,
69
+ assembly, compiling, loading or applying Covered Source or another
70
+ Product or otherwise.
71
+
72
+ 1.6 'Notice' means copyright, acknowledgement and trademark notices,
73
+ references to the location of any Notices, modification notices
74
+ (subsection 3.3(b)) and all notices that refer to this Licence and to
75
+ the disclaimer of warranties that are included in the Covered Source.
76
+
77
+ 1.7 'Licensee' or 'You' means any person exercising rights under this
78
+ Licence.
79
+
80
+ 1.8 'Licensor' means a person who creates Source or modifies Covered Source
81
+ and subsequently Conveys the resulting Covered Source under the terms
82
+ and conditions of this Licence. A person may be a Licensee and a
83
+ Licensor at the same time.
84
+
85
+ 1.9 'Convey' means to communicate to the public or distribute.
86
+
87
+
88
+ 2 Applicability
89
+
90
+ 2.1 This Licence governs the use, copying, modification, Conveying of
91
+ Covered Source and Products, and the Making of Products. By exercising
92
+ any right granted under this Licence, You irrevocably accept these terms
93
+ and conditions.
94
+
95
+ 2.2 This Licence is granted by the Licensor directly to You, and shall apply
96
+ worldwide and without limitation in time.
97
+
98
+ 2.3 You shall not attempt to restrict by contract or otherwise the rights
99
+ granted under this Licence to other Licensees.
100
+
101
+ 2.4 This Licence is not intended to restrict fair use, fair dealing, or any
102
+ other similar right.
103
+
104
+
105
+ 3 Copying, Modifying and Conveying Covered Source
106
+
107
+ 3.1 You may copy and Convey verbatim copies of Covered Source, in any
108
+ medium, provided You retain all Notices.
109
+
110
+ 3.2 You may modify Covered Source, other than Notices.
111
+
112
+ You may only delete Notices if they are no longer applicable to the
113
+ corresponding Covered Source as modified by You and You may add
114
+ additional Notices applicable to Your modifications.
115
+
116
+ 3.3 You may Convey modified Covered Source (with the effect that You shall
117
+ also become a Licensor) provided that You:
118
+
119
+ a) retain Notices as required in subsection 3.2; and
120
+
121
+ b) add a Notice to the modified Covered Source stating that You have
122
+ modified it, with the date and brief description of how You have
123
+ modified it.
124
+
125
+ 3.4 You may Convey Covered Source or modified Covered Source under licence
126
+ terms which differ from the terms of this Licence provided that You:
127
+
128
+ a) comply at all times with subsection 3.3; and
129
+
130
+ b) provide a copy of this Licence to anyone to whom You Convey Covered
131
+ Source or modified Covered Source.
132
+
133
+
134
+ 4 Making and Conveying Products
135
+
136
+ You may Make Products, and/or Convey them, provided that You ensure that the
137
+ recipient of the Product has access to any Notices applicable to the Product.
138
+
139
+
140
+ 5 DISCLAIMER AND LIABILITY
141
+
142
+ 5.1 DISCLAIMER OF WARRANTY -- The Covered Source and any Products are
143
+ provided 'as is' and any express or implied warranties, including, but
144
+ not limited to, implied warranties of merchantability, of satisfactory
145
+ quality, non-infringement of third party rights, and fitness for a
146
+ particular purpose or use are disclaimed in respect of any Source or
147
+ Product to the maximum extent permitted by law. The Licensor makes no
148
+ representation that any Source or Product does not or will not infringe
149
+ any patent, copyright, trade secret or other proprietary right. The
150
+ entire risk as to the use, quality, and performance of any Source or
151
+ Product shall be with You and not the Licensor. This disclaimer of
152
+ warranty is an essential part of this Licence and a condition for the
153
+ grant of any rights granted under this Licence.
154
+
155
+ 5.2 EXCLUSION AND LIMITATION OF LIABILITY -- The Licensor shall, to the
156
+ maximum extent permitted by law, have no liability for direct, indirect,
157
+ special, incidental, consequential, exemplary, punitive or other damages
158
+ of any character including, without limitation, procurement of
159
+ substitute goods or services, loss of use, data or profits, or business
160
+ interruption, however caused and on any theory of contract, warranty,
161
+ tort (including negligence), product liability or otherwise, arising in
162
+ any way in relation to the Covered Source, modified Covered Source
163
+ and/or the Making or Conveyance of a Product, even if advised of the
164
+ possibility of such damages, and You shall hold the Licensor(s) free and
165
+ harmless from any liability, costs, damages, fees and expenses,
166
+ including claims by third parties, in relation to such use.
167
+
168
+
169
+ 6 Patents
170
+
171
+ 6.1 Subject to the terms and conditions of this Licence, each Licensor
172
+ hereby grants to You a perpetual, worldwide, non-exclusive, no-charge,
173
+ royalty-free, irrevocable (except as stated in this section 6, or where
174
+ terminated by the Licensor for cause) patent licence to Make, have Made,
175
+ use, offer to sell, sell, import, and otherwise transfer the Covered
176
+ Source and Products, where such licence applies only to those patent
177
+ claims licensable by such Licensor that are necessarily infringed by
178
+ exercising rights under the Covered Source as Conveyed by that Licensor.
179
+
180
+ 6.2 If You institute patent litigation against any entity (including a
181
+ cross-claim or counterclaim in a lawsuit) alleging that the Covered
182
+ Source or a Product constitutes direct or contributory patent
183
+ infringement, or You seek any declaration that a patent licensed to You
184
+ under this Licence is invalid or unenforceable then any rights granted
185
+ to You under this Licence shall terminate as of the date such process is
186
+ initiated.
187
+
188
+
189
+ 7 General
190
+
191
+ 7.1 If any provisions of this Licence are or subsequently become invalid or
192
+ unenforceable for any reason, the remaining provisions shall remain
193
+ effective.
194
+
195
+ 7.2 You shall not use any of the name (including acronyms and
196
+ abbreviations), image, or logo by which the Licensor or CERN is known,
197
+ except where needed to comply with section 3, or where the use is
198
+ otherwise allowed by law. Any such permitted use shall be factual and
199
+ shall not be made so as to suggest any kind of endorsement or
200
+ implication of involvement by the Licensor or its personnel.
201
+
202
+ 7.3 CERN may publish updated versions and variants of this Licence which it
203
+ considers to be in the spirit of this version, but may differ in detail
204
+ to address new problems or concerns. New versions will be published with
205
+ a unique version number and a variant identifier specifying the variant.
206
+ If the Licensor has specified that a given variant applies to the
207
+ Covered Source without specifying a version, You may treat that Covered
208
+ Source as being released under any version of the CERN-OHL with that
209
+ variant. If no variant is specified, the Covered Source shall be treated
210
+ as being released under CERN-OHL-S. The Licensor may also specify that
211
+ the Covered Source is subject to a specific version of the CERN-OHL or
212
+ any later version in which case You may apply this or any later version
213
+ of CERN-OHL with the same variant identifier published by CERN.
214
+
215
+ 7.4 This Licence shall not be enforceable except by a Licensor acting as
216
+ such, and third party beneficiary rights are specifically excluded.
@@ -0,0 +1,299 @@
1
+ ---
2
+ title: CERN Open Hardware Licence Version 2 - Strongly Reciprocal
3
+ spdx-id: CERN-OHL-S-2.0
4
+ nickname: CERN OHL v2 Strongly Reciprocal
5
+
6
+ description: Permissions of this strongly reciprocal license for hardware designs are conditioned on making available complete sources of licensed works and modifications, which include larger works using a licensed work, under the same license. Notices must be preserved. Contributors provide an express grant of patent rights.
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: 'CERN <a href="https://ohwr.org/project/cernohl/wikis/uploads/cf37727497ca2b5295a7ab83a40fcf5a/cern_ohl_s_v2_user_guide.pdf">recommends</a> adding the following information in the source files: copyright and license notice, a disclaimer of warranties and a source location. You can also include the source location in a part of the design which will be visible in the end product.'
11
+
12
+ using:
13
+ USB Armory: https://github.com/f-secure-foundry/usbarmory/blob/master/hardware/mark-two/LICENSE
14
+ waffling60: https://github.com/4pplet/waffling60/blob/master/LICENCE.md
15
+ Passport Electronics: https://github.com/Foundation-Devices/passport-electronics/blob/master/LICENSE.txt
16
+
17
+ permissions:
18
+ - commercial-use
19
+ - modifications
20
+ - distribution
21
+ - private-use
22
+ - patent-use
23
+
24
+ conditions:
25
+ - include-copyright
26
+ - document-changes
27
+ - disclose-source
28
+ - same-license
29
+
30
+ limitations:
31
+ - liability
32
+ - warranty
33
+
34
+ ---
35
+ CERN Open Hardware Licence Version 2 - Strongly Reciprocal
36
+
37
+
38
+ Preamble
39
+
40
+ CERN has developed this licence to promote collaboration among hardware
41
+ designers and to provide a legal tool which supports the freedom to use,
42
+ study, modify, share and distribute hardware designs and products based on
43
+ those designs. Version 2 of the CERN Open Hardware Licence comes in three
44
+ variants: CERN-OHL-P (permissive); and two reciprocal licences: CERN-OHL-W
45
+ (weakly reciprocal) and this licence, CERN-OHL-S (strongly reciprocal).
46
+
47
+ The CERN-OHL-S is copyright CERN 2020. Anyone is welcome to use it, in
48
+ unmodified form only.
49
+
50
+ Use of this Licence does not imply any endorsement by CERN of any Licensor or
51
+ their designs nor does it imply any involvement by CERN in their development.
52
+
53
+
54
+ 1 Definitions
55
+
56
+ 1.1 'Licence' means this CERN-OHL-S.
57
+
58
+ 1.2 'Compatible Licence' means
59
+
60
+ a) any earlier version of the CERN Open Hardware licence, or
61
+
62
+ b) any version of the CERN-OHL-S, or
63
+
64
+ c) any licence which permits You to treat the Source to which it
65
+ applies as licensed under CERN-OHL-S provided that on Conveyance of
66
+ any such Source, or any associated Product You treat the Source in
67
+ question as being licensed under CERN-OHL-S.
68
+
69
+ 1.3 'Source' means information such as design materials or digital code
70
+ which can be applied to Make or test a Product or to prepare a Product
71
+ for use, Conveyance or sale, regardless of its medium or how it is
72
+ expressed. It may include Notices.
73
+
74
+ 1.4 'Covered Source' means Source that is explicitly made available under
75
+ this Licence.
76
+
77
+ 1.5 'Product' means any device, component, work or physical object, whether
78
+ in finished or intermediate form, arising from the use, application or
79
+ processing of Covered Source.
80
+
81
+ 1.6 'Make' means to create or configure something, whether by manufacture,
82
+ assembly, compiling, loading or applying Covered Source or another
83
+ Product or otherwise.
84
+
85
+ 1.7 'Available Component' means any part, sub-assembly, library or code
86
+ which:
87
+
88
+ a) is licensed to You as Complete Source under a Compatible Licence; or
89
+
90
+ b) is available, at the time a Product or the Source containing it is
91
+ first Conveyed, to You and any other prospective licensees
92
+
93
+ i) as a physical part with sufficient rights and information
94
+ (including any configuration and programming files and
95
+ information about its characteristics and interfaces) to enable
96
+ it either to be Made itself, or to be sourced and used to Make
97
+ the Product; or
98
+ ii) as part of the normal distribution of a tool used to design or
99
+ Make the Product.
100
+
101
+ 1.8 'Complete Source' means the set of all Source necessary to Make a
102
+ Product, in the preferred form for making modifications, including
103
+ necessary installation and interfacing information both for the Product,
104
+ and for any included Available Components. If the format is
105
+ proprietary, it must also be made available in a format (if the
106
+ proprietary tool can create it) which is viewable with a tool available
107
+ to potential licensees and licensed under a licence approved by the Free
108
+ Software Foundation or the Open Source Initiative. Complete Source need
109
+ not include the Source of any Available Component, provided that You
110
+ include in the Complete Source sufficient information to enable a
111
+ recipient to Make or source and use the Available Component to Make the
112
+ Product.
113
+
114
+ 1.9 'Source Location' means a location where a Licensor has placed Covered
115
+ Source, and which that Licensor reasonably believes will remain easily
116
+ accessible for at least three years for anyone to obtain a digital copy.
117
+
118
+ 1.10 'Notice' means copyright, acknowledgement and trademark notices, Source
119
+ Location references, modification notices (subsection 3.3(b)) and all
120
+ notices that refer to this Licence and to the disclaimer of warranties
121
+ that are included in the Covered Source.
122
+
123
+ 1.11 'Licensee' or 'You' means any person exercising rights under this
124
+ Licence.
125
+
126
+ 1.12 'Licensor' means a natural or legal person who creates or modifies
127
+ Covered Source. A person may be a Licensee and a Licensor at the same
128
+ time.
129
+
130
+ 1.13 'Convey' means to communicate to the public or distribute.
131
+
132
+
133
+ 2 Applicability
134
+
135
+ 2.1 This Licence governs the use, copying, modification, Conveying of
136
+ Covered Source and Products, and the Making of Products. By exercising
137
+ any right granted under this Licence, You irrevocably accept these terms
138
+ and conditions.
139
+
140
+ 2.2 This Licence is granted by the Licensor directly to You, and shall apply
141
+ worldwide and without limitation in time.
142
+
143
+ 2.3 You shall not attempt to restrict by contract or otherwise the rights
144
+ granted under this Licence to other Licensees.
145
+
146
+ 2.4 This Licence is not intended to restrict fair use, fair dealing, or any
147
+ other similar right.
148
+
149
+
150
+ 3 Copying, Modifying and Conveying Covered Source
151
+
152
+ 3.1 You may copy and Convey verbatim copies of Covered Source, in any
153
+ medium, provided You retain all Notices.
154
+
155
+ 3.2 You may modify Covered Source, other than Notices, provided that You
156
+ irrevocably undertake to make that modified Covered Source available
157
+ from a Source Location should You Convey a Product in circumstances
158
+ where the recipient does not otherwise receive a copy of the modified
159
+ Covered Source. In each case subsection 3.3 shall apply.
160
+
161
+ You may only delete Notices if they are no longer applicable to the
162
+ corresponding Covered Source as modified by You and You may add
163
+ additional Notices applicable to Your modifications. Including Covered
164
+ Source in a larger work is modifying the Covered Source, and the larger
165
+ work becomes modified Covered Source.
166
+
167
+ 3.3 You may Convey modified Covered Source (with the effect that You shall
168
+ also become a Licensor) provided that You:
169
+
170
+ a) retain Notices as required in subsection 3.2;
171
+
172
+ b) add a Notice to the modified Covered Source stating that You have
173
+ modified it, with the date and brief description of how You have
174
+ modified it;
175
+
176
+ c) add a Source Location Notice for the modified Covered Source if You
177
+ Convey in circumstances where the recipient does not otherwise
178
+ receive a copy of the modified Covered Source; and
179
+
180
+ d) license the modified Covered Source under the terms and conditions
181
+ of this Licence (or, as set out in subsection 8.3, a later version,
182
+ if permitted by the licence of the original Covered Source). Such
183
+ modified Covered Source must be licensed as a whole, but excluding
184
+ Available Components contained in it, which remain licensed under
185
+ their own applicable licences.
186
+
187
+
188
+ 4 Making and Conveying Products
189
+
190
+ You may Make Products, and/or Convey them, provided that You either provide
191
+ each recipient with a copy of the Complete Source or ensure that each
192
+ recipient is notified of the Source Location of the Complete Source. That
193
+ Complete Source is Covered Source, and You must accordingly satisfy Your
194
+ obligations set out in subsection 3.3. If specified in a Notice, the Product
195
+ must visibly and securely display the Source Location on it or its packaging
196
+ or documentation in the manner specified in that Notice.
197
+
198
+
199
+ 5 Research and Development
200
+
201
+ You may Convey Covered Source, modified Covered Source or Products to a legal
202
+ entity carrying out development, testing or quality assurance work on Your
203
+ behalf provided that the work is performed on terms which prevent the entity
204
+ from both using the Source or Products for its own internal purposes and
205
+ Conveying the Source or Products or any modifications to them to any person
206
+ other than You. Any modifications made by the entity shall be deemed to be
207
+ made by You pursuant to subsection 3.2.
208
+
209
+
210
+ 6 DISCLAIMER AND LIABILITY
211
+
212
+ 6.1 DISCLAIMER OF WARRANTY -- The Covered Source and any Products are
213
+ provided 'as is' and any express or implied warranties, including, but
214
+ not limited to, implied warranties of merchantability, of satisfactory
215
+ quality, non-infringement of third party rights, and fitness for a
216
+ particular purpose or use are disclaimed in respect of any Source or
217
+ Product to the maximum extent permitted by law. The Licensor makes no
218
+ representation that any Source or Product does not or will not infringe
219
+ any patent, copyright, trade secret or other proprietary right. The
220
+ entire risk as to the use, quality, and performance of any Source or
221
+ Product shall be with You and not the Licensor. This disclaimer of
222
+ warranty is an essential part of this Licence and a condition for the
223
+ grant of any rights granted under this Licence.
224
+
225
+ 6.2 EXCLUSION AND LIMITATION OF LIABILITY -- The Licensor shall, to the
226
+ maximum extent permitted by law, have no liability for direct, indirect,
227
+ special, incidental, consequential, exemplary, punitive or other damages
228
+ of any character including, without limitation, procurement of
229
+ substitute goods or services, loss of use, data or profits, or business
230
+ interruption, however caused and on any theory of contract, warranty,
231
+ tort (including negligence), product liability or otherwise, arising in
232
+ any way in relation to the Covered Source, modified Covered Source
233
+ and/or the Making or Conveyance of a Product, even if advised of the
234
+ possibility of such damages, and You shall hold the Licensor(s) free and
235
+ harmless from any liability, costs, damages, fees and expenses,
236
+ including claims by third parties, in relation to such use.
237
+
238
+
239
+ 7 Patents
240
+
241
+ 7.1 Subject to the terms and conditions of this Licence, each Licensor
242
+ hereby grants to You a perpetual, worldwide, non-exclusive, no-charge,
243
+ royalty-free, irrevocable (except as stated in subsections 7.2 and 8.4)
244
+ patent licence to Make, have Made, use, offer to sell, sell, import, and
245
+ otherwise transfer the Covered Source and Products, where such licence
246
+ applies only to those patent claims licensable by such Licensor that are
247
+ necessarily infringed by exercising rights under the Covered Source as
248
+ Conveyed by that Licensor.
249
+
250
+ 7.2 If You institute patent litigation against any entity (including a
251
+ cross-claim or counterclaim in a lawsuit) alleging that the Covered
252
+ Source or a Product constitutes direct or contributory patent
253
+ infringement, or You seek any declaration that a patent licensed to You
254
+ under this Licence is invalid or unenforceable then any rights granted
255
+ to You under this Licence shall terminate as of the date such process is
256
+ initiated.
257
+
258
+
259
+ 8 General
260
+
261
+ 8.1 If any provisions of this Licence are or subsequently become invalid or
262
+ unenforceable for any reason, the remaining provisions shall remain
263
+ effective.
264
+
265
+ 8.2 You shall not use any of the name (including acronyms and
266
+ abbreviations), image, or logo by which the Licensor or CERN is known,
267
+ except where needed to comply with section 3, or where the use is
268
+ otherwise allowed by law. Any such permitted use shall be factual and
269
+ shall not be made so as to suggest any kind of endorsement or
270
+ implication of involvement by the Licensor or its personnel.
271
+
272
+ 8.3 CERN may publish updated versions and variants of this Licence which it
273
+ considers to be in the spirit of this version, but may differ in detail
274
+ to address new problems or concerns. New versions will be published with
275
+ a unique version number and a variant identifier specifying the variant.
276
+ If the Licensor has specified that a given variant applies to the
277
+ Covered Source without specifying a version, You may treat that Covered
278
+ Source as being released under any version of the CERN-OHL with that
279
+ variant. If no variant is specified, the Covered Source shall be treated
280
+ as being released under CERN-OHL-S. The Licensor may also specify that
281
+ the Covered Source is subject to a specific version of the CERN-OHL or
282
+ any later version in which case You may apply this or any later version
283
+ of CERN-OHL with the same variant identifier published by CERN.
284
+
285
+ 8.4 This Licence shall terminate with immediate effect if You fail to comply
286
+ with any of its terms and conditions.
287
+
288
+ 8.5 However, if You cease all breaches of this Licence, then Your Licence
289
+ from any Licensor is reinstated unless such Licensor has terminated this
290
+ Licence by giving You, while You remain in breach, a notice specifying
291
+ the breach and requiring You to cure it within 30 days, and You have
292
+ failed to come into compliance in all material respects by the end of
293
+ the 30 day period. Should You repeat the breach after receipt of a cure
294
+ notice and subsequent reinstatement, this Licence will terminate
295
+ immediately and permanently. Section 6 shall continue to apply after any
296
+ termination.
297
+
298
+ 8.6 This Licence shall not be enforceable except by a Licensor acting as
299
+ such, and third party beneficiary rights are specifically excluded.