xref: /template/ancient/COPYING (revision 5046b4362243e89db3bfe0433ec1d5d5a76270b9)
1*5046b436Sluqi114                    GNU GENERAL PUBLIC LICENSE
2*5046b436Sluqi114                       Version 2, June 1991
3*5046b436Sluqi114
4*5046b436Sluqi114 Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
5*5046b436Sluqi114 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6*5046b436Sluqi114 Everyone is permitted to copy and distribute verbatim copies
7*5046b436Sluqi114 of this license document, but changing it is not allowed.
8*5046b436Sluqi114
9*5046b436Sluqi114                            Preamble
10*5046b436Sluqi114
11*5046b436Sluqi114  The licenses for most software are designed to take away your
12*5046b436Sluqi114freedom to share and change it.  By contrast, the GNU General Public
13*5046b436Sluqi114License is intended to guarantee your freedom to share and change free
14*5046b436Sluqi114software--to make sure the software is free for all its users.  This
15*5046b436Sluqi114General Public License applies to most of the Free Software
16*5046b436Sluqi114Foundation's software and to any other program whose authors commit to
17*5046b436Sluqi114using it.  (Some other Free Software Foundation software is covered by
18*5046b436Sluqi114the GNU Lesser General Public License instead.)  You can apply it to
19*5046b436Sluqi114your programs, too.
20*5046b436Sluqi114
21*5046b436Sluqi114  When we speak of free software, we are referring to freedom, not
22*5046b436Sluqi114price.  Our General Public Licenses are designed to make sure that you
23*5046b436Sluqi114have the freedom to distribute copies of free software (and charge for
24*5046b436Sluqi114this service if you wish), that you receive source code or can get it
25*5046b436Sluqi114if you want it, that you can change the software or use pieces of it
26*5046b436Sluqi114in new free programs; and that you know you can do these things.
27*5046b436Sluqi114
28*5046b436Sluqi114  To protect your rights, we need to make restrictions that forbid
29*5046b436Sluqi114anyone to deny you these rights or to ask you to surrender the rights.
30*5046b436Sluqi114These restrictions translate to certain responsibilities for you if you
31*5046b436Sluqi114distribute copies of the software, or if you modify it.
32*5046b436Sluqi114
33*5046b436Sluqi114  For example, if you distribute copies of such a program, whether
34*5046b436Sluqi114gratis or for a fee, you must give the recipients all the rights that
35*5046b436Sluqi114you have.  You must make sure that they, too, receive or can get the
36*5046b436Sluqi114source code.  And you must show them these terms so they know their
37*5046b436Sluqi114rights.
38*5046b436Sluqi114
39*5046b436Sluqi114  We protect your rights with two steps: (1) copyright the software, and
40*5046b436Sluqi114(2) offer you this license which gives you legal permission to copy,
41*5046b436Sluqi114distribute and/or modify the software.
42*5046b436Sluqi114
43*5046b436Sluqi114  Also, for each author's protection and ours, we want to make certain
44*5046b436Sluqi114that everyone understands that there is no warranty for this free
45*5046b436Sluqi114software.  If the software is modified by someone else and passed on, we
46*5046b436Sluqi114want its recipients to know that what they have is not the original, so
47*5046b436Sluqi114that any problems introduced by others will not reflect on the original
48*5046b436Sluqi114authors' reputations.
49*5046b436Sluqi114
50*5046b436Sluqi114  Finally, any free program is threatened constantly by software
51*5046b436Sluqi114patents.  We wish to avoid the danger that redistributors of a free
52*5046b436Sluqi114program will individually obtain patent licenses, in effect making the
53*5046b436Sluqi114program proprietary.  To prevent this, we have made it clear that any
54*5046b436Sluqi114patent must be licensed for everyone's free use or not licensed at all.
55*5046b436Sluqi114
56*5046b436Sluqi114  The precise terms and conditions for copying, distribution and
57*5046b436Sluqi114modification follow.
58*5046b436Sluqi114
59*5046b436Sluqi114                    GNU GENERAL PUBLIC LICENSE
60*5046b436Sluqi114   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61*5046b436Sluqi114
62*5046b436Sluqi114  0. This License applies to any program or other work which contains
63*5046b436Sluqi114a notice placed by the copyright holder saying it may be distributed
64*5046b436Sluqi114under the terms of this General Public License.  The "Program", below,
65*5046b436Sluqi114refers to any such program or work, and a "work based on the Program"
66*5046b436Sluqi114means either the Program or any derivative work under copyright law:
67*5046b436Sluqi114that is to say, a work containing the Program or a portion of it,
68*5046b436Sluqi114either verbatim or with modifications and/or translated into another
69*5046b436Sluqi114language.  (Hereinafter, translation is included without limitation in
70*5046b436Sluqi114the term "modification".)  Each licensee is addressed as "you".
71*5046b436Sluqi114
72*5046b436Sluqi114Activities other than copying, distribution and modification are not
73*5046b436Sluqi114covered by this License; they are outside its scope.  The act of
74*5046b436Sluqi114running the Program is not restricted, and the output from the Program
75*5046b436Sluqi114is covered only if its contents constitute a work based on the
76*5046b436Sluqi114Program (independent of having been made by running the Program).
77*5046b436Sluqi114Whether that is true depends on what the Program does.
78*5046b436Sluqi114
79*5046b436Sluqi114  1. You may copy and distribute verbatim copies of the Program's
80*5046b436Sluqi114source code as you receive it, in any medium, provided that you
81*5046b436Sluqi114conspicuously and appropriately publish on each copy an appropriate
82*5046b436Sluqi114copyright notice and disclaimer of warranty; keep intact all the
83*5046b436Sluqi114notices that refer to this License and to the absence of any warranty;
84*5046b436Sluqi114and give any other recipients of the Program a copy of this License
85*5046b436Sluqi114along with the Program.
86*5046b436Sluqi114
87*5046b436Sluqi114You may charge a fee for the physical act of transferring a copy, and
88*5046b436Sluqi114you may at your option offer warranty protection in exchange for a fee.
89*5046b436Sluqi114
90*5046b436Sluqi114  2. You may modify your copy or copies of the Program or any portion
91*5046b436Sluqi114of it, thus forming a work based on the Program, and copy and
92*5046b436Sluqi114distribute such modifications or work under the terms of Section 1
93*5046b436Sluqi114above, provided that you also meet all of these conditions:
94*5046b436Sluqi114
95*5046b436Sluqi114    a) You must cause the modified files to carry prominent notices
96*5046b436Sluqi114    stating that you changed the files and the date of any change.
97*5046b436Sluqi114
98*5046b436Sluqi114    b) You must cause any work that you distribute or publish, that in
99*5046b436Sluqi114    whole or in part contains or is derived from the Program or any
100*5046b436Sluqi114    part thereof, to be licensed as a whole at no charge to all third
101*5046b436Sluqi114    parties under the terms of this License.
102*5046b436Sluqi114
103*5046b436Sluqi114    c) If the modified program normally reads commands interactively
104*5046b436Sluqi114    when run, you must cause it, when started running for such
105*5046b436Sluqi114    interactive use in the most ordinary way, to print or display an
106*5046b436Sluqi114    announcement including an appropriate copyright notice and a
107*5046b436Sluqi114    notice that there is no warranty (or else, saying that you provide
108*5046b436Sluqi114    a warranty) and that users may redistribute the program under
109*5046b436Sluqi114    these conditions, and telling the user how to view a copy of this
110*5046b436Sluqi114    License.  (Exception: if the Program itself is interactive but
111*5046b436Sluqi114    does not normally print such an announcement, your work based on
112*5046b436Sluqi114    the Program is not required to print an announcement.)
113*5046b436Sluqi114
114*5046b436Sluqi114These requirements apply to the modified work as a whole.  If
115*5046b436Sluqi114identifiable sections of that work are not derived from the Program,
116*5046b436Sluqi114and can be reasonably considered independent and separate works in
117*5046b436Sluqi114themselves, then this License, and its terms, do not apply to those
118*5046b436Sluqi114sections when you distribute them as separate works.  But when you
119*5046b436Sluqi114distribute the same sections as part of a whole which is a work based
120*5046b436Sluqi114on the Program, the distribution of the whole must be on the terms of
121*5046b436Sluqi114this License, whose permissions for other licensees extend to the
122*5046b436Sluqi114entire whole, and thus to each and every part regardless of who wrote it.
123*5046b436Sluqi114
124*5046b436Sluqi114Thus, it is not the intent of this section to claim rights or contest
125*5046b436Sluqi114your rights to work written entirely by you; rather, the intent is to
126*5046b436Sluqi114exercise the right to control the distribution of derivative or
127*5046b436Sluqi114collective works based on the Program.
128*5046b436Sluqi114
129*5046b436Sluqi114In addition, mere aggregation of another work not based on the Program
130*5046b436Sluqi114with the Program (or with a work based on the Program) on a volume of
131*5046b436Sluqi114a storage or distribution medium does not bring the other work under
132*5046b436Sluqi114the scope of this License.
133*5046b436Sluqi114
134*5046b436Sluqi114  3. You may copy and distribute the Program (or a work based on it,
135*5046b436Sluqi114under Section 2) in object code or executable form under the terms of
136*5046b436Sluqi114Sections 1 and 2 above provided that you also do one of the following:
137*5046b436Sluqi114
138*5046b436Sluqi114    a) Accompany it with the complete corresponding machine-readable
139*5046b436Sluqi114    source code, which must be distributed under the terms of Sections
140*5046b436Sluqi114    1 and 2 above on a medium customarily used for software interchange; or,
141*5046b436Sluqi114
142*5046b436Sluqi114    b) Accompany it with a written offer, valid for at least three
143*5046b436Sluqi114    years, to give any third party, for a charge no more than your
144*5046b436Sluqi114    cost of physically performing source distribution, a complete
145*5046b436Sluqi114    machine-readable copy of the corresponding source code, to be
146*5046b436Sluqi114    distributed under the terms of Sections 1 and 2 above on a medium
147*5046b436Sluqi114    customarily used for software interchange; or,
148*5046b436Sluqi114
149*5046b436Sluqi114    c) Accompany it with the information you received as to the offer
150*5046b436Sluqi114    to distribute corresponding source code.  (This alternative is
151*5046b436Sluqi114    allowed only for noncommercial distribution and only if you
152*5046b436Sluqi114    received the program in object code or executable form with such
153*5046b436Sluqi114    an offer, in accord with Subsection b above.)
154*5046b436Sluqi114
155*5046b436Sluqi114The source code for a work means the preferred form of the work for
156*5046b436Sluqi114making modifications to it.  For an executable work, complete source
157*5046b436Sluqi114code means all the source code for all modules it contains, plus any
158*5046b436Sluqi114associated interface definition files, plus the scripts used to
159*5046b436Sluqi114control compilation and installation of the executable.  However, as a
160*5046b436Sluqi114special exception, the source code distributed need not include
161*5046b436Sluqi114anything that is normally distributed (in either source or binary
162*5046b436Sluqi114form) with the major components (compiler, kernel, and so on) of the
163*5046b436Sluqi114operating system on which the executable runs, unless that component
164*5046b436Sluqi114itself accompanies the executable.
165*5046b436Sluqi114
166*5046b436Sluqi114If distribution of executable or object code is made by offering
167*5046b436Sluqi114access to copy from a designated place, then offering equivalent
168*5046b436Sluqi114access to copy the source code from the same place counts as
169*5046b436Sluqi114distribution of the source code, even though third parties are not
170*5046b436Sluqi114compelled to copy the source along with the object code.
171*5046b436Sluqi114
172*5046b436Sluqi114  4. You may not copy, modify, sublicense, or distribute the Program
173*5046b436Sluqi114except as expressly provided under this License.  Any attempt
174*5046b436Sluqi114otherwise to copy, modify, sublicense or distribute the Program is
175*5046b436Sluqi114void, and will automatically terminate your rights under this License.
176*5046b436Sluqi114However, parties who have received copies, or rights, from you under
177*5046b436Sluqi114this License will not have their licenses terminated so long as such
178*5046b436Sluqi114parties remain in full compliance.
179*5046b436Sluqi114
180*5046b436Sluqi114  5. You are not required to accept this License, since you have not
181*5046b436Sluqi114signed it.  However, nothing else grants you permission to modify or
182*5046b436Sluqi114distribute the Program or its derivative works.  These actions are
183*5046b436Sluqi114prohibited by law if you do not accept this License.  Therefore, by
184*5046b436Sluqi114modifying or distributing the Program (or any work based on the
185*5046b436Sluqi114Program), you indicate your acceptance of this License to do so, and
186*5046b436Sluqi114all its terms and conditions for copying, distributing or modifying
187*5046b436Sluqi114the Program or works based on it.
188*5046b436Sluqi114
189*5046b436Sluqi114  6. Each time you redistribute the Program (or any work based on the
190*5046b436Sluqi114Program), the recipient automatically receives a license from the
191*5046b436Sluqi114original licensor to copy, distribute or modify the Program subject to
192*5046b436Sluqi114these terms and conditions.  You may not impose any further
193*5046b436Sluqi114restrictions on the recipients' exercise of the rights granted herein.
194*5046b436Sluqi114You are not responsible for enforcing compliance by third parties to
195*5046b436Sluqi114this License.
196*5046b436Sluqi114
197*5046b436Sluqi114  7. If, as a consequence of a court judgment or allegation of patent
198*5046b436Sluqi114infringement or for any other reason (not limited to patent issues),
199*5046b436Sluqi114conditions are imposed on you (whether by court order, agreement or
200*5046b436Sluqi114otherwise) that contradict the conditions of this License, they do not
201*5046b436Sluqi114excuse you from the conditions of this License.  If you cannot
202*5046b436Sluqi114distribute so as to satisfy simultaneously your obligations under this
203*5046b436Sluqi114License and any other pertinent obligations, then as a consequence you
204*5046b436Sluqi114may not distribute the Program at all.  For example, if a patent
205*5046b436Sluqi114license would not permit royalty-free redistribution of the Program by
206*5046b436Sluqi114all those who receive copies directly or indirectly through you, then
207*5046b436Sluqi114the only way you could satisfy both it and this License would be to
208*5046b436Sluqi114refrain entirely from distribution of the Program.
209*5046b436Sluqi114
210*5046b436Sluqi114If any portion of this section is held invalid or unenforceable under
211*5046b436Sluqi114any particular circumstance, the balance of the section is intended to
212*5046b436Sluqi114apply and the section as a whole is intended to apply in other
213*5046b436Sluqi114circumstances.
214*5046b436Sluqi114
215*5046b436Sluqi114It is not the purpose of this section to induce you to infringe any
216*5046b436Sluqi114patents or other property right claims or to contest validity of any
217*5046b436Sluqi114such claims; this section has the sole purpose of protecting the
218*5046b436Sluqi114integrity of the free software distribution system, which is
219*5046b436Sluqi114implemented by public license practices.  Many people have made
220*5046b436Sluqi114generous contributions to the wide range of software distributed
221*5046b436Sluqi114through that system in reliance on consistent application of that
222*5046b436Sluqi114system; it is up to the author/donor to decide if he or she is willing
223*5046b436Sluqi114to distribute software through any other system and a licensee cannot
224*5046b436Sluqi114impose that choice.
225*5046b436Sluqi114
226*5046b436Sluqi114This section is intended to make thoroughly clear what is believed to
227*5046b436Sluqi114be a consequence of the rest of this License.
228*5046b436Sluqi114
229*5046b436Sluqi114  8. If the distribution and/or use of the Program is restricted in
230*5046b436Sluqi114certain countries either by patents or by copyrighted interfaces, the
231*5046b436Sluqi114original copyright holder who places the Program under this License
232*5046b436Sluqi114may add an explicit geographical distribution limitation excluding
233*5046b436Sluqi114those countries, so that distribution is permitted only in or among
234*5046b436Sluqi114countries not thus excluded.  In such case, this License incorporates
235*5046b436Sluqi114the limitation as if written in the body of this License.
236*5046b436Sluqi114
237*5046b436Sluqi114  9. The Free Software Foundation may publish revised and/or new versions
238*5046b436Sluqi114of the General Public License from time to time.  Such new versions will
239*5046b436Sluqi114be similar in spirit to the present version, but may differ in detail to
240*5046b436Sluqi114address new problems or concerns.
241*5046b436Sluqi114
242*5046b436Sluqi114Each version is given a distinguishing version number.  If the Program
243*5046b436Sluqi114specifies a version number of this License which applies to it and "any
244*5046b436Sluqi114later version", you have the option of following the terms and conditions
245*5046b436Sluqi114either of that version or of any later version published by the Free
246*5046b436Sluqi114Software Foundation.  If the Program does not specify a version number of
247*5046b436Sluqi114this License, you may choose any version ever published by the Free Software
248*5046b436Sluqi114Foundation.
249*5046b436Sluqi114
250*5046b436Sluqi114  10. If you wish to incorporate parts of the Program into other free
251*5046b436Sluqi114programs whose distribution conditions are different, write to the author
252*5046b436Sluqi114to ask for permission.  For software which is copyrighted by the Free
253*5046b436Sluqi114Software Foundation, write to the Free Software Foundation; we sometimes
254*5046b436Sluqi114make exceptions for this.  Our decision will be guided by the two goals
255*5046b436Sluqi114of preserving the free status of all derivatives of our free software and
256*5046b436Sluqi114of promoting the sharing and reuse of software generally.
257*5046b436Sluqi114
258*5046b436Sluqi114                            NO WARRANTY
259*5046b436Sluqi114
260*5046b436Sluqi114  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261*5046b436Sluqi114FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
262*5046b436Sluqi114OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263*5046b436Sluqi114PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264*5046b436Sluqi114OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265*5046b436Sluqi114MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
266*5046b436Sluqi114TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
267*5046b436Sluqi114PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268*5046b436Sluqi114REPAIR OR CORRECTION.
269*5046b436Sluqi114
270*5046b436Sluqi114  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271*5046b436Sluqi114WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272*5046b436Sluqi114REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273*5046b436Sluqi114INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274*5046b436Sluqi114OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275*5046b436Sluqi114TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276*5046b436Sluqi114YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277*5046b436Sluqi114PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278*5046b436Sluqi114POSSIBILITY OF SUCH DAMAGES.
279*5046b436Sluqi114
280*5046b436Sluqi114                     END OF TERMS AND CONDITIONS
281*5046b436Sluqi114
282*5046b436Sluqi114            How to Apply These Terms to Your New Programs
283*5046b436Sluqi114
284*5046b436Sluqi114  If you develop a new program, and you want it to be of the greatest
285*5046b436Sluqi114possible use to the public, the best way to achieve this is to make it
286*5046b436Sluqi114free software which everyone can redistribute and change under these terms.
287*5046b436Sluqi114
288*5046b436Sluqi114  To do so, attach the following notices to the program.  It is safest
289*5046b436Sluqi114to attach them to the start of each source file to most effectively
290*5046b436Sluqi114convey the exclusion of warranty; and each file should have at least
291*5046b436Sluqi114the "copyright" line and a pointer to where the full notice is found.
292*5046b436Sluqi114
293*5046b436Sluqi114    <one line to give the program's name and a brief idea of what it does.>
294*5046b436Sluqi114    Copyright (C) <year>  <name of author>
295*5046b436Sluqi114
296*5046b436Sluqi114    This program is free software; you can redistribute it and/or modify
297*5046b436Sluqi114    it under the terms of the GNU General Public License as published by
298*5046b436Sluqi114    the Free Software Foundation; either version 2 of the License, or
299*5046b436Sluqi114    (at your option) any later version.
300*5046b436Sluqi114
301*5046b436Sluqi114    This program is distributed in the hope that it will be useful,
302*5046b436Sluqi114    but WITHOUT ANY WARRANTY; without even the implied warranty of
303*5046b436Sluqi114    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
304*5046b436Sluqi114    GNU General Public License for more details.
305*5046b436Sluqi114
306*5046b436Sluqi114    You should have received a copy of the GNU General Public License along
307*5046b436Sluqi114    with this program; if not, write to the Free Software Foundation, Inc.,
308*5046b436Sluqi114    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
309*5046b436Sluqi114
310*5046b436Sluqi114Also add information on how to contact you by electronic and paper mail.
311*5046b436Sluqi114
312*5046b436Sluqi114If the program is interactive, make it output a short notice like this
313*5046b436Sluqi114when it starts in an interactive mode:
314*5046b436Sluqi114
315*5046b436Sluqi114    Gnomovision version 69, Copyright (C) year name of author
316*5046b436Sluqi114    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317*5046b436Sluqi114    This is free software, and you are welcome to redistribute it
318*5046b436Sluqi114    under certain conditions; type `show c' for details.
319*5046b436Sluqi114
320*5046b436Sluqi114The hypothetical commands `show w' and `show c' should show the appropriate
321*5046b436Sluqi114parts of the General Public License.  Of course, the commands you use may
322*5046b436Sluqi114be called something other than `show w' and `show c'; they could even be
323*5046b436Sluqi114mouse-clicks or menu items--whatever suits your program.
324*5046b436Sluqi114
325*5046b436Sluqi114You should also get your employer (if you work as a programmer) or your
326*5046b436Sluqi114school, if any, to sign a "copyright disclaimer" for the program, if
327*5046b436Sluqi114necessary.  Here is a sample; alter the names:
328*5046b436Sluqi114
329*5046b436Sluqi114  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330*5046b436Sluqi114  `Gnomovision' (which makes passes at compilers) written by James Hacker.
331*5046b436Sluqi114
332*5046b436Sluqi114  <signature of Ty Coon>, 1 April 1989
333*5046b436Sluqi114  Ty Coon, President of Vice
334*5046b436Sluqi114
335*5046b436Sluqi114This General Public License does not permit incorporating your program into
336*5046b436Sluqi114proprietary programs.  If your program is a subroutine library, you may
337*5046b436Sluqi114consider it more useful to permit linking proprietary applications with the
338*5046b436Sluqi114library.  If this is what you want to do, use the GNU Lesser General
339*5046b436Sluqi114Public License instead of this License.
340