leejunyoung5819wayland-android-remote

공개

Ubuntu(Wayland/X11)에서 Android 기기 화면 미러링 및 원격 제어 (Rust)

525줄27 KB
1Android Remote (companion app and daemon)
2Copyright 2026 LeeJunyoung <[email protected]>
3Licensed under the GNU General Public License, version 3 or (at your option) any later version.
4Source: https://gitgit.kr/leejunyoung5819/wayland-android-remote
5
6This app includes the following third-party software.
7
8==============================================================================
9Bouncy Castle (bcprov-jdk18on 1.87) - MIT License
10------------------------------------------------------------------------------
11MIT License (https://opensource.org/licenses/MIT)
12
13Copyright (c) 2000-2026 The Legion of the Bouncy Castle Inc. (https://www.bouncycastle.org).
14Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
15associated documentation files (the "Software"), to deal in the Software without restriction,
16including without limitation the rights to use, copy, modify, merge, publish, distribute,
17sub license, and/or sell copies of the Software, and to permit persons to whom the Software is
18furnished to do so, subject to the following conditions: The above copyright notice and this
19permission notice shall be included in all copies or substantial portions of the Software.
20
21**THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
22NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
23NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
24DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT
25OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.**
26
27==============================================================================
28Conscrypt (conscrypt-android 2.5.3) - Apache License 2.0
29------------------------------------------------------------------------------
30Copyright 2016 The Android Open Source Project
31
32Licensed under the Apache License, Version 2.0 (the "License");
33you may not use this file except in compliance with the License.
34You may obtain a copy of the License at
35
36 http://www.apache.org/licenses/LICENSE-2.0
37
38Unless required by applicable law or agreed to in writing, software
39distributed under the License is distributed on an "AS IS" BASIS,
40WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
41See the License for the specific language governing permissions and
42limitations under the License.
43
44-----------------------------------------------------------------------
45This product contains a modified portion of `Netty`, a configurable network
46stack in Java, which can be obtained at:
47
48 * LICENSE:
49 * licenses/LICENSE.netty.txt (Apache License 2.0)
50 * HOMEPAGE:
51 * http://netty.io/
52
53This product contains a modified portion of `Apache Harmony`, modular Java runtime,
54which can be obtained at:
55
56 * LICENSE:
57 * licenses/LICENSE.harmony.txt (Apache License 2.0)
58 * HOMEPAGE:
59 * https://harmony.apache.org/
60
61------------------------------------------------------------------------------
62BoringSSL (native library bundled in Conscrypt)
63------------------------------------------------------------------------------
64BoringSSL is a fork of OpenSSL. As such, large parts of it fall under OpenSSL
65licensing. Files that are completely new have a Google copyright and an ISC
66license. This license is reproduced at the bottom of this file.
67
68Contributors to BoringSSL are required to follow the CLA rules for Chromium:
69https://cla.developers.google.com/clas
70
71Files in third_party/ have their own licenses, as described therein. The MIT
72license, for third_party/fiat, which, unlike other third_party directories, is
73compiled into non-test libraries, is included below.
74
75The OpenSSL toolkit stays under a dual license, i.e. both the conditions of the
76OpenSSL License and the original SSLeay license apply to the toolkit. See below
77for the actual license texts. Actually both licenses are BSD-style Open Source
78licenses. In case of any license issues related to OpenSSL please contact
79[email protected].
80
81The following are Google-internal bug numbers where explicit permission from
82some authors is recorded for use of their work. (This is purely for our own
83record keeping.)
84 27287199
85 27287880
86 27287883
87
88 OpenSSL License
89 ---------------
90
91/* ====================================================================
92 * Copyright (c) 1998-2011 The OpenSSL Project. All rights reserved.
93 *
94 * Redistribution and use in source and binary forms, with or without
95 * modification, are permitted provided that the following conditions
96 * are met:
97 *
98 * 1. Redistributions of source code must retain the above copyright
99 * notice, this list of conditions and the following disclaimer.
100 *
101 * 2. Redistributions in binary form must reproduce the above copyright
102 * notice, this list of conditions and the following disclaimer in
103 * the documentation and/or other materials provided with the
104 * distribution.
105 *
106 * 3. All advertising materials mentioning features or use of this
107 * software must display the following acknowledgment:
108 * "This product includes software developed by the OpenSSL Project
109 * for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
110 *
111 * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
112 * endorse or promote products derived from this software without
113 * prior written permission. For written permission, please contact
114 * [email protected].
115 *
116 * 5. Products derived from this software may not be called "OpenSSL"
117 * nor may "OpenSSL" appear in their names without prior written
118 * permission of the OpenSSL Project.
119 *
120 * 6. Redistributions of any form whatsoever must retain the following
121 * acknowledgment:
122 * "This product includes software developed by the OpenSSL Project
123 * for use in the OpenSSL Toolkit (http://www.openssl.org/)"
124 *
125 * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
126 * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
127 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
128 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
129 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
130 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
131 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
132 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
133 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
134 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
135 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
136 * OF THE POSSIBILITY OF SUCH DAMAGE.
137 * ====================================================================
138 *
139 * This product includes cryptographic software written by Eric Young
140 * ([email protected]). This product includes software written by Tim
141 * Hudson ([email protected]).
142 *
143 */
144
145 Original SSLeay License
146 -----------------------
147
148/* Copyright (C) 1995-1998 Eric Young ([email protected])
149 * All rights reserved.
150 *
151 * This package is an SSL implementation written
152 * by Eric Young ([email protected]).
153 * The implementation was written so as to conform with Netscapes SSL.
154 *
155 * This library is free for commercial and non-commercial use as long as
156 * the following conditions are aheared to. The following conditions
157 * apply to all code found in this distribution, be it the RC4, RSA,
158 * lhash, DES, etc., code; not just the SSL code. The SSL documentation
159 * included with this distribution is covered by the same copyright terms
160 * except that the holder is Tim Hudson ([email protected]).
161 *
162 * Copyright remains Eric Young's, and as such any Copyright notices in
163 * the code are not to be removed.
164 * If this package is used in a product, Eric Young should be given attribution
165 * as the author of the parts of the library used.
166 * This can be in the form of a textual message at program startup or
167 * in documentation (online or textual) provided with the package.
168 *
169 * Redistribution and use in source and binary forms, with or without
170 * modification, are permitted provided that the following conditions
171 * are met:
172 * 1. Redistributions of source code must retain the copyright
173 * notice, this list of conditions and the following disclaimer.
174 * 2. Redistributions in binary form must reproduce the above copyright
175 * notice, this list of conditions and the following disclaimer in the
176 * documentation and/or other materials provided with the distribution.
177 * 3. All advertising materials mentioning features or use of this software
178 * must display the following acknowledgement:
179 * "This product includes cryptographic software written by
180 * Eric Young ([email protected])"
181 * The word 'cryptographic' can be left out if the rouines from the library
182 * being used are not cryptographic related :-).
183 * 4. If you include any Windows specific code (or a derivative thereof) from
184 * the apps directory (application code) you must include an acknowledgement:
185 * "This product includes software written by Tim Hudson ([email protected])"
186 *
187 * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
188 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
189 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
190 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
191 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
192 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
193 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
194 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
195 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
196 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
197 * SUCH DAMAGE.
198 *
199 * The licence and distribution terms for any publically available version or
200 * derivative of this code cannot be changed. i.e. this code cannot simply be
201 * copied and put under another distribution licence
202 * [including the GNU Public Licence.]
203 */
204
205
206ISC license used for completely new code in BoringSSL:
207
208/* Copyright (c) 2015, Google Inc.
209 *
210 * Permission to use, copy, modify, and/or distribute this software for any
211 * purpose with or without fee is hereby granted, provided that the above
212 * copyright notice and this permission notice appear in all copies.
213 *
214 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
215 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
216 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
217 * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
218 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
219 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
220 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */
221
222
223The code in third_party/fiat carries the MIT license:
224
225Copyright (c) 2015-2016 the fiat-crypto authors (see
226https://github.com/mit-plv/fiat-crypto/blob/master/AUTHORS).
227
228Permission is hereby granted, free of charge, to any person obtaining a copy
229of this software and associated documentation files (the "Software"), to deal
230in the Software without restriction, including without limitation the rights
231to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
232copies of the Software, and to permit persons to whom the Software is
233furnished to do so, subject to the following conditions:
234
235The above copyright notice and this permission notice shall be included in all
236copies or substantial portions of the Software.
237
238THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
239IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
240FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
241AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
242LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
243OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
244SOFTWARE.
245
246
247Licenses for support code
248-------------------------
249
250Parts of the TLS test suite are under the Go license. This code is not included
251in BoringSSL (i.e. libcrypto and libssl) when compiled, however, so
252distributing code linked against BoringSSL does not trigger this license:
253
254Copyright (c) 2009 The Go Authors. All rights reserved.
255
256Redistribution and use in source and binary forms, with or without
257modification, are permitted provided that the following conditions are
258met:
259
260 * Redistributions of source code must retain the above copyright
261notice, this list of conditions and the following disclaimer.
262 * Redistributions in binary form must reproduce the above
263copyright notice, this list of conditions and the following disclaimer
264in the documentation and/or other materials provided with the
265distribution.
266 * Neither the name of Google Inc. nor the names of its
267contributors may be used to endorse or promote products derived from
268this software without specific prior written permission.
269
270THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
271"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
272LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
273A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
274OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
275SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
276LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
277DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
278THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
279(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
280OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
281
282
283BoringSSL uses the Chromium test infrastructure to run a continuous build,
284trybots etc. The scripts which manage this, and the script for generating build
285metadata, are under the Chromium license. Distributing code linked against
286BoringSSL does not trigger this license.
287
288Copyright 2015 The Chromium Authors. All rights reserved.
289
290Redistribution and use in source and binary forms, with or without
291modification, are permitted provided that the following conditions are
292met:
293
294 * Redistributions of source code must retain the above copyright
295notice, this list of conditions and the following disclaimer.
296 * Redistributions in binary form must reproduce the above
297copyright notice, this list of conditions and the following disclaimer
298in the documentation and/or other materials provided with the
299distribution.
300 * Neither the name of Google Inc. nor the names of its
301contributors may be used to endorse or promote products derived from
302this software without specific prior written permission.
303
304THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
305"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
306LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
307A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
308OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
309SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
310LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
311DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
312THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
313(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
314OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
315
316==============================================================================
317libadb-android 3.1.1 (Muntashir Al-Islam) - used under the Apache License 2.0
318(dual-licensed GPL-3.0-or-later OR Apache-2.0)
319==============================================================================
320Kotlin standard library (JetBrains s.r.o. and Kotlin contributors) - Apache License 2.0
321==============================================================================
322Apache License 2.0 (full text, applies to Conscrypt, libadb-android and the Kotlin standard library)
323------------------------------------------------------------------------------
324
325 Apache License
326 Version 2.0, January 2004
327 http://www.apache.org/licenses/
328
329 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
330
331 1. Definitions.
332
333 "License" shall mean the terms and conditions for use, reproduction,
334 and distribution as defined by Sections 1 through 9 of this document.
335
336 "Licensor" shall mean the copyright owner or entity authorized by
337 the copyright owner that is granting the License.
338
339 "Legal Entity" shall mean the union of the acting entity and all
340 other entities that control, are controlled by, or are under common
341 control with that entity. For the purposes of this definition,
342 "control" means (i) the power, direct or indirect, to cause the
343 direction or management of such entity, whether by contract or
344 otherwise, or (ii) ownership of fifty percent (50%) or more of the
345 outstanding shares, or (iii) beneficial ownership of such entity.
346
347 "You" (or "Your") shall mean an individual or Legal Entity
348 exercising permissions granted by this License.
349
350 "Source" form shall mean the preferred form for making modifications,
351 including but not limited to software source code, documentation
352 source, and configuration files.
353
354 "Object" form shall mean any form resulting from mechanical
355 transformation or translation of a Source form, including but
356 not limited to compiled object code, generated documentation,
357 and conversions to other media types.
358
359 "Work" shall mean the work of authorship, whether in Source or
360 Object form, made available under the License, as indicated by a
361 copyright notice that is included in or attached to the work
362 (an example is provided in the Appendix below).
363
364 "Derivative Works" shall mean any work, whether in Source or Object
365 form, that is based on (or derived from) the Work and for which the
366 editorial revisions, annotations, elaborations, or other modifications
367 represent, as a whole, an original work of authorship. For the purposes
368 of this License, Derivative Works shall not include works that remain
369 separable from, or merely link (or bind by name) to the interfaces of,
370 the Work and Derivative Works thereof.
371
372 "Contribution" shall mean any work of authorship, including
373 the original version of the Work and any modifications or additions
374 to that Work or Derivative Works thereof, that is intentionally
375 submitted to Licensor for inclusion in the Work by the copyright owner
376 or by an individual or Legal Entity authorized to submit on behalf of
377 the copyright owner. For the purposes of this definition, "submitted"
378 means any form of electronic, verbal, or written communication sent
379 to the Licensor or its representatives, including but not limited to
380 communication on electronic mailing lists, source code control systems,
381 and issue tracking systems that are managed by, or on behalf of, the
382 Licensor for the purpose of discussing and improving the Work, but
383 excluding communication that is conspicuously marked or otherwise
384 designated in writing by the copyright owner as "Not a Contribution."
385
386 "Contributor" shall mean Licensor and any individual or Legal Entity
387 on behalf of whom a Contribution has been received by Licensor and
388 subsequently incorporated within the Work.
389
390 2. Grant of Copyright License. Subject to the terms and conditions of
391 this License, each Contributor hereby grants to You a perpetual,
392 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
393 copyright license to reproduce, prepare Derivative Works of,
394 publicly display, publicly perform, sublicense, and distribute the
395 Work and such Derivative Works in Source or Object form.
396
397 3. Grant of Patent License. Subject to the terms and conditions of
398 this License, each Contributor hereby grants to You a perpetual,
399 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
400 (except as stated in this section) patent license to make, have made,
401 use, offer to sell, sell, import, and otherwise transfer the Work,
402 where such license applies only to those patent claims licensable
403 by such Contributor that are necessarily infringed by their
404 Contribution(s) alone or by combination of their Contribution(s)
405 with the Work to which such Contribution(s) was submitted. If You
406 institute patent litigation against any entity (including a
407 cross-claim or counterclaim in a lawsuit) alleging that the Work
408 or a Contribution incorporated within the Work constitutes direct
409 or contributory patent infringement, then any patent licenses
410 granted to You under this License for that Work shall terminate
411 as of the date such litigation is filed.
412
413 4. Redistribution. You may reproduce and distribute copies of the
414 Work or Derivative Works thereof in any medium, with or without
415 modifications, and in Source or Object form, provided that You
416 meet the following conditions:
417
418 (a) You must give any other recipients of the Work or
419 Derivative Works a copy of this License; and
420
421 (b) You must cause any modified files to carry prominent notices
422 stating that You changed the files; and
423
424 (c) You must retain, in the Source form of any Derivative Works
425 that You distribute, all copyright, patent, trademark, and
426 attribution notices from the Source form of the Work,
427 excluding those notices that do not pertain to any part of
428 the Derivative Works; and
429
430 (d) If the Work includes a "NOTICE" text file as part of its
431 distribution, then any Derivative Works that You distribute must
432 include a readable copy of the attribution notices contained
433 within such NOTICE file, excluding those notices that do not
434 pertain to any part of the Derivative Works, in at least one
435 of the following places: within a NOTICE text file distributed
436 as part of the Derivative Works; within the Source form or
437 documentation, if provided along with the Derivative Works; or,
438 within a display generated by the Derivative Works, if and
439 wherever such third-party notices normally appear. The contents
440 of the NOTICE file are for informational purposes only and
441 do not modify the License. You may add Your own attribution
442 notices within Derivative Works that You distribute, alongside
443 or as an addendum to the NOTICE text from the Work, provided
444 that such additional attribution notices cannot be construed
445 as modifying the License.
446
447 You may add Your own copyright statement to Your modifications and
448 may provide additional or different license terms and conditions
449 for use, reproduction, or distribution of Your modifications, or
450 for any such Derivative Works as a whole, provided Your use,
451 reproduction, and distribution of the Work otherwise complies with
452 the conditions stated in this License.
453
454 5. Submission of Contributions. Unless You explicitly state otherwise,
455 any Contribution intentionally submitted for inclusion in the Work
456 by You to the Licensor shall be under the terms and conditions of
457 this License, without any additional terms or conditions.
458 Notwithstanding the above, nothing herein shall supersede or modify
459 the terms of any separate license agreement you may have executed
460 with Licensor regarding such Contributions.
461
462 6. Trademarks. This License does not grant permission to use the trade
463 names, trademarks, service marks, or product names of the Licensor,
464 except as required for reasonable and customary use in describing the
465 origin of the Work and reproducing the content of the NOTICE file.
466
467 7. Disclaimer of Warranty. Unless required by applicable law or
468 agreed to in writing, Licensor provides the Work (and each
469 Contributor provides its Contributions) on an "AS IS" BASIS,
470 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
471 implied, including, without limitation, any warranties or conditions
472 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
473 PARTICULAR PURPOSE. You are solely responsible for determining the
474 appropriateness of using or redistributing the Work and assume any
475 risks associated with Your exercise of permissions under this License.
476
477 8. Limitation of Liability. In no event and under no legal theory,
478 whether in tort (including negligence), contract, or otherwise,
479 unless required by applicable law (such as deliberate and grossly
480 negligent acts) or agreed to in writing, shall any Contributor be
481 liable to You for damages, including any direct, indirect, special,
482 incidental, or consequential damages of any character arising as a
483 result of this License or out of the use or inability to use the
484 Work (including but not limited to damages for loss of goodwill,
485 work stoppage, computer failure or malfunction, or any and all
486 other commercial damages or losses), even if such Contributor
487 has been advised of the possibility of such damages.
488
489 9. Accepting Warranty or Additional Liability. While redistributing
490 the Work or Derivative Works thereof, You may choose to offer,
491 and charge a fee for, acceptance of support, warranty, indemnity,
492 or other liability obligations and/or rights consistent with this
493 License. However, in accepting such obligations, You may act only
494 on Your own behalf and on Your sole responsibility, not on behalf
495 of any other Contributor, and only if You agree to indemnify,
496 defend, and hold each Contributor harmless for any liability
497 incurred by, or claims asserted against, such Contributor by reason
498 of your accepting any such warranty or additional liability.
499
500 END OF TERMS AND CONDITIONS
501
502 APPENDIX: How to apply the Apache License to your work.
503
504 To apply the Apache License to your work, attach the following
505 boilerplate notice, with the fields enclosed by brackets "[]"
506 replaced with your own identifying information. (Don't include
507 the brackets!) The text should be enclosed in the appropriate
508 comment syntax for the file format. We also recommend that a
509 file or class name and description of purpose be included on the
510 same "printed page" as the copyright notice for easier
511 identification within third-party archives.
512
513 Copyright [yyyy] [name of copyright owner]
514
515 Licensed under the Apache License, Version 2.0 (the "License");
516 you may not use this file except in compliance with the License.
517 You may obtain a copy of the License at
518
519 http://www.apache.org/licenses/LICENSE-2.0
520
521 Unless required by applicable law or agreed to in writing, software
522 distributed under the License is distributed on an "AS IS" BASIS,
523 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
524 See the License for the specific language governing permissions and
525 limitations under the License.