Debian Codegraph @

ext/GOTCHA/LGPL

raw
1 OUR NOTICE AND TERMS AND CONDITIONS OF THE GNU GENERAL PUBLIC LICENSE
2
3 Our Preamble Notice
4
5 A. This notice is required to be provided under our contract with the U.S.
6 Department of Energy (DOE). This work was produced at the Lawrence Livermore
7 National Laboratory under Contract No. DE-AC52-07NA27344 with the DOE.
8
9 B. Neither the United States Government nor Lawrence Livermore National Security,
10 LLC nor any of their employees, makes any warranty, express or implied, or assumes
11 any liability or responsibility for the accuracy, completeness, or usefulness of any
12 information, apparatus, product, or process disclosed, or represents that its use would not
13 infringe privately-owned rights.
14
15 C. Also, reference herein to any specific commercial products, process, or services by trade
16 name, trademark, manufacturer or otherwise does not necessarily constitute or imply its
17 endorsement, recommendation, or favoring by the United States Government or Lawrence
18 Livermore National Security, LLC. The views and opinions of authors expressed herein do
19 not necessarily state or reflect those of the United States Government or Lawrence
20 Livermore National Security, LLC, and shall not be used for advertising or product
21 endorsement purposes.
22
23 The precise terms and conditions for copying, distribution and modification follows.
24
25 GNU LESSER GENERAL PUBLIC LICENSE
26 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
27
28 0. This License Agreement applies to any software library or other
29 program which contains a notice placed by the copyright holder or
30 other authorized party saying it may be distributed under the terms of
31 this Lesser General Public License (also called "this License").
32 Each licensee is addressed as "you".
33
34 A "library" means a collection of software functions and/or data
35 prepared so as to be conveniently linked with application programs
36 (which use some of those functions and data) to form executables.
37
38 The "Library", below, refers to any such software library or work
39 which has been distributed under these terms. A "work based on the
40 Library" means either the Library or any derivative work under
41 copyright law: that is to say, a work containing the Library or a
42 portion of it, either verbatim or with modifications and/or translated
43 straightforwardly into another language. (Hereinafter, translation is
44 included without limitation in the term "modification".)
45
46 "Source code" for a work means the preferred form of the work for
47 making modifications to it. For a library, complete source code means
48 all the source code for all modules it contains, plus any associated
49 interface definition files, plus the scripts used to control compilation
50 and installation of the library.
51
52 Activities other than copying, distribution and modification are not
53 covered by this License; they are outside its scope. The act of
54 running a program using the Library is not restricted, and output from
55 such a program is covered only if its contents constitute a work based
56 on the Library (independent of the use of the Library in a tool for
57 writing it). Whether that is true depends on what the Library does
58 and what the program that uses the Library does.
59
60 1. You may copy and distribute verbatim copies of the Library's
61 complete source code as you receive it, in any medium, provided that
62 you conspicuously and appropriately publish on each copy an
63 appropriate copyright notice and disclaimer of warranty; keep intact
64 all the notices that refer to this License and to the absence of any
65 warranty; and distribute a copy of this License along with the
66 Library.
67
68 You may charge a fee for the physical act of transferring a copy,
69 and you may at your option offer warranty protection in exchange for a
70 fee.
71
72 2. You may modify your copy or copies of the Library or any portion
73 of it, thus forming a work based on the Library, and copy and
74 distribute such modifications or work under the terms of Section 1
75 above, provided that you also meet all of these conditions:
76
77 a) The modified work must itself be a software library.
78
79 b) You must cause the files modified to carry prominent notices
80 stating that you changed the files and the date of any change.
81
82 c) You must cause the whole of the work to be licensed at no
83 charge to all third parties under the terms of this License.
84
85 d) If a facility in the modified Library refers to a function or a
86 table of data to be supplied by an application program that uses
87 the facility, other than as an argument passed when the facility
88 is invoked, then you must make a good faith effort to ensure that,
89 in the event an application does not supply such function or
90 table, the facility still operates, and performs whatever part of
91 its purpose remains meaningful.
92
93 (For example, a function in a library to compute square roots has
94 a purpose that is entirely well-defined independent of the
95 application. Therefore, Subsection 2d requires that any
96 application-supplied function or table used by this function must
97 be optional: if the application does not supply it, the square
98 root function must still compute square roots.)
99
100 These requirements apply to the modified work as a whole. If
101 identifiable sections of that work are not derived from the Library,
102 and can be reasonably considered independent and separate works in
103 themselves, then this License, and its terms, do not apply to those
104 sections when you distribute them as separate works. But when you
105 distribute the same sections as part of a whole which is a work based
106 on the Library, the distribution of the whole must be on the terms of
107 this License, whose permissions for other licensees extend to the
108 entire whole, and thus to each and every part regardless of who wrote
109 it.
110
111 Thus, it is not the intent of this section to claim rights or contest
112 your rights to work written entirely by you; rather, the intent is to
113 exercise the right to control the distribution of derivative or
114 collective works based on the Library.
115
116 In addition, mere aggregation of another work not based on the Library
117 with the Library (or with a work based on the Library) on a volume of
118 a storage or distribution medium does not bring the other work under
119 the scope of this License.
120
121 3. You may opt to apply the terms of the ordinary GNU General Public
122 License instead of this License to a given copy of the Library. To do
123 this, you must alter all the notices that refer to this License, so
124 that they refer to the ordinary GNU General Public License, version 2,
125 instead of to this License. (If a newer version than version 2 of the
126 ordinary GNU General Public License has appeared, then you can specify
127 that version instead if you wish.) Do not make any other change in
128 these notices.
129
130 Once this change is made in a given copy, it is irreversible for
131 that copy, so the ordinary GNU General Public License applies to all
132 subsequent copies and derivative works made from that copy.
133
134 This option is useful when you wish to copy part of the code of
135 the Library into a program that is not a library.
136
137 4. You may copy and distribute the Library (or a portion or
138 derivative of it, under Section 2) in object code or executable form
139 under the terms of Sections 1 and 2 above provided that you accompany
140 it with the complete corresponding machine-readable source code, which
141 must be distributed under the terms of Sections 1 and 2 above on a
142 medium customarily used for software interchange.
143
144 If distribution of object code is made by offering access to copy
145 from a designated place, then offering equivalent access to copy the
146 source code from the same place satisfies the requirement to
147 distribute the source code, even though third parties are not
148 compelled to copy the source along with the object code.
149
150 5. A program that contains no derivative of any portion of the
151 Library, but is designed to work with the Library by being compiled or
152 linked with it, is called a "work that uses the Library". Such a
153 work, in isolation, is not a derivative work of the Library, and
154 therefore falls outside the scope of this License.
155
156 However, linking a "work that uses the Library" with the Library
157 creates an executable that is a derivative of the Library (because it
158 contains portions of the Library), rather than a "work that uses the
159 library". The executable is therefore covered by this License.
160 Section 6 states terms for distribution of such executables.
161
162 When a "work that uses the Library" uses material from a header file
163 that is part of the Library, the object code for the work may be a
164 derivative work of the Library even though the source code is not.
165 Whether this is true is especially significant if the work can be
166 linked without the Library, or if the work is itself a library. The
167 threshold for this to be true is not precisely defined by law.
168
169 If such an object file uses only numerical parameters, data
170 structure layouts and accessors, and small macros and small inline
171 functions (ten lines or less in length), then the use of the object
172 file is unrestricted, regardless of whether it is legally a derivative
173 work. (Executables containing this object code plus portions of the
174 Library will still fall under Section 6.)
175
176 Otherwise, if the work is a derivative of the Library, you may
177 distribute the object code for the work under the terms of Section 6.
178 Any executables containing that work also fall under Section 6,
179 whether or not they are linked directly with the Library itself.
180
181 6. As an exception to the Sections above, you may also combine or
182 link a "work that uses the Library" with the Library to produce a
183 work containing portions of the Library, and distribute that work
184 under terms of your choice, provided that the terms permit
185 modification of the work for the customer's own use and reverse
186 engineering for debugging such modifications.
187
188 You must give prominent notice with each copy of the work that the
189 Library is used in it and that the Library and its use are covered by
190 this License. You must supply a copy of this License. If the work
191 during execution displays copyright notices, you must include the
192 copyright notice for the Library among them, as well as a reference
193 directing the user to the copy of this License. Also, you must do one
194 of these things:
195
196 a) Accompany the work with the complete corresponding
197 machine-readable source code for the Library including whatever
198 changes were used in the work (which must be distributed under
199 Sections 1 and 2 above); and, if the work is an executable linked
200 with the Library, with the complete machine-readable "work that
201 uses the Library", as object code and/or source code, so that the
202 user can modify the Library and then relink to produce a modified
203 executable containing the modified Library. (It is understood
204 that the user who changes the contents of definitions files in the
205 Library will not necessarily be able to recompile the application
206 to use the modified definitions.)
207
208 b) Use a suitable shared library mechanism for linking with the
209 Library. A suitable mechanism is one that (1) uses at run time a
210 copy of the library already present on the user's computer system,
211 rather than copying library functions into the executable, and (2)
212 will operate properly with a modified version of the library, if
213 the user installs one, as long as the modified version is
214 interface-compatible with the version that the work was made with.
215
216 c) Accompany the work with a written offer, valid for at
217 least three years, to give the same user the materials
218 specified in Subsection 6a, above, for a charge no more
219 than the cost of performing this distribution.
220
221 d) If distribution of the work is made by offering access to copy
222 from a designated place, offer equivalent access to copy the above
223 specified materials from the same place.
224
225 e) Verify that the user has already received a copy of these
226 materials or that you have already sent this user a copy.
227
228 For an executable, the required form of the "work that uses the
229 Library" must include any data and utility programs needed for
230 reproducing the executable from it. However, as a special exception,
231 the materials to be distributed need not include anything that is
232 normally distributed (in either source or binary form) with the major
233 components (compiler, kernel, and so on) of the operating system on
234 which the executable runs, unless that component itself accompanies
235 the executable.
236
237 It may happen that this requirement contradicts the license
238 restrictions of other proprietary libraries that do not normally
239 accompany the operating system. Such a contradiction means you cannot
240 use both them and the Library together in an executable that you
241 distribute.
242
243 7. You may place library facilities that are a work based on the
244 Library side-by-side in a single library together with other library
245 facilities not covered by this License, and distribute such a combined
246 library, provided that the separate distribution of the work based on
247 the Library and of the other library facilities is otherwise
248 permitted, and provided that you do these two things:
249
250 a) Accompany the combined library with a copy of the same work
251 based on the Library, uncombined with any other library
252 facilities. This must be distributed under the terms of the
253 Sections above.
254
255 b) Give prominent notice with the combined library of the fact
256 that part of it is a work based on the Library, and explaining
257 where to find the accompanying uncombined form of the same work.
258
259 8. You may not copy, modify, sublicense, link with, or distribute
260 the Library except as expressly provided under this License. Any
261 attempt otherwise to copy, modify, sublicense, link with, or
262 distribute the Library is void, and will automatically terminate your
263 rights under this License. However, parties who have received copies,
264 or rights, from you under this License will not have their licenses
265 terminated so long as such parties remain in full compliance.
266
267 9. You are not required to accept this License, since you have not
268 signed it. However, nothing else grants you permission to modify or
269 distribute the Library or its derivative works. These actions are
270 prohibited by law if you do not accept this License. Therefore, by
271 modifying or distributing the Library (or any work based on the
272 Library), you indicate your acceptance of this License to do so, and
273 all its terms and conditions for copying, distributing or modifying
274 the Library or works based on it.
275
276 10. Each time you redistribute the Library (or any work based on the
277 Library), the recipient automatically receives a license from the
278 original licensor to copy, distribute, link with or modify the Library
279 subject to these terms and conditions. You may not impose any further
280 restrictions on the recipients' exercise of the rights granted herein.
281 You are not responsible for enforcing compliance by third parties with
282 this License.
283
284 11. If, as a consequence of a court judgment or allegation of patent
285 infringement or for any other reason (not limited to patent issues),
286 conditions are imposed on you (whether by court order, agreement or
287 otherwise) that contradict the conditions of this License, they do not
288 excuse you from the conditions of this License. If you cannot
289 distribute so as to satisfy simultaneously your obligations under this
290 License and any other pertinent obligations, then as a consequence you
291 may not distribute the Library at all. For example, if a patent
292 license would not permit royalty-free redistribution of the Library by
293 all those who receive copies directly or indirectly through you, then
294 the only way you could satisfy both it and this License would be to
295 refrain entirely from distribution of the Library.
296
297 If any portion of this section is held invalid or unenforceable under any
298 particular circumstance, the balance of the section is intended to apply,
299 and the section as a whole is intended to apply in other circumstances.
300
301 It is not the purpose of this section to induce you to infringe any
302 patents or other property right claims or to contest validity of any
303 such claims; this section has the sole purpose of protecting the
304 integrity of the free software distribution system which is
305 implemented by public license practices. Many people have made
306 generous contributions to the wide range of software distributed
307 through that system in reliance on consistent application of that
308 system; it is up to the author/donor to decide if he or she is willing
309 to distribute software through any other system and a licensee cannot
310 impose that choice.
311
312 This section is intended to make thoroughly clear what is believed to
313 be a consequence of the rest of this License.
314
315 12. If the distribution and/or use of the Library is restricted in
316 certain countries either by patents or by copyrighted interfaces, the
317 original copyright holder who places the Library under this License may add
318 an explicit geographical distribution limitation excluding those countries,
319 so that distribution is permitted only in or among countries not thus
320 excluded. In such case, this License incorporates the limitation as if
321 written in the body of this License.
322
323 13. The Free Software Foundation may publish revised and/or new
324 versions of the Lesser General Public License from time to time.
325 Such new versions will be similar in spirit to the present version,
326 but may differ in detail to address new problems or concerns.
327
328 Each version is given a distinguishing version number. If the Library
329 specifies a version number of this License which applies to it and
330 "any later version", you have the option of following the terms and
331 conditions either of that version or of any later version published by
332 the Free Software Foundation. If the Library does not specify a
333 license version number, you may choose any version ever published by
334 the Free Software Foundation.
335
336 14. If you wish to incorporate parts of the Library into other free
337 programs whose distribution conditions are incompatible with these,
338 write to the author to ask for permission. For software which is
339 copyrighted by the Free Software Foundation, write to the Free
340 Software Foundation; we sometimes make exceptions for this. Our
341 decision will be guided by the two goals of preserving the free status
342 of all derivatives of our free software and of promoting the sharing
343 and reuse of software generally.
344
345 NO WARRANTY
346
347 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
348 WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
349 EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
350 OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
351 KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
352 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
353 PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
354 LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
355 THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
356
357 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
358 WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
359 AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
360 FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
361 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
362 LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
363 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
364 FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
365 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
366 DAMAGES.