0
|
1 |
The GNU General Public License (GPL)
|
|
2 |
|
|
3 |
Version 2, June 1991
|
|
4 |
|
|
5 |
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
|
6 |
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
7 |
|
|
8 |
Everyone is permitted to copy and distribute verbatim copies of this license
|
|
9 |
document, but changing it is not allowed.
|
|
10 |
|
|
11 |
Preamble
|
|
12 |
|
|
13 |
The licenses for most software are designed to take away your freedom to share
|
|
14 |
and change it. By contrast, the GNU General Public License is intended to
|
|
15 |
guarantee your freedom to share and change free software--to make sure the
|
|
16 |
software is free for all its users. This General Public License applies to
|
|
17 |
most of the Free Software Foundation's software and to any other program whose
|
|
18 |
authors commit to using it. (Some other Free Software Foundation software is
|
|
19 |
covered by the GNU Library General Public License instead.) You can apply it to
|
|
20 |
your programs, too.
|
|
21 |
|
|
22 |
When we speak of free software, we are referring to freedom, not price. Our
|
|
23 |
General Public Licenses are designed to make sure that you have the freedom to
|
|
24 |
distribute copies of free software (and charge for this service if you wish),
|
|
25 |
that you receive source code or can get it if you want it, that you can change
|
|
26 |
the software or use pieces of it in new free programs; and that you know you
|
|
27 |
can do these things.
|
|
28 |
|
|
29 |
To protect your rights, we need to make restrictions that forbid anyone to deny
|
|
30 |
you these rights or to ask you to surrender the rights. These restrictions
|
|
31 |
translate to certain responsibilities for you if you distribute copies of the
|
|
32 |
software, or if you modify it.
|
|
33 |
|
|
34 |
For example, if you distribute copies of such a program, whether gratis or for
|
|
35 |
a fee, you must give the recipients all the rights that you have. You must
|
|
36 |
make sure that they, too, receive or can get the source code. And you must
|
|
37 |
show them these terms so they know their rights.
|
|
38 |
|
|
39 |
We protect your rights with two steps: (1) copyright the software, and (2)
|
|
40 |
offer you this license which gives you legal permission to copy, distribute
|
|
41 |
and/or modify the software.
|
|
42 |
|
|
43 |
Also, for each author's protection and ours, we want to make certain that
|
|
44 |
everyone understands that there is no warranty for this free software. If the
|
|
45 |
software is modified by someone else and passed on, we want its recipients to
|
|
46 |
know that what they have is not the original, so that any problems introduced
|
|
47 |
by others will not reflect on the original authors' reputations.
|
|
48 |
|
|
49 |
Finally, any free program is threatened constantly by software patents. We
|
|
50 |
wish to avoid the danger that redistributors of a free program will
|
|
51 |
individually obtain patent licenses, in effect making the program proprietary.
|
|
52 |
To prevent this, we have made it clear that any patent must be licensed for
|
|
53 |
everyone's free use or not licensed at all.
|
|
54 |
|
|
55 |
The precise terms and conditions for copying, distribution and modification
|
|
56 |
follow.
|
|
57 |
|
|
58 |
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
|
59 |
|
|
60 |
0. This License applies to any program or other work which contains a notice
|
|
61 |
placed by the copyright holder saying it may be distributed under the terms of
|
|
62 |
this General Public License. The "Program", below, refers to any such program
|
|
63 |
or work, and a "work based on the Program" means either the Program or any
|
|
64 |
derivative work under copyright law: that is to say, a work containing the
|
|
65 |
Program or a portion of it, either verbatim or with modifications and/or
|
|
66 |
translated into another language. (Hereinafter, translation is included
|
|
67 |
without limitation in the term "modification".) Each licensee is addressed as
|
|
68 |
"you".
|
|
69 |
|
|
70 |
Activities other than copying, distribution and modification are not covered by
|
|
71 |
this License; they are outside its scope. The act of running the Program is
|
|
72 |
not restricted, and the output from the Program is covered only if its contents
|
|
73 |
constitute a work based on the Program (independent of having been made by
|
|
74 |
running the Program). Whether that is true depends on what the Program does.
|
|
75 |
|
|
76 |
1. You may copy and distribute verbatim copies of the Program's source code as
|
|
77 |
you receive it, in any medium, provided that you conspicuously and
|
|
78 |
appropriately publish on each copy an appropriate copyright notice and
|
|
79 |
disclaimer of warranty; keep intact all the notices that refer to this License
|
|
80 |
and to the absence of any warranty; and give any other recipients of the
|
|
81 |
Program a copy of this License along with the Program.
|
|
82 |
|
|
83 |
You may charge a fee for the physical act of transferring a copy, and you may
|
|
84 |
at your option offer warranty protection in exchange for a fee.
|
|
85 |
|
|
86 |
2. You may modify your copy or copies of the Program or any portion of it, thus
|
|
87 |
forming a work based on the Program, and copy and distribute such modifications
|
|
88 |
or work under the terms of Section 1 above, provided that you also meet all of
|
|
89 |
these conditions:
|
|
90 |
|
|
91 |
a) You must cause the modified files to carry prominent notices stating
|
|
92 |
that you changed the files and the date of any change.
|
|
93 |
|
|
94 |
b) You must cause any work that you distribute or publish, that in whole or
|
|
95 |
in part contains or is derived from the Program or any part thereof, to be
|
|
96 |
licensed as a whole at no charge to all third parties under the terms of
|
|
97 |
this License.
|
|
98 |
|
|
|