17c478bd9Sstevel@tonic-gate GNU GENERAL PUBLIC LICENSE 27c478bd9Sstevel@tonic-gate Version 2, June 1991 37c478bd9Sstevel@tonic-gate 47c478bd9Sstevel@tonic-gate Copyright (C) 1989, 1991 Free Software Foundation, Inc. 57c478bd9Sstevel@tonic-gate 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 67c478bd9Sstevel@tonic-gate Everyone is permitted to copy and distribute verbatim copies 77c478bd9Sstevel@tonic-gate of this license document, but changing it is not allowed. 87c478bd9Sstevel@tonic-gate 97c478bd9Sstevel@tonic-gate Preamble 107c478bd9Sstevel@tonic-gate 117c478bd9Sstevel@tonic-gate The licenses for most software are designed to take away your 127c478bd9Sstevel@tonic-gatefreedom to share and change it. By contrast, the GNU General Public 137c478bd9Sstevel@tonic-gateLicense is intended to guarantee your freedom to share and change free 147c478bd9Sstevel@tonic-gatesoftware--to make sure the software is free for all its users. This 157c478bd9Sstevel@tonic-gateGeneral Public License applies to most of the Free Software 167c478bd9Sstevel@tonic-gateFoundation's software and to any other program whose authors commit to 177c478bd9Sstevel@tonic-gateusing it. (Some other Free Software Foundation software is covered by 187c478bd9Sstevel@tonic-gatethe GNU Library General Public License instead.) You can apply it to 197c478bd9Sstevel@tonic-gateyour programs, too. 207c478bd9Sstevel@tonic-gate 217c478bd9Sstevel@tonic-gate When we speak of free software, we are referring to freedom, not 227c478bd9Sstevel@tonic-gateprice. Our General Public Licenses are designed to make sure that you 237c478bd9Sstevel@tonic-gatehave the freedom to distribute copies of free software (and charge for 247c478bd9Sstevel@tonic-gatethis service if you wish), that you receive source code or can get it 257c478bd9Sstevel@tonic-gateif you want it, that you can change the software or use pieces of it 267c478bd9Sstevel@tonic-gatein new free programs; and that you know you can do these things. 277c478bd9Sstevel@tonic-gate 287c478bd9Sstevel@tonic-gate To protect your rights, we need to make restrictions that forbid 297c478bd9Sstevel@tonic-gateanyone to deny you these rights or to ask you to surrender the rights. 307c478bd9Sstevel@tonic-gateThese restrictions translate to certain responsibilities for you if you 317c478bd9Sstevel@tonic-gatedistribute copies of the software, or if you modify it. 327c478bd9Sstevel@tonic-gate 337c478bd9Sstevel@tonic-gate For example, if you distribute copies of such a program, whether 347c478bd9Sstevel@tonic-gategratis or for a fee, you must give the recipients all the rights that 357c478bd9Sstevel@tonic-gateyou have. You must make sure that they, too, receive or can get the 367c478bd9Sstevel@tonic-gatesource code. And you must show them these terms so they know their 377c478bd9Sstevel@tonic-gaterights. 387c478bd9Sstevel@tonic-gate 397c478bd9Sstevel@tonic-gate We protect your rights with two steps: (1) copyright the software, and 407c478bd9Sstevel@tonic-gate(2) offer you this license which gives you legal permission to copy, 417c478bd9Sstevel@tonic-gatedistribute and/or modify the software. 427c478bd9Sstevel@tonic-gate 437c478bd9Sstevel@tonic-gate Also, for each author's protection and ours, we want to make certain 447c478bd9Sstevel@tonic-gatethat everyone understands that there is no warranty for this free 457c478bd9Sstevel@tonic-gatesoftware. If the software is modified by someone else and passed on, we 467c478bd9Sstevel@tonic-gatewant its recipients to know that what they have is not the original, so 477c478bd9Sstevel@tonic-gatethat any problems introduced by others will not reflect on the original 487c478bd9Sstevel@tonic-gateauthors' reputations. 497c478bd9Sstevel@tonic-gate 507c478bd9Sstevel@tonic-gate Finally, any free program is threatened constantly by software 517c478bd9Sstevel@tonic-gatepatents. We wish to avoid the danger that redistributors of a free 527c478bd9Sstevel@tonic-gateprogram will individually obtain patent licenses, in effect making the 537c478bd9Sstevel@tonic-gateprogram proprietary. To prevent this, we have made it clear that any 547c478bd9Sstevel@tonic-gatepatent must be licensed for everyone's free use or not licensed at all. 557c478bd9Sstevel@tonic-gate 567c478bd9Sstevel@tonic-gate The precise terms and conditions for copying, distribution and 577c478bd9Sstevel@tonic-gatemodification follow. 587c478bd9Sstevel@tonic-gate 597c478bd9Sstevel@tonic-gate GNU GENERAL PUBLIC LICENSE 607c478bd9Sstevel@tonic-gate TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 617c478bd9Sstevel@tonic-gate 627c478bd9Sstevel@tonic-gate 0. This License applies to any program or other work which contains 637c478bd9Sstevel@tonic-gatea notice placed by the copyright holder saying it may be distributed 647c478bd9Sstevel@tonic-gateunder the terms of this General Public License. The "Program", below, 657c478bd9Sstevel@tonic-gaterefers to any such program or work, and a "work based on the Program" 667c478bd9Sstevel@tonic-gatemeans either the Program or any derivative work under copyright law: 677c478bd9Sstevel@tonic-gatethat is to say, a work containing the Program or a portion of it, 687c478bd9Sstevel@tonic-gateeither verbatim or with modifications and/or translated into another 697c478bd9Sstevel@tonic-gatelanguage. (Hereinafter, translation is included without limitation in 707c478bd9Sstevel@tonic-gatethe term "modification".) Each licensee is addressed as "you". 717c478bd9Sstevel@tonic-gate 727c478bd9Sstevel@tonic-gateActivities other than copying, distribution and modification are not 737c478bd9Sstevel@tonic-gatecovered by this License; they are outside its scope. The act of 747c478bd9Sstevel@tonic-gaterunning the Program is not restricted, and the output from the Program 757c478bd9Sstevel@tonic-gateis covered only if its contents constitute a work based on the 767c478bd9Sstevel@tonic-gateProgram (independent of having been made by running the Program). 777c478bd9Sstevel@tonic-gateWhether that is true depends on what the Program does. 787c478bd9Sstevel@tonic-gate 797c478bd9Sstevel@tonic-gate 1. You may copy and distribute verbatim copies of the Program's 807c478bd9Sstevel@tonic-gatesource code as you receive it, in any medium, provided that you 817c478bd9Sstevel@tonic-gateconspicuously and appropriately publish on each copy an appropriate 827c478bd9Sstevel@tonic-gatecopyright notice and disclaimer of warranty; keep intact all the 837c478bd9Sstevel@tonic-gatenotices that refer to this License and to the absence of any warranty; 847c478bd9Sstevel@tonic-gateand give any other recipients of the Program a copy of this License 857c478bd9Sstevel@tonic-gatealong with the Program. 867c478bd9Sstevel@tonic-gate 877c478bd9Sstevel@tonic-gateYou may charge a fee for the physical act of transferring a copy, and 887c478bd9Sstevel@tonic-gateyou may at your option offer warranty protection in exchange for a fee. 897c478bd9Sstevel@tonic-gate 907c478bd9Sstevel@tonic-gate 2. You may modify your copy or copies of the Program or any portion 917c478bd9Sstevel@tonic-gateof it, thus forming a work based on the Program, and copy and 927c478bd9Sstevel@tonic-gatedistribute such modifications or work under the terms of Section 1 937c478bd9Sstevel@tonic-gateabove, provided that you also meet all of these conditions: 947c478bd9Sstevel@tonic-gate 957c478bd9Sstevel@tonic-gate a) You must cause the modified files to carry prominent notices 967c478bd9Sstevel@tonic-gate stating that you changed the files and the date of any change. 977c478bd9Sstevel@tonic-gate 987c478bd9Sstevel@tonic-gate b) You must cause any work that you distribute or publish, that in 997c478bd9Sstevel@tonic-gate whole or in part contains or is derived from the Program or any 1007c478bd9Sstevel@tonic-gate part thereof, to be licensed as a whole at no charge to all third 1017c478bd9Sstevel@tonic-gate parties under the terms of this License. 1027c478bd9Sstevel@tonic-gate 1037c478bd9Sstevel@tonic-gate c) If the modified program normally reads commands interactively 1047c478bd9Sstevel@tonic-gate when run, you must cause it, when started running for such 1057c478bd9Sstevel@tonic-gate interactive use in the most ordinary way, to print or display an 1067c478bd9Sstevel@tonic-gate announcement including an appropriate copyright notice and a 1077c478bd9Sstevel@tonic-gate notice that there is no warranty (or else, saying that you provide 1087c478bd9Sstevel@tonic-gate a warranty) and that users may redistribute the program under 1097c478bd9Sstevel@tonic-gate these conditions, and telling the user how to view a copy of this 1107c478bd9Sstevel@tonic-gate License. (Exception: if the Program itself is interactive but 1117c478bd9Sstevel@tonic-gate does not normally print such an announcement, your work based on 1127c478bd9Sstevel@tonic-gate the Program is not required to print an announcement.) 1137c478bd9Sstevel@tonic-gate 1147c478bd9Sstevel@tonic-gateThese requirements apply to the modified work as a whole. If 1157c478bd9Sstevel@tonic-gateidentifiable sections of that work are not derived from the Program, 1167c478bd9Sstevel@tonic-gateand can be reasonably considered independent and separate works in 1177c478bd9Sstevel@tonic-gatethemselves, then this License, and its terms, do not apply to those 1187c478bd9Sstevel@tonic-gatesections when you distribute them as separate works. But when you 1197c478bd9Sstevel@tonic-gatedistribute the same sections as part of a whole which is a work based 1207c478bd9Sstevel@tonic-gateon the Program, the distribution of the whole must be on the terms of 1217c478bd9Sstevel@tonic-gatethis License, whose permissions for other licensees extend to the 1227c478bd9Sstevel@tonic-gateentire whole, and thus to each and every part regardless of who wrote it. 1237c478bd9Sstevel@tonic-gate 1247c478bd9Sstevel@tonic-gateThus, it is not the intent of this section to claim rights or contest 1257c478bd9Sstevel@tonic-gateyour rights to work written entirely by you; rather, the intent is to 1267c478bd9Sstevel@tonic-gateexercise the right to control the distribution of derivative or 1277c478bd9Sstevel@tonic-gatecollective works based on the Program. 1287c478bd9Sstevel@tonic-gate 1297c478bd9Sstevel@tonic-gateIn addition, mere aggregation of another work not based on the Program 1307c478bd9Sstevel@tonic-gatewith the Program (or with a work based on the Program) on a volume of 1317c478bd9Sstevel@tonic-gatea storage or distribution medium does not bring the other work under 1327c478bd9Sstevel@tonic-gatethe scope of this License. 1337c478bd9Sstevel@tonic-gate 1347c478bd9Sstevel@tonic-gate 3. You may copy and distribute the Program (or a work based on it, 1357c478bd9Sstevel@tonic-gateunder Section 2) in object code or executable form under the terms of 1367c478bd9Sstevel@tonic-gateSections 1 and 2 above provided that you also do one of the following: 1377c478bd9Sstevel@tonic-gate 1387c478bd9Sstevel@tonic-gate a) Accompany it with the complete corresponding machine-readable 1397c478bd9Sstevel@tonic-gate source code, which must be distributed under the terms of Sections 1407c478bd9Sstevel@tonic-gate 1 and 2 above on a medium customarily used for software interchange; or, 1417c478bd9Sstevel@tonic-gate 1427c478bd9Sstevel@tonic-gate b) Accompany it with a written offer, valid for at least three 1437c478bd9Sstevel@tonic-gate years, to give any third party, for a charge no more than your 1447c478bd9Sstevel@tonic-gate cost of physically performing source distribution, a complete 1457c478bd9Sstevel@tonic-gate machine-readable copy of the corresponding source code, to be 1467c478bd9Sstevel@tonic-gate distributed under the terms of Sections 1 and 2 above on a medium 1477c478bd9Sstevel@tonic-gate customarily used for software interchange; or, 1487c478bd9Sstevel@tonic-gate 1497c478bd9Sstevel@tonic-gate c) Accompany it with the information you received as to the offer 1507c478bd9Sstevel@tonic-gate to distribute corresponding source code. (This alternative is 1517c478bd9Sstevel@tonic-gate allowed only for noncommercial distribution and only if you 1527c478bd9Sstevel@tonic-gate received the program in object code or executable form with such 1537c478bd9Sstevel@tonic-gate an offer, in accord with Subsection b above.) 1547c478bd9Sstevel@tonic-gate 1557c478bd9Sstevel@tonic-gateThe source code for a work means the preferred form of the work for 1567c478bd9Sstevel@tonic-gatemaking modifications to it. For an executable work, complete source 1577c478bd9Sstevel@tonic-gatecode means all the source code for all modules it contains, plus any 1587c478bd9Sstevel@tonic-gateassociated interface definition files, plus the scripts used to 1597c478bd9Sstevel@tonic-gatecontrol compilation and installation of the executable. However, as a 1607c478bd9Sstevel@tonic-gatespecial exception, the source code distributed need not include 1617c478bd9Sstevel@tonic-gateanything that is normally distributed (in either source or binary 1627c478bd9Sstevel@tonic-gateform) with the major components (compiler, kernel, and so on) of the 1637c478bd9Sstevel@tonic-gateoperating system on which the executable runs, unless that component 1647c478bd9Sstevel@tonic-gateitself accompanies the executable. 1657c478bd9Sstevel@tonic-gate 1667c478bd9Sstevel@tonic-gateIf distribution of executable or object code is made by offering 1677c478bd9Sstevel@tonic-gateaccess to copy from a designated place, then offering equivalent 1687c478bd9Sstevel@tonic-gateaccess to copy the source code from the same place counts as 1697c478bd9Sstevel@tonic-gatedistribution of the source code, even though third parties are not 1707c478bd9Sstevel@tonic-gatecompelled to copy the source along with the object code. 1717c478bd9Sstevel@tonic-gate 1727c478bd9Sstevel@tonic-gate 4. You may not copy, modify, sublicense, or distribute the Program 1737c478bd9Sstevel@tonic-gateexcept as expressly provided under this License. Any attempt 1747c478bd9Sstevel@tonic-gateotherwise to copy, modify, sublicense or distribute the Program is 1757c478bd9Sstevel@tonic-gatevoid, and will automatically terminate your rights under this License. 1767c478bd9Sstevel@tonic-gateHowever, parties who have received copies, or rights, from you under 1777c478bd9Sstevel@tonic-gatethis License will not have their licenses terminated so long as such 1787c478bd9Sstevel@tonic-gateparties remain in full compliance. 1797c478bd9Sstevel@tonic-gate 1807c478bd9Sstevel@tonic-gate 5. You are not required to accept this License, since you have not 1817c478bd9Sstevel@tonic-gatesigned it. However, nothing else grants you permission to modify or 1827c478bd9Sstevel@tonic-gatedistribute the Program or its derivative works. These actions are 1837c478bd9Sstevel@tonic-gateprohibited by law if you do not accept this License. Therefore, by 1847c478bd9Sstevel@tonic-gatemodifying or distributing the Program (or any work based on the 1857c478bd9Sstevel@tonic-gateProgram), you indicate your acceptance of this License to do so, and 1867c478bd9Sstevel@tonic-gateall its terms and conditions for copying, distributing or modifying 1877c478bd9Sstevel@tonic-gatethe Program or works based on it. 1887c478bd9Sstevel@tonic-gate 1897c478bd9Sstevel@tonic-gate 6. Each time you redistribute the Program (or any work based on the 1907c478bd9Sstevel@tonic-gateProgram), the recipient automatically receives a license from the 1917c478bd9Sstevel@tonic-gateoriginal licensor to copy, distribute or modify the Program subject to 1927c478bd9Sstevel@tonic-gatethese terms and conditions. You may not impose any further 1937c478bd9Sstevel@tonic-gaterestrictions on the recipients' exercise of the rights granted herein. 1947c478bd9Sstevel@tonic-gateYou are not responsible for enforcing compliance by third parties to 1957c478bd9Sstevel@tonic-gatethis License. 1967c478bd9Sstevel@tonic-gate 1977c478bd9Sstevel@tonic-gate 7. If, as a consequence of a court judgment or allegation of patent 1987c478bd9Sstevel@tonic-gateinfringement or for any other reason (not limited to patent issues), 1997c478bd9Sstevel@tonic-gateconditions are imposed on you (whether by court order, agreement or 2007c478bd9Sstevel@tonic-gateotherwise) that contradict the conditions of this License, they do not 2017c478bd9Sstevel@tonic-gateexcuse you from the conditions of this License. If you cannot 2027c478bd9Sstevel@tonic-gatedistribute so as to satisfy simultaneously your obligations under this 2037c478bd9Sstevel@tonic-gateLicense and any other pertinent obligations, then as a consequence you 2047c478bd9Sstevel@tonic-gatemay not distribute the Program at all. For example, if a patent 2057c478bd9Sstevel@tonic-gatelicense would not permit royalty-free redistribution of the Program by 2067c478bd9Sstevel@tonic-gateall those who receive copies directly or indirectly through you, then 2077c478bd9Sstevel@tonic-gatethe only way you could satisfy both it and this License would be to 2087c478bd9Sstevel@tonic-gaterefrain entirely from distribution of the Program. 2097c478bd9Sstevel@tonic-gate 2107c478bd9Sstevel@tonic-gateIf any portion of this section is held invalid or unenforceable under 2117c478bd9Sstevel@tonic-gateany particular circumstance, the balance of the section is intended to 2127c478bd9Sstevel@tonic-gateapply and the section as a whole is intended to apply in other 2137c478bd9Sstevel@tonic-gatecircumstances. 2147c478bd9Sstevel@tonic-gate 2157c478bd9Sstevel@tonic-gateIt is not the purpose of this section to induce you to infringe any 2167c478bd9Sstevel@tonic-gatepatents or other property right claims or to contest validity of any 2177c478bd9Sstevel@tonic-gatesuch claims; this section has the sole purpose of protecting the 2187c478bd9Sstevel@tonic-gateintegrity of the free software distribution system, which is 2197c478bd9Sstevel@tonic-gateimplemented by public license practices. Many people have made 2207c478bd9Sstevel@tonic-gategenerous contributions to the wide range of software distributed 2217c478bd9Sstevel@tonic-gatethrough that system in reliance on consistent application of that 2227c478bd9Sstevel@tonic-gatesystem; it is up to the author/donor to decide if he or she is willing 2237c478bd9Sstevel@tonic-gateto distribute software through any other system and a licensee cannot 2247c478bd9Sstevel@tonic-gateimpose that choice. 2257c478bd9Sstevel@tonic-gate 2267c478bd9Sstevel@tonic-gateThis section is intended to make thoroughly clear what is believed to 2277c478bd9Sstevel@tonic-gatebe a consequence of the rest of this License. 2287c478bd9Sstevel@tonic-gate 2297c478bd9Sstevel@tonic-gate 8. If the distribution and/or use of the Program is restricted in 2307c478bd9Sstevel@tonic-gatecertain countries either by patents or by copyrighted interfaces, the 2317c478bd9Sstevel@tonic-gateoriginal copyright holder who places the Program under this License 2327c478bd9Sstevel@tonic-gatemay add an explicit geographical distribution limitation excluding 2337c478bd9Sstevel@tonic-gatethose countries, so that distribution is permitted only in or among 2347c478bd9Sstevel@tonic-gatecountries not thus excluded. In such case, this License incorporates 2357c478bd9Sstevel@tonic-gatethe limitation as if written in the body of this License. 2367c478bd9Sstevel@tonic-gate 2377c478bd9Sstevel@tonic-gate 9. The Free Software Foundation may publish revised and/or new versions 2387c478bd9Sstevel@tonic-gateof the General Public License from time to time. Such new versions will 2397c478bd9Sstevel@tonic-gatebe similar in spirit to the present version, but may differ in detail to 2407c478bd9Sstevel@tonic-gateaddress new problems or concerns. 2417c478bd9Sstevel@tonic-gate 2427c478bd9Sstevel@tonic-gateEach version is given a distinguishing version number. If the Program 2437c478bd9Sstevel@tonic-gatespecifies a version number of this License which applies to it and "any 2447c478bd9Sstevel@tonic-gatelater version", you have the option of following the terms and conditions 2457c478bd9Sstevel@tonic-gateeither of that version or of any later version published by the Free 2467c478bd9Sstevel@tonic-gateSoftware Foundation. If the Program does not specify a version number of 2477c478bd9Sstevel@tonic-gatethis License, you may choose any version ever published by the Free Software 2487c478bd9Sstevel@tonic-gateFoundation. 2497c478bd9Sstevel@tonic-gate 2507c478bd9Sstevel@tonic-gate 10. If you wish to incorporate parts of the Program into other free 2517c478bd9Sstevel@tonic-gateprograms whose distribution conditions are different, write to the author 2527c478bd9Sstevel@tonic-gateto ask for permission. For software which is copyrighted by the Free 2537c478bd9Sstevel@tonic-gateSoftware Foundation, write to the Free Software Foundation; we sometimes 2547c478bd9Sstevel@tonic-gatemake exceptions for this. Our decision will be guided by the two goals 2557c478bd9Sstevel@tonic-gateof preserving the free status of all derivatives of our free software and 2567c478bd9Sstevel@tonic-gateof promoting the sharing and reuse of software generally. 2577c478bd9Sstevel@tonic-gate 2587c478bd9Sstevel@tonic-gate NO WARRANTY 2597c478bd9Sstevel@tonic-gate 2607c478bd9Sstevel@tonic-gate 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 2617c478bd9Sstevel@tonic-gateFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 2627c478bd9Sstevel@tonic-gateOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 2637c478bd9Sstevel@tonic-gatePROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 2647c478bd9Sstevel@tonic-gateOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 2657c478bd9Sstevel@tonic-gateMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 2667c478bd9Sstevel@tonic-gateTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 2677c478bd9Sstevel@tonic-gatePROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 2687c478bd9Sstevel@tonic-gateREPAIR OR CORRECTION. 2697c478bd9Sstevel@tonic-gate 2707c478bd9Sstevel@tonic-gate 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 2717c478bd9Sstevel@tonic-gateWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 2727c478bd9Sstevel@tonic-gateREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 2737c478bd9Sstevel@tonic-gateINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 2747c478bd9Sstevel@tonic-gateOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 2757c478bd9Sstevel@tonic-gateTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 2767c478bd9Sstevel@tonic-gateYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 2777c478bd9Sstevel@tonic-gatePROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 2787c478bd9Sstevel@tonic-gatePOSSIBILITY OF SUCH DAMAGES. 2797c478bd9Sstevel@tonic-gate 2807c478bd9Sstevel@tonic-gate END OF TERMS AND CONDITIONS 2817c478bd9Sstevel@tonic-gate 2827c478bd9Sstevel@tonic-gate How to Apply These Terms to Your New Programs 2837c478bd9Sstevel@tonic-gate 2847c478bd9Sstevel@tonic-gate If you develop a new program, and you want it to be of the greatest 2857c478bd9Sstevel@tonic-gatepossible use to the public, the best way to achieve this is to make it 2867c478bd9Sstevel@tonic-gatefree software which everyone can redistribute and change under these terms. 2877c478bd9Sstevel@tonic-gate 2887c478bd9Sstevel@tonic-gate To do so, attach the following notices to the program. It is safest 2897c478bd9Sstevel@tonic-gateto attach them to the start of each source file to most effectively 2907c478bd9Sstevel@tonic-gateconvey the exclusion of warranty; and each file should have at least 2917c478bd9Sstevel@tonic-gatethe "copyright" line and a pointer to where the full notice is found. 2927c478bd9Sstevel@tonic-gate 2937c478bd9Sstevel@tonic-gate <one line to give the program's name and a brief idea of what it does.> 2947c478bd9Sstevel@tonic-gate Copyright (C) 19yy <name of author> 2957c478bd9Sstevel@tonic-gate 2967c478bd9Sstevel@tonic-gate This program is free software; you can redistribute it and/or modify 2977c478bd9Sstevel@tonic-gate it under the terms of the GNU General Public License as published by 2987c478bd9Sstevel@tonic-gate the Free Software Foundation; either version 2 of the License, or 2997c478bd9Sstevel@tonic-gate (at your option) any later version. 3007c478bd9Sstevel@tonic-gate 3017c478bd9Sstevel@tonic-gate This program is distributed in the hope that it will be useful, 3027c478bd9Sstevel@tonic-gate but WITHOUT ANY WARRANTY; without even the implied warranty of 3037c478bd9Sstevel@tonic-gate MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 3047c478bd9Sstevel@tonic-gate GNU General Public License for more details. 3057c478bd9Sstevel@tonic-gate 3067c478bd9Sstevel@tonic-gate You should have received a copy of the GNU General Public License 3077c478bd9Sstevel@tonic-gate along with this program; if not, write to the Free Software 3087c478bd9Sstevel@tonic-gate Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 3097c478bd9Sstevel@tonic-gate 3107c478bd9Sstevel@tonic-gate 3117c478bd9Sstevel@tonic-gateAlso add information on how to contact you by electronic and paper mail. 3127c478bd9Sstevel@tonic-gate 3137c478bd9Sstevel@tonic-gateIf the program is interactive, make it output a short notice like this 3147c478bd9Sstevel@tonic-gatewhen it starts in an interactive mode: 3157c478bd9Sstevel@tonic-gate 3167c478bd9Sstevel@tonic-gate Gnomovision version 69, Copyright (C) 19yy name of author 3177c478bd9Sstevel@tonic-gate Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 3187c478bd9Sstevel@tonic-gate This is free software, and you are welcome to redistribute it 3197c478bd9Sstevel@tonic-gate under certain conditions; type `show c' for details. 3207c478bd9Sstevel@tonic-gate 3217c478bd9Sstevel@tonic-gateThe hypothetical commands `show w' and `show c' should show the appropriate 3227c478bd9Sstevel@tonic-gateparts of the General Public License. Of course, the commands you use may 3237c478bd9Sstevel@tonic-gatebe called something other than `show w' and `show c'; they could even be 3247c478bd9Sstevel@tonic-gatemouse-clicks or menu items--whatever suits your program. 3257c478bd9Sstevel@tonic-gate 3267c478bd9Sstevel@tonic-gateYou should also get your employer (if you work as a programmer) or your 3277c478bd9Sstevel@tonic-gateschool, if any, to sign a "copyright disclaimer" for the program, if 3287c478bd9Sstevel@tonic-gatenecessary. Here is a sample; alter the names: 3297c478bd9Sstevel@tonic-gate 3307c478bd9Sstevel@tonic-gate Yoyodyne, Inc., hereby disclaims all copyright interest in the program 3317c478bd9Sstevel@tonic-gate `Gnomovision' (which makes passes at compilers) written by James Hacker. 3327c478bd9Sstevel@tonic-gate 3337c478bd9Sstevel@tonic-gate <signature of Ty Coon>, 1 April 1989 3347c478bd9Sstevel@tonic-gate Ty Coon, President of Vice 3357c478bd9Sstevel@tonic-gate 3367c478bd9Sstevel@tonic-gateThis General Public License does not permit incorporating your program into 3377c478bd9Sstevel@tonic-gateproprietary programs. If your program is a subroutine library, you may 3387c478bd9Sstevel@tonic-gateconsider it more useful to permit linking proprietary applications with the 3397c478bd9Sstevel@tonic-gatelibrary. If this is what you want to do, use the GNU Library General 3407c478bd9Sstevel@tonic-gatePublic License instead of this License. 341