Debian Codegraph @

LICENSE

raw
1 This program and the accompanying materials are made available under the
2 terms of the Eclipse Public License 1.0 which is available at
3 https://www.eclipse.org/org/documents/epl-1.0/EPL-1.0.txt
4 or the Apache Software License 2.0 which is available at
5 https://www.apache.org/licenses/LICENSE-2.0
6
7
8
9 Eclipse Public License - v 1.0
10
11 THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC
12 LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM
13 CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
14
15 1. DEFINITIONS
16
17 "Contribution" means:
18
19 a) in the case of the initial Contributor, the initial code and documentation
20 distributed under this Agreement, and
21 b) in the case of each subsequent Contributor:
22 i) changes to the Program, and
23 ii) additions to the Program;
24
25 where such changes and/or additions to the Program originate from and are
26 distributed by that particular Contributor. A Contribution 'originates'
27 from a Contributor if it was added to the Program by such Contributor
28 itself or anyone acting on such Contributor's behalf. Contributions do not
29 include additions to the Program which: (i) are separate modules of
30 software distributed in conjunction with the Program under their own
31 license agreement, and (ii) are not derivative works of the Program.
32
33 "Contributor" means any person or entity that distributes the Program.
34
35 "Licensed Patents" mean patent claims licensable by a Contributor which are
36 necessarily infringed by the use or sale of its Contribution alone or when
37 combined with the Program.
38
39 "Program" means the Contributions distributed in accordance with this
40 Agreement.
41
42 "Recipient" means anyone who receives the Program under this Agreement,
43 including all Contributors.
44
45 2. GRANT OF RIGHTS
46 a) Subject to the terms of this Agreement, each Contributor hereby grants
47 Recipient a non-exclusive, worldwide, royalty-free copyright license to
48 reproduce, prepare derivative works of, publicly display, publicly
49 perform, distribute and sublicense the Contribution of such Contributor,
50 if any, and such derivative works, in source code and object code form.
51 b) Subject to the terms of this Agreement, each Contributor hereby grants
52 Recipient a non-exclusive, worldwide, royalty-free patent license under
53 Licensed Patents to make, use, sell, offer to sell, import and otherwise
54 transfer the Contribution of such Contributor, if any, in source code and
55 object code form. This patent license shall apply to the combination of
56 the Contribution and the Program if, at the time the Contribution is
57 added by the Contributor, such addition of the Contribution causes such
58 combination to be covered by the Licensed Patents. The patent license
59 shall not apply to any other combinations which include the Contribution.
60 No hardware per se is licensed hereunder.
61 c) Recipient understands that although each Contributor grants the licenses
62 to its Contributions set forth herein, no assurances are provided by any
63 Contributor that the Program does not infringe the patent or other
64 intellectual property rights of any other entity. Each Contributor
65 disclaims any liability to Recipient for claims brought by any other
66 entity based on infringement of intellectual property rights or
67 otherwise. As a condition to exercising the rights and licenses granted
68 hereunder, each Recipient hereby assumes sole responsibility to secure
69 any other intellectual property rights needed, if any. For example, if a
70 third party patent license is required to allow Recipient to distribute
71 the Program, it is Recipient's responsibility to acquire that license
72 before distributing the Program.
73 d) Each Contributor represents that to its knowledge it has sufficient
74 copyright rights in its Contribution, if any, to grant the copyright
75 license set forth in this Agreement.
76
77 3. REQUIREMENTS
78
79 A Contributor may choose to distribute the Program in object code form under
80 its own license agreement, provided that:
81
82 a) it complies with the terms and conditions of this Agreement; and
83 b) its license agreement:
84 i) effectively disclaims on behalf of all Contributors all warranties
85 and conditions, express and implied, including warranties or
86 conditions of title and non-infringement, and implied warranties or
87 conditions of merchantability and fitness for a particular purpose;
88 ii) effectively excludes on behalf of all Contributors all liability for
89 damages, including direct, indirect, special, incidental and
90 consequential damages, such as lost profits;
91 iii) states that any provisions which differ from this Agreement are
92 offered by that Contributor alone and not by any other party; and
93 iv) states that source code for the Program is available from such
94 Contributor, and informs licensees how to obtain it in a reasonable
95 manner on or through a medium customarily used for software exchange.
96
97 When the Program is made available in source code form:
98
99 a) it must be made available under this Agreement; and
100 b) a copy of this Agreement must be included with each copy of the Program.
101 Contributors may not remove or alter any copyright notices contained
102 within the Program.
103
104 Each Contributor must identify itself as the originator of its Contribution,
105 if
106 any, in a manner that reasonably allows subsequent Recipients to identify the
107 originator of the Contribution.
108
109 4. COMMERCIAL DISTRIBUTION
110
111 Commercial distributors of software may accept certain responsibilities with
112 respect to end users, business partners and the like. While this license is
113 intended to facilitate the commercial use of the Program, the Contributor who
114 includes the Program in a commercial product offering should do so in a manner
115 which does not create potential liability for other Contributors. Therefore,
116 if a Contributor includes the Program in a commercial product offering, such
117 Contributor ("Commercial Contributor") hereby agrees to defend and indemnify
118 every other Contributor ("Indemnified Contributor") against any losses,
119 damages and costs (collectively "Losses") arising from claims, lawsuits and
120 other legal actions brought by a third party against the Indemnified
121 Contributor to the extent caused by the acts or omissions of such Commercial
122 Contributor in connection with its distribution of the Program in a commercial
123 product offering. The obligations in this section do not apply to any claims
124 or Losses relating to any actual or alleged intellectual property
125 infringement. In order to qualify, an Indemnified Contributor must:
126 a) promptly notify the Commercial Contributor in writing of such claim, and
127 b) allow the Commercial Contributor to control, and cooperate with the
128 Commercial Contributor in, the defense and any related settlement
129 negotiations. The Indemnified Contributor may participate in any such claim at
130 its own expense.
131
132 For example, a Contributor might include the Program in a commercial product
133 offering, Product X. That Contributor is then a Commercial Contributor. If
134 that Commercial Contributor then makes performance claims, or offers
135 warranties related to Product X, those performance claims and warranties are
136 such Commercial Contributor's responsibility alone. Under this section, the
137 Commercial Contributor would have to defend claims against the other
138 Contributors related to those performance claims and warranties, and if a
139 court requires any other Contributor to pay any damages as a result, the
140 Commercial Contributor must pay those damages.
141
142 5. NO WARRANTY
143
144 EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN
145 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR
146 IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE,
147 NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each
148 Recipient is solely responsible for determining the appropriateness of using
149 and distributing the Program and assumes all risks associated with its
150 exercise of rights under this Agreement , including but not limited to the
151 risks and costs of program errors, compliance with applicable laws, damage to
152 or loss of data, programs or equipment, and unavailability or interruption of
153 operations.
154
155 6. DISCLAIMER OF LIABILITY
156
157 EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY
158 CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL,
159 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION
160 LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
161 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
162 ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE
163 EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY
164 OF SUCH DAMAGES.
165
166 7. GENERAL
167
168 If any provision of this Agreement is invalid or unenforceable under
169 applicable law, it shall not affect the validity or enforceability of the
170 remainder of the terms of this Agreement, and without further action by the
171 parties hereto, such provision shall be reformed to the minimum extent
172 necessary to make such provision valid and enforceable.
173
174 If Recipient institutes patent litigation against any entity (including a
175 cross-claim or counterclaim in a lawsuit) alleging that the Program itself
176 (excluding combinations of the Program with other software or hardware)
177 infringes such Recipient's patent(s), then such Recipient's rights granted
178 under Section 2(b) shall terminate as of the date such litigation is filed.
179
180 All Recipient's rights under this Agreement shall terminate if it fails to
181 comply with any of the material terms or conditions of this Agreement and does
182 not cure such failure in a reasonable period of time after becoming aware of
183 such noncompliance. If all Recipient's rights under this Agreement terminate,
184 Recipient agrees to cease use and distribution of the Program as soon as
185 reasonably practicable. However, Recipient's obligations under this Agreement
186 and any licenses granted by Recipient relating to the Program shall continue
187 and survive.
188
189 Everyone is permitted to copy and distribute copies of this Agreement, but in
190 order to avoid inconsistency the Agreement is copyrighted and may only be
191 modified in the following manner. The Agreement Steward reserves the right to
192 publish new versions (including revisions) of this Agreement from time to
193 time. No one other than the Agreement Steward has the right to modify this
194 Agreement. The Eclipse Foundation is the initial Agreement Steward. The
195 Eclipse Foundation may assign the responsibility to serve as the Agreement
196 Steward to a suitable separate entity. Each new version of the Agreement will
197 be given a distinguishing version number. The Program (including
198 Contributions) may always be distributed subject to the version of the
199 Agreement under which it was received. In addition, after a new version of the
200 Agreement is published, Contributor may elect to distribute the Program
201 (including its Contributions) under the new version. Except as expressly
202 stated in Sections 2(a) and 2(b) above, Recipient receives no rights or
203 licenses to the intellectual property of any Contributor under this Agreement,
204 whether expressly, by implication, estoppel or otherwise. All rights in the
205 Program not expressly granted under this Agreement are reserved.
206
207 This Agreement is governed by the laws of the State of New York and the
208 intellectual property laws of the United States of America. No party to this
209 Agreement will bring a legal action under this Agreement more than one year
210 after the cause of action arose. Each party waives its rights to a jury trial in
211 any resulting litigation.
212
213
214
215 Apache License
216 Version 2.0, January 2004
217 http://www.apache.org/licenses/
218
219 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
220
221 1. Definitions.
222
223 "License" shall mean the terms and conditions for use, reproduction,
224 and distribution as defined by Sections 1 through 9 of this document.
225
226 "Licensor" shall mean the copyright owner or entity authorized by
227 the copyright owner that is granting the License.
228
229 "Legal Entity" shall mean the union of the acting entity and all
230 other entities that control, are controlled by, or are under common
231 control with that entity. For the purposes of this definition,
232 "control" means (i) the power, direct or indirect, to cause the
233 direction or management of such entity, whether by contract or
234 otherwise, or (ii) ownership of fifty percent (50%) or more of the
235 outstanding shares, or (iii) beneficial ownership of such entity.
236
237 "You" (or "Your") shall mean an individual or Legal Entity
238 exercising permissions granted by this License.
239
240 "Source" form shall mean the preferred form for making modifications,
241 including but not limited to software source code, documentation
242 source, and configuration files.
243
244 "Object" form shall mean any form resulting from mechanical
245 transformation or translation of a Source form, including but
246 not limited to compiled object code, generated documentation,
247 and conversions to other media types.
248
249 "Work" shall mean the work of authorship, whether in Source or
250 Object form, made available under the License, as indicated by a
251 copyright notice that is included in or attached to the work
252 (an example is provided in the Appendix below).
253
254 "Derivative Works" shall mean any work, whether in Source or Object
255 form, that is based on (or derived from) the Work and for which the
256 editorial revisions, annotations, elaborations, or other modifications
257 represent, as a whole, an original work of authorship. For the purposes
258 of this License, Derivative Works shall not include works that remain
259 separable from, or merely link (or bind by name) to the interfaces of,
260 the Work and Derivative Works thereof.
261
262 "Contribution" shall mean any work of authorship, including
263 the original version of the Work and any modifications or additions
264 to that Work or Derivative Works thereof, that is intentionally
265 submitted to Licensor for inclusion in the Work by the copyright owner
266 or by an individual or Legal Entity authorized to submit on behalf of
267 the copyright owner. For the purposes of this definition, "submitted"
268 means any form of electronic, verbal, or written communication sent
269 to the Licensor or its representatives, including but not limited to
270 communication on electronic mailing lists, source code control systems,
271 and issue tracking systems that are managed by, or on behalf of, the
272 Licensor for the purpose of discussing and improving the Work, but
273 excluding communication that is conspicuously marked or otherwise
274 designated in writing by the copyright owner as "Not a Contribution."
275
276 "Contributor" shall mean Licensor and any individual or Legal Entity
277 on behalf of whom a Contribution has been received by Licensor and
278 subsequently incorporated within the Work.
279
280 2. Grant of Copyright License. Subject to the terms and conditions of
281 this License, each Contributor hereby grants to You a perpetual,
282 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
283 copyright license to reproduce, prepare Derivative Works of,
284 publicly display, publicly perform, sublicense, and distribute the
285 Work and such Derivative Works in Source or Object form.
286
287 3. Grant of Patent License. Subject to the terms and conditions of
288 this License, each Contributor hereby grants to You a perpetual,
289 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
290 (except as stated in this section) patent license to make, have made,
291 use, offer to sell, sell, import, and otherwise transfer the Work,
292 where such license applies only to those patent claims licensable
293 by such Contributor that are necessarily infringed by their
294 Contribution(s) alone or by combination of their Contribution(s)
295 with the Work to which such Contribution(s) was submitted. If You
296 institute patent litigation against any entity (including a
297 cross-claim or counterclaim in a lawsuit) alleging that the Work
298 or a Contribution incorporated within the Work constitutes direct
299 or contributory patent infringement, then any patent licenses
300 granted to You under this License for that Work shall terminate
301 as of the date such litigation is filed.
302
303 4. Redistribution. You may reproduce and distribute copies of the
304 Work or Derivative Works thereof in any medium, with or without
305 modifications, and in Source or Object form, provided that You
306 meet the following conditions:
307
308 (a) You must give any other recipients of the Work or
309 Derivative Works a copy of this License; and
310
311 (b) You must cause any modified files to carry prominent notices
312 stating that You changed the files; and
313
314 (c) You must retain, in the Source form of any Derivative Works
315 that You distribute, all copyright, patent, trademark, and
316 attribution notices from the Source form of the Work,
317 excluding those notices that do not pertain to any part of
318 the Derivative Works; and
319
320 (d) If the Work includes a "NOTICE" text file as part of its
321 distribution, then any Derivative Works that You distribute must
322 include a readable copy of the attribution notices contained
323 within such NOTICE file, excluding those notices that do not
324 pertain to any part of the Derivative Works, in at least one
325 of the following places: within a NOTICE text file distributed
326 as part of the Derivative Works; within the Source form or
327 documentation, if provided along with the Derivative Works; or,
328 within a display generated by the Derivative Works, if and
329 wherever such third-party notices normally appear. The contents
330 of the NOTICE file are for informational purposes only and
331 do not modify the License. You may add Your own attribution
332 notices within Derivative Works that You distribute, alongside
333 or as an addendum to the NOTICE text from the Work, provided
334 that such additional attribution notices cannot be construed
335 as modifying the License.
336
337 You may add Your own copyright statement to Your modifications and
338 may provide additional or different license terms and conditions
339 for use, reproduction, or distribution of Your modifications, or
340 for any such Derivative Works as a whole, provided Your use,
341 reproduction, and distribution of the Work otherwise complies with
342 the conditions stated in this License.
343
344 5. Submission of Contributions. Unless You explicitly state otherwise,
345 any Contribution intentionally submitted for inclusion in the Work
346 by You to the Licensor shall be under the terms and conditions of
347 this License, without any additional terms or conditions.
348 Notwithstanding the above, nothing herein shall supersede or modify
349 the terms of any separate license agreement you may have executed
350 with Licensor regarding such Contributions.
351
352 6. Trademarks. This License does not grant permission to use the trade
353 names, trademarks, service marks, or product names of the Licensor,
354 except as required for reasonable and customary use in describing the
355 origin of the Work and reproducing the content of the NOTICE file.
356
357 7. Disclaimer of Warranty. Unless required by applicable law or
358 agreed to in writing, Licensor provides the Work (and each
359 Contributor provides its Contributions) on an "AS IS" BASIS,
360 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
361 implied, including, without limitation, any warranties or conditions
362 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
363 PARTICULAR PURPOSE. You are solely responsible for determining the
364 appropriateness of using or redistributing the Work and assume any
365 risks associated with Your exercise of permissions under this License.
366
367 8. Limitation of Liability. In no event and under no legal theory,
368 whether in tort (including negligence), contract, or otherwise,
369 unless required by applicable law (such as deliberate and grossly
370 negligent acts) or agreed to in writing, shall any Contributor be
371 liable to You for damages, including any direct, indirect, special,
372 incidental, or consequential damages of any character arising as a
373 result of this License or out of the use or inability to use the
374 Work (including but not limited to damages for loss of goodwill,
375 work stoppage, computer failure or malfunction, or any and all
376 other commercial damages or losses), even if such Contributor
377 has been advised of the possibility of such damages.
378
379 9. Accepting Warranty or Additional Liability. While redistributing
380 the Work or Derivative Works thereof, You may choose to offer,
381 and charge a fee for, acceptance of support, warranty, indemnity,
382 or other liability obligations and/or rights consistent with this
383 License. However, in accepting such obligations, You may act only
384 on Your own behalf and on Your sole responsibility, not on behalf
385 of any other Contributor, and only if You agree to indemnify,
386 defend, and hold each Contributor harmless for any liability
387 incurred by, or claims asserted against, such Contributor by reason
388 of your accepting any such warranty or additional liability.
389
390 END OF TERMS AND CONDITIONS
391
392 APPENDIX: How to apply the Apache License to your work.
393
394 To apply the Apache License to your work, attach the following
395 boilerplate notice, with the fields enclosed by brackets "[]"
396 replaced with your own identifying information. (Don't include
397 the brackets!) The text should be enclosed in the appropriate
398 comment syntax for the file format. We also recommend that a
399 file or class name and description of purpose be included on the
400 same "printed page" as the copyright notice for easier
401 identification within third-party archives.
402
403 Copyright [yyyy] [name of copyright owner]
404
405 Licensed under the Apache License, Version 2.0 (the "License");
406 you may not use this file except in compliance with the License.
407 You may obtain a copy of the License at
408
409 http://www.apache.org/licenses/LICENSE-2.0
410
411 Unless required by applicable law or agreed to in writing, software
412 distributed under the License is distributed on an "AS IS" BASIS,
413 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
414 See the License for the specific language governing permissions and
415 limitations under the License.