franck@0: GNU GENERAL PUBLIC LICENSE franck@0: franck@0: Version 2, June 1991 franck@0: franck@0: Copyright (C) 1989, 1991 Free Software Foundation, Inc. 675 Mass Ave, franck@0: Cambridge, MA 02139, USA. Everyone is permitted to copy and distribute franck@0: verbatim copies of this license document, but changing it is not allowed. franck@0: franck@0: Preamble franck@0: franck@0: The licenses for most software are designed to take away your freedom to franck@0: share and change it. By contrast, the GNU General Public License is franck@0: intended to guarantee your freedom to share and change free software--to franck@0: make sure the software is free for all its users. This General Public License franck@0: applies to most of the Free Software Foundation's software and to any other franck@0: program whose authors commit to using it. (Some other Free Software franck@0: Foundation software is covered by the GNU Library General Public License franck@0: instead.) You can apply it to your programs, too. franck@0: franck@0: When we speak of free software, we are referring to freedom, not price. Our franck@0: General Public Licenses are designed to make sure that you have the franck@0: freedom to distribute copies of free software (and charge for this service if franck@0: you wish), that you receive source code or can get it if you want it, that you franck@0: can change the software or use pieces of it in new free programs; and that franck@0: you know you can do these things. franck@0: franck@0: To protect your rights, we need to make restrictions that forbid anyone to franck@0: deny you these rights or to ask you to surrender the rights. These restrictions franck@0: translate to certain responsibilities for you if you distribute copies of the franck@0: software, or if you modify it. franck@0: franck@0: For example, if you distribute copies of such a program, whether gratis or for franck@0: a fee, you must give the recipients all the rights that you have. You must make franck@0: sure that they, too, receive or can get the source code. And you must show franck@0: them these terms so they know their rights. franck@0: franck@0: We protect your rights with two steps: (1) copyright the software, and (2) franck@0: offer you this license which gives you legal permission to copy, distribute franck@0: and/or modify the software. franck@0: franck@0: Also, for each author's protection and ours, we want to make certain that franck@0: everyone understands that there is no warranty for this free software. If the franck@0: software is modified by someone else and passed on, we want its recipients franck@0: to know that what they have is not the original, so that any problems franck@0: introduced by others will not reflect on the original authors' reputations. franck@0: franck@0: Finally, any free program is threatened constantly by software patents. We franck@0: wish to avoid the danger that redistributors of a free program will individually franck@0: obtain patent licenses, in effect making the program proprietary. To prevent franck@0: this, we have made it clear that any patent must be licensed for everyone's franck@0: free use or not licensed at all. franck@0: franck@0: The precise terms and conditions for copying, distribution and modification franck@0: follow. franck@0: franck@0: GNU GENERAL PUBLIC LICENSE franck@0: TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND franck@0: MODIFICATION franck@0: franck@0: 0. This License applies to any program or other work which contains a notice franck@0: placed by the copyright holder saying it may be distributed under the terms franck@0: of this General Public License. The "Program", below, refers to any such franck@0: program or work, and a "work based on the Program" means either the franck@0: Program or any derivative work under copyright law: that is to say, a work franck@0: containing the Program or a portion of it, either verbatim or with franck@0: modifications and/or translated into another language. (Hereinafter, translation franck@0: is included without limitation in the term "modification".) Each licensee is franck@0: addressed as "you". franck@0: franck@0: Activities other than copying, distribution and modification are not covered franck@0: by this License; they are outside its scope. The act of running the Program is franck@0: not restricted, and the output from the Program is covered only if its contents franck@0: constitute a work based on the Program (independent of having been made franck@0: by running the Program). Whether that is true depends on what the Program franck@0: does. franck@0: franck@0: 1. You may copy and distribute verbatim copies of the Program's source franck@0: code as you receive it, in any medium, provided that you conspicuously and franck@0: appropriately publish on each copy an appropriate copyright notice and franck@0: disclaimer of warranty; keep intact all the notices that refer to this License franck@0: and to the absence of any warranty; and give any other recipients of the franck@0: Program a copy of this License along with the Program. franck@0: franck@0: You may charge a fee for the physical act of transferring a copy, and you franck@0: may at your option offer warranty protection in exchange for a fee. franck@0: franck@0: 2. You may modify your copy or copies of the Program or any portion of it, franck@0: thus forming a work based on the Program, and copy and distribute such franck@0: modifications or work under the terms of Section 1 above, provided that you franck@0: also meet all of these conditions: franck@0: franck@0: a) You must cause the modified files to carry prominent notices stating that franck@0: you changed the files and the date of any change. franck@0: franck@0: b) You must cause any work that you distribute or publish, that in whole or in franck@0: part contains or is derived from the Program or any part thereof, to be franck@0: licensed as a whole at no charge to all third parties under the terms of this franck@0: License. franck@0: franck@0: c) If the modified program normally reads commands interactively when run, franck@0: you must cause it, when started running for such interactive use in the most franck@0: ordinary way, to print or display an announcement including an appropriate franck@0: copyright notice and a notice that there is no warranty (or else, saying that franck@0: you provide a warranty) and that users may redistribute the program under franck@0: these conditions, and telling the user how to view a copy of this License. franck@0: (Exception: if the Program itself is interactive but does not normally print such franck@0: an announcement, your work based on the Program is not required to print franck@0: an announcement.) franck@0: franck@0: These requirements apply to the modified work as a whole. If identifiable franck@0: sections of that work are not derived from the Program, and can be franck@0: reasonably considered independent and separate works in themselves, then franck@0: this License, and its terms, do not apply to those sections when you distribute franck@0: them as separate works. But when you distribute the same sections as part franck@0: of a whole which is a work based on the Program, the distribution of the franck@0: whole must be on the terms of this License, whose permissions for other franck@0: licensees extend to the entire whole, and thus to each and every part franck@0: regardless of who wrote it. franck@0: franck@0: Thus, it is not the intent of this section to claim rights or contest your rights to franck@0: work written entirely by you; rather, the intent is to exercise the right to franck@0: control the distribution of derivative or collective works based on the franck@0: Program. franck@0: franck@0: In addition, mere aggregation of another work not based on the Program franck@0: with the Program (or with a work based on the Program) on a volume of a franck@0: storage or distribution medium does not bring the other work under the scope franck@0: of this License. franck@0: franck@0: 3. You may copy and distribute the Program (or a work based on it, under franck@0: Section 2) in object code or executable form under the terms of Sections 1 franck@0: and 2 above provided that you also do one of the following: franck@0: franck@0: a) Accompany it with the complete corresponding machine-readable source franck@0: code, which must be distributed under the terms of Sections 1 and 2 above franck@0: on a medium customarily used for software interchange; or, franck@0: franck@0: b) Accompany it with a written offer, valid for at least three years, to give franck@0: any third party, for a charge no more than your cost of physically performing franck@0: source distribution, a complete machine-readable copy of the corresponding franck@0: source code, to be distributed under the terms of Sections 1 and 2 above on franck@0: a medium customarily used for software interchange; or, franck@0: franck@0: c) Accompany it with the information you received as to the offer to distribute franck@0: corresponding source code. (This alternative is allowed only for franck@0: noncommercial distribution and only if you received the program in object franck@0: code or executable form with such an offer, in accord with Subsection b franck@0: above.) franck@0: franck@0: The source code for a work means the preferred form of the work for franck@0: making modifications to it. For an executable work, complete source code franck@0: means all the source code for all modules it contains, plus any associated franck@0: interface definition files, plus the scripts used to control compilation and franck@0: installation of the executable. However, as a special exception, the source franck@0: code distributed need not include anything that is normally distributed (in franck@0: either source or binary form) with the major components (compiler, kernel, franck@0: and so on) of the operating system on which the executable runs, unless that franck@0: component itself accompanies the executable. franck@0: franck@0: If distribution of executable or object code is made by offering access to franck@0: copy from a designated place, then offering equivalent access to copy the franck@0: source code from the same place counts as distribution of the source code, franck@0: even though third parties are not compelled to copy the source along with the franck@0: object code. franck@0: franck@0: 4. You may not copy, modify, sublicense, or distribute the Program except as franck@0: expressly provided under this License. Any attempt otherwise to copy, franck@0: modify, sublicense or distribute the Program is void, and will automatically franck@0: terminate your rights under this License. However, parties who have received franck@0: copies, or rights, from you under this License will not have their licenses franck@0: terminated so long as such parties remain in full compliance. franck@0: franck@0: 5. You are not required to accept this License, since you have not signed it. franck@0: However, nothing else grants you permission to modify or distribute the franck@0: Program or its derivative works. These actions are prohibited by law if you franck@0: do not accept this License. Therefore, by modifying or distributing the franck@0: Program (or any work based on the Program), you indicate your acceptance franck@0: of this License to do so, and all its terms and conditions for copying, franck@0: distributing or modifying the Program or works based on it. franck@0: franck@0: 6. Each time you redistribute the Program (or any work based on the franck@0: Program), the recipient automatically receives a license from the original franck@0: licensor to copy, distribute or modify the Program subject to these terms and franck@0: conditions. You may not impose any further restrictions on the recipients' franck@0: exercise of the rights granted herein. You are not responsible for enforcing franck@0: compliance by third parties to this License. franck@0: franck@0: 7. If, as a consequence of a court judgment or allegation of patent franck@0: infringement or for any other reason (not limited to patent issues), conditions franck@0: are imposed on you (whether by court order, agreement or otherwise) that franck@0: contradict the conditions of this License, they do not excuse you from the franck@0: conditions of this License. If you cannot distribute so as to satisfy franck@0: simultaneously your obligations under this License and any other pertinent franck@0: obligations, then as a consequence you may not distribute the Program at all. franck@0: For example, if a patent license would not permit royalty-free redistribution franck@0: of the Program by all those who receive copies directly or indirectly through franck@0: you, then the only way you could satisfy both it and this License would be to franck@0: refrain entirely from distribution of the Program. franck@0: franck@0: If any portion of this section is held invalid or unenforceable under any franck@0: particular circumstance, the balance of the section is intended to apply and franck@0: the section as a whole is intended to apply in other circumstances. franck@0: franck@0: It is not the purpose of this section to induce you to infringe any patents or franck@0: other property right claims or to contest validity of any such claims; this franck@0: section has the sole purpose of protecting the integrity of the free software franck@0: distribution system, which is implemented by public license practices. Many franck@0: people have made generous contributions to the wide range of software franck@0: distributed through that system in reliance on consistent application of that franck@0: system; it is up to the author/donor to decide if he or she is willing to franck@0: distribute software through any other system and a licensee cannot impose franck@0: that choice. franck@0: franck@0: This section is intended to make thoroughly clear what is believed to be a franck@0: consequence of the rest of this License. franck@0: franck@0: 8. If the distribution and/or use of the Program is restricted in certain franck@0: countries either by patents or by copyrighted interfaces, the original copyright franck@0: holder who places the Program under this License may add an explicit franck@0: geographical distribution limitation excluding those countries, so that franck@0: distribution is permitted only in or among countries not thus excluded. In such franck@0: case, this License incorporates the limitation as if written in the body of this franck@0: License. franck@0: franck@0: 9. The Free Software Foundation may publish revised and/or new versions franck@0: of the General Public License from time to time. Such new versions will be franck@0: similar in spirit to the present version, but may differ in detail to address new franck@0: problems or concerns. franck@0: franck@0: Each version is given a distinguishing version number. If the Program specifies franck@0: a version number of this License which applies to it and "any later version", franck@0: you have the option of following the terms and conditions either of that franck@0: version or of any later version published by the Free Software Foundation. If franck@0: the Program does not specify a version number of this License, you may franck@0: choose any version ever published by the Free Software Foundation. franck@0: franck@0: 10. If you wish to incorporate parts of the Program into other free programs franck@0: whose distribution conditions are different, write to the author to ask for franck@0: permission. For software which is copyrighted by the Free Software franck@0: Foundation, write to the Free Software Foundation; we sometimes make franck@0: exceptions for this. Our decision will be guided by the two goals of franck@0: preserving the free status of all derivatives of our free software and of franck@0: promoting the sharing and reuse of software generally. franck@0: franck@0: NO WARRANTY franck@0: franck@0: 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, franck@0: THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT franck@0: PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE franck@0: STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR franck@0: OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT franck@0: WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, franck@0: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES franck@0: OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR franck@0: PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND franck@0: PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE franck@0: PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL franck@0: NECESSARY SERVICING, REPAIR OR CORRECTION. franck@0: franck@0: 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR franck@0: AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR franck@0: ANY OTHER PARTY WHO MAY MODIFY AND/OR franck@0: REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE franck@0: LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, franck@0: SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES franck@0: ARISING OUT OF THE USE OR INABILITY TO USE THE franck@0: PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA franck@0: OR DATA BEING RENDERED INACCURATE OR LOSSES franck@0: SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE franck@0: PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN franck@0: IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF franck@0: THE POSSIBILITY OF SUCH DAMAGES. franck@0: franck@0: END OF TERMS AND CONDITIONS