xref: /dokuwiki/COPYING (revision 6201c7a865b1007b6a0e2a221b1c6fcdc738b772)
1f3f0262cSandi                    GNU GENERAL PUBLIC LICENSE
2f3f0262cSandi                       Version 2, June 1991
3f3f0262cSandi
4*6201c7a8SAnika Henke Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
5*6201c7a8SAnika Henke 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6f3f0262cSandi Everyone is permitted to copy and distribute verbatim copies
7f3f0262cSandi of this license document, but changing it is not allowed.
8f3f0262cSandi
9f3f0262cSandi                            Preamble
10f3f0262cSandi
11f3f0262cSandi  The licenses for most software are designed to take away your
12f3f0262cSandifreedom to share and change it.  By contrast, the GNU General Public
13f3f0262cSandiLicense is intended to guarantee your freedom to share and change free
14f3f0262cSandisoftware--to make sure the software is free for all its users.  This
15f3f0262cSandiGeneral Public License applies to most of the Free Software
16f3f0262cSandiFoundation's software and to any other program whose authors commit to
17f3f0262cSandiusing it.  (Some other Free Software Foundation software is covered by
18*6201c7a8SAnika Henkethe GNU Lesser General Public License instead.)  You can apply it to
19f3f0262cSandiyour programs, too.
20f3f0262cSandi
21f3f0262cSandi  When we speak of free software, we are referring to freedom, not
22f3f0262cSandiprice.  Our General Public Licenses are designed to make sure that you
23f3f0262cSandihave the freedom to distribute copies of free software (and charge for
24f3f0262cSandithis service if you wish), that you receive source code or can get it
25f3f0262cSandiif you want it, that you can change the software or use pieces of it
26f3f0262cSandiin new free programs; and that you know you can do these things.
27f3f0262cSandi
28f3f0262cSandi  To protect your rights, we need to make restrictions that forbid
29f3f0262cSandianyone to deny you these rights or to ask you to surrender the rights.
30f3f0262cSandiThese restrictions translate to certain responsibilities for you if you
31f3f0262cSandidistribute copies of the software, or if you modify it.
32f3f0262cSandi
33f3f0262cSandi  For example, if you distribute copies of such a program, whether
34f3f0262cSandigratis or for a fee, you must give the recipients all the rights that
35f3f0262cSandiyou have.  You must make sure that they, too, receive or can get the
36f3f0262cSandisource code.  And you must show them these terms so they know their
37f3f0262cSandirights.
38f3f0262cSandi
39f3f0262cSandi  We protect your rights with two steps: (1) copyright the software, and
40f3f0262cSandi(2) offer you this license which gives you legal permission to copy,
41f3f0262cSandidistribute and/or modify the software.
42f3f0262cSandi
43f3f0262cSandi  Also, for each author's protection and ours, we want to make certain
44f3f0262cSandithat everyone understands that there is no warranty for this free
45f3f0262cSandisoftware.  If the software is modified by someone else and passed on, we
46f3f0262cSandiwant its recipients to know that what they have is not the original, so
47f3f0262cSandithat any problems introduced by others will not reflect on the original
48f3f0262cSandiauthors' reputations.
49f3f0262cSandi
50f3f0262cSandi  Finally, any free program is threatened constantly by software
51f3f0262cSandipatents.  We wish to avoid the danger that redistributors of a free
52f3f0262cSandiprogram will individually obtain patent licenses, in effect making the
53f3f0262cSandiprogram proprietary.  To prevent this, we have made it clear that any
54f3f0262cSandipatent must be licensed for everyone's free use or not licensed at all.
55f3f0262cSandi
56f3f0262cSandi  The precise terms and conditions for copying, distribution and
57f3f0262cSandimodification follow.
58*6201c7a8SAnika Henke
59f3f0262cSandi                    GNU GENERAL PUBLIC LICENSE
60f3f0262cSandi   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61f3f0262cSandi
62f3f0262cSandi  0. This License applies to any program or other work which contains
63f3f0262cSandia notice placed by the copyright holder saying it may be distributed
64f3f0262cSandiunder the terms of this General Public License.  The "Program", below,
65f3f0262cSandirefers to any such program or work, and a "work based on the Program"
66f3f0262cSandimeans either the Program or any derivative work under copyright law:
67f3f0262cSandithat is to say, a work containing the Program or a portion of it,
68f3f0262cSandieither verbatim or with modifications and/or translated into another
69f3f0262cSandilanguage.  (Hereinafter, translation is included without limitation in
70f3f0262cSandithe term "modification".)  Each licensee is addressed as "you".
71f3f0262cSandi
72f3f0262cSandiActivities other than copying, distribution and modification are not
73f3f0262cSandicovered by this License; they are outside its scope.  The act of
74f3f0262cSandirunning the Program is not restricted, and the output from the Program
75f3f0262cSandiis covered only if its contents constitute a work based on the
76f3f0262cSandiProgram (independent of having been made by running the Program).
77f3f0262cSandiWhether that is true depends on what the Program does.
78f3f0262cSandi
79f3f0262cSandi  1. You may copy and distribute verbatim copies of the Program's
80f3f0262cSandisource code as you receive it, in any medium, provided that you
81f3f0262cSandiconspicuously and appropriately publish on each copy an appropriate
82f3f0262cSandicopyright notice and disclaimer of warranty; keep intact all the
83f3f0262cSandinotices that refer to this License and to the absence of any warranty;
84f3f0262cSandiand give any other recipients of the Program a copy of this License
85f3f0262cSandialong with the Program.
86f3f0262cSandi
87f3f0262cSandiYou may charge a fee for the physical act of transferring a copy, and
88f3f0262cSandiyou may at your option offer warranty protection in exchange for a fee.
89f3f0262cSandi
90f3f0262cSandi  2. You may modify your copy or copies of the Program or any portion
91f3f0262cSandiof it, thus forming a work based on the Program, and copy and
92f3f0262cSandidistribute such modifications or work under the terms of Section 1
93f3f0262cSandiabove, provided that you also meet all of these conditions:
94f3f0262cSandi
95f3f0262cSandi    a) You must cause the modified files to carry prominent notices
96f3f0262cSandi    stating that you changed the files and the date of any change.
97f3f0262cSandi
98f3f0262cSandi    b) You must cause any work that you distribute or publish, that in
99f3f0262cSandi    whole or in part contains or is derived from the Program or any
100f3f0262cSandi    part thereof, to be licensed as a whole at no charge to all third
101f3f0262cSandi    parties under the terms of this License.
102f3f0262cSandi
103f3f0262cSandi    c) If the modified program normally reads commands interactively
104f3f0262cSandi    when run, you must cause it, when started running for such
105f3f0262cSandi    interactive use in the most ordinary way, to print or display an
106f3f0262cSandi    announcement including an appropriate copyright notice and a
107f3f0262cSandi    notice that there is no warranty (or else, saying that you provide
108f3f0262cSandi    a warranty) and that users may redistribute the program under
109f3f0262cSandi    these conditions, and telling the user how to view a copy of this
110f3f0262cSandi    License.  (Exception: if the Program itself is interactive but
111f3f0262cSandi    does not normally print such an announcement, your work based on
112f3f0262cSandi    the Program is not required to print an announcement.)
113*6201c7a8SAnika Henke
114f3f0262cSandiThese requirements apply to the modified work as a whole.  If
115f3f0262cSandiidentifiable sections of that work are not derived from the Program,
116f3f0262cSandiand can be reasonably considered independent and separate works in
117f3f0262cSandithemselves, then this License, and its terms, do not apply to those
118f3f0262cSandisections when you distribute them as separate works.  But when you
119f3f0262cSandidistribute the same sections as part of a whole which is a work based
120f3f0262cSandion the Program, the distribution of the whole must be on the terms of
121f3f0262cSandithis License, whose permissions for other licensees extend to the
122f3f0262cSandientire whole, and thus to each and every part regardless of who wrote it.
123f3f0262cSandi
124f3f0262cSandiThus, it is not the intent of this section to claim rights or contest
125f3f0262cSandiyour rights to work written entirely by you; rather, the intent is to
126f3f0262cSandiexercise the right to control the distribution of derivative or
127f3f0262cSandicollective works based on the Program.
128f3f0262cSandi
129f3f0262cSandiIn addition, mere aggregation of another work not based on the Program
130f3f0262cSandiwith the Program (or with a work based on the Program) on a volume of
131f3f0262cSandia storage or distribution medium does not bring the other work under
132f3f0262cSandithe scope of this License.
133f3f0262cSandi
134f3f0262cSandi  3. You may copy and distribute the Program (or a work based on it,
135f3f0262cSandiunder Section 2) in object code or executable form under the terms of
136f3f0262cSandiSections 1 and 2 above provided that you also do one of the following:
137f3f0262cSandi
138f3f0262cSandi    a) Accompany it with the complete corresponding machine-readable
139f3f0262cSandi    source code, which must be distributed under the terms of Sections
140f3f0262cSandi    1 and 2 above on a medium customarily used for software interchange; or,
141f3f0262cSandi
142f3f0262cSandi    b) Accompany it with a written offer, valid for at least three
143f3f0262cSandi    years, to give any third party, for a charge no more than your
144f3f0262cSandi    cost of physically performing source distribution, a complete
145f3f0262cSandi    machine-readable copy of the corresponding source code, to be
146f3f0262cSandi    distributed under the terms of Sections 1 and 2 above on a medium
147f3f0262cSandi    customarily used for software interchange; or,
148f3f0262cSandi
149f3f0262cSandi    c) Accompany it with the information you received as to the offer
150f3f0262cSandi    to distribute corresponding source code.  (This alternative is
151f3f0262cSandi    allowed only for noncommercial distribution and only if you
152f3f0262cSandi    received the program in object code or executable form with such
153f3f0262cSandi    an offer, in accord with Subsection b above.)
154f3f0262cSandi
155f3f0262cSandiThe source code for a work means the preferred form of the work for
156f3f0262cSandimaking modifications to it.  For an executable work, complete source
157f3f0262cSandicode means all the source code for all modules it contains, plus any
158f3f0262cSandiassociated interface definition files, plus the scripts used to
159f3f0262cSandicontrol compilation and installation of the executable.  However, as a
160f3f0262cSandispecial exception, the source code distributed need not include
161f3f0262cSandianything that is normally distributed (in either source or binary
162f3f0262cSandiform) with the major components (compiler, kernel, and so on) of the
163f3f0262cSandioperating system on which the executable runs, unless that component
164f3f0262cSandiitself accompanies the executable.
165f3f0262cSandi
166f3f0262cSandiIf distribution of executable or object code is made by offering
167f3f0262cSandiaccess to copy from a designated place, then offering equivalent
168f3f0262cSandiaccess to copy the source code from the same place counts as
169f3f0262cSandidistribution of the source code, even though third parties are not
170f3f0262cSandicompelled to copy the source along with the object code.
171*6201c7a8SAnika Henke
172f3f0262cSandi  4. You may not copy, modify, sublicense, or distribute the Program
173f3f0262cSandiexcept as expressly provided under this License.  Any attempt
174f3f0262cSandiotherwise to copy, modify, sublicense or distribute the Program is
175f3f0262cSandivoid, and will automatically terminate your rights under this License.
176f3f0262cSandiHowever, parties who have received copies, or rights, from you under
177f3f0262cSandithis License will not have their licenses terminated so long as such
178f3f0262cSandiparties remain in full compliance.
179f3f0262cSandi
180f3f0262cSandi  5. You are not required to accept this License, since you have not
181f3f0262cSandisigned it.  However, nothing else grants you permission to modify or
182f3f0262cSandidistribute the Program or its derivative works.  These actions are
183f3f0262cSandiprohibited by law if you do not accept this License.  Therefore, by
184f3f0262cSandimodifying or distributing the Program (or any work based on the
185f3f0262cSandiProgram), you indicate your acceptance of this License to do so, and
186f3f0262cSandiall its terms and conditions for copying, distributing or modifying
187f3f0262cSandithe Program or works based on it.
188f3f0262cSandi
189f3f0262cSandi  6. Each time you redistribute the Program (or any work based on the
190f3f0262cSandiProgram), the recipient automatically receives a license from the
191f3f0262cSandioriginal licensor to copy, distribute or modify the Program subject to
192f3f0262cSandithese terms and conditions.  You may not impose any further
193f3f0262cSandirestrictions on the recipients' exercise of the rights granted herein.
194f3f0262cSandiYou are not responsible for enforcing compliance by third parties to
195f3f0262cSandithis License.
196f3f0262cSandi
197f3f0262cSandi  7. If, as a consequence of a court judgment or allegation of patent
198f3f0262cSandiinfringement or for any other reason (not limited to patent issues),
199f3f0262cSandiconditions are imposed on you (whether by court order, agreement or
200f3f0262cSandiotherwise) that contradict the conditions of this License, they do not
201f3f0262cSandiexcuse you from the conditions of this License.  If you cannot
202f3f0262cSandidistribute so as to satisfy simultaneously your obligations under this
203f3f0262cSandiLicense and any other pertinent obligations, then as a consequence you
204f3f0262cSandimay not distribute the Program at all.  For example, if a patent
205f3f0262cSandilicense would not permit royalty-free redistribution of the Program by
206f3f0262cSandiall those who receive copies directly or indirectly through you, then
207f3f0262cSandithe only way you could satisfy both it and this License would be to
208f3f0262cSandirefrain entirely from distribution of the Program.
209f3f0262cSandi
210f3f0262cSandiIf any portion of this section is held invalid or unenforceable under
211f3f0262cSandiany particular circumstance, the balance of the section is intended to
212f3f0262cSandiapply and the section as a whole is intended to apply in other
213f3f0262cSandicircumstances.
214f3f0262cSandi
215f3f0262cSandiIt is not the purpose of this section to induce you to infringe any
216f3f0262cSandipatents or other property right claims or to contest validity of any
217f3f0262cSandisuch claims; this section has the sole purpose of protecting the
218f3f0262cSandiintegrity of the free software distribution system, which is
219f3f0262cSandiimplemented by public license practices.  Many people have made
220f3f0262cSandigenerous contributions to the wide range of software distributed
221f3f0262cSandithrough that system in reliance on consistent application of that
222f3f0262cSandisystem; it is up to the author/donor to decide if he or she is willing
223f3f0262cSandito distribute software through any other system and a licensee cannot
224f3f0262cSandiimpose that choice.
225f3f0262cSandi
226f3f0262cSandiThis section is intended to make thoroughly clear what is believed to
227f3f0262cSandibe a consequence of the rest of this License.
228*6201c7a8SAnika Henke
229f3f0262cSandi  8. If the distribution and/or use of the Program is restricted in
230f3f0262cSandicertain countries either by patents or by copyrighted interfaces, the
231f3f0262cSandioriginal copyright holder who places the Program under this License
232f3f0262cSandimay add an explicit geographical distribution limitation excluding
233f3f0262cSandithose countries, so that distribution is permitted only in or among
234f3f0262cSandicountries not thus excluded.  In such case, this License incorporates
235f3f0262cSandithe limitation as if written in the body of this License.
236f3f0262cSandi
237f3f0262cSandi  9. The Free Software Foundation may publish revised and/or new versions
238f3f0262cSandiof the General Public License from time to time.  Such new versions will
239f3f0262cSandibe similar in spirit to the present version, but may differ in detail to
240f3f0262cSandiaddress new problems or concerns.
241f3f0262cSandi
242f3f0262cSandiEach version is given a distinguishing version number.  If the Program
243f3f0262cSandispecifies a version number of this License which applies to it and "any
244f3f0262cSandilater version", you have the option of following the terms and conditions
245f3f0262cSandieither of that version or of any later version published by the Free
246f3f0262cSandiSoftware Foundation.  If the Program does not specify a version number of
247f3f0262cSandithis License, you may choose any version ever published by the Free Software
248f3f0262cSandiFoundation.
249f3f0262cSandi
250f3f0262cSandi  10. If you wish to incorporate parts of the Program into other free
251f3f0262cSandiprograms whose distribution conditions are different, write to the author
252f3f0262cSandito ask for permission.  For software which is copyrighted by the Free
253f3f0262cSandiSoftware Foundation, write to the Free Software Foundation; we sometimes
254f3f0262cSandimake exceptions for this.  Our decision will be guided by the two goals
255f3f0262cSandiof preserving the free status of all derivatives of our free software and
256f3f0262cSandiof promoting the sharing and reuse of software generally.
257f3f0262cSandi
258f3f0262cSandi                            NO WARRANTY
259f3f0262cSandi
260f3f0262cSandi  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261f3f0262cSandiFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
262f3f0262cSandiOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263f3f0262cSandiPROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264f3f0262cSandiOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265f3f0262cSandiMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
266f3f0262cSandiTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
267f3f0262cSandiPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268f3f0262cSandiREPAIR OR CORRECTION.
269f3f0262cSandi
270f3f0262cSandi  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271f3f0262cSandiWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272f3f0262cSandiREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273f3f0262cSandiINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274f3f0262cSandiOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275f3f0262cSandiTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276f3f0262cSandiYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277f3f0262cSandiPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278f3f0262cSandiPOSSIBILITY OF SUCH DAMAGES.
279f3f0262cSandi
280f3f0262cSandi                     END OF TERMS AND CONDITIONS
281*6201c7a8SAnika Henke
282f3f0262cSandi            How to Apply These Terms to Your New Programs
283f3f0262cSandi
284f3f0262cSandi  If you develop a new program, and you want it to be of the greatest
285f3f0262cSandipossible use to the public, the best way to achieve this is to make it
286f3f0262cSandifree software which everyone can redistribute and change under these terms.
287f3f0262cSandi
288f3f0262cSandi  To do so, attach the following notices to the program.  It is safest
289f3f0262cSandito attach them to the start of each source file to most effectively
290f3f0262cSandiconvey the exclusion of warranty; and each file should have at least
291f3f0262cSandithe "copyright" line and a pointer to where the full notice is found.
292f3f0262cSandi
293f3f0262cSandi    <one line to give the program's name and a brief idea of what it does.>
294f3f0262cSandi    Copyright (C) <year>  <name of author>
295f3f0262cSandi
296f3f0262cSandi    This program is free software; you can redistribute it and/or modify
297f3f0262cSandi    it under the terms of the GNU General Public License as published by
298f3f0262cSandi    the Free Software Foundation; either version 2 of the License, or
299f3f0262cSandi    (at your option) any later version.
300f3f0262cSandi
301f3f0262cSandi    This program is distributed in the hope that it will be useful,
302f3f0262cSandi    but WITHOUT ANY WARRANTY; without even the implied warranty of
303f3f0262cSandi    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
304f3f0262cSandi    GNU General Public License for more details.
305f3f0262cSandi
306*6201c7a8SAnika Henke    You should have received a copy of the GNU General Public License along
307*6201c7a8SAnika Henke    with this program; if not, write to the Free Software Foundation, Inc.,
308*6201c7a8SAnika Henke    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
309f3f0262cSandi
310f3f0262cSandiAlso add information on how to contact you by electronic and paper mail.
311f3f0262cSandi
312f3f0262cSandiIf the program is interactive, make it output a short notice like this
313f3f0262cSandiwhen it starts in an interactive mode:
314f3f0262cSandi
315f3f0262cSandi    Gnomovision version 69, Copyright (C) year name of author
316f3f0262cSandi    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317f3f0262cSandi    This is free software, and you are welcome to redistribute it
318f3f0262cSandi    under certain conditions; type `show c' for details.
319f3f0262cSandi
320f3f0262cSandiThe hypothetical commands `show w' and `show c' should show the appropriate
321f3f0262cSandiparts of the General Public License.  Of course, the commands you use may
322f3f0262cSandibe called something other than `show w' and `show c'; they could even be
323f3f0262cSandimouse-clicks or menu items--whatever suits your program.
324f3f0262cSandi
325f3f0262cSandiYou should also get your employer (if you work as a programmer) or your
326f3f0262cSandischool, if any, to sign a "copyright disclaimer" for the program, if
327f3f0262cSandinecessary.  Here is a sample; alter the names:
328f3f0262cSandi
329f3f0262cSandi  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330f3f0262cSandi  `Gnomovision' (which makes passes at compilers) written by James Hacker.
331f3f0262cSandi
332f3f0262cSandi  <signature of Ty Coon>, 1 April 1989
333f3f0262cSandi  Ty Coon, President of Vice
334f3f0262cSandi
335f3f0262cSandiThis General Public License does not permit incorporating your program into
336f3f0262cSandiproprietary programs.  If your program is a subroutine library, you may
337f3f0262cSandiconsider it more useful to permit linking proprietary applications with the
338*6201c7a8SAnika Henkelibrary.  If this is what you want to do, use the GNU Lesser General
339f3f0262cSandiPublic License instead of this License.
340