| 1 |
$Id: LICENSE 10585 2009-12-22 02:50:06Z [email protected] $ |
| 2 |
|
| 3 |
Legally speaking, this package and its contents are: |
| 4 |
|
| 5 |
Copyright 2009, Jonathan Yu <[email protected]>. All rights reserved. |
| 6 |
|
| 7 |
But this is really just a legal technicality that allows the author to |
| 8 |
offer this package under the public domain and also a variety of licensing |
| 9 |
options. For all intents and purposes, this is public domain software, |
| 10 |
which means you can do whatever you want with it. Really. |
| 11 |
|
| 12 |
SUMMARY |
| 13 |
|
| 14 |
I, the copyright holder of this package, hereby release the entire contents |
| 15 |
therein into the public domain. This applies worldwide, to the extent that |
| 16 |
it is permissible by law. |
| 17 |
|
| 18 |
In case this is not legally possible, I grant any entity the right to use |
| 19 |
this work for any purpose, without any conditions, unless such conditions |
| 20 |
are required by law. |
| 21 |
|
| 22 |
If you so choose, or if you are legally compelled to do so, you may use |
| 23 |
this software under the terms of your choice of the following licenses: |
| 24 |
|
| 25 |
1. The MIT/X11 License; or, |
| 26 |
2. The Perl Artistic License, version 1 or later; or, |
| 27 |
3. The GNU General Public License, version 1 or later |
| 28 |
|
| 29 |
For the sake of convenience, the full text of the latest versions of these |
| 30 |
licenses (as of writing) follows. |
| 31 |
|
| 32 |
RATIONALE |
| 33 |
|
| 34 |
As the author/copyright holder/intellectual property owner, I want this |
| 35 |
codebase to be as free (both as in freedom and free beer) as possible in |
| 36 |
your jurisdiction. This software and the code contained herein is (to |
| 37 |
the best of my knowledge) completely unencumbered by patents, copyright, |
| 38 |
licensing restrictions, etc. |
| 39 |
|
| 40 |
DISCLAIMER OF WARRANTIES |
| 41 |
|
| 42 |
The software is provided "AS IS", without warranty of any kind, express or |
| 43 |
implied, including but not limited to the warranties of merchantability, |
| 44 |
fitness for a particular purpose and noninfringement. In no event shall |
| 45 |
the authors or copyright holders be liable for any claim, damages or other |
| 46 |
liability, whether in an action of contract, tort or otherwise, arising |
| 47 |
from, out of or in connection with the software or the use or other dealings |
| 48 |
in the software. |
| 49 |
|
| 50 |
-------------- MIT/X11 License -------------- |
| 51 |
|
| 52 |
Permission is hereby granted, free of charge, to any person obtaining a copy |
| 53 |
of this software and associated documentation files (the "Software"), to deal |
| 54 |
in the Software without restriction, including without limitation the rights |
| 55 |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 56 |
copies of the Software, and to permit persons to whom the Software is |
| 57 |
furnished to do so, subject to the following conditions: |
| 58 |
|
| 59 |
The above copyright notice and this permission notice shall be included in |
| 60 |
all copies or substantial portions of the Software. |
| 61 |
|
| 62 |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 63 |
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 64 |
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 65 |
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 66 |
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 67 |
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| 68 |
SOFTWARE. |
| 69 |
|
| 70 |
-------------- Artistic License (Version 2.0) -------------- |
| 71 |
|
| 72 |
Copyright (c) 2000-2006, The Perl Foundation. |
| 73 |
|
| 74 |
Everyone is permitted to copy and distribute verbatim copies of this license |
| 75 |
document, but changing it is not allowed. |
| 76 |
|
| 77 |
Preamble |
| 78 |
|
| 79 |
This license establishes the terms under which a given free software Package |
| 80 |
may be copied, modified, distributed, and/or redistributed. The intent is that |
| 81 |
the Copyright Holder maintains some artistic control over the development of |
| 82 |
that Package while still keeping the Package available as open source and free |
| 83 |
software. |
| 84 |
|
| 85 |
You are always permitted to make arrangements wholly outside of this license |
| 86 |
directly with the Copyright Holder of a given Package. If the terms of this |
| 87 |
license do not permit the full use that you propose to make of the Package, |
| 88 |
you should contact the Copyright Holder and seek a different licensing |
| 89 |
arrangement. |
| 90 |
|
| 91 |
Definitions |
| 92 |
|
| 93 |
"Copyright Holder" means the individual(s) or organization(s) named in the |
| 94 |
copyright notice for the entire Package. |
| 95 |
|
| 96 |
"Contributor" means any party that has contributed code or other material to |
| 97 |
the Package, in accordance with the Copyright Holder's procedures. |
| 98 |
|
| 99 |
"You" and "your" means any person who would like to copy, distribute, or |
| 100 |
modify the Package. |
| 101 |
|
| 102 |
"Package" means the collection of files distributed by the Copyright Holder, |
| 103 |
and derivatives of that collection and/or of those files. A given Package may |
| 104 |
consist of either the Standard Version, or a Modified Version. |
| 105 |
|
| 106 |
"Distribute" means providing a copy of the Package or making it accessible to |
| 107 |
anyone else, or in the case of a company or organization, to others outside of |
| 108 |
your company or organization. |
| 109 |
|
| 110 |
"Distributor Fee" means any fee that you charge for Distributing this Package |
| 111 |
or providing support for this Package to another party. It does not mean |
| 112 |
licensing fees. |
| 113 |
|
| 114 |
"Standard Version" refers to the Package if it has not been modified, or has |
| 115 |
been modified only in ways explicitly requested by the Copyright Holder. |
| 116 |
|
| 117 |
"Modified Version" means the Package, if it has been changed, and such changes |
| 118 |
were not explicitly requested by the Copyright Holder. |
| 119 |
|
| 120 |
"Original License" means this Artistic License as Distributed with the |
| 121 |
Standard Version of the Package, in its current version or as it may be |
| 122 |
modified by The Perl Foundation in the future. |
| 123 |
|
| 124 |
"Source" form means the source code, documentation source, and configuration |
| 125 |
files for the Package. |
| 126 |
|
| 127 |
"Compiled" form means the compiled bytecode, object code, binary, or any other |
| 128 |
form resulting from mechanical transformation or translation of the Source |
| 129 |
form. |
| 130 |
|
| 131 |
Permission for Use and Modification Without Distribution |
| 132 |
|
| 133 |
(1) You are permitted to use the Standard Version and create and use Modified |
| 134 |
Versions for any purpose without restriction, provided that you do not |
| 135 |
Distribute the Modified Version. |
| 136 |
|
| 137 |
Permissions for Redistribution of the Standard Version |
| 138 |
|
| 139 |
(2) You may Distribute verbatim copies of the Source form of the Standard |
| 140 |
Version of this Package in any medium without restriction, either gratis |
| 141 |
or for a Distributor Fee, provided that you duplicate all of the original |
| 142 |
copyright notices and associated disclaimers. At your discretion, such |
| 143 |
verbatim copies may or may not include a Compiled form of the Package. |
| 144 |
|
| 145 |
(3) You may apply any bug fixes, portability changes, and other modifications |
| 146 |
made available from the Copyright Holder. The resulting Package will still |
| 147 |
be considered the Standard Version, and as such will be subject to the |
| 148 |
Original License. |
| 149 |
|
| 150 |
Distribution of Modified Versions of the Package as Source |
| 151 |
|
| 152 |
(4) You may Distribute your Modified Version as Source (either gratis or for a |
| 153 |
Distributor Fee, and with or without a Compiled form of the Modified |
| 154 |
Version) provided that you clearly document how it differs from the |
| 155 |
Standard Version, including, but not limited to, documenting any |
| 156 |
non-standard features, executables, or modules, and provided that you do |
| 157 |
at least ONE of the following: |
| 158 |
|
| 159 |
(a) make the Modified Version available to the Copyright Holder of the |
| 160 |
Standard Version, under the Original License, so that the Copyright |
| 161 |
Holder may include your modifications in the Standard Version. |
| 162 |
(b) ensure that installation of your Modified Version does not prevent the |
| 163 |
user installing or running the Standard Version. In addition, the |
| 164 |
Modified Version must bear a name that is different from the name of |
| 165 |
the Standard Version. |
| 166 |
(c) allow anyone who receives a copy of the Modified Version to make the |
| 167 |
Source form of the Modified Version available to others under |
| 168 |
(i) the Original License or |
| 169 |
(ii) a license that permits the licensee to freely copy, modify and |
| 170 |
redistribute the Modified Version using the same licensing terms |
| 171 |
that apply to the copy that the licensee received, and requires |
| 172 |
that the Source form of the Modified Version, and of any works |
| 173 |
derived from it, be made freely available in that license fees |
| 174 |
are prohibited but Distributor Fees are allowed. |
| 175 |
|
| 176 |
Distribution of Compiled Forms of the Standard Version or Modified Versions |
| 177 |
without the Source |
| 178 |
|
| 179 |
(5) You may Distribute Compiled forms of the Standard Version without the |
| 180 |
Source, provided that you include complete instructions on how to get the |
| 181 |
Source of the Standard Version. Such instructions must be valid at the |
| 182 |
time of your distribution. If these instructions, at any time while you |
| 183 |
are carrying out such distribution, become invalid, you must provide new |
| 184 |
instructions on demand or cease further distribution. If you provide valid |
| 185 |
instructions or cease distribution within thirty days after you become |
| 186 |
aware that the instructions are invalid, then you do not forfeit any of |
| 187 |
your rights under this license. |
| 188 |
|
| 189 |
(6) You may Distribute a Modified Version in Compiled form without the Source, |
| 190 |
provided that you comply with Section 4 with respect to the Source of the |
| 191 |
Modified Version. |
| 192 |
|
| 193 |
Aggregating or Linking the Package |
| 194 |
|
| 195 |
(7) You may aggregate the Package (either the Standard Version or Modified |
| 196 |
Version) with other packages and Distribute the resulting aggregation |
| 197 |
provided that you do not charge a licensing fee for the Package. |
| 198 |
Distributor Fees are permitted, and licensing fees for other components |
| 199 |
in the aggregation are permitted. The terms of this license apply to the |
| 200 |
use and Distribution of the Standard or Modified Versions as included in |
| 201 |
the aggregation. |
| 202 |
|
| 203 |
(8) You are permitted to link Modified and Standard Versions with other works, |
| 204 |
to embed the Package in a larger work of your own, or to build stand-alone |
| 205 |
binary or bytecode versions of applications that include the Package, and |
| 206 |
Distribute the result without restriction, provided the result does not |
| 207 |
expose a direct interface to the Package. |
| 208 |
|
| 209 |
Items That are Not Considered Part of a Modified Version |
| 210 |
|
| 211 |
(9) Works (including, but not limited to, modules and scripts) that merely |
| 212 |
extend or make use of the Package, do not, by themselves, cause the |
| 213 |
Package to be a Modified Version. In addition, such works are not |
| 214 |
considered parts of the Package itself, and are not subject to the terms |
| 215 |
of this license. |
| 216 |
|
| 217 |
General Provisions |
| 218 |
|
| 219 |
(10) Any use, modification, and distribution of the Standard or Modified |
| 220 |
Versions is governed by this Artistic License. By using, modifying or |
| 221 |
distributing the Package, you accept this license. Do not use, modify, |
| 222 |
or distribute the Package, if you do not accept this license. |
| 223 |
|
| 224 |
(11) If your Modified Version has been derived from a Modified Version made by |
| 225 |
someone other than you, you are nevertheless required to ensure that your |
| 226 |
Modified Version complies with the requirements of this license. |
| 227 |
|
| 228 |
(12) This license does not grant you the right to use any trademark, service |
| 229 |
mark, tradename, or logo of the Copyright Holder. |
| 230 |
|
| 231 |
(13) This license includes the non-exclusive, worldwide, free-of-charge patent |
| 232 |
license to make, have made, use, offer to sell, sell, import and |
| 233 |
otherwise transfer the Package with respect to any patent claims |
| 234 |
licensable by the Copyright Holder that are necessarily infringed by the |
| 235 |
Package. If you institute patent litigation (including a cross-claim or |
| 236 |
counterclaim) against any party alleging that the Package constitutes |
| 237 |
direct or contributory patent infringement, then this Artistic License to |
| 238 |
you shall terminate on the date that such litigation is filed. |
| 239 |
|
| 240 |
(14) Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER |
| 241 |
AND CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. |
| 242 |
THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR |
| 243 |
PURPOSE, OR NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY |
| 244 |
YOUR LOCAL LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR |
| 245 |
CONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR |
| 246 |
CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, |
| 247 |
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 248 |
|
| 249 |
-------------- The GNU General Public License (Version 3.0) -------------- |
| 250 |
|
| 251 |
GNU GENERAL PUBLIC LICENSE |
| 252 |
|
| 253 |
Version 3, 29 June 2007 |
| 254 |
|
| 255 |
Copyright (c) 2007 Free Software Foundation, Inc. <http://fsf.org/> |
| 256 |
|
| 257 |
Everyone is permitted to copy and distribute verbatim copies of this license |
| 258 |
document, but changing it is not allowed. |
| 259 |
|
| 260 |
Preamble |
| 261 |
|
| 262 |
The GNU General Public License is a free, copyleft license for software and |
| 263 |
other kinds of works. |
| 264 |
|
| 265 |
The licenses for most software and other practical works are designed to take |
| 266 |
away your freedom to share and change the works. By contrast, the GNU General |
| 267 |
Public License is intended to guarantee your freedom to share and change all |
| 268 |
versions of a program--to make sure it remains free software for all its |
| 269 |
users. We, the Free Software Foundation, use the GNU General Public License |
| 270 |
for most of our software; it applies also to any other work released this way |
| 271 |
by its authors. You can apply it to your programs, too. |
| 272 |
|
| 273 |
When we speak of free software, we are referring to freedom, not price. Our |
| 274 |
General Public Licenses are designed to make sure that you have the freedom to |
| 275 |
distribute copies of free software (and charge for them if you wish), that you |
| 276 |
receive source code or can get it if you want it, that you can change the |
| 277 |
software or use pieces of it in new free programs, and that you know you can |
| 278 |
do these things. |
| 279 |
|
| 280 |
To protect your rights, we need to prevent others from denying you these |
| 281 |
rights or asking you to surrender the rights. Therefore, you have certain |
| 282 |
responsibilities if you distribute copies of the software, or if you modify |
| 283 |
it: responsibilities to respect the freedom of others. |
| 284 |
|
| 285 |
For example, if you distribute copies of such a program, whether gratis or for |
| 286 |
a fee, you must pass on to the recipients the same freedoms that you received. |
| 287 |
You must make sure that they, too, receive or can get the source code. And you |
| 288 |
must show them these terms so they know their rights. |
| 289 |
|
| 290 |
Developers that use the GNU GPL protect your rights with two steps: |
| 291 |
(1) assert copyright on the software, and |
| 292 |
(2) offer you this License giving you legal permission to copy, distribute |
| 293 |
and/or modify it. |
| 294 |
|
| 295 |
For the developers' and authors' protection, the GPL clearly explains that |
| 296 |
there is no warranty for this free software. For both users' and authors' |
| 297 |
sake, the GPL requires that modified versions be marked as changed, so that |
| 298 |
their problems will not be attributed erroneously to authors of previous |
| 299 |
versions. |
| 300 |
|
| 301 |
Some devices are designed to deny users access to install or run modified |
| 302 |
versions of the software inside them, although the manufacturer can do so. |
| 303 |
This is fundamentally incompatible with the aim of protecting users' freedom |
| 304 |
to change the software. The systematic pattern of such abuse occurs in the |
| 305 |
area of products for individuals to use, which is precisely where it is most |
| 306 |
unacceptable. Therefore, we have designed this version of the GPL to prohibit |
| 307 |
the practice for those products. If such problems arise substantially in other |
| 308 |
domains, we stand ready to extend this provision to those domains in future |
| 309 |
versions of the GPL, as needed to protect the freedom of users. |
| 310 |
|
| 311 |
Finally, every program is threatened constantly by software patents. States |
| 312 |
should not allow patents to restrict development and use of software on |
| 313 |
general-purpose computers, but in those that do, we wish to avoid the special |
| 314 |
danger that patents applied to a free program could make it effectively |
| 315 |
proprietary. To prevent this, the GPL assures that patents cannot be used to |
| 316 |
render the program non-free. |
| 317 |
|
| 318 |
The precise terms and conditions for copying, distribution and modification |
| 319 |
follow. |
| 320 |
|
| 321 |
TERMS AND CONDITIONS |
| 322 |
0. Definitions. |
| 323 |
|
| 324 |
"This License" refers to version 3 of the GNU General Public License. |
| 325 |
|
| 326 |
"Copyright" also means copyright-like laws that apply to other kinds of |
| 327 |
works, such as semiconductor masks. |
| 328 |
|
| 329 |
"The Program" refers to any copyrightable work licensed under this License. |
| 330 |
Each licensee is addressed as "you". "Licensees" and "recipients" may be |
| 331 |
individuals or organizations. |
| 332 |
|
| 333 |
To "modify" a work means to copy from or adapt all or part of the work in a |
| 334 |
fashion requiring copyright permission, other than the making of an exact |
| 335 |
copy. The resulting work is called a "modified version" of the earlier work |
| 336 |
or a work "based on" the earlier work. |
| 337 |
|
| 338 |
A "covered work" means either the unmodified Program or a work based on the |
| 339 |
Program. |
| 340 |
|
| 341 |
To "propagate" a work means to do anything with it that, without permission, |
| 342 |
would make you directly or secondarily liable for infringement under |
| 343 |
applicable copyright law, except executing it on a computer or modifying a |
| 344 |
private copy. Propagation includes copying, distribution (with or without |
| 345 |
modification), making available to the public, and in some countries other |
| 346 |
activities as well. |
| 347 |
|
| 348 |
To "convey" a work means any kind of propagation that enables other parties |
| 349 |
to make or receive copies. Mere interaction with a user through a computer |
| 350 |
network, with no transfer of a copy, is not conveying. |
| 351 |
|
| 352 |
An interactive user interface displays "Appropriate Legal Notices" to the |
| 353 |
extent that it includes a convenient and prominently visible feature that |
| 354 |
(1) displays an appropriate copyright notice, and |
| 355 |
(2) tells the user that there is no warranty for the work (except to the |
| 356 |
extent that warranties are provided), that licensees may convey the work |
| 357 |
under this License, and how to view a copy of this License. If the |
| 358 |
interface presents a list of user commands or options, such as a menu, a |
| 359 |
prominent item in the list meets this criterion. |
| 360 |
|
| 361 |
1. Source Code. |
| 362 |
|
| 363 |
The "source code" for a work means the preferred form of the work for making |
| 364 |
modifications to it. "Object code" means any non-source form of a work. |
| 365 |
|
| 366 |
A "Standard Interface" means an interface that either is an official |
| 367 |
standard defined by a recognized standards body, or, in the case of |
| 368 |
interfaces specified for a particular programming language, one that is |
| 369 |
widely used among developers working in that language. |
| 370 |
|
| 371 |
The "System Libraries" of an executable work include anything, other than |
| 372 |
the work as a whole, that |
| 373 |
(a) is included in the normal form of packaging a Major Component, but which |
| 374 |
is not part of that Major Component, and |
| 375 |
(b) serves only to enable use of the work with that Major Component, or to |
| 376 |
implement a Standard Interface for which an implementation is available |
| 377 |
to the public in source code form. A "Major Component", in this context, |
| 378 |
means a major essential component (kernel, window system, and so on) of |
| 379 |
the specific operating system (if any) on which the executable work |
| 380 |
runs, or a compiler used to produce the work, or an object code |
| 381 |
interpreter used to run it. |
| 382 |
|
| 383 |
The "Corresponding Source" for a work in object code form means all the |
| 384 |
source code needed to generate, install, and (for an executable work) run |
| 385 |
the object code and to modify the work, including scripts to control those |
| 386 |
activities. However, it does not include the work's System Libraries, or |
| 387 |
general-purpose tools or generally available free programs which are used |
| 388 |
unmodified in performing those activities but which are not part of the |
| 389 |
work. For example, Corresponding Source includes interface definition files |
| 390 |
associated with source files for the work, and the source code for shared |
| 391 |
libraries and dynamically linked subprograms that the work is specifically |
| 392 |
designed to require, such as by intimate data communication or control flow |
| 393 |
between those subprograms and other parts of the work. |
| 394 |
|
| 395 |
The Corresponding Source need not include anything that users can regenerate |
| 396 |
automatically from other parts of the Corresponding Source. |
| 397 |
|
| 398 |
The Corresponding Source for a work in source code form is that same work. |
| 399 |
|
| 400 |
2. Basic Permissions. |
| 401 |
|
| 402 |
All rights granted under this License are granted for the term of copyright |
| 403 |
on the Program, and are irrevocable provided the stated conditions are met. |
| 404 |
This License explicitly affirms your unlimited permission to run the |
| 405 |
unmodified Program. The output from running a covered work is covered by |
| 406 |
this License only if the output, given its content, constitutes a covered |
| 407 |
work. This License acknowledges your rights of fair use or other equivalent, |
| 408 |
as provided by copyright law. |
| 409 |
|
| 410 |
You may make, run and propagate covered works that you do not convey, |
| 411 |
without conditions so long as your license otherwise remains in force. You |
| 412 |
may convey covered works to others for the sole purpose of having them make |
| 413 |
modifications exclusively for you, or provide you with facilities for |
| 414 |
running those works, provided that you comply with the terms of this License |
| 415 |
in conveying all material for which you do not control copyright. Those thus |
| 416 |
making or running the covered works for you must do so exclusively on your |
| 417 |
behalf, under your direction and control, on terms that prohibit them from |
| 418 |
making any copies of your copyrighted material outside their relationship |
| 419 |
with you. |
| 420 |
|
| 421 |
Conveying under any other circumstances is permitted solely under the |
| 422 |
conditions stated below. Sublicensing is not allowed; section 10 makes it |
| 423 |
unnecessary. |
| 424 |
|
| 425 |
3. Protecting Users' Legal Rights From Anti-Circumvention Law. |
| 426 |
|
| 427 |
No covered work shall be deemed part of an effective technological measure |
| 428 |
under any applicable law fulfilling obligations under article 11 of the WIPO |
| 429 |
copyright treaty adopted on 20 December 1996, or similar laws prohibiting or |
| 430 |
restricting circumvention of such measures. |
| 431 |
|
| 432 |
When you convey a covered work, you waive any legal power to forbid |
| 433 |
circumvention of technological measures to the extent such circumvention is |
| 434 |
effected by exercising rights under this License with respect to the covered |
| 435 |
work, and you disclaim any intention to limit operation or modification of |
| 436 |
the work as a means of enforcing, against the work's users, your or third |
| 437 |
parties' legal rights to forbid circumvention of technological measures. |
| 438 |
|
| 439 |
4. Conveying Verbatim Copies. |
| 440 |
|
| 441 |
You may convey verbatim copies of the Program's source code as you receive |
| 442 |
it, in any medium, provided that you conspicuously and appropriately publish |
| 443 |
on each copy an appropriate copyright notice; keep intact all notices |
| 444 |
stating that this License and any non-permissive terms added in accord with |
| 445 |
section 7 apply to the code; keep intact all notices of the absence of any |
| 446 |
warranty; and give all recipients a copy of this License along with the |
| 447 |
Program. |
| 448 |
|
| 449 |
You may charge any price or no price for each copy that you convey, and you |
| 450 |
may offer support or warranty protection for a fee. |
| 451 |
|
| 452 |
5. Conveying Modified Source Versions. |
| 453 |
|
| 454 |
You may convey a work based on the Program, or the modifications to produce |
| 455 |
it from the Program, in the form of source code under the terms of section |
| 456 |
4, provided that you also meet all of these conditions: |
| 457 |
a) The work must carry prominent notices stating that you modified it, and |
| 458 |
giving a relevant date. |
| 459 |
b) The work must carry prominent notices stating that it is released under |
| 460 |
this License and any conditions added under section 7. This requirement |
| 461 |
modifies the requirement in section 4 to "keep intact all notices". |
| 462 |
c) You must license the entire work, as a whole, under this License to |
| 463 |
anyone who comes into possession of a copy. This License will therefore |
| 464 |
apply, along with any applicable section 7 additional terms, to the whole |
| 465 |
of the work, and all its parts, regardless of how they are packaged. This |
| 466 |
License gives no permission to license the work in any other way, but it |
| 467 |
does not invalidate such permission if you have separately received it. |
| 468 |
d) If the work has interactive user interfaces, each must display |
| 469 |
Appropriate Legal Notices; however, if the Program has interactive |
| 470 |
interfaces that do not display Appropriate Legal Notices, your work need |
| 471 |
not make them do so. |
| 472 |
|
| 473 |
A compilation of a covered work with other separate and independent works, |
| 474 |
which are not by their nature extensions of the covered work, and which are |
| 475 |
not combined with it such as to form a larger program, in or on a volume of |
| 476 |
a storage or distribution medium, is called an "aggregate" if the |
| 477 |
compilation and its resulting copyright are not used to limit the access or |
| 478 |
legal rights of the compilation's users beyond what the individual works |
| 479 |
permit. Inclusion of a covered work in an aggregate does not cause this |
| 480 |
License to apply to the other parts of the aggregate. |
| 481 |
|
| 482 |
6. Conveying Non-Source Forms. |
| 483 |
|
| 484 |
You may convey a covered work in object code form under the terms of |
| 485 |
sections 4 and 5, provided that you also convey the machine-readable |
| 486 |
Corresponding Source under the terms of this License, in one of these ways: |
| 487 |
a) Convey the object code in, or embodied in, a physical product (including |
| 488 |
a physical distribution medium), accompanied by the Corresponding Source |
| 489 |
fixed on a durable physical medium customarily used for software |
| 490 |
interchange. |
| 491 |
b) Convey the object code in, or embodied in, a physical product (including |
| 492 |
a physical distribution medium), accompanied by a written offer, valid |
| 493 |
for at least three years and valid for as long as you offer spare parts |
| 494 |
or customer support for that product model, to give anyone who possesses |
| 495 |
the object code either |
| 496 |
(1) a copy of the Corresponding Source for all the software in the |
| 497 |
product that is covered by this License, on a durable physical medium |
| 498 |
customarily used for software interchange, for a price no more than |
| 499 |
your reasonable cost of physically performing this conveying of |
| 500 |
source, or |
| 501 |
(2) access to copy the Corresponding Source from a network server at no |
| 502 |
charge. |
| 503 |
c) Convey individual copies of the object code with a copy of the written |
| 504 |
offer to provide the Corresponding Source. This alternative is allowed |
| 505 |
only occasionally and noncommercially, and only if you received the |
| 506 |
object code with such an offer, in accord with subsection 6b. |
| 507 |
d) Convey the object code by offering access from a designated place (gratis |
| 508 |
or for a charge), and offer equivalent access to the Corresponding Source |
| 509 |
in the same way through the same place at no further charge. You need not |
| 510 |
require recipients to copy the Corresponding Source along with the object |
| 511 |
code. If the place to copy the object code is a network server, the |
| 512 |
Corresponding Source may be on a different server (operated by you or a |
| 513 |
third party) that supports equivalent copying facilities, provided you |
| 514 |
maintain clear directions next to the object code saying where to find |
| 515 |
the Corresponding Source. Regardless of what server hosts the |
| 516 |
Corresponding Source, you remain obligated to ensure that it is available |
| 517 |
for as long as needed to satisfy these requirements. |
| 518 |
e) Convey the object code using peer-to-peer transmission, provided you |
| 519 |
inform other peers where the object code and Corresponding Source of the |
| 520 |
work are being offered to the general public at no charge under |
| 521 |
subsection 6d. |
| 522 |
|
| 523 |
A separable portion of the object code, whose source code is excluded from |
| 524 |
the Corresponding Source as a System Library, need not be included in |
| 525 |
conveying the object code work. |
| 526 |
|
| 527 |
A "User Product" is either |
| 528 |
(1) a "consumer product", which means any tangible personal property which |
| 529 |
is normally used for personal, family, or household purposes, or |
| 530 |
(2) anything designed or sold for incorporation into a dwelling. |
| 531 |
In determining whether a product is a consumer product, doubtful cases shall |
| 532 |
be resolved in favor of coverage. For a particular product received by a |
| 533 |
particular user, "normally used" refers to a typical or common use of that |
| 534 |
class of product, regardless of the status of the particular user or of the |
| 535 |
way in which the particular user actually uses, or expects or is expected to |
| 536 |
use, the product. A product is a consumer product regardless of whether the |
| 537 |
product has substantial commercial, industrial or non-consumer uses, unless |
| 538 |
such uses represent the only significant mode of use of the product. |
| 539 |
|
| 540 |
"Installation Information" for a User Product means any methods, procedures, |
| 541 |
authorization keys, or other information required to install and execute |
| 542 |
modified versions of a covered work in that User Product from a modified |
| 543 |
version of its Corresponding Source. The information must suffice to ensure |
| 544 |
that the continued functioning of the modified object code is in no case |
| 545 |
prevented or interfered with solely because modification has been made. |
| 546 |
|
| 547 |
If you convey an object code work under this section in, or with, or |
| 548 |
specifically for use in, a User Product, and the conveying occurs as part of |
| 549 |
a transaction in which the right of possession and use of the User Product |
| 550 |
is transferred to the recipient in perpetuity or for a fixed term |
| 551 |
(regardless of how the transaction is characterized), the Corresponding |
| 552 |
Source conveyed under this section must be accompanied by the Installation |
| 553 |
Information. But this requirement does not apply if neither you nor any |
| 554 |
third party retains the ability to install modified object code on the User |
| 555 |
Product (for example, the work has been installed in ROM). |
| 556 |
|
| 557 |
The requirement to provide Installation Information does not include a |
| 558 |
requirement to continue to provide support service, warranty, or updates for |
| 559 |
a work that has been modified or installed by the recipient, or for the User |
| 560 |
Product in which it has been modified or installed. Access to a network may |
| 561 |
be denied when the modification itself materially and adversely affects the |
| 562 |
operation of the network or violates the rules and protocols for |
| 563 |
communication across the network. |
| 564 |
|
| 565 |
Corresponding Source conveyed, and Installation Information provided, in |
| 566 |
accord with this section must be in a format that is publicly documented |
| 567 |
(and with an implementation available to the public in source code form), |
| 568 |
and must require no special password or key for unpacking, reading or |
| 569 |
copying. |
| 570 |
|
| 571 |
7. Additional Terms. |
| 572 |
|
| 573 |
"Additional permissions" are terms that supplement the terms of this License |
| 574 |
by making exceptions from one or more of its conditions. Additional |
| 575 |
permissions that are applicable to the entire Program shall be treated as |
| 576 |
though they were included in this License, to the extent that they are valid |
| 577 |
under applicable law. If additional permissions apply only to part of the |
| 578 |
Program, that part may be used separately under those permissions, but the |
| 579 |
entire Program remains governed by this License without regard to the |
| 580 |
additional permissions. |
| 581 |
|
| 582 |
When you convey a copy of a covered work, you may at your option remove any |
| 583 |
additional permissions from that copy, or from any part of it. (Additional |
| 584 |
permissions may be written to require their own removal in certain cases |
| 585 |
when you modify the work.) You may place additional permissions on material, |
| 586 |
added by you to a covered work, for which you have or can give appropriate |
| 587 |
copyright permission. |
| 588 |
|
| 589 |
Notwithstanding any other provision of this License, for material you add to |
| 590 |
a covered work, you may (if authorized by the copyright holders of that |
| 591 |
material) supplement the terms of this License with terms: |
| 592 |
a) Disclaiming warranty or limiting liability differently from the terms of |
| 593 |
sections 15 and 16 of this License; or |
| 594 |
b) Requiring preservation of specified reasonable legal notices or author |
| 595 |
attributions in that material or in the Appropriate Legal Notices |
| 596 |
displayed by works containing it; or |
| 597 |
c) Prohibiting misrepresentation of the origin of that material, or |
| 598 |
requiring that modified versions of such material be marked in reasonable |
| 599 |
ways as different from the original version; or |
| 600 |
d) Limiting the use for publicity purposes of names of licensors or authors |
| 601 |
of the material; or |
| 602 |
e) Declining to grant rights under trademark law for use of some trade |
| 603 |
names, trademarks, or service marks; or |
| 604 |
f) Requiring indemnification of licensors and authors of that material by |
| 605 |
anyone who conveys the material (or modified versions of it) with |
| 606 |
contractual assumptions of liability to the recipient, for any liability |
| 607 |
that these contractual assumptions directly impose on those licensors and |
| 608 |
authors. |
| 609 |
|
| 610 |
All other non-permissive additional terms are considered "further |
| 611 |
restrictions" within the meaning of section 10. If the Program as you |
| 612 |
received it, or any part of it, contains a notice stating that it is |
| 613 |
governed by this License along with a term that is a further restriction, |
| 614 |
you may remove that term. If a license document contains a further |
| 615 |
restriction but permits relicensing or conveying under this License, you may |
| 616 |
add to a covered work material governed by the terms of that license |
| 617 |
document, provided that the further restriction does not survive such |
| 618 |
relicensing or conveying. |
| 619 |
|
| 620 |
If you add terms to a covered work in accord with this section, you must |
| 621 |
place, in the relevant source files, a statement of the additional terms |
| 622 |
that apply to those files, or a notice indicating where to find the |
| 623 |
applicable terms. |
| 624 |
|
| 625 |
Additional terms, permissive or non-permissive, may be stated in the form of |
| 626 |
a separately written license, or stated as exceptions; the above |
| 627 |
requirements apply either way. |
| 628 |
|
| 629 |
8. Termination. |
| 630 |
|
| 631 |
You may not propagate or modify a covered work except as expressly provided |
| 632 |
under this License. Any attempt otherwise to propagate or modify it is void, |
| 633 |
and will automatically terminate your rights under this License (including |
| 634 |
any patent licenses granted under the third paragraph of section 11). |
| 635 |
|
| 636 |
However, if you cease all violation of this License, then your license from |
| 637 |
a particular copyright holder is reinstated |
| 638 |
(a) provisionally, unless and until the copyright holder explicitly and |
| 639 |
finally terminates your license, and |
| 640 |
(b) permanently, if the copyright holder fails to notify you of the |
| 641 |
violation by some reasonable means prior to 60 days after the cessation. |
| 642 |
|
| 643 |
Moreover, your license from a particular copyright holder is reinstated |
| 644 |
permanently if the copyright holder notifies you of the violation by some |
| 645 |
reasonable means, this is the first time you have received notice of |
| 646 |
violation of this License (for any work) from that copyright holder, and you |
| 647 |
cure the violation prior to 30 days after your receipt of the notice. |
| 648 |
|
| 649 |
Termination of your rights under this section does not terminate the |
| 650 |
licenses of parties who have received copies or rights from you under this |
| 651 |
License. If your rights have been terminated and not permanently reinstated, |
| 652 |
you do not qualify to receive new licenses for the same material under |
| 653 |
section 10. |
| 654 |
|
| 655 |
9. Acceptance Not Required for Having Copies. |
| 656 |
|
| 657 |
You are not required to accept this License in order to receive or run a |
| 658 |
copy of the Program. Ancillary propagation of a covered work occurring |
| 659 |
solely as a consequence of using peer-to-peer transmission to receive a copy |
| 660 |
likewise does not require acceptance. However, nothing other than this |
| 661 |
License grants you permission to propagate or modify any covered work. These |
| 662 |
actions infringe copyright if you do not accept this License. Therefore, by |
| 663 |
modifying or propagating a covered work, you indicate your acceptance of |
| 664 |
this License to do so. |
| 665 |
|
| 666 |
10. Automatic Licensing of Downstream Recipients. |
| 667 |
|
| 668 |
Each time you convey a covered work, the recipient automatically receives a |
| 669 |
license from the original licensors, to run, modify and propagate that work, |
| 670 |
subject to this License. You are not responsible for enforcing compliance by |
| 671 |
third parties with this License. |
| 672 |
|
| 673 |
An "entity transaction" is a transaction transferring control of an |
| 674 |
organization, or substantially all assets of one, or subdividing an |
| 675 |
organization, or merging organizations. If propagation of a covered work |
| 676 |
results from an entity transaction, each party to that transaction who |
| 677 |
receives a copy of the work also receives whatever licenses to the work the |
| 678 |
party's predecessor in interest had or could give under the previous |
| 679 |
paragraph, plus a right to possession of the Corresponding Source of the |
| 680 |
work from the predecessor in interest, if the predecessor has it or can get |
| 681 |
it with reasonable efforts. |
| 682 |
|
| 683 |
You may not impose any further restrictions on the exercise of the rights |
| 684 |
granted or affirmed under this License. For example, you may not impose a |
| 685 |
license fee, royalty, or other charge for exercise of rights granted under |
| 686 |
this License, and you may not initiate litigation (including a cross-claim |
| 687 |
or counterclaim in a lawsuit) alleging that any patent claim is infringed by |
| 688 |
making, using, selling, offering for sale, or importing the Program or any |
| 689 |
portion of it. |
| 690 |
|
| 691 |
11. Patents. |
| 692 |
|
| 693 |
A "contributor" is a copyright holder who authorizes use under this License |
| 694 |
of the Program or a work on which the Program is based. The work thus |
| 695 |
licensed is called the contributor's "contributor version". |
| 696 |
|
| 697 |
A contributor's "essential patent claims" are all patent claims owned or |
| 698 |
controlled by the contributor, whether already acquired or hereafter |
| 699 |
acquired, that would be infringed by some manner, permitted by this License, |
| 700 |
of making, using, or selling its contributor version, but do not include |
| 701 |
claims that would be infringed only as a consequence of further modification |
| 702 |
of the contributor version. For purposes of this definition, "control" |
| 703 |
includes the right to grant patent sublicenses in a manner consistent with |
| 704 |
the requirements of this License. |
| 705 |
|
| 706 |
Each contributor grants you a non-exclusive, worldwide, royalty-free patent |
| 707 |
license under the contributor's essential patent claims, to make, use, sell, |
| 708 |
offer for sale, import and otherwise run, modify and propagate the contents |
| 709 |
of its contributor version. |
| 710 |
|
| 711 |
In the following three paragraphs, a "patent license" is any express |
| 712 |
agreement or commitment, however denominated, not to enforce a patent (such |
| 713 |
as an express permission to practice a patent or covenant not to sue for |
| 714 |
patent infringement). To "grant" such a patent license to a party means to |
| 715 |
make such an agreement or commitment not to enforce a patent against the |
| 716 |
party. |
| 717 |
|
| 718 |
If you convey a covered work, knowingly relying on a patent license, and the |
| 719 |
Corresponding Source of the work is not available for anyone to copy, free |
| 720 |
of charge and under the terms of this License, through a publicly available |
| 721 |
network server or other readily accessible means, then you must either |
| 722 |
(1) cause the Corresponding Source to be so available, or |
| 723 |
(2) arrange to deprive yourself of the benefit of the patent license for |
| 724 |
this particular work, or |
| 725 |
(3) arrange, in a manner consistent with the requirements of this License, |
| 726 |
to extend the patent license to downstream recipients. "Knowingly |
| 727 |
relying" means you have actual knowledge that, but for the patent |
| 728 |
license, your conveying the covered work in a country, or your |
| 729 |
recipient's use of the covered work in a country, would infringe one or |
| 730 |
more identifiable patents in that country that you have reason to |
| 731 |
believe are valid. |
| 732 |
|
| 733 |
If, pursuant to or in connection with a single transaction or arrangement, |
| 734 |
you convey, or propagate by procuring conveyance of, a covered work, and |
| 735 |
grant a patent license to some of the parties receiving the covered work |
| 736 |
authorizing them to use, propagate, modify or convey a specific copy of the |
| 737 |
covered work, then the patent license you grant is automatically extended to |
| 738 |
all recipients of the covered work and works based on it. |
| 739 |
|
| 740 |
A patent license is "discriminatory" if it does not include within the scope |
| 741 |
of its coverage, prohibits the exercise of, or is conditioned on the |
| 742 |
non-exercise of one or more of the rights that are specifically granted |
| 743 |
under this License. You may not convey a covered work if you are a party to |
| 744 |
an arrangement with a third party that is in the business of distributing |
| 745 |
software, under which you make payment to the third party based on the |
| 746 |
extent of your activity of conveying the work, and under which the third |
| 747 |
party grants, to any of the parties who would receive the covered work from |
| 748 |
you, a discriminatory patent license |
| 749 |
(a) in connection with copies of the covered work conveyed by you (or copies |
| 750 |
made from those copies), or |
| 751 |
(b) primarily for and in connection with specific products or compilations |
| 752 |
that contain the covered work, unless you entered into that arrangement, |
| 753 |
or that patent license was granted, prior to 28 March 2007. |
| 754 |
|
| 755 |
Nothing in this License shall be construed as excluding or limiting any |
| 756 |
implied license or other defenses to infringement that may otherwise be |
| 757 |
available to you under applicable patent law. |
| 758 |
|
| 759 |
12. No Surrender of Others' Freedom. |
| 760 |
|
| 761 |
If conditions are imposed on you (whether by court order, agreement or |
| 762 |
otherwise) that contradict the conditions of this License, they do not |
| 763 |
excuse you from the conditions of this License. If you cannot convey a |
| 764 |
covered work so as to satisfy simultaneously your obligations under this |
| 765 |
License and any other pertinent obligations, then as a consequence you may |
| 766 |
not convey it at all. For example, if you agree to terms that obligate you |
| 767 |
to collect a royalty for further conveying from those to whom you convey the |
| 768 |
Program, the only way you could satisfy both those terms and this License |
| 769 |
would be to refrain entirely from conveying the Program. |
| 770 |
|
| 771 |
13. Use with the GNU Affero General Public License. |
| 772 |
|
| 773 |
Notwithstanding any other provision of this License, you have permission to |
| 774 |
link or combine any covered work with a work licensed under version 3 of the |
| 775 |
GNU Affero General Public License into a single combined work, and to convey |
| 776 |
the resulting work. The terms of this License will continue to apply to the |
| 777 |
part which is the covered work, but the special requirements of the GNU |
| 778 |
Affero General Public License, section 13, concerning interaction through a |
| 779 |
network will apply to the combination as such. |
| 780 |
|
| 781 |
14. Revised Versions of this License. |
| 782 |
|
| 783 |
The Free Software Foundation may publish revised and/or new versions of the |
| 784 |
GNU General Public License from time to time. Such new versions will be |
| 785 |
similar in spirit to the present version, but may differ in detail to |
| 786 |
address new problems or concerns. |
| 787 |
|
| 788 |
Each version is given a distinguishing version number. If the Program |
| 789 |
specifies that a certain numbered version of the GNU General Public License |
| 790 |
"or any later version" applies to it, you have the option of following the |
| 791 |
terms and conditions either of that numbered version or of any later version |
| 792 |
published by the Free Software Foundation. If the Program does not specify a |
| 793 |
version number of the GNU General Public License, you may choose any version |
| 794 |
ever published by the Free Software Foundation. |
| 795 |
|
| 796 |
If the Program specifies that a proxy can decide which future versions of |
| 797 |
the GNU General Public License can be used, that proxy's public statement of |
| 798 |
acceptance of a version permanently authorizes you to choose that version |
| 799 |
for the Program. |
| 800 |
|
| 801 |
Later license versions may give you additional or different permissions. |
| 802 |
However, no additional obligations are imposed on any author or copyright |
| 803 |
holder as a result of your choosing to follow a later version. |
| 804 |
|
| 805 |
15. Disclaimer of Warranty. |
| 806 |
|
| 807 |
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE |
| 808 |
LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR |
| 809 |
OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, |
| 810 |
EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
| 811 |
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE |
| 812 |
ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. |
| 813 |
SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY |
| 814 |
SERVICING, REPAIR OR CORRECTION. |
| 815 |
|
| 816 |
16. Limitation of Liability. |
| 817 |
|
| 818 |
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL |
| 819 |
ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE |
| 820 |
PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY |
| 821 |
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE |
| 822 |
OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA |
| 823 |
OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD |
| 824 |
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), |
| 825 |
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF |
| 826 |
SUCH DAMAGES. |
| 827 |
|
| 828 |
17. Interpretation of Sections 15 and 16. |
| 829 |
|
| 830 |
If the disclaimer of warranty and limitation of liability provided above |
| 831 |
cannot be given local legal effect according to their terms, reviewing |
| 832 |
courts shall apply local law that most closely approximates an absolute |
| 833 |
waiver of all civil liability in connection with the Program, unless a |
| 834 |
warranty or assumption of liability accompanies a copy of the Program in |
| 835 |
return for a fee. |