1*b0563631STom Van EyckMbed TLS files are provided under a dual [Apache-2.0](https://spdx.org/licenses/Apache-2.0.html) 2*b0563631STom Van EyckOR [GPL-2.0-or-later](https://spdx.org/licenses/GPL-2.0-or-later.html) license. 3*b0563631STom Van EyckThis means that users may choose which of these licenses they take the code 4*b0563631STom Van Eyckunder. 5*b0563631STom Van Eyck 6*b0563631STom Van EyckThe full text of each of these licenses is given below. 7*b0563631STom Van Eyck 811fa71b9SJerome Forissier 911fa71b9SJerome Forissier Apache License 1011fa71b9SJerome Forissier Version 2.0, January 2004 1111fa71b9SJerome Forissier http://www.apache.org/licenses/ 1211fa71b9SJerome Forissier 1311fa71b9SJerome Forissier TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1411fa71b9SJerome Forissier 1511fa71b9SJerome Forissier 1. Definitions. 1611fa71b9SJerome Forissier 1711fa71b9SJerome Forissier "License" shall mean the terms and conditions for use, reproduction, 1811fa71b9SJerome Forissier and distribution as defined by Sections 1 through 9 of this document. 1911fa71b9SJerome Forissier 2011fa71b9SJerome Forissier "Licensor" shall mean the copyright owner or entity authorized by 2111fa71b9SJerome Forissier the copyright owner that is granting the License. 2211fa71b9SJerome Forissier 2311fa71b9SJerome Forissier "Legal Entity" shall mean the union of the acting entity and all 2411fa71b9SJerome Forissier other entities that control, are controlled by, or are under common 2511fa71b9SJerome Forissier control with that entity. For the purposes of this definition, 2611fa71b9SJerome Forissier "control" means (i) the power, direct or indirect, to cause the 2711fa71b9SJerome Forissier direction or management of such entity, whether by contract or 2811fa71b9SJerome Forissier otherwise, or (ii) ownership of fifty percent (50%) or more of the 2911fa71b9SJerome Forissier outstanding shares, or (iii) beneficial ownership of such entity. 3011fa71b9SJerome Forissier 3111fa71b9SJerome Forissier "You" (or "Your") shall mean an individual or Legal Entity 3211fa71b9SJerome Forissier exercising permissions granted by this License. 3311fa71b9SJerome Forissier 3411fa71b9SJerome Forissier "Source" form shall mean the preferred form for making modifications, 3511fa71b9SJerome Forissier including but not limited to software source code, documentation 3611fa71b9SJerome Forissier source, and configuration files. 3711fa71b9SJerome Forissier 3811fa71b9SJerome Forissier "Object" form shall mean any form resulting from mechanical 3911fa71b9SJerome Forissier transformation or translation of a Source form, including but 4011fa71b9SJerome Forissier not limited to compiled object code, generated documentation, 4111fa71b9SJerome Forissier and conversions to other media types. 4211fa71b9SJerome Forissier 4311fa71b9SJerome Forissier "Work" shall mean the work of authorship, whether in Source or 4411fa71b9SJerome Forissier Object form, made available under the License, as indicated by a 4511fa71b9SJerome Forissier copyright notice that is included in or attached to the work 4611fa71b9SJerome Forissier (an example is provided in the Appendix below). 4711fa71b9SJerome Forissier 4811fa71b9SJerome Forissier "Derivative Works" shall mean any work, whether in Source or Object 4911fa71b9SJerome Forissier form, that is based on (or derived from) the Work and for which the 5011fa71b9SJerome Forissier editorial revisions, annotations, elaborations, or other modifications 5111fa71b9SJerome Forissier represent, as a whole, an original work of authorship. For the purposes 5211fa71b9SJerome Forissier of this License, Derivative Works shall not include works that remain 5311fa71b9SJerome Forissier separable from, or merely link (or bind by name) to the interfaces of, 5411fa71b9SJerome Forissier the Work and Derivative Works thereof. 5511fa71b9SJerome Forissier 5611fa71b9SJerome Forissier "Contribution" shall mean any work of authorship, including 5711fa71b9SJerome Forissier the original version of the Work and any modifications or additions 5811fa71b9SJerome Forissier to that Work or Derivative Works thereof, that is intentionally 5911fa71b9SJerome Forissier submitted to Licensor for inclusion in the Work by the copyright owner 6011fa71b9SJerome Forissier or by an individual or Legal Entity authorized to submit on behalf of 6111fa71b9SJerome Forissier the copyright owner. For the purposes of this definition, "submitted" 6211fa71b9SJerome Forissier means any form of electronic, verbal, or written communication sent 6311fa71b9SJerome Forissier to the Licensor or its representatives, including but not limited to 6411fa71b9SJerome Forissier communication on electronic mailing lists, source code control systems, 6511fa71b9SJerome Forissier and issue tracking systems that are managed by, or on behalf of, the 6611fa71b9SJerome Forissier Licensor for the purpose of discussing and improving the Work, but 6711fa71b9SJerome Forissier excluding communication that is conspicuously marked or otherwise 6811fa71b9SJerome Forissier designated in writing by the copyright owner as "Not a Contribution." 6911fa71b9SJerome Forissier 7011fa71b9SJerome Forissier "Contributor" shall mean Licensor and any individual or Legal Entity 7111fa71b9SJerome Forissier on behalf of whom a Contribution has been received by Licensor and 7211fa71b9SJerome Forissier subsequently incorporated within the Work. 7311fa71b9SJerome Forissier 7411fa71b9SJerome Forissier 2. Grant of Copyright License. Subject to the terms and conditions of 7511fa71b9SJerome Forissier this License, each Contributor hereby grants to You a perpetual, 7611fa71b9SJerome Forissier worldwide, non-exclusive, no-charge, royalty-free, irrevocable 7711fa71b9SJerome Forissier copyright license to reproduce, prepare Derivative Works of, 7811fa71b9SJerome Forissier publicly display, publicly perform, sublicense, and distribute the 7911fa71b9SJerome Forissier Work and such Derivative Works in Source or Object form. 8011fa71b9SJerome Forissier 8111fa71b9SJerome Forissier 3. Grant of Patent License. Subject to the terms and conditions of 8211fa71b9SJerome Forissier this License, each Contributor hereby grants to You a perpetual, 8311fa71b9SJerome Forissier worldwide, non-exclusive, no-charge, royalty-free, irrevocable 8411fa71b9SJerome Forissier (except as stated in this section) patent license to make, have made, 8511fa71b9SJerome Forissier use, offer to sell, sell, import, and otherwise transfer the Work, 8611fa71b9SJerome Forissier where such license applies only to those patent claims licensable 8711fa71b9SJerome Forissier by such Contributor that are necessarily infringed by their 8811fa71b9SJerome Forissier Contribution(s) alone or by combination of their Contribution(s) 8911fa71b9SJerome Forissier with the Work to which such Contribution(s) was submitted. If You 9011fa71b9SJerome Forissier institute patent litigation against any entity (including a 9111fa71b9SJerome Forissier cross-claim or counterclaim in a lawsuit) alleging that the Work 9211fa71b9SJerome Forissier or a Contribution incorporated within the Work constitutes direct 9311fa71b9SJerome Forissier or contributory patent infringement, then any patent licenses 9411fa71b9SJerome Forissier granted to You under this License for that Work shall terminate 9511fa71b9SJerome Forissier as of the date such litigation is filed. 9611fa71b9SJerome Forissier 9711fa71b9SJerome Forissier 4. Redistribution. You may reproduce and distribute copies of the 9811fa71b9SJerome Forissier Work or Derivative Works thereof in any medium, with or without 9911fa71b9SJerome Forissier modifications, and in Source or Object form, provided that You 10011fa71b9SJerome Forissier meet the following conditions: 10111fa71b9SJerome Forissier 10211fa71b9SJerome Forissier (a) You must give any other recipients of the Work or 10311fa71b9SJerome Forissier Derivative Works a copy of this License; and 10411fa71b9SJerome Forissier 10511fa71b9SJerome Forissier (b) You must cause any modified files to carry prominent notices 10611fa71b9SJerome Forissier stating that You changed the files; and 10711fa71b9SJerome Forissier 10811fa71b9SJerome Forissier (c) You must retain, in the Source form of any Derivative Works 10911fa71b9SJerome Forissier that You distribute, all copyright, patent, trademark, and 11011fa71b9SJerome Forissier attribution notices from the Source form of the Work, 11111fa71b9SJerome Forissier excluding those notices that do not pertain to any part of 11211fa71b9SJerome Forissier the Derivative Works; and 11311fa71b9SJerome Forissier 11411fa71b9SJerome Forissier (d) If the Work includes a "NOTICE" text file as part of its 11511fa71b9SJerome Forissier distribution, then any Derivative Works that You distribute must 11611fa71b9SJerome Forissier include a readable copy of the attribution notices contained 11711fa71b9SJerome Forissier within such NOTICE file, excluding those notices that do not 11811fa71b9SJerome Forissier pertain to any part of the Derivative Works, in at least one 11911fa71b9SJerome Forissier of the following places: within a NOTICE text file distributed 12011fa71b9SJerome Forissier as part of the Derivative Works; within the Source form or 12111fa71b9SJerome Forissier documentation, if provided along with the Derivative Works; or, 12211fa71b9SJerome Forissier within a display generated by the Derivative Works, if and 12311fa71b9SJerome Forissier wherever such third-party notices normally appear. The contents 12411fa71b9SJerome Forissier of the NOTICE file are for informational purposes only and 12511fa71b9SJerome Forissier do not modify the License. You may add Your own attribution 12611fa71b9SJerome Forissier notices within Derivative Works that You distribute, alongside 12711fa71b9SJerome Forissier or as an addendum to the NOTICE text from the Work, provided 12811fa71b9SJerome Forissier that such additional attribution notices cannot be construed 12911fa71b9SJerome Forissier as modifying the License. 13011fa71b9SJerome Forissier 13111fa71b9SJerome Forissier You may add Your own copyright statement to Your modifications and 13211fa71b9SJerome Forissier may provide additional or different license terms and conditions 13311fa71b9SJerome Forissier for use, reproduction, or distribution of Your modifications, or 13411fa71b9SJerome Forissier for any such Derivative Works as a whole, provided Your use, 13511fa71b9SJerome Forissier reproduction, and distribution of the Work otherwise complies with 13611fa71b9SJerome Forissier the conditions stated in this License. 13711fa71b9SJerome Forissier 13811fa71b9SJerome Forissier 5. Submission of Contributions. Unless You explicitly state otherwise, 13911fa71b9SJerome Forissier any Contribution intentionally submitted for inclusion in the Work 14011fa71b9SJerome Forissier by You to the Licensor shall be under the terms and conditions of 14111fa71b9SJerome Forissier this License, without any additional terms or conditions. 14211fa71b9SJerome Forissier Notwithstanding the above, nothing herein shall supersede or modify 14311fa71b9SJerome Forissier the terms of any separate license agreement you may have executed 14411fa71b9SJerome Forissier with Licensor regarding such Contributions. 14511fa71b9SJerome Forissier 14611fa71b9SJerome Forissier 6. Trademarks. This License does not grant permission to use the trade 14711fa71b9SJerome Forissier names, trademarks, service marks, or product names of the Licensor, 14811fa71b9SJerome Forissier except as required for reasonable and customary use in describing the 14911fa71b9SJerome Forissier origin of the Work and reproducing the content of the NOTICE file. 15011fa71b9SJerome Forissier 15111fa71b9SJerome Forissier 7. Disclaimer of Warranty. Unless required by applicable law or 15211fa71b9SJerome Forissier agreed to in writing, Licensor provides the Work (and each 15311fa71b9SJerome Forissier Contributor provides its Contributions) on an "AS IS" BASIS, 15411fa71b9SJerome Forissier WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 15511fa71b9SJerome Forissier implied, including, without limitation, any warranties or conditions 15611fa71b9SJerome Forissier of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 15711fa71b9SJerome Forissier PARTICULAR PURPOSE. You are solely responsible for determining the 15811fa71b9SJerome Forissier appropriateness of using or redistributing the Work and assume any 15911fa71b9SJerome Forissier risks associated with Your exercise of permissions under this License. 16011fa71b9SJerome Forissier 16111fa71b9SJerome Forissier 8. Limitation of Liability. In no event and under no legal theory, 16211fa71b9SJerome Forissier whether in tort (including negligence), contract, or otherwise, 16311fa71b9SJerome Forissier unless required by applicable law (such as deliberate and grossly 16411fa71b9SJerome Forissier negligent acts) or agreed to in writing, shall any Contributor be 16511fa71b9SJerome Forissier liable to You for damages, including any direct, indirect, special, 16611fa71b9SJerome Forissier incidental, or consequential damages of any character arising as a 16711fa71b9SJerome Forissier result of this License or out of the use or inability to use the 16811fa71b9SJerome Forissier Work (including but not limited to damages for loss of goodwill, 16911fa71b9SJerome Forissier work stoppage, computer failure or malfunction, or any and all 17011fa71b9SJerome Forissier other commercial damages or losses), even if such Contributor 17111fa71b9SJerome Forissier has been advised of the possibility of such damages. 17211fa71b9SJerome Forissier 17311fa71b9SJerome Forissier 9. Accepting Warranty or Additional Liability. While redistributing 17411fa71b9SJerome Forissier the Work or Derivative Works thereof, You may choose to offer, 17511fa71b9SJerome Forissier and charge a fee for, acceptance of support, warranty, indemnity, 17611fa71b9SJerome Forissier or other liability obligations and/or rights consistent with this 17711fa71b9SJerome Forissier License. However, in accepting such obligations, You may act only 17811fa71b9SJerome Forissier on Your own behalf and on Your sole responsibility, not on behalf 17911fa71b9SJerome Forissier of any other Contributor, and only if You agree to indemnify, 18011fa71b9SJerome Forissier defend, and hold each Contributor harmless for any liability 18111fa71b9SJerome Forissier incurred by, or claims asserted against, such Contributor by reason 18211fa71b9SJerome Forissier of your accepting any such warranty or additional liability. 18311fa71b9SJerome Forissier 18411fa71b9SJerome Forissier END OF TERMS AND CONDITIONS 18511fa71b9SJerome Forissier 18611fa71b9SJerome Forissier APPENDIX: How to apply the Apache License to your work. 18711fa71b9SJerome Forissier 18811fa71b9SJerome Forissier To apply the Apache License to your work, attach the following 18911fa71b9SJerome Forissier boilerplate notice, with the fields enclosed by brackets "[]" 19011fa71b9SJerome Forissier replaced with your own identifying information. (Don't include 19111fa71b9SJerome Forissier the brackets!) The text should be enclosed in the appropriate 19211fa71b9SJerome Forissier comment syntax for the file format. We also recommend that a 19311fa71b9SJerome Forissier file or class name and description of purpose be included on the 19411fa71b9SJerome Forissier same "printed page" as the copyright notice for easier 19511fa71b9SJerome Forissier identification within third-party archives. 19611fa71b9SJerome Forissier 19711fa71b9SJerome Forissier Copyright [yyyy] [name of copyright owner] 19811fa71b9SJerome Forissier 19911fa71b9SJerome Forissier Licensed under the Apache License, Version 2.0 (the "License"); 20011fa71b9SJerome Forissier you may not use this file except in compliance with the License. 20111fa71b9SJerome Forissier You may obtain a copy of the License at 20211fa71b9SJerome Forissier 20311fa71b9SJerome Forissier http://www.apache.org/licenses/LICENSE-2.0 20411fa71b9SJerome Forissier 20511fa71b9SJerome Forissier Unless required by applicable law or agreed to in writing, software 20611fa71b9SJerome Forissier distributed under the License is distributed on an "AS IS" BASIS, 20711fa71b9SJerome Forissier WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 20811fa71b9SJerome Forissier See the License for the specific language governing permissions and 20911fa71b9SJerome Forissier limitations under the License. 210*b0563631STom Van Eyck 211*b0563631STom Van Eyck 212*b0563631STom Van Eyck=============================================================================== 213*b0563631STom Van Eyck 214*b0563631STom Van Eyck 215*b0563631STom Van Eyck GNU GENERAL PUBLIC LICENSE 216*b0563631STom Van Eyck Version 2, June 1991 217*b0563631STom Van Eyck 218*b0563631STom Van Eyck Copyright (C) 1989, 1991 Free Software Foundation, Inc., 219*b0563631STom Van Eyck 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 220*b0563631STom Van Eyck Everyone is permitted to copy and distribute verbatim copies 221*b0563631STom Van Eyck of this license document, but changing it is not allowed. 222*b0563631STom Van Eyck 223*b0563631STom Van Eyck Preamble 224*b0563631STom Van Eyck 225*b0563631STom Van Eyck The licenses for most software are designed to take away your 226*b0563631STom Van Eyckfreedom to share and change it. By contrast, the GNU General Public 227*b0563631STom Van EyckLicense is intended to guarantee your freedom to share and change free 228*b0563631STom Van Eycksoftware--to make sure the software is free for all its users. This 229*b0563631STom Van EyckGeneral Public License applies to most of the Free Software 230*b0563631STom Van EyckFoundation's software and to any other program whose authors commit to 231*b0563631STom Van Eyckusing it. (Some other Free Software Foundation software is covered by 232*b0563631STom Van Eyckthe GNU Lesser General Public License instead.) You can apply it to 233*b0563631STom Van Eyckyour programs, too. 234*b0563631STom Van Eyck 235*b0563631STom Van Eyck When we speak of free software, we are referring to freedom, not 236*b0563631STom Van Eyckprice. Our General Public Licenses are designed to make sure that you 237*b0563631STom Van Eyckhave the freedom to distribute copies of free software (and charge for 238*b0563631STom Van Eyckthis service if you wish), that you receive source code or can get it 239*b0563631STom Van Eyckif you want it, that you can change the software or use pieces of it 240*b0563631STom Van Eyckin new free programs; and that you know you can do these things. 241*b0563631STom Van Eyck 242*b0563631STom Van Eyck To protect your rights, we need to make restrictions that forbid 243*b0563631STom Van Eyckanyone to deny you these rights or to ask you to surrender the rights. 244*b0563631STom Van EyckThese restrictions translate to certain responsibilities for you if you 245*b0563631STom Van Eyckdistribute copies of the software, or if you modify it. 246*b0563631STom Van Eyck 247*b0563631STom Van Eyck For example, if you distribute copies of such a program, whether 248*b0563631STom Van Eyckgratis or for a fee, you must give the recipients all the rights that 249*b0563631STom Van Eyckyou have. You must make sure that they, too, receive or can get the 250*b0563631STom Van Eycksource code. And you must show them these terms so they know their 251*b0563631STom Van Eyckrights. 252*b0563631STom Van Eyck 253*b0563631STom Van Eyck We protect your rights with two steps: (1) copyright the software, and 254*b0563631STom Van Eyck(2) offer you this license which gives you legal permission to copy, 255*b0563631STom Van Eyckdistribute and/or modify the software. 256*b0563631STom Van Eyck 257*b0563631STom Van Eyck Also, for each author's protection and ours, we want to make certain 258*b0563631STom Van Eyckthat everyone understands that there is no warranty for this free 259*b0563631STom Van Eycksoftware. If the software is modified by someone else and passed on, we 260*b0563631STom Van Eyckwant its recipients to know that what they have is not the original, so 261*b0563631STom Van Eyckthat any problems introduced by others will not reflect on the original 262*b0563631STom Van Eyckauthors' reputations. 263*b0563631STom Van Eyck 264*b0563631STom Van Eyck Finally, any free program is threatened constantly by software 265*b0563631STom Van Eyckpatents. We wish to avoid the danger that redistributors of a free 266*b0563631STom Van Eyckprogram will individually obtain patent licenses, in effect making the 267*b0563631STom Van Eyckprogram proprietary. To prevent this, we have made it clear that any 268*b0563631STom Van Eyckpatent must be licensed for everyone's free use or not licensed at all. 269*b0563631STom Van Eyck 270*b0563631STom Van Eyck The precise terms and conditions for copying, distribution and 271*b0563631STom Van Eyckmodification follow. 272*b0563631STom Van Eyck 273*b0563631STom Van Eyck GNU GENERAL PUBLIC LICENSE 274*b0563631STom Van Eyck TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 275*b0563631STom Van Eyck 276*b0563631STom Van Eyck 0. This License applies to any program or other work which contains 277*b0563631STom Van Eycka notice placed by the copyright holder saying it may be distributed 278*b0563631STom Van Eyckunder the terms of this General Public License. The "Program", below, 279*b0563631STom Van Eyckrefers to any such program or work, and a "work based on the Program" 280*b0563631STom Van Eyckmeans either the Program or any derivative work under copyright law: 281*b0563631STom Van Eyckthat is to say, a work containing the Program or a portion of it, 282*b0563631STom Van Eyckeither verbatim or with modifications and/or translated into another 283*b0563631STom Van Eycklanguage. (Hereinafter, translation is included without limitation in 284*b0563631STom Van Eyckthe term "modification".) Each licensee is addressed as "you". 285*b0563631STom Van Eyck 286*b0563631STom Van EyckActivities other than copying, distribution and modification are not 287*b0563631STom Van Eyckcovered by this License; they are outside its scope. The act of 288*b0563631STom Van Eyckrunning the Program is not restricted, and the output from the Program 289*b0563631STom Van Eyckis covered only if its contents constitute a work based on the 290*b0563631STom Van EyckProgram (independent of having been made by running the Program). 291*b0563631STom Van EyckWhether that is true depends on what the Program does. 292*b0563631STom Van Eyck 293*b0563631STom Van Eyck 1. You may copy and distribute verbatim copies of the Program's 294*b0563631STom Van Eycksource code as you receive it, in any medium, provided that you 295*b0563631STom Van Eyckconspicuously and appropriately publish on each copy an appropriate 296*b0563631STom Van Eyckcopyright notice and disclaimer of warranty; keep intact all the 297*b0563631STom Van Eycknotices that refer to this License and to the absence of any warranty; 298*b0563631STom Van Eyckand give any other recipients of the Program a copy of this License 299*b0563631STom Van Eyckalong with the Program. 300*b0563631STom Van Eyck 301*b0563631STom Van EyckYou may charge a fee for the physical act of transferring a copy, and 302*b0563631STom Van Eyckyou may at your option offer warranty protection in exchange for a fee. 303*b0563631STom Van Eyck 304*b0563631STom Van Eyck 2. You may modify your copy or copies of the Program or any portion 305*b0563631STom Van Eyckof it, thus forming a work based on the Program, and copy and 306*b0563631STom Van Eyckdistribute such modifications or work under the terms of Section 1 307*b0563631STom Van Eyckabove, provided that you also meet all of these conditions: 308*b0563631STom Van Eyck 309*b0563631STom Van Eyck a) You must cause the modified files to carry prominent notices 310*b0563631STom Van Eyck stating that you changed the files and the date of any change. 311*b0563631STom Van Eyck 312*b0563631STom Van Eyck b) You must cause any work that you distribute or publish, that in 313*b0563631STom Van Eyck whole or in part contains or is derived from the Program or any 314*b0563631STom Van Eyck part thereof, to be licensed as a whole at no charge to all third 315*b0563631STom Van Eyck parties under the terms of this License. 316*b0563631STom Van Eyck 317*b0563631STom Van Eyck c) If the modified program normally reads commands interactively 318*b0563631STom Van Eyck when run, you must cause it, when started running for such 319*b0563631STom Van Eyck interactive use in the most ordinary way, to print or display an 320*b0563631STom Van Eyck announcement including an appropriate copyright notice and a 321*b0563631STom Van Eyck notice that there is no warranty (or else, saying that you provide 322*b0563631STom Van Eyck a warranty) and that users may redistribute the program under 323*b0563631STom Van Eyck these conditions, and telling the user how to view a copy of this 324*b0563631STom Van Eyck License. (Exception: if the Program itself is interactive but 325*b0563631STom Van Eyck does not normally print such an announcement, your work based on 326*b0563631STom Van Eyck the Program is not required to print an announcement.) 327*b0563631STom Van Eyck 328*b0563631STom Van EyckThese requirements apply to the modified work as a whole. If 329*b0563631STom Van Eyckidentifiable sections of that work are not derived from the Program, 330*b0563631STom Van Eyckand can be reasonably considered independent and separate works in 331*b0563631STom Van Eyckthemselves, then this License, and its terms, do not apply to those 332*b0563631STom Van Eycksections when you distribute them as separate works. But when you 333*b0563631STom Van Eyckdistribute the same sections as part of a whole which is a work based 334*b0563631STom Van Eyckon the Program, the distribution of the whole must be on the terms of 335*b0563631STom Van Eyckthis License, whose permissions for other licensees extend to the 336*b0563631STom Van Eyckentire whole, and thus to each and every part regardless of who wrote it. 337*b0563631STom Van Eyck 338*b0563631STom Van EyckThus, it is not the intent of this section to claim rights or contest 339*b0563631STom Van Eyckyour rights to work written entirely by you; rather, the intent is to 340*b0563631STom Van Eyckexercise the right to control the distribution of derivative or 341*b0563631STom Van Eyckcollective works based on the Program. 342*b0563631STom Van Eyck 343*b0563631STom Van EyckIn addition, mere aggregation of another work not based on the Program 344*b0563631STom Van Eyckwith the Program (or with a work based on the Program) on a volume of 345*b0563631STom Van Eycka storage or distribution medium does not bring the other work under 346*b0563631STom Van Eyckthe scope of this License. 347*b0563631STom Van Eyck 348*b0563631STom Van Eyck 3. You may copy and distribute the Program (or a work based on it, 349*b0563631STom Van Eyckunder Section 2) in object code or executable form under the terms of 350*b0563631STom Van EyckSections 1 and 2 above provided that you also do one of the following: 351*b0563631STom Van Eyck 352*b0563631STom Van Eyck a) Accompany it with the complete corresponding machine-readable 353*b0563631STom Van Eyck source code, which must be distributed under the terms of Sections 354*b0563631STom Van Eyck 1 and 2 above on a medium customarily used for software interchange; or, 355*b0563631STom Van Eyck 356*b0563631STom Van Eyck b) Accompany it with a written offer, valid for at least three 357*b0563631STom Van Eyck years, to give any third party, for a charge no more than your 358*b0563631STom Van Eyck cost of physically performing source distribution, a complete 359*b0563631STom Van Eyck machine-readable copy of the corresponding source code, to be 360*b0563631STom Van Eyck distributed under the terms of Sections 1 and 2 above on a medium 361*b0563631STom Van Eyck customarily used for software interchange; or, 362*b0563631STom Van Eyck 363*b0563631STom Van Eyck c) Accompany it with the information you received as to the offer 364*b0563631STom Van Eyck to distribute corresponding source code. (This alternative is 365*b0563631STom Van Eyck allowed only for noncommercial distribution and only if you 366*b0563631STom Van Eyck received the program in object code or executable form with such 367*b0563631STom Van Eyck an offer, in accord with Subsection b above.) 368*b0563631STom Van Eyck 369*b0563631STom Van EyckThe source code for a work means the preferred form of the work for 370*b0563631STom Van Eyckmaking modifications to it. For an executable work, complete source 371*b0563631STom Van Eyckcode means all the source code for all modules it contains, plus any 372*b0563631STom Van Eyckassociated interface definition files, plus the scripts used to 373*b0563631STom Van Eyckcontrol compilation and installation of the executable. However, as a 374*b0563631STom Van Eyckspecial exception, the source code distributed need not include 375*b0563631STom Van Eyckanything that is normally distributed (in either source or binary 376*b0563631STom Van Eyckform) with the major components (compiler, kernel, and so on) of the 377*b0563631STom Van Eyckoperating system on which the executable runs, unless that component 378*b0563631STom Van Eyckitself accompanies the executable. 379*b0563631STom Van Eyck 380*b0563631STom Van EyckIf distribution of executable or object code is made by offering 381*b0563631STom Van Eyckaccess to copy from a designated place, then offering equivalent 382*b0563631STom Van Eyckaccess to copy the source code from the same place counts as 383*b0563631STom Van Eyckdistribution of the source code, even though third parties are not 384*b0563631STom Van Eyckcompelled to copy the source along with the object code. 385*b0563631STom Van Eyck 386*b0563631STom Van Eyck 4. You may not copy, modify, sublicense, or distribute the Program 387*b0563631STom Van Eyckexcept as expressly provided under this License. Any attempt 388*b0563631STom Van Eyckotherwise to copy, modify, sublicense or distribute the Program is 389*b0563631STom Van Eyckvoid, and will automatically terminate your rights under this License. 390*b0563631STom Van EyckHowever, parties who have received copies, or rights, from you under 391*b0563631STom Van Eyckthis License will not have their licenses terminated so long as such 392*b0563631STom Van Eyckparties remain in full compliance. 393*b0563631STom Van Eyck 394*b0563631STom Van Eyck 5. You are not required to accept this License, since you have not 395*b0563631STom Van Eycksigned it. However, nothing else grants you permission to modify or 396*b0563631STom Van Eyckdistribute the Program or its derivative works. These actions are 397*b0563631STom Van Eyckprohibited by law if you do not accept this License. Therefore, by 398*b0563631STom Van Eyckmodifying or distributing the Program (or any work based on the 399*b0563631STom Van EyckProgram), you indicate your acceptance of this License to do so, and 400*b0563631STom Van Eyckall its terms and conditions for copying, distributing or modifying 401*b0563631STom Van Eyckthe Program or works based on it. 402*b0563631STom Van Eyck 403*b0563631STom Van Eyck 6. Each time you redistribute the Program (or any work based on the 404*b0563631STom Van EyckProgram), the recipient automatically receives a license from the 405*b0563631STom Van Eyckoriginal licensor to copy, distribute or modify the Program subject to 406*b0563631STom Van Eyckthese terms and conditions. You may not impose any further 407*b0563631STom Van Eyckrestrictions on the recipients' exercise of the rights granted herein. 408*b0563631STom Van EyckYou are not responsible for enforcing compliance by third parties to 409*b0563631STom Van Eyckthis License. 410*b0563631STom Van Eyck 411*b0563631STom Van Eyck 7. If, as a consequence of a court judgment or allegation of patent 412*b0563631STom Van Eyckinfringement or for any other reason (not limited to patent issues), 413*b0563631STom Van Eyckconditions are imposed on you (whether by court order, agreement or 414*b0563631STom Van Eyckotherwise) that contradict the conditions of this License, they do not 415*b0563631STom Van Eyckexcuse you from the conditions of this License. If you cannot 416*b0563631STom Van Eyckdistribute so as to satisfy simultaneously your obligations under this 417*b0563631STom Van EyckLicense and any other pertinent obligations, then as a consequence you 418*b0563631STom Van Eyckmay not distribute the Program at all. For example, if a patent 419*b0563631STom Van Eycklicense would not permit royalty-free redistribution of the Program by 420*b0563631STom Van Eyckall those who receive copies directly or indirectly through you, then 421*b0563631STom Van Eyckthe only way you could satisfy both it and this License would be to 422*b0563631STom Van Eyckrefrain entirely from distribution of the Program. 423*b0563631STom Van Eyck 424*b0563631STom Van EyckIf any portion of this section is held invalid or unenforceable under 425*b0563631STom Van Eyckany particular circumstance, the balance of the section is intended to 426*b0563631STom Van Eyckapply and the section as a whole is intended to apply in other 427*b0563631STom Van Eyckcircumstances. 428*b0563631STom Van Eyck 429*b0563631STom Van EyckIt is not the purpose of this section to induce you to infringe any 430*b0563631STom Van Eyckpatents or other property right claims or to contest validity of any 431*b0563631STom Van Eycksuch claims; this section has the sole purpose of protecting the 432*b0563631STom Van Eyckintegrity of the free software distribution system, which is 433*b0563631STom Van Eyckimplemented by public license practices. Many people have made 434*b0563631STom Van Eyckgenerous contributions to the wide range of software distributed 435*b0563631STom Van Eyckthrough that system in reliance on consistent application of that 436*b0563631STom Van Eycksystem; it is up to the author/donor to decide if he or she is willing 437*b0563631STom Van Eyckto distribute software through any other system and a licensee cannot 438*b0563631STom Van Eyckimpose that choice. 439*b0563631STom Van Eyck 440*b0563631STom Van EyckThis section is intended to make thoroughly clear what is believed to 441*b0563631STom Van Eyckbe a consequence of the rest of this License. 442*b0563631STom Van Eyck 443*b0563631STom Van Eyck 8. If the distribution and/or use of the Program is restricted in 444*b0563631STom Van Eyckcertain countries either by patents or by copyrighted interfaces, the 445*b0563631STom Van Eyckoriginal copyright holder who places the Program under this License 446*b0563631STom Van Eyckmay add an explicit geographical distribution limitation excluding 447*b0563631STom Van Eyckthose countries, so that distribution is permitted only in or among 448*b0563631STom Van Eyckcountries not thus excluded. In such case, this License incorporates 449*b0563631STom Van Eyckthe limitation as if written in the body of this License. 450*b0563631STom Van Eyck 451*b0563631STom Van Eyck 9. The Free Software Foundation may publish revised and/or new versions 452*b0563631STom Van Eyckof the General Public License from time to time. Such new versions will 453*b0563631STom Van Eyckbe similar in spirit to the present version, but may differ in detail to 454*b0563631STom Van Eyckaddress new problems or concerns. 455*b0563631STom Van Eyck 456*b0563631STom Van EyckEach version is given a distinguishing version number. If the Program 457*b0563631STom Van Eyckspecifies a version number of this License which applies to it and "any 458*b0563631STom Van Eycklater version", you have the option of following the terms and conditions 459*b0563631STom Van Eyckeither of that version or of any later version published by the Free 460*b0563631STom Van EyckSoftware Foundation. If the Program does not specify a version number of 461*b0563631STom Van Eyckthis License, you may choose any version ever published by the Free Software 462*b0563631STom Van EyckFoundation. 463*b0563631STom Van Eyck 464*b0563631STom Van Eyck 10. If you wish to incorporate parts of the Program into other free 465*b0563631STom Van Eyckprograms whose distribution conditions are different, write to the author 466*b0563631STom Van Eyckto ask for permission. For software which is copyrighted by the Free 467*b0563631STom Van EyckSoftware Foundation, write to the Free Software Foundation; we sometimes 468*b0563631STom Van Eyckmake exceptions for this. Our decision will be guided by the two goals 469*b0563631STom Van Eyckof preserving the free status of all derivatives of our free software and 470*b0563631STom Van Eyckof promoting the sharing and reuse of software generally. 471*b0563631STom Van Eyck 472*b0563631STom Van Eyck NO WARRANTY 473*b0563631STom Van Eyck 474*b0563631STom Van Eyck 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 475*b0563631STom Van EyckFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 476*b0563631STom Van EyckOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 477*b0563631STom Van EyckPROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 478*b0563631STom Van EyckOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 479*b0563631STom Van EyckMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 480*b0563631STom Van EyckTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 481*b0563631STom Van EyckPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 482*b0563631STom Van EyckREPAIR OR CORRECTION. 483*b0563631STom Van Eyck 484*b0563631STom Van Eyck 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 485*b0563631STom Van EyckWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 486*b0563631STom Van EyckREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 487*b0563631STom Van EyckINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 488*b0563631STom Van EyckOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 489*b0563631STom Van EyckTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 490*b0563631STom Van EyckYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 491*b0563631STom Van EyckPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 492*b0563631STom Van EyckPOSSIBILITY OF SUCH DAMAGES. 493*b0563631STom Van Eyck 494*b0563631STom Van Eyck END OF TERMS AND CONDITIONS 495*b0563631STom Van Eyck 496*b0563631STom Van Eyck How to Apply These Terms to Your New Programs 497*b0563631STom Van Eyck 498*b0563631STom Van Eyck If you develop a new program, and you want it to be of the greatest 499*b0563631STom Van Eyckpossible use to the public, the best way to achieve this is to make it 500*b0563631STom Van Eyckfree software which everyone can redistribute and change under these terms. 501*b0563631STom Van Eyck 502*b0563631STom Van Eyck To do so, attach the following notices to the program. It is safest 503*b0563631STom Van Eyckto attach them to the start of each source file to most effectively 504*b0563631STom Van Eyckconvey the exclusion of warranty; and each file should have at least 505*b0563631STom Van Eyckthe "copyright" line and a pointer to where the full notice is found. 506*b0563631STom Van Eyck 507*b0563631STom Van Eyck <one line to give the program's name and a brief idea of what it does.> 508*b0563631STom Van Eyck Copyright (C) <year> <name of author> 509*b0563631STom Van Eyck 510*b0563631STom Van Eyck This program is free software; you can redistribute it and/or modify 511*b0563631STom Van Eyck it under the terms of the GNU General Public License as published by 512*b0563631STom Van Eyck the Free Software Foundation; either version 2 of the License, or 513*b0563631STom Van Eyck (at your option) any later version. 514*b0563631STom Van Eyck 515*b0563631STom Van Eyck This program is distributed in the hope that it will be useful, 516*b0563631STom Van Eyck but WITHOUT ANY WARRANTY; without even the implied warranty of 517*b0563631STom Van Eyck MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 518*b0563631STom Van Eyck GNU General Public License for more details. 519*b0563631STom Van Eyck 520*b0563631STom Van Eyck You should have received a copy of the GNU General Public License along 521*b0563631STom Van Eyck with this program; if not, write to the Free Software Foundation, Inc., 522*b0563631STom Van Eyck 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 523*b0563631STom Van Eyck 524*b0563631STom Van EyckAlso add information on how to contact you by electronic and paper mail. 525*b0563631STom Van Eyck 526*b0563631STom Van EyckIf the program is interactive, make it output a short notice like this 527*b0563631STom Van Eyckwhen it starts in an interactive mode: 528*b0563631STom Van Eyck 529*b0563631STom Van Eyck Gnomovision version 69, Copyright (C) year name of author 530*b0563631STom Van Eyck Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 531*b0563631STom Van Eyck This is free software, and you are welcome to redistribute it 532*b0563631STom Van Eyck under certain conditions; type `show c' for details. 533*b0563631STom Van Eyck 534*b0563631STom Van EyckThe hypothetical commands `show w' and `show c' should show the appropriate 535*b0563631STom Van Eyckparts of the General Public License. Of course, the commands you use may 536*b0563631STom Van Eyckbe called something other than `show w' and `show c'; they could even be 537*b0563631STom Van Eyckmouse-clicks or menu items--whatever suits your program. 538*b0563631STom Van Eyck 539*b0563631STom Van EyckYou should also get your employer (if you work as a programmer) or your 540*b0563631STom Van Eyckschool, if any, to sign a "copyright disclaimer" for the program, if 541*b0563631STom Van Eycknecessary. Here is a sample; alter the names: 542*b0563631STom Van Eyck 543*b0563631STom Van Eyck Yoyodyne, Inc., hereby disclaims all copyright interest in the program 544*b0563631STom Van Eyck `Gnomovision' (which makes passes at compilers) written by James Hacker. 545*b0563631STom Van Eyck 546*b0563631STom Van Eyck <signature of Ty Coon>, 1 April 1989 547*b0563631STom Van Eyck Ty Coon, President of Vice 548*b0563631STom Van Eyck 549*b0563631STom Van EyckThis General Public License does not permit incorporating your program into 550*b0563631STom Van Eyckproprietary programs. If your program is a subroutine library, you may 551*b0563631STom Van Eyckconsider it more useful to permit linking proprietary applications with the 552*b0563631STom Van Eycklibrary. If this is what you want to do, use the GNU Lesser General 553*b0563631STom Van EyckPublic License instead of this License. 554