codekingpro/portable-devtools
114k
1WinDivert is dual-licensed under your choice of the GNU Lesser General Public2License (LGPL) Version 3 or the GNU General Public License (GPL) Version 2.3Copies of the LGPLv3, GPLv3 and GPLv2 are provided below.4 5==============================================================================6 7 GNU LESSER GENERAL PUBLIC LICENSE8 Version 3, 29 June 20079 10 Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>11 Everyone is permitted to copy and distribute verbatim copies12 of this license document, but changing it is not allowed.13 14 15 This version of the GNU Lesser General Public License incorporates16the terms and conditions of version 3 of the GNU General Public17License, supplemented by the additional permissions listed below.18 19 0. Additional Definitions.20 21 As used herein, "this License" refers to version 3 of the GNU Lesser22General Public License, and the "GNU GPL" refers to version 3 of the GNU23General Public License.24 25 "The Library" refers to a covered work governed by this License,26other than an Application or a Combined Work as defined below.27 28 An "Application" is any work that makes use of an interface provided29by the Library, but which is not otherwise based on the Library.30Defining a subclass of a class defined by the Library is deemed a mode31of using an interface provided by the Library.32 33 A "Combined Work" is a work produced by combining or linking an34Application with the Library. The particular version of the Library35with which the Combined Work was made is also called the "Linked36Version".37 38 The "Minimal Corresponding Source" for a Combined Work means the39Corresponding Source for the Combined Work, excluding any source code40for portions of the Combined Work that, considered in isolation, are41based on the Application, and not on the Linked Version.42 43 The "Corresponding Application Code" for a Combined Work means the44object code and/or source code for the Application, including any data45and utility programs needed for reproducing the Combined Work from the46Application, but excluding the System Libraries of the Combined Work.47 48 1. Exception to Section 3 of the GNU GPL.49 50 You may convey a covered work under sections 3 and 4 of this License51without being bound by section 3 of the GNU GPL.52 53 2. Conveying Modified Versions.54 55 If you modify a copy of the Library, and, in your modifications, a56facility refers to a function or data to be supplied by an Application57that uses the facility (other than as an argument passed when the58facility is invoked), then you may convey a copy of the modified59version:60 61 a) under this License, provided that you make a good faith effort to62 ensure that, in the event an Application does not supply the63 function or data, the facility still operates, and performs64 whatever part of its purpose remains meaningful, or65 66 b) under the GNU GPL, with none of the additional permissions of67 this License applicable to that copy.68 69 3. Object Code Incorporating Material from Library Header Files.70 71 The object code form of an Application may incorporate material from72a header file that is part of the Library. You may convey such object73code under terms of your choice, provided that, if the incorporated74material is not limited to numerical parameters, data structure75layouts and accessors, or small macros, inline functions and templates76(ten or fewer lines in length), you do both of the following:77 78 a) Give prominent notice with each copy of the object code that the79 Library is used in it and that the Library and its use are80 covered by this License.81 82 b) Accompany the object code with a copy of the GNU GPL and this license83 document.84 85 4. Combined Works.86 87 You may convey a Combined Work under terms of your choice that,88taken together, effectively do not restrict modification of the89portions of the Library contained in the Combined Work and reverse90engineering for debugging such modifications, if you also do each of91the following:92 93 a) Give prominent notice with each copy of the Combined Work that94 the Library is used in it and that the Library and its use are95 covered by this License.96 97 b) Accompany the Combined Work with a copy of the GNU GPL and this license98 document.99 100 c) For a Combined Work that displays copyright notices during101 execution, include the copyright notice for the Library among102 these notices, as well as a reference directing the user to the103 copies of the GNU GPL and this license document.104 105 d) Do one of the following:106 107 0) Convey the Minimal Corresponding Source under the terms of this108 License, and the Corresponding Application Code in a form109 suitable for, and under terms that permit, the user to110 recombine or relink the Application with a modified version of111 the Linked Version to produce a modified Combined Work, in the112 manner specified by section 6 of the GNU GPL for conveying113 Corresponding Source.114 115 1) Use a suitable shared library mechanism for linking with the116 Library. A suitable mechanism is one that (a) uses at run time117 a copy of the Library already present on the user's computer118 system, and (b) will operate properly with a modified version119 of the Library that is interface-compatible with the Linked120 Version.121 122 e) Provide Installation Information, but only if you would otherwise123 be required to provide such information under section 6 of the124 GNU GPL, and only to the extent that such information is125 necessary to install and execute a modified version of the126 Combined Work produced by recombining or relinking the127 Application with a modified version of the Linked Version. (If128 you use option 4d0, the Installation Information must accompany129 the Minimal Corresponding Source and Corresponding Application130 Code. If you use option 4d1, you must provide the Installation131 Information in the manner specified by section 6 of the GNU GPL132 for conveying Corresponding Source.)133 134 5. Combined Libraries.135 136 You may place library facilities that are a work based on the137Library side by side in a single library together with other library138facilities that are not Applications and are not covered by this139License, and convey such a combined library under terms of your140choice, if you do both of the following:141 142 a) Accompany the combined library with a copy of the same work based143 on the Library, uncombined with any other library facilities,144 conveyed under the terms of this License.145 146 b) Give prominent notice with the combined library that part of it147 is a work based on the Library, and explaining where to find the148 accompanying uncombined form of the same work.149 150 6. Revised Versions of the GNU Lesser General Public License.151 152 The Free Software Foundation may publish revised and/or new versions153of the GNU Lesser General Public License from time to time. Such new154versions will be similar in spirit to the present version, but may155differ in detail to address new problems or concerns.156 157 Each version is given a distinguishing version number. If the158Library as you received it specifies that a certain numbered version159of the GNU Lesser General Public License "or any later version"160applies to it, you have the option of following the terms and161conditions either of that published version or of any later version162published by the Free Software Foundation. If the Library as you163received it does not specify a version number of the GNU Lesser164General Public License, you may choose any version of the GNU Lesser165General Public License ever published by the Free Software Foundation.166 167 If the Library as you received it specifies that a proxy can decide168whether future versions of the GNU Lesser General Public License shall169apply, that proxy's public statement of acceptance of any version is170permanent authorization for you to choose that version for the171Library.172 173==============================================================================174 175 GNU GENERAL PUBLIC LICENSE176 Version 3, 29 June 2007177 178 Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>179 Everyone is permitted to copy and distribute verbatim copies180 of this license document, but changing it is not allowed.181 182 Preamble183 184 The GNU General Public License is a free, copyleft license for185software and other kinds of works.186 187 The licenses for most software and other practical works are designed188to take away your freedom to share and change the works. By contrast,189the GNU General Public License is intended to guarantee your freedom to190share and change all versions of a program--to make sure it remains free191software for all its users. We, the Free Software Foundation, use the192GNU General Public License for most of our software; it applies also to193any other work released this way by its authors. You can apply it to194your programs, too.195 196 When we speak of free software, we are referring to freedom, not197price. Our General Public Licenses are designed to make sure that you198have the freedom to distribute copies of free software (and charge for199them if you wish), that you receive source code or can get it if you200want it, that you can change the software or use pieces of it in new201free programs, and that you know you can do these things.202 203 To protect your rights, we need to prevent others from denying you204these rights or asking you to surrender the rights. Therefore, you have205certain responsibilities if you distribute copies of the software, or if206you modify it: responsibilities to respect the freedom of others.207 208 For example, if you distribute copies of such a program, whether209gratis or for a fee, you must pass on to the recipients the same210freedoms that you received. You must make sure that they, too, receive211or can get the source code. And you must show them these terms so they212know their rights.213 214 Developers that use the GNU GPL protect your rights with two steps:215(1) assert copyright on the software, and (2) offer you this License216giving you legal permission to copy, distribute and/or modify it.217 218 For the developers' and authors' protection, the GPL clearly explains219that there is no warranty for this free software. For both users' and220authors' sake, the GPL requires that modified versions be marked as221changed, so that their problems will not be attributed erroneously to222authors of previous versions.223 224 Some devices are designed to deny users access to install or run225modified versions of the software inside them, although the manufacturer226can do so. This is fundamentally incompatible with the aim of227protecting users' freedom to change the software. The systematic228pattern of such abuse occurs in the area of products for individuals to229use, which is precisely where it is most unacceptable. Therefore, we230have designed this version of the GPL to prohibit the practice for those231products. If such problems arise substantially in other domains, we232stand ready to extend this provision to those domains in future versions233of the GPL, as needed to protect the freedom of users.234 235 Finally, every program is threatened constantly by software patents.236States should not allow patents to restrict development and use of237software on general-purpose computers, but in those that do, we wish to238avoid the special danger that patents applied to a free program could239make it effectively proprietary. To prevent this, the GPL assures that240patents cannot be used to render the program non-free.241 242 The precise terms and conditions for copying, distribution and243modification follow.244 245 TERMS AND CONDITIONS246 247 0. Definitions.248 249 "This License" refers to version 3 of the GNU General Public License.250 251 "Copyright" also means copyright-like laws that apply to other kinds of252works, such as semiconductor masks.253 254 "The Program" refers to any copyrightable work licensed under this255License. Each licensee is addressed as "you". "Licensees" and256"recipients" may be individuals or organizations.257 258 To "modify" a work means to copy from or adapt all or part of the work259in a fashion requiring copyright permission, other than the making of an260exact copy. The resulting work is called a "modified version" of the261earlier work or a work "based on" the earlier work.262 263 A "covered work" means either the unmodified Program or a work based264on the Program.265 266 To "propagate" a work means to do anything with it that, without267permission, would make you directly or secondarily liable for268infringement under applicable copyright law, except executing it on a269computer or modifying a private copy. Propagation includes copying,270distribution (with or without modification), making available to the271public, and in some countries other activities as well.272 273 To "convey" a work means any kind of propagation that enables other274parties to make or receive copies. Mere interaction with a user through275a computer network, with no transfer of a copy, is not conveying.276 277 An interactive user interface displays "Appropriate Legal Notices"278to the extent that it includes a convenient and prominently visible279feature that (1) displays an appropriate copyright notice, and (2)280tells the user that there is no warranty for the work (except to the281extent that warranties are provided), that licensees may convey the282work under this License, and how to view a copy of this License. If283the interface presents a list of user commands or options, such as a284menu, a prominent item in the list meets this criterion.285 286 1. Source Code.287 288 The "source code" for a work means the preferred form of the work289for making modifications to it. "Object code" means any non-source290form of a work.291 292 A "Standard Interface" means an interface that either is an official293standard defined by a recognized standards body, or, in the case of294interfaces specified for a particular programming language, one that295is widely used among developers working in that language.296 297 The "System Libraries" of an executable work include anything, other298than the work as a whole, that (a) is included in the normal form of299packaging a Major Component, but which is not part of that Major300Component, and (b) serves only to enable use of the work with that301Major Component, or to implement a Standard Interface for which an302implementation is available to the public in source code form. A303"Major Component", in this context, means a major essential component304(kernel, window system, and so on) of the specific operating system305(if any) on which the executable work runs, or a compiler used to306produce the work, or an object code interpreter used to run it.307 308 The "Corresponding Source" for a work in object code form means all309the source code needed to generate, install, and (for an executable310work) run the object code and to modify the work, including scripts to311control those activities. However, it does not include the work's312System Libraries, or general-purpose tools or generally available free313programs which are used unmodified in performing those activities but314which are not part of the work. For example, Corresponding Source315includes interface definition files associated with source files for316the work, and the source code for shared libraries and dynamically317linked subprograms that the work is specifically designed to require,318such as by intimate data communication or control flow between those319subprograms and other parts of the work.320 321 The Corresponding Source need not include anything that users322can regenerate automatically from other parts of the Corresponding323Source.324 325 The Corresponding Source for a work in source code form is that326same work.327 328 2. Basic Permissions.329 330 All rights granted under this License are granted for the term of331copyright on the Program, and are irrevocable provided the stated332conditions are met. This License explicitly affirms your unlimited333permission to run the unmodified Program. The output from running a334covered work is covered by this License only if the output, given its335content, constitutes a covered work. This License acknowledges your336rights of fair use or other equivalent, as provided by copyright law.337 338 You may make, run and propagate covered works that you do not339convey, without conditions so long as your license otherwise remains340in force. You may convey covered works to others for the sole purpose341of having them make modifications exclusively for you, or provide you342with facilities for running those works, provided that you comply with343the terms of this License in conveying all material for which you do344not control copyright. Those thus making or running the covered works345for you must do so exclusively on your behalf, under your direction346and control, on terms that prohibit them from making any copies of347your copyrighted material outside their relationship with you.348 349 Conveying under any other circumstances is permitted solely under350the conditions stated below. Sublicensing is not allowed; section 10351makes it unnecessary.352 353 3. Protecting Users' Legal Rights From Anti-Circumvention Law.354 355 No covered work shall be deemed part of an effective technological356measure under any applicable law fulfilling obligations under article35711 of the WIPO copyright treaty adopted on 20 December 1996, or358similar laws prohibiting or restricting circumvention of such359measures.360 361 When you convey a covered work, you waive any legal power to forbid362circumvention of technological measures to the extent such circumvention363is effected by exercising rights under this License with respect to364the covered work, and you disclaim any intention to limit operation or365modification of the work as a means of enforcing, against the work's366users, your or third parties' legal rights to forbid circumvention of367technological measures.368 369 4. Conveying Verbatim Copies.370 371 You may convey verbatim copies of the Program's source code as you372receive it, in any medium, provided that you conspicuously and373appropriately publish on each copy an appropriate copyright notice;374keep intact all notices stating that this License and any375non-permissive terms added in accord with section 7 apply to the code;376keep intact all notices of the absence of any warranty; and give all377recipients a copy of this License along with the Program.378 379 You may charge any price or no price for each copy that you convey,380and you may offer support or warranty protection for a fee.381 382 5. Conveying Modified Source Versions.383 384 You may convey a work based on the Program, or the modifications to385produce it from the Program, in the form of source code under the386terms of section 4, provided that you also meet all of these conditions:387 388 a) The work must carry prominent notices stating that you modified389 it, and giving a relevant date.390 391 b) The work must carry prominent notices stating that it is392 released under this License and any conditions added under section393 7. This requirement modifies the requirement in section 4 to394 "keep intact all notices".395 396 c) You must license the entire work, as a whole, under this397 License to anyone who comes into possession of a copy. This398 License will therefore apply, along with any applicable section 7399 additional terms, to the whole of the work, and all its parts,400 regardless of how they are packaged. This License gives no401 permission to license the work in any other way, but it does not402 invalidate such permission if you have separately received it.403 404 d) If the work has interactive user interfaces, each must display405 Appropriate Legal Notices; however, if the Program has interactive406 interfaces that do not display Appropriate Legal Notices, your407 work need not make them do so.408 409 A compilation of a covered work with other separate and independent410works, which are not by their nature extensions of the covered work,411and which are not combined with it such as to form a larger program,412in or on a volume of a storage or distribution medium, is called an413"aggregate" if the compilation and its resulting copyright are not414used to limit the access or legal rights of the compilation's users415beyond what the individual works permit. Inclusion of a covered work416in an aggregate does not cause this License to apply to the other417parts of the aggregate.418 419 6. Conveying Non-Source Forms.420 421 You may convey a covered work in object code form under the terms422of sections 4 and 5, provided that you also convey the423machine-readable Corresponding Source under the terms of this License,424in one of these ways:425 426 a) Convey the object code in, or embodied in, a physical product427 (including a physical distribution medium), accompanied by the428 Corresponding Source fixed on a durable physical medium429 customarily used for software interchange.430 431 b) Convey the object code in, or embodied in, a physical product432 (including a physical distribution medium), accompanied by a433 written offer, valid for at least three years and valid for as434 long as you offer spare parts or customer support for that product435 model, to give anyone who possesses the object code either (1) a436 copy of the Corresponding Source for all the software in the437 product that is covered by this License, on a durable physical438 medium customarily used for software interchange, for a price no439 more than your reasonable cost of physically performing this440 conveying of source, or (2) access to copy the441 Corresponding Source from a network server at no charge.442 443 c) Convey individual copies of the object code with a copy of the444 written offer to provide the Corresponding Source. This445 alternative is allowed only occasionally and noncommercially, and446 only if you received the object code with such an offer, in accord447 with subsection 6b.448 449 d) Convey the object code by offering access from a designated450 place (gratis or for a charge), and offer equivalent access to the451 Corresponding Source in the same way through the same place at no452 further charge. You need not require recipients to copy the453 Corresponding Source along with the object code. If the place to454 copy the object code is a network server, the Corresponding Source455 may be on a different server (operated by you or a third party)456 that supports equivalent copying facilities, provided you maintain457 clear directions next to the object code saying where to find the458 Corresponding Source. Regardless of what server hosts the459 Corresponding Source, you remain obligated to ensure that it is460 available for as long as needed to satisfy these requirements.461 462 e) Convey the object code using peer-to-peer transmission, provided463 you inform other peers where the object code and Corresponding464 Source of the work are being offered to the general public at no465 charge under subsection 6d.466 467 A separable portion of the object code, whose source code is excluded468from the Corresponding Source as a System Library, need not be469included in conveying the object code work.470 471 A "User Product" is either (1) a "consumer product", which means any472tangible personal property which is normally used for personal, family,473or household purposes, or (2) anything designed or sold for incorporation474into a dwelling. In determining whether a product is a consumer product,475doubtful cases shall be resolved in favor of coverage. For a particular476product received by a particular user, "normally used" refers to a477typical or common use of that class of product, regardless of the status478of the particular user or of the way in which the particular user479actually uses, or expects or is expected to use, the product. A product480is a consumer product regardless of whether the product has substantial481commercial, industrial or non-consumer uses, unless such uses represent482the only significant mode of use of the product.483 484 "Installation Information" for a User Product means any methods,485procedures, authorization keys, or other information required to install486and execute modified versions of a covered work in that User Product from487a modified version of its Corresponding Source. The information must488suffice to ensure that the continued functioning of the modified object489code is in no case prevented or interfered with solely because490modification has been made.491 492 If you convey an object code work under this section in, or with, or493specifically for use in, a User Product, and the conveying occurs as494part of a transaction in which the right of possession and use of the495User Product is transferred to the recipient in perpetuity or for a496fixed term (regardless of how the transaction is characterized), the497Corresponding Source conveyed under this section must be accompanied498by the Installation Information. But this requirement does not apply499if neither you nor any third party retains the ability to install500modified object code on the User Product (for example, the work has501been installed in ROM).502 503 The requirement to provide Installation Information does not include a504requirement to continue to provide support service, warranty, or updates505for a work that has been modified or installed by the recipient, or for506the User Product in which it has been modified or installed. Access to a507network may be denied when the modification itself materially and508adversely affects the operation of the network or violates the rules and509protocols for communication across the network.510 511 Corresponding Source conveyed, and Installation Information provided,512in accord with this section must be in a format that is publicly513documented (and with an implementation available to the public in514source code form), and must require no special password or key for515unpacking, reading or copying.516 517 7. Additional Terms.518 519 "Additional permissions" are terms that supplement the terms of this520License by making exceptions from one or more of its conditions.521Additional permissions that are applicable to the entire Program shall522be treated as though they were included in this License, to the extent523that they are valid under applicable law. If additional permissions524apply only to part of the Program, that part may be used separately525under those permissions, but the entire Program remains governed by526this License without regard to the additional permissions.527 528 When you convey a copy of a covered work, you may at your option529remove any additional permissions from that copy, or from any part of530it. (Additional permissions may be written to require their own531removal in certain cases when you modify the work.) You may place532additional permissions on material, added by you to a covered work,533for which you have or can give appropriate copyright permission.534 535 Notwithstanding any other provision of this License, for material you536add to a covered work, you may (if authorized by the copyright holders of537that material) supplement the terms of this License with terms:538 539 a) Disclaiming warranty or limiting liability differently from the540 terms of sections 15 and 16 of this License; or541 542 b) Requiring preservation of specified reasonable legal notices or543 author attributions in that material or in the Appropriate Legal544 Notices displayed by works containing it; or545 546 c) Prohibiting misrepresentation of the origin of that material, or547 requiring that modified versions of such material be marked in548 reasonable ways as different from the original version; or549 550 d) Limiting the use for publicity purposes of names of licensors or551 authors of the material; or552 553 e) Declining to grant rights under trademark law for use of some554 trade names, trademarks, or service marks; or555 556 f) Requiring indemnification of licensors and authors of that557 material by anyone who conveys the material (or modified versions of558 it) with contractual assumptions of liability to the recipient, for559 any liability that these contractual assumptions directly impose on560 those licensors and authors.561 562 All other non-permissive additional terms are considered "further563restrictions" within the meaning of section 10. If the Program as you564received it, or any part of it, contains a notice stating that it is565governed by this License along with a term that is a further566restriction, you may remove that term. If a license document contains567a further restriction but permits relicensing or conveying under this568License, you may add to a covered work material governed by the terms569of that license document, provided that the further restriction does570not survive such relicensing or conveying.571 572 If you add terms to a covered work in accord with this section, you573must place, in the relevant source files, a statement of the574additional terms that apply to those files, or a notice indicating575where to find the applicable terms.576 577 Additional terms, permissive or non-permissive, may be stated in the578form of a separately written license, or stated as exceptions;579the above requirements apply either way.580 581 8. Termination.582 583 You may not propagate or modify a covered work except as expressly584provided under this License. Any attempt otherwise to propagate or585modify it is void, and will automatically terminate your rights under586this License (including any patent licenses granted under the third587paragraph of section 11).588 589 However, if you cease all violation of this License, then your590license from a particular copyright holder is reinstated (a)591provisionally, unless and until the copyright holder explicitly and592finally terminates your license, and (b) permanently, if the copyright593holder fails to notify you of the violation by some reasonable means594prior to 60 days after the cessation.595 596 Moreover, your license from a particular copyright holder is597reinstated permanently if the copyright holder notifies you of the598violation by some reasonable means, this is the first time you have599received notice of violation of this License (for any work) from that600copyright holder, and you cure the violation prior to 30 days after601your receipt of the notice.602 603 Termination of your rights under this section does not terminate the604licenses of parties who have received copies or rights from you under605this License. If your rights have been terminated and not permanently606reinstated, you do not qualify to receive new licenses for the same607material under section 10.608 609 9. Acceptance Not Required for Having Copies.610 611 You are not required to accept this License in order to receive or612run a copy of the Program. Ancillary propagation of a covered work613occurring solely as a consequence of using peer-to-peer transmission614to receive a copy likewise does not require acceptance. However,615nothing other than this License grants you permission to propagate or616modify any covered work. These actions infringe copyright if you do617not accept this License. Therefore, by modifying or propagating a618covered work, you indicate your acceptance of this License to do so.619 620 10. Automatic Licensing of Downstream Recipients.621 622 Each time you convey a covered work, the recipient automatically623receives a license from the original licensors, to run, modify and624propagate that work, subject to this License. You are not responsible625for enforcing compliance by third parties with this License.626 627 An "entity transaction" is a transaction transferring control of an628organization, or substantially all assets of one, or subdividing an629organization, or merging organizations. If propagation of a covered630work results from an entity transaction, each party to that631transaction who receives a copy of the work also receives whatever632licenses to the work the party's predecessor in interest had or could633give under the previous paragraph, plus a right to possession of the634Corresponding Source of the work from the predecessor in interest, if635the predecessor has it or can get it with reasonable efforts.636 637 You may not impose any further restrictions on the exercise of the638rights granted or affirmed under this License. For example, you may639not impose a license fee, royalty, or other charge for exercise of640rights granted under this License, and you may not initiate litigation641(including a cross-claim or counterclaim in a lawsuit) alleging that642any patent claim is infringed by making, using, selling, offering for643sale, or importing the Program or any portion of it.644 645 11. Patents.646 647 A "contributor" is a copyright holder who authorizes use under this648License of the Program or a work on which the Program is based. The649work thus licensed is called the contributor's "contributor version".650 651 A contributor's "essential patent claims" are all patent claims652owned or controlled by the contributor, whether already acquired or653hereafter acquired, that would be infringed by some manner, permitted654by this License, of making, using, or selling its contributor version,655but do not include claims that would be infringed only as a656consequence of further modification of the contributor version. For657purposes of this definition, "control" includes the right to grant658patent sublicenses in a manner consistent with the requirements of659this License.660 661 Each contributor grants you a non-exclusive, worldwide, royalty-free662patent license under the contributor's essential patent claims, to663make, use, sell, offer for sale, import and otherwise run, modify and664propagate the contents of its contributor version.665 666 In the following three paragraphs, a "patent license" is any express667agreement or commitment, however denominated, not to enforce a patent668(such as an express permission to practice a patent or covenant not to669sue for patent infringement). To "grant" such a patent license to a670party means to make such an agreement or commitment not to enforce a671patent against the party.672 673 If you convey a covered work, knowingly relying on a patent license,674and the Corresponding Source of the work is not available for anyone675to copy, free of charge and under the terms of this License, through a676publicly available network server or other readily accessible means,677then you must either (1) cause the Corresponding Source to be so678available, or (2) arrange to deprive yourself of the benefit of the679patent license for this particular work, or (3) arrange, in a manner680consistent with the requirements of this License, to extend the patent681license to downstream recipients. "Knowingly relying" means you have682actual knowledge that, but for the patent license, your conveying the683covered work in a country, or your recipient's use of the covered work684in a country, would infringe one or more identifiable patents in that685country that you have reason to believe are valid.686 687 If, pursuant to or in connection with a single transaction or688arrangement, you convey, or propagate by procuring conveyance of, a689covered work, and grant a patent license to some of the parties690receiving the covered work authorizing them to use, propagate, modify691or convey a specific copy of the covered work, then the patent license692you grant is automatically extended to all recipients of the covered693work and works based on it.694 695 A patent license is "discriminatory" if it does not include within696the scope of its coverage, prohibits the exercise of, or is697conditioned on the non-exercise of one or more of the rights that are698specifically granted under this License. You may not convey a covered699work if you are a party to an arrangement with a third party that is700in the business of distributing software, under which you make payment701to the third party based on the extent of your activity of conveying702the work, and under which the third party grants, to any of the703parties who would receive the covered work from you, a discriminatory704patent license (a) in connection with copies of the covered work705conveyed by you (or copies made from those copies), or (b) primarily706for and in connection with specific products or compilations that707contain the covered work, unless you entered into that arrangement,708or that patent license was granted, prior to 28 March 2007.709 710 Nothing in this License shall be construed as excluding or limiting711any implied license or other defenses to infringement that may712otherwise be available to you under applicable patent law.713 714 12. No Surrender of Others' Freedom.715 716 If conditions are imposed on you (whether by court order, agreement or717otherwise) that contradict the conditions of this License, they do not718excuse you from the conditions of this License. If you cannot convey a719covered work so as to satisfy simultaneously your obligations under this720License and any other pertinent obligations, then as a consequence you may721not convey it at all. For example, if you agree to terms that obligate you722to collect a royalty for further conveying from those to whom you convey723the Program, the only way you could satisfy both those terms and this724License would be to refrain entirely from conveying the Program.725 726 13. Use with the GNU Affero General Public License.727 728 Notwithstanding any other provision of this License, you have729permission to link or combine any covered work with a work licensed730under version 3 of the GNU Affero General Public License into a single731combined work, and to convey the resulting work. The terms of this732License will continue to apply to the part which is the covered work,733but the special requirements of the GNU Affero General Public License,734section 13, concerning interaction through a network will apply to the735combination as such.736 737 14. Revised Versions of this License.738 739 The Free Software Foundation may publish revised and/or new versions of740the GNU General Public License from time to time. Such new versions will741be similar in spirit to the present version, but may differ in detail to742address new problems or concerns.743 744 Each version is given a distinguishing version number. If the745Program specifies that a certain numbered version of the GNU General746Public License "or any later version" applies to it, you have the747option of following the terms and conditions either of that numbered748version or of any later version published by the Free Software749Foundation. If the Program does not specify a version number of the750GNU General Public License, you may choose any version ever published751by the Free Software Foundation.752 753 If the Program specifies that a proxy can decide which future754versions of the GNU General Public License can be used, that proxy's755public statement of acceptance of a version permanently authorizes you756to choose that version for the Program.757 758 Later license versions may give you additional or different759permissions. However, no additional obligations are imposed on any760author or copyright holder as a result of your choosing to follow a761later version.762 763 15. Disclaimer of Warranty.764 765 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY766APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT767HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY768OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,769THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR770PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM771IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF772ALL NECESSARY SERVICING, REPAIR OR CORRECTION.773 774 16. Limitation of Liability.775 776 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING777WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS778THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY779GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE780USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF781DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD782PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),783EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF784SUCH DAMAGES.785 786 17. Interpretation of Sections 15 and 16.787 788 If the disclaimer of warranty and limitation of liability provided789above cannot be given local legal effect according to their terms,790reviewing courts shall apply local law that most closely approximates791an absolute waiver of all civil liability in connection with the792Program, unless a warranty or assumption of liability accompanies a793copy of the Program in return for a fee.794 795 END OF TERMS AND CONDITIONS796 797 How to Apply These Terms to Your New Programs798 799 If you develop a new program, and you want it to be of the greatest800possible use to the public, the best way to achieve this is to make it801free software which everyone can redistribute and change under these terms.802 803 To do so, attach the following notices to the program. It is safest804to attach them to the start of each source file to most effectively805state the exclusion of warranty; and each file should have at least806the "copyright" line and a pointer to where the full notice is found.807 808 <one line to give the program's name and a brief idea of what it does.>809 Copyright (C) <year> <name of author>810 811 This program is free software: you can redistribute it and/or modify812 it under the terms of the GNU General Public License as published by813 the Free Software Foundation, either version 3 of the License, or814 (at your option) any later version.815 816 This program is distributed in the hope that it will be useful,817 but WITHOUT ANY WARRANTY; without even the implied warranty of818 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the819 GNU General Public License for more details.820 821 You should have received a copy of the GNU General Public License822 along with this program. If not, see <https://www.gnu.org/licenses/>.823 824Also add information on how to contact you by electronic and paper mail.825 826 If the program does terminal interaction, make it output a short827notice like this when it starts in an interactive mode:828 829 <program> Copyright (C) <year> <name of author>830 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.831 This is free software, and you are welcome to redistribute it832 under certain conditions; type `show c' for details.833 834The hypothetical commands `show w' and `show c' should show the appropriate835parts of the General Public License. Of course, your program's commands836might be different; for a GUI interface, you would use an "about box".837 838 You should also get your employer (if you work as a programmer) or school,839if any, to sign a "copyright disclaimer" for the program, if necessary.840For more information on this, and how to apply and follow the GNU GPL, see841<https://www.gnu.org/licenses/>.842 843 The GNU General Public License does not permit incorporating your program844into proprietary programs. If your program is a subroutine library, you845may consider it more useful to permit linking proprietary applications with846the library. If this is what you want to do, use the GNU Lesser General847Public License instead of this License. But first, please read848<https://www.gnu.org/licenses/why-not-lgpl.html>.849 850==============================================================================851 852 GNU GENERAL PUBLIC LICENSE853 Version 2, June 1991854 855 Copyright (C) 1989, 1991 Free Software Foundation, Inc.,856 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA857 Everyone is permitted to copy and distribute verbatim copies858 of this license document, but changing it is not allowed.859 860 Preamble861 862 The licenses for most software are designed to take away your863freedom to share and change it. By contrast, the GNU General Public864License is intended to guarantee your freedom to share and change free865software--to make sure the software is free for all its users. This866General Public License applies to most of the Free Software867Foundation's software and to any other program whose authors commit to868using it. (Some other Free Software Foundation software is covered by869the GNU Lesser General Public License instead.) You can apply it to870your programs, too.871 872 When we speak of free software, we are referring to freedom, not873price. Our General Public Licenses are designed to make sure that you874have the freedom to distribute copies of free software (and charge for875this service if you wish), that you receive source code or can get it876if you want it, that you can change the software or use pieces of it877in new free programs; and that you know you can do these things.878 879 To protect your rights, we need to make restrictions that forbid880anyone to deny you these rights or to ask you to surrender the rights.881These restrictions translate to certain responsibilities for you if you882distribute copies of the software, or if you modify it.883 884 For example, if you distribute copies of such a program, whether885gratis or for a fee, you must give the recipients all the rights that886you have. You must make sure that they, too, receive or can get the887source code. And you must show them these terms so they know their888rights.889 890 We protect your rights with two steps: (1) copyright the software, and891(2) offer you this license which gives you legal permission to copy,892distribute and/or modify the software.893 894 Also, for each author's protection and ours, we want to make certain895that everyone understands that there is no warranty for this free896software. If the software is modified by someone else and passed on, we897want its recipients to know that what they have is not the original, so898that any problems introduced by others will not reflect on the original899authors' reputations.900 901 Finally, any free program is threatened constantly by software902patents. We wish to avoid the danger that redistributors of a free903program will individually obtain patent licenses, in effect making the904program proprietary. To prevent this, we have made it clear that any905patent must be licensed for everyone's free use or not licensed at all.906 907 The precise terms and conditions for copying, distribution and908modification follow.909 910 GNU GENERAL PUBLIC LICENSE911 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION912 913 0. This License applies to any program or other work which contains914a notice placed by the copyright holder saying it may be distributed915under the terms of this General Public License. The "Program", below,916refers to any such program or work, and a "work based on the Program"917means either the Program or any derivative work under copyright law:918that is to say, a work containing the Program or a portion of it,919either verbatim or with modifications and/or translated into another920language. (Hereinafter, translation is included without limitation in921the term "modification".) Each licensee is addressed as "you".922 923Activities other than copying, distribution and modification are not924covered by this License; they are outside its scope. The act of925running the Program is not restricted, and the output from the Program926is covered only if its contents constitute a work based on the927Program (independent of having been made by running the Program).928Whether that is true depends on what the Program does.929 930 1. You may copy and distribute verbatim copies of the Program's931source code as you receive it, in any medium, provided that you932conspicuously and appropriately publish on each copy an appropriate933copyright notice and disclaimer of warranty; keep intact all the934notices that refer to this License and to the absence of any warranty;935and give any other recipients of the Program a copy of this License936along with the Program.937 938You may charge a fee for the physical act of transferring a copy, and939you may at your option offer warranty protection in exchange for a fee.940 941 2. You may modify your copy or copies of the Program or any portion942of it, thus forming a work based on the Program, and copy and943distribute such modifications or work under the terms of Section 1944above, provided that you also meet all of these conditions:945 946 a) You must cause the modified files to carry prominent notices947 stating that you changed the files and the date of any change.948 949 b) You must cause any work that you distribute or publish, that in950 whole or in part contains or is derived from the Program or any951 part thereof, to be licensed as a whole at no charge to all third952 parties under the terms of this License.953 954 c) If the modified program normally reads commands interactively955 when run, you must cause it, when started running for such956 interactive use in the most ordinary way, to print or display an957 announcement including an appropriate copyright notice and a958 notice that there is no warranty (or else, saying that you provide959 a warranty) and that users may redistribute the program under960 these conditions, and telling the user how to view a copy of this961 License. (Exception: if the Program itself is interactive but962 does not normally print such an announcement, your work based on963 the Program is not required to print an announcement.)964 965These requirements apply to the modified work as a whole. If966identifiable sections of that work are not derived from the Program,967and can be reasonably considered independent and separate works in968themselves, then this License, and its terms, do not apply to those969sections when you distribute them as separate works. But when you970distribute the same sections as part of a whole which is a work based971on the Program, the distribution of the whole must be on the terms of972this License, whose permissions for other licensees extend to the973entire whole, and thus to each and every part regardless of who wrote it.974 975Thus, it is not the intent of this section to claim rights or contest976your rights to work written entirely by you; rather, the intent is to977exercise the right to control the distribution of derivative or978collective works based on the Program.979 980In addition, mere aggregation of another work not based on the Program981with the Program (or with a work based on the Program) on a volume of982a storage or distribution medium does not bring the other work under983the scope of this License.984 985 3. You may copy and distribute the Program (or a work based on it,986under Section 2) in object code or executable form under the terms of987Sections 1 and 2 above provided that you also do one of the following:988 989 a) Accompany it with the complete corresponding machine-readable990 source code, which must be distributed under the terms of Sections991 1 and 2 above on a medium customarily used for software interchange; or,992 993 b) Accompany it with a written offer, valid for at least three994 years, to give any third party, for a charge no more than your995 cost of physically performing source distribution, a complete996 machine-readable copy of the corresponding source code, to be997 distributed under the terms of Sections 1 and 2 above on a medium998 customarily used for software interchange; or,999 1000 c) Accompany it with the information you received as to the offer1001 to distribute corresponding source code. (This alternative is1002 allowed only for noncommercial distribution and only if you1003 received the program in object code or executable form with such1004 an offer, in accord with Subsection b above.)1005 1006The source code for a work means the preferred form of the work for1007making modifications to it. For an executable work, complete source1008code means all the source code for all modules it contains, plus any1009associated interface definition files, plus the scripts used to1010control compilation and installation of the executable. However, as a1011special exception, the source code distributed need not include1012anything that is normally distributed (in either source or binary1013form) with the major components (compiler, kernel, and so on) of the1014operating system on which the executable runs, unless that component1015itself accompanies the executable.1016 1017If distribution of executable or object code is made by offering1018access to copy from a designated place, then offering equivalent1019access to copy the source code from the same place counts as1020distribution of the source code, even though third parties are not1021compelled to copy the source along with the object code.1022 1023 4. You may not copy, modify, sublicense, or distribute the Program1024except as expressly provided under this License. Any attempt1025otherwise to copy, modify, sublicense or distribute the Program is1026void, and will automatically terminate your rights under this License.1027However, parties who have received copies, or rights, from you under1028this License will not have their licenses terminated so long as such1029parties remain in full compliance.1030 1031 5. You are not required to accept this License, since you have not1032signed it. However, nothing else grants you permission to modify or1033distribute the Program or its derivative works. These actions are1034prohibited by law if you do not accept this License. Therefore, by1035modifying or distributing the Program (or any work based on the1036Program), you indicate your acceptance of this License to do so, and1037all its terms and conditions for copying, distributing or modifying1038the Program or works based on it.1039 1040 6. Each time you redistribute the Program (or any work based on the1041Program), the recipient automatically receives a license from the1042original licensor to copy, distribute or modify the Program subject to1043these terms and conditions. You may not impose any further1044restrictions on the recipients' exercise of the rights granted herein.1045You are not responsible for enforcing compliance by third parties to1046this License.1047 1048 7. If, as a consequence of a court judgment or allegation of patent1049infringement or for any other reason (not limited to patent issues),1050conditions are imposed on you (whether by court order, agreement or1051otherwise) that contradict the conditions of this License, they do not1052excuse you from the conditions of this License. If you cannot1053distribute so as to satisfy simultaneously your obligations under this1054License and any other pertinent obligations, then as a consequence you1055may not distribute the Program at all. For example, if a patent1056license would not permit royalty-free redistribution of the Program by1057all those who receive copies directly or indirectly through you, then1058the only way you could satisfy both it and this License would be to1059refrain entirely from distribution of the Program.1060 1061If any portion of this section is held invalid or unenforceable under1062any particular circumstance, the balance of the section is intended to1063apply and the section as a whole is intended to apply in other1064circumstances.1065 1066It is not the purpose of this section to induce you to infringe any1067patents or other property right claims or to contest validity of any1068such claims; this section has the sole purpose of protecting the1069integrity of the free software distribution system, which is1070implemented by public license practices. Many people have made1071generous contributions to the wide range of software distributed1072through that system in reliance on consistent application of that1073system; it is up to the author/donor to decide if he or she is willing1074to distribute software through any other system and a licensee cannot1075impose that choice.1076 1077This section is intended to make thoroughly clear what is believed to1078be a consequence of the rest of this License.1079 1080 8. If the distribution and/or use of the Program is restricted in1081certain countries either by patents or by copyrighted interfaces, the1082original copyright holder who places the Program under this License1083may add an explicit geographical distribution limitation excluding1084those countries, so that distribution is permitted only in or among1085countries not thus excluded. In such case, this License incorporates1086the limitation as if written in the body of this License.1087 1088 9. The Free Software Foundation may publish revised and/or new versions1089of the General Public License from time to time. Such new versions will1090be similar in spirit to the present version, but may differ in detail to1091address new problems or concerns.1092 1093Each version is given a distinguishing version number. If the Program1094specifies a version number of this License which applies to it and "any1095later version", you have the option of following the terms and conditions1096either of that version or of any later version published by the Free1097Software Foundation. If the Program does not specify a version number of1098this License, you may choose any version ever published by the Free Software1099Foundation.1100 1101 10. If you wish to incorporate parts of the Program into other free1102programs whose distribution conditions are different, write to the author1103to ask for permission. For software which is copyrighted by the Free1104Software Foundation, write to the Free Software Foundation; we sometimes1105make exceptions for this. Our decision will be guided by the two goals1106of preserving the free status of all derivatives of our free software and1107of promoting the sharing and reuse of software generally.1108 1109 NO WARRANTY1110 1111 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY1112FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN1113OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES1114PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED1115OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF1116MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS1117TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE1118PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,1119REPAIR OR CORRECTION.1120 1121 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING1122WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR1123REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,1124INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING1125OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED1126TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY1127YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER1128PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE1129POSSIBILITY OF SUCH DAMAGES.1130 1131 END OF TERMS AND CONDITIONS1132 1133 How to Apply These Terms to Your New Programs1134 1135 If you develop a new program, and you want it to be of the greatest1136possible use to the public, the best way to achieve this is to make it1137free software which everyone can redistribute and change under these terms.1138 1139 To do so, attach the following notices to the program. It is safest1140to attach them to the start of each source file to most effectively1141convey the exclusion of warranty; and each file should have at least1142the "copyright" line and a pointer to where the full notice is found.1143 1144 <one line to give the program's name and a brief idea of what it does.>1145 Copyright (C) <year> <name of author>1146 1147 This program is free software; you can redistribute it and/or modify1148 it under the terms of the GNU General Public License as published by1149 the Free Software Foundation; either version 2 of the License, or1150 (at your option) any later version.1151 1152 This program is distributed in the hope that it will be useful,1153 but WITHOUT ANY WARRANTY; without even the implied warranty of1154 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the1155 GNU General Public License for more details.1156 1157 You should have received a copy of the GNU General Public License along1158 with this program; if not, write to the Free Software Foundation, Inc.,1159 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.1160 1161Also add information on how to contact you by electronic and paper mail.1162 1163If the program is interactive, make it output a short notice like this1164when it starts in an interactive mode:1165 1166 Gnomovision version 69, Copyright (C) year name of author1167 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.1168 This is free software, and you are welcome to redistribute it1169 under certain conditions; type `show c' for details.1170 1171The hypothetical commands `show w' and `show c' should show the appropriate1172parts of the General Public License. Of course, the commands you use may1173be called something other than `show w' and `show c'; they could even be1174mouse-clicks or menu items--whatever suits your program.1175 1176You should also get your employer (if you work as a programmer) or your1177school, if any, to sign a "copyright disclaimer" for the program, if1178necessary. Here is a sample; alter the names:1179 1180 Yoyodyne, Inc., hereby disclaims all copyright interest in the program1181 `Gnomovision' (which makes passes at compilers) written by James Hacker.1182 1183 <signature of Ty Coon>, 1 April 19891184 Ty Coon, President of Vice1185 1186This General Public License does not permit incorporating your program into1187proprietary programs. If your program is a subroutine library, you may1188consider it more useful to permit linking proprietary applications with the1189library. If this is what you want to do, use the GNU Lesser General1190Public License instead of this License.1191 1192 