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