1*36c0b2b4SAndreas Gohr GNU GENERAL PUBLIC LICENSE 2*36c0b2b4SAndreas Gohr Version 2, June 1991 3*36c0b2b4SAndreas Gohr 4*36c0b2b4SAndreas Gohr Copyright (C) 1989, 1991 Free Software Foundation, Inc., 5*36c0b2b4SAndreas Gohr 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 6*36c0b2b4SAndreas Gohr Everyone is permitted to copy and distribute verbatim copies 7*36c0b2b4SAndreas Gohr of this license document, but changing it is not allowed. 8*36c0b2b4SAndreas Gohr 9*36c0b2b4SAndreas Gohr Preamble 10*36c0b2b4SAndreas Gohr 11*36c0b2b4SAndreas Gohr The licenses for most software are designed to take away your 12*36c0b2b4SAndreas Gohrfreedom to share and change it. By contrast, the GNU General Public 13*36c0b2b4SAndreas GohrLicense is intended to guarantee your freedom to share and change free 14*36c0b2b4SAndreas Gohrsoftware--to make sure the software is free for all its users. This 15*36c0b2b4SAndreas GohrGeneral Public License applies to most of the Free Software 16*36c0b2b4SAndreas GohrFoundation's software and to any other program whose authors commit to 17*36c0b2b4SAndreas Gohrusing it. (Some other Free Software Foundation software is covered by 18*36c0b2b4SAndreas Gohrthe GNU Lesser General Public License instead.) You can apply it to 19*36c0b2b4SAndreas Gohryour programs, too. 20*36c0b2b4SAndreas Gohr 21*36c0b2b4SAndreas Gohr When we speak of free software, we are referring to freedom, not 22*36c0b2b4SAndreas Gohrprice. Our General Public Licenses are designed to make sure that you 23*36c0b2b4SAndreas Gohrhave the freedom to distribute copies of free software (and charge for 24*36c0b2b4SAndreas Gohrthis service if you wish), that you receive source code or can get it 25*36c0b2b4SAndreas Gohrif you want it, that you can change the software or use pieces of it 26*36c0b2b4SAndreas Gohrin new free programs; and that you know you can do these things. 27*36c0b2b4SAndreas Gohr 28*36c0b2b4SAndreas Gohr To protect your rights, we need to make restrictions that forbid 29*36c0b2b4SAndreas Gohranyone to deny you these rights or to ask you to surrender the rights. 30*36c0b2b4SAndreas GohrThese restrictions translate to certain responsibilities for you if you 31*36c0b2b4SAndreas Gohrdistribute copies of the software, or if you modify it. 32*36c0b2b4SAndreas Gohr 33*36c0b2b4SAndreas Gohr For example, if you distribute copies of such a program, whether 34*36c0b2b4SAndreas Gohrgratis or for a fee, you must give the recipients all the rights that 35*36c0b2b4SAndreas Gohryou have. You must make sure that they, too, receive or can get the 36*36c0b2b4SAndreas Gohrsource code. And you must show them these terms so they know their 37*36c0b2b4SAndreas Gohrrights. 38*36c0b2b4SAndreas Gohr 39*36c0b2b4SAndreas Gohr We protect your rights with two steps: (1) copyright the software, and 40*36c0b2b4SAndreas Gohr(2) offer you this license which gives you legal permission to copy, 41*36c0b2b4SAndreas Gohrdistribute and/or modify the software. 42*36c0b2b4SAndreas Gohr 43*36c0b2b4SAndreas Gohr Also, for each author's protection and ours, we want to make certain 44*36c0b2b4SAndreas Gohrthat everyone understands that there is no warranty for this free 45*36c0b2b4SAndreas Gohrsoftware. If the software is modified by someone else and passed on, we 46*36c0b2b4SAndreas Gohrwant its recipients to know that what they have is not the original, so 47*36c0b2b4SAndreas Gohrthat any problems introduced by others will not reflect on the original 48*36c0b2b4SAndreas Gohrauthors' reputations. 49*36c0b2b4SAndreas Gohr 50*36c0b2b4SAndreas Gohr Finally, any free program is threatened constantly by software 51*36c0b2b4SAndreas Gohrpatents. We wish to avoid the danger that redistributors of a free 52*36c0b2b4SAndreas Gohrprogram will individually obtain patent licenses, in effect making the 53*36c0b2b4SAndreas Gohrprogram proprietary. To prevent this, we have made it clear that any 54*36c0b2b4SAndreas Gohrpatent must be licensed for everyone's free use or not licensed at all. 55*36c0b2b4SAndreas Gohr 56*36c0b2b4SAndreas Gohr The precise terms and conditions for copying, distribution and 57*36c0b2b4SAndreas Gohrmodification follow. 58*36c0b2b4SAndreas Gohr 59*36c0b2b4SAndreas Gohr GNU GENERAL PUBLIC LICENSE 60*36c0b2b4SAndreas Gohr TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 61*36c0b2b4SAndreas Gohr 62*36c0b2b4SAndreas Gohr 0. This License applies to any program or other work which contains 63*36c0b2b4SAndreas Gohra notice placed by the copyright holder saying it may be distributed 64*36c0b2b4SAndreas Gohrunder the terms of this General Public License. The "Program", below, 65*36c0b2b4SAndreas Gohrrefers to any such program or work, and a "work based on the Program" 66*36c0b2b4SAndreas Gohrmeans either the Program or any derivative work under copyright law: 67*36c0b2b4SAndreas Gohrthat is to say, a work containing the Program or a portion of it, 68*36c0b2b4SAndreas Gohreither verbatim or with modifications and/or translated into another 69*36c0b2b4SAndreas Gohrlanguage. (Hereinafter, translation is included without limitation in 70*36c0b2b4SAndreas Gohrthe term "modification".) Each licensee is addressed as "you". 71*36c0b2b4SAndreas Gohr 72*36c0b2b4SAndreas GohrActivities other than copying, distribution and modification are not 73*36c0b2b4SAndreas Gohrcovered by this License; they are outside its scope. The act of 74*36c0b2b4SAndreas Gohrrunning the Program is not restricted, and the output from the Program 75*36c0b2b4SAndreas Gohris covered only if its contents constitute a work based on the 76*36c0b2b4SAndreas GohrProgram (independent of having been made by running the Program). 77*36c0b2b4SAndreas GohrWhether that is true depends on what the Program does. 78*36c0b2b4SAndreas Gohr 79*36c0b2b4SAndreas Gohr 1. You may copy and distribute verbatim copies of the Program's 80*36c0b2b4SAndreas Gohrsource code as you receive it, in any medium, provided that you 81*36c0b2b4SAndreas Gohrconspicuously and appropriately publish on each copy an appropriate 82*36c0b2b4SAndreas Gohrcopyright notice and disclaimer of warranty; keep intact all the 83*36c0b2b4SAndreas Gohrnotices that refer to this License and to the absence of any warranty; 84*36c0b2b4SAndreas Gohrand give any other recipients of the Program a copy of this License 85*36c0b2b4SAndreas Gohralong with the Program. 86*36c0b2b4SAndreas Gohr 87*36c0b2b4SAndreas GohrYou may charge a fee for the physical act of transferring a copy, and 88*36c0b2b4SAndreas Gohryou may at your option offer warranty protection in exchange for a fee. 89*36c0b2b4SAndreas Gohr 90*36c0b2b4SAndreas Gohr 2. You may modify your copy or copies of the Program or any portion 91*36c0b2b4SAndreas Gohrof it, thus forming a work based on the Program, and copy and 92*36c0b2b4SAndreas Gohrdistribute such modifications or work under the terms of Section 1 93*36c0b2b4SAndreas Gohrabove, provided that you also meet all of these conditions: 94*36c0b2b4SAndreas Gohr 95*36c0b2b4SAndreas Gohr a) You must cause the modified files to carry prominent notices 96*36c0b2b4SAndreas Gohr stating that you changed the files and the date of any change. 97*36c0b2b4SAndreas Gohr 98*36c0b2b4SAndreas Gohr b) You must cause any work that you distribute or publish, that in 99*36c0b2b4SAndreas Gohr whole or in part contains or is derived from the Program or any 100*36c0b2b4SAndreas Gohr part thereof, to be licensed as a whole at no charge to all third 101*36c0b2b4SAndreas Gohr parties under the terms of this License. 102*36c0b2b4SAndreas Gohr 103*36c0b2b4SAndreas Gohr c) If the modified program normally reads commands interactively 104*36c0b2b4SAndreas Gohr when run, you must cause it, when started running for such 105*36c0b2b4SAndreas Gohr interactive use in the most ordinary way, to print or display an 106*36c0b2b4SAndreas Gohr announcement including an appropriate copyright notice and a 107*36c0b2b4SAndreas Gohr notice that there is no warranty (or else, saying that you provide 108*36c0b2b4SAndreas Gohr a warranty) and that users may redistribute the program under 109*36c0b2b4SAndreas Gohr these conditions, and telling the user how to view a copy of this 110*36c0b2b4SAndreas Gohr License. (Exception: if the Program itself is interactive but 111*36c0b2b4SAndreas Gohr does not normally print such an announcement, your work based on 112*36c0b2b4SAndreas Gohr the Program is not required to print an announcement.) 113*36c0b2b4SAndreas Gohr 114*36c0b2b4SAndreas GohrThese requirements apply to the modified work as a whole. If 115*36c0b2b4SAndreas Gohridentifiable sections of that work are not derived from the Program, 116*36c0b2b4SAndreas Gohrand can be reasonably considered independent and separate works in 117*36c0b2b4SAndreas Gohrthemselves, then this License, and its terms, do not apply to those 118*36c0b2b4SAndreas Gohrsections when you distribute them as separate works. But when you 119*36c0b2b4SAndreas Gohrdistribute the same sections as part of a whole which is a work based 120*36c0b2b4SAndreas Gohron the Program, the distribution of the whole must be on the terms of 121*36c0b2b4SAndreas Gohrthis License, whose permissions for other licensees extend to the 122*36c0b2b4SAndreas Gohrentire whole, and thus to each and every part regardless of who wrote it. 123*36c0b2b4SAndreas Gohr 124*36c0b2b4SAndreas GohrThus, it is not the intent of this section to claim rights or contest 125*36c0b2b4SAndreas Gohryour rights to work written entirely by you; rather, the intent is to 126*36c0b2b4SAndreas Gohrexercise the right to control the distribution of derivative or 127*36c0b2b4SAndreas Gohrcollective works based on the Program. 128*36c0b2b4SAndreas Gohr 129*36c0b2b4SAndreas GohrIn addition, mere aggregation of another work not based on the Program 130*36c0b2b4SAndreas Gohrwith the Program (or with a work based on the Program) on a volume of 131*36c0b2b4SAndreas Gohra storage or distribution medium does not bring the other work under 132*36c0b2b4SAndreas Gohrthe scope of this License. 133*36c0b2b4SAndreas Gohr 134*36c0b2b4SAndreas Gohr 3. You may copy and distribute the Program (or a work based on it, 135*36c0b2b4SAndreas Gohrunder Section 2) in object code or executable form under the terms of 136*36c0b2b4SAndreas GohrSections 1 and 2 above provided that you also do one of the following: 137*36c0b2b4SAndreas Gohr 138*36c0b2b4SAndreas Gohr a) Accompany it with the complete corresponding machine-readable 139*36c0b2b4SAndreas Gohr source code, which must be distributed under the terms of Sections 140*36c0b2b4SAndreas Gohr 1 and 2 above on a medium customarily used for software interchange; or, 141*36c0b2b4SAndreas Gohr 142*36c0b2b4SAndreas Gohr b) Accompany it with a written offer, valid for at least three 143*36c0b2b4SAndreas Gohr years, to give any third party, for a charge no more than your 144*36c0b2b4SAndreas Gohr cost of physically performing source distribution, a complete 145*36c0b2b4SAndreas Gohr machine-readable copy of the corresponding source code, to be 146*36c0b2b4SAndreas Gohr distributed under the terms of Sections 1 and 2 above on a medium 147*36c0b2b4SAndreas Gohr customarily used for software interchange; or, 148*36c0b2b4SAndreas Gohr 149*36c0b2b4SAndreas Gohr c) Accompany it with the information you received as to the offer 150*36c0b2b4SAndreas Gohr to distribute corresponding source code. (This alternative is 151*36c0b2b4SAndreas Gohr allowed only for noncommercial distribution and only if you 152*36c0b2b4SAndreas Gohr received the program in object code or executable form with such 153*36c0b2b4SAndreas Gohr an offer, in accord with Subsection b above.) 154*36c0b2b4SAndreas Gohr 155*36c0b2b4SAndreas GohrThe source code for a work means the preferred form of the work for 156*36c0b2b4SAndreas Gohrmaking modifications to it. For an executable work, complete source 157*36c0b2b4SAndreas Gohrcode means all the source code for all modules it contains, plus any 158*36c0b2b4SAndreas Gohrassociated interface definition files, plus the scripts used to 159*36c0b2b4SAndreas Gohrcontrol compilation and installation of the executable. However, as a 160*36c0b2b4SAndreas Gohrspecial exception, the source code distributed need not include 161*36c0b2b4SAndreas Gohranything that is normally distributed (in either source or binary 162*36c0b2b4SAndreas Gohrform) with the major components (compiler, kernel, and so on) of the 163*36c0b2b4SAndreas Gohroperating system on which the executable runs, unless that component 164*36c0b2b4SAndreas Gohritself accompanies the executable. 165*36c0b2b4SAndreas Gohr 166*36c0b2b4SAndreas GohrIf distribution of executable or object code is made by offering 167*36c0b2b4SAndreas Gohraccess to copy from a designated place, then offering equivalent 168*36c0b2b4SAndreas Gohraccess to copy the source code from the same place counts as 169*36c0b2b4SAndreas Gohrdistribution of the source code, even though third parties are not 170*36c0b2b4SAndreas Gohrcompelled to copy the source along with the object code. 171*36c0b2b4SAndreas Gohr 172*36c0b2b4SAndreas Gohr 4. You may not copy, modify, sublicense, or distribute the Program 173*36c0b2b4SAndreas Gohrexcept as expressly provided under this License. Any attempt 174*36c0b2b4SAndreas Gohrotherwise to copy, modify, sublicense or distribute the Program is 175*36c0b2b4SAndreas Gohrvoid, and will automatically terminate your rights under this License. 176*36c0b2b4SAndreas GohrHowever, parties who have received copies, or rights, from you under 177*36c0b2b4SAndreas Gohrthis License will not have their licenses terminated so long as such 178*36c0b2b4SAndreas Gohrparties remain in full compliance. 179*36c0b2b4SAndreas Gohr 180*36c0b2b4SAndreas Gohr 5. You are not required to accept this License, since you have not 181*36c0b2b4SAndreas Gohrsigned it. However, nothing else grants you permission to modify or 182*36c0b2b4SAndreas Gohrdistribute the Program or its derivative works. These actions are 183*36c0b2b4SAndreas Gohrprohibited by law if you do not accept this License. Therefore, by 184*36c0b2b4SAndreas Gohrmodifying or distributing the Program (or any work based on the 185*36c0b2b4SAndreas GohrProgram), you indicate your acceptance of this License to do so, and 186*36c0b2b4SAndreas Gohrall its terms and conditions for copying, distributing or modifying 187*36c0b2b4SAndreas Gohrthe Program or works based on it. 188*36c0b2b4SAndreas Gohr 189*36c0b2b4SAndreas Gohr 6. Each time you redistribute the Program (or any work based on the 190*36c0b2b4SAndreas GohrProgram), the recipient automatically receives a license from the 191*36c0b2b4SAndreas Gohroriginal licensor to copy, distribute or modify the Program subject to 192*36c0b2b4SAndreas Gohrthese terms and conditions. You may not impose any further 193*36c0b2b4SAndreas Gohrrestrictions on the recipients' exercise of the rights granted herein. 194*36c0b2b4SAndreas GohrYou are not responsible for enforcing compliance by third parties to 195*36c0b2b4SAndreas Gohrthis License. 196*36c0b2b4SAndreas Gohr 197*36c0b2b4SAndreas Gohr 7. If, as a consequence of a court judgment or allegation of patent 198*36c0b2b4SAndreas Gohrinfringement or for any other reason (not limited to patent issues), 199*36c0b2b4SAndreas Gohrconditions are imposed on you (whether by court order, agreement or 200*36c0b2b4SAndreas Gohrotherwise) that contradict the conditions of this License, they do not 201*36c0b2b4SAndreas Gohrexcuse you from the conditions of this License. If you cannot 202*36c0b2b4SAndreas Gohrdistribute so as to satisfy simultaneously your obligations under this 203*36c0b2b4SAndreas GohrLicense and any other pertinent obligations, then as a consequence you 204*36c0b2b4SAndreas Gohrmay not distribute the Program at all. For example, if a patent 205*36c0b2b4SAndreas Gohrlicense would not permit royalty-free redistribution of the Program by 206*36c0b2b4SAndreas Gohrall those who receive copies directly or indirectly through you, then 207*36c0b2b4SAndreas Gohrthe only way you could satisfy both it and this License would be to 208*36c0b2b4SAndreas Gohrrefrain entirely from distribution of the Program. 209*36c0b2b4SAndreas Gohr 210*36c0b2b4SAndreas GohrIf any portion of this section is held invalid or unenforceable under 211*36c0b2b4SAndreas Gohrany particular circumstance, the balance of the section is intended to 212*36c0b2b4SAndreas Gohrapply and the section as a whole is intended to apply in other 213*36c0b2b4SAndreas Gohrcircumstances. 214*36c0b2b4SAndreas Gohr 215*36c0b2b4SAndreas GohrIt is not the purpose of this section to induce you to infringe any 216*36c0b2b4SAndreas Gohrpatents or other property right claims or to contest validity of any 217*36c0b2b4SAndreas Gohrsuch claims; this section has the sole purpose of protecting the 218*36c0b2b4SAndreas Gohrintegrity of the free software distribution system, which is 219*36c0b2b4SAndreas Gohrimplemented by public license practices. Many people have made 220*36c0b2b4SAndreas Gohrgenerous contributions to the wide range of software distributed 221*36c0b2b4SAndreas Gohrthrough that system in reliance on consistent application of that 222*36c0b2b4SAndreas Gohrsystem; it is up to the author/donor to decide if he or she is willing 223*36c0b2b4SAndreas Gohrto distribute software through any other system and a licensee cannot 224*36c0b2b4SAndreas Gohrimpose that choice. 225*36c0b2b4SAndreas Gohr 226*36c0b2b4SAndreas GohrThis section is intended to make thoroughly clear what is believed to 227*36c0b2b4SAndreas Gohrbe a consequence of the rest of this License. 228*36c0b2b4SAndreas Gohr 229*36c0b2b4SAndreas Gohr 8. If the distribution and/or use of the Program is restricted in 230*36c0b2b4SAndreas Gohrcertain countries either by patents or by copyrighted interfaces, the 231*36c0b2b4SAndreas Gohroriginal copyright holder who places the Program under this License 232*36c0b2b4SAndreas Gohrmay add an explicit geographical distribution limitation excluding 233*36c0b2b4SAndreas Gohrthose countries, so that distribution is permitted only in or among 234*36c0b2b4SAndreas Gohrcountries not thus excluded. In such case, this License incorporates 235*36c0b2b4SAndreas Gohrthe limitation as if written in the body of this License. 236*36c0b2b4SAndreas Gohr 237*36c0b2b4SAndreas Gohr 9. The Free Software Foundation may publish revised and/or new versions 238*36c0b2b4SAndreas Gohrof the General Public License from time to time. Such new versions will 239*36c0b2b4SAndreas Gohrbe similar in spirit to the present version, but may differ in detail to 240*36c0b2b4SAndreas Gohraddress new problems or concerns. 241*36c0b2b4SAndreas Gohr 242*36c0b2b4SAndreas GohrEach version is given a distinguishing version number. If the Program 243*36c0b2b4SAndreas Gohrspecifies a version number of this License which applies to it and "any 244*36c0b2b4SAndreas Gohrlater version", you have the option of following the terms and conditions 245*36c0b2b4SAndreas Gohreither of that version or of any later version published by the Free 246*36c0b2b4SAndreas GohrSoftware Foundation. If the Program does not specify a version number of 247*36c0b2b4SAndreas Gohrthis License, you may choose any version ever published by the Free Software 248*36c0b2b4SAndreas GohrFoundation. 249*36c0b2b4SAndreas Gohr 250*36c0b2b4SAndreas Gohr 10. If you wish to incorporate parts of the Program into other free 251*36c0b2b4SAndreas Gohrprograms whose distribution conditions are different, write to the author 252*36c0b2b4SAndreas Gohrto ask for permission. For software which is copyrighted by the Free 253*36c0b2b4SAndreas GohrSoftware Foundation, write to the Free Software Foundation; we sometimes 254*36c0b2b4SAndreas Gohrmake exceptions for this. Our decision will be guided by the two goals 255*36c0b2b4SAndreas Gohrof preserving the free status of all derivatives of our free software and 256*36c0b2b4SAndreas Gohrof promoting the sharing and reuse of software generally. 257*36c0b2b4SAndreas Gohr 258*36c0b2b4SAndreas Gohr NO WARRANTY 259*36c0b2b4SAndreas Gohr 260*36c0b2b4SAndreas Gohr 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 261*36c0b2b4SAndreas GohrFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 262*36c0b2b4SAndreas GohrOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 263*36c0b2b4SAndreas GohrPROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 264*36c0b2b4SAndreas GohrOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 265*36c0b2b4SAndreas GohrMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 266*36c0b2b4SAndreas GohrTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 267*36c0b2b4SAndreas GohrPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 268*36c0b2b4SAndreas GohrREPAIR OR CORRECTION. 269*36c0b2b4SAndreas Gohr 270*36c0b2b4SAndreas Gohr 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 271*36c0b2b4SAndreas GohrWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 272*36c0b2b4SAndreas GohrREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 273*36c0b2b4SAndreas GohrINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 274*36c0b2b4SAndreas GohrOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 275*36c0b2b4SAndreas GohrTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 276*36c0b2b4SAndreas GohrYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 277*36c0b2b4SAndreas GohrPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 278*36c0b2b4SAndreas GohrPOSSIBILITY OF SUCH DAMAGES. 279*36c0b2b4SAndreas Gohr 280*36c0b2b4SAndreas Gohr END OF TERMS AND CONDITIONS 281*36c0b2b4SAndreas Gohr 282*36c0b2b4SAndreas Gohr How to Apply These Terms to Your New Programs 283*36c0b2b4SAndreas Gohr 284*36c0b2b4SAndreas Gohr If you develop a new program, and you want it to be of the greatest 285*36c0b2b4SAndreas Gohrpossible use to the public, the best way to achieve this is to make it 286*36c0b2b4SAndreas Gohrfree software which everyone can redistribute and change under these terms. 287*36c0b2b4SAndreas Gohr 288*36c0b2b4SAndreas Gohr To do so, attach the following notices to the program. It is safest 289*36c0b2b4SAndreas Gohrto attach them to the start of each source file to most effectively 290*36c0b2b4SAndreas Gohrconvey the exclusion of warranty; and each file should have at least 291*36c0b2b4SAndreas Gohrthe "copyright" line and a pointer to where the full notice is found. 292*36c0b2b4SAndreas Gohr 293*36c0b2b4SAndreas Gohr <one line to give the program's name and a brief idea of what it does.> 294*36c0b2b4SAndreas Gohr Copyright (C) <year> <name of author> 295*36c0b2b4SAndreas Gohr 296*36c0b2b4SAndreas Gohr This program is free software; you can redistribute it and/or modify 297*36c0b2b4SAndreas Gohr it under the terms of the GNU General Public License as published by 298*36c0b2b4SAndreas Gohr the Free Software Foundation; either version 2 of the License, or 299*36c0b2b4SAndreas Gohr (at your option) any later version. 300*36c0b2b4SAndreas Gohr 301*36c0b2b4SAndreas Gohr This program is distributed in the hope that it will be useful, 302*36c0b2b4SAndreas Gohr but WITHOUT ANY WARRANTY; without even the implied warranty of 303*36c0b2b4SAndreas Gohr MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 304*36c0b2b4SAndreas Gohr GNU General Public License for more details. 305*36c0b2b4SAndreas Gohr 306*36c0b2b4SAndreas Gohr You should have received a copy of the GNU General Public License along 307*36c0b2b4SAndreas Gohr with this program; if not, write to the Free Software Foundation, Inc., 308*36c0b2b4SAndreas Gohr 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 309*36c0b2b4SAndreas Gohr 310*36c0b2b4SAndreas GohrAlso add information on how to contact you by electronic and paper mail. 311*36c0b2b4SAndreas Gohr 312*36c0b2b4SAndreas GohrIf the program is interactive, make it output a short notice like this 313*36c0b2b4SAndreas Gohrwhen it starts in an interactive mode: 314*36c0b2b4SAndreas Gohr 315*36c0b2b4SAndreas Gohr Gnomovision version 69, Copyright (C) year name of author 316*36c0b2b4SAndreas Gohr Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 317*36c0b2b4SAndreas Gohr This is free software, and you are welcome to redistribute it 318*36c0b2b4SAndreas Gohr under certain conditions; type `show c' for details. 319*36c0b2b4SAndreas Gohr 320*36c0b2b4SAndreas GohrThe hypothetical commands `show w' and `show c' should show the appropriate 321*36c0b2b4SAndreas Gohrparts of the General Public License. Of course, the commands you use may 322*36c0b2b4SAndreas Gohrbe called something other than `show w' and `show c'; they could even be 323*36c0b2b4SAndreas Gohrmouse-clicks or menu items--whatever suits your program. 324*36c0b2b4SAndreas Gohr 325*36c0b2b4SAndreas GohrYou should also get your employer (if you work as a programmer) or your 326*36c0b2b4SAndreas Gohrschool, if any, to sign a "copyright disclaimer" for the program, if 327*36c0b2b4SAndreas Gohrnecessary. Here is a sample; alter the names: 328*36c0b2b4SAndreas Gohr 329*36c0b2b4SAndreas Gohr Yoyodyne, Inc., hereby disclaims all copyright interest in the program 330*36c0b2b4SAndreas Gohr `Gnomovision' (which makes passes at compilers) written by James Hacker. 331*36c0b2b4SAndreas Gohr 332*36c0b2b4SAndreas Gohr <signature of Ty Coon>, 1 April 1989 333*36c0b2b4SAndreas Gohr Ty Coon, President of Vice 334*36c0b2b4SAndreas Gohr 335*36c0b2b4SAndreas GohrThis General Public License does not permit incorporating your program into 336*36c0b2b4SAndreas Gohrproprietary programs. If your program is a subroutine library, you may 337*36c0b2b4SAndreas Gohrconsider it more useful to permit linking proprietary applications with the 338*36c0b2b4SAndreas Gohrlibrary. If this is what you want to do, use the GNU Lesser General 339*36c0b2b4SAndreas GohrPublic License instead of this License. 340