Debian Codegraph @

prboom2/COPYING

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