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