1 |
d2a8c3fd
|
Marc NICOLAS
|
COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
|
2 |
|
|
|
3 |
|
|
|
4 |
|
|
1. Definitions.
|
5 |
|
|
|
6 |
|
|
1.1. "Contributor" means each individual or entity that
|
7 |
|
|
creates or contributes to the creation of Modifications.
|
8 |
|
|
|
9 |
|
|
1.2. "Contributor Version" means the combination of the
|
10 |
|
|
Original Software, prior Modifications used by a
|
11 |
|
|
Contributor (if any), and the Modifications made by that
|
12 |
|
|
particular Contributor.
|
13 |
|
|
|
14 |
|
|
1.3. "Covered Software" means (a) the Original Software, or
|
15 |
|
|
(b) Modifications, or (c) the combination of files
|
16 |
|
|
containing Original Software with files containing
|
17 |
|
|
Modifications, in each case including portions thereof.
|
18 |
|
|
|
19 |
|
|
1.4. "Executable" means the Covered Software in any form
|
20 |
|
|
other than Source Code.
|
21 |
|
|
|
22 |
|
|
1.5. "Initial Developer" means the individual or entity
|
23 |
|
|
that first makes Original Software available under this
|
24 |
|
|
License.
|
25 |
|
|
|
26 |
|
|
1.6. "Larger Work" means a work which combines Covered
|
27 |
|
|
Software or portions thereof with code not governed by the
|
28 |
|
|
terms of this License.
|
29 |
|
|
|
30 |
|
|
1.7. "License" means this document.
|
31 |
|
|
|
32 |
|
|
1.8. "Licensable" means having the right to grant, to the
|
33 |
|
|
maximum extent possible, whether at the time of the initial
|
34 |
|
|
grant or subsequently acquired, any and all of the rights
|
35 |
|
|
conveyed herein.
|
36 |
|
|
|
37 |
|
|
1.9. "Modifications" means the Source Code and Executable
|
38 |
|
|
form of any of the following:
|
39 |
|
|
|
40 |
|
|
A. Any file that results from an addition to,
|
41 |
|
|
deletion from or modification of the contents of a
|
42 |
|
|
file containing Original Software or previous
|
43 |
|
|
Modifications;
|
44 |
|
|
|
45 |
|
|
B. Any new file that contains any part of the
|
46 |
|
|
Original Software or previous Modification; or
|
47 |
|
|
|
48 |
|
|
C. Any new file that is contributed or otherwise made
|
49 |
|
|
available under the terms of this License.
|
50 |
|
|
|
51 |
|
|
1.10. "Original Software" means the Source Code and
|
52 |
|
|
Executable form of computer software code that is
|
53 |
|
|
originally released under this License.
|
54 |
|
|
|
55 |
|
|
1.11. "Patent Claims" means any patent claim(s), now owned
|
56 |
|
|
or hereafter acquired, including without limitation,
|
57 |
|
|
method, process, and apparatus claims, in any patent
|
58 |
|
|
Licensable by grantor.
|
59 |
|
|
|
60 |
|
|
1.12. "Source Code" means (a) the common form of computer
|
61 |
|
|
software code in which modifications are made and (b)
|
62 |
|
|
associated documentation included in or with such code.
|
63 |
|
|
|
64 |
|
|
1.13. "You" (or "Your") means an individual or a legal
|
65 |
|
|
entity exercising rights under, and complying with all of
|
66 |
|
|
the terms of, this License. For legal entities, "You"
|
67 |
|
|
includes any entity which controls, is controlled by, or is
|
68 |
|
|
under common control with You. For purposes of this
|
69 |
|
|
definition, "control" means (a) the power, direct or
|
70 |
|
|
indirect, to cause the direction or management of such
|
71 |
|
|
entity, whether by contract or otherwise, or (b) ownership
|
72 |
|
|
of more than fifty percent (50%) of the outstanding shares
|
73 |
|
|
or beneficial ownership of such entity.
|
74 |
|
|
|
75 |
|
|
2. License Grants.
|
76 |
|
|
|
77 |
|
|
2.1. The Initial Developer Grant.
|
78 |
|
|
|
79 |
|
|
Conditioned upon Your compliance with Section 3.1 below and
|
80 |
|
|
subject to third party intellectual property claims, the
|
81 |
|
|
Initial Developer hereby grants You a world-wide,
|
82 |
|
|
royalty-free, non-exclusive license:
|
83 |
|
|
|
84 |
|
|
(a) under intellectual property rights (other than
|
85 |
|
|
patent or trademark) Licensable by Initial Developer,
|
86 |
|
|
to use, reproduce, modify, display, perform,
|
87 |
|
|
sublicense and distribute the Original Software (or
|
88 |
|
|
portions thereof), with or without Modifications,
|
89 |
|
|
and/or as part of a Larger Work; and
|
90 |
|
|
|
91 |
|
|
(b) under Patent Claims infringed by the making,
|
92 |
|
|
using or selling of Original Software, to make, have
|
93 |
|
|
made, use, practice, sell, and offer for sale, and/or
|
94 |
|
|
otherwise dispose of the Original Software (or
|
95 |
|
|
portions thereof).
|
96 |
|
|
|
97 |
|
|
(c) The licenses granted in Sections 2.1(a) and (b)
|
98 |
|
|
are effective on the date Initial Developer first
|
99 |
|
|
distributes or otherwise makes the Original Software
|
100 |
|
|
available to a third party under the terms of this
|
101 |
|
|
License.
|
102 |
|
|
|
103 |
|
|
(d) Notwithstanding Section 2.1(b) above, no patent
|
104 |
|
|
license is granted: (1) for code that You delete from
|
105 |
|
|
the Original Software, or (2) for infringements
|
106 |
|
|
caused by: (i) the modification of the Original
|
107 |
|
|
Software, or (ii) the combination of the Original
|
108 |
|
|
Software with other software or devices.
|
109 |
|
|
|
110 |
|
|
2.2. Contributor Grant.
|
111 |
|
|
|
112 |
|
|
Conditioned upon Your compliance with Section 3.1 below and
|
113 |
|
|
subject to third party intellectual property claims, each
|
114 |
|
|
Contributor hereby grants You a world-wide, royalty-free,
|
115 |
|
|
non-exclusive license:
|
116 |
|
|
|
117 |
|
|
(a) under intellectual property rights (other than
|
118 |
|
|
patent or trademark) Licensable by Contributor to
|
119 |
|
|
use, reproduce, modify, display, perform, sublicense
|
120 |
|
|
and distribute the Modifications created by such
|
121 |
|
|
Contributor (or portions thereof), either on an
|
122 |
|
|
unmodified basis, with other Modifications, as
|
123 |
|
|
Covered Software and/or as part of a Larger Work; and
|
124 |
|
|
|
125 |
|
|
|
126 |
|
|
(b) under Patent Claims infringed by the making,
|
127 |
|
|
using, or selling of Modifications made by that
|
128 |
|
|
Contributor either alone and/or in combination with
|
129 |
|
|
its Contributor Version (or portions of such
|
130 |
|
|
combination), to make, use, sell, offer for sale,
|
131 |
|
|
have made, and/or otherwise dispose of: (1)
|
132 |
|
|
Modifications made by that Contributor (or portions
|
133 |
|
|
thereof); and (2) the combination of Modifications
|
134 |
|
|
made by that Contributor with its Contributor Version
|
135 |
|
|
(or portions of such combination).
|
136 |
|
|
|
137 |
|
|
(c) The licenses granted in Sections 2.2(a) and
|
138 |
|
|
2.2(b) are effective on the date Contributor first
|
139 |
|
|
distributes or otherwise makes the Modifications
|
140 |
|
|
available to a third party.
|
141 |
|
|
|
142 |
|
|
(d) Notwithstanding Section 2.2(b) above, no patent
|
143 |
|
|
license is granted: (1) for any code that Contributor
|
144 |
|
|
has deleted from the Contributor Version; (2) for
|
145 |
|
|
infringements caused by: (i) third party
|
146 |
|
|
modifications of Contributor Version, or (ii) the
|
147 |
|
|
combination of Modifications made by that Contributor
|
148 |
|
|
with other software (except as part of the
|
149 |
|
|
Contributor Version) or other devices; or (3) under
|
150 |
|
|
Patent Claims infringed by Covered Software in the
|
151 |
|
|
absence of Modifications made by that Contributor.
|
152 |
|
|
|
153 |
|
|
3. Distribution Obligations.
|
154 |
|
|
|
155 |
|
|
3.1. Availability of Source Code.
|
156 |
|
|
|
157 |
|
|
Any Covered Software that You distribute or otherwise make
|
158 |
|
|
available in Executable form must also be made available in
|
159 |
|
|
Source Code form and that Source Code form must be
|
160 |
|
|
distributed only under the terms of this License. You must
|
161 |
|
|
include a copy of this License with every copy of the
|
162 |
|
|
Source Code form of the Covered Software You distribute or
|
163 |
|
|
otherwise make available. You must inform recipients of any
|
164 |
|
|
such Covered Software in Executable form as to how they can
|
165 |
|
|
obtain such Covered Software in Source Code form in a
|
166 |
|
|
reasonable manner on or through a medium customarily used
|
167 |
|
|
for software exchange.
|
168 |
|
|
|
169 |
|
|
3.2. Modifications.
|
170 |
|
|
|
171 |
|
|
The Modifications that You create or to which You
|
172 |
|
|
contribute are governed by the terms of this License. You
|
173 |
|
|
represent that You believe Your Modifications are Your
|
174 |
|
|
original creation(s) and/or You have sufficient rights to
|
175 |
|
|
grant the rights conveyed by this License.
|
176 |
|
|
|
177 |
|
|
3.3. Required Notices.
|
178 |
|
|
|
179 |
|
|
You must include a notice in each of Your Modifications
|
180 |
|
|
that identifies You as the Contributor of the Modification.
|
181 |
|
|
You may not remove or alter any copyright, patent or
|
182 |
|
|
trademark notices contained within the Covered Software, or
|
183 |
|
|
any notices of licensing or any descriptive text giving
|
184 |
|
|
attribution to any Contributor or the Initial Developer.
|
185 |
|
|
|
186 |
|
|
3.4. Application of Additional Terms.
|
187 |
|
|
|
188 |
|
|
You may not offer or impose any terms on any Covered
|
189 |
|
|
Software in Source Code form that alters or restricts the
|
190 |
|
|
applicable version of this License or the recipients?
|
191 |
|
|
rights hereunder. You may choose to offer, and to charge a
|
192 |
|
|
fee for, warranty, support, indemnity or liability
|
193 |
|
|
obligations to one or more recipients of Covered Software.
|
194 |
|
|
However, you may do so only on Your own behalf, and not on
|
195 |
|
|
behalf of the Initial Developer or any Contributor. You
|
196 |
|
|
must make it absolutely clear that any such warranty,
|
197 |
|
|
support, indemnity or liability obligation is offered by
|
198 |
|
|
You alone, and You hereby agree to indemnify the Initial
|
199 |
|
|
Developer and every Contributor for any liability incurred
|
200 |
|
|
by the Initial Developer or such Contributor as a result of
|
201 |
|
|
warranty, support, indemnity or liability terms You offer.
|
202 |
|
|
|
203 |
|
|
|
204 |
|
|
3.5. Distribution of Executable Versions.
|
205 |
|
|
|
206 |
|
|
You may distribute the Executable form of the Covered
|
207 |
|
|
Software under the terms of this License or under the terms
|
208 |
|
|
of a license of Your choice, which may contain terms
|
209 |
|
|
different from this License, provided that You are in
|
210 |
|
|
compliance with the terms of this License and that the
|
211 |
|
|
license for the Executable form does not attempt to limit
|
212 |
|
|
or alter the recipient?s rights in the Source Code form
|
213 |
|
|
from the rights set forth in this License. If You
|
214 |
|
|
distribute the Covered Software in Executable form under a
|
215 |
|
|
different license, You must make it absolutely clear that
|
216 |
|
|
any terms which differ from this License are offered by You
|
217 |
|
|
alone, not by the Initial Developer or Contributor. You
|
218 |
|
|
hereby agree to indemnify the Initial Developer and every
|
219 |
|
|
Contributor for any liability incurred by the Initial
|
220 |
|
|
Developer or such Contributor as a result of any such terms
|
221 |
|
|
You offer.
|
222 |
|
|
|
223 |
|
|
3.6. Larger Works.
|
224 |
|
|
|
225 |
|
|
You may create a Larger Work by combining Covered Software
|
226 |
|
|
with other code not governed by the terms of this License
|
227 |
|
|
and distribute the Larger Work as a single product. In such
|
228 |
|
|
a case, You must make sure the requirements of this License
|
229 |
|
|
are fulfilled for the Covered Software.
|
230 |
|
|
|
231 |
|
|
4. Versions of the License.
|
232 |
|
|
|
233 |
|
|
4.1. New Versions.
|
234 |
|
|
|
235 |
|
|
Sun Microsystems, Inc. is the initial license steward and
|
236 |
|
|
may publish revised and/or new versions of this License
|
237 |
|
|
from time to time. Each version will be given a
|
238 |
|
|
distinguishing version number. Except as provided in
|
239 |
|
|
Section 4.3, no one other than the license steward has the
|
240 |
|
|
right to modify this License.
|
241 |
|
|
|
242 |
|
|
4.2. Effect of New Versions.
|
243 |
|
|
|
244 |
|
|
You may always continue to use, distribute or otherwise
|
245 |
|
|
make the Covered Software available under the terms of the
|
246 |
|
|
version of the License under which You originally received
|
247 |
|
|
the Covered Software. If the Initial Developer includes a
|
248 |
|
|
notice in the Original Software prohibiting it from being
|
249 |
|
|
distributed or otherwise made available under any
|
250 |
|
|
subsequent version of the License, You must distribute and
|
251 |
|
|
make the Covered Software available under the terms of the
|
252 |
|
|
version of the License under which You originally received
|
253 |
|
|
the Covered Software. Otherwise, You may also choose to
|
254 |
|
|
use, distribute or otherwise make the Covered Software
|
255 |
|
|
available under the terms of any subsequent version of the
|
256 |
|
|
License published by the license steward.
|
257 |
|
|
|
258 |
|
|
4.3. Modified Versions.
|
259 |
|
|
|
260 |
|
|
When You are an Initial Developer and You want to create a
|
261 |
|
|
new license for Your Original Software, You may create and
|
262 |
|
|
use a modified version of this License if You: (a) rename
|
263 |
|
|
the license and remove any references to the name of the
|
264 |
|
|
license steward (except to note that the license differs
|
265 |
|
|
from this License); and (b) otherwise make it clear that
|
266 |
|
|
the license contains terms which differ from this License.
|
267 |
|
|
|
268 |
|
|
|
269 |
|
|
5. DISCLAIMER OF WARRANTY.
|
270 |
|
|
|
271 |
|
|
COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS"
|
272 |
|
|
BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
|
273 |
|
|
INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED
|
274 |
|
|
SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR
|
275 |
|
|
PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND
|
276 |
|
|
PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY
|
277 |
|
|
COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE
|
278 |
|
|
INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF
|
279 |
|
|
ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF
|
280 |
|
|
WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
|
281 |
|
|
ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS
|
282 |
|
|
DISCLAIMER.
|
283 |
|
|
|
284 |
|
|
6. TERMINATION.
|
285 |
|
|
|
286 |
|
|
6.1. This License and the rights granted hereunder will
|
287 |
|
|
terminate automatically if You fail to comply with terms
|
288 |
|
|
herein and fail to cure such breach within 30 days of
|
289 |
|
|
becoming aware of the breach. Provisions which, by their
|
290 |
|
|
nature, must remain in effect beyond the termination of
|
291 |
|
|
this License shall survive.
|
292 |
|
|
|
293 |
|
|
6.2. If You assert a patent infringement claim (excluding
|
294 |
|
|
declaratory judgment actions) against Initial Developer or
|
295 |
|
|
a Contributor (the Initial Developer or Contributor against
|
296 |
|
|
whom You assert such claim is referred to as "Participant")
|
297 |
|
|
alleging that the Participant Software (meaning the
|
298 |
|
|
Contributor Version where the Participant is a Contributor
|
299 |
|
|
or the Original Software where the Participant is the
|
300 |
|
|
Initial Developer) directly or indirectly infringes any
|
301 |
|
|
patent, then any and all rights granted directly or
|
302 |
|
|
indirectly to You by such Participant, the Initial
|
303 |
|
|
Developer (if the Initial Developer is not the Participant)
|
304 |
|
|
and all Contributors under Sections 2.1 and/or 2.2 of this
|
305 |
|
|
License shall, upon 60 days notice from Participant
|
306 |
|
|
terminate prospectively and automatically at the expiration
|
307 |
|
|
of such 60 day notice period, unless if within such 60 day
|
308 |
|
|
period You withdraw Your claim with respect to the
|
309 |
|
|
Participant Software against such Participant either
|
310 |
|
|
unilaterally or pursuant to a written agreement with
|
311 |
|
|
Participant.
|
312 |
|
|
|
313 |
|
|
6.3. In the event of termination under Sections 6.1 or 6.2
|
314 |
|
|
above, all end user licenses that have been validly granted
|
315 |
|
|
by You or any distributor hereunder prior to termination
|
316 |
|
|
(excluding licenses granted to You by any distributor)
|
317 |
|
|
shall survive termination.
|
318 |
|
|
|
319 |
|
|
7. LIMITATION OF LIABILITY.
|
320 |
|
|
|
321 |
|
|
UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
|
322 |
|
|
(INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE
|
323 |
|
|
INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF
|
324 |
|
|
COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE
|
325 |
|
|
LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR
|
326 |
|
|
CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT
|
327 |
|
|
LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK
|
328 |
|
|
STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
|
329 |
|
|
COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
|
330 |
|
|
INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
|
331 |
|
|
LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL
|
332 |
|
|
INJURY RESULTING FROM SUCH PARTY?S NEGLIGENCE TO THE EXTENT
|
333 |
|
|
APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO
|
334 |
|
|
NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR
|
335 |
|
|
CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT
|
336 |
|
|
APPLY TO YOU.
|
337 |
|
|
|
338 |
|
|
8. U.S. GOVERNMENT END USERS.
|
339 |
|
|
|
340 |
|
|
The Covered Software is a "commercial item," as that term is
|
341 |
|
|
defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial
|
342 |
|
|
computer software" (as that term is defined at 48 C.F.R. ?
|
343 |
|
|
252.227-7014(a)(1)) and "commercial computer software
|
344 |
|
|
documentation" as such terms are used in 48 C.F.R. 12.212 (Sept.
|
345 |
|
|
1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1
|
346 |
|
|
through 227.7202-4 (June 1995), all U.S. Government End Users
|
347 |
|
|
acquire Covered Software with only those rights set forth herein.
|
348 |
|
|
This U.S. Government Rights clause is in lieu of, and supersedes,
|
349 |
|
|
any other FAR, DFAR, or other clause or provision that addresses
|
350 |
|
|
Government rights in computer software under this License.
|
351 |
|
|
|
352 |
|
|
9. MISCELLANEOUS.
|
353 |
|
|
|
354 |
|
|
This License represents the complete agreement concerning subject
|
355 |
|
|
matter hereof. If any provision of this License is held to be
|
356 |
|
|
unenforceable, such provision shall be reformed only to the
|
357 |
|
|
extent necessary to make it enforceable. This License shall be
|
358 |
|
|
governed by the law of the jurisdiction specified in a notice
|
359 |
|
|
contained within the Original Software (except to the extent
|
360 |
|
|
applicable law, if any, provides otherwise), excluding such
|
361 |
|
|
jurisdiction?s conflict-of-law provisions. Any litigation
|
362 |
|
|
relating to this License shall be subject to the jurisdiction of
|
363 |
|
|
the courts located in the jurisdiction and venue specified in a
|
364 |
|
|
notice contained within the Original Software, with the losing
|
365 |
|
|
party responsible for costs, including, without limitation, court
|
366 |
|
|
costs and reasonable attorneys? fees and expenses. The
|
367 |
|
|
application of the United Nations Convention on Contracts for the
|
368 |
|
|
International Sale of Goods is expressly excluded. Any law or
|
369 |
|
|
regulation which provides that the language of a contract shall
|
370 |
|
|
be construed against the drafter shall not apply to this License.
|
371 |
|
|
You agree that You alone are responsible for compliance with the
|
372 |
|
|
United States export administration regulations (and the export
|
373 |
|
|
control laws and regulation of any other countries) when You use,
|
374 |
|
|
distribute or otherwise make available any Covered Software.
|
375 |
|
|
|
376 |
|
|
10. RESPONSIBILITY FOR CLAIMS.
|
377 |
|
|
|
378 |
|
|
As between Initial Developer and the Contributors, each party is
|
379 |
|
|
responsible for claims and damages arising, directly or
|
380 |
|
|
indirectly, out of its utilization of rights under this License
|
381 |
|
|
and You agree to work with Initial Developer and Contributors to
|
382 |
|
|
distribute such responsibility on an equitable basis. Nothing
|
383 |
|
|
herein is intended or shall be deemed to constitute any admission
|
384 |
|
|
of liability.
|
385 |
|
|
|
386 |
|
|
_______________________________________________________________________
|
387 |
|
|
|
388 |
|
|
GNU GENERAL PUBLIC LICENSE
|
389 |
|
|
Version 2, June 1991
|
390 |
|
|
|
391 |
|
|
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
|
392 |
|
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
393 |
|
|
Everyone is permitted to copy and distribute verbatim copies
|
394 |
|
|
of this license document, but changing it is not allowed.
|
395 |
|
|
|
396 |
|
|
Preamble
|
397 |
|
|
|
398 |
|
|
The licenses for most software are designed to take away your
|
399 |
|
|
freedom to share and change it. By contrast, the GNU General Public
|
400 |
|
|
License is intended to guarantee your freedom to share and change free
|
401 |
|
|
software--to make sure the software is free for all its users. This
|
402 |
|
|
General Public License applies to most of the Free Software
|
403 |
|
|
Foundation's software and to any other program whose authors commit to
|
404 |
|
|
using it. (Some other Free Software Foundation software is covered by
|
405 |
|
|
the GNU Lesser General Public License instead.) You can apply it to
|
406 |
|
|
your programs, too.
|
407 |
|
|
|
408 |
|
|
When we speak of free software, we are referring to freedom, not
|
409 |
|
|
price. Our General Public Licenses are designed to make sure that you
|
410 |
|
|
have the freedom to distribute copies of free software (and charge for
|
411 |
|
|
this service if you wish), that you receive source code or can get it
|
412 |
|
|
if you want it, that you can change the software or use pieces of it
|
413 |
|
|
in new free programs; and that you know you can do these things.
|
414 |
|
|
|
415 |
|
|
To protect your rights, we need to make restrictions that forbid
|
416 |
|
|
anyone to deny you these rights or to ask you to surrender the rights.
|
417 |
|
|
These restrictions translate to certain responsibilities for you if you
|
418 |
|
|
distribute copies of the software, or if you modify it.
|
419 |
|
|
|
420 |
|
|
For example, if you distribute copies of such a program, whether
|
421 |
|
|
gratis or for a fee, you must give the recipients all the rights that
|
422 |
|
|
you have. You must make sure that they, too, receive or can get the
|
423 |
|
|
source code. And you must show them these terms so they know their
|
424 |
|
|
rights.
|
425 |
|
|
|
426 |
|
|
We protect your rights with two steps: (1) copyright the software, and
|
427 |
|
|
(2) offer you this license which gives you legal permission to copy,
|
428 |
|
|
distribute and/or modify the software.
|
429 |
|
|
|
430 |
|
|
Also, for each author's protection and ours, we want to make certain
|
431 |
|
|
that everyone understands that there is no warranty for this free
|
432 |
|
|
software. If the software is modified by someone else and passed on, we
|
433 |
|
|
want its recipients to know that what they have is not the original, so
|
434 |
|
|
that any problems introduced by others will not reflect on the original
|
435 |
|
|
authors' reputations.
|
436 |
|
|
|
437 |
|
|
Finally, any free program is threatened constantly by software
|
438 |
|
|
patents. We wish to avoid the danger that redistributors of a free
|
439 |
|
|
program will individually obtain patent licenses, in effect making the
|
440 |
|
|
program proprietary. To prevent this, we have made it clear that any
|
441 |
|
|
patent must be licensed for everyone's free use or not licensed at all.
|
442 |
|
|
|
443 |
|
|
The precise terms and conditions for copying, distribution and
|
444 |
|
|
modification follow.
|
445 |
|
|
|
446 |
|
|
GNU GENERAL PUBLIC LICENSE
|
447 |
|
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
448 |
|
|
|
449 |
|
|
0. This License applies to any program or other work which contains
|
450 |
|
|
a notice placed by the copyright holder saying it may be distributed
|
451 |
|
|
under the terms of this General Public License. The "Program", below,
|
452 |
|
|
refers to any such program or work, and a "work based on the Program"
|
453 |
|
|
means either the Program or any derivative work under copyright law:
|
454 |
|
|
that is to say, a work containing the Program or a portion of it,
|
455 |
|
|
either verbatim or with modifications and/or translated into another
|
456 |
|
|
language. (Hereinafter, translation is included without limitation in
|
457 |
|
|
the term "modification".) Each licensee is addressed as "you".
|
458 |
|
|
|
459 |
|
|
Activities other than copying, distribution and modification are not
|
460 |
|
|
covered by this License; they are outside its scope. The act of
|
461 |
|
|
running the Program is not restricted, and the output from the Program
|
462 |
|
|
is covered only if its contents constitute a work based on the
|
463 |
|
|
Program (independent of having been made by running the Program).
|
464 |
|
|
Whether that is true depends on what the Program does.
|
465 |
|
|
|
466 |
|
|
1. You may copy and distribute verbatim copies of the Program's
|
467 |
|
|
source code as you receive it, in any medium, provided that you
|
468 |
|
|
conspicuously and appropriately publish on each copy an appropriate
|
469 |
|
|
copyright notice and disclaimer of warranty; keep intact all the
|
470 |
|
|
notices that refer to this License and to the absence of any warranty;
|
471 |
|
|
and give any other recipients of the Program a copy of this License
|
472 |
|
|
along with the Program.
|
473 |
|
|
|
474 |
|
|
You may charge a fee for the physical act of transferring a copy, and
|
475 |
|
|
you may at your option offer warranty protection in exchange for a fee.
|
476 |
|
|
|
477 |
|
|
2. You may modify your copy or copies of the Program or any portion
|
478 |
|
|
of it, thus forming a work based on the Program, and copy and
|
479 |
|
|
distribute such modifications or work under the terms of Section 1
|
480 |
|
|
above, provided that you also meet all of these conditions:
|
481 |
|
|
|
482 |
|
|
a) You must cause the modified files to carry prominent notices
|
483 |
|
|
stating that you changed the files and the date of any change.
|
484 |
|
|
|
485 |
|
|
b) You must cause any work that you distribute or publish, that in
|
486 |
|
|
whole or in part contains or is derived from the Program or any
|
487 |
|
|
part thereof, to be licensed as a whole at no charge to all third
|
488 |
|
|
parties under the terms of this License.
|
489 |
|
|
|
490 |
|
|
c) If the modified program normally reads commands interactively
|
491 |
|
|
when run, you must cause it, when started running for such
|
492 |
|
|
interactive use in the most ordinary way, to print or display an
|
493 |
|
|
announcement including an appropriate copyright notice and a
|
494 |
|
|
notice that there is no warranty (or else, saying that you provide
|
495 |
|
|
a warranty) and that users may redistribute the program under
|
496 |
|
|
these conditions, and telling the user how to view a copy of this
|
497 |
|
|
License. (Exception: if the Program itself is interactive but
|
498 |
|
|
does not normally print such an announcement, your work based on
|
499 |
|
|
the Program is not required to print an announcement.)
|
500 |
|
|
|
501 |
|
|
These requirements apply to the modified work as a whole. If
|
502 |
|
|
identifiable sections of that work are not derived from the Program,
|
503 |
|
|
and can be reasonably considered independent and separate works in
|
504 |
|
|
themselves, then this License, and its terms, do not apply to those
|
505 |
|
|
sections when you distribute them as separate works. But when you
|
506 |
|
|
distribute the same sections as part of a whole which is a work based
|
507 |
|
|
on the Program, the distribution of the whole must be on the terms of
|
508 |
|
|
this License, whose permissions for other licensees extend to the
|
509 |
|
|
entire whole, and thus to each and every part regardless of who wrote it.
|
510 |
|
|
|
511 |
|
|
Thus, it is not the intent of this section to claim rights or contest
|
512 |
|
|
your rights to work written entirely by you; rather, the intent is to
|
513 |
|
|
exercise the right to control the distribution of derivative or
|
514 |
|
|
collective works based on the Program.
|
515 |
|
|
|
516 |
|
|
In addition, mere aggregation of another work not based on the Program
|
517 |
|
|
with the Program (or with a work based on the Program) on a volume of
|
518 |
|
|
a storage or distribution medium does not bring the other work under
|
519 |
|
|
the scope of this License.
|
520 |
|
|
|
521 |
|
|
3. You may copy and distribute the Program (or a work based on it,
|
522 |
|
|
under Section 2) in object code or executable form under the terms of
|
523 |
|
|
Sections 1 and 2 above provided that you also do one of the following:
|
524 |
|
|
|
525 |
|
|
a) Accompany it with the complete corresponding machine-readable
|
526 |
|
|
source code, which must be distributed under the terms of Sections
|
527 |
|
|
1 and 2 above on a medium customarily used for software interchange; or,
|
528 |
|
|
|
529 |
|
|
b) Accompany it with a written offer, valid for at least three
|
530 |
|
|
years, to give any third party, for a charge no more than your
|
531 |
|
|
cost of physically performing source distribution, a complete
|
532 |
|
|
machine-readable copy of the corresponding source code, to be
|
533 |
|
|
distributed under the terms of Sections 1 and 2 above on a medium
|
534 |
|
|
customarily used for software interchange; or,
|
535 |
|
|
|
536 |
|
|
c) Accompany it with the information you received as to the offer
|
537 |
|
|
to distribute corresponding source code. (This alternative is
|
538 |
|
|
allowed only for noncommercial distribution and only if you
|
539 |
|
|
received the program in object code or executable form with such
|
540 |
|
|
an offer, in accord with Subsection b above.)
|
541 |
|
|
|
542 |
|
|
The source code for a work means the preferred form of the work for
|
543 |
|
|
making modifications to it. For an executable work, complete source
|
544 |
|
|
code means all the source code for all modules it contains, plus any
|
545 |
|
|
associated interface definition files, plus the scripts used to
|
546 |
|
|
control compilation and installation of the executable. However, as a
|
547 |
|
|
special exception, the source code distributed need not include
|
548 |
|
|
anything that is normally distributed (in either source or binary
|
549 |
|
|
form) with the major components (compiler, kernel, and so on) of the
|
550 |
|
|
operating system on which the executable runs, unless that component
|
551 |
|
|
itself accompanies the executable.
|
552 |
|
|
|
553 |
|
|
If distribution of executable or object code is made by offering
|
554 |
|
|
access to copy from a designated place, then offering equivalent
|
555 |
|
|
access to copy the source code from the same place counts as
|
556 |
|
|
distribution of the source code, even though third parties are not
|
557 |
|
|
compelled to copy the source along with the object code.
|
558 |
|
|
|
559 |
|
|
4. You may not copy, modify, sublicense, or distribute the Program
|
560 |
|
|
except as expressly provided under this License. Any attempt
|
561 |
|
|
otherwise to copy, modify, sublicense or distribute the Program is
|
562 |
|
|
void, and will automatically terminate your rights under this License.
|
563 |
|
|
However, parties who have received copies, or rights, from you under
|
564 |
|
|
this License will not have their licenses terminated so long as such
|
565 |
|
|
parties remain in full compliance.
|
566 |
|
|
|
567 |
|
|
5. You are not required to accept this License, since you have not
|
568 |
|
|
signed it. However, nothing else grants you permission to modify or
|
569 |
|
|
distribute the Program or its derivative works. These actions are
|
570 |
|
|
prohibited by law if you do not accept this License. Therefore, by
|
571 |
|
|
modifying or distributing the Program (or any work based on the
|
572 |
|
|
Program), you indicate your acceptance of this License to do so, and
|
573 |
|
|
all its terms and conditions for copying, distributing or modifying
|
574 |
|
|
the Program or works based on it.
|
575 |
|
|
|
576 |
|
|
6. Each time you redistribute the Program (or any work based on the
|
577 |
|
|
Program), the recipient automatically receives a license from the
|
578 |
|
|
original licensor to copy, distribute or modify the Program subject to
|
579 |
|
|
these terms and conditions. You may not impose any further
|
580 |
|
|
restrictions on the recipients' exercise of the rights granted herein.
|
581 |
|
|
You are not responsible for enforcing compliance by third parties to
|
582 |
|
|
this License.
|
583 |
|
|
|
584 |
|
|
7. If, as a consequence of a court judgment or allegation of patent
|
585 |
|
|
infringement or for any other reason (not limited to patent issues),
|
586 |
|
|
conditions are imposed on you (whether by court order, agreement or
|
587 |
|
|
otherwise) that contradict the conditions of this License, they do not
|
588 |
|
|
excuse you from the conditions of this License. If you cannot
|
589 |
|
|
distribute so as to satisfy simultaneously your obligations under this
|
590 |
|
|
License and any other pertinent obligations, then as a consequence you
|
591 |
|
|
may not distribute the Program at all. For example, if a patent
|
592 |
|
|
license would not permit royalty-free redistribution of the Program by
|
593 |
|
|
all those who receive copies directly or indirectly through you, then
|
594 |
|
|
the only way you could satisfy both it and this License would be to
|
595 |
|
|
refrain entirely from distribution of the Program.
|
596 |
|
|
|
597 |
|
|
If any portion of this section is held invalid or unenforceable under
|
598 |
|
|
any particular circumstance, the balance of the section is intended to
|
599 |
|
|
apply and the section as a whole is intended to apply in other
|
600 |
|
|
circumstances.
|
601 |
|
|
|
602 |
|
|
It is not the purpose of this section to induce you to infringe any
|
603 |
|
|
patents or other property right claims or to contest validity of any
|
604 |
|
|
such claims; this section has the sole purpose of protecting the
|
605 |
|
|
integrity of the free software distribution system, which is
|
606 |
|
|
implemented by public license practices. Many people have made
|
607 |
|
|
generous contributions to the wide range of software distributed
|
608 |
|
|
through that system in reliance on consistent application of that
|
609 |
|
|
system; it is up to the author/donor to decide if he or she is willing
|
610 |
|
|
to distribute software through any other system and a licensee cannot
|
611 |
|
|
impose that choice.
|
612 |
|
|
|
613 |
|
|
This section is intended to make thoroughly clear what is believed to
|
614 |
|
|
be a consequence of the rest of this License.
|
615 |
|
|
|
616 |
|
|
8. If the distribution and/or use of the Program is restricted in
|
617 |
|
|
certain countries either by patents or by copyrighted interfaces, the
|
618 |
|
|
original copyright holder who places the Program under this License
|
619 |
|
|
may add an explicit geographical distribution limitation excluding
|
620 |
|
|
those countries, so that distribution is permitted only in or among
|
621 |
|
|
countries not thus excluded. In such case, this License incorporates
|
622 |
|
|
the limitation as if written in the body of this License.
|
623 |
|
|
|
624 |
|
|
9. The Free Software Foundation may publish revised and/or new versions
|
625 |
|
|
of the General Public License from time to time. Such new versions will
|
626 |
|
|
be similar in spirit to the present version, but may differ in detail to
|
627 |
|
|
address new problems or concerns.
|
628 |
|
|
|
629 |
|
|
Each version is given a distinguishing version number. If the Program
|
630 |
|
|
specifies a version number of this License which applies to it and "any
|
631 |
|
|
later version", you have the option of following the terms and conditions
|
632 |
|
|
either of that version or of any later version published by the Free
|
633 |
|
|
Software Foundation. If the Program does not specify a version number of
|
634 |
|
|
this License, you may choose any version ever published by the Free Software
|
635 |
|
|
Foundation.
|
636 |
|
|
|
637 |
|
|
10. If you wish to incorporate parts of the Program into other free
|
638 |
|
|
programs whose distribution conditions are different, write to the author
|
639 |
|
|
to ask for permission. For software which is copyrighted by the Free
|
640 |
|
|
Software Foundation, write to the Free Software Foundation; we sometimes
|
641 |
|
|
make exceptions for this. Our decision will be guided by the two goals
|
642 |
|
|
of preserving the free status of all derivatives of our free software and
|
643 |
|
|
of promoting the sharing and reuse of software generally.
|
644 |
|
|
|
645 |
|
|
NO WARRANTY
|
646 |
|
|
|
647 |
|
|
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
648 |
|
|
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
649 |
|
|
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
650 |
|
|
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
651 |
|
|
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
652 |
|
|
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
653 |
|
|
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
654 |
|
|
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
655 |
|
|
REPAIR OR CORRECTION.
|
656 |
|
|
|
657 |
|
|
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
658 |
|
|
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
659 |
|
|
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
660 |
|
|
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
661 |
|
|
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
662 |
|
|
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
663 |
|
|
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
664 |
|
|
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
665 |
|
|
POSSIBILITY OF SUCH DAMAGES.
|
666 |
|
|
|
667 |
|
|
END OF TERMS AND CONDITIONS
|
668 |
|
|
|
669 |
|
|
How to Apply These Terms to Your New Programs
|
670 |
|
|
|
671 |
|
|
If you develop a new program, and you want it to be of the greatest
|
672 |
|
|
possible use to the public, the best way to achieve this is to make it
|
673 |
|
|
free software which everyone can redistribute and change under these terms.
|
674 |
|
|
|
675 |
|
|
To do so, attach the following notices to the program. It is safest
|
676 |
|
|
to attach them to the start of each source file to most effectively
|
677 |
|
|
convey the exclusion of warranty; and each file should have at least
|
678 |
|
|
the "copyright" line and a pointer to where the full notice is found.
|
679 |
|
|
|
680 |
|
|
<one line to give the program's name and a brief idea of what it does.>
|
681 |
|
|
Copyright (C) <year> <name of author>
|
682 |
|
|
|
683 |
|
|
This program is free software; you can redistribute it and/or modify
|
684 |
|
|
it under the terms of the GNU General Public License as published by
|
685 |
|
|
the Free Software Foundation; either version 2 of the License, or
|
686 |
|
|
(at your option) any later version.
|
687 |
|
|
|
688 |
|
|
This program is distributed in the hope that it will be useful,
|
689 |
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
690 |
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
691 |
|
|
GNU General Public License for more details.
|
692 |
|
|
|
693 |
|
|
You should have received a copy of the GNU General Public License along
|
694 |
|
|
with this program; if not, write to the Free Software Foundation, Inc.,
|
695 |
|
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
696 |
|
|
|
697 |
|
|
Also add information on how to contact you by electronic and paper mail.
|
698 |
|
|
|
699 |
|
|
If the program is interactive, make it output a short notice like this
|
700 |
|
|
when it starts in an interactive mode:
|
701 |
|
|
|
702 |
|
|
Gnomovision version 69, Copyright (C) year name of author
|
703 |
|
|
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
704 |
|
|
This is free software, and you are welcome to redistribute it
|
705 |
|
|
under certain conditions; type `show c' for details.
|
706 |
|
|
|
707 |
|
|
The hypothetical commands `show w' and `show c' should show the appropriate
|
708 |
|
|
parts of the General Public License. Of course, the commands you use may
|
709 |
|
|
be called something other than `show w' and `show c'; they could even be
|
710 |
|
|
mouse-clicks or menu items--whatever suits your program.
|
711 |
|
|
|
712 |
|
|
You should also get your employer (if you work as a programmer) or your
|
713 |
|
|
school, if any, to sign a "copyright disclaimer" for the program, if
|
714 |
|
|
necessary. Here is a sample; alter the names:
|
715 |
|
|
|
716 |
|
|
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
717 |
|
|
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
718 |
|
|
|
719 |
|
|
<signature of Ty Coon>, 1 April 1989
|
720 |
|
|
Ty Coon, President of Vice
|
721 |
|
|
|
722 |
|
|
This General Public License does not permit incorporating your program into
|
723 |
|
|
proprietary programs. If your program is a subroutine library, you may
|
724 |
|
|
consider it more useful to permit linking proprietary applications with the
|
725 |
|
|
library. If this is what you want to do, use the GNU Lesser General
|
726 |
|
|
Public License instead of this License. |