Debian Codegraph @

LICENSE

raw
1 Neko Virtual Machine (neko) and Neko Tools (nekotools)
2 ======================================================
3
4 Copyright (C)2005-2022 Haxe Foundation
5
6 Permission is hereby granted, free of charge, to any person obtaining a
7 copy of this software and associated documentation files (the "Software"),
8 to deal in the Software without restriction, including without limitation
9 the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 and/or sell copies of the Software, and to permit persons to whom the
11 Software is furnished to do so, subject to the following conditions:
12
13 The above copyright notice and this permission notice shall be included in
14 all copies or substantial portions of the Software.
15
16 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 DEALINGS IN THE SOFTWARE.
23
24 Boehm GC
25 --------
26
27 Copyright 1988, 1989 Hans-J. Boehm, Alan J. Demers
28 Copyright (c) 1991-1995 by Xerox Corporation. All rights reserved.
29 Copyright 1996-1999 by Silicon Graphics. All rights reserved.
30 Copyright 1999 by Hewlett-Packard Company. All rights reserved.
31 Copyright (C) 2007 Free Software Foundation, Inc
32
33 THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
34 OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
35
36 Permission is hereby granted to use or copy this program
37 for any purpose, provided the above notices are retained on all copies.
38 Permission to modify the code and to distribute modified code is granted,
39 provided the above notices are retained, and a notice that the code was
40 modified is included with the above copyright notice.
41
42
43 Neko Runtime Libraries
44 ======================
45
46 std, sqlite, mysql5, ui
47 -----------------------
48
49 Copyright (C)2005-2022 Haxe Foundation
50
51 Permission is hereby granted, free of charge, to any person obtaining a
52 copy of this software and associated documentation files (the "Software"),
53 to deal in the Software without restriction, including without limitation
54 the rights to use, copy, modify, merge, publish, distribute, sublicense,
55 and/or sell copies of the Software, and to permit persons to whom the
56 Software is furnished to do so, subject to the following conditions:
57
58 The above copyright notice and this permission notice shall be included in
59 all copies or substantial portions of the Software.
60
61 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
62 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
63 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
64 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
65 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
66 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
67 DEALINGS IN THE SOFTWARE.
68
69 regexp
70 ------
71
72 PCRE is a library of functions to support regular expressions whose syntax
73 and semantics are as close as possible to those of the Perl 5 language.
74
75 Written by Philip Hazel
76 Copyright (c) 1997-2007 University of Cambridge
77
78 -----------------------------------------------------------------------------
79 Redistribution and use in source and binary forms, with or without
80 modification, are permitted provided that the following conditions are met:
81
82 * Redistributions of source code must retain the above copyright notice,
83 this list of conditions and the following disclaimer.
84
85 * Redistributions in binary form must reproduce the above copyright
86 notice, this list of conditions and the following disclaimer in the
87 documentation and/or other materials provided with the distribution.
88
89 * Neither the name of the University of Cambridge nor the names of its
90 contributors may be used to endorse or promote products derived from
91 this software without specific prior written permission.
92
93 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
94 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
95 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
96 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
97 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
98 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
99 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
100 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
101 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
102 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
103 POSSIBILITY OF SUCH DAMAGE.
104
105
106 zlib
107 ----
108
109 Copyright (C) 1995-2005 Jean-loup Gailly and Mark Adler
110
111 This software is provided 'as-is', without any express or implied
112 warranty. In no event will the authors be held liable for any damages
113 arising from the use of this software.
114
115 Permission is granted to anyone to use this software for any purpose,
116 including commercial applications, and to alter it and redistribute it
117 freely, subject to the following restrictions:
118
119 1. The origin of this software must not be misrepresented; you must not
120 claim that you wrote the original software. If you use this software
121 in a product, an acknowledgment in the product documentation would be
122 appreciated but is not required.
123 2. Altered source versions must be plainly marked as such, and must not be
124 misrepresented as being the original software.
125 3. This notice may not be removed or altered from any source distribution.
126
127 Jean-loup Gailly Mark Adler
128 [email protected] [email protected]
129
130
131 The data format used by the zlib library is described by RFCs (Request for
132 Comments) 1950 to 1952 in the files http://www.ietf.org/rfc/rfc1950.txt
133 (zlib format), rfc1951.txt (deflate format) and rfc1952.txt (gzip format).
134
135
136 mysql
137 -----
138
139 mysql.ndll uses the LGPL-licensed MariaDB Connector/C.
140
141 GNU LESSER GENERAL PUBLIC LICENSE
142 Version 2.1, February 1999
143
144 Copyright (C) 1991, 1999 Free Software Foundation, Inc.
145 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
146 Everyone is permitted to copy and distribute verbatim copies
147 of this license document, but changing it is not allowed.
148
149 [This is the first released version of the Lesser GPL. It also counts
150 as the successor of the GNU Library Public License, version 2, hence
151 the version number 2.1.]
152
153 Preamble
154
155 The licenses for most software are designed to take away your
156 freedom to share and change it. By contrast, the GNU General Public
157 Licenses are intended to guarantee your freedom to share and change
158 free software--to make sure the software is free for all its users.
159
160 This license, the Lesser General Public License, applies to some
161 specially designated software packages--typically libraries--of the
162 Free Software Foundation and other authors who decide to use it. You
163 can use it too, but we suggest you first think carefully about whether
164 this license or the ordinary General Public License is the better
165 strategy to use in any particular case, based on the explanations below.
166
167 When we speak of free software, we are referring to freedom of use,
168 not price. Our General Public Licenses are designed to make sure that
169 you have the freedom to distribute copies of free software (and charge
170 for this service if you wish); that you receive source code or can get
171 it if you want it; that you can change the software and use pieces of
172 it in new free programs; and that you are informed that you can do
173 these things.
174
175 To protect your rights, we need to make restrictions that forbid
176 distributors to deny you these rights or to ask you to surrender these
177 rights. These restrictions translate to certain responsibilities for
178 you if you distribute copies of the library or if you modify it.
179
180 For example, if you distribute copies of the library, whether gratis
181 or for a fee, you must give the recipients all the rights that we gave
182 you. You must make sure that they, too, receive or can get the source
183 code. If you link other code with the library, you must provide
184 complete object files to the recipients, so that they can relink them
185 with the library after making changes to the library and recompiling
186 it. And you must show them these terms so they know their rights.
187
188 We protect your rights with a two-step method: (1) we copyright the
189 library, and (2) we offer you this license, which gives you legal
190 permission to copy, distribute and/or modify the library.
191
192 To protect each distributor, we want to make it very clear that
193 there is no warranty for the free library. Also, if the library is
194 modified by someone else and passed on, the recipients should know
195 that what they have is not the original version, so that the original
196 author's reputation will not be affected by problems that might be
197 introduced by others.
198
199 Finally, software patents pose a constant threat to the existence of
200 any free program. We wish to make sure that a company cannot
201 effectively restrict the users of a free program by obtaining a
202 restrictive license from a patent holder. Therefore, we insist that
203 any patent license obtained for a version of the library must be
204 consistent with the full freedom of use specified in this license.
205
206 Most GNU software, including some libraries, is covered by the
207 ordinary GNU General Public License. This license, the GNU Lesser
208 General Public License, applies to certain designated libraries, and
209 is quite different from the ordinary General Public License. We use
210 this license for certain libraries in order to permit linking those
211 libraries into non-free programs.
212
213 When a program is linked with a library, whether statically or using
214 a shared library, the combination of the two is legally speaking a
215 combined work, a derivative of the original library. The ordinary
216 General Public License therefore permits such linking only if the
217 entire combination fits its criteria of freedom. The Lesser General
218 Public License permits more lax criteria for linking other code with
219 the library.
220
221 We call this license the "Lesser" General Public License because it
222 does Less to protect the user's freedom than the ordinary General
223 Public License. It also provides other free software developers Less
224 of an advantage over competing non-free programs. These disadvantages
225 are the reason we use the ordinary General Public License for many
226 libraries. However, the Lesser license provides advantages in certain
227 special circumstances.
228
229 For example, on rare occasions, there may be a special need to
230 encourage the widest possible use of a certain library, so that it becomes
231 a de-facto standard. To achieve this, non-free programs must be
232 allowed to use the library. A more frequent case is that a free
233 library does the same job as widely used non-free libraries. In this
234 case, there is little to gain by limiting the free library to free
235 software only, so we use the Lesser General Public License.
236
237 In other cases, permission to use a particular library in non-free
238 programs enables a greater number of people to use a large body of
239 free software. For example, permission to use the GNU C Library in
240 non-free programs enables many more people to use the whole GNU
241 operating system, as well as its variant, the GNU/Linux operating
242 system.
243
244 Although the Lesser General Public License is Less protective of the
245 users' freedom, it does ensure that the user of a program that is
246 linked with the Library has the freedom and the wherewithal to run
247 that program using a modified version of the Library.
248
249 The precise terms and conditions for copying, distribution and
250 modification follow. Pay close attention to the difference between a
251 "work based on the library" and a "work that uses the library". The
252 former contains code derived from the library, whereas the latter must
253 be combined with the library in order to run.
254
255 GNU LESSER GENERAL PUBLIC LICENSE
256 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
257
258 0. This License Agreement applies to any software library or other
259 program which contains a notice placed by the copyright holder or
260 other authorized party saying it may be distributed under the terms of
261 this Lesser General Public License (also called "this License").
262 Each licensee is addressed as "you".
263
264 A "library" means a collection of software functions and/or data
265 prepared so as to be conveniently linked with application programs
266 (which use some of those functions and data) to form executables.
267
268 The "Library", below, refers to any such software library or work
269 which has been distributed under these terms. A "work based on the
270 Library" means either the Library or any derivative work under
271 copyright law: that is to say, a work containing the Library or a
272 portion of it, either verbatim or with modifications and/or translated
273 straightforwardly into another language. (Hereinafter, translation is
274 included without limitation in the term "modification".)
275
276 "Source code" for a work means the preferred form of the work for
277 making modifications to it. For a library, complete source code means
278 all the source code for all modules it contains, plus any associated
279 interface definition files, plus the scripts used to control compilation
280 and installation of the library.
281
282 Activities other than copying, distribution and modification are not
283 covered by this License; they are outside its scope. The act of
284 running a program using the Library is not restricted, and output from
285 such a program is covered only if its contents constitute a work based
286 on the Library (independent of the use of the Library in a tool for
287 writing it). Whether that is true depends on what the Library does
288 and what the program that uses the Library does.
289
290 1. You may copy and distribute verbatim copies of the Library's
291 complete source code as you receive it, in any medium, provided that
292 you conspicuously and appropriately publish on each copy an
293 appropriate copyright notice and disclaimer of warranty; keep intact
294 all the notices that refer to this License and to the absence of any
295 warranty; and distribute a copy of this License along with the
296 Library.
297
298 You may charge a fee for the physical act of transferring a copy,
299 and you may at your option offer warranty protection in exchange for a
300 fee.
301
302 2. You may modify your copy or copies of the Library or any portion
303 of it, thus forming a work based on the Library, and copy and
304 distribute such modifications or work under the terms of Section 1
305 above, provided that you also meet all of these conditions:
306
307 a) The modified work must itself be a software library.
308
309 b) You must cause the files modified to carry prominent notices
310 stating that you changed the files and the date of any change.
311
312 c) You must cause the whole of the work to be licensed at no
313 charge to all third parties under the terms of this License.
314
315 d) If a facility in the modified Library refers to a function or a
316 table of data to be supplied by an application program that uses
317 the facility, other than as an argument passed when the facility
318 is invoked, then you must make a good faith effort to ensure that,
319 in the event an application does not supply such function or
320 table, the facility still operates, and performs whatever part of
321 its purpose remains meaningful.
322
323 (For example, a function in a library to compute square roots has
324 a purpose that is entirely well-defined independent of the
325 application. Therefore, Subsection 2d requires that any
326 application-supplied function or table used by this function must
327 be optional: if the application does not supply it, the square
328 root function must still compute square roots.)
329
330 These requirements apply to the modified work as a whole. If
331 identifiable sections of that work are not derived from the Library,
332 and can be reasonably considered independent and separate works in
333 themselves, then this License, and its terms, do not apply to those
334 sections when you distribute them as separate works. But when you
335 distribute the same sections as part of a whole which is a work based
336 on the Library, the distribution of the whole must be on the terms of
337 this License, whose permissions for other licensees extend to the
338 entire whole, and thus to each and every part regardless of who wrote
339 it.
340
341 Thus, it is not the intent of this section to claim rights or contest
342 your rights to work written entirely by you; rather, the intent is to
343 exercise the right to control the distribution of derivative or
344 collective works based on the Library.
345
346 In addition, mere aggregation of another work not based on the Library
347 with the Library (or with a work based on the Library) on a volume of
348 a storage or distribution medium does not bring the other work under
349 the scope of this License.
350
351 3. You may opt to apply the terms of the ordinary GNU General Public
352 License instead of this License to a given copy of the Library. To do
353 this, you must alter all the notices that refer to this License, so
354 that they refer to the ordinary GNU General Public License, version 2,
355 instead of to this License. (If a newer version than version 2 of the
356 ordinary GNU General Public License has appeared, then you can specify
357 that version instead if you wish.) Do not make any other change in
358 these notices.
359
360 Once this change is made in a given copy, it is irreversible for
361 that copy, so the ordinary GNU General Public License applies to all
362 subsequent copies and derivative works made from that copy.
363
364 This option is useful when you wish to copy part of the code of
365 the Library into a program that is not a library.
366
367 4. You may copy and distribute the Library (or a portion or
368 derivative of it, under Section 2) in object code or executable form
369 under the terms of Sections 1 and 2 above provided that you accompany
370 it with the complete corresponding machine-readable source code, which
371 must be distributed under the terms of Sections 1 and 2 above on a
372 medium customarily used for software interchange.
373
374 If distribution of object code is made by offering access to copy
375 from a designated place, then offering equivalent access to copy the
376 source code from the same place satisfies the requirement to
377 distribute the source code, even though third parties are not
378 compelled to copy the source along with the object code.
379
380 5. A program that contains no derivative of any portion of the
381 Library, but is designed to work with the Library by being compiled or
382 linked with it, is called a "work that uses the Library". Such a
383 work, in isolation, is not a derivative work of the Library, and
384 therefore falls outside the scope of this License.
385
386 However, linking a "work that uses the Library" with the Library
387 creates an executable that is a derivative of the Library (because it
388 contains portions of the Library), rather than a "work that uses the
389 library". The executable is therefore covered by this License.
390 Section 6 states terms for distribution of such executables.
391
392 When a "work that uses the Library" uses material from a header file
393 that is part of the Library, the object code for the work may be a
394 derivative work of the Library even though the source code is not.
395 Whether this is true is especially significant if the work can be
396 linked without the Library, or if the work is itself a library. The
397 threshold for this to be true is not precisely defined by law.
398
399 If such an object file uses only numerical parameters, data
400 structure layouts and accessors, and small macros and small inline
401 functions (ten lines or less in length), then the use of the object
402 file is unrestricted, regardless of whether it is legally a derivative
403 work. (Executables containing this object code plus portions of the
404 Library will still fall under Section 6.)
405
406 Otherwise, if the work is a derivative of the Library, you may
407 distribute the object code for the work under the terms of Section 6.
408 Any executables containing that work also fall under Section 6,
409 whether or not they are linked directly with the Library itself.
410
411 6. As an exception to the Sections above, you may also combine or
412 link a "work that uses the Library" with the Library to produce a
413 work containing portions of the Library, and distribute that work
414 under terms of your choice, provided that the terms permit
415 modification of the work for the customer's own use and reverse
416 engineering for debugging such modifications.
417
418 You must give prominent notice with each copy of the work that the
419 Library is used in it and that the Library and its use are covered by
420 this License. You must supply a copy of this License. If the work
421 during execution displays copyright notices, you must include the
422 copyright notice for the Library among them, as well as a reference
423 directing the user to the copy of this License. Also, you must do one
424 of these things:
425
426 a) Accompany the work with the complete corresponding
427 machine-readable source code for the Library including whatever
428 changes were used in the work (which must be distributed under
429 Sections 1 and 2 above); and, if the work is an executable linked
430 with the Library, with the complete machine-readable "work that
431 uses the Library", as object code and/or source code, so that the
432 user can modify the Library and then relink to produce a modified
433 executable containing the modified Library. (It is understood
434 that the user who changes the contents of definitions files in the
435 Library will not necessarily be able to recompile the application
436 to use the modified definitions.)
437
438 b) Use a suitable shared library mechanism for linking with the
439 Library. A suitable mechanism is one that (1) uses at run time a
440 copy of the library already present on the user's computer system,
441 rather than copying library functions into the executable, and (2)
442 will operate properly with a modified version of the library, if
443 the user installs one, as long as the modified version is
444 interface-compatible with the version that the work was made with.
445
446 c) Accompany the work with a written offer, valid for at
447 least three years, to give the same user the materials
448 specified in Subsection 6a, above, for a charge no more
449 than the cost of performing this distribution.
450
451 d) If distribution of the work is made by offering access to copy
452 from a designated place, offer equivalent access to copy the above
453 specified materials from the same place.
454
455 e) Verify that the user has already received a copy of these
456 materials or that you have already sent this user a copy.
457
458 For an executable, the required form of the "work that uses the
459 Library" must include any data and utility programs needed for
460 reproducing the executable from it. However, as a special exception,
461 the materials to be distributed need not include anything that is
462 normally distributed (in either source or binary form) with the major
463 components (compiler, kernel, and so on) of the operating system on
464 which the executable runs, unless that component itself accompanies
465 the executable.
466
467 It may happen that this requirement contradicts the license
468 restrictions of other proprietary libraries that do not normally
469 accompany the operating system. Such a contradiction means you cannot
470 use both them and the Library together in an executable that you
471 distribute.
472
473 7. You may place library facilities that are a work based on the
474 Library side-by-side in a single library together with other library
475 facilities not covered by this License, and distribute such a combined
476 library, provided that the separate distribution of the work based on
477 the Library and of the other library facilities is otherwise
478 permitted, and provided that you do these two things:
479
480 a) Accompany the combined library with a copy of the same work
481 based on the Library, uncombined with any other library
482 facilities. This must be distributed under the terms of the
483 Sections above.
484
485 b) Give prominent notice with the combined library of the fact
486 that part of it is a work based on the Library, and explaining
487 where to find the accompanying uncombined form of the same work.
488
489 8. You may not copy, modify, sublicense, link with, or distribute
490 the Library except as expressly provided under this License. Any
491 attempt otherwise to copy, modify, sublicense, link with, or
492 distribute the Library is void, and will automatically terminate your
493 rights under this License. However, parties who have received copies,
494 or rights, from you under this License will not have their licenses
495 terminated so long as such parties remain in full compliance.
496
497 9. You are not required to accept this License, since you have not
498 signed it. However, nothing else grants you permission to modify or
499 distribute the Library or its derivative works. These actions are
500 prohibited by law if you do not accept this License. Therefore, by
501 modifying or distributing the Library (or any work based on the
502 Library), you indicate your acceptance of this License to do so, and
503 all its terms and conditions for copying, distributing or modifying
504 the Library or works based on it.
505
506 10. Each time you redistribute the Library (or any work based on the
507 Library), the recipient automatically receives a license from the
508 original licensor to copy, distribute, link with or modify the Library
509 subject to these terms and conditions. You may not impose any further
510 restrictions on the recipients' exercise of the rights granted herein.
511 You are not responsible for enforcing compliance by third parties with
512 this License.
513
514 11. If, as a consequence of a court judgment or allegation of patent
515 infringement or for any other reason (not limited to patent issues),
516 conditions are imposed on you (whether by court order, agreement or
517 otherwise) that contradict the conditions of this License, they do not
518 excuse you from the conditions of this License. If you cannot
519 distribute so as to satisfy simultaneously your obligations under this
520 License and any other pertinent obligations, then as a consequence you
521 may not distribute the Library at all. For example, if a patent
522 license would not permit royalty-free redistribution of the Library by
523 all those who receive copies directly or indirectly through you, then
524 the only way you could satisfy both it and this License would be to
525 refrain entirely from distribution of the Library.
526
527 If any portion of this section is held invalid or unenforceable under any
528 particular circumstance, the balance of the section is intended to apply,
529 and the section as a whole is intended to apply in other circumstances.
530
531 It is not the purpose of this section to induce you to infringe any
532 patents or other property right claims or to contest validity of any
533 such claims; this section has the sole purpose of protecting the
534 integrity of the free software distribution system which is
535 implemented by public license practices. Many people have made
536 generous contributions to the wide range of software distributed
537 through that system in reliance on consistent application of that
538 system; it is up to the author/donor to decide if he or she is willing
539 to distribute software through any other system and a licensee cannot
540 impose that choice.
541
542 This section is intended to make thoroughly clear what is believed to
543 be a consequence of the rest of this License.
544
545 12. If the distribution and/or use of the Library is restricted in
546 certain countries either by patents or by copyrighted interfaces, the
547 original copyright holder who places the Library under this License may add
548 an explicit geographical distribution limitation excluding those countries,
549 so that distribution is permitted only in or among countries not thus
550 excluded. In such case, this License incorporates the limitation as if
551 written in the body of this License.
552
553 13. The Free Software Foundation may publish revised and/or new
554 versions of the Lesser General Public License from time to time.
555 Such new versions will be similar in spirit to the present version,
556 but may differ in detail to address new problems or concerns.
557
558 Each version is given a distinguishing version number. If the Library
559 specifies a version number of this License which applies to it and
560 "any later version", you have the option of following the terms and
561 conditions either of that version or of any later version published by
562 the Free Software Foundation. If the Library does not specify a
563 license version number, you may choose any version ever published by
564 the Free Software Foundation.
565
566 14. If you wish to incorporate parts of the Library into other free
567 programs whose distribution conditions are incompatible with these,
568 write to the author to ask for permission. For software which is
569 copyrighted by the Free Software Foundation, write to the Free
570 Software Foundation; we sometimes make exceptions for this. Our
571 decision will be guided by the two goals of preserving the free status
572 of all derivatives of our free software and of promoting the sharing
573 and reuse of software generally.
574
575 NO WARRANTY
576
577 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
578 WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
579 EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
580 OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
581 KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
582 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
583 PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
584 LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
585 THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
586
587 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
588 WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
589 AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
590 FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
591 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
592 LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
593 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
594 FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
595 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
596 DAMAGES.
597
598 END OF TERMS AND CONDITIONS
599
600 How to Apply These Terms to Your New Libraries
601
602 If you develop a new library, and you want it to be of the greatest
603 possible use to the public, we recommend making it free software that
604 everyone can redistribute and change. You can do so by permitting
605 redistribution under these terms (or, alternatively, under the terms of the
606 ordinary General Public License).
607
608 To apply these terms, attach the following notices to the library. It is
609 safest to attach them to the start of each source file to most effectively
610 convey the exclusion of warranty; and each file should have at least the
611 "copyright" line and a pointer to where the full notice is found.
612
613 <one line to give the library's name and a brief idea of what it does.>
614 Copyright (C) <year> <name of author>
615
616 This library is free software; you can redistribute it and/or
617 modify it under the terms of the GNU Lesser General Public
618 License as published by the Free Software Foundation; either
619 version 2.1 of the License, or (at your option) any later version.
620
621 This library is distributed in the hope that it will be useful,
622 but WITHOUT ANY WARRANTY; without even the implied warranty of
623 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
624 Lesser General Public License for more details.
625
626 You should have received a copy of the GNU Lesser General Public
627 License along with this library; if not, write to the Free Software
628 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
629
630 Also add information on how to contact you by electronic and paper mail.
631
632 You should also get your employer (if you work as a programmer) or your
633 school, if any, to sign a "copyright disclaimer" for the library, if
634 necessary. Here is a sample; alter the names:
635
636 Yoyodyne, Inc., hereby disclaims all copyright interest in the
637 library `Frob' (a library for tweaking knobs) written by James Random Hacker.
638
639 <signature of Ty Coon>, 1 April 1990
640 Ty Coon, President of Vice
641
642 That's all there is to it!
643
644
645
646 mod_neko and mod_tora
647 ---------------------
648
649 Apache License
650 Version 2.0, January 2004
651 http://www.apache.org/licenses/
652
653 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
654
655 1. Definitions.
656
657 "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
658
659 "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
660
661 "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
662
663 "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
664
665 "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
666
667 "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
668
669 "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
670
671 "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
672
673 "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
674
675 "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
676
677 2. Grant of Copyright License.
678
679 Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
680
681 3. Grant of Patent License.
682
683 Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
684
685 4. Redistribution.
686
687 You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
688
689 You must give any other recipients of the Work or Derivative Works a copy of this License; and
690 You must cause any modified files to carry prominent notices stating that You changed the files; and
691 You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
692 If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
693 You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
694
695 5. Submission of Contributions.
696
697 Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
698
699 6. Trademarks.
700
701 This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
702
703 7. Disclaimer of Warranty.
704
705 Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
706
707 8. Limitation of Liability.
708
709 In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
710
711 9. Accepting Warranty or Additional Liability.
712
713 While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
714
715 END OF TERMS AND CONDITIONS
716
717 APPENDIX: How to apply the Apache License to your work
718
719 To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
720
721 Copyright [yyyy] [name of copyright owner]
722
723 Licensed under the Apache License, Version 2.0 (the "License");
724 you may not use this file except in compliance with the License.
725 You may obtain a copy of the License at
726
727 http://www.apache.org/licenses/LICENSE-2.0
728
729 Unless required by applicable law or agreed to in writing, software
730 distributed under the License is distributed on an "AS IS" BASIS,
731 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
732 See the License for the specific language governing permissions and
733 limitations under the License.
734
735
736
737 Neko Compiler (nekoc) and NekoML Compiler (nekoml)
738 ==================================================
739
740 GNU GENERAL PUBLIC LICENSE
741 Version 2, June 1991
742
743 Copyright (C) 1989, 1991 Free Software Foundation, Inc., <http://fsf.org/>
744 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
745 Everyone is permitted to copy and distribute verbatim copies
746 of this license document, but changing it is not allowed.
747
748 Preamble
749
750 The licenses for most software are designed to take away your
751 freedom to share and change it. By contrast, the GNU General Public
752 License is intended to guarantee your freedom to share and change free
753 software--to make sure the software is free for all its users. This
754 General Public License applies to most of the Free Software
755 Foundation's software and to any other program whose authors commit to
756 using it. (Some other Free Software Foundation software is covered by
757 the GNU Lesser General Public License instead.) You can apply it to
758 your programs, too.
759
760 When we speak of free software, we are referring to freedom, not
761 price. Our General Public Licenses are designed to make sure that you
762 have the freedom to distribute copies of free software (and charge for
763 this service if you wish), that you receive source code or can get it
764 if you want it, that you can change the software or use pieces of it
765 in new free programs; and that you know you can do these things.
766
767 To protect your rights, we need to make restrictions that forbid
768 anyone to deny you these rights or to ask you to surrender the rights.
769 These restrictions translate to certain responsibilities for you if you
770 distribute copies of the software, or if you modify it.
771
772 For example, if you distribute copies of such a program, whether
773 gratis or for a fee, you must give the recipients all the rights that
774 you have. You must make sure that they, too, receive or can get the
775 source code. And you must show them these terms so they know their
776 rights.
777
778 We protect your rights with two steps: (1) copyright the software, and
779 (2) offer you this license which gives you legal permission to copy,
780 distribute and/or modify the software.
781
782 Also, for each author's protection and ours, we want to make certain
783 that everyone understands that there is no warranty for this free
784 software. If the software is modified by someone else and passed on, we
785 want its recipients to know that what they have is not the original, so
786 that any problems introduced by others will not reflect on the original
787 authors' reputations.
788
789 Finally, any free program is threatened constantly by software
790 patents. We wish to avoid the danger that redistributors of a free
791 program will individually obtain patent licenses, in effect making the
792 program proprietary. To prevent this, we have made it clear that any
793 patent must be licensed for everyone's free use or not licensed at all.
794
795 The precise terms and conditions for copying, distribution and
796 modification follow.
797
798 GNU GENERAL PUBLIC LICENSE
799 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
800
801 0. This License applies to any program or other work which contains
802 a notice placed by the copyright holder saying it may be distributed
803 under the terms of this General Public License. The "Program", below,
804 refers to any such program or work, and a "work based on the Program"
805 means either the Program or any derivative work under copyright law:
806 that is to say, a work containing the Program or a portion of it,
807 either verbatim or with modifications and/or translated into another
808 language. (Hereinafter, translation is included without limitation in
809 the term "modification".) Each licensee is addressed as "you".
810
811 Activities other than copying, distribution and modification are not
812 covered by this License; they are outside its scope. The act of
813 running the Program is not restricted, and the output from the Program
814 is covered only if its contents constitute a work based on the
815 Program (independent of having been made by running the Program).
816 Whether that is true depends on what the Program does.
817
818 1. You may copy and distribute verbatim copies of the Program's
819 source code as you receive it, in any medium, provided that you
820 conspicuously and appropriately publish on each copy an appropriate
821 copyright notice and disclaimer of warranty; keep intact all the
822 notices that refer to this License and to the absence of any warranty;
823 and give any other recipients of the Program a copy of this License
824 along with the Program.
825
826 You may charge a fee for the physical act of transferring a copy, and
827 you may at your option offer warranty protection in exchange for a fee.
828
829 2. You may modify your copy or copies of the Program or any portion
830 of it, thus forming a work based on the Program, and copy and
831 distribute such modifications or work under the terms of Section 1
832 above, provided that you also meet all of these conditions:
833
834 a) You must cause the modified files to carry prominent notices
835 stating that you changed the files and the date of any change.
836
837 b) You must cause any work that you distribute or publish, that in
838 whole or in part contains or is derived from the Program or any
839 part thereof, to be licensed as a whole at no charge to all third
840 parties under the terms of this License.
841
842 c) If the modified program normally reads commands interactively
843 when run, you must cause it, when started running for such
844 interactive use in the most ordinary way, to print or display an
845 announcement including an appropriate copyright notice and a
846 notice that there is no warranty (or else, saying that you provide
847 a warranty) and that users may redistribute the program under
848 these conditions, and telling the user how to view a copy of this
849 License. (Exception: if the Program itself is interactive but
850 does not normally print such an announcement, your work based on
851 the Program is not required to print an announcement.)
852
853 These requirements apply to the modified work as a whole. If
854 identifiable sections of that work are not derived from the Program,
855 and can be reasonably considered independent and separate works in
856 themselves, then this License, and its terms, do not apply to those
857 sections when you distribute them as separate works. But when you
858 distribute the same sections as part of a whole which is a work based
859 on the Program, the distribution of the whole must be on the terms of
860 this License, whose permissions for other licensees extend to the
861 entire whole, and thus to each and every part regardless of who wrote it.
862
863 Thus, it is not the intent of this section to claim rights or contest
864 your rights to work written entirely by you; rather, the intent is to
865 exercise the right to control the distribution of derivative or
866 collective works based on the Program.
867
868 In addition, mere aggregation of another work not based on the Program
869 with the Program (or with a work based on the Program) on a volume of
870 a storage or distribution medium does not bring the other work under
871 the scope of this License.
872
873 3. You may copy and distribute the Program (or a work based on it,
874 under Section 2) in object code or executable form under the terms of
875 Sections 1 and 2 above provided that you also do one of the following:
876
877 a) Accompany it with the complete corresponding machine-readable
878 source code, which must be distributed under the terms of Sections
879 1 and 2 above on a medium customarily used for software interchange; or,
880
881 b) Accompany it with a written offer, valid for at least three
882 years, to give any third party, for a charge no more than your
883 cost of physically performing source distribution, a complete
884 machine-readable copy of the corresponding source code, to be
885 distributed under the terms of Sections 1 and 2 above on a medium
886 customarily used for software interchange; or,
887
888 c) Accompany it with the information you received as to the offer
889 to distribute corresponding source code. (This alternative is
890 allowed only for noncommercial distribution and only if you
891 received the program in object code or executable form with such
892 an offer, in accord with Subsection b above.)
893
894 The source code for a work means the preferred form of the work for
895 making modifications to it. For an executable work, complete source
896 code means all the source code for all modules it contains, plus any
897 associated interface definition files, plus the scripts used to
898 control compilation and installation of the executable. However, as a
899 special exception, the source code distributed need not include
900 anything that is normally distributed (in either source or binary
901 form) with the major components (compiler, kernel, and so on) of the
902 operating system on which the executable runs, unless that component
903 itself accompanies the executable.
904
905 If distribution of executable or object code is made by offering
906 access to copy from a designated place, then offering equivalent
907 access to copy the source code from the same place counts as
908 distribution of the source code, even though third parties are not
909 compelled to copy the source along with the object code.
910
911 4. You may not copy, modify, sublicense, or distribute the Program
912 except as expressly provided under this License. Any attempt
913 otherwise to copy, modify, sublicense or distribute the Program is
914 void, and will automatically terminate your rights under this License.
915 However, parties who have received copies, or rights, from you under
916 this License will not have their licenses terminated so long as such
917 parties remain in full compliance.
918
919 5. You are not required to accept this License, since you have not
920 signed it. However, nothing else grants you permission to modify or
921 distribute the Program or its derivative works. These actions are
922 prohibited by law if you do not accept this License. Therefore, by
923 modifying or distributing the Program (or any work based on the
924 Program), you indicate your acceptance of this License to do so, and
925 all its terms and conditions for copying, distributing or modifying
926 the Program or works based on it.
927
928 6. Each time you redistribute the Program (or any work based on the
929 Program), the recipient automatically receives a license from the
930 original licensor to copy, distribute or modify the Program subject to
931 these terms and conditions. You may not impose any further
932 restrictions on the recipients' exercise of the rights granted herein.
933 You are not responsible for enforcing compliance by third parties to
934 this License.
935
936 7. If, as a consequence of a court judgment or allegation of patent
937 infringement or for any other reason (not limited to patent issues),
938 conditions are imposed on you (whether by court order, agreement or
939 otherwise) that contradict the conditions of this License, they do not
940 excuse you from the conditions of this License. If you cannot
941 distribute so as to satisfy simultaneously your obligations under this
942 License and any other pertinent obligations, then as a consequence you
943 may not distribute the Program at all. For example, if a patent
944 license would not permit royalty-free redistribution of the Program by
945 all those who receive copies directly or indirectly through you, then
946 the only way you could satisfy both it and this License would be to
947 refrain entirely from distribution of the Program.
948
949 If any portion of this section is held invalid or unenforceable under
950 any particular circumstance, the balance of the section is intended to
951 apply and the section as a whole is intended to apply in other
952 circumstances.
953
954 It is not the purpose of this section to induce you to infringe any
955 patents or other property right claims or to contest validity of any
956 such claims; this section has the sole purpose of protecting the
957 integrity of the free software distribution system, which is
958 implemented by public license practices. Many people have made
959 generous contributions to the wide range of software distributed
960 through that system in reliance on consistent application of that
961 system; it is up to the author/donor to decide if he or she is willing
962 to distribute software through any other system and a licensee cannot
963 impose that choice.
964
965 This section is intended to make thoroughly clear what is believed to
966 be a consequence of the rest of this License.
967
968 8. If the distribution and/or use of the Program is restricted in
969 certain countries either by patents or by copyrighted interfaces, the
970 original copyright holder who places the Program under this License
971 may add an explicit geographical distribution limitation excluding
972 those countries, so that distribution is permitted only in or among
973 countries not thus excluded. In such case, this License incorporates
974 the limitation as if written in the body of this License.
975
976 9. The Free Software Foundation may publish revised and/or new versions
977 of the General Public License from time to time. Such new versions will
978 be similar in spirit to the present version, but may differ in detail to
979 address new problems or concerns.
980
981 Each version is given a distinguishing version number. If the Program
982 specifies a version number of this License which applies to it and "any
983 later version", you have the option of following the terms and conditions
984 either of that version or of any later version published by the Free
985 Software Foundation. If the Program does not specify a version number of
986 this License, you may choose any version ever published by the Free Software
987 Foundation.
988
989 10. If you wish to incorporate parts of the Program into other free
990 programs whose distribution conditions are different, write to the author
991 to ask for permission. For software which is copyrighted by the Free
992 Software Foundation, write to the Free Software Foundation; we sometimes
993 make exceptions for this. Our decision will be guided by the two goals
994 of preserving the free status of all derivatives of our free software and
995 of promoting the sharing and reuse of software generally.
996
997 NO WARRANTY
998
999 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
1000 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
1001 OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
1002 PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
1003 OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
1004 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
1005 TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
1006 PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
1007 REPAIR OR CORRECTION.
1008
1009 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
1010 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
1011 REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
1012 INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
1013 OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
1014 TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
1015 YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
1016 PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
1017 POSSIBILITY OF SUCH DAMAGES.
1018
1019 END OF TERMS AND CONDITIONS
1020
1021 How to Apply These Terms to Your New Programs
1022
1023 If you develop a new program, and you want it to be of the greatest
1024 possible use to the public, the best way to achieve this is to make it
1025 free software which everyone can redistribute and change under these terms.
1026
1027 To do so, attach the following notices to the program. It is safest
1028 to attach them to the start of each source file to most effectively
1029 convey the exclusion of warranty; and each file should have at least
1030 the "copyright" line and a pointer to where the full notice is found.
1031
1032 {description}
1033 Copyright (C) {year} {fullname}
1034
1035 This program is free software; you can redistribute it and/or modify
1036 it under the terms of the GNU General Public License as published by
1037 the Free Software Foundation; either version 2 of the License, or
1038 (at your option) any later version.
1039
1040 This program is distributed in the hope that it will be useful,
1041 but WITHOUT ANY WARRANTY; without even the implied warranty of
1042 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1043 GNU General Public License for more details.
1044
1045 You should have received a copy of the GNU General Public License along
1046 with this program; if not, write to the Free Software Foundation, Inc.,
1047 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1048
1049 Also add information on how to contact you by electronic and paper mail.
1050
1051 If the program is interactive, make it output a short notice like this
1052 when it starts in an interactive mode:
1053
1054 Gnomovision version 69, Copyright (C) year name of author
1055 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
1056 This is free software, and you are welcome to redistribute it
1057 under certain conditions; type `show c' for details.
1058
1059 The hypothetical commands `show w' and `show c' should show the appropriate
1060 parts of the General Public License. Of course, the commands you use may
1061 be called something other than `show w' and `show c'; they could even be
1062 mouse-clicks or menu items--whatever suits your program.
1063
1064 You should also get your employer (if you work as a programmer) or your
1065 school, if any, to sign a "copyright disclaimer" for the program, if
1066 necessary. Here is a sample; alter the names:
1067
1068 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
1069 `Gnomovision' (which makes passes at compilers) written by James Hacker.
1070
1071 {signature of Ty Coon}, 1 April 1989
1072 Ty Coon, President of Vice
1073
1074 This General Public License does not permit incorporating your program into
1075 proprietary programs. If your program is a subroutine library, you may
1076 consider it more useful to permit linking proprietary applications with the
1077 library. If this is what you want to do, use the GNU Lesser General
1078 Public License instead of this License.
1079
1080 mbedTLS
1081 ------
1082 Apache License
1083 Version 2.0, January 2004
1084 http://www.apache.org/licenses/
1085
1086 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1087
1088 1. Definitions.
1089
1090 "License" shall mean the terms and conditions for use, reproduction,
1091 and distribution as defined by Sections 1 through 9 of this document.
1092
1093 "Licensor" shall mean the copyright owner or entity authorized by
1094 the copyright owner that is granting the License.
1095
1096 "Legal Entity" shall mean the union of the acting entity and all
1097 other entities that control, are controlled by, or are under common
1098 control with that entity. For the purposes of this definition,
1099 "control" means (i) the power, direct or indirect, to cause the
1100 direction or management of such entity, whether by contract or
1101 otherwise, or (ii) ownership of fifty percent (50%) or more of the
1102 outstanding shares, or (iii) beneficial ownership of such entity.
1103
1104 "You" (or "Your") shall mean an individual or Legal Entity
1105 exercising permissions granted by this License.
1106
1107 "Source" form shall mean the preferred form for making modifications,
1108 including but not limited to software source code, documentation
1109 source, and configuration files.
1110
1111 "Object" form shall mean any form resulting from mechanical
1112 transformation or translation of a Source form, including but
1113 not limited to compiled object code, generated documentation,
1114 and conversions to other media types.
1115
1116 "Work" shall mean the work of authorship, whether in Source or
1117 Object form, made available under the License, as indicated by a
1118 copyright notice that is included in or attached to the work
1119 (an example is provided in the Appendix below).
1120
1121 "Derivative Works" shall mean any work, whether in Source or Object
1122 form, that is based on (or derived from) the Work and for which the
1123 editorial revisions, annotations, elaborations, or other modifications
1124 represent, as a whole, an original work of authorship. For the purposes
1125 of this License, Derivative Works shall not include works that remain
1126 separable from, or merely link (or bind by name) to the interfaces of,
1127 the Work and Derivative Works thereof.
1128
1129 "Contribution" shall mean any work of authorship, including
1130 the original version of the Work and any modifications or additions
1131 to that Work or Derivative Works thereof, that is intentionally
1132 submitted to Licensor for inclusion in the Work by the copyright owner
1133 or by an individual or Legal Entity authorized to submit on behalf of
1134 the copyright owner. For the purposes of this definition, "submitted"
1135 means any form of electronic, verbal, or written communication sent
1136 to the Licensor or its representatives, including but not limited to
1137 communication on electronic mailing lists, source code control systems,
1138 and issue tracking systems that are managed by, or on behalf of, the
1139 Licensor for the purpose of discussing and improving the Work, but
1140 excluding communication that is conspicuously marked or otherwise
1141 designated in writing by the copyright owner as "Not a Contribution."
1142
1143 "Contributor" shall mean Licensor and any individual or Legal Entity
1144 on behalf of whom a Contribution has been received by Licensor and
1145 subsequently incorporated within the Work.
1146
1147 2. Grant of Copyright License. Subject to the terms and conditions of
1148 this License, each Contributor hereby grants to You a perpetual,
1149 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1150 copyright license to reproduce, prepare Derivative Works of,
1151 publicly display, publicly perform, sublicense, and distribute the
1152 Work and such Derivative Works in Source or Object form.
1153
1154 3. Grant of Patent License. Subject to the terms and conditions of
1155 this License, each Contributor hereby grants to You a perpetual,
1156 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1157 (except as stated in this section) patent license to make, have made,
1158 use, offer to sell, sell, import, and otherwise transfer the Work,
1159 where such license applies only to those patent claims licensable
1160 by such Contributor that are necessarily infringed by their
1161 Contribution(s) alone or by combination of their Contribution(s)
1162 with the Work to which such Contribution(s) was submitted. If You
1163 institute patent litigation against any entity (including a
1164 cross-claim or counterclaim in a lawsuit) alleging that the Work
1165 or a Contribution incorporated within the Work constitutes direct
1166 or contributory patent infringement, then any patent licenses
1167 granted to You under this License for that Work shall terminate
1168 as of the date such litigation is filed.
1169
1170 4. Redistribution. You may reproduce and distribute copies of the
1171 Work or Derivative Works thereof in any medium, with or without
1172 modifications, and in Source or Object form, provided that You
1173 meet the following conditions:
1174
1175 (a) You must give any other recipients of the Work or
1176 Derivative Works a copy of this License; and
1177
1178 (b) You must cause any modified files to carry prominent notices
1179 stating that You changed the files; and
1180
1181 (c) You must retain, in the Source form of any Derivative Works
1182 that You distribute, all copyright, patent, trademark, and
1183 attribution notices from the Source form of the Work,
1184 excluding those notices that do not pertain to any part of
1185 the Derivative Works; and
1186
1187 (d) If the Work includes a "NOTICE" text file as part of its
1188 distribution, then any Derivative Works that You distribute must
1189 include a readable copy of the attribution notices contained
1190 within such NOTICE file, excluding those notices that do not
1191 pertain to any part of the Derivative Works, in at least one
1192 of the following places: within a NOTICE text file distributed
1193 as part of the Derivative Works; within the Source form or
1194 documentation, if provided along with the Derivative Works; or,
1195 within a display generated by the Derivative Works, if and
1196 wherever such third-party notices normally appear. The contents
1197 of the NOTICE file are for informational purposes only and
1198 do not modify the License. You may add Your own attribution
1199 notices within Derivative Works that You distribute, alongside
1200 or as an addendum to the NOTICE text from the Work, provided
1201 that such additional attribution notices cannot be construed
1202 as modifying the License.
1203
1204 You may add Your own copyright statement to Your modifications and
1205 may provide additional or different license terms and conditions
1206 for use, reproduction, or distribution of Your modifications, or
1207 for any such Derivative Works as a whole, provided Your use,
1208 reproduction, and distribution of the Work otherwise complies with
1209 the conditions stated in this License.
1210
1211 5. Submission of Contributions. Unless You explicitly state otherwise,
1212 any Contribution intentionally submitted for inclusion in the Work
1213 by You to the Licensor shall be under the terms and conditions of
1214 this License, without any additional terms or conditions.
1215 Notwithstanding the above, nothing herein shall supersede or modify
1216 the terms of any separate license agreement you may have executed
1217 with Licensor regarding such Contributions.
1218
1219 6. Trademarks. This License does not grant permission to use the trade
1220 names, trademarks, service marks, or product names of the Licensor,
1221 except as required for reasonable and customary use in describing the
1222 origin of the Work and reproducing the content of the NOTICE file.
1223
1224 7. Disclaimer of Warranty. Unless required by applicable law or
1225 agreed to in writing, Licensor provides the Work (and each
1226 Contributor provides its Contributions) on an "AS IS" BASIS,
1227 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
1228 implied, including, without limitation, any warranties or conditions
1229 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
1230 PARTICULAR PURPOSE. You are solely responsible for determining the
1231 appropriateness of using or redistributing the Work and assume any
1232 risks associated with Your exercise of permissions under this License.
1233
1234 8. Limitation of Liability. In no event and under no legal theory,
1235 whether in tort (including negligence), contract, or otherwise,
1236 unless required by applicable law (such as deliberate and grossly
1237 negligent acts) or agreed to in writing, shall any Contributor be
1238 liable to You for damages, including any direct, indirect, special,
1239 incidental, or consequential damages of any character arising as a
1240 result of this License or out of the use or inability to use the
1241 Work (including but not limited to damages for loss of goodwill,
1242 work stoppage, computer failure or malfunction, or any and all
1243 other commercial damages or losses), even if such Contributor
1244 has been advised of the possibility of such damages.
1245
1246 9. Accepting Warranty or Additional Liability. While redistributing
1247 the Work or Derivative Works thereof, You may choose to offer,
1248 and charge a fee for, acceptance of support, warranty, indemnity,
1249 or other liability obligations and/or rights consistent with this
1250 License. However, in accepting such obligations, You may act only
1251 on Your own behalf and on Your sole responsibility, not on behalf
1252 of any other Contributor, and only if You agree to indemnify,
1253 defend, and hold each Contributor harmless for any liability
1254 incurred by, or claims asserted against, such Contributor by reason
1255 of your accepting any such warranty or additional liability.
1256
1257 END OF TERMS AND CONDITIONS
1258
1259 APPENDIX: How to apply the Apache License to your work.
1260
1261 To apply the Apache License to your work, attach the following
1262 boilerplate notice, with the fields enclosed by brackets "[]"
1263 replaced with your own identifying information. (Don't include
1264 the brackets!) The text should be enclosed in the appropriate
1265 comment syntax for the file format. We also recommend that a
1266 file or class name and description of purpose be included on the
1267 same "printed page" as the copyright notice for easier
1268 identification within third-party archives.
1269
1270 Copyright [yyyy] [name of copyright owner]
1271
1272 Licensed under the Apache License, Version 2.0 (the "License");
1273 you may not use this file except in compliance with the License.
1274 You may obtain a copy of the License at
1275
1276 http://www.apache.org/licenses/LICENSE-2.0
1277
1278 Unless required by applicable law or agreed to in writing, software
1279 distributed under the License is distributed on an "AS IS" BASIS,
1280 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1281 See the License for the specific language governing permissions and
1282 limitations under the License.