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