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