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