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