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