xref: /freebsd-src/gnu/COPYING (revision b76095a4307cc94ec7cd722853f9b032e45e6ea4)
1*b76095a4SJordan K. Hubbard		    GNU GENERAL PUBLIC LICENSE
2*b76095a4SJordan K. Hubbard		       Version 2, June 1991
3*b76095a4SJordan K. Hubbard
4*b76095a4SJordan K. Hubbard Copyright (C) 1989, 1991 Free Software Foundation, Inc.
5*b76095a4SJordan K. Hubbard                          675 Mass Ave, Cambridge, MA 02139, USA
6*b76095a4SJordan K. Hubbard Everyone is permitted to copy and distribute verbatim copies
7*b76095a4SJordan K. Hubbard of this license document, but changing it is not allowed.
8*b76095a4SJordan K. Hubbard
9*b76095a4SJordan K. Hubbard			    Preamble
10*b76095a4SJordan K. Hubbard
11*b76095a4SJordan K. Hubbard  The licenses for most software are designed to take away your
12*b76095a4SJordan K. Hubbardfreedom to share and change it.  By contrast, the GNU General Public
13*b76095a4SJordan K. HubbardLicense is intended to guarantee your freedom to share and change free
14*b76095a4SJordan K. Hubbardsoftware--to make sure the software is free for all its users.  This
15*b76095a4SJordan K. HubbardGeneral Public License applies to most of the Free Software
16*b76095a4SJordan K. HubbardFoundation's software and to any other program whose authors commit to
17*b76095a4SJordan K. Hubbardusing it.  (Some other Free Software Foundation software is covered by
18*b76095a4SJordan K. Hubbardthe GNU Library General Public License instead.)  You can apply it to
19*b76095a4SJordan K. Hubbardyour programs, too.
20*b76095a4SJordan K. Hubbard
21*b76095a4SJordan K. Hubbard  When we speak of free software, we are referring to freedom, not
22*b76095a4SJordan K. Hubbardprice.  Our General Public Licenses are designed to make sure that you
23*b76095a4SJordan K. Hubbardhave the freedom to distribute copies of free software (and charge for
24*b76095a4SJordan K. Hubbardthis service if you wish), that you receive source code or can get it
25*b76095a4SJordan K. Hubbardif you want it, that you can change the software or use pieces of it
26*b76095a4SJordan K. Hubbardin new free programs; and that you know you can do these things.
27*b76095a4SJordan K. Hubbard
28*b76095a4SJordan K. Hubbard  To protect your rights, we need to make restrictions that forbid
29*b76095a4SJordan K. Hubbardanyone to deny you these rights or to ask you to surrender the rights.
30*b76095a4SJordan K. HubbardThese restrictions translate to certain responsibilities for you if you
31*b76095a4SJordan K. Hubbarddistribute copies of the software, or if you modify it.
32*b76095a4SJordan K. Hubbard
33*b76095a4SJordan K. Hubbard  For example, if you distribute copies of such a program, whether
34*b76095a4SJordan K. Hubbardgratis or for a fee, you must give the recipients all the rights that
35*b76095a4SJordan K. Hubbardyou have.  You must make sure that they, too, receive or can get the
36*b76095a4SJordan K. Hubbardsource code.  And you must show them these terms so they know their
37*b76095a4SJordan K. Hubbardrights.
38*b76095a4SJordan K. Hubbard
39*b76095a4SJordan K. Hubbard  We protect your rights with two steps: (1) copyright the software, and
40*b76095a4SJordan K. Hubbard(2) offer you this license which gives you legal permission to copy,
41*b76095a4SJordan K. Hubbarddistribute and/or modify the software.
42*b76095a4SJordan K. Hubbard
43*b76095a4SJordan K. Hubbard  Also, for each author's protection and ours, we want to make certain
44*b76095a4SJordan K. Hubbardthat everyone understands that there is no warranty for this free
45*b76095a4SJordan K. Hubbardsoftware.  If the software is modified by someone else and passed on, we
46*b76095a4SJordan K. Hubbardwant its recipients to know that what they have is not the original, so
47*b76095a4SJordan K. Hubbardthat any problems introduced by others will not reflect on the original
48*b76095a4SJordan K. Hubbardauthors' reputations.
49*b76095a4SJordan K. Hubbard
50*b76095a4SJordan K. Hubbard  Finally, any free program is threatened constantly by software
51*b76095a4SJordan K. Hubbardpatents.  We wish to avoid the danger that redistributors of a free
52*b76095a4SJordan K. Hubbardprogram will individually obtain patent licenses, in effect making the
53*b76095a4SJordan K. Hubbardprogram proprietary.  To prevent this, we have made it clear that any
54*b76095a4SJordan K. Hubbardpatent must be licensed for everyone's free use or not licensed at all.
55*b76095a4SJordan K. Hubbard
56*b76095a4SJordan K. Hubbard  The precise terms and conditions for copying, distribution and
57*b76095a4SJordan K. Hubbardmodification follow.
58*b76095a4SJordan K. Hubbard
59*b76095a4SJordan K. Hubbard		    GNU GENERAL PUBLIC LICENSE
60*b76095a4SJordan K. Hubbard   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61*b76095a4SJordan K. Hubbard
62*b76095a4SJordan K. Hubbard  0. This License applies to any program or other work which contains
63*b76095a4SJordan K. Hubbarda notice placed by the copyright holder saying it may be distributed
64*b76095a4SJordan K. Hubbardunder the terms of this General Public License.  The "Program", below,
65*b76095a4SJordan K. Hubbardrefers to any such program or work, and a "work based on the Program"
66*b76095a4SJordan K. Hubbardmeans either the Program or any derivative work under copyright law:
67*b76095a4SJordan K. Hubbardthat is to say, a work containing the Program or a portion of it,
68*b76095a4SJordan K. Hubbardeither verbatim or with modifications and/or translated into another
69*b76095a4SJordan K. Hubbardlanguage.  (Hereinafter, translation is included without limitation in
70*b76095a4SJordan K. Hubbardthe term "modification".)  Each licensee is addressed as "you".
71*b76095a4SJordan K. Hubbard
72*b76095a4SJordan K. HubbardActivities other than copying, distribution and modification are not
73*b76095a4SJordan K. Hubbardcovered by this License; they are outside its scope.  The act of
74*b76095a4SJordan K. Hubbardrunning the Program is not restricted, and the output from the Program
75*b76095a4SJordan K. Hubbardis covered only if its contents constitute a work based on the
76*b76095a4SJordan K. HubbardProgram (independent of having been made by running the Program).
77*b76095a4SJordan K. HubbardWhether that is true depends on what the Program does.
78*b76095a4SJordan K. Hubbard
79*b76095a4SJordan K. Hubbard  1. You may copy and distribute verbatim copies of the Program's
80*b76095a4SJordan K. Hubbardsource code as you receive it, in any medium, provided that you
81*b76095a4SJordan K. Hubbardconspicuously and appropriately publish on each copy an appropriate
82*b76095a4SJordan K. Hubbardcopyright notice and disclaimer of warranty; keep intact all the
83*b76095a4SJordan K. Hubbardnotices that refer to this License and to the absence of any warranty;
84*b76095a4SJordan K. Hubbardand give any other recipients of the Program a copy of this License
85*b76095a4SJordan K. Hubbardalong with the Program.
86*b76095a4SJordan K. Hubbard
87*b76095a4SJordan K. HubbardYou may charge a fee for the physical act of transferring a copy, and
88*b76095a4SJordan K. Hubbardyou may at your option offer warranty protection in exchange for a fee.
89*b76095a4SJordan K. Hubbard
90*b76095a4SJordan K. Hubbard  2. You may modify your copy or copies of the Program or any portion
91*b76095a4SJordan K. Hubbardof it, thus forming a work based on the Program, and copy and
92*b76095a4SJordan K. Hubbarddistribute such modifications or work under the terms of Section 1
93*b76095a4SJordan K. Hubbardabove, provided that you also meet all of these conditions:
94*b76095a4SJordan K. Hubbard
95*b76095a4SJordan K. Hubbard    a) You must cause the modified files to carry prominent notices
96*b76095a4SJordan K. Hubbard    stating that you changed the files and the date of any change.
97*b76095a4SJordan K. Hubbard
98*b76095a4SJordan K. Hubbard    b) You must cause any work that you distribute or publish, that in
99*b76095a4SJordan K. Hubbard    whole or in part contains or is derived from the Program or any
100*b76095a4SJordan K. Hubbard    part thereof, to be licensed as a whole at no charge to all third
101*b76095a4SJordan K. Hubbard    parties under the terms of this License.
102*b76095a4SJordan K. Hubbard
103*b76095a4SJordan K. Hubbard    c) If the modified program normally reads commands interactively
104*b76095a4SJordan K. Hubbard    when run, you must cause it, when started running for such
105*b76095a4SJordan K. Hubbard    interactive use in the most ordinary way, to print or display an
106*b76095a4SJordan K. Hubbard    announcement including an appropriate copyright notice and a
107*b76095a4SJordan K. Hubbard    notice that there is no warranty (or else, saying that you provide
108*b76095a4SJordan K. Hubbard    a warranty) and that users may redistribute the program under
109*b76095a4SJordan K. Hubbard    these conditions, and telling the user how to view a copy of this
110*b76095a4SJordan K. Hubbard    License.  (Exception: if the Program itself is interactive but
111*b76095a4SJordan K. Hubbard    does not normally print such an announcement, your work based on
112*b76095a4SJordan K. Hubbard    the Program is not required to print an announcement.)
113*b76095a4SJordan K. Hubbard
114*b76095a4SJordan K. HubbardThese requirements apply to the modified work as a whole.  If
115*b76095a4SJordan K. Hubbardidentifiable sections of that work are not derived from the Program,
116*b76095a4SJordan K. Hubbardand can be reasonably considered independent and separate works in
117*b76095a4SJordan K. Hubbardthemselves, then this License, and its terms, do not apply to those
118*b76095a4SJordan K. Hubbardsections when you distribute them as separate works.  But when you
119*b76095a4SJordan K. Hubbarddistribute the same sections as part of a whole which is a work based
120*b76095a4SJordan K. Hubbardon the Program, the distribution of the whole must be on the terms of
121*b76095a4SJordan K. Hubbardthis License, whose permissions for other licensees extend to the
122*b76095a4SJordan K. Hubbardentire whole, and thus to each and every part regardless of who wrote it.
123*b76095a4SJordan K. Hubbard
124*b76095a4SJordan K. HubbardThus, it is not the intent of this section to claim rights or contest
125*b76095a4SJordan K. Hubbardyour rights to work written entirely by you; rather, the intent is to
126*b76095a4SJordan K. Hubbardexercise the right to control the distribution of derivative or
127*b76095a4SJordan K. Hubbardcollective works based on the Program.
128*b76095a4SJordan K. Hubbard
129*b76095a4SJordan K. HubbardIn addition, mere aggregation of another work not based on the Program
130*b76095a4SJordan K. Hubbardwith the Program (or with a work based on the Program) on a volume of
131*b76095a4SJordan K. Hubbarda storage or distribution medium does not bring the other work under
132*b76095a4SJordan K. Hubbardthe scope of this License.
133*b76095a4SJordan K. Hubbard
134*b76095a4SJordan K. Hubbard  3. You may copy and distribute the Program (or a work based on it,
135*b76095a4SJordan K. Hubbardunder Section 2) in object code or executable form under the terms of
136*b76095a4SJordan K. HubbardSections 1 and 2 above provided that you also do one of the following:
137*b76095a4SJordan K. Hubbard
138*b76095a4SJordan K. Hubbard    a) Accompany it with the complete corresponding machine-readable
139*b76095a4SJordan K. Hubbard    source code, which must be distributed under the terms of Sections
140*b76095a4SJordan K. Hubbard    1 and 2 above on a medium customarily used for software interchange; or,
141*b76095a4SJordan K. Hubbard
142*b76095a4SJordan K. Hubbard    b) Accompany it with a written offer, valid for at least three
143*b76095a4SJordan K. Hubbard    years, to give any third party, for a charge no more than your
144*b76095a4SJordan K. Hubbard    cost of physically performing source distribution, a complete
145*b76095a4SJordan K. Hubbard    machine-readable copy of the corresponding source code, to be
146*b76095a4SJordan K. Hubbard    distributed under the terms of Sections 1 and 2 above on a medium
147*b76095a4SJordan K. Hubbard    customarily used for software interchange; or,
148*b76095a4SJordan K. Hubbard
149*b76095a4SJordan K. Hubbard    c) Accompany it with the information you received as to the offer
150*b76095a4SJordan K. Hubbard    to distribute corresponding source code.  (This alternative is
151*b76095a4SJordan K. Hubbard    allowed only for noncommercial distribution and only if you
152*b76095a4SJordan K. Hubbard    received the program in object code or executable form with such
153*b76095a4SJordan K. Hubbard    an offer, in accord with Subsection b above.)
154*b76095a4SJordan K. Hubbard
155*b76095a4SJordan K. HubbardThe source code for a work means the preferred form of the work for
156*b76095a4SJordan K. Hubbardmaking modifications to it.  For an executable work, complete source
157*b76095a4SJordan K. Hubbardcode means all the source code for all modules it contains, plus any
158*b76095a4SJordan K. Hubbardassociated interface definition files, plus the scripts used to
159*b76095a4SJordan K. Hubbardcontrol compilation and installation of the executable.  However, as a
160*b76095a4SJordan K. Hubbardspecial exception, the source code distributed need not include
161*b76095a4SJordan K. Hubbardanything that is normally distributed (in either source or binary
162*b76095a4SJordan K. Hubbardform) with the major components (compiler, kernel, and so on) of the
163*b76095a4SJordan K. Hubbardoperating system on which the executable runs, unless that component
164*b76095a4SJordan K. Hubbarditself accompanies the executable.
165*b76095a4SJordan K. Hubbard
166*b76095a4SJordan K. HubbardIf distribution of executable or object code is made by offering
167*b76095a4SJordan K. Hubbardaccess to copy from a designated place, then offering equivalent
168*b76095a4SJordan K. Hubbardaccess to copy the source code from the same place counts as
169*b76095a4SJordan K. Hubbarddistribution of the source code, even though third parties are not
170*b76095a4SJordan K. Hubbardcompelled to copy the source along with the object code.
171*b76095a4SJordan K. Hubbard
172*b76095a4SJordan K. Hubbard  4. You may not copy, modify, sublicense, or distribute the Program
173*b76095a4SJordan K. Hubbardexcept as expressly provided under this License.  Any attempt
174*b76095a4SJordan K. Hubbardotherwise to copy, modify, sublicense or distribute the Program is
175*b76095a4SJordan K. Hubbardvoid, and will automatically terminate your rights under this License.
176*b76095a4SJordan K. HubbardHowever, parties who have received copies, or rights, from you under
177*b76095a4SJordan K. Hubbardthis License will not have their licenses terminated so long as such
178*b76095a4SJordan K. Hubbardparties remain in full compliance.
179*b76095a4SJordan K. Hubbard
180*b76095a4SJordan K. Hubbard  5. You are not required to accept this License, since you have not
181*b76095a4SJordan K. Hubbardsigned it.  However, nothing else grants you permission to modify or
182*b76095a4SJordan K. Hubbarddistribute the Program or its derivative works.  These actions are
183*b76095a4SJordan K. Hubbardprohibited by law if you do not accept this License.  Therefore, by
184*b76095a4SJordan K. Hubbardmodifying or distributing the Program (or any work based on the
185*b76095a4SJordan K. HubbardProgram), you indicate your acceptance of this License to do so, and
186*b76095a4SJordan K. Hubbardall its terms and conditions for copying, distributing or modifying
187*b76095a4SJordan K. Hubbardthe Program or works based on it.
188*b76095a4SJordan K. Hubbard
189*b76095a4SJordan K. Hubbard  6. Each time you redistribute the Program (or any work based on the
190*b76095a4SJordan K. HubbardProgram), the recipient automatically receives a license from the
191*b76095a4SJordan K. Hubbardoriginal licensor to copy, distribute or modify the Program subject to
192*b76095a4SJordan K. Hubbardthese terms and conditions.  You may not impose any further
193*b76095a4SJordan K. Hubbardrestrictions on the recipients' exercise of the rights granted herein.
194*b76095a4SJordan K. HubbardYou are not responsible for enforcing compliance by third parties to
195*b76095a4SJordan K. Hubbardthis License.
196*b76095a4SJordan K. Hubbard
197*b76095a4SJordan K. Hubbard  7. If, as a consequence of a court judgment or allegation of patent
198*b76095a4SJordan K. Hubbardinfringement or for any other reason (not limited to patent issues),
199*b76095a4SJordan K. Hubbardconditions are imposed on you (whether by court order, agreement or
200*b76095a4SJordan K. Hubbardotherwise) that contradict the conditions of this License, they do not
201*b76095a4SJordan K. Hubbardexcuse you from the conditions of this License.  If you cannot
202*b76095a4SJordan K. Hubbarddistribute so as to satisfy simultaneously your obligations under this
203*b76095a4SJordan K. HubbardLicense and any other pertinent obligations, then as a consequence you
204*b76095a4SJordan K. Hubbardmay not distribute the Program at all.  For example, if a patent
205*b76095a4SJordan K. Hubbardlicense would not permit royalty-free redistribution of the Program by
206*b76095a4SJordan K. Hubbardall those who receive copies directly or indirectly through you, then
207*b76095a4SJordan K. Hubbardthe only way you could satisfy both it and this License would be to
208*b76095a4SJordan K. Hubbardrefrain entirely from distribution of the Program.
209*b76095a4SJordan K. Hubbard
210*b76095a4SJordan K. HubbardIf any portion of this section is held invalid or unenforceable under
211*b76095a4SJordan K. Hubbardany particular circumstance, the balance of the section is intended to
212*b76095a4SJordan K. Hubbardapply and the section as a whole is intended to apply in other
213*b76095a4SJordan K. Hubbardcircumstances.
214*b76095a4SJordan K. Hubbard
215*b76095a4SJordan K. HubbardIt is not the purpose of this section to induce you to infringe any
216*b76095a4SJordan K. Hubbardpatents or other property right claims or to contest validity of any
217*b76095a4SJordan K. Hubbardsuch claims; this section has the sole purpose of protecting the
218*b76095a4SJordan K. Hubbardintegrity of the free software distribution system, which is
219*b76095a4SJordan K. Hubbardimplemented by public license practices.  Many people have made
220*b76095a4SJordan K. Hubbardgenerous contributions to the wide range of software distributed
221*b76095a4SJordan K. Hubbardthrough that system in reliance on consistent application of that
222*b76095a4SJordan K. Hubbardsystem; it is up to the author/donor to decide if he or she is willing
223*b76095a4SJordan K. Hubbardto distribute software through any other system and a licensee cannot
224*b76095a4SJordan K. Hubbardimpose that choice.
225*b76095a4SJordan K. Hubbard
226*b76095a4SJordan K. HubbardThis section is intended to make thoroughly clear what is believed to
227*b76095a4SJordan K. Hubbardbe a consequence of the rest of this License.
228*b76095a4SJordan K. Hubbard
229*b76095a4SJordan K. Hubbard  8. If the distribution and/or use of the Program is restricted in
230*b76095a4SJordan K. Hubbardcertain countries either by patents or by copyrighted interfaces, the
231*b76095a4SJordan K. Hubbardoriginal copyright holder who places the Program under this License
232*b76095a4SJordan K. Hubbardmay add an explicit geographical distribution limitation excluding
233*b76095a4SJordan K. Hubbardthose countries, so that distribution is permitted only in or among
234*b76095a4SJordan K. Hubbardcountries not thus excluded.  In such case, this License incorporates
235*b76095a4SJordan K. Hubbardthe limitation as if written in the body of this License.
236*b76095a4SJordan K. Hubbard
237*b76095a4SJordan K. Hubbard  9. The Free Software Foundation may publish revised and/or new versions
238*b76095a4SJordan K. Hubbardof the General Public License from time to time.  Such new versions will
239*b76095a4SJordan K. Hubbardbe similar in spirit to the present version, but may differ in detail to
240*b76095a4SJordan K. Hubbardaddress new problems or concerns.
241*b76095a4SJordan K. Hubbard
242*b76095a4SJordan K. HubbardEach version is given a distinguishing version number.  If the Program
243*b76095a4SJordan K. Hubbardspecifies a version number of this License which applies to it and "any
244*b76095a4SJordan K. Hubbardlater version", you have the option of following the terms and conditions
245*b76095a4SJordan K. Hubbardeither of that version or of any later version published by the Free
246*b76095a4SJordan K. HubbardSoftware Foundation.  If the Program does not specify a version number of
247*b76095a4SJordan K. Hubbardthis License, you may choose any version ever published by the Free Software
248*b76095a4SJordan K. HubbardFoundation.
249*b76095a4SJordan K. Hubbard
250*b76095a4SJordan K. Hubbard  10. If you wish to incorporate parts of the Program into other free
251*b76095a4SJordan K. Hubbardprograms whose distribution conditions are different, write to the author
252*b76095a4SJordan K. Hubbardto ask for permission.  For software which is copyrighted by the Free
253*b76095a4SJordan K. HubbardSoftware Foundation, write to the Free Software Foundation; we sometimes
254*b76095a4SJordan K. Hubbardmake exceptions for this.  Our decision will be guided by the two goals
255*b76095a4SJordan K. Hubbardof preserving the free status of all derivatives of our free software and
256*b76095a4SJordan K. Hubbardof promoting the sharing and reuse of software generally.
257*b76095a4SJordan K. Hubbard
258*b76095a4SJordan K. Hubbard			    NO WARRANTY
259*b76095a4SJordan K. Hubbard
260*b76095a4SJordan K. Hubbard  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261*b76095a4SJordan K. HubbardFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
262*b76095a4SJordan K. HubbardOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263*b76095a4SJordan K. HubbardPROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264*b76095a4SJordan K. HubbardOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265*b76095a4SJordan K. HubbardMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
266*b76095a4SJordan K. HubbardTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
267*b76095a4SJordan K. HubbardPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268*b76095a4SJordan K. HubbardREPAIR OR CORRECTION.
269*b76095a4SJordan K. Hubbard
270*b76095a4SJordan K. Hubbard  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271*b76095a4SJordan K. HubbardWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272*b76095a4SJordan K. HubbardREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273*b76095a4SJordan K. HubbardINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274*b76095a4SJordan K. HubbardOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275*b76095a4SJordan K. HubbardTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276*b76095a4SJordan K. HubbardYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277*b76095a4SJordan K. HubbardPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278*b76095a4SJordan K. HubbardPOSSIBILITY OF SUCH DAMAGES.
279*b76095a4SJordan K. Hubbard
280*b76095a4SJordan K. Hubbard		     END OF TERMS AND CONDITIONS
281*b76095a4SJordan K. Hubbard
282*b76095a4SJordan K. Hubbard	Appendix: How to Apply These Terms to Your New Programs
283*b76095a4SJordan K. Hubbard
284*b76095a4SJordan K. Hubbard  If you develop a new program, and you want it to be of the greatest
285*b76095a4SJordan K. Hubbardpossible use to the public, the best way to achieve this is to make it
286*b76095a4SJordan K. Hubbardfree software which everyone can redistribute and change under these terms.
287*b76095a4SJordan K. Hubbard
288*b76095a4SJordan K. Hubbard  To do so, attach the following notices to the program.  It is safest
289*b76095a4SJordan K. Hubbardto attach them to the start of each source file to most effectively
290*b76095a4SJordan K. Hubbardconvey the exclusion of warranty; and each file should have at least
291*b76095a4SJordan K. Hubbardthe "copyright" line and a pointer to where the full notice is found.
292*b76095a4SJordan K. Hubbard
293*b76095a4SJordan K. Hubbard    <one line to give the program's name and a brief idea of what it does.>
294*b76095a4SJordan K. Hubbard    Copyright (C) 19yy  <name of author>
295*b76095a4SJordan K. Hubbard
296*b76095a4SJordan K. Hubbard    This program is free software; you can redistribute it and/or modify
297*b76095a4SJordan K. Hubbard    it under the terms of the GNU General Public License as published by
298*b76095a4SJordan K. Hubbard    the Free Software Foundation; either version 2 of the License, or
299*b76095a4SJordan K. Hubbard    (at your option) any later version.
300*b76095a4SJordan K. Hubbard
301*b76095a4SJordan K. Hubbard    This program is distributed in the hope that it will be useful,
302*b76095a4SJordan K. Hubbard    but WITHOUT ANY WARRANTY; without even the implied warranty of
303*b76095a4SJordan K. Hubbard    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
304*b76095a4SJordan K. Hubbard    GNU General Public License for more details.
305*b76095a4SJordan K. Hubbard
306*b76095a4SJordan K. Hubbard    You should have received a copy of the GNU General Public License
307*b76095a4SJordan K. Hubbard    along with this program; if not, write to the Free Software
308*b76095a4SJordan K. Hubbard    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
309*b76095a4SJordan K. Hubbard
310*b76095a4SJordan K. HubbardAlso add information on how to contact you by electronic and paper mail.
311*b76095a4SJordan K. Hubbard
312*b76095a4SJordan K. HubbardIf the program is interactive, make it output a short notice like this
313*b76095a4SJordan K. Hubbardwhen it starts in an interactive mode:
314*b76095a4SJordan K. Hubbard
315*b76095a4SJordan K. Hubbard    Gnomovision version 69, Copyright (C) 19yy name of author
316*b76095a4SJordan K. Hubbard    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317*b76095a4SJordan K. Hubbard    This is free software, and you are welcome to redistribute it
318*b76095a4SJordan K. Hubbard    under certain conditions; type `show c' for details.
319*b76095a4SJordan K. Hubbard
320*b76095a4SJordan K. HubbardThe hypothetical commands `show w' and `show c' should show the appropriate
321*b76095a4SJordan K. Hubbardparts of the General Public License.  Of course, the commands you use may
322*b76095a4SJordan K. Hubbardbe called something other than `show w' and `show c'; they could even be
323*b76095a4SJordan K. Hubbardmouse-clicks or menu items--whatever suits your program.
324*b76095a4SJordan K. Hubbard
325*b76095a4SJordan K. HubbardYou should also get your employer (if you work as a programmer) or your
326*b76095a4SJordan K. Hubbardschool, if any, to sign a "copyright disclaimer" for the program, if
327*b76095a4SJordan K. Hubbardnecessary.  Here is a sample; alter the names:
328*b76095a4SJordan K. Hubbard
329*b76095a4SJordan K. Hubbard  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330*b76095a4SJordan K. Hubbard  `Gnomovision' (which makes passes at compilers) written by James Hacker.
331*b76095a4SJordan K. Hubbard
332*b76095a4SJordan K. Hubbard  <signature of Ty Coon>, 1 April 1989
333*b76095a4SJordan K. Hubbard  Ty Coon, President of Vice
334*b76095a4SJordan K. Hubbard
335*b76095a4SJordan K. HubbardThis General Public License does not permit incorporating your program into
336*b76095a4SJordan K. Hubbardproprietary programs.  If your program is a subroutine library, you may
337*b76095a4SJordan K. Hubbardconsider it more useful to permit linking proprietary applications with the
338*b76095a4SJordan K. Hubbardlibrary.  If this is what you want to do, use the GNU Library General
339*b76095a4SJordan K. HubbardPublic License instead of this License.
340