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