Debian Codegraph @

LICENSE

raw
1 govcloudair is distributed under the Apache License 2.0
2
3 Apache License
4 Version 2.0, January 2004
5 http://www.apache.org/licenses/
6
7 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
8
9 1. Definitions.
10
11 "License" shall mean the terms and conditions for use, reproduction,
12 and distribution as defined by Sections 1 through 9 of this document.
13
14 "Licensor" shall mean the copyright owner or entity authorized by
15 the copyright owner that is granting the License.
16
17 "Legal Entity" shall mean the union of the acting entity and all
18 other entities that control, are controlled by, or are under common
19 control with that entity. For the purposes of this definition,
20 "control" means (i) the power, direct or indirect, to cause the
21 direction or management of such entity, whether by contract or
22 otherwise, or (ii) ownership of fifty percent (50%) or more of the
23 outstanding shares, or (iii) beneficial ownership of such entity.
24
25 "You" (or "Your") shall mean an individual or Legal Entity
26 exercising permissions granted by this License.
27
28 "Source" form shall mean the preferred form for making modifications,
29 including but not limited to software source code, documentation
30 source, and configuration files.
31
32 "Object" form shall mean any form resulting from mechanical
33 transformation or translation of a Source form, including but
34 not limited to compiled object code, generated documentation,
35 and conversions to other media types.
36
37 "Work" shall mean the work of authorship, whether in Source or
38 Object form, made available under the License, as indicated by a
39 copyright notice that is included in or attached to the work
40 (an example is provided in the Appendix below).
41
42 "Derivative Works" shall mean any work, whether in Source or Object
43 form, that is based on (or derived from) the Work and for which the
44 editorial revisions, annotations, elaborations, or other modifications
45 represent, as a whole, an original work of authorship. For the purposes
46 of this License, Derivative Works shall not include works that remain
47 separable from, or merely link (or bind by name) to the interfaces of,
48 the Work and Derivative Works thereof.
49
50 "Contribution" shall mean any work of authorship, including
51 the original version of the Work and any modifications or additions
52 to that Work or Derivative Works thereof, that is intentionally
53 submitted to Licensor for inclusion in the Work by the copyright owner
54 or by an individual or Legal Entity authorized to submit on behalf of
55 the copyright owner. For the purposes of this definition, "submitted"
56 means any form of electronic, verbal, or written communication sent
57 to the Licensor or its representatives, including but not limited to
58 communication on electronic mailing lists, source code control systems,
59 and issue tracking systems that are managed by, or on behalf of, the
60 Licensor for the purpose of discussing and improving the Work, but
61 excluding communication that is conspicuously marked or otherwise
62 designated in writing by the copyright owner as "Not a Contribution."
63
64 "Contributor" shall mean Licensor and any individual or Legal Entity
65 on behalf of whom a Contribution has been received by Licensor and
66 subsequently incorporated within the Work.
67
68 2. Grant of Copyright License. Subject to the terms and conditions of
69 this License, each Contributor hereby grants to You a perpetual,
70 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
71 copyright license to reproduce, prepare Derivative Works of,
72 publicly display, publicly perform, sublicense, and distribute the
73 Work and such Derivative Works in Source or Object form.
74
75 3. Grant of Patent License. Subject to the terms and conditions of
76 this License, each Contributor hereby grants to You a perpetual,
77 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
78 (except as stated in this section) patent license to make, have made,
79 use, offer to sell, sell, import, and otherwise transfer the Work,
80 where such license applies only to those patent claims licensable
81 by such Contributor that are necessarily infringed by their
82 Contribution(s) alone or by combination of their Contribution(s)
83 with the Work to which such Contribution(s) was submitted. If You
84 institute patent litigation against any entity (including a
85 cross-claim or counterclaim in a lawsuit) alleging that the Work
86 or a Contribution incorporated within the Work constitutes direct
87 or contributory patent infringement, then any patent licenses
88 granted to You under this License for that Work shall terminate
89 as of the date such litigation is filed.
90
91 4. Redistribution. You may reproduce and distribute copies of the
92 Work or Derivative Works thereof in any medium, with or without
93 modifications, and in Source or Object form, provided that You
94 meet the following conditions:
95
96 (a) You must give any other recipients of the Work or
97 Derivative Works a copy of this License; and
98
99 (b) You must cause any modified files to carry prominent notices
100 stating that You changed the files; and
101
102 (c) You must retain, in the Source form of any Derivative Works
103 that You distribute, all copyright, patent, trademark, and
104 attribution notices from the Source form of the Work,
105 excluding those notices that do not pertain to any part of
106 the Derivative Works; and
107
108 (d) If the Work includes a "NOTICE" text file as part of its
109 distribution, then any Derivative Works that You distribute must
110 include a readable copy of the attribution notices contained
111 within such NOTICE file, excluding those notices that do not
112 pertain to any part of the Derivative Works, in at least one
113 of the following places: within a NOTICE text file distributed
114 as part of the Derivative Works; within the Source form or
115 documentation, if provided along with the Derivative Works; or,
116 within a display generated by the Derivative Works, if and
117 wherever such third-party notices normally appear. The contents
118 of the NOTICE file are for informational purposes only and
119 do not modify the License. You may add Your own attribution
120 notices within Derivative Works that You distribute, alongside
121 or as an addendum to the NOTICE text from the Work, provided
122 that such additional attribution notices cannot be construed
123 as modifying the License.
124
125 You may add Your own copyright statement to Your modifications and
126 may provide additional or different license terms and conditions
127 for use, reproduction, or distribution of Your modifications, or
128 for any such Derivative Works as a whole, provided Your use,
129 reproduction, and distribution of the Work otherwise complies with
130 the conditions stated in this License.
131
132 5. Submission of Contributions. Unless You explicitly state otherwise,
133 any Contribution intentionally submitted for inclusion in the Work
134 by You to the Licensor shall be under the terms and conditions of
135 this License, without any additional terms or conditions.
136 Notwithstanding the above, nothing herein shall supersede or modify
137 the terms of any separate license agreement you may have executed
138 with Licensor regarding such Contributions.
139
140 6. Trademarks. This License does not grant permission to use the trade
141 names, trademarks, service marks, or product names of the Licensor,
142 except as required for reasonable and customary use in describing the
143 origin of the Work and reproducing the content of the NOTICE file.
144
145 7. Disclaimer of Warranty. Unless required by applicable law or
146 agreed to in writing, Licensor provides the Work (and each
147 Contributor provides its Contributions) on an "AS IS" BASIS,
148 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
149 implied, including, without limitation, any warranties or conditions
150 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
151 PARTICULAR PURPOSE. You are solely responsible for determining the
152 appropriateness of using or redistributing the Work and assume any
153 risks associated with Your exercise of permissions under this License.
154
155 8. Limitation of Liability. In no event and under no legal theory,
156 whether in tort (including negligence), contract, or otherwise,
157 unless required by applicable law (such as deliberate and grossly
158 negligent acts) or agreed to in writing, shall any Contributor be
159 liable to You for damages, including any direct, indirect, special,
160 incidental, or consequential damages of any character arising as a
161 result of this License or out of the use or inability to use the
162 Work (including but not limited to damages for loss of goodwill,
163 work stoppage, computer failure or malfunction, or any and all
164 other commercial damages or losses), even if such Contributor
165 has been advised of the possibility of such damages.
166
167 9. Accepting Warranty or Additional Liability. While redistributing
168 the Work or Derivative Works thereof, You may choose to offer,
169 and charge a fee for, acceptance of support, warranty, indemnity,
170 or other liability obligations and/or rights consistent with this
171 License. However, in accepting such obligations, You may act only
172 on Your own behalf and on Your sole responsibility, not on behalf
173 of any other Contributor, and only if You agree to indemnify,
174 defend, and hold each Contributor harmless for any liability
175 incurred by, or claims asserted against, such Contributor by reason
176 of your accepting any such warranty or additional liability.
177
178 END OF TERMS AND CONDITIONS
179
180 APPENDIX: How to apply the Apache License to your work.
181
182 To apply the Apache License to your work, attach the following
183 boilerplate notice, with the fields enclosed by brackets "[]"
184 replaced with your own identifying information. (Don't include
185 the brackets!) The text should be enclosed in the appropriate
186 comment syntax for the file format. We also recommend that a
187 file or class name and description of purpose be included on the
188 same "printed page" as the copyright notice for easier
189 identification within third-party archives.
190
191 Copyright 2014 Fabio Rapposelli
192
193 Licensed under the Apache License, Version 2.0 (the "License");
194 you may not use this file except in compliance with the License.
195 You may obtain a copy of the License at
196
197 http://www.apache.org/licenses/LICENSE-2.0
198
199 Unless required by applicable law or agreed to in writing, software
200 distributed under the License is distributed on an "AS IS" BASIS,
201 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
202 See the License for the specific language governing permissions and
203 limitations under the License.
204
205
206 testutil/http.go is distributed with a Mozilla Public License 2.0
207
208 Mozilla Public License, version 2.0
209
210 1. Definitions
211
212 1.1. "Contributor"
213
214 means each individual or legal entity that creates, contributes to the
215 creation of, or owns Covered Software.
216
217 1.2. "Contributor Version"
218
219 means the combination of the Contributions of others (if any) used by a
220 Contributor and that particular Contributor's Contribution.
221
222 1.3. "Contribution"
223
224 means Covered Software of a particular Contributor.
225
226 1.4. "Covered Software"
227
228 means Source Code Form to which the initial Contributor has attached the
229 notice in Exhibit A, the Executable Form of such Source Code Form, and
230 Modifications of such Source Code Form, in each case including portions
231 thereof.
232
233 1.5. "Incompatible With Secondary Licenses"
234 means
235
236 a. that the initial Contributor has attached the notice described in
237 Exhibit B to the Covered Software; or
238
239 b. that the Covered Software was made available under the terms of
240 version 1.1 or earlier of the License, but not also under the terms of
241 a Secondary License.
242
243 1.6. "Executable Form"
244
245 means any form of the work other than Source Code Form.
246
247 1.7. "Larger Work"
248
249 means a work that combines Covered Software with other material, in a
250 separate file or files, that is not Covered Software.
251
252 1.8. "License"
253
254 means this document.
255
256 1.9. "Licensable"
257
258 means having the right to grant, to the maximum extent possible, whether
259 at the time of the initial grant or subsequently, any and all of the
260 rights conveyed by this License.
261
262 1.10. "Modifications"
263
264 means any of the following:
265
266 a. any file in Source Code Form that results from an addition to,
267 deletion from, or modification of the contents of Covered Software; or
268
269 b. any new file in Source Code Form that contains any Covered Software.
270
271 1.11. "Patent Claims" of a Contributor
272
273 means any patent claim(s), including without limitation, method,
274 process, and apparatus claims, in any patent Licensable by such
275 Contributor that would be infringed, but for the grant of the License,
276 by the making, using, selling, offering for sale, having made, import,
277 or transfer of either its Contributions or its Contributor Version.
278
279 1.12. "Secondary License"
280
281 means either the GNU General Public License, Version 2.0, the GNU Lesser
282 General Public License, Version 2.1, the GNU Affero General Public
283 License, Version 3.0, or any later versions of those licenses.
284
285 1.13. "Source Code Form"
286
287 means the form of the work preferred for making modifications.
288
289 1.14. "You" (or "Your")
290
291 means an individual or a legal entity exercising rights under this
292 License. For legal entities, "You" includes any entity that controls, is
293 controlled by, or is under common control with You. For purposes of this
294 definition, "control" means (a) the power, direct or indirect, to cause
295 the direction or management of such entity, whether by contract or
296 otherwise, or (b) ownership of more than fifty percent (50%) of the
297 outstanding shares or beneficial ownership of such entity.
298
299
300 2. License Grants and Conditions
301
302 2.1. Grants
303
304 Each Contributor hereby grants You a world-wide, royalty-free,
305 non-exclusive license:
306
307 a. under intellectual property rights (other than patent or trademark)
308 Licensable by such Contributor to use, reproduce, make available,
309 modify, display, perform, distribute, and otherwise exploit its
310 Contributions, either on an unmodified basis, with Modifications, or
311 as part of a Larger Work; and
312
313 b. under Patent Claims of such Contributor to make, use, sell, offer for
314 sale, have made, import, and otherwise transfer either its
315 Contributions or its Contributor Version.
316
317 2.2. Effective Date
318
319 The licenses granted in Section 2.1 with respect to any Contribution
320 become effective for each Contribution on the date the Contributor first
321 distributes such Contribution.
322
323 2.3. Limitations on Grant Scope
324
325 The licenses granted in this Section 2 are the only rights granted under
326 this License. No additional rights or licenses will be implied from the
327 distribution or licensing of Covered Software under this License.
328 Notwithstanding Section 2.1(b) above, no patent license is granted by a
329 Contributor:
330
331 a. for any code that a Contributor has removed from Covered Software; or
332
333 b. for infringements caused by: (i) Your and any other third party's
334 modifications of Covered Software, or (ii) the combination of its
335 Contributions with other software (except as part of its Contributor
336 Version); or
337
338 c. under Patent Claims infringed by Covered Software in the absence of
339 its Contributions.
340
341 This License does not grant any rights in the trademarks, service marks,
342 or logos of any Contributor (except as may be necessary to comply with
343 the notice requirements in Section 3.4).
344
345 2.4. Subsequent Licenses
346
347 No Contributor makes additional grants as a result of Your choice to
348 distribute the Covered Software under a subsequent version of this
349 License (see Section 10.2) or under the terms of a Secondary License (if
350 permitted under the terms of Section 3.3).
351
352 2.5. Representation
353
354 Each Contributor represents that the Contributor believes its
355 Contributions are its original creation(s) or it has sufficient rights to
356 grant the rights to its Contributions conveyed by this License.
357
358 2.6. Fair Use
359
360 This License is not intended to limit any rights You have under
361 applicable copyright doctrines of fair use, fair dealing, or other
362 equivalents.
363
364 2.7. Conditions
365
366 Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in
367 Section 2.1.
368
369
370 3. Responsibilities
371
372 3.1. Distribution of Source Form
373
374 All distribution of Covered Software in Source Code Form, including any
375 Modifications that You create or to which You contribute, must be under
376 the terms of this License. You must inform recipients that the Source
377 Code Form of the Covered Software is governed by the terms of this
378 License, and how they can obtain a copy of this License. You may not
379 attempt to alter or restrict the recipients' rights in the Source Code
380 Form.
381
382 3.2. Distribution of Executable Form
383
384 If You distribute Covered Software in Executable Form then:
385
386 a. such Covered Software must also be made available in Source Code Form,
387 as described in Section 3.1, and You must inform recipients of the
388 Executable Form how they can obtain a copy of such Source Code Form by
389 reasonable means in a timely manner, at a charge no more than the cost
390 of distribution to the recipient; and
391
392 b. You may distribute such Executable Form under the terms of this
393 License, or sublicense it under different terms, provided that the
394 license for the Executable Form does not attempt to limit or alter the
395 recipients' rights in the Source Code Form under this License.
396
397 3.3. Distribution of a Larger Work
398
399 You may create and distribute a Larger Work under terms of Your choice,
400 provided that You also comply with the requirements of this License for
401 the Covered Software. If the Larger Work is a combination of Covered
402 Software with a work governed by one or more Secondary Licenses, and the
403 Covered Software is not Incompatible With Secondary Licenses, this
404 License permits You to additionally distribute such Covered Software
405 under the terms of such Secondary License(s), so that the recipient of
406 the Larger Work may, at their option, further distribute the Covered
407 Software under the terms of either this License or such Secondary
408 License(s).
409
410 3.4. Notices
411
412 You may not remove or alter the substance of any license notices
413 (including copyright notices, patent notices, disclaimers of warranty, or
414 limitations of liability) contained within the Source Code Form of the
415 Covered Software, except that You may alter any license notices to the
416 extent required to remedy known factual inaccuracies.
417
418 3.5. Application of Additional Terms
419
420 You may choose to offer, and to charge a fee for, warranty, support,
421 indemnity or liability obligations to one or more recipients of Covered
422 Software. However, You may do so only on Your own behalf, and not on
423 behalf of any Contributor. You must make it absolutely clear that any
424 such warranty, support, indemnity, or liability obligation is offered by
425 You alone, and You hereby agree to indemnify every Contributor for any
426 liability incurred by such Contributor as a result of warranty, support,
427 indemnity or liability terms You offer. You may include additional
428 disclaimers of warranty and limitations of liability specific to any
429 jurisdiction.
430
431 4. Inability to Comply Due to Statute or Regulation
432
433 If it is impossible for You to comply with any of the terms of this License
434 with respect to some or all of the Covered Software due to statute,
435 judicial order, or regulation then You must: (a) comply with the terms of
436 this License to the maximum extent possible; and (b) describe the
437 limitations and the code they affect. Such description must be placed in a
438 text file included with all distributions of the Covered Software under
439 this License. Except to the extent prohibited by statute or regulation,
440 such description must be sufficiently detailed for a recipient of ordinary
441 skill to be able to understand it.
442
443 5. Termination
444
445 5.1. The rights granted under this License will terminate automatically if You
446 fail to comply with any of its terms. However, if You become compliant,
447 then the rights granted under this License from a particular Contributor
448 are reinstated (a) provisionally, unless and until such Contributor
449 explicitly and finally terminates Your grants, and (b) on an ongoing
450 basis, if such Contributor fails to notify You of the non-compliance by
451 some reasonable means prior to 60 days after You have come back into
452 compliance. Moreover, Your grants from a particular Contributor are
453 reinstated on an ongoing basis if such Contributor notifies You of the
454 non-compliance by some reasonable means, this is the first time You have
455 received notice of non-compliance with this License from such
456 Contributor, and You become compliant prior to 30 days after Your receipt
457 of the notice.
458
459 5.2. If You initiate litigation against any entity by asserting a patent
460 infringement claim (excluding declaratory judgment actions,
461 counter-claims, and cross-claims) alleging that a Contributor Version
462 directly or indirectly infringes any patent, then the rights granted to
463 You by any and all Contributors for the Covered Software under Section
464 2.1 of this License shall terminate.
465
466 5.3. In the event of termination under Sections 5.1 or 5.2 above, all end user
467 license agreements (excluding distributors and resellers) which have been
468 validly granted by You or Your distributors under this License prior to
469 termination shall survive termination.
470
471 6. Disclaimer of Warranty
472
473 Covered Software is provided under this License on an "as is" basis,
474 without warranty of any kind, either expressed, implied, or statutory,
475 including, without limitation, warranties that the Covered Software is free
476 of defects, merchantable, fit for a particular purpose or non-infringing.
477 The entire risk as to the quality and performance of the Covered Software
478 is with You. Should any Covered Software prove defective in any respect,
479 You (not any Contributor) assume the cost of any necessary servicing,
480 repair, or correction. This disclaimer of warranty constitutes an essential
481 part of this License. No use of any Covered Software is authorized under
482 this License except under this disclaimer.
483
484 7. Limitation of Liability
485
486 Under no circumstances and under no legal theory, whether tort (including
487 negligence), contract, or otherwise, shall any Contributor, or anyone who
488 distributes Covered Software as permitted above, be liable to You for any
489 direct, indirect, special, incidental, or consequential damages of any
490 character including, without limitation, damages for lost profits, loss of
491 goodwill, work stoppage, computer failure or malfunction, or any and all
492 other commercial damages or losses, even if such party shall have been
493 informed of the possibility of such damages. This limitation of liability
494 shall not apply to liability for death or personal injury resulting from
495 such party's negligence to the extent applicable law prohibits such
496 limitation. Some jurisdictions do not allow the exclusion or limitation of
497 incidental or consequential damages, so this exclusion and limitation may
498 not apply to You.
499
500 8. Litigation
501
502 Any litigation relating to this License may be brought only in the courts
503 of a jurisdiction where the defendant maintains its principal place of
504 business and such litigation shall be governed by laws of that
505 jurisdiction, without reference to its conflict-of-law provisions. Nothing
506 in this Section shall prevent a party's ability to bring cross-claims or
507 counter-claims.
508
509 9. Miscellaneous
510
511 This License represents the complete agreement concerning the subject
512 matter hereof. If any provision of this License is held to be
513 unenforceable, such provision shall be reformed only to the extent
514 necessary to make it enforceable. Any law or regulation which provides that
515 the language of a contract shall be construed against the drafter shall not
516 be used to construe this License against a Contributor.
517
518
519 10. Versions of the License
520
521 10.1. New Versions
522
523 Mozilla Foundation is the license steward. Except as provided in Section
524 10.3, no one other than the license steward has the right to modify or
525 publish new versions of this License. Each version will be given a
526 distinguishing version number.
527
528 10.2. Effect of New Versions
529
530 You may distribute the Covered Software under the terms of the version
531 of the License under which You originally received the Covered Software,
532 or under the terms of any subsequent version published by the license
533 steward.
534
535 10.3. Modified Versions
536
537 If you create software not governed by this License, and you want to
538 create a new license for such software, you may create and use a
539 modified version of this License if you rename the license and remove
540 any references to the name of the license steward (except to note that
541 such modified license differs from this License).
542
543 10.4. Distributing Source Code Form that is Incompatible With Secondary
544 Licenses If You choose to distribute Source Code Form that is
545 Incompatible With Secondary Licenses under the terms of this version of
546 the License, the notice described in Exhibit B of this License must be
547 attached.
548
549 Exhibit A - Source Code Form License Notice
550
551 This Source Code Form is subject to the
552 terms of the Mozilla Public License, v.
553 2.0. If a copy of the MPL was not
554 distributed with this file, You can
555 obtain one at
556 http://mozilla.org/MPL/2.0/.
557
558 If it is not possible or desirable to put the notice in a particular file,
559 then You may include the notice in a location (such as a LICENSE file in a
560 relevant directory) where a recipient would be likely to look for such a
561 notice.
562
563 You may add additional accurate notices of copyright ownership.
564
565 Exhibit B - "Incompatible With Secondary Licenses" Notice
566
567 This Source Code Form is "Incompatible
568 With Secondary Licenses", as defined by
569 the Mozilla Public License, v. 2.0.