1elfutils is dual licensed as either LGPLv3+ or GPLv2+. In addition, some files 2(e.g. libelf/elf.h are copied into the project with LGPLv2.1). 3 4We pick the least restrictive option, LGPLv3 and for some files 5LGPLv2. Those are reproduced below. 6 7Note, some tests and tools (like eu-readelf) are licensed GPLv3 and this 8license is therefore listed below as well. 9 10LGPLv3 (as of https://www.gnu.org/licenses/lgpl-3.0.txt) 11------------------------------------------------------------------------------- 12 13 GNU LESSER GENERAL PUBLIC LICENSE 14 Version 3, 29 June 2007 15 16 Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> 17 Everyone is permitted to copy and distribute verbatim copies 18 of this license document, but changing it is not allowed. 19 20 21 This version of the GNU Lesser General Public License incorporates 22the terms and conditions of version 3 of the GNU General Public 23License, supplemented by the additional permissions listed below. 24 25 0. Additional Definitions. 26 27 As used herein, "this License" refers to version 3 of the GNU Lesser 28General Public License, and the "GNU GPL" refers to version 3 of the GNU 29General Public License. 30 31 "The Library" refers to a covered work governed by this License, 32other than an Application or a Combined Work as defined below. 33 34 An "Application" is any work that makes use of an interface provided 35by the Library, but which is not otherwise based on the Library. 36Defining a subclass of a class defined by the Library is deemed a mode 37of using an interface provided by the Library. 38 39 A "Combined Work" is a work produced by combining or linking an 40Application with the Library. The particular version of the Library 41with which the Combined Work was made is also called the "Linked 42Version". 43 44 The "Minimal Corresponding Source" for a Combined Work means the 45Corresponding Source for the Combined Work, excluding any source code 46for portions of the Combined Work that, considered in isolation, are 47based on the Application, and not on the Linked Version. 48 49 The "Corresponding Application Code" for a Combined Work means the 50object code and/or source code for the Application, including any data 51and utility programs needed for reproducing the Combined Work from the 52Application, but excluding the System Libraries of the Combined Work. 53 54 1. Exception to Section 3 of the GNU GPL. 55 56 You may convey a covered work under sections 3 and 4 of this License 57without being bound by section 3 of the GNU GPL. 58 59 2. Conveying Modified Versions. 60 61 If you modify a copy of the Library, and, in your modifications, a 62facility refers to a function or data to be supplied by an Application 63that uses the facility (other than as an argument passed when the 64facility is invoked), then you may convey a copy of the modified 65version: 66 67 a) under this License, provided that you make a good faith effort to 68 ensure that, in the event an Application does not supply the 69 function or data, the facility still operates, and performs 70 whatever part of its purpose remains meaningful, or 71 72 b) under the GNU GPL, with none of the additional permissions of 73 this License applicable to that copy. 74 75 3. Object Code Incorporating Material from Library Header Files. 76 77 The object code form of an Application may incorporate material from 78a header file that is part of the Library. You may convey such object 79code under terms of your choice, provided that, if the incorporated 80material is not limited to numerical parameters, data structure 81layouts and accessors, or small macros, inline functions and templates 82(ten or fewer lines in length), you do both of the following: 83 84 a) Give prominent notice with each copy of the object code that the 85 Library is used in it and that the Library and its use are 86 covered by this License. 87 88 b) Accompany the object code with a copy of the GNU GPL and this license 89 document. 90 91 4. Combined Works. 92 93 You may convey a Combined Work under terms of your choice that, 94taken together, effectively do not restrict modification of the 95portions of the Library contained in the Combined Work and reverse 96engineering for debugging such modifications, if you also do each of 97the following: 98 99 a) Give prominent notice with each copy of the Combined Work that 100 the Library is used in it and that the Library and its use are 101 covered by this License. 102 103 b) Accompany the Combined Work with a copy of the GNU GPL and this license 104 document. 105 106 c) For a Combined Work that displays copyright notices during 107 execution, include the copyright notice for the Library among 108 these notices, as well as a reference directing the user to the 109 copies of the GNU GPL and this license document. 110 111 d) Do one of the following: 112 113 0) Convey the Minimal Corresponding Source under the terms of this 114 License, and the Corresponding Application Code in a form 115 suitable for, and under terms that permit, the user to 116 recombine or relink the Application with a modified version of 117 the Linked Version to produce a modified Combined Work, in the 118 manner specified by section 6 of the GNU GPL for conveying 119 Corresponding Source. 120 121 1) Use a suitable shared library mechanism for linking with the 122 Library. A suitable mechanism is one that (a) uses at run time 123 a copy of the Library already present on the user's computer 124 system, and (b) will operate properly with a modified version 125 of the Library that is interface-compatible with the Linked 126 Version. 127 128 e) Provide Installation Information, but only if you would otherwise 129 be required to provide such information under section 6 of the 130 GNU GPL, and only to the extent that such information is 131 necessary to install and execute a modified version of the 132 Combined Work produced by recombining or relinking the 133 Application with a modified version of the Linked Version. (If 134 you use option 4d0, the Installation Information must accompany 135 the Minimal Corresponding Source and Corresponding Application 136 Code. If you use option 4d1, you must provide the Installation 137 Information in the manner specified by section 6 of the GNU GPL 138 for conveying Corresponding Source.) 139 140 5. Combined Libraries. 141 142 You may place library facilities that are a work based on the 143Library side by side in a single library together with other library 144facilities that are not Applications and are not covered by this 145License, and convey such a combined library under terms of your 146choice, if you do both of the following: 147 148 a) Accompany the combined library with a copy of the same work based 149 on the Library, uncombined with any other library facilities, 150 conveyed under the terms of this License. 151 152 b) Give prominent notice with the combined library that part of it 153 is a work based on the Library, and explaining where to find the 154 accompanying uncombined form of the same work. 155 156 6. Revised Versions of the GNU Lesser General Public License. 157 158 The Free Software Foundation may publish revised and/or new versions 159of the GNU Lesser General Public License from time to time. Such new 160versions will be similar in spirit to the present version, but may 161differ in detail to address new problems or concerns. 162 163 Each version is given a distinguishing version number. If the 164Library as you received it specifies that a certain numbered version 165of the GNU Lesser General Public License "or any later version" 166applies to it, you have the option of following the terms and 167conditions either of that published version or of any later version 168published by the Free Software Foundation. If the Library as you 169received it does not specify a version number of the GNU Lesser 170General Public License, you may choose any version of the GNU Lesser 171General Public License ever published by the Free Software Foundation. 172 173 If the Library as you received it specifies that a proxy can decide 174whether future versions of the GNU Lesser General Public License shall 175apply, that proxy's public statement of acceptance of any version is 176permanent authorization for you to choose that version for the 177Library. 178 179 180LGPLv2.1 (as of https://www.gnu.org/licenses/lgpl-2.1.txt) 181------------------------------------------------------------------------------- 182 183 GNU LESSER GENERAL PUBLIC LICENSE 184 Version 2.1, February 1999 185 186 Copyright (C) 1991, 1999 Free Software Foundation, Inc. 187 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 188 Everyone is permitted to copy and distribute verbatim copies 189 of this license document, but changing it is not allowed. 190 191[This is the first released version of the Lesser GPL. It also counts 192 as the successor of the GNU Library Public License, version 2, hence 193 the version number 2.1.] 194 195 Preamble 196 197 The licenses for most software are designed to take away your 198freedom to share and change it. By contrast, the GNU General Public 199Licenses are intended to guarantee your freedom to share and change 200free software--to make sure the software is free for all its users. 201 202 This license, the Lesser General Public License, applies to some 203specially designated software packages--typically libraries--of the 204Free Software Foundation and other authors who decide to use it. You 205can use it too, but we suggest you first think carefully about whether 206this license or the ordinary General Public License is the better 207strategy to use in any particular case, based on the explanations below. 208 209 When we speak of free software, we are referring to freedom of use, 210not price. Our General Public Licenses are designed to make sure that 211you have the freedom to distribute copies of free software (and charge 212for this service if you wish); that you receive source code or can get 213it if you want it; that you can change the software and use pieces of 214it in new free programs; and that you are informed that you can do 215these things. 216 217 To protect your rights, we need to make restrictions that forbid 218distributors to deny you these rights or to ask you to surrender these 219rights. These restrictions translate to certain responsibilities for 220you if you distribute copies of the library or if you modify it. 221 222 For example, if you distribute copies of the library, whether gratis 223or for a fee, you must give the recipients all the rights that we gave 224you. You must make sure that they, too, receive or can get the source 225code. If you link other code with the library, you must provide 226complete object files to the recipients, so that they can relink them 227with the library after making changes to the library and recompiling 228it. And you must show them these terms so they know their rights. 229 230 We protect your rights with a two-step method: (1) we copyright the 231library, and (2) we offer you this license, which gives you legal 232permission to copy, distribute and/or modify the library. 233 234 To protect each distributor, we want to make it very clear that 235there is no warranty for the free library. Also, if the library is 236modified by someone else and passed on, the recipients should know 237that what they have is not the original version, so that the original 238author's reputation will not be affected by problems that might be 239introduced by others. 240 241 Finally, software patents pose a constant threat to the existence of 242any free program. We wish to make sure that a company cannot 243effectively restrict the users of a free program by obtaining a 244restrictive license from a patent holder. Therefore, we insist that 245any patent license obtained for a version of the library must be 246consistent with the full freedom of use specified in this license. 247 248 Most GNU software, including some libraries, is covered by the 249ordinary GNU General Public License. This license, the GNU Lesser 250General Public License, applies to certain designated libraries, and 251is quite different from the ordinary General Public License. We use 252this license for certain libraries in order to permit linking those 253libraries into non-free programs. 254 255 When a program is linked with a library, whether statically or using 256a shared library, the combination of the two is legally speaking a 257combined work, a derivative of the original library. The ordinary 258General Public License therefore permits such linking only if the 259entire combination fits its criteria of freedom. The Lesser General 260Public License permits more lax criteria for linking other code with 261the library. 262 263 We call this license the "Lesser" General Public License because it 264does Less to protect the user's freedom than the ordinary General 265Public License. It also provides other free software developers Less 266of an advantage over competing non-free programs. These disadvantages 267are the reason we use the ordinary General Public License for many 268libraries. However, the Lesser license provides advantages in certain 269special circumstances. 270 271 For example, on rare occasions, there may be a special need to 272encourage the widest possible use of a certain library, so that it becomes 273a de-facto standard. To achieve this, non-free programs must be 274allowed to use the library. A more frequent case is that a free 275library does the same job as widely used non-free libraries. In this 276case, there is little to gain by limiting the free library to free 277software only, so we use the Lesser General Public License. 278 279 In other cases, permission to use a particular library in non-free 280programs enables a greater number of people to use a large body of 281free software. For example, permission to use the GNU C Library in 282non-free programs enables many more people to use the whole GNU 283operating system, as well as its variant, the GNU/Linux operating 284system. 285 286 Although the Lesser General Public License is Less protective of the 287users' freedom, it does ensure that the user of a program that is 288linked with the Library has the freedom and the wherewithal to run 289that program using a modified version of the Library. 290 291 The precise terms and conditions for copying, distribution and 292modification follow. Pay close attention to the difference between a 293"work based on the library" and a "work that uses the library". The 294former contains code derived from the library, whereas the latter must 295be combined with the library in order to run. 296 297 GNU LESSER GENERAL PUBLIC LICENSE 298 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 299 300 0. This License Agreement applies to any software library or other 301program which contains a notice placed by the copyright holder or 302other authorized party saying it may be distributed under the terms of 303this Lesser General Public License (also called "this License"). 304Each licensee is addressed as "you". 305 306 A "library" means a collection of software functions and/or data 307prepared so as to be conveniently linked with application programs 308(which use some of those functions and data) to form executables. 309 310 The "Library", below, refers to any such software library or work 311which has been distributed under these terms. A "work based on the 312Library" means either the Library or any derivative work under 313copyright law: that is to say, a work containing the Library or a 314portion of it, either verbatim or with modifications and/or translated 315straightforwardly into another language. (Hereinafter, translation is 316included without limitation in the term "modification".) 317 318 "Source code" for a work means the preferred form of the work for 319making modifications to it. For a library, complete source code means 320all the source code for all modules it contains, plus any associated 321interface definition files, plus the scripts used to control compilation 322and installation of the library. 323 324 Activities other than copying, distribution and modification are not 325covered by this License; they are outside its scope. The act of 326running a program using the Library is not restricted, and output from 327such a program is covered only if its contents constitute a work based 328on the Library (independent of the use of the Library in a tool for 329writing it). Whether that is true depends on what the Library does 330and what the program that uses the Library does. 331 332 1. You may copy and distribute verbatim copies of the Library's 333complete source code as you receive it, in any medium, provided that 334you conspicuously and appropriately publish on each copy an 335appropriate copyright notice and disclaimer of warranty; keep intact 336all the notices that refer to this License and to the absence of any 337warranty; and distribute a copy of this License along with the 338Library. 339 340 You may charge a fee for the physical act of transferring a copy, 341and you may at your option offer warranty protection in exchange for a 342fee. 343 344 2. You may modify your copy or copies of the Library or any portion 345of it, thus forming a work based on the Library, and copy and 346distribute such modifications or work under the terms of Section 1 347above, provided that you also meet all of these conditions: 348 349 a) The modified work must itself be a software library. 350 351 b) You must cause the files modified to carry prominent notices 352 stating that you changed the files and the date of any change. 353 354 c) You must cause the whole of the work to be licensed at no 355 charge to all third parties under the terms of this License. 356 357 d) If a facility in the modified Library refers to a function or a 358 table of data to be supplied by an application program that uses 359 the facility, other than as an argument passed when the facility 360 is invoked, then you must make a good faith effort to ensure that, 361 in the event an application does not supply such function or 362 table, the facility still operates, and performs whatever part of 363 its purpose remains meaningful. 364 365 (For example, a function in a library to compute square roots has 366 a purpose that is entirely well-defined independent of the 367 application. Therefore, Subsection 2d requires that any 368 application-supplied function or table used by this function must 369 be optional: if the application does not supply it, the square 370 root function must still compute square roots.) 371 372These requirements apply to the modified work as a whole. If 373identifiable sections of that work are not derived from the Library, 374and can be reasonably considered independent and separate works in 375themselves, then this License, and its terms, do not apply to those 376sections when you distribute them as separate works. But when you 377distribute the same sections as part of a whole which is a work based 378on the Library, the distribution of the whole must be on the terms of 379this License, whose permissions for other licensees extend to the 380entire whole, and thus to each and every part regardless of who wrote 381it. 382 383Thus, it is not the intent of this section to claim rights or contest 384your rights to work written entirely by you; rather, the intent is to 385exercise the right to control the distribution of derivative or 386collective works based on the Library. 387 388In addition, mere aggregation of another work not based on the Library 389with the Library (or with a work based on the Library) on a volume of 390a storage or distribution medium does not bring the other work under 391the scope of this License. 392 393 3. You may opt to apply the terms of the ordinary GNU General Public 394License instead of this License to a given copy of the Library. To do 395this, you must alter all the notices that refer to this License, so 396that they refer to the ordinary GNU General Public License, version 2, 397instead of to this License. (If a newer version than version 2 of the 398ordinary GNU General Public License has appeared, then you can specify 399that version instead if you wish.) Do not make any other change in 400these notices. 401 402 Once this change is made in a given copy, it is irreversible for 403that copy, so the ordinary GNU General Public License applies to all 404subsequent copies and derivative works made from that copy. 405 406 This option is useful when you wish to copy part of the code of 407the Library into a program that is not a library. 408 409 4. You may copy and distribute the Library (or a portion or 410derivative of it, under Section 2) in object code or executable form 411under the terms of Sections 1 and 2 above provided that you accompany 412it with the complete corresponding machine-readable source code, which 413must be distributed under the terms of Sections 1 and 2 above on a 414medium customarily used for software interchange. 415 416 If distribution of object code is made by offering access to copy 417from a designated place, then offering equivalent access to copy the 418source code from the same place satisfies the requirement to 419distribute the source code, even though third parties are not 420compelled to copy the source along with the object code. 421 422 5. A program that contains no derivative of any portion of the 423Library, but is designed to work with the Library by being compiled or 424linked with it, is called a "work that uses the Library". Such a 425work, in isolation, is not a derivative work of the Library, and 426therefore falls outside the scope of this License. 427 428 However, linking a "work that uses the Library" with the Library 429creates an executable that is a derivative of the Library (because it 430contains portions of the Library), rather than a "work that uses the 431library". The executable is therefore covered by this License. 432Section 6 states terms for distribution of such executables. 433 434 When a "work that uses the Library" uses material from a header file 435that is part of the Library, the object code for the work may be a 436derivative work of the Library even though the source code is not. 437Whether this is true is especially significant if the work can be 438linked without the Library, or if the work is itself a library. The 439threshold for this to be true is not precisely defined by law. 440 441 If such an object file uses only numerical parameters, data 442structure layouts and accessors, and small macros and small inline 443functions (ten lines or less in length), then the use of the object 444file is unrestricted, regardless of whether it is legally a derivative 445work. (Executables containing this object code plus portions of the 446Library will still fall under Section 6.) 447 448 Otherwise, if the work is a derivative of the Library, you may 449distribute the object code for the work under the terms of Section 6. 450Any executables containing that work also fall under Section 6, 451whether or not they are linked directly with the Library itself. 452 453 6. As an exception to the Sections above, you may also combine or 454link a "work that uses the Library" with the Library to produce a 455work containing portions of the Library, and distribute that work 456under terms of your choice, provided that the terms permit 457modification of the work for the customer's own use and reverse 458engineering for debugging such modifications. 459 460 You must give prominent notice with each copy of the work that the 461Library is used in it and that the Library and its use are covered by 462this License. You must supply a copy of this License. If the work 463during execution displays copyright notices, you must include the 464copyright notice for the Library among them, as well as a reference 465directing the user to the copy of this License. Also, you must do one 466of these things: 467 468 a) Accompany the work with the complete corresponding 469 machine-readable source code for the Library including whatever 470 changes were used in the work (which must be distributed under 471 Sections 1 and 2 above); and, if the work is an executable linked 472 with the Library, with the complete machine-readable "work that 473 uses the Library", as object code and/or source code, so that the 474 user can modify the Library and then relink to produce a modified 475 executable containing the modified Library. (It is understood 476 that the user who changes the contents of definitions files in the 477 Library will not necessarily be able to recompile the application 478 to use the modified definitions.) 479 480 b) Use a suitable shared library mechanism for linking with the 481 Library. A suitable mechanism is one that (1) uses at run time a 482 copy of the library already present on the user's computer system, 483 rather than copying library functions into the executable, and (2) 484 will operate properly with a modified version of the library, if 485 the user installs one, as long as the modified version is 486 interface-compatible with the version that the work was made with. 487 488 c) Accompany the work with a written offer, valid for at 489 least three years, to give the same user the materials 490 specified in Subsection 6a, above, for a charge no more 491 than the cost of performing this distribution. 492 493 d) If distribution of the work is made by offering access to copy 494 from a designated place, offer equivalent access to copy the above 495 specified materials from the same place. 496 497 e) Verify that the user has already received a copy of these 498 materials or that you have already sent this user a copy. 499 500 For an executable, the required form of the "work that uses the 501Library" must include any data and utility programs needed for 502reproducing the executable from it. However, as a special exception, 503the materials to be distributed need not include anything that is 504normally distributed (in either source or binary form) with the major 505components (compiler, kernel, and so on) of the operating system on 506which the executable runs, unless that component itself accompanies 507the executable. 508 509 It may happen that this requirement contradicts the license 510restrictions of other proprietary libraries that do not normally 511accompany the operating system. Such a contradiction means you cannot 512use both them and the Library together in an executable that you 513distribute. 514 515 7. You may place library facilities that are a work based on the 516Library side-by-side in a single library together with other library 517facilities not covered by this License, and distribute such a combined 518library, provided that the separate distribution of the work based on 519the Library and of the other library facilities is otherwise 520permitted, and provided that you do these two things: 521 522 a) Accompany the combined library with a copy of the same work 523 based on the Library, uncombined with any other library 524 facilities. This must be distributed under the terms of the 525 Sections above. 526 527 b) Give prominent notice with the combined library of the fact 528 that part of it is a work based on the Library, and explaining 529 where to find the accompanying uncombined form of the same work. 530 531 8. You may not copy, modify, sublicense, link with, or distribute 532the Library except as expressly provided under this License. Any 533attempt otherwise to copy, modify, sublicense, link with, or 534distribute the Library is void, and will automatically terminate your 535rights under this License. However, parties who have received copies, 536or rights, from you under this License will not have their licenses 537terminated so long as such parties remain in full compliance. 538 539 9. You are not required to accept this License, since you have not 540signed it. However, nothing else grants you permission to modify or 541distribute the Library or its derivative works. These actions are 542prohibited by law if you do not accept this License. Therefore, by 543modifying or distributing the Library (or any work based on the 544Library), you indicate your acceptance of this License to do so, and 545all its terms and conditions for copying, distributing or modifying 546the Library or works based on it. 547 548 10. Each time you redistribute the Library (or any work based on the 549Library), the recipient automatically receives a license from the 550original licensor to copy, distribute, link with or modify the Library 551subject to these terms and conditions. You may not impose any further 552restrictions on the recipients' exercise of the rights granted herein. 553You are not responsible for enforcing compliance by third parties with 554this License. 555 556 11. If, as a consequence of a court judgment or allegation of patent 557infringement or for any other reason (not limited to patent issues), 558conditions are imposed on you (whether by court order, agreement or 559otherwise) that contradict the conditions of this License, they do not 560excuse you from the conditions of this License. If you cannot 561distribute so as to satisfy simultaneously your obligations under this 562License and any other pertinent obligations, then as a consequence you 563may not distribute the Library at all. For example, if a patent 564license would not permit royalty-free redistribution of the Library by 565all those who receive copies directly or indirectly through you, then 566the only way you could satisfy both it and this License would be to 567refrain entirely from distribution of the Library. 568 569If any portion of this section is held invalid or unenforceable under any 570particular circumstance, the balance of the section is intended to apply, 571and the section as a whole is intended to apply in other circumstances. 572 573It is not the purpose of this section to induce you to infringe any 574patents or other property right claims or to contest validity of any 575such claims; this section has the sole purpose of protecting the 576integrity of the free software distribution system which is 577implemented by public license practices. Many people have made 578generous contributions to the wide range of software distributed 579through that system in reliance on consistent application of that 580system; it is up to the author/donor to decide if he or she is willing 581to distribute software through any other system and a licensee cannot 582impose that choice. 583 584This section is intended to make thoroughly clear what is believed to 585be a consequence of the rest of this License. 586 587 12. If the distribution and/or use of the Library is restricted in 588certain countries either by patents or by copyrighted interfaces, the 589original copyright holder who places the Library under this License may add 590an explicit geographical distribution limitation excluding those countries, 591so that distribution is permitted only in or among countries not thus 592excluded. In such case, this License incorporates the limitation as if 593written in the body of this License. 594 595 13. The Free Software Foundation may publish revised and/or new 596versions of the Lesser General Public License from time to time. 597Such new versions will be similar in spirit to the present version, 598but may differ in detail to address new problems or concerns. 599 600Each version is given a distinguishing version number. If the Library 601specifies a version number of this License which applies to it and 602"any later version", you have the option of following the terms and 603conditions either of that version or of any later version published by 604the Free Software Foundation. If the Library does not specify a 605license version number, you may choose any version ever published by 606the Free Software Foundation. 607 608 14. If you wish to incorporate parts of the Library into other free 609programs whose distribution conditions are incompatible with these, 610write to the author to ask for permission. For software which is 611copyrighted by the Free Software Foundation, write to the Free 612Software Foundation; we sometimes make exceptions for this. Our 613decision will be guided by the two goals of preserving the free status 614of all derivatives of our free software and of promoting the sharing 615and reuse of software generally. 616 617 NO WARRANTY 618 619 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO 620WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. 621EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR 622OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY 623KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE 624IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 625PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE 626LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME 627THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 628 629 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN 630WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY 631AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU 632FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR 633CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE 634LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING 635RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A 636FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF 637SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 638DAMAGES. 639 640 END OF TERMS AND CONDITIONS 641 642 How to Apply These Terms to Your New Libraries 643 644 If you develop a new library, and you want it to be of the greatest 645possible use to the public, we recommend making it free software that 646everyone can redistribute and change. You can do so by permitting 647redistribution under these terms (or, alternatively, under the terms of the 648ordinary General Public License). 649 650 To apply these terms, attach the following notices to the library. It is 651safest to attach them to the start of each source file to most effectively 652convey the exclusion of warranty; and each file should have at least the 653"copyright" line and a pointer to where the full notice is found. 654 655 <one line to give the library's name and a brief idea of what it does.> 656 Copyright (C) <year> <name of author> 657 658 This library is free software; you can redistribute it and/or 659 modify it under the terms of the GNU Lesser General Public 660 License as published by the Free Software Foundation; either 661 version 2.1 of the License, or (at your option) any later version. 662 663 This library is distributed in the hope that it will be useful, 664 but WITHOUT ANY WARRANTY; without even the implied warranty of 665 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 666 Lesser General Public License for more details. 667 668 You should have received a copy of the GNU Lesser General Public 669 License along with this library; if not, write to the Free Software 670 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 671 672Also add information on how to contact you by electronic and paper mail. 673 674You should also get your employer (if you work as a programmer) or your 675school, if any, to sign a "copyright disclaimer" for the library, if 676necessary. Here is a sample; alter the names: 677 678 Yoyodyne, Inc., hereby disclaims all copyright interest in the 679 library `Frob' (a library for tweaking knobs) written by James Random Hacker. 680 681 <signature of Ty Coon>, 1 April 1990 682 Ty Coon, President of Vice 683 684That's all there is to it! 685 686GPLv3 (as of https://www.gnu.org/licenses/gpl-3.0.txt) 687------------------------------------------------------------------------------- 688 689 GNU GENERAL PUBLIC LICENSE 690 Version 3, 29 June 2007 691 692 Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> 693 Everyone is permitted to copy and distribute verbatim copies 694 of this license document, but changing it is not allowed. 695 696 Preamble 697 698 The GNU General Public License is a free, copyleft license for 699software and other kinds of works. 700 701 The licenses for most software and other practical works are designed 702to take away your freedom to share and change the works. By contrast, 703the GNU General Public License is intended to guarantee your freedom to 704share and change all versions of a program--to make sure it remains free 705software for all its users. We, the Free Software Foundation, use the 706GNU General Public License for most of our software; it applies also to 707any other work released this way by its authors. You can apply it to 708your programs, too. 709 710 When we speak of free software, we are referring to freedom, not 711price. Our General Public Licenses are designed to make sure that you 712have the freedom to distribute copies of free software (and charge for 713them if you wish), that you receive source code or can get it if you 714want it, that you can change the software or use pieces of it in new 715free programs, and that you know you can do these things. 716 717 To protect your rights, we need to prevent others from denying you 718these rights or asking you to surrender the rights. Therefore, you have 719certain responsibilities if you distribute copies of the software, or if 720you modify it: responsibilities to respect the freedom of others. 721 722 For example, if you distribute copies of such a program, whether 723gratis or for a fee, you must pass on to the recipients the same 724freedoms that you received. You must make sure that they, too, receive 725or can get the source code. And you must show them these terms so they 726know their rights. 727 728 Developers that use the GNU GPL protect your rights with two steps: 729(1) assert copyright on the software, and (2) offer you this License 730giving you legal permission to copy, distribute and/or modify it. 731 732 For the developers' and authors' protection, the GPL clearly explains 733that there is no warranty for this free software. For both users' and 734authors' sake, the GPL requires that modified versions be marked as 735changed, so that their problems will not be attributed erroneously to 736authors of previous versions. 737 738 Some devices are designed to deny users access to install or run 739modified versions of the software inside them, although the manufacturer 740can do so. This is fundamentally incompatible with the aim of 741protecting users' freedom to change the software. The systematic 742pattern of such abuse occurs in the area of products for individuals to 743use, which is precisely where it is most unacceptable. Therefore, we 744have designed this version of the GPL to prohibit the practice for those 745products. If such problems arise substantially in other domains, we 746stand ready to extend this provision to those domains in future versions 747of the GPL, as needed to protect the freedom of users. 748 749 Finally, every program is threatened constantly by software patents. 750States should not allow patents to restrict development and use of 751software on general-purpose computers, but in those that do, we wish to 752avoid the special danger that patents applied to a free program could 753make it effectively proprietary. To prevent this, the GPL assures that 754patents cannot be used to render the program non-free. 755 756 The precise terms and conditions for copying, distribution and 757modification follow. 758 759 TERMS AND CONDITIONS 760 761 0. Definitions. 762 763 "This License" refers to version 3 of the GNU General Public License. 764 765 "Copyright" also means copyright-like laws that apply to other kinds of 766works, such as semiconductor masks. 767 768 "The Program" refers to any copyrightable work licensed under this 769License. Each licensee is addressed as "you". "Licensees" and 770"recipients" may be individuals or organizations. 771 772 To "modify" a work means to copy from or adapt all or part of the work 773in a fashion requiring copyright permission, other than the making of an 774exact copy. The resulting work is called a "modified version" of the 775earlier work or a work "based on" the earlier work. 776 777 A "covered work" means either the unmodified Program or a work based 778on the Program. 779 780 To "propagate" a work means to do anything with it that, without 781permission, would make you directly or secondarily liable for 782infringement under applicable copyright law, except executing it on a 783computer or modifying a private copy. Propagation includes copying, 784distribution (with or without modification), making available to the 785public, and in some countries other activities as well. 786 787 To "convey" a work means any kind of propagation that enables other 788parties to make or receive copies. Mere interaction with a user through 789a computer network, with no transfer of a copy, is not conveying. 790 791 An interactive user interface displays "Appropriate Legal Notices" 792to the extent that it includes a convenient and prominently visible 793feature that (1) displays an appropriate copyright notice, and (2) 794tells the user that there is no warranty for the work (except to the 795extent that warranties are provided), that licensees may convey the 796work under this License, and how to view a copy of this License. If 797the interface presents a list of user commands or options, such as a 798menu, a prominent item in the list meets this criterion. 799 800 1. Source Code. 801 802 The "source code" for a work means the preferred form of the work 803for making modifications to it. "Object code" means any non-source 804form of a work. 805 806 A "Standard Interface" means an interface that either is an official 807standard defined by a recognized standards body, or, in the case of 808interfaces specified for a particular programming language, one that 809is widely used among developers working in that language. 810 811 The "System Libraries" of an executable work include anything, other 812than the work as a whole, that (a) is included in the normal form of 813packaging a Major Component, but which is not part of that Major 814Component, and (b) serves only to enable use of the work with that 815Major Component, or to implement a Standard Interface for which an 816implementation is available to the public in source code form. A 817"Major Component", in this context, means a major essential component 818(kernel, window system, and so on) of the specific operating system 819(if any) on which the executable work runs, or a compiler used to 820produce the work, or an object code interpreter used to run it. 821 822 The "Corresponding Source" for a work in object code form means all 823the source code needed to generate, install, and (for an executable 824work) run the object code and to modify the work, including scripts to 825control those activities. However, it does not include the work's 826System Libraries, or general-purpose tools or generally available free 827programs which are used unmodified in performing those activities but 828which are not part of the work. For example, Corresponding Source 829includes interface definition files associated with source files for 830the work, and the source code for shared libraries and dynamically 831linked subprograms that the work is specifically designed to require, 832such as by intimate data communication or control flow between those 833subprograms and other parts of the work. 834 835 The Corresponding Source need not include anything that users 836can regenerate automatically from other parts of the Corresponding 837Source. 838 839 The Corresponding Source for a work in source code form is that 840same work. 841 842 2. Basic Permissions. 843 844 All rights granted under this License are granted for the term of 845copyright on the Program, and are irrevocable provided the stated 846conditions are met. This License explicitly affirms your unlimited 847permission to run the unmodified Program. The output from running a 848covered work is covered by this License only if the output, given its 849content, constitutes a covered work. This License acknowledges your 850rights of fair use or other equivalent, as provided by copyright law. 851 852 You may make, run and propagate covered works that you do not 853convey, without conditions so long as your license otherwise remains 854in force. You may convey covered works to others for the sole purpose 855of having them make modifications exclusively for you, or provide you 856with facilities for running those works, provided that you comply with 857the terms of this License in conveying all material for which you do 858not control copyright. Those thus making or running the covered works 859for you must do so exclusively on your behalf, under your direction 860and control, on terms that prohibit them from making any copies of 861your copyrighted material outside their relationship with you. 862 863 Conveying under any other circumstances is permitted solely under 864the conditions stated below. Sublicensing is not allowed; section 10 865makes it unnecessary. 866 867 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 868 869 No covered work shall be deemed part of an effective technological 870measure under any applicable law fulfilling obligations under article 87111 of the WIPO copyright treaty adopted on 20 December 1996, or 872similar laws prohibiting or restricting circumvention of such 873measures. 874 875 When you convey a covered work, you waive any legal power to forbid 876circumvention of technological measures to the extent such circumvention 877is effected by exercising rights under this License with respect to 878the covered work, and you disclaim any intention to limit operation or 879modification of the work as a means of enforcing, against the work's 880users, your or third parties' legal rights to forbid circumvention of 881technological measures. 882 883 4. Conveying Verbatim Copies. 884 885 You may convey verbatim copies of the Program's source code as you 886receive it, in any medium, provided that you conspicuously and 887appropriately publish on each copy an appropriate copyright notice; 888keep intact all notices stating that this License and any 889non-permissive terms added in accord with section 7 apply to the code; 890keep intact all notices of the absence of any warranty; and give all 891recipients a copy of this License along with the Program. 892 893 You may charge any price or no price for each copy that you convey, 894and you may offer support or warranty protection for a fee. 895 896 5. Conveying Modified Source Versions. 897 898 You may convey a work based on the Program, or the modifications to 899produce it from the Program, in the form of source code under the 900terms of section 4, provided that you also meet all of these conditions: 901 902 a) The work must carry prominent notices stating that you modified 903 it, and giving a relevant date. 904 905 b) The work must carry prominent notices stating that it is 906 released under this License and any conditions added under section 907 7. This requirement modifies the requirement in section 4 to 908 "keep intact all notices". 909 910 c) You must license the entire work, as a whole, under this 911 License to anyone who comes into possession of a copy. This 912 License will therefore apply, along with any applicable section 7 913 additional terms, to the whole of the work, and all its parts, 914 regardless of how they are packaged. This License gives no 915 permission to license the work in any other way, but it does not 916 invalidate such permission if you have separately received it. 917 918 d) If the work has interactive user interfaces, each must display 919 Appropriate Legal Notices; however, if the Program has interactive 920 interfaces that do not display Appropriate Legal Notices, your 921 work need not make them do so. 922 923 A compilation of a covered work with other separate and independent 924works, which are not by their nature extensions of the covered work, 925and which are not combined with it such as to form a larger program, 926in or on a volume of a storage or distribution medium, is called an 927"aggregate" if the compilation and its resulting copyright are not 928used to limit the access or legal rights of the compilation's users 929beyond what the individual works permit. Inclusion of a covered work 930in an aggregate does not cause this License to apply to the other 931parts of the aggregate. 932 933 6. Conveying Non-Source Forms. 934 935 You may convey a covered work in object code form under the terms 936of sections 4 and 5, provided that you also convey the 937machine-readable Corresponding Source under the terms of this License, 938in one of these ways: 939 940 a) Convey the object code in, or embodied in, a physical product 941 (including a physical distribution medium), accompanied by the 942 Corresponding Source fixed on a durable physical medium 943 customarily used for software interchange. 944 945 b) Convey the object code in, or embodied in, a physical product 946 (including a physical distribution medium), accompanied by a 947 written offer, valid for at least three years and valid for as 948 long as you offer spare parts or customer support for that product 949 model, to give anyone who possesses the object code either (1) a 950 copy of the Corresponding Source for all the software in the 951 product that is covered by this License, on a durable physical 952 medium customarily used for software interchange, for a price no 953 more than your reasonable cost of physically performing this 954 conveying of source, or (2) access to copy the 955 Corresponding Source from a network server at no charge. 956 957 c) Convey individual copies of the object code with a copy of the 958 written offer to provide the Corresponding Source. This 959 alternative is allowed only occasionally and noncommercially, and 960 only if you received the object code with such an offer, in accord 961 with subsection 6b. 962 963 d) Convey the object code by offering access from a designated 964 place (gratis or for a charge), and offer equivalent access to the 965 Corresponding Source in the same way through the same place at no 966 further charge. You need not require recipients to copy the 967 Corresponding Source along with the object code. If the place to 968 copy the object code is a network server, the Corresponding Source 969 may be on a different server (operated by you or a third party) 970 that supports equivalent copying facilities, provided you maintain 971 clear directions next to the object code saying where to find the 972 Corresponding Source. Regardless of what server hosts the 973 Corresponding Source, you remain obligated to ensure that it is 974 available for as long as needed to satisfy these requirements. 975 976 e) Convey the object code using peer-to-peer transmission, provided 977 you inform other peers where the object code and Corresponding 978 Source of the work are being offered to the general public at no 979 charge under subsection 6d. 980 981 A separable portion of the object code, whose source code is excluded 982from the Corresponding Source as a System Library, need not be 983included in conveying the object code work. 984 985 A "User Product" is either (1) a "consumer product", which means any 986tangible personal property which is normally used for personal, family, 987or household purposes, or (2) anything designed or sold for incorporation 988into a dwelling. In determining whether a product is a consumer product, 989doubtful cases shall be resolved in favor of coverage. For a particular 990product received by a particular user, "normally used" refers to a 991typical or common use of that class of product, regardless of the status 992of the particular user or of the way in which the particular user 993actually uses, or expects or is expected to use, the product. A product 994is a consumer product regardless of whether the product has substantial 995commercial, industrial or non-consumer uses, unless such uses represent 996the only significant mode of use of the product. 997 998 "Installation Information" for a User Product means any methods, 999procedures, authorization keys, or other information required to install 1000and execute modified versions of a covered work in that User Product from 1001a modified version of its Corresponding Source. The information must 1002suffice to ensure that the continued functioning of the modified object 1003code is in no case prevented or interfered with solely because 1004modification has been made. 1005 1006 If you convey an object code work under this section in, or with, or 1007specifically for use in, a User Product, and the conveying occurs as 1008part of a transaction in which the right of possession and use of the 1009User Product is transferred to the recipient in perpetuity or for a 1010fixed term (regardless of how the transaction is characterized), the 1011Corresponding Source conveyed under this section must be accompanied 1012by the Installation Information. But this requirement does not apply 1013if neither you nor any third party retains the ability to install 1014modified object code on the User Product (for example, the work has 1015been installed in ROM). 1016 1017 The requirement to provide Installation Information does not include a 1018requirement to continue to provide support service, warranty, or updates 1019for a work that has been modified or installed by the recipient, or for 1020the User Product in which it has been modified or installed. Access to a 1021network may be denied when the modification itself materially and 1022adversely affects the operation of the network or violates the rules and 1023protocols for communication across the network. 1024 1025 Corresponding Source conveyed, and Installation Information provided, 1026in accord with this section must be in a format that is publicly 1027documented (and with an implementation available to the public in 1028source code form), and must require no special password or key for 1029unpacking, reading or copying. 1030 1031 7. Additional Terms. 1032 1033 "Additional permissions" are terms that supplement the terms of this 1034License by making exceptions from one or more of its conditions. 1035Additional permissions that are applicable to the entire Program shall 1036be treated as though they were included in this License, to the extent 1037that they are valid under applicable law. If additional permissions 1038apply only to part of the Program, that part may be used separately 1039under those permissions, but the entire Program remains governed by 1040this License without regard to the additional permissions. 1041 1042 When you convey a copy of a covered work, you may at your option 1043remove any additional permissions from that copy, or from any part of 1044it. (Additional permissions may be written to require their own 1045removal in certain cases when you modify the work.) You may place 1046additional permissions on material, added by you to a covered work, 1047for which you have or can give appropriate copyright permission. 1048 1049 Notwithstanding any other provision of this License, for material you 1050add to a covered work, you may (if authorized by the copyright holders of 1051that material) supplement the terms of this License with terms: 1052 1053 a) Disclaiming warranty or limiting liability differently from the 1054 terms of sections 15 and 16 of this License; or 1055 1056 b) Requiring preservation of specified reasonable legal notices or 1057 author attributions in that material or in the Appropriate Legal 1058 Notices displayed by works containing it; or 1059 1060 c) Prohibiting misrepresentation of the origin of that material, or 1061 requiring that modified versions of such material be marked in 1062 reasonable ways as different from the original version; or 1063 1064 d) Limiting the use for publicity purposes of names of licensors or 1065 authors of the material; or 1066 1067 e) Declining to grant rights under trademark law for use of some 1068 trade names, trademarks, or service marks; or 1069 1070 f) Requiring indemnification of licensors and authors of that 1071 material by anyone who conveys the material (or modified versions of 1072 it) with contractual assumptions of liability to the recipient, for 1073 any liability that these contractual assumptions directly impose on 1074 those licensors and authors. 1075 1076 All other non-permissive additional terms are considered "further 1077restrictions" within the meaning of section 10. If the Program as you 1078received it, or any part of it, contains a notice stating that it is 1079governed by this License along with a term that is a further 1080restriction, you may remove that term. If a license document contains 1081a further restriction but permits relicensing or conveying under this 1082License, you may add to a covered work material governed by the terms 1083of that license document, provided that the further restriction does 1084not survive such relicensing or conveying. 1085 1086 If you add terms to a covered work in accord with this section, you 1087must place, in the relevant source files, a statement of the 1088additional terms that apply to those files, or a notice indicating 1089where to find the applicable terms. 1090 1091 Additional terms, permissive or non-permissive, may be stated in the 1092form of a separately written license, or stated as exceptions; 1093the above requirements apply either way. 1094 1095 8. Termination. 1096 1097 You may not propagate or modify a covered work except as expressly 1098provided under this License. Any attempt otherwise to propagate or 1099modify it is void, and will automatically terminate your rights under 1100this License (including any patent licenses granted under the third 1101paragraph of section 11). 1102 1103 However, if you cease all violation of this License, then your 1104license from a particular copyright holder is reinstated (a) 1105provisionally, unless and until the copyright holder explicitly and 1106finally terminates your license, and (b) permanently, if the copyright 1107holder fails to notify you of the violation by some reasonable means 1108prior to 60 days after the cessation. 1109 1110 Moreover, your license from a particular copyright holder is 1111reinstated permanently if the copyright holder notifies you of the 1112violation by some reasonable means, this is the first time you have 1113received notice of violation of this License (for any work) from that 1114copyright holder, and you cure the violation prior to 30 days after 1115your receipt of the notice. 1116 1117 Termination of your rights under this section does not terminate the 1118licenses of parties who have received copies or rights from you under 1119this License. If your rights have been terminated and not permanently 1120reinstated, you do not qualify to receive new licenses for the same 1121material under section 10. 1122 1123 9. Acceptance Not Required for Having Copies. 1124 1125 You are not required to accept this License in order to receive or 1126run a copy of the Program. Ancillary propagation of a covered work 1127occurring solely as a consequence of using peer-to-peer transmission 1128to receive a copy likewise does not require acceptance. However, 1129nothing other than this License grants you permission to propagate or 1130modify any covered work. These actions infringe copyright if you do 1131not accept this License. Therefore, by modifying or propagating a 1132covered work, you indicate your acceptance of this License to do so. 1133 1134 10. Automatic Licensing of Downstream Recipients. 1135 1136 Each time you convey a covered work, the recipient automatically 1137receives a license from the original licensors, to run, modify and 1138propagate that work, subject to this License. You are not responsible 1139for enforcing compliance by third parties with this License. 1140 1141 An "entity transaction" is a transaction transferring control of an 1142organization, or substantially all assets of one, or subdividing an 1143organization, or merging organizations. If propagation of a covered 1144work results from an entity transaction, each party to that 1145transaction who receives a copy of the work also receives whatever 1146licenses to the work the party's predecessor in interest had or could 1147give under the previous paragraph, plus a right to possession of the 1148Corresponding Source of the work from the predecessor in interest, if 1149the predecessor has it or can get it with reasonable efforts. 1150 1151 You may not impose any further restrictions on the exercise of the 1152rights granted or affirmed under this License. For example, you may 1153not impose a license fee, royalty, or other charge for exercise of 1154rights granted under this License, and you may not initiate litigation 1155(including a cross-claim or counterclaim in a lawsuit) alleging that 1156any patent claim is infringed by making, using, selling, offering for 1157sale, or importing the Program or any portion of it. 1158 1159 11. Patents. 1160 1161 A "contributor" is a copyright holder who authorizes use under this 1162License of the Program or a work on which the Program is based. The 1163work thus licensed is called the contributor's "contributor version". 1164 1165 A contributor's "essential patent claims" are all patent claims 1166owned or controlled by the contributor, whether already acquired or 1167hereafter acquired, that would be infringed by some manner, permitted 1168by this License, of making, using, or selling its contributor version, 1169but do not include claims that would be infringed only as a 1170consequence of further modification of the contributor version. For 1171purposes of this definition, "control" includes the right to grant 1172patent sublicenses in a manner consistent with the requirements of 1173this License. 1174 1175 Each contributor grants you a non-exclusive, worldwide, royalty-free 1176patent license under the contributor's essential patent claims, to 1177make, use, sell, offer for sale, import and otherwise run, modify and 1178propagate the contents of its contributor version. 1179 1180 In the following three paragraphs, a "patent license" is any express 1181agreement or commitment, however denominated, not to enforce a patent 1182(such as an express permission to practice a patent or covenant not to 1183sue for patent infringement). To "grant" such a patent license to a 1184party means to make such an agreement or commitment not to enforce a 1185patent against the party. 1186 1187 If you convey a covered work, knowingly relying on a patent license, 1188and the Corresponding Source of the work is not available for anyone 1189to copy, free of charge and under the terms of this License, through a 1190publicly available network server or other readily accessible means, 1191then you must either (1) cause the Corresponding Source to be so 1192available, or (2) arrange to deprive yourself of the benefit of the 1193patent license for this particular work, or (3) arrange, in a manner 1194consistent with the requirements of this License, to extend the patent 1195license to downstream recipients. "Knowingly relying" means you have 1196actual knowledge that, but for the patent license, your conveying the 1197covered work in a country, or your recipient's use of the covered work 1198in a country, would infringe one or more identifiable patents in that 1199country that you have reason to believe are valid. 1200 1201 If, pursuant to or in connection with a single transaction or 1202arrangement, you convey, or propagate by procuring conveyance of, a 1203covered work, and grant a patent license to some of the parties 1204receiving the covered work authorizing them to use, propagate, modify 1205or convey a specific copy of the covered work, then the patent license 1206you grant is automatically extended to all recipients of the covered 1207work and works based on it. 1208 1209 A patent license is "discriminatory" if it does not include within 1210the scope of its coverage, prohibits the exercise of, or is 1211conditioned on the non-exercise of one or more of the rights that are 1212specifically granted under this License. You may not convey a covered 1213work if you are a party to an arrangement with a third party that is 1214in the business of distributing software, under which you make payment 1215to the third party based on the extent of your activity of conveying 1216the work, and under which the third party grants, to any of the 1217parties who would receive the covered work from you, a discriminatory 1218patent license (a) in connection with copies of the covered work 1219conveyed by you (or copies made from those copies), or (b) primarily 1220for and in connection with specific products or compilations that 1221contain the covered work, unless you entered into that arrangement, 1222or that patent license was granted, prior to 28 March 2007. 1223 1224 Nothing in this License shall be construed as excluding or limiting 1225any implied license or other defenses to infringement that may 1226otherwise be available to you under applicable patent law. 1227 1228 12. No Surrender of Others' Freedom. 1229 1230 If conditions are imposed on you (whether by court order, agreement or 1231otherwise) that contradict the conditions of this License, they do not 1232excuse you from the conditions of this License. If you cannot convey a 1233covered work so as to satisfy simultaneously your obligations under this 1234License and any other pertinent obligations, then as a consequence you may 1235not convey it at all. For example, if you agree to terms that obligate you 1236to collect a royalty for further conveying from those to whom you convey 1237the Program, the only way you could satisfy both those terms and this 1238License would be to refrain entirely from conveying the Program. 1239 1240 13. Use with the GNU Affero General Public License. 1241 1242 Notwithstanding any other provision of this License, you have 1243permission to link or combine any covered work with a work licensed 1244under version 3 of the GNU Affero General Public License into a single 1245combined work, and to convey the resulting work. The terms of this 1246License will continue to apply to the part which is the covered work, 1247but the special requirements of the GNU Affero General Public License, 1248section 13, concerning interaction through a network will apply to the 1249combination as such. 1250 1251 14. Revised Versions of this License. 1252 1253 The Free Software Foundation may publish revised and/or new versions of 1254the GNU General Public License from time to time. Such new versions will 1255be similar in spirit to the present version, but may differ in detail to 1256address new problems or concerns. 1257 1258 Each version is given a distinguishing version number. If the 1259Program specifies that a certain numbered version of the GNU General 1260Public License "or any later version" applies to it, you have the 1261option of following the terms and conditions either of that numbered 1262version or of any later version published by the Free Software 1263Foundation. If the Program does not specify a version number of the 1264GNU General Public License, you may choose any version ever published 1265by the Free Software Foundation. 1266 1267 If the Program specifies that a proxy can decide which future 1268versions of the GNU General Public License can be used, that proxy's 1269public statement of acceptance of a version permanently authorizes you 1270to choose that version for the Program. 1271 1272 Later license versions may give you additional or different 1273permissions. However, no additional obligations are imposed on any 1274author or copyright holder as a result of your choosing to follow a 1275later version. 1276 1277 15. Disclaimer of Warranty. 1278 1279 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 1280APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 1281HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 1282OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 1283THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 1284PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 1285IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 1286ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 1287 1288 16. Limitation of Liability. 1289 1290 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 1291WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 1292THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 1293GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 1294USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 1295DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 1296PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 1297EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 1298SUCH DAMAGES. 1299 1300 17. Interpretation of Sections 15 and 16. 1301 1302 If the disclaimer of warranty and limitation of liability provided 1303above cannot be given local legal effect according to their terms, 1304reviewing courts shall apply local law that most closely approximates 1305an absolute waiver of all civil liability in connection with the 1306Program, unless a warranty or assumption of liability accompanies a 1307copy of the Program in return for a fee. 1308 1309 END OF TERMS AND CONDITIONS 1310 1311 How to Apply These Terms to Your New Programs 1312 1313 If you develop a new program, and you want it to be of the greatest 1314possible use to the public, the best way to achieve this is to make it 1315free software which everyone can redistribute and change under these terms. 1316 1317 To do so, attach the following notices to the program. It is safest 1318to attach them to the start of each source file to most effectively 1319state the exclusion of warranty; and each file should have at least 1320the "copyright" line and a pointer to where the full notice is found. 1321 1322 <one line to give the program's name and a brief idea of what it does.> 1323 Copyright (C) <year> <name of author> 1324 1325 This program is free software: you can redistribute it and/or modify 1326 it under the terms of the GNU General Public License as published by 1327 the Free Software Foundation, either version 3 of the License, or 1328 (at your option) any later version. 1329 1330 This program is distributed in the hope that it will be useful, 1331 but WITHOUT ANY WARRANTY; without even the implied warranty of 1332 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1333 GNU General Public License for more details. 1334 1335 You should have received a copy of the GNU General Public License 1336 along with this program. If not, see <https://www.gnu.org/licenses/>. 1337 1338Also add information on how to contact you by electronic and paper mail. 1339 1340 If the program does terminal interaction, make it output a short 1341notice like this when it starts in an interactive mode: 1342 1343 <program> Copyright (C) <year> <name of author> 1344 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 1345 This is free software, and you are welcome to redistribute it 1346 under certain conditions; type `show c' for details. 1347 1348The hypothetical commands `show w' and `show c' should show the appropriate 1349parts of the General Public License. Of course, your program's commands 1350might be different; for a GUI interface, you would use an "about box". 1351 1352 You should also get your employer (if you work as a programmer) or school, 1353if any, to sign a "copyright disclaimer" for the program, if necessary. 1354For more information on this, and how to apply and follow the GNU GPL, see 1355<https://www.gnu.org/licenses/>. 1356 1357 The GNU General Public License does not permit incorporating your program 1358into proprietary programs. If your program is a subroutine library, you 1359may consider it more useful to permit linking proprietary applications with 1360the library. If this is what you want to do, use the GNU Lesser General 1361Public License instead of this License. But first, please read 1362<https://www.gnu.org/licenses/why-not-lgpl.html>. 1363--- 1364Files: m4/ax_check_compile_flag.m4 1365 1366Copying and distribution of this file, with or without modification, are 1367permitted in any medium without royalty provided the copyright notice 1368and this notice are preserved. This file is offered as-is, without any 1369warranty. 1370--- 1371Files: lib/stdatomic-fbsd.h 1372 1373Redistribution and use in source and binary forms, with or without 1374modification, are permitted provided that the following conditions are met: 1375 13761. Redistributions of source code must retain the above copyright notice, this 1377list of conditions and the following disclaimer. 1378 13792. Redistributions in binary form must reproduce the above copyright notice, 1380this list of conditions and the following disclaimer in the documentation 1381and/or other materials provided with the distribution. 1382 1383THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND 1384ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 1385WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 1386DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 1387FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1388DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 1389SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 1390CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 1391OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 1392OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 1393 1394--- 1395Files: doc/COPYING-GFDL 1396 1397 GNU Free Documentation License 1398 Version 1.3, 3 November 2008 1399 1400 1401 Copyright (C) 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc. 1402 <https://fsf.org/> 1403 Everyone is permitted to copy and distribute verbatim copies 1404 of this license document, but changing it is not allowed. 1405 14060. PREAMBLE 1407 1408The purpose of this License is to make a manual, textbook, or other 1409functional and useful document "free" in the sense of freedom: to 1410assure everyone the effective freedom to copy and redistribute it, 1411with or without modifying it, either commercially or noncommercially. 1412Secondarily, this License preserves for the author and publisher a way 1413to get credit for their work, while not being considered responsible 1414for modifications made by others. 1415 1416This License is a kind of "copyleft", which means that derivative 1417works of the document must themselves be free in the same sense. It 1418complements the GNU General Public License, which is a copyleft 1419license designed for free software. 1420 1421We have designed this License in order to use it for manuals for free 1422software, because free software needs free documentation: a free 1423program should come with manuals providing the same freedoms that the 1424software does. But this License is not limited to software manuals; 1425it can be used for any textual work, regardless of subject matter or 1426whether it is published as a printed book. We recommend this License 1427principally for works whose purpose is instruction or reference. 1428 1429 14301. APPLICABILITY AND DEFINITIONS 1431 1432This License applies to any manual or other work, in any medium, that 1433contains a notice placed by the copyright holder saying it can be 1434distributed under the terms of this License. Such a notice grants a 1435world-wide, royalty-free license, unlimited in duration, to use that 1436work under the conditions stated herein. The "Document", below, 1437refers to any such manual or work. Any member of the public is a 1438licensee, and is addressed as "you". You accept the license if you 1439copy, modify or distribute the work in a way requiring permission 1440under copyright law. 1441 1442A "Modified Version" of the Document means any work containing the 1443Document or a portion of it, either copied verbatim, or with 1444modifications and/or translated into another language. 1445 1446A "Secondary Section" is a named appendix or a front-matter section of 1447the Document that deals exclusively with the relationship of the 1448publishers or authors of the Document to the Document's overall 1449subject (or to related matters) and contains nothing that could fall 1450directly within that overall subject. (Thus, if the Document is in 1451part a textbook of mathematics, a Secondary Section may not explain 1452any mathematics.) The relationship could be a matter of historical 1453connection with the subject or with related matters, or of legal, 1454commercial, philosophical, ethical or political position regarding 1455them. 1456 1457The "Invariant Sections" are certain Secondary Sections whose titles 1458are designated, as being those of Invariant Sections, in the notice 1459that says that the Document is released under this License. If a 1460section does not fit the above definition of Secondary then it is not 1461allowed to be designated as Invariant. The Document may contain zero 1462Invariant Sections. If the Document does not identify any Invariant 1463Sections then there are none. 1464 1465The "Cover Texts" are certain short passages of text that are listed, 1466as Front-Cover Texts or Back-Cover Texts, in the notice that says that 1467the Document is released under this License. A Front-Cover Text may 1468be at most 5 words, and a Back-Cover Text may be at most 25 words. 1469 1470A "Transparent" copy of the Document means a machine-readable copy, 1471represented in a format whose specification is available to the 1472general public, that is suitable for revising the document 1473straightforwardly with generic text editors or (for images composed of 1474pixels) generic paint programs or (for drawings) some widely available 1475drawing editor, and that is suitable for input to text formatters or 1476for automatic translation to a variety of formats suitable for input 1477to text formatters. A copy made in an otherwise Transparent file 1478format whose markup, or absence of markup, has been arranged to thwart 1479or discourage subsequent modification by readers is not Transparent. 1480An image format is not Transparent if used for any substantial amount 1481of text. A copy that is not "Transparent" is called "Opaque". 1482 1483Examples of suitable formats for Transparent copies include plain 1484ASCII without markup, Texinfo input format, LaTeX input format, SGML 1485or XML using a publicly available DTD, and standard-conforming simple 1486HTML, PostScript or PDF designed for human modification. Examples of 1487transparent image formats include PNG, XCF and JPG. Opaque formats 1488include proprietary formats that can be read and edited only by 1489proprietary word processors, SGML or XML for which the DTD and/or 1490processing tools are not generally available, and the 1491machine-generated HTML, PostScript or PDF produced by some word 1492processors for output purposes only. 1493 1494The "Title Page" means, for a printed book, the title page itself, 1495plus such following pages as are needed to hold, legibly, the material 1496this License requires to appear in the title page. For works in 1497formats which do not have any title page as such, "Title Page" means 1498the text near the most prominent appearance of the work's title, 1499preceding the beginning of the body of the text. 1500 1501The "publisher" means any person or entity that distributes copies of 1502the Document to the public. 1503 1504A section "Entitled XYZ" means a named subunit of the Document whose 1505title either is precisely XYZ or contains XYZ in parentheses following 1506text that translates XYZ in another language. (Here XYZ stands for a 1507specific section name mentioned below, such as "Acknowledgements", 1508"Dedications", "Endorsements", or "History".) To "Preserve the Title" 1509of such a section when you modify the Document means that it remains a 1510section "Entitled XYZ" according to this definition. 1511 1512The Document may include Warranty Disclaimers next to the notice which 1513states that this License applies to the Document. These Warranty 1514Disclaimers are considered to be included by reference in this 1515License, but only as regards disclaiming warranties: any other 1516implication that these Warranty Disclaimers may have is void and has 1517no effect on the meaning of this License. 1518 15192. VERBATIM COPYING 1520 1521You may copy and distribute the Document in any medium, either 1522commercially or noncommercially, provided that this License, the 1523copyright notices, and the license notice saying this License applies 1524to the Document are reproduced in all copies, and that you add no 1525other conditions whatsoever to those of this License. You may not use 1526technical measures to obstruct or control the reading or further 1527copying of the copies you make or distribute. However, you may accept 1528compensation in exchange for copies. If you distribute a large enough 1529number of copies you must also follow the conditions in section 3. 1530 1531You may also lend copies, under the same conditions stated above, and 1532you may publicly display copies. 1533 1534 15353. COPYING IN QUANTITY 1536 1537If you publish printed copies (or copies in media that commonly have 1538printed covers) of the Document, numbering more than 100, and the 1539Document's license notice requires Cover Texts, you must enclose the 1540copies in covers that carry, clearly and legibly, all these Cover 1541Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on 1542the back cover. Both covers must also clearly and legibly identify 1543you as the publisher of these copies. The front cover must present 1544the full title with all words of the title equally prominent and 1545visible. You may add other material on the covers in addition. 1546Copying with changes limited to the covers, as long as they preserve 1547the title of the Document and satisfy these conditions, can be treated 1548as verbatim copying in other respects. 1549 1550If the required texts for either cover are too voluminous to fit 1551legibly, you should put the first ones listed (as many as fit 1552reasonably) on the actual cover, and continue the rest onto adjacent 1553pages. 1554 1555If you publish or distribute Opaque copies of the Document numbering 1556more than 100, you must either include a machine-readable Transparent 1557copy along with each Opaque copy, or state in or with each Opaque copy 1558a computer-network location from which the general network-using 1559public has access to download using public-standard network protocols 1560a complete Transparent copy of the Document, free of added material. 1561If you use the latter option, you must take reasonably prudent steps, 1562when you begin distribution of Opaque copies in quantity, to ensure 1563that this Transparent copy will remain thus accessible at the stated 1564location until at least one year after the last time you distribute an 1565Opaque copy (directly or through your agents or retailers) of that 1566edition to the public. 1567 1568It is requested, but not required, that you contact the authors of the 1569Document well before redistributing any large number of copies, to 1570give them a chance to provide you with an updated version of the 1571Document. 1572 1573 15744. MODIFICATIONS 1575 1576You may copy and distribute a Modified Version of the Document under 1577the conditions of sections 2 and 3 above, provided that you release 1578the Modified Version under precisely this License, with the Modified 1579Version filling the role of the Document, thus licensing distribution 1580and modification of the Modified Version to whoever possesses a copy 1581of it. In addition, you must do these things in the Modified Version: 1582 1583A. Use in the Title Page (and on the covers, if any) a title distinct 1584 from that of the Document, and from those of previous versions 1585 (which should, if there were any, be listed in the History section 1586 of the Document). You may use the same title as a previous version 1587 if the original publisher of that version gives permission. 1588B. List on the Title Page, as authors, one or more persons or entities 1589 responsible for authorship of the modifications in the Modified 1590 Version, together with at least five of the principal authors of the 1591 Document (all of its principal authors, if it has fewer than five), 1592 unless they release you from this requirement. 1593C. State on the Title page the name of the publisher of the 1594 Modified Version, as the publisher. 1595D. Preserve all the copyright notices of the Document. 1596E. Add an appropriate copyright notice for your modifications 1597 adjacent to the other copyright notices. 1598F. Include, immediately after the copyright notices, a license notice 1599 giving the public permission to use the Modified Version under the 1600 terms of this License, in the form shown in the Addendum below. 1601G. Preserve in that license notice the full lists of Invariant Sections 1602 and required Cover Texts given in the Document's license notice. 1603H. Include an unaltered copy of this License. 1604I. Preserve the section Entitled "History", Preserve its Title, and add 1605 to it an item stating at least the title, year, new authors, and 1606 publisher of the Modified Version as given on the Title Page. If 1607 there is no section Entitled "History" in the Document, create one 1608 stating the title, year, authors, and publisher of the Document as 1609 given on its Title Page, then add an item describing the Modified 1610 Version as stated in the previous sentence. 1611J. Preserve the network location, if any, given in the Document for 1612 public access to a Transparent copy of the Document, and likewise 1613 the network locations given in the Document for previous versions 1614 it was based on. These may be placed in the "History" section. 1615 You may omit a network location for a work that was published at 1616 least four years before the Document itself, or if the original 1617 publisher of the version it refers to gives permission. 1618K. For any section Entitled "Acknowledgements" or "Dedications", 1619 Preserve the Title of the section, and preserve in the section all 1620 the substance and tone of each of the contributor acknowledgements 1621 and/or dedications given therein. 1622L. Preserve all the Invariant Sections of the Document, 1623 unaltered in their text and in their titles. Section numbers 1624 or the equivalent are not considered part of the section titles. 1625M. Delete any section Entitled "Endorsements". Such a section 1626 may not be included in the Modified Version. 1627N. Do not retitle any existing section to be Entitled "Endorsements" 1628 or to conflict in title with any Invariant Section. 1629O. Preserve any Warranty Disclaimers. 1630 1631If the Modified Version includes new front-matter sections or 1632appendices that qualify as Secondary Sections and contain no material 1633copied from the Document, you may at your option designate some or all 1634of these sections as invariant. To do this, add their titles to the 1635list of Invariant Sections in the Modified Version's license notice. 1636These titles must be distinct from any other section titles. 1637 1638You may add a section Entitled "Endorsements", provided it contains 1639nothing but endorsements of your Modified Version by various 1640parties--for example, statements of peer review or that the text has 1641been approved by an organization as the authoritative definition of a 1642standard. 1643 1644You may add a passage of up to five words as a Front-Cover Text, and a 1645passage of up to 25 words as a Back-Cover Text, to the end of the list 1646of Cover Texts in the Modified Version. Only one passage of 1647Front-Cover Text and one of Back-Cover Text may be added by (or 1648through arrangements made by) any one entity. If the Document already 1649includes a cover text for the same cover, previously added by you or 1650by arrangement made by the same entity you are acting on behalf of, 1651you may not add another; but you may replace the old one, on explicit 1652permission from the previous publisher that added the old one. 1653 1654The author(s) and publisher(s) of the Document do not by this License 1655give permission to use their names for publicity for or to assert or 1656imply endorsement of any Modified Version. 1657 1658 16595. COMBINING DOCUMENTS 1660 1661You may combine the Document with other documents released under this 1662License, under the terms defined in section 4 above for modified 1663versions, provided that you include in the combination all of the 1664Invariant Sections of all of the original documents, unmodified, and 1665list them all as Invariant Sections of your combined work in its 1666license notice, and that you preserve all their Warranty Disclaimers. 1667 1668The combined work need only contain one copy of this License, and 1669multiple identical Invariant Sections may be replaced with a single 1670copy. If there are multiple Invariant Sections with the same name but 1671different contents, make the title of each such section unique by 1672adding at the end of it, in parentheses, the name of the original 1673author or publisher of that section if known, or else a unique number. 1674Make the same adjustment to the section titles in the list of 1675Invariant Sections in the license notice of the combined work. 1676 1677In the combination, you must combine any sections Entitled "History" 1678in the various original documents, forming one section Entitled 1679"History"; likewise combine any sections Entitled "Acknowledgements", 1680and any sections Entitled "Dedications". You must delete all sections 1681Entitled "Endorsements". 1682 1683 16846. COLLECTIONS OF DOCUMENTS 1685 1686You may make a collection consisting of the Document and other 1687documents released under this License, and replace the individual 1688copies of this License in the various documents with a single copy 1689that is included in the collection, provided that you follow the rules 1690of this License for verbatim copying of each of the documents in all 1691other respects. 1692 1693You may extract a single document from such a collection, and 1694distribute it individually under this License, provided you insert a 1695copy of this License into the extracted document, and follow this 1696License in all other respects regarding verbatim copying of that 1697document. 1698 1699 17007. AGGREGATION WITH INDEPENDENT WORKS 1701 1702A compilation of the Document or its derivatives with other separate 1703and independent documents or works, in or on a volume of a storage or 1704distribution medium, is called an "aggregate" if the copyright 1705resulting from the compilation is not used to limit the legal rights 1706of the compilation's users beyond what the individual works permit. 1707When the Document is included in an aggregate, this License does not 1708apply to the other works in the aggregate which are not themselves 1709derivative works of the Document. 1710 1711If the Cover Text requirement of section 3 is applicable to these 1712copies of the Document, then if the Document is less than one half of 1713the entire aggregate, the Document's Cover Texts may be placed on 1714covers that bracket the Document within the aggregate, or the 1715electronic equivalent of covers if the Document is in electronic form. 1716Otherwise they must appear on printed covers that bracket the whole 1717aggregate. 1718 1719 17208. TRANSLATION 1721 1722Translation is considered a kind of modification, so you may 1723distribute translations of the Document under the terms of section 4. 1724Replacing Invariant Sections with translations requires special 1725permission from their copyright holders, but you may include 1726translations of some or all Invariant Sections in addition to the 1727original versions of these Invariant Sections. You may include a 1728translation of this License, and all the license notices in the 1729Document, and any Warranty Disclaimers, provided that you also include 1730the original English version of this License and the original versions 1731of those notices and disclaimers. In case of a disagreement between 1732the translation and the original version of this License or a notice 1733or disclaimer, the original version will prevail. 1734 1735If a section in the Document is Entitled "Acknowledgements", 1736"Dedications", or "History", the requirement (section 4) to Preserve 1737its Title (section 1) will typically require changing the actual 1738title. 1739 1740 17419. TERMINATION 1742 1743You may not copy, modify, sublicense, or distribute the Document 1744except as expressly provided under this License. Any attempt 1745otherwise to copy, modify, sublicense, or distribute it is void, and 1746will automatically terminate your rights under this License. 1747 1748However, if you cease all violation of this License, then your license 1749from a particular copyright holder is reinstated (a) provisionally, 1750unless and until the copyright holder explicitly and finally 1751terminates your license, and (b) permanently, if the copyright holder 1752fails to notify you of the violation by some reasonable means prior to 175360 days after the cessation. 1754 1755Moreover, your license from a particular copyright holder is 1756reinstated permanently if the copyright holder notifies you of the 1757violation by some reasonable means, this is the first time you have 1758received notice of violation of this License (for any work) from that 1759copyright holder, and you cure the violation prior to 30 days after 1760your receipt of the notice. 1761 1762Termination of your rights under this section does not terminate the 1763licenses of parties who have received copies or rights from you under 1764this License. If your rights have been terminated and not permanently 1765reinstated, receipt of a copy of some or all of the same material does 1766not give you any rights to use it. 1767 1768 176910. FUTURE REVISIONS OF THIS LICENSE 1770 1771The Free Software Foundation may publish new, revised versions of the 1772GNU Free Documentation License from time to time. Such new versions 1773will be similar in spirit to the present version, but may differ in 1774detail to address new problems or concerns. See 1775https://www.gnu.org/licenses/. 1776 1777Each version of the License is given a distinguishing version number. 1778If the Document specifies that a particular numbered version of this 1779License "or any later version" applies to it, you have the option of 1780following the terms and conditions either of that specified version or 1781of any later version that has been published (not as a draft) by the 1782Free Software Foundation. If the Document does not specify a version 1783number of this License, you may choose any version ever published (not 1784as a draft) by the Free Software Foundation. If the Document 1785specifies that a proxy can decide which future versions of this 1786License can be used, that proxy's public statement of acceptance of a 1787version permanently authorizes you to choose that version for the 1788Document. 1789 179011. RELICENSING 1791 1792"Massive Multiauthor Collaboration Site" (or "MMC Site") means any 1793World Wide Web server that publishes copyrightable works and also 1794provides prominent facilities for anybody to edit those works. A 1795public wiki that anybody can edit is an example of such a server. A 1796"Massive Multiauthor Collaboration" (or "MMC") contained in the site 1797means any set of copyrightable works thus published on the MMC site. 1798 1799"CC-BY-SA" means the Creative Commons Attribution-Share Alike 3.0 1800license published by Creative Commons Corporation, a not-for-profit 1801corporation with a principal place of business in San Francisco, 1802California, as well as future copyleft versions of that license 1803published by that same organization. 1804 1805"Incorporate" means to publish or republish a Document, in whole or in 1806part, as part of another Document. 1807 1808An MMC is "eligible for relicensing" if it is licensed under this 1809License, and if all works that were first published under this License 1810somewhere other than this MMC, and subsequently incorporated in whole or 1811in part into the MMC, (1) had no cover texts or invariant sections, and 1812(2) were thus incorporated prior to November 1, 2008. 1813 1814The operator of an MMC Site may republish an MMC contained in the site 1815under CC-BY-SA on the same site at any time before August 1, 2009, 1816provided the MMC is eligible for relicensing. 1817 1818 1819ADDENDUM: How to use this License for your documents 1820 1821To use this License in a document you have written, include a copy of 1822the License in the document and put the following copyright and 1823license notices just after the title page: 1824 1825 Copyright (c) YEAR YOUR NAME. 1826 Permission is granted to copy, distribute and/or modify this document 1827 under the terms of the GNU Free Documentation License, Version 1.3 1828 or any later version published by the Free Software Foundation; 1829 with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. 1830 A copy of the license is included in the section entitled "GNU 1831 Free Documentation License". 1832 1833If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts, 1834replace the "with...Texts." line with this: 1835 1836 with the Invariant Sections being LIST THEIR TITLES, with the 1837 Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST. 1838 1839If you have Invariant Sections without Cover Texts, or some other 1840combination of the three, merge those two alternatives to suit the 1841situation. 1842 1843If your document contains nontrivial examples of program code, we 1844recommend releasing these examples in parallel under your choice of 1845free software license, such as the GNU General Public License, 1846to permit their use in free software. 1847--- 1848 GNU GENERAL PUBLIC LICENSE 1849 Version 2, June 1991 1850 1851 Copyright (C) 1989, 1991 Free Software Foundation, Inc., 1852 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 1853 Everyone is permitted to copy and distribute verbatim copies 1854 of this license document, but changing it is not allowed. 1855 1856 Preamble 1857 1858 The licenses for most software are designed to take away your 1859freedom to share and change it. By contrast, the GNU General Public 1860License is intended to guarantee your freedom to share and change free 1861software--to make sure the software is free for all its users. This 1862General Public License applies to most of the Free Software 1863Foundation's software and to any other program whose authors commit to 1864using it. (Some other Free Software Foundation software is covered by 1865the GNU Lesser General Public License instead.) You can apply it to 1866your programs, too. 1867 1868 When we speak of free software, we are referring to freedom, not 1869price. Our General Public Licenses are designed to make sure that you 1870have the freedom to distribute copies of free software (and charge for 1871this service if you wish), that you receive source code or can get it 1872if you want it, that you can change the software or use pieces of it 1873in new free programs; and that you know you can do these things. 1874 1875 To protect your rights, we need to make restrictions that forbid 1876anyone to deny you these rights or to ask you to surrender the rights. 1877These restrictions translate to certain responsibilities for you if you 1878distribute copies of the software, or if you modify it. 1879 1880 For example, if you distribute copies of such a program, whether 1881gratis or for a fee, you must give the recipients all the rights that 1882you have. You must make sure that they, too, receive or can get the 1883source code. And you must show them these terms so they know their 1884rights. 1885 1886 We protect your rights with two steps: (1) copyright the software, and 1887(2) offer you this license which gives you legal permission to copy, 1888distribute and/or modify the software. 1889 1890 Also, for each author's protection and ours, we want to make certain 1891that everyone understands that there is no warranty for this free 1892software. If the software is modified by someone else and passed on, we 1893want its recipients to know that what they have is not the original, so 1894that any problems introduced by others will not reflect on the original 1895authors' reputations. 1896 1897 Finally, any free program is threatened constantly by software 1898patents. We wish to avoid the danger that redistributors of a free 1899program will individually obtain patent licenses, in effect making the 1900program proprietary. To prevent this, we have made it clear that any 1901patent must be licensed for everyone's free use or not licensed at all. 1902 1903 The precise terms and conditions for copying, distribution and 1904modification follow. 1905 1906 GNU GENERAL PUBLIC LICENSE 1907 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 1908 1909 0. This License applies to any program or other work which contains 1910a notice placed by the copyright holder saying it may be distributed 1911under the terms of this General Public License. The "Program", below, 1912refers to any such program or work, and a "work based on the Program" 1913means either the Program or any derivative work under copyright law: 1914that is to say, a work containing the Program or a portion of it, 1915either verbatim or with modifications and/or translated into another 1916language. (Hereinafter, translation is included without limitation in 1917the term "modification".) Each licensee is addressed as "you". 1918 1919Activities other than copying, distribution and modification are not 1920covered by this License; they are outside its scope. The act of 1921running the Program is not restricted, and the output from the Program 1922is covered only if its contents constitute a work based on the 1923Program (independent of having been made by running the Program). 1924Whether that is true depends on what the Program does. 1925 1926 1. You may copy and distribute verbatim copies of the Program's 1927source code as you receive it, in any medium, provided that you 1928conspicuously and appropriately publish on each copy an appropriate 1929copyright notice and disclaimer of warranty; keep intact all the 1930notices that refer to this License and to the absence of any warranty; 1931and give any other recipients of the Program a copy of this License 1932along with the Program. 1933 1934You may charge a fee for the physical act of transferring a copy, and 1935you may at your option offer warranty protection in exchange for a fee. 1936 1937 2. You may modify your copy or copies of the Program or any portion 1938of it, thus forming a work based on the Program, and copy and 1939distribute such modifications or work under the terms of Section 1 1940above, provided that you also meet all of these conditions: 1941 1942 a) You must cause the modified files to carry prominent notices 1943 stating that you changed the files and the date of any change. 1944 1945 b) You must cause any work that you distribute or publish, that in 1946 whole or in part contains or is derived from the Program or any 1947 part thereof, to be licensed as a whole at no charge to all third 1948 parties under the terms of this License. 1949 1950 c) If the modified program normally reads commands interactively 1951 when run, you must cause it, when started running for such 1952 interactive use in the most ordinary way, to print or display an 1953 announcement including an appropriate copyright notice and a 1954 notice that there is no warranty (or else, saying that you provide 1955 a warranty) and that users may redistribute the program under 1956 these conditions, and telling the user how to view a copy of this 1957 License. (Exception: if the Program itself is interactive but 1958 does not normally print such an announcement, your work based on 1959 the Program is not required to print an announcement.) 1960 1961These requirements apply to the modified work as a whole. If 1962identifiable sections of that work are not derived from the Program, 1963and can be reasonably considered independent and separate works in 1964themselves, then this License, and its terms, do not apply to those 1965sections when you distribute them as separate works. But when you 1966distribute the same sections as part of a whole which is a work based 1967on the Program, the distribution of the whole must be on the terms of 1968this License, whose permissions for other licensees extend to the 1969entire whole, and thus to each and every part regardless of who wrote it. 1970 1971Thus, it is not the intent of this section to claim rights or contest 1972your rights to work written entirely by you; rather, the intent is to 1973exercise the right to control the distribution of derivative or 1974collective works based on the Program. 1975 1976In addition, mere aggregation of another work not based on the Program 1977with the Program (or with a work based on the Program) on a volume of 1978a storage or distribution medium does not bring the other work under 1979the scope of this License. 1980 1981 3. You may copy and distribute the Program (or a work based on it, 1982under Section 2) in object code or executable form under the terms of 1983Sections 1 and 2 above provided that you also do one of the following: 1984 1985 a) Accompany it with the complete corresponding machine-readable 1986 source code, which must be distributed under the terms of Sections 1987 1 and 2 above on a medium customarily used for software interchange; or, 1988 1989 b) Accompany it with a written offer, valid for at least three 1990 years, to give any third party, for a charge no more than your 1991 cost of physically performing source distribution, a complete 1992 machine-readable copy of the corresponding source code, to be 1993 distributed under the terms of Sections 1 and 2 above on a medium 1994 customarily used for software interchange; or, 1995 1996 c) Accompany it with the information you received as to the offer 1997 to distribute corresponding source code. (This alternative is 1998 allowed only for noncommercial distribution and only if you 1999 received the program in object code or executable form with such 2000 an offer, in accord with Subsection b above.) 2001 2002The source code for a work means the preferred form of the work for 2003making modifications to it. For an executable work, complete source 2004code means all the source code for all modules it contains, plus any 2005associated interface definition files, plus the scripts used to 2006control compilation and installation of the executable. However, as a 2007special exception, the source code distributed need not include 2008anything that is normally distributed (in either source or binary 2009form) with the major components (compiler, kernel, and so on) of the 2010operating system on which the executable runs, unless that component 2011itself accompanies the executable. 2012 2013If distribution of executable or object code is made by offering 2014access to copy from a designated place, then offering equivalent 2015access to copy the source code from the same place counts as 2016distribution of the source code, even though third parties are not 2017compelled to copy the source along with the object code. 2018 2019 4. You may not copy, modify, sublicense, or distribute the Program 2020except as expressly provided under this License. Any attempt 2021otherwise to copy, modify, sublicense or distribute the Program is 2022void, and will automatically terminate your rights under this License. 2023However, parties who have received copies, or rights, from you under 2024this License will not have their licenses terminated so long as such 2025parties remain in full compliance. 2026 2027 5. You are not required to accept this License, since you have not 2028signed it. However, nothing else grants you permission to modify or 2029distribute the Program or its derivative works. These actions are 2030prohibited by law if you do not accept this License. Therefore, by 2031modifying or distributing the Program (or any work based on the 2032Program), you indicate your acceptance of this License to do so, and 2033all its terms and conditions for copying, distributing or modifying 2034the Program or works based on it. 2035 2036 6. Each time you redistribute the Program (or any work based on the 2037Program), the recipient automatically receives a license from the 2038original licensor to copy, distribute or modify the Program subject to 2039these terms and conditions. You may not impose any further 2040restrictions on the recipients' exercise of the rights granted herein. 2041You are not responsible for enforcing compliance by third parties to 2042this License. 2043 2044 7. If, as a consequence of a court judgment or allegation of patent 2045infringement or for any other reason (not limited to patent issues), 2046conditions are imposed on you (whether by court order, agreement or 2047otherwise) that contradict the conditions of this License, they do not 2048excuse you from the conditions of this License. If you cannot 2049distribute so as to satisfy simultaneously your obligations under this 2050License and any other pertinent obligations, then as a consequence you 2051may not distribute the Program at all. For example, if a patent 2052license would not permit royalty-free redistribution of the Program by 2053all those who receive copies directly or indirectly through you, then 2054the only way you could satisfy both it and this License would be to 2055refrain entirely from distribution of the Program. 2056 2057If any portion of this section is held invalid or unenforceable under 2058any particular circumstance, the balance of the section is intended to 2059apply and the section as a whole is intended to apply in other 2060circumstances. 2061 2062It is not the purpose of this section to induce you to infringe any 2063patents or other property right claims or to contest validity of any 2064such claims; this section has the sole purpose of protecting the 2065integrity of the free software distribution system, which is 2066implemented by public license practices. Many people have made 2067generous contributions to the wide range of software distributed 2068through that system in reliance on consistent application of that 2069system; it is up to the author/donor to decide if he or she is willing 2070to distribute software through any other system and a licensee cannot 2071impose that choice. 2072 2073This section is intended to make thoroughly clear what is believed to 2074be a consequence of the rest of this License. 2075 2076 8. If the distribution and/or use of the Program is restricted in 2077certain countries either by patents or by copyrighted interfaces, the 2078original copyright holder who places the Program under this License 2079may add an explicit geographical distribution limitation excluding 2080those countries, so that distribution is permitted only in or among 2081countries not thus excluded. In such case, this License incorporates 2082the limitation as if written in the body of this License. 2083 2084 9. The Free Software Foundation may publish revised and/or new versions 2085of the General Public License from time to time. Such new versions will 2086be similar in spirit to the present version, but may differ in detail to 2087address new problems or concerns. 2088 2089Each version is given a distinguishing version number. If the Program 2090specifies a version number of this License which applies to it and "any 2091later version", you have the option of following the terms and conditions 2092either of that version or of any later version published by the Free 2093Software Foundation. If the Program does not specify a version number of 2094this License, you may choose any version ever published by the Free Software 2095Foundation. 2096 2097 10. If you wish to incorporate parts of the Program into other free 2098programs whose distribution conditions are different, write to the author 2099to ask for permission. For software which is copyrighted by the Free 2100Software Foundation, write to the Free Software Foundation; we sometimes 2101make exceptions for this. Our decision will be guided by the two goals 2102of preserving the free status of all derivatives of our free software and 2103of promoting the sharing and reuse of software generally. 2104 2105 NO WARRANTY 2106 2107 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 2108FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 2109OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 2110PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 2111OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 2112MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 2113TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 2114PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 2115REPAIR OR CORRECTION. 2116 2117 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 2118WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 2119REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 2120INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 2121OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 2122TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 2123YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 2124PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 2125POSSIBILITY OF SUCH DAMAGES. 2126 2127 END OF TERMS AND CONDITIONS 2128 2129 How to Apply These Terms to Your New Programs 2130 2131 If you develop a new program, and you want it to be of the greatest 2132possible use to the public, the best way to achieve this is to make it 2133free software which everyone can redistribute and change under these terms. 2134 2135 To do so, attach the following notices to the program. It is safest 2136to attach them to the start of each source file to most effectively 2137convey the exclusion of warranty; and each file should have at least 2138the "copyright" line and a pointer to where the full notice is found. 2139 2140 <one line to give the program's name and a brief idea of what it does.> 2141 Copyright (C) <year> <name of author> 2142 2143 This program is free software; you can redistribute it and/or modify 2144 it under the terms of the GNU General Public License as published by 2145 the Free Software Foundation; either version 2 of the License, or 2146 (at your option) any later version. 2147 2148 This program is distributed in the hope that it will be useful, 2149 but WITHOUT ANY WARRANTY; without even the implied warranty of 2150 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 2151 GNU General Public License for more details. 2152 2153 You should have received a copy of the GNU General Public License along 2154 with this program; if not, write to the Free Software Foundation, Inc., 2155 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 2156 2157Also add information on how to contact you by electronic and paper mail. 2158 2159If the program is interactive, make it output a short notice like this 2160when it starts in an interactive mode: 2161 2162 Gnomovision version 69, Copyright (C) year name of author 2163 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 2164 This is free software, and you are welcome to redistribute it 2165 under certain conditions; type `show c' for details. 2166 2167The hypothetical commands `show w' and `show c' should show the appropriate 2168parts of the General Public License. Of course, the commands you use may 2169be called something other than `show w' and `show c'; they could even be 2170mouse-clicks or menu items--whatever suits your program. 2171 2172You should also get your employer (if you work as a programmer) or your 2173school, if any, to sign a "copyright disclaimer" for the program, if 2174necessary. Here is a sample; alter the names: 2175 2176 Yoyodyne, Inc., hereby disclaims all copyright interest in the program 2177 `Gnomovision' (which makes passes at compilers) written by James Hacker. 2178 2179 <signature of Ty Coon>, 1 April 1989 2180 Ty Coon, President of Vice 2181 2182This General Public License does not permit incorporating your program into 2183proprietary programs. If your program is a subroutine library, you may 2184consider it more useful to permit linking proprietary applications with the 2185library. If this is what you want to do, use the GNU Lesser General 2186Public License instead of this License. 2187 2188--- 2189Files: Android.bp 2190 2191 Apache License 2192 Version 2.0, January 2004 2193 http://www.apache.org/licenses/ 2194 2195 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 2196 2197 1. Definitions. 2198 2199 "License" shall mean the terms and conditions for use, reproduction, 2200 and distribution as defined by Sections 1 through 9 of this document. 2201 2202 "Licensor" shall mean the copyright owner or entity authorized by 2203 the copyright owner that is granting the License. 2204 2205 "Legal Entity" shall mean the union of the acting entity and all 2206 other entities that control, are controlled by, or are under common 2207 control with that entity. For the purposes of this definition, 2208 "control" means (i) the power, direct or indirect, to cause the 2209 direction or management of such entity, whether by contract or 2210 otherwise, or (ii) ownership of fifty percent (50%) or more of the 2211 outstanding shares, or (iii) beneficial ownership of such entity. 2212 2213 "You" (or "Your") shall mean an individual or Legal Entity 2214 exercising permissions granted by this License. 2215 2216 "Source" form shall mean the preferred form for making modifications, 2217 including but not limited to software source code, documentation 2218 source, and configuration files. 2219 2220 "Object" form shall mean any form resulting from mechanical 2221 transformation or translation of a Source form, including but 2222 not limited to compiled object code, generated documentation, 2223 and conversions to other media types. 2224 2225 "Work" shall mean the work of authorship, whether in Source or 2226 Object form, made available under the License, as indicated by a 2227 copyright notice that is included in or attached to the work 2228 (an example is provided in the Appendix below). 2229 2230 "Derivative Works" shall mean any work, whether in Source or Object 2231 form, that is based on (or derived from) the Work and for which the 2232 editorial revisions, annotations, elaborations, or other modifications 2233 represent, as a whole, an original work of authorship. For the purposes 2234 of this License, Derivative Works shall not include works that remain 2235 separable from, or merely link (or bind by name) to the interfaces of, 2236 the Work and Derivative Works thereof. 2237 2238 "Contribution" shall mean any work of authorship, including 2239 the original version of the Work and any modifications or additions 2240 to that Work or Derivative Works thereof, that is intentionally 2241 submitted to Licensor for inclusion in the Work by the copyright owner 2242 or by an individual or Legal Entity authorized to submit on behalf of 2243 the copyright owner. For the purposes of this definition, "submitted" 2244 means any form of electronic, verbal, or written communication sent 2245 to the Licensor or its representatives, including but not limited to 2246 communication on electronic mailing lists, source code control systems, 2247 and issue tracking systems that are managed by, or on behalf of, the 2248 Licensor for the purpose of discussing and improving the Work, but 2249 excluding communication that is conspicuously marked or otherwise 2250 designated in writing by the copyright owner as "Not a Contribution." 2251 2252 "Contributor" shall mean Licensor and any individual or Legal Entity 2253 on behalf of whom a Contribution has been received by Licensor and 2254 subsequently incorporated within the Work. 2255 2256 2. Grant of Copyright License. Subject to the terms and conditions of 2257 this License, each Contributor hereby grants to You a perpetual, 2258 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 2259 copyright license to reproduce, prepare Derivative Works of, 2260 publicly display, publicly perform, sublicense, and distribute the 2261 Work and such Derivative Works in Source or Object form. 2262 2263 3. Grant of Patent License. Subject to the terms and conditions of 2264 this License, each Contributor hereby grants to You a perpetual, 2265 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 2266 (except as stated in this section) patent license to make, have made, 2267 use, offer to sell, sell, import, and otherwise transfer the Work, 2268 where such license applies only to those patent claims licensable 2269 by such Contributor that are necessarily infringed by their 2270 Contribution(s) alone or by combination of their Contribution(s) 2271 with the Work to which such Contribution(s) was submitted. If You 2272 institute patent litigation against any entity (including a 2273 cross-claim or counterclaim in a lawsuit) alleging that the Work 2274 or a Contribution incorporated within the Work constitutes direct 2275 or contributory patent infringement, then any patent licenses 2276 granted to You under this License for that Work shall terminate 2277 as of the date such litigation is filed. 2278 2279 4. Redistribution. You may reproduce and distribute copies of the 2280 Work or Derivative Works thereof in any medium, with or without 2281 modifications, and in Source or Object form, provided that You 2282 meet the following conditions: 2283 2284 (a) You must give any other recipients of the Work or 2285 Derivative Works a copy of this License; and 2286 2287 (b) You must cause any modified files to carry prominent notices 2288 stating that You changed the files; and 2289 2290 (c) You must retain, in the Source form of any Derivative Works 2291 that You distribute, all copyright, patent, trademark, and 2292 attribution notices from the Source form of the Work, 2293 excluding those notices that do not pertain to any part of 2294 the Derivative Works; and 2295 2296 (d) If the Work includes a "NOTICE" text file as part of its 2297 distribution, then any Derivative Works that You distribute must 2298 include a readable copy of the attribution notices contained 2299 within such NOTICE file, excluding those notices that do not 2300 pertain to any part of the Derivative Works, in at least one 2301 of the following places: within a NOTICE text file distributed 2302 as part of the Derivative Works; within the Source form or 2303 documentation, if provided along with the Derivative Works; or, 2304 within a display generated by the Derivative Works, if and 2305 wherever such third-party notices normally appear. The contents 2306 of the NOTICE file are for informational purposes only and 2307 do not modify the License. You may add Your own attribution 2308 notices within Derivative Works that You distribute, alongside 2309 or as an addendum to the NOTICE text from the Work, provided 2310 that such additional attribution notices cannot be construed 2311 as modifying the License. 2312 2313 You may add Your own copyright statement to Your modifications and 2314 may provide additional or different license terms and conditions 2315 for use, reproduction, or distribution of Your modifications, or 2316 for any such Derivative Works as a whole, provided Your use, 2317 reproduction, and distribution of the Work otherwise complies with 2318 the conditions stated in this License. 2319 2320 5. Submission of Contributions. Unless You explicitly state otherwise, 2321 any Contribution intentionally submitted for inclusion in the Work 2322 by You to the Licensor shall be under the terms and conditions of 2323 this License, without any additional terms or conditions. 2324 Notwithstanding the above, nothing herein shall supersede or modify 2325 the terms of any separate license agreement you may have executed 2326 with Licensor regarding such Contributions. 2327 2328 6. Trademarks. This License does not grant permission to use the trade 2329 names, trademarks, service marks, or product names of the Licensor, 2330 except as required for reasonable and customary use in describing the 2331 origin of the Work and reproducing the content of the NOTICE file. 2332 2333 7. Disclaimer of Warranty. Unless required by applicable law or 2334 agreed to in writing, Licensor provides the Work (and each 2335 Contributor provides its Contributions) on an "AS IS" BASIS, 2336 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 2337 implied, including, without limitation, any warranties or conditions 2338 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 2339 PARTICULAR PURPOSE. You are solely responsible for determining the 2340 appropriateness of using or redistributing the Work and assume any 2341 risks associated with Your exercise of permissions under this License. 2342 2343 8. Limitation of Liability. In no event and under no legal theory, 2344 whether in tort (including negligence), contract, or otherwise, 2345 unless required by applicable law (such as deliberate and grossly 2346 negligent acts) or agreed to in writing, shall any Contributor be 2347 liable to You for damages, including any direct, indirect, special, 2348 incidental, or consequential damages of any character arising as a 2349 result of this License or out of the use or inability to use the 2350 Work (including but not limited to damages for loss of goodwill, 2351 work stoppage, computer failure or malfunction, or any and all 2352 other commercial damages or losses), even if such Contributor 2353 has been advised of the possibility of such damages. 2354 2355 9. Accepting Warranty or Additional Liability. While redistributing 2356 the Work or Derivative Works thereof, You may choose to offer, 2357 and charge a fee for, acceptance of support, warranty, indemnity, 2358 or other liability obligations and/or rights consistent with this 2359 License. However, in accepting such obligations, You may act only 2360 on Your own behalf and on Your sole responsibility, not on behalf 2361 of any other Contributor, and only if You agree to indemnify, 2362 defend, and hold each Contributor harmless for any liability 2363 incurred by, or claims asserted against, such Contributor by reason 2364 of your accepting any such warranty or additional liability. 2365 2366 END OF TERMS AND CONDITIONS 2367 2368 APPENDIX: How to apply the Apache License to your work. 2369 2370 To apply the Apache License to your work, attach the following 2371 boilerplate notice, with the fields enclosed by brackets "[]" 2372 replaced with your own identifying information. (Don't include 2373 the brackets!) The text should be enclosed in the appropriate 2374 comment syntax for the file format. We also recommend that a 2375 file or class name and description of purpose be included on the 2376 same "printed page" as the copyright notice for easier 2377 identification within third-party archives. 2378 2379 Copyright [yyyy] [name of copyright owner] 2380 2381 Licensed under the Apache License, Version 2.0 (the "License"); 2382 you may not use this file except in compliance with the License. 2383 You may obtain a copy of the License at 2384 2385 http://www.apache.org/licenses/LICENSE-2.0 2386 2387 Unless required by applicable law or agreed to in writing, software 2388 distributed under the License is distributed on an "AS IS" BASIS, 2389 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2390 See the License for the specific language governing permissions and 2391 limitations under the License. 2392 2393