1*806f472eSMichael GroßeGNU GENERAL PUBLIC LICENSE 2*806f472eSMichael Große Version 2, June 1991 3*806f472eSMichael Große 4*806f472eSMichael Große Copyright (C) 1989, 1991 Free Software Foundation, Inc., <http://fsf.org/> 5*806f472eSMichael Große 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 6*806f472eSMichael Große Everyone is permitted to copy and distribute verbatim copies 7*806f472eSMichael Große of this license document, but changing it is not allowed. 8*806f472eSMichael Große 9*806f472eSMichael Große Preamble 10*806f472eSMichael Große 11*806f472eSMichael Große The licenses for most software are designed to take away your 12*806f472eSMichael Großefreedom to share and change it. By contrast, the GNU General Public 13*806f472eSMichael GroßeLicense is intended to guarantee your freedom to share and change free 14*806f472eSMichael Großesoftware--to make sure the software is free for all its users. This 15*806f472eSMichael GroßeGeneral Public License applies to most of the Free Software 16*806f472eSMichael GroßeFoundation's software and to any other program whose authors commit to 17*806f472eSMichael Großeusing it. (Some other Free Software Foundation software is covered by 18*806f472eSMichael Großethe GNU Lesser General Public License instead.) You can apply it to 19*806f472eSMichael Großeyour programs, too. 20*806f472eSMichael Große 21*806f472eSMichael Große When we speak of free software, we are referring to freedom, not 22*806f472eSMichael Großeprice. Our General Public Licenses are designed to make sure that you 23*806f472eSMichael Großehave the freedom to distribute copies of free software (and charge for 24*806f472eSMichael Großethis service if you wish), that you receive source code or can get it 25*806f472eSMichael Großeif you want it, that you can change the software or use pieces of it 26*806f472eSMichael Großein new free programs; and that you know you can do these things. 27*806f472eSMichael Große 28*806f472eSMichael Große To protect your rights, we need to make restrictions that forbid 29*806f472eSMichael Großeanyone to deny you these rights or to ask you to surrender the rights. 30*806f472eSMichael GroßeThese restrictions translate to certain responsibilities for you if you 31*806f472eSMichael Großedistribute copies of the software, or if you modify it. 32*806f472eSMichael Große 33*806f472eSMichael Große For example, if you distribute copies of such a program, whether 34*806f472eSMichael Großegratis or for a fee, you must give the recipients all the rights that 35*806f472eSMichael Großeyou have. You must make sure that they, too, receive or can get the 36*806f472eSMichael Großesource code. And you must show them these terms so they know their 37*806f472eSMichael Großerights. 38*806f472eSMichael Große 39*806f472eSMichael Große We protect your rights with two steps: (1) copyright the software, and 40*806f472eSMichael Große(2) offer you this license which gives you legal permission to copy, 41*806f472eSMichael Großedistribute and/or modify the software. 42*806f472eSMichael Große 43*806f472eSMichael Große Also, for each author's protection and ours, we want to make certain 44*806f472eSMichael Großethat everyone understands that there is no warranty for this free 45*806f472eSMichael Großesoftware. If the software is modified by someone else and passed on, we 46*806f472eSMichael Großewant its recipients to know that what they have is not the original, so 47*806f472eSMichael Großethat any problems introduced by others will not reflect on the original 48*806f472eSMichael Großeauthors' reputations. 49*806f472eSMichael Große 50*806f472eSMichael Große Finally, any free program is threatened constantly by software 51*806f472eSMichael Großepatents. We wish to avoid the danger that redistributors of a free 52*806f472eSMichael Großeprogram will individually obtain patent licenses, in effect making the 53*806f472eSMichael Großeprogram proprietary. To prevent this, we have made it clear that any 54*806f472eSMichael Großepatent must be licensed for everyone's free use or not licensed at all. 55*806f472eSMichael Große 56*806f472eSMichael Große The precise terms and conditions for copying, distribution and 57*806f472eSMichael Großemodification follow. 58*806f472eSMichael Große 59*806f472eSMichael Große GNU GENERAL PUBLIC LICENSE 60*806f472eSMichael Große TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 61*806f472eSMichael Große 62*806f472eSMichael Große 0. This License applies to any program or other work which contains 63*806f472eSMichael Großea notice placed by the copyright holder saying it may be distributed 64*806f472eSMichael Großeunder the terms of this General Public License. The "Program", below, 65*806f472eSMichael Großerefers to any such program or work, and a "work based on the Program" 66*806f472eSMichael Großemeans either the Program or any derivative work under copyright law: 67*806f472eSMichael Großethat is to say, a work containing the Program or a portion of it, 68*806f472eSMichael Großeeither verbatim or with modifications and/or translated into another 69*806f472eSMichael Großelanguage. (Hereinafter, translation is included without limitation in 70*806f472eSMichael Großethe term "modification".) Each licensee is addressed as "you". 71*806f472eSMichael Große 72*806f472eSMichael GroßeActivities other than copying, distribution and modification are not 73*806f472eSMichael Großecovered by this License; they are outside its scope. The act of 74*806f472eSMichael Großerunning the Program is not restricted, and the output from the Program 75*806f472eSMichael Großeis covered only if its contents constitute a work based on the 76*806f472eSMichael GroßeProgram (independent of having been made by running the Program). 77*806f472eSMichael GroßeWhether that is true depends on what the Program does. 78*806f472eSMichael Große 79*806f472eSMichael Große 1. You may copy and distribute verbatim copies of the Program's 80*806f472eSMichael Großesource code as you receive it, in any medium, provided that you 81*806f472eSMichael Großeconspicuously and appropriately publish on each copy an appropriate 82*806f472eSMichael Großecopyright notice and disclaimer of warranty; keep intact all the 83*806f472eSMichael Großenotices that refer to this License and to the absence of any warranty; 84*806f472eSMichael Großeand give any other recipients of the Program a copy of this License 85*806f472eSMichael Großealong with the Program. 86*806f472eSMichael Große 87*806f472eSMichael GroßeYou may charge a fee for the physical act of transferring a copy, and 88*806f472eSMichael Großeyou may at your option offer warranty protection in exchange for a fee. 89*806f472eSMichael Große 90*806f472eSMichael Große 2. You may modify your copy or copies of the Program or any portion 91*806f472eSMichael Großeof it, thus forming a work based on the Program, and copy and 92*806f472eSMichael Großedistribute such modifications or work under the terms of Section 1 93*806f472eSMichael Großeabove, provided that you also meet all of these conditions: 94*806f472eSMichael Große 95*806f472eSMichael Große a) You must cause the modified files to carry prominent notices 96*806f472eSMichael Große stating that you changed the files and the date of any change. 97*806f472eSMichael Große 98*806f472eSMichael Große b) You must cause any work that you distribute or publish, that in 99*806f472eSMichael Große whole or in part contains or is derived from the Program or any 100*806f472eSMichael Große part thereof, to be licensed as a whole at no charge to all third 101*806f472eSMichael Große parties under the terms of this License. 102*806f472eSMichael Große 103*806f472eSMichael Große c) If the modified program normally reads commands interactively 104*806f472eSMichael Große when run, you must cause it, when started running for such 105*806f472eSMichael Große interactive use in the most ordinary way, to print or display an 106*806f472eSMichael Große announcement including an appropriate copyright notice and a 107*806f472eSMichael Große notice that there is no warranty (or else, saying that you provide 108*806f472eSMichael Große a warranty) and that users may redistribute the program under 109*806f472eSMichael Große these conditions, and telling the user how to view a copy of this 110*806f472eSMichael Große License. (Exception: if the Program itself is interactive but 111*806f472eSMichael Große does not normally print such an announcement, your work based on 112*806f472eSMichael Große the Program is not required to print an announcement.) 113*806f472eSMichael Große 114*806f472eSMichael GroßeThese requirements apply to the modified work as a whole. If 115*806f472eSMichael Großeidentifiable sections of that work are not derived from the Program, 116*806f472eSMichael Großeand can be reasonably considered independent and separate works in 117*806f472eSMichael Großethemselves, then this License, and its terms, do not apply to those 118*806f472eSMichael Großesections when you distribute them as separate works. But when you 119*806f472eSMichael Großedistribute the same sections as part of a whole which is a work based 120*806f472eSMichael Großeon the Program, the distribution of the whole must be on the terms of 121*806f472eSMichael Großethis License, whose permissions for other licensees extend to the 122*806f472eSMichael Großeentire whole, and thus to each and every part regardless of who wrote it. 123*806f472eSMichael Große 124*806f472eSMichael GroßeThus, it is not the intent of this section to claim rights or contest 125*806f472eSMichael Großeyour rights to work written entirely by you; rather, the intent is to 126*806f472eSMichael Großeexercise the right to control the distribution of derivative or 127*806f472eSMichael Großecollective works based on the Program. 128*806f472eSMichael Große 129*806f472eSMichael GroßeIn addition, mere aggregation of another work not based on the Program 130*806f472eSMichael Großewith the Program (or with a work based on the Program) on a volume of 131*806f472eSMichael Großea storage or distribution medium does not bring the other work under 132*806f472eSMichael Großethe scope of this License. 133*806f472eSMichael Große 134*806f472eSMichael Große 3. You may copy and distribute the Program (or a work based on it, 135*806f472eSMichael Großeunder Section 2) in object code or executable form under the terms of 136*806f472eSMichael GroßeSections 1 and 2 above provided that you also do one of the following: 137*806f472eSMichael Große 138*806f472eSMichael Große a) Accompany it with the complete corresponding machine-readable 139*806f472eSMichael Große source code, which must be distributed under the terms of Sections 140*806f472eSMichael Große 1 and 2 above on a medium customarily used for software interchange; or, 141*806f472eSMichael Große 142*806f472eSMichael Große b) Accompany it with a written offer, valid for at least three 143*806f472eSMichael Große years, to give any third party, for a charge no more than your 144*806f472eSMichael Große cost of physically performing source distribution, a complete 145*806f472eSMichael Große machine-readable copy of the corresponding source code, to be 146*806f472eSMichael Große distributed under the terms of Sections 1 and 2 above on a medium 147*806f472eSMichael Große customarily used for software interchange; or, 148*806f472eSMichael Große 149*806f472eSMichael Große c) Accompany it with the information you received as to the offer 150*806f472eSMichael Große to distribute corresponding source code. (This alternative is 151*806f472eSMichael Große allowed only for noncommercial distribution and only if you 152*806f472eSMichael Große received the program in object code or executable form with such 153*806f472eSMichael Große an offer, in accord with Subsection b above.) 154*806f472eSMichael Große 155*806f472eSMichael GroßeThe source code for a work means the preferred form of the work for 156*806f472eSMichael Großemaking modifications to it. For an executable work, complete source 157*806f472eSMichael Großecode means all the source code for all modules it contains, plus any 158*806f472eSMichael Großeassociated interface definition files, plus the scripts used to 159*806f472eSMichael Großecontrol compilation and installation of the executable. However, as a 160*806f472eSMichael Großespecial exception, the source code distributed need not include 161*806f472eSMichael Großeanything that is normally distributed (in either source or binary 162*806f472eSMichael Großeform) with the major components (compiler, kernel, and so on) of the 163*806f472eSMichael Großeoperating system on which the executable runs, unless that component 164*806f472eSMichael Großeitself accompanies the executable. 165*806f472eSMichael Große 166*806f472eSMichael GroßeIf distribution of executable or object code is made by offering 167*806f472eSMichael Großeaccess to copy from a designated place, then offering equivalent 168*806f472eSMichael Großeaccess to copy the source code from the same place counts as 169*806f472eSMichael Großedistribution of the source code, even though third parties are not 170*806f472eSMichael Großecompelled to copy the source along with the object code. 171*806f472eSMichael Große 172*806f472eSMichael Große 4. You may not copy, modify, sublicense, or distribute the Program 173*806f472eSMichael Großeexcept as expressly provided under this License. Any attempt 174*806f472eSMichael Großeotherwise to copy, modify, sublicense or distribute the Program is 175*806f472eSMichael Großevoid, and will automatically terminate your rights under this License. 176*806f472eSMichael GroßeHowever, parties who have received copies, or rights, from you under 177*806f472eSMichael Großethis License will not have their licenses terminated so long as such 178*806f472eSMichael Großeparties remain in full compliance. 179*806f472eSMichael Große 180*806f472eSMichael Große 5. You are not required to accept this License, since you have not 181*806f472eSMichael Großesigned it. However, nothing else grants you permission to modify or 182*806f472eSMichael Großedistribute the Program or its derivative works. These actions are 183*806f472eSMichael Großeprohibited by law if you do not accept this License. Therefore, by 184*806f472eSMichael Großemodifying or distributing the Program (or any work based on the 185*806f472eSMichael GroßeProgram), you indicate your acceptance of this License to do so, and 186*806f472eSMichael Großeall its terms and conditions for copying, distributing or modifying 187*806f472eSMichael Großethe Program or works based on it. 188*806f472eSMichael Große 189*806f472eSMichael Große 6. Each time you redistribute the Program (or any work based on the 190*806f472eSMichael GroßeProgram), the recipient automatically receives a license from the 191*806f472eSMichael Großeoriginal licensor to copy, distribute or modify the Program subject to 192*806f472eSMichael Großethese terms and conditions. You may not impose any further 193*806f472eSMichael Großerestrictions on the recipients' exercise of the rights granted herein. 194*806f472eSMichael GroßeYou are not responsible for enforcing compliance by third parties to 195*806f472eSMichael Großethis License. 196*806f472eSMichael Große 197*806f472eSMichael Große 7. If, as a consequence of a court judgment or allegation of patent 198*806f472eSMichael Großeinfringement or for any other reason (not limited to patent issues), 199*806f472eSMichael Großeconditions are imposed on you (whether by court order, agreement or 200*806f472eSMichael Großeotherwise) that contradict the conditions of this License, they do not 201*806f472eSMichael Großeexcuse you from the conditions of this License. If you cannot 202*806f472eSMichael Großedistribute so as to satisfy simultaneously your obligations under this 203*806f472eSMichael GroßeLicense and any other pertinent obligations, then as a consequence you 204*806f472eSMichael Großemay not distribute the Program at all. For example, if a patent 205*806f472eSMichael Großelicense would not permit royalty-free redistribution of the Program by 206*806f472eSMichael Großeall those who receive copies directly or indirectly through you, then 207*806f472eSMichael Großethe only way you could satisfy both it and this License would be to 208*806f472eSMichael Großerefrain entirely from distribution of the Program. 209*806f472eSMichael Große 210*806f472eSMichael GroßeIf any portion of this section is held invalid or unenforceable under 211*806f472eSMichael Großeany particular circumstance, the balance of the section is intended to 212*806f472eSMichael Großeapply and the section as a whole is intended to apply in other 213*806f472eSMichael Großecircumstances. 214*806f472eSMichael Große 215*806f472eSMichael GroßeIt is not the purpose of this section to induce you to infringe any 216*806f472eSMichael Großepatents or other property right claims or to contest validity of any 217*806f472eSMichael Großesuch claims; this section has the sole purpose of protecting the 218*806f472eSMichael Großeintegrity of the free software distribution system, which is 219*806f472eSMichael Großeimplemented by public license practices. Many people have made 220*806f472eSMichael Großegenerous contributions to the wide range of software distributed 221*806f472eSMichael Großethrough that system in reliance on consistent application of that 222*806f472eSMichael Großesystem; it is up to the author/donor to decide if he or she is willing 223*806f472eSMichael Großeto distribute software through any other system and a licensee cannot 224*806f472eSMichael Großeimpose that choice. 225*806f472eSMichael Große 226*806f472eSMichael GroßeThis section is intended to make thoroughly clear what is believed to 227*806f472eSMichael Großebe a consequence of the rest of this License. 228*806f472eSMichael Große 229*806f472eSMichael Große 8. If the distribution and/or use of the Program is restricted in 230*806f472eSMichael Großecertain countries either by patents or by copyrighted interfaces, the 231*806f472eSMichael Großeoriginal copyright holder who places the Program under this License 232*806f472eSMichael Großemay add an explicit geographical distribution limitation excluding 233*806f472eSMichael Großethose countries, so that distribution is permitted only in or among 234*806f472eSMichael Großecountries not thus excluded. In such case, this License incorporates 235*806f472eSMichael Großethe limitation as if written in the body of this License. 236*806f472eSMichael Große 237*806f472eSMichael Große 9. The Free Software Foundation may publish revised and/or new versions 238*806f472eSMichael Großeof the General Public License from time to time. Such new versions will 239*806f472eSMichael Großebe similar in spirit to the present version, but may differ in detail to 240*806f472eSMichael Großeaddress new problems or concerns. 241*806f472eSMichael Große 242*806f472eSMichael GroßeEach version is given a distinguishing version number. If the Program 243*806f472eSMichael Großespecifies a version number of this License which applies to it and "any 244*806f472eSMichael Großelater version", you have the option of following the terms and conditions 245*806f472eSMichael Großeeither of that version or of any later version published by the Free 246*806f472eSMichael GroßeSoftware Foundation. If the Program does not specify a version number of 247*806f472eSMichael Großethis License, you may choose any version ever published by the Free Software 248*806f472eSMichael GroßeFoundation. 249*806f472eSMichael Große 250*806f472eSMichael Große 10. If you wish to incorporate parts of the Program into other free 251*806f472eSMichael Großeprograms whose distribution conditions are different, write to the author 252*806f472eSMichael Großeto ask for permission. For software which is copyrighted by the Free 253*806f472eSMichael GroßeSoftware Foundation, write to the Free Software Foundation; we sometimes 254*806f472eSMichael Großemake exceptions for this. Our decision will be guided by the two goals 255*806f472eSMichael Großeof preserving the free status of all derivatives of our free software and 256*806f472eSMichael Großeof promoting the sharing and reuse of software generally. 257*806f472eSMichael Große 258*806f472eSMichael Große NO WARRANTY 259*806f472eSMichael Große 260*806f472eSMichael Große 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 261*806f472eSMichael GroßeFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 262*806f472eSMichael GroßeOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 263*806f472eSMichael GroßePROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 264*806f472eSMichael GroßeOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 265*806f472eSMichael GroßeMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 266*806f472eSMichael GroßeTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 267*806f472eSMichael GroßePROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 268*806f472eSMichael GroßeREPAIR OR CORRECTION. 269*806f472eSMichael Große 270*806f472eSMichael Große 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 271*806f472eSMichael GroßeWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 272*806f472eSMichael GroßeREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 273*806f472eSMichael GroßeINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 274*806f472eSMichael GroßeOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 275*806f472eSMichael GroßeTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 276*806f472eSMichael GroßeYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 277*806f472eSMichael GroßePROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 278*806f472eSMichael GroßePOSSIBILITY OF SUCH DAMAGES. 279*806f472eSMichael Große 280*806f472eSMichael Große END OF TERMS AND CONDITIONS 281*806f472eSMichael Große 282*806f472eSMichael Große How to Apply These Terms to Your New Programs 283*806f472eSMichael Große 284*806f472eSMichael Große If you develop a new program, and you want it to be of the greatest 285*806f472eSMichael Großepossible use to the public, the best way to achieve this is to make it 286*806f472eSMichael Großefree software which everyone can redistribute and change under these terms. 287*806f472eSMichael Große 288*806f472eSMichael Große To do so, attach the following notices to the program. It is safest 289*806f472eSMichael Großeto attach them to the start of each source file to most effectively 290*806f472eSMichael Großeconvey the exclusion of warranty; and each file should have at least 291*806f472eSMichael Großethe "copyright" line and a pointer to where the full notice is found. 292*806f472eSMichael Große 293*806f472eSMichael Große {description} 294*806f472eSMichael Große Copyright (C) {year} {fullname} 295*806f472eSMichael Große 296*806f472eSMichael Große This program is free software; you can redistribute it and/or modify 297*806f472eSMichael Große it under the terms of the GNU General Public License as published by 298*806f472eSMichael Große the Free Software Foundation; either version 2 of the License, or 299*806f472eSMichael Große (at your option) any later version. 300*806f472eSMichael Große 301*806f472eSMichael Große This program is distributed in the hope that it will be useful, 302*806f472eSMichael Große but WITHOUT ANY WARRANTY; without even the implied warranty of 303*806f472eSMichael Große MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 304*806f472eSMichael Große GNU General Public License for more details. 305*806f472eSMichael Große 306*806f472eSMichael Große You should have received a copy of the GNU General Public License along 307*806f472eSMichael Große with this program; if not, write to the Free Software Foundation, Inc., 308*806f472eSMichael Große 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 309*806f472eSMichael Große 310*806f472eSMichael GroßeAlso add information on how to contact you by electronic and paper mail. 311*806f472eSMichael Große 312*806f472eSMichael GroßeIf the program is interactive, make it output a short notice like this 313*806f472eSMichael Großewhen it starts in an interactive mode: 314*806f472eSMichael Große 315*806f472eSMichael Große Gnomovision version 69, Copyright (C) year name of author 316*806f472eSMichael Große Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 317*806f472eSMichael Große This is free software, and you are welcome to redistribute it 318*806f472eSMichael Große under certain conditions; type `show c' for details. 319*806f472eSMichael Große 320*806f472eSMichael GroßeThe hypothetical commands `show w' and `show c' should show the appropriate 321*806f472eSMichael Großeparts of the General Public License. Of course, the commands you use may 322*806f472eSMichael Großebe called something other than `show w' and `show c'; they could even be 323*806f472eSMichael Großemouse-clicks or menu items--whatever suits your program. 324*806f472eSMichael Große 325*806f472eSMichael GroßeYou should also get your employer (if you work as a programmer) or your 326*806f472eSMichael Großeschool, if any, to sign a "copyright disclaimer" for the program, if 327*806f472eSMichael Großenecessary. Here is a sample; alter the names: 328*806f472eSMichael Große 329*806f472eSMichael Große Yoyodyne, Inc., hereby disclaims all copyright interest in the program 330*806f472eSMichael Große `Gnomovision' (which makes passes at compilers) written by James Hacker. 331*806f472eSMichael Große 332*806f472eSMichael Große {signature of Ty Coon}, 1 April 1989 333*806f472eSMichael Große Ty Coon, President of Vice 334*806f472eSMichael Große 335*806f472eSMichael GroßeThis General Public License does not permit incorporating your program into 336*806f472eSMichael Großeproprietary programs. If your program is a subroutine library, you may 337*806f472eSMichael Großeconsider it more useful to permit linking proprietary applications with the 338*806f472eSMichael Großelibrary. If this is what you want to do, use the GNU Lesser General 339*806f472eSMichael GroßePublic License instead of this License. 340*806f472eSMichael Große 341*806f472eSMichael Große 342