1 GNU GENERAL PUBLIC LICENSE 2 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 3 4 0. This License applies to any program or other work which contains 5a notice placed by the copyright holder saying it may be distributed 6under the terms of this General Public License. The "Program", below, 7refers to any such program or work, and a "work based on the Program" 8means either the Program or any derivative work under copyright law: 9that is to say, a work containing the Program or a portion of it, 10either verbatim or with modifications and/or translated into another 11language. (Hereinafter, translation is included without limitation in 12the term "modification".) Each licensee is addressed as "you". 13 14Activities other than copying, distribution and modification are not 15covered by this License; they are outside its scope. The act of 16running the Program is not restricted, and the output from the Program 17is covered only if its contents constitute a work based on the 18Program (independent of having been made by running the Program). 19Whether that is true depends on what the Program does. 20 21 1. You may copy and distribute verbatim copies of the Program's 22source code as you receive it, in any medium, provided that you 23conspicuously and appropriately publish on each copy an appropriate 24copyright notice and disclaimer of warranty; keep intact all the 25notices that refer to this License and to the absence of any warranty; 26and give any other recipients of the Program a copy of this License 27along with the Program. 28 29You may charge a fee for the physical act of transferring a copy, and 30you may at your option offer warranty protection in exchange for a fee. 31 32 2. You may modify your copy or copies of the Program or any portion 33of it, thus forming a work based on the Program, and copy and 34distribute such modifications or work under the terms of Section 1 35above, provided that you also meet all of these conditions: 36 37 a) You must cause the modified files to carry prominent notices 38 stating that you changed the files and the date of any change. 39 40 b) You must cause any work that you distribute or publish, that in 41 whole or in part contains or is derived from the Program or any 42 part thereof, to be licensed as a whole at no charge to all third 43 parties under the terms of this License. 44 45 c) If the modified program normally reads commands interactively 46 when run, you must cause it, when started running for such 47 interactive use in the most ordinary way, to print or display an 48 announcement including an appropriate copyright notice and a 49 notice that there is no warranty (or else, saying that you provide 50 a warranty) and that users may redistribute the program under 51 these conditions, and telling the user how to view a copy of this 52 License. (Exception: if the Program itself is interactive but 53 does not normally print such an announcement, your work based on 54 the Program is not required to print an announcement.) 55 56These requirements apply to the modified work as a whole. If 57identifiable sections of that work are not derived from the Program, 58and can be reasonably considered independent and separate works in 59themselves, then this License, and its terms, do not apply to those 60sections when you distribute them as separate works. But when you 61distribute the same sections as part of a whole which is a work based 62on the Program, the distribution of the whole must be on the terms of 63this License, whose permissions for other licensees extend to the 64entire whole, and thus to each and every part regardless of who wrote it. 65 66Thus, it is not the intent of this section to claim rights or contest 67your rights to work written entirely by you; rather, the intent is to 68exercise the right to control the distribution of derivative or 69collective works based on the Program. 70 71In addition, mere aggregation of another work not based on the Program 72with the Program (or with a work based on the Program) on a volume of 73a storage or distribution medium does not bring the other work under 74the scope of this License. 75 76 3. You may copy and distribute the Program (or a work based on it, 77under Section 2) in object code or executable form under the terms of 78Sections 1 and 2 above provided that you also do one of the following: 79 80 a) Accompany it with the complete corresponding machine-readable 81 source code, which must be distributed under the terms of Sections 82 1 and 2 above on a medium customarily used for software interchange; or, 83 84 b) Accompany it with a written offer, valid for at least three 85 years, to give any third party, for a charge no more than your 86 cost of physically performing source distribution, a complete 87 machine-readable copy of the corresponding source code, to be 88 distributed under the terms of Sections 1 and 2 above on a medium 89 customarily used for software interchange; or, 90 91 c) Accompany it with the information you received as to the offer 92 to distribute corresponding source code. (This alternative is 93 allowed only for noncommercial distribution and only if you 94 received the program in object code or executable form with such 95 an offer, in accord with Subsection b above.) 96 97The source code for a work means the preferred form of the work for 98making modifications to it. For an executable work, complete source 99code means all the source code for all modules it contains, plus any 100associated interface definition files, plus the scripts used to 101control compilation and installation of the executable. However, as a 102special exception, the source code distributed need not include 103anything that is normally distributed (in either source or binary 104form) with the major components (compiler, kernel, and so on) of the 105operating system on which the executable runs, unless that component 106itself accompanies the executable. 107 108If distribution of executable or object code is made by offering 109access to copy from a designated place, then offering equivalent 110access to copy the source code from the same place counts as 111distribution of the source code, even though third parties are not 112compelled to copy the source along with the object code. 113 114 4. You may not copy, modify, sublicense, or distribute the Program 115except as expressly provided under this License. Any attempt 116otherwise to copy, modify, sublicense or distribute the Program is 117void, and will automatically terminate your rights under this License. 118However, parties who have received copies, or rights, from you under 119this License will not have their licenses terminated so long as such 120parties remain in full compliance. 121 122 5. You are not required to accept this License, since you have not 123signed it. However, nothing else grants you permission to modify or 124distribute the Program or its derivative works. These actions are 125prohibited by law if you do not accept this License. Therefore, by 126modifying or distributing the Program (or any work based on the 127Program), you indicate your acceptance of this License to do so, and 128all its terms and conditions for copying, distributing or modifying 129the Program or works based on it. 130 131 6. Each time you redistribute the Program (or any work based on the 132Program), the recipient automatically receives a license from the 133original licensor to copy, distribute or modify the Program subject to 134these terms and conditions. You may not impose any further 135restrictions on the recipients' exercise of the rights granted herein. 136You are not responsible for enforcing compliance by third parties to 137this License. 138 139 7. If, as a consequence of a court judgment or allegation of patent 140infringement or for any other reason (not limited to patent issues), 141conditions are imposed on you (whether by court order, agreement or 142otherwise) that contradict the conditions of this License, they do not 143excuse you from the conditions of this License. If you cannot 144distribute so as to satisfy simultaneously your obligations under this 145License and any other pertinent obligations, then as a consequence you 146may not distribute the Program at all. For example, if a patent 147license would not permit royalty-free redistribution of the Program by 148all those who receive copies directly or indirectly through you, then 149the only way you could satisfy both it and this License would be to 150refrain entirely from distribution of the Program. 151 152If any portion of this section is held invalid or unenforceable under 153any particular circumstance, the balance of the section is intended to 154apply and the section as a whole is intended to apply in other 155circumstances. 156 157It is not the purpose of this section to induce you to infringe any 158patents or other property right claims or to contest validity of any 159such claims; this section has the sole purpose of protecting the 160integrity of the free software distribution system, which is 161implemented by public license practices. Many people have made 162generous contributions to the wide range of software distributed 163through that system in reliance on consistent application of that 164system; it is up to the author/donor to decide if he or she is willing 165to distribute software through any other system and a licensee cannot 166impose that choice. 167 168This section is intended to make thoroughly clear what is believed to 169be a consequence of the rest of this License. 170 171 8. If the distribution and/or use of the Program is restricted in 172certain countries either by patents or by copyrighted interfaces, the 173original copyright holder who places the Program under this License 174may add an explicit geographical distribution limitation excluding 175those countries, so that distribution is permitted only in or among 176countries not thus excluded. In such case, this License incorporates 177the limitation as if written in the body of this License. 178 179 9. The Free Software Foundation may publish revised and/or new versions 180of the General Public License from time to time. Such new versions will 181be similar in spirit to the present version, but may differ in detail to 182address new problems or concerns. 183 184Each version is given a distinguishing version number. If the Program 185specifies a version number of this License which applies to it and "any 186later version", you have the option of following the terms and conditions 187either of that version or of any later version published by the Free 188Software Foundation. If the Program does not specify a version number of 189this License, you may choose any version ever published by the Free Software 190Foundation. 191 192 10. If you wish to incorporate parts of the Program into other free 193programs whose distribution conditions are different, write to the author 194to ask for permission. For software which is copyrighted by the Free 195Software Foundation, write to the Free Software Foundation; we sometimes 196make exceptions for this. Our decision will be guided by the two goals 197of preserving the free status of all derivatives of our free software and 198of promoting the sharing and reuse of software generally. 199 200 NO WARRANTY 201 202 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 203FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 204OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 205PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 206OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 207MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 208TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 209PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 210REPAIR OR CORRECTION. 211 212 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 213WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 214REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 215INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 216OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 217TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 218YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 219PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 220POSSIBILITY OF SUCH DAMAGES. 221 222 END OF TERMS AND CONDITIONS 223