Debian Codegraph @

debian/copyright

raw
1 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2 Source: https://github.com/hashicorp/golang-lru
3 Upstream-Name: github.com/hashicorp/golang-lru/v2
4 Upstream-Contact: https://github.com/hashicorp/golang-lru/issues/new
5
6 Files: *
7 Copyright: 2014-2022 HashiCorp, Inc.
8 License: MPL-2.0
9
10 Files: internal/list.go
11 Copyright: 2009 The Go Authors
12 License: Go
13 Comment: Apparently adapted from Go src/container/list/list.go for its
14 generic linked list implementation for simplelru in v2.0.0
15 "Add support for generics"; see simplelru/LICENSE_list.
16 Moved from simplelru/list.go to internal/list.go in commit 1154eab.
17
18 Files: debian/*
19 Copyright: 2015 Tianon Gravi <[email protected]>
20 2023 Anthony Fok <[email protected]>
21 License: MPL-2.0
22 Comment: Debian packaging is licensed under the same terms as upstream
23
24 License: Go
25 Copyright (c) 2009 The Go Authors. All rights reserved.
26 .
27 Redistribution and use in source and binary forms, with or without
28 modification, are permitted provided that the following conditions are
29 met:
30 .
31 * Redistributions of source code must retain the above copyright
32 notice, this list of conditions and the following disclaimer.
33 * Redistributions in binary form must reproduce the above
34 copyright notice, this list of conditions and the following disclaimer
35 in the documentation and/or other materials provided with the
36 distribution.
37 * Neither the name of Google Inc. nor the names of its
38 contributors may be used to endorse or promote products derived from
39 this software without specific prior written permission.
40 .
41 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
42 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
43 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
44 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
45 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
46 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
47 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
48 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
49 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
50 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
51 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
52
53 License: MPL-2.0
54 Mozilla Public License, version 2.0
55 .
56 1. Definitions
57 .
58 1.1. "Contributor"
59 .
60 means each individual or legal entity that creates, contributes to the
61 creation of, or owns Covered Software.
62 .
63 1.2. "Contributor Version"
64 .
65 means the combination of the Contributions of others (if any) used by a
66 Contributor and that particular Contributor's Contribution.
67 .
68 1.3. "Contribution"
69 .
70 means Covered Software of a particular Contributor.
71 .
72 1.4. "Covered Software"
73 .
74 means Source Code Form to which the initial Contributor has attached the
75 notice in Exhibit A, the Executable Form of such Source Code Form, and
76 Modifications of such Source Code Form, in each case including portions
77 thereof.
78 .
79 1.5. "Incompatible With Secondary Licenses"
80 means
81 .
82 a. that the initial Contributor has attached the notice described in
83 Exhibit B to the Covered Software; or
84 .
85 b. that the Covered Software was made available under the terms of
86 version 1.1 or earlier of the License, but not also under the terms of
87 a Secondary License.
88 .
89 1.6. "Executable Form"
90 .
91 means any form of the work other than Source Code Form.
92 .
93 1.7. "Larger Work"
94 .
95 means a work that combines Covered Software with other material, in a
96 separate file or files, that is not Covered Software.
97 .
98 1.8. "License"
99 .
100 means this document.
101 .
102 1.9. "Licensable"
103 .
104 means having the right to grant, to the maximum extent possible, whether
105 at the time of the initial grant or subsequently, any and all of the
106 rights conveyed by this License.
107 .
108 1.10. "Modifications"
109 .
110 means any of the following:
111 .
112 a. any file in Source Code Form that results from an addition to,
113 deletion from, or modification of the contents of Covered Software; or
114 .
115 b. any new file in Source Code Form that contains any Covered Software.
116 .
117 1.11. "Patent Claims" of a Contributor
118 .
119 means any patent claim(s), including without limitation, method,
120 process, and apparatus claims, in any patent Licensable by such
121 Contributor that would be infringed, but for the grant of the License,
122 by the making, using, selling, offering for sale, having made, import,
123 or transfer of either its Contributions or its Contributor Version.
124 .
125 1.12. "Secondary License"
126 .
127 means either the GNU General Public License, Version 2.0, the GNU Lesser
128 General Public License, Version 2.1, the GNU Affero General Public
129 License, Version 3.0, or any later versions of those licenses.
130 .
131 1.13. "Source Code Form"
132 .
133 means the form of the work preferred for making modifications.
134 .
135 1.14. "You" (or "Your")
136 .
137 means an individual or a legal entity exercising rights under this
138 License. For legal entities, "You" includes any entity that controls, is
139 controlled by, or is under common control with You. For purposes of this
140 definition, "control" means (a) the power, direct or indirect, to cause
141 the direction or management of such entity, whether by contract or
142 otherwise, or (b) ownership of more than fifty percent (50%) of the
143 outstanding shares or beneficial ownership of such entity.
144 .
145 .
146 2. License Grants and Conditions
147 .
148 2.1. Grants
149 .
150 Each Contributor hereby grants You a world-wide, royalty-free,
151 non-exclusive license:
152 .
153 a. under intellectual property rights (other than patent or trademark)
154 Licensable by such Contributor to use, reproduce, make available,
155 modify, display, perform, distribute, and otherwise exploit its
156 Contributions, either on an unmodified basis, with Modifications, or
157 as part of a Larger Work; and
158 .
159 b. under Patent Claims of such Contributor to make, use, sell, offer for
160 sale, have made, import, and otherwise transfer either its
161 Contributions or its Contributor Version.
162 .
163 2.2. Effective Date
164 .
165 The licenses granted in Section 2.1 with respect to any Contribution
166 become effective for each Contribution on the date the Contributor first
167 distributes such Contribution.
168 .
169 2.3. Limitations on Grant Scope
170 .
171 The licenses granted in this Section 2 are the only rights granted under
172 this License. No additional rights or licenses will be implied from the
173 distribution or licensing of Covered Software under this License.
174 Notwithstanding Section 2.1(b) above, no patent license is granted by a
175 Contributor:
176 .
177 a. for any code that a Contributor has removed from Covered Software; or
178 .
179 b. for infringements caused by: (i) Your and any other third party's
180 modifications of Covered Software, or (ii) the combination of its
181 Contributions with other software (except as part of its Contributor
182 Version); or
183 .
184 c. under Patent Claims infringed by Covered Software in the absence of
185 its Contributions.
186 .
187 This License does not grant any rights in the trademarks, service marks,
188 or logos of any Contributor (except as may be necessary to comply with
189 the notice requirements in Section 3.4).
190 .
191 2.4. Subsequent Licenses
192 .
193 No Contributor makes additional grants as a result of Your choice to
194 distribute the Covered Software under a subsequent version of this
195 License (see Section 10.2) or under the terms of a Secondary License (if
196 permitted under the terms of Section 3.3).
197 .
198 2.5. Representation
199 .
200 Each Contributor represents that the Contributor believes its
201 Contributions are its original creation(s) or it has sufficient rights to
202 grant the rights to its Contributions conveyed by this License.
203 .
204 2.6. Fair Use
205 .
206 This License is not intended to limit any rights You have under
207 applicable copyright doctrines of fair use, fair dealing, or other
208 equivalents.
209 .
210 2.7. Conditions
211 .
212 Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in
213 Section 2.1.
214 .
215 .
216 3. Responsibilities
217 .
218 3.1. Distribution of Source Form
219 .
220 All distribution of Covered Software in Source Code Form, including any
221 Modifications that You create or to which You contribute, must be under
222 the terms of this License. You must inform recipients that the Source
223 Code Form of the Covered Software is governed by the terms of this
224 License, and how they can obtain a copy of this License. You may not
225 attempt to alter or restrict the recipients' rights in the Source Code
226 Form.
227 .
228 3.2. Distribution of Executable Form
229 .
230 If You distribute Covered Software in Executable Form then:
231 .
232 a. such Covered Software must also be made available in Source Code Form,
233 as described in Section 3.1, and You must inform recipients of the
234 Executable Form how they can obtain a copy of such Source Code Form by
235 reasonable means in a timely manner, at a charge no more than the cost
236 of distribution to the recipient; and
237 .
238 b. You may distribute such Executable Form under the terms of this
239 License, or sublicense it under different terms, provided that the
240 license for the Executable Form does not attempt to limit or alter the
241 recipients' rights in the Source Code Form under this License.
242 .
243 3.3. Distribution of a Larger Work
244 .
245 You may create and distribute a Larger Work under terms of Your choice,
246 provided that You also comply with the requirements of this License for
247 the Covered Software. If the Larger Work is a combination of Covered
248 Software with a work governed by one or more Secondary Licenses, and the
249 Covered Software is not Incompatible With Secondary Licenses, this
250 License permits You to additionally distribute such Covered Software
251 under the terms of such Secondary License(s), so that the recipient of
252 the Larger Work may, at their option, further distribute the Covered
253 Software under the terms of either this License or such Secondary
254 License(s).
255 .
256 3.4. Notices
257 .
258 You may not remove or alter the substance of any license notices
259 (including copyright notices, patent notices, disclaimers of warranty, or
260 limitations of liability) contained within the Source Code Form of the
261 Covered Software, except that You may alter any license notices to the
262 extent required to remedy known factual inaccuracies.
263 .
264 3.5. Application of Additional Terms
265 .
266 You may choose to offer, and to charge a fee for, warranty, support,
267 indemnity or liability obligations to one or more recipients of Covered
268 Software. However, You may do so only on Your own behalf, and not on
269 behalf of any Contributor. You must make it absolutely clear that any
270 such warranty, support, indemnity, or liability obligation is offered by
271 You alone, and You hereby agree to indemnify every Contributor for any
272 liability incurred by such Contributor as a result of warranty, support,
273 indemnity or liability terms You offer. You may include additional
274 disclaimers of warranty and limitations of liability specific to any
275 jurisdiction.
276 .
277 4. Inability to Comply Due to Statute or Regulation
278 .
279 If it is impossible for You to comply with any of the terms of this License
280 with respect to some or all of the Covered Software due to statute,
281 judicial order, or regulation then You must: (a) comply with the terms of
282 this License to the maximum extent possible; and (b) describe the
283 limitations and the code they affect. Such description must be placed in a
284 text file included with all distributions of the Covered Software under
285 this License. Except to the extent prohibited by statute or regulation,
286 such description must be sufficiently detailed for a recipient of ordinary
287 skill to be able to understand it.
288 .
289 5. Termination
290 .
291 5.1. The rights granted under this License will terminate automatically if You
292 fail to comply with any of its terms. However, if You become compliant,
293 then the rights granted under this License from a particular Contributor
294 are reinstated (a) provisionally, unless and until such Contributor
295 explicitly and finally terminates Your grants, and (b) on an ongoing
296 basis, if such Contributor fails to notify You of the non-compliance by
297 some reasonable means prior to 60 days after You have come back into
298 compliance. Moreover, Your grants from a particular Contributor are
299 reinstated on an ongoing basis if such Contributor notifies You of the
300 non-compliance by some reasonable means, this is the first time You have
301 received notice of non-compliance with this License from such
302 Contributor, and You become compliant prior to 30 days after Your receipt
303 of the notice.
304 .
305 5.2. If You initiate litigation against any entity by asserting a patent
306 infringement claim (excluding declaratory judgment actions,
307 counter-claims, and cross-claims) alleging that a Contributor Version
308 directly or indirectly infringes any patent, then the rights granted to
309 You by any and all Contributors for the Covered Software under Section
310 2.1 of this License shall terminate.
311 .
312 5.3. In the event of termination under Sections 5.1 or 5.2 above, all end user
313 license agreements (excluding distributors and resellers) which have been
314 validly granted by You or Your distributors under this License prior to
315 termination shall survive termination.
316 .
317 6. Disclaimer of Warranty
318 .
319 Covered Software is provided under this License on an "as is" basis,
320 without warranty of any kind, either expressed, implied, or statutory,
321 including, without limitation, warranties that the Covered Software is free
322 of defects, merchantable, fit for a particular purpose or non-infringing.
323 The entire risk as to the quality and performance of the Covered Software
324 is with You. Should any Covered Software prove defective in any respect,
325 You (not any Contributor) assume the cost of any necessary servicing,
326 repair, or correction. This disclaimer of warranty constitutes an essential
327 part of this License. No use of any Covered Software is authorized under
328 this License except under this disclaimer.
329 .
330 7. Limitation of Liability
331 .
332 Under no circumstances and under no legal theory, whether tort (including
333 negligence), contract, or otherwise, shall any Contributor, or anyone who
334 distributes Covered Software as permitted above, be liable to You for any
335 direct, indirect, special, incidental, or consequential damages of any
336 character including, without limitation, damages for lost profits, loss of
337 goodwill, work stoppage, computer failure or malfunction, or any and all
338 other commercial damages or losses, even if such party shall have been
339 informed of the possibility of such damages. This limitation of liability
340 shall not apply to liability for death or personal injury resulting from
341 such party's negligence to the extent applicable law prohibits such
342 limitation. Some jurisdictions do not allow the exclusion or limitation of
343 incidental or consequential damages, so this exclusion and limitation may
344 not apply to You.
345 .
346 8. Litigation
347 .
348 Any litigation relating to this License may be brought only in the courts
349 of a jurisdiction where the defendant maintains its principal place of
350 business and such litigation shall be governed by laws of that
351 jurisdiction, without reference to its conflict-of-law provisions. Nothing
352 in this Section shall prevent a party's ability to bring cross-claims or
353 counter-claims.
354 .
355 9. Miscellaneous
356 .
357 This License represents the complete agreement concerning the subject
358 matter hereof. If any provision of this License is held to be
359 unenforceable, such provision shall be reformed only to the extent
360 necessary to make it enforceable. Any law or regulation which provides that
361 the language of a contract shall be construed against the drafter shall not
362 be used to construe this License against a Contributor.
363 .
364 .
365 10. Versions of the License
366 .
367 10.1. New Versions
368 .
369 Mozilla Foundation is the license steward. Except as provided in Section
370 10.3, no one other than the license steward has the right to modify or
371 publish new versions of this License. Each version will be given a
372 distinguishing version number.
373 .
374 10.2. Effect of New Versions
375 .
376 You may distribute the Covered Software under the terms of the version
377 of the License under which You originally received the Covered Software,
378 or under the terms of any subsequent version published by the license
379 steward.
380 .
381 10.3. Modified Versions
382 .
383 If you create software not governed by this License, and you want to
384 create a new license for such software, you may create and use a
385 modified version of this License if you rename the license and remove
386 any references to the name of the license steward (except to note that
387 such modified license differs from this License).
388 .
389 10.4. Distributing Source Code Form that is Incompatible With Secondary
390 Licenses If You choose to distribute Source Code Form that is
391 Incompatible With Secondary Licenses under the terms of this version of
392 the License, the notice described in Exhibit B of this License must be
393 attached.
394 .
395 Exhibit A - Source Code Form License Notice
396 .
397 This Source Code Form is subject to the
398 terms of the Mozilla Public License, v.
399 2.0. If a copy of the MPL was not
400 distributed with this file, You can
401 obtain one at
402 http://mozilla.org/MPL/2.0/.
403 .
404 If it is not possible or desirable to put the notice in a particular file,
405 then You may include the notice in a location (such as a LICENSE file in a
406 relevant directory) where a recipient would be likely to look for such a
407 notice.
408 .
409 You may add additional accurate notices of copyright ownership.
410 .
411 Exhibit B - "Incompatible With Secondary Licenses" Notice
412 .
413 This Source Code Form is "Incompatible
414 With Secondary Licenses", as defined by
415 the Mozilla Public License, v. 2.0.