xref: /openbmc/u-boot/Licenses/gpl-2.0.txt (revision 326ea986ac150acdc7656d57fca647db80b50158)
1*eca3aeb3SWolfgang Denk                    GNU GENERAL PUBLIC LICENSE
2*eca3aeb3SWolfgang Denk                       Version 2, June 1991
3*eca3aeb3SWolfgang Denk
4*eca3aeb3SWolfgang Denk Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
5*eca3aeb3SWolfgang Denk 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6*eca3aeb3SWolfgang Denk Everyone is permitted to copy and distribute verbatim copies
7*eca3aeb3SWolfgang Denk of this license document, but changing it is not allowed.
8*eca3aeb3SWolfgang Denk
9*eca3aeb3SWolfgang Denk                            Preamble
10*eca3aeb3SWolfgang Denk
11*eca3aeb3SWolfgang Denk  The licenses for most software are designed to take away your
12*eca3aeb3SWolfgang Denkfreedom to share and change it.  By contrast, the GNU General Public
13*eca3aeb3SWolfgang DenkLicense is intended to guarantee your freedom to share and change free
14*eca3aeb3SWolfgang Denksoftware--to make sure the software is free for all its users.  This
15*eca3aeb3SWolfgang DenkGeneral Public License applies to most of the Free Software
16*eca3aeb3SWolfgang DenkFoundation's software and to any other program whose authors commit to
17*eca3aeb3SWolfgang Denkusing it.  (Some other Free Software Foundation software is covered by
18*eca3aeb3SWolfgang Denkthe GNU Lesser General Public License instead.)  You can apply it to
19*eca3aeb3SWolfgang Denkyour programs, too.
20*eca3aeb3SWolfgang Denk
21*eca3aeb3SWolfgang Denk  When we speak of free software, we are referring to freedom, not
22*eca3aeb3SWolfgang Denkprice.  Our General Public Licenses are designed to make sure that you
23*eca3aeb3SWolfgang Denkhave the freedom to distribute copies of free software (and charge for
24*eca3aeb3SWolfgang Denkthis service if you wish), that you receive source code or can get it
25*eca3aeb3SWolfgang Denkif you want it, that you can change the software or use pieces of it
26*eca3aeb3SWolfgang Denkin new free programs; and that you know you can do these things.
27*eca3aeb3SWolfgang Denk
28*eca3aeb3SWolfgang Denk  To protect your rights, we need to make restrictions that forbid
29*eca3aeb3SWolfgang Denkanyone to deny you these rights or to ask you to surrender the rights.
30*eca3aeb3SWolfgang DenkThese restrictions translate to certain responsibilities for you if you
31*eca3aeb3SWolfgang Denkdistribute copies of the software, or if you modify it.
32*eca3aeb3SWolfgang Denk
33*eca3aeb3SWolfgang Denk  For example, if you distribute copies of such a program, whether
34*eca3aeb3SWolfgang Denkgratis or for a fee, you must give the recipients all the rights that
35*eca3aeb3SWolfgang Denkyou have.  You must make sure that they, too, receive or can get the
36*eca3aeb3SWolfgang Denksource code.  And you must show them these terms so they know their
37*eca3aeb3SWolfgang Denkrights.
38*eca3aeb3SWolfgang Denk
39*eca3aeb3SWolfgang Denk  We protect your rights with two steps: (1) copyright the software, and
40*eca3aeb3SWolfgang Denk(2) offer you this license which gives you legal permission to copy,
41*eca3aeb3SWolfgang Denkdistribute and/or modify the software.
42*eca3aeb3SWolfgang Denk
43*eca3aeb3SWolfgang Denk  Also, for each author's protection and ours, we want to make certain
44*eca3aeb3SWolfgang Denkthat everyone understands that there is no warranty for this free
45*eca3aeb3SWolfgang Denksoftware.  If the software is modified by someone else and passed on, we
46*eca3aeb3SWolfgang Denkwant its recipients to know that what they have is not the original, so
47*eca3aeb3SWolfgang Denkthat any problems introduced by others will not reflect on the original
48*eca3aeb3SWolfgang Denkauthors' reputations.
49*eca3aeb3SWolfgang Denk
50*eca3aeb3SWolfgang Denk  Finally, any free program is threatened constantly by software
51*eca3aeb3SWolfgang Denkpatents.  We wish to avoid the danger that redistributors of a free
52*eca3aeb3SWolfgang Denkprogram will individually obtain patent licenses, in effect making the
53*eca3aeb3SWolfgang Denkprogram proprietary.  To prevent this, we have made it clear that any
54*eca3aeb3SWolfgang Denkpatent must be licensed for everyone's free use or not licensed at all.
55*eca3aeb3SWolfgang Denk
56*eca3aeb3SWolfgang Denk  The precise terms and conditions for copying, distribution and
57*eca3aeb3SWolfgang Denkmodification follow.
58*eca3aeb3SWolfgang Denk
59*eca3aeb3SWolfgang Denk                    GNU GENERAL PUBLIC LICENSE
60*eca3aeb3SWolfgang Denk   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61*eca3aeb3SWolfgang Denk
62*eca3aeb3SWolfgang Denk  0. This License applies to any program or other work which contains
63*eca3aeb3SWolfgang Denka notice placed by the copyright holder saying it may be distributed
64*eca3aeb3SWolfgang Denkunder the terms of this General Public License.  The "Program", below,
65*eca3aeb3SWolfgang Denkrefers to any such program or work, and a "work based on the Program"
66*eca3aeb3SWolfgang Denkmeans either the Program or any derivative work under copyright law:
67*eca3aeb3SWolfgang Denkthat is to say, a work containing the Program or a portion of it,
68*eca3aeb3SWolfgang Denkeither verbatim or with modifications and/or translated into another
69*eca3aeb3SWolfgang Denklanguage.  (Hereinafter, translation is included without limitation in
70*eca3aeb3SWolfgang Denkthe term "modification".)  Each licensee is addressed as "you".
71*eca3aeb3SWolfgang Denk
72*eca3aeb3SWolfgang DenkActivities other than copying, distribution and modification are not
73*eca3aeb3SWolfgang Denkcovered by this License; they are outside its scope.  The act of
74*eca3aeb3SWolfgang Denkrunning the Program is not restricted, and the output from the Program
75*eca3aeb3SWolfgang Denkis covered only if its contents constitute a work based on the
76*eca3aeb3SWolfgang DenkProgram (independent of having been made by running the Program).
77*eca3aeb3SWolfgang DenkWhether that is true depends on what the Program does.
78*eca3aeb3SWolfgang Denk
79*eca3aeb3SWolfgang Denk  1. You may copy and distribute verbatim copies of the Program's
80*eca3aeb3SWolfgang Denksource code as you receive it, in any medium, provided that you
81*eca3aeb3SWolfgang Denkconspicuously and appropriately publish on each copy an appropriate
82*eca3aeb3SWolfgang Denkcopyright notice and disclaimer of warranty; keep intact all the
83*eca3aeb3SWolfgang Denknotices that refer to this License and to the absence of any warranty;
84*eca3aeb3SWolfgang Denkand give any other recipients of the Program a copy of this License
85*eca3aeb3SWolfgang Denkalong with the Program.
86*eca3aeb3SWolfgang Denk
87*eca3aeb3SWolfgang DenkYou may charge a fee for the physical act of transferring a copy, and
88*eca3aeb3SWolfgang Denkyou may at your option offer warranty protection in exchange for a fee.
89*eca3aeb3SWolfgang Denk
90*eca3aeb3SWolfgang Denk  2. You may modify your copy or copies of the Program or any portion
91*eca3aeb3SWolfgang Denkof it, thus forming a work based on the Program, and copy and
92*eca3aeb3SWolfgang Denkdistribute such modifications or work under the terms of Section 1
93*eca3aeb3SWolfgang Denkabove, provided that you also meet all of these conditions:
94*eca3aeb3SWolfgang Denk
95*eca3aeb3SWolfgang Denk    a) You must cause the modified files to carry prominent notices
96*eca3aeb3SWolfgang Denk    stating that you changed the files and the date of any change.
97*eca3aeb3SWolfgang Denk
98*eca3aeb3SWolfgang Denk    b) You must cause any work that you distribute or publish, that in
99*eca3aeb3SWolfgang Denk    whole or in part contains or is derived from the Program or any
100*eca3aeb3SWolfgang Denk    part thereof, to be licensed as a whole at no charge to all third
101*eca3aeb3SWolfgang Denk    parties under the terms of this License.
102*eca3aeb3SWolfgang Denk
103*eca3aeb3SWolfgang Denk    c) If the modified program normally reads commands interactively
104*eca3aeb3SWolfgang Denk    when run, you must cause it, when started running for such
105*eca3aeb3SWolfgang Denk    interactive use in the most ordinary way, to print or display an
106*eca3aeb3SWolfgang Denk    announcement including an appropriate copyright notice and a
107*eca3aeb3SWolfgang Denk    notice that there is no warranty (or else, saying that you provide
108*eca3aeb3SWolfgang Denk    a warranty) and that users may redistribute the program under
109*eca3aeb3SWolfgang Denk    these conditions, and telling the user how to view a copy of this
110*eca3aeb3SWolfgang Denk    License.  (Exception: if the Program itself is interactive but
111*eca3aeb3SWolfgang Denk    does not normally print such an announcement, your work based on
112*eca3aeb3SWolfgang Denk    the Program is not required to print an announcement.)
113*eca3aeb3SWolfgang Denk
114*eca3aeb3SWolfgang DenkThese requirements apply to the modified work as a whole.  If
115*eca3aeb3SWolfgang Denkidentifiable sections of that work are not derived from the Program,
116*eca3aeb3SWolfgang Denkand can be reasonably considered independent and separate works in
117*eca3aeb3SWolfgang Denkthemselves, then this License, and its terms, do not apply to those
118*eca3aeb3SWolfgang Denksections when you distribute them as separate works.  But when you
119*eca3aeb3SWolfgang Denkdistribute the same sections as part of a whole which is a work based
120*eca3aeb3SWolfgang Denkon the Program, the distribution of the whole must be on the terms of
121*eca3aeb3SWolfgang Denkthis License, whose permissions for other licensees extend to the
122*eca3aeb3SWolfgang Denkentire whole, and thus to each and every part regardless of who wrote it.
123*eca3aeb3SWolfgang Denk
124*eca3aeb3SWolfgang DenkThus, it is not the intent of this section to claim rights or contest
125*eca3aeb3SWolfgang Denkyour rights to work written entirely by you; rather, the intent is to
126*eca3aeb3SWolfgang Denkexercise the right to control the distribution of derivative or
127*eca3aeb3SWolfgang Denkcollective works based on the Program.
128*eca3aeb3SWolfgang Denk
129*eca3aeb3SWolfgang DenkIn addition, mere aggregation of another work not based on the Program
130*eca3aeb3SWolfgang Denkwith the Program (or with a work based on the Program) on a volume of
131*eca3aeb3SWolfgang Denka storage or distribution medium does not bring the other work under
132*eca3aeb3SWolfgang Denkthe scope of this License.
133*eca3aeb3SWolfgang Denk
134*eca3aeb3SWolfgang Denk  3. You may copy and distribute the Program (or a work based on it,
135*eca3aeb3SWolfgang Denkunder Section 2) in object code or executable form under the terms of
136*eca3aeb3SWolfgang DenkSections 1 and 2 above provided that you also do one of the following:
137*eca3aeb3SWolfgang Denk
138*eca3aeb3SWolfgang Denk    a) Accompany it with the complete corresponding machine-readable
139*eca3aeb3SWolfgang Denk    source code, which must be distributed under the terms of Sections
140*eca3aeb3SWolfgang Denk    1 and 2 above on a medium customarily used for software interchange; or,
141*eca3aeb3SWolfgang Denk
142*eca3aeb3SWolfgang Denk    b) Accompany it with a written offer, valid for at least three
143*eca3aeb3SWolfgang Denk    years, to give any third party, for a charge no more than your
144*eca3aeb3SWolfgang Denk    cost of physically performing source distribution, a complete
145*eca3aeb3SWolfgang Denk    machine-readable copy of the corresponding source code, to be
146*eca3aeb3SWolfgang Denk    distributed under the terms of Sections 1 and 2 above on a medium
147*eca3aeb3SWolfgang Denk    customarily used for software interchange; or,
148*eca3aeb3SWolfgang Denk
149*eca3aeb3SWolfgang Denk    c) Accompany it with the information you received as to the offer
150*eca3aeb3SWolfgang Denk    to distribute corresponding source code.  (This alternative is
151*eca3aeb3SWolfgang Denk    allowed only for noncommercial distribution and only if you
152*eca3aeb3SWolfgang Denk    received the program in object code or executable form with such
153*eca3aeb3SWolfgang Denk    an offer, in accord with Subsection b above.)
154*eca3aeb3SWolfgang Denk
155*eca3aeb3SWolfgang DenkThe source code for a work means the preferred form of the work for
156*eca3aeb3SWolfgang Denkmaking modifications to it.  For an executable work, complete source
157*eca3aeb3SWolfgang Denkcode means all the source code for all modules it contains, plus any
158*eca3aeb3SWolfgang Denkassociated interface definition files, plus the scripts used to
159*eca3aeb3SWolfgang Denkcontrol compilation and installation of the executable.  However, as a
160*eca3aeb3SWolfgang Denkspecial exception, the source code distributed need not include
161*eca3aeb3SWolfgang Denkanything that is normally distributed (in either source or binary
162*eca3aeb3SWolfgang Denkform) with the major components (compiler, kernel, and so on) of the
163*eca3aeb3SWolfgang Denkoperating system on which the executable runs, unless that component
164*eca3aeb3SWolfgang Denkitself accompanies the executable.
165*eca3aeb3SWolfgang Denk
166*eca3aeb3SWolfgang DenkIf distribution of executable or object code is made by offering
167*eca3aeb3SWolfgang Denkaccess to copy from a designated place, then offering equivalent
168*eca3aeb3SWolfgang Denkaccess to copy the source code from the same place counts as
169*eca3aeb3SWolfgang Denkdistribution of the source code, even though third parties are not
170*eca3aeb3SWolfgang Denkcompelled to copy the source along with the object code.
171*eca3aeb3SWolfgang Denk
172*eca3aeb3SWolfgang Denk  4. You may not copy, modify, sublicense, or distribute the Program
173*eca3aeb3SWolfgang Denkexcept as expressly provided under this License.  Any attempt
174*eca3aeb3SWolfgang Denkotherwise to copy, modify, sublicense or distribute the Program is
175*eca3aeb3SWolfgang Denkvoid, and will automatically terminate your rights under this License.
176*eca3aeb3SWolfgang DenkHowever, parties who have received copies, or rights, from you under
177*eca3aeb3SWolfgang Denkthis License will not have their licenses terminated so long as such
178*eca3aeb3SWolfgang Denkparties remain in full compliance.
179*eca3aeb3SWolfgang Denk
180*eca3aeb3SWolfgang Denk  5. You are not required to accept this License, since you have not
181*eca3aeb3SWolfgang Denksigned it.  However, nothing else grants you permission to modify or
182*eca3aeb3SWolfgang Denkdistribute the Program or its derivative works.  These actions are
183*eca3aeb3SWolfgang Denkprohibited by law if you do not accept this License.  Therefore, by
184*eca3aeb3SWolfgang Denkmodifying or distributing the Program (or any work based on the
185*eca3aeb3SWolfgang DenkProgram), you indicate your acceptance of this License to do so, and
186*eca3aeb3SWolfgang Denkall its terms and conditions for copying, distributing or modifying
187*eca3aeb3SWolfgang Denkthe Program or works based on it.
188*eca3aeb3SWolfgang Denk
189*eca3aeb3SWolfgang Denk  6. Each time you redistribute the Program (or any work based on the
190*eca3aeb3SWolfgang DenkProgram), the recipient automatically receives a license from the
191*eca3aeb3SWolfgang Denkoriginal licensor to copy, distribute or modify the Program subject to
192*eca3aeb3SWolfgang Denkthese terms and conditions.  You may not impose any further
193*eca3aeb3SWolfgang Denkrestrictions on the recipients' exercise of the rights granted herein.
194*eca3aeb3SWolfgang DenkYou are not responsible for enforcing compliance by third parties to
195*eca3aeb3SWolfgang Denkthis License.
196*eca3aeb3SWolfgang Denk
197*eca3aeb3SWolfgang Denk  7. If, as a consequence of a court judgment or allegation of patent
198*eca3aeb3SWolfgang Denkinfringement or for any other reason (not limited to patent issues),
199*eca3aeb3SWolfgang Denkconditions are imposed on you (whether by court order, agreement or
200*eca3aeb3SWolfgang Denkotherwise) that contradict the conditions of this License, they do not
201*eca3aeb3SWolfgang Denkexcuse you from the conditions of this License.  If you cannot
202*eca3aeb3SWolfgang Denkdistribute so as to satisfy simultaneously your obligations under this
203*eca3aeb3SWolfgang DenkLicense and any other pertinent obligations, then as a consequence you
204*eca3aeb3SWolfgang Denkmay not distribute the Program at all.  For example, if a patent
205*eca3aeb3SWolfgang Denklicense would not permit royalty-free redistribution of the Program by
206*eca3aeb3SWolfgang Denkall those who receive copies directly or indirectly through you, then
207*eca3aeb3SWolfgang Denkthe only way you could satisfy both it and this License would be to
208*eca3aeb3SWolfgang Denkrefrain entirely from distribution of the Program.
209*eca3aeb3SWolfgang Denk
210*eca3aeb3SWolfgang DenkIf any portion of this section is held invalid or unenforceable under
211*eca3aeb3SWolfgang Denkany particular circumstance, the balance of the section is intended to
212*eca3aeb3SWolfgang Denkapply and the section as a whole is intended to apply in other
213*eca3aeb3SWolfgang Denkcircumstances.
214*eca3aeb3SWolfgang Denk
215*eca3aeb3SWolfgang DenkIt is not the purpose of this section to induce you to infringe any
216*eca3aeb3SWolfgang Denkpatents or other property right claims or to contest validity of any
217*eca3aeb3SWolfgang Denksuch claims; this section has the sole purpose of protecting the
218*eca3aeb3SWolfgang Denkintegrity of the free software distribution system, which is
219*eca3aeb3SWolfgang Denkimplemented by public license practices.  Many people have made
220*eca3aeb3SWolfgang Denkgenerous contributions to the wide range of software distributed
221*eca3aeb3SWolfgang Denkthrough that system in reliance on consistent application of that
222*eca3aeb3SWolfgang Denksystem; it is up to the author/donor to decide if he or she is willing
223*eca3aeb3SWolfgang Denkto distribute software through any other system and a licensee cannot
224*eca3aeb3SWolfgang Denkimpose that choice.
225*eca3aeb3SWolfgang Denk
226*eca3aeb3SWolfgang DenkThis section is intended to make thoroughly clear what is believed to
227*eca3aeb3SWolfgang Denkbe a consequence of the rest of this License.
228*eca3aeb3SWolfgang Denk
229*eca3aeb3SWolfgang Denk  8. If the distribution and/or use of the Program is restricted in
230*eca3aeb3SWolfgang Denkcertain countries either by patents or by copyrighted interfaces, the
231*eca3aeb3SWolfgang Denkoriginal copyright holder who places the Program under this License
232*eca3aeb3SWolfgang Denkmay add an explicit geographical distribution limitation excluding
233*eca3aeb3SWolfgang Denkthose countries, so that distribution is permitted only in or among
234*eca3aeb3SWolfgang Denkcountries not thus excluded.  In such case, this License incorporates
235*eca3aeb3SWolfgang Denkthe limitation as if written in the body of this License.
236*eca3aeb3SWolfgang Denk
237*eca3aeb3SWolfgang Denk  9. The Free Software Foundation may publish revised and/or new versions
238*eca3aeb3SWolfgang Denkof the General Public License from time to time.  Such new versions will
239*eca3aeb3SWolfgang Denkbe similar in spirit to the present version, but may differ in detail to
240*eca3aeb3SWolfgang Denkaddress new problems or concerns.
241*eca3aeb3SWolfgang Denk
242*eca3aeb3SWolfgang DenkEach version is given a distinguishing version number.  If the Program
243*eca3aeb3SWolfgang Denkspecifies a version number of this License which applies to it and "any
244*eca3aeb3SWolfgang Denklater version", you have the option of following the terms and conditions
245*eca3aeb3SWolfgang Denkeither of that version or of any later version published by the Free
246*eca3aeb3SWolfgang DenkSoftware Foundation.  If the Program does not specify a version number of
247*eca3aeb3SWolfgang Denkthis License, you may choose any version ever published by the Free Software
248*eca3aeb3SWolfgang DenkFoundation.
249*eca3aeb3SWolfgang Denk
250*eca3aeb3SWolfgang Denk  10. If you wish to incorporate parts of the Program into other free
251*eca3aeb3SWolfgang Denkprograms whose distribution conditions are different, write to the author
252*eca3aeb3SWolfgang Denkto ask for permission.  For software which is copyrighted by the Free
253*eca3aeb3SWolfgang DenkSoftware Foundation, write to the Free Software Foundation; we sometimes
254*eca3aeb3SWolfgang Denkmake exceptions for this.  Our decision will be guided by the two goals
255*eca3aeb3SWolfgang Denkof preserving the free status of all derivatives of our free software and
256*eca3aeb3SWolfgang Denkof promoting the sharing and reuse of software generally.
257*eca3aeb3SWolfgang Denk
258*eca3aeb3SWolfgang Denk                            NO WARRANTY
259*eca3aeb3SWolfgang Denk
260*eca3aeb3SWolfgang Denk  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261*eca3aeb3SWolfgang DenkFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
262*eca3aeb3SWolfgang DenkOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263*eca3aeb3SWolfgang DenkPROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264*eca3aeb3SWolfgang DenkOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265*eca3aeb3SWolfgang DenkMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
266*eca3aeb3SWolfgang DenkTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
267*eca3aeb3SWolfgang DenkPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268*eca3aeb3SWolfgang DenkREPAIR OR CORRECTION.
269*eca3aeb3SWolfgang Denk
270*eca3aeb3SWolfgang Denk  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271*eca3aeb3SWolfgang DenkWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272*eca3aeb3SWolfgang DenkREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273*eca3aeb3SWolfgang DenkINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274*eca3aeb3SWolfgang DenkOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275*eca3aeb3SWolfgang DenkTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276*eca3aeb3SWolfgang DenkYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277*eca3aeb3SWolfgang DenkPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278*eca3aeb3SWolfgang DenkPOSSIBILITY OF SUCH DAMAGES.
279*eca3aeb3SWolfgang Denk
280*eca3aeb3SWolfgang Denk                     END OF TERMS AND CONDITIONS
281*eca3aeb3SWolfgang Denk
282*eca3aeb3SWolfgang Denk            How to Apply These Terms to Your New Programs
283*eca3aeb3SWolfgang Denk
284*eca3aeb3SWolfgang Denk  If you develop a new program, and you want it to be of the greatest
285*eca3aeb3SWolfgang Denkpossible use to the public, the best way to achieve this is to make it
286*eca3aeb3SWolfgang Denkfree software which everyone can redistribute and change under these terms.
287*eca3aeb3SWolfgang Denk
288*eca3aeb3SWolfgang Denk  To do so, attach the following notices to the program.  It is safest
289*eca3aeb3SWolfgang Denkto attach them to the start of each source file to most effectively
290*eca3aeb3SWolfgang Denkconvey the exclusion of warranty; and each file should have at least
291*eca3aeb3SWolfgang Denkthe "copyright" line and a pointer to where the full notice is found.
292*eca3aeb3SWolfgang Denk
293*eca3aeb3SWolfgang Denk    <one line to give the program's name and a brief idea of what it does.>
294*eca3aeb3SWolfgang Denk    Copyright (C) <year>  <name of author>
295*eca3aeb3SWolfgang Denk
296*eca3aeb3SWolfgang Denk    This program is free software; you can redistribute it and/or modify
297*eca3aeb3SWolfgang Denk    it under the terms of the GNU General Public License as published by
298*eca3aeb3SWolfgang Denk    the Free Software Foundation; either version 2 of the License, or
299*eca3aeb3SWolfgang Denk    (at your option) any later version.
300*eca3aeb3SWolfgang Denk
301*eca3aeb3SWolfgang Denk    This program is distributed in the hope that it will be useful,
302*eca3aeb3SWolfgang Denk    but WITHOUT ANY WARRANTY; without even the implied warranty of
303*eca3aeb3SWolfgang Denk    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
304*eca3aeb3SWolfgang Denk    GNU General Public License for more details.
305*eca3aeb3SWolfgang Denk
306*eca3aeb3SWolfgang Denk    You should have received a copy of the GNU General Public License along
307*eca3aeb3SWolfgang Denk    with this program; if not, write to the Free Software Foundation, Inc.,
308*eca3aeb3SWolfgang Denk    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
309*eca3aeb3SWolfgang Denk
310*eca3aeb3SWolfgang DenkAlso add information on how to contact you by electronic and paper mail.
311*eca3aeb3SWolfgang Denk
312*eca3aeb3SWolfgang DenkIf the program is interactive, make it output a short notice like this
313*eca3aeb3SWolfgang Denkwhen it starts in an interactive mode:
314*eca3aeb3SWolfgang Denk
315*eca3aeb3SWolfgang Denk    Gnomovision version 69, Copyright (C) year name of author
316*eca3aeb3SWolfgang Denk    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317*eca3aeb3SWolfgang Denk    This is free software, and you are welcome to redistribute it
318*eca3aeb3SWolfgang Denk    under certain conditions; type `show c' for details.
319*eca3aeb3SWolfgang Denk
320*eca3aeb3SWolfgang DenkThe hypothetical commands `show w' and `show c' should show the appropriate
321*eca3aeb3SWolfgang Denkparts of the General Public License.  Of course, the commands you use may
322*eca3aeb3SWolfgang Denkbe called something other than `show w' and `show c'; they could even be
323*eca3aeb3SWolfgang Denkmouse-clicks or menu items--whatever suits your program.
324*eca3aeb3SWolfgang Denk
325*eca3aeb3SWolfgang DenkYou should also get your employer (if you work as a programmer) or your
326*eca3aeb3SWolfgang Denkschool, if any, to sign a "copyright disclaimer" for the program, if
327*eca3aeb3SWolfgang Denknecessary.  Here is a sample; alter the names:
328*eca3aeb3SWolfgang Denk
329*eca3aeb3SWolfgang Denk  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330*eca3aeb3SWolfgang Denk  `Gnomovision' (which makes passes at compilers) written by James Hacker.
331*eca3aeb3SWolfgang Denk
332*eca3aeb3SWolfgang Denk  <signature of Ty Coon>, 1 April 1989
333*eca3aeb3SWolfgang Denk  Ty Coon, President of Vice
334*eca3aeb3SWolfgang Denk
335*eca3aeb3SWolfgang DenkThis General Public License does not permit incorporating your program into
336*eca3aeb3SWolfgang Denkproprietary programs.  If your program is a subroutine library, you may
337*eca3aeb3SWolfgang Denkconsider it more useful to permit linking proprietary applications with the
338*eca3aeb3SWolfgang Denklibrary.  If this is what you want to do, use the GNU Lesser General
339*eca3aeb3SWolfgang DenkPublic License instead of this License.
340