Dan Albert | 2320eea | 2015-11-09 11:13:07 -0800 | [diff] [blame] | 1 | GNU GENERAL PUBLIC LICENSE |
| 2 | Version 2, June 1991 |
| 3 | |
| 4 | Copyright (C) 1989, 1991 Free Software Foundation, Inc. |
| 5 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 6 | Everyone is permitted to copy and distribute verbatim copies |
| 7 | of this license document, but changing it is not allowed. |
| 8 | |
| 9 | Preamble |
| 10 | |
| 11 | The licenses for most software are designed to take away your |
| 12 | freedom to share and change it. By contrast, the GNU General Public |
| 13 | License is intended to guarantee your freedom to share and change free |
| 14 | software--to make sure the software is free for all its users. This |
| 15 | General Public License applies to most of the Free Software |
| 16 | Foundation's software and to any other program whose authors commit to |
| 17 | using it. (Some other Free Software Foundation software is covered by |
| 18 | the GNU Library General Public License instead.) You can apply it to |
| 19 | your programs, too. |
| 20 | |
| 21 | When we speak of free software, we are referring to freedom, not |
| 22 | price. Our General Public Licenses are designed to make sure that you |
| 23 | have the freedom to distribute copies of free software (and charge for |
| 24 | this service if you wish), that you receive source code or can get it |
| 25 | if you want it, that you can change the software or use pieces of it |
| 26 | in new free programs; and that you know you can do these things. |
| 27 | |
| 28 | To protect your rights, we need to make restrictions that forbid |
| 29 | anyone to deny you these rights or to ask you to surrender the rights. |
| 30 | These restrictions translate to certain responsibilities for you if you |
| 31 | distribute copies of the software, or if you modify it. |
| 32 | |
| 33 | For example, if you distribute copies of such a program, whether |
| 34 | gratis or for a fee, you must give the recipients all the rights that |
| 35 | you have. You must make sure that they, too, receive or can get the |
| 36 | source code. And you must show them these terms so they know their |
| 37 | rights. |
| 38 | |
| 39 | We protect your rights with two steps: (1) copyright the software, and |
| 40 | (2) offer you this license which gives you legal permission to copy, |
| 41 | distribute and/or modify the software. |
| 42 | |
| 43 | Also, for each author's protection and ours, we want to make certain |
| 44 | that everyone understands that there is no warranty for this free |
| 45 | software. If the software is modified by someone else and passed on, we |
| 46 | want its recipients to know that what they have is not the original, so |
| 47 | that any problems introduced by others will not reflect on the original |
| 48 | authors' reputations. |
| 49 | |
| 50 | Finally, any free program is threatened constantly by software |
| 51 | patents. We wish to avoid the danger that redistributors of a free |
| 52 | program will individually obtain patent licenses, in effect making the |
| 53 | program proprietary. To prevent this, we have made it clear that any |
| 54 | patent must be licensed for everyone's free use or not licensed at all. |
| 55 | |
| 56 | The precise terms and conditions for copying, distribution and |
| 57 | modification follow. |
| 58 | |
| 59 | GNU GENERAL PUBLIC LICENSE |
| 60 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION |
| 61 | |
| 62 | 0. This License applies to any program or other work which contains |
| 63 | a notice placed by the copyright holder saying it may be distributed |
| 64 | under the terms of this General Public License. The "Program", below, |
| 65 | refers to any such program or work, and a "work based on the Program" |
| 66 | means either the Program or any derivative work under copyright law: |
| 67 | that is to say, a work containing the Program or a portion of it, |
| 68 | either verbatim or with modifications and/or translated into another |
| 69 | language. (Hereinafter, translation is included without limitation in |
| 70 | the term "modification".) Each licensee is addressed as "you". |
| 71 | |
| 72 | Activities other than copying, distribution and modification are not |
| 73 | covered by this License; they are outside its scope. The act of |
| 74 | running the Program is not restricted, and the output from the Program |
| 75 | is covered only if its contents constitute a work based on the |
| 76 | Program (independent of having been made by running the Program). |
| 77 | Whether that is true depends on what the Program does. |
| 78 | |
| 79 | 1. You may copy and distribute verbatim copies of the Program's |
| 80 | source code as you receive it, in any medium, provided that you |
| 81 | conspicuously and appropriately publish on each copy an appropriate |
| 82 | copyright notice and disclaimer of warranty; keep intact all the |
| 83 | notices that refer to this License and to the absence of any warranty; |
| 84 | and give any other recipients of the Program a copy of this License |
| 85 | along with the Program. |
| 86 | |
| 87 | You may charge a fee for the physical act of transferring a copy, and |
| 88 | you may at your option offer warranty protection in exchange for a fee. |
| 89 | |
| 90 | 2. You may modify your copy or copies of the Program or any portion |
| 91 | of it, thus forming a work based on the Program, and copy and |
| 92 | distribute such modifications or work under the terms of Section 1 |
| 93 | above, provided that you also meet all of these conditions: |
| 94 | |
| 95 | a) You must cause the modified files to carry prominent notices |
| 96 | stating that you changed the files and the date of any change. |
| 97 | |
| 98 | b) You must cause any work that you distribute or publish, that in |
| 99 | whole or in part contains or is derived from the Program or any |
| 100 | part thereof, to be licensed as a whole at no charge to all third |
| 101 | parties under the terms of this License. |
| 102 | |
| 103 | c) If the modified program normally reads commands interactively |
| 104 | when run, you must cause it, when started running for such |
| 105 | interactive use in the most ordinary way, to print or display an |
| 106 | announcement including an appropriate copyright notice and a |
| 107 | notice that there is no warranty (or else, saying that you provide |
| 108 | a warranty) and that users may redistribute the program under |
| 109 | these conditions, and telling the user how to view a copy of this |
| 110 | License. (Exception: if the Program itself is interactive but |
| 111 | does not normally print such an announcement, your work based on |
| 112 | the Program is not required to print an announcement.) |
| 113 | |
| 114 | These requirements apply to the modified work as a whole. If |
| 115 | identifiable sections of that work are not derived from the Program, |
| 116 | and can be reasonably considered independent and separate works in |
| 117 | themselves, then this License, and its terms, do not apply to those |
| 118 | sections when you distribute them as separate works. But when you |
| 119 | distribute the same sections as part of a whole which is a work based |
| 120 | on the Program, the distribution of the whole must be on the terms of |
| 121 | this License, whose permissions for other licensees extend to the |
| 122 | entire whole, and thus to each and every part regardless of who wrote it. |
| 123 | |
| 124 | Thus, it is not the intent of this section to claim rights or contest |
| 125 | your rights to work written entirely by you; rather, the intent is to |
| 126 | exercise the right to control the distribution of derivative or |
| 127 | collective works based on the Program. |
| 128 | |
| 129 | In addition, mere aggregation of another work not based on the Program |
| 130 | with the Program (or with a work based on the Program) on a volume of |
| 131 | a storage or distribution medium does not bring the other work under |
| 132 | the scope of this License. |
| 133 | |
| 134 | 3. You may copy and distribute the Program (or a work based on it, |
| 135 | under Section 2) in object code or executable form under the terms of |
| 136 | Sections 1 and 2 above provided that you also do one of the following: |
| 137 | |
| 138 | a) Accompany it with the complete corresponding machine-readable |
| 139 | source code, which must be distributed under the terms of Sections |
| 140 | 1 and 2 above on a medium customarily used for software interchange; or, |
| 141 | |
| 142 | b) Accompany it with a written offer, valid for at least three |
| 143 | years, to give any third party, for a charge no more than your |
| 144 | cost of physically performing source distribution, a complete |
| 145 | machine-readable copy of the corresponding source code, to be |
| 146 | distributed under the terms of Sections 1 and 2 above on a medium |
| 147 | customarily used for software interchange; or, |
| 148 | |
| 149 | c) Accompany it with the information you received as to the offer |
| 150 | to distribute corresponding source code. (This alternative is |
| 151 | allowed only for noncommercial distribution and only if you |
| 152 | received the program in object code or executable form with such |
| 153 | an offer, in accord with Subsection b above.) |
| 154 | |
| 155 | The source code for a work means the preferred form of the work for |
| 156 | making modifications to it. For an executable work, complete source |
| 157 | code means all the source code for all modules it contains, plus any |
| 158 | associated interface definition files, plus the scripts used to |
| 159 | control compilation and installation of the executable. However, as a |
| 160 | special exception, the source code distributed need not include |
| 161 | anything that is normally distributed (in either source or binary |
| 162 | form) with the major components (compiler, kernel, and so on) of the |
| 163 | operating system on which the executable runs, unless that component |
| 164 | itself accompanies the executable. |
| 165 | |
| 166 | If distribution of executable or object code is made by offering |
| 167 | access to copy from a designated place, then offering equivalent |
| 168 | access to copy the source code from the same place counts as |
| 169 | distribution of the source code, even though third parties are not |
| 170 | compelled to copy the source along with the object code. |
| 171 | |
| 172 | 4. You may not copy, modify, sublicense, or distribute the Program |
| 173 | except as expressly provided under this License. Any attempt |
| 174 | otherwise to copy, modify, sublicense or distribute the Program is |
| 175 | void, and will automatically terminate your rights under this License. |
| 176 | However, parties who have received copies, or rights, from you under |
| 177 | this License will not have their licenses terminated so long as such |
| 178 | parties remain in full compliance. |
| 179 | |
| 180 | 5. You are not required to accept this License, since you have not |
| 181 | signed it. However, nothing else grants you permission to modify or |
| 182 | distribute the Program or its derivative works. These actions are |
| 183 | prohibited by law if you do not accept this License. Therefore, by |
| 184 | modifying or distributing the Program (or any work based on the |
| 185 | Program), you indicate your acceptance of this License to do so, and |
| 186 | all its terms and conditions for copying, distributing or modifying |
| 187 | the Program or works based on it. |
| 188 | |
| 189 | 6. Each time you redistribute the Program (or any work based on the |
| 190 | Program), the recipient automatically receives a license from the |
| 191 | original licensor to copy, distribute or modify the Program subject to |
| 192 | these terms and conditions. You may not impose any further |
| 193 | restrictions on the recipients' exercise of the rights granted herein. |
| 194 | You are not responsible for enforcing compliance by third parties to |
| 195 | this License. |
| 196 | |
| 197 | 7. If, as a consequence of a court judgment or allegation of patent |
| 198 | infringement or for any other reason (not limited to patent issues), |
| 199 | conditions are imposed on you (whether by court order, agreement or |
| 200 | otherwise) that contradict the conditions of this License, they do not |
| 201 | excuse you from the conditions of this License. If you cannot |
| 202 | distribute so as to satisfy simultaneously your obligations under this |
| 203 | License and any other pertinent obligations, then as a consequence you |
| 204 | may not distribute the Program at all. For example, if a patent |
| 205 | license would not permit royalty-free redistribution of the Program by |
| 206 | all those who receive copies directly or indirectly through you, then |
| 207 | the only way you could satisfy both it and this License would be to |
| 208 | refrain entirely from distribution of the Program. |
| 209 | |
| 210 | If any portion of this section is held invalid or unenforceable under |
| 211 | any particular circumstance, the balance of the section is intended to |
| 212 | apply and the section as a whole is intended to apply in other |
| 213 | circumstances. |
| 214 | |
| 215 | It is not the purpose of this section to induce you to infringe any |
| 216 | patents or other property right claims or to contest validity of any |
| 217 | such claims; this section has the sole purpose of protecting the |
| 218 | integrity of the free software distribution system, which is |
| 219 | implemented by public license practices. Many people have made |
| 220 | generous contributions to the wide range of software distributed |
| 221 | through that system in reliance on consistent application of that |
| 222 | system; it is up to the author/donor to decide if he or she is willing |
| 223 | to distribute software through any other system and a licensee cannot |
| 224 | impose that choice. |
| 225 | |
| 226 | This section is intended to make thoroughly clear what is believed to |
| 227 | be a consequence of the rest of this License. |
| 228 | |
| 229 | 8. If the distribution and/or use of the Program is restricted in |
| 230 | certain countries either by patents or by copyrighted interfaces, the |
| 231 | original copyright holder who places the Program under this License |
| 232 | may add an explicit geographical distribution limitation excluding |
| 233 | those countries, so that distribution is permitted only in or among |
| 234 | countries not thus excluded. In such case, this License incorporates |
| 235 | the limitation as if written in the body of this License. |
| 236 | |
| 237 | 9. The Free Software Foundation may publish revised and/or new versions |
| 238 | of the General Public License from time to time. Such new versions will |
| 239 | be similar in spirit to the present version, but may differ in detail to |
| 240 | address new problems or concerns. |
| 241 | |
| 242 | Each version is given a distinguishing version number. If the Program |
| 243 | specifies a version number of this License which applies to it and "any |
| 244 | later version", you have the option of following the terms and conditions |
| 245 | either of that version or of any later version published by the Free |
| 246 | Software Foundation. If the Program does not specify a version number of |
| 247 | this License, you may choose any version ever published by the Free Software |
| 248 | Foundation. |
| 249 | |
| 250 | 10. If you wish to incorporate parts of the Program into other free |
| 251 | programs whose distribution conditions are different, write to the author |
| 252 | to ask for permission. For software which is copyrighted by the Free |
| 253 | Software Foundation, write to the Free Software Foundation; we sometimes |
| 254 | make exceptions for this. Our decision will be guided by the two goals |
| 255 | of preserving the free status of all derivatives of our free software and |
| 256 | of promoting the sharing and reuse of software generally. |
| 257 | |
| 258 | NO WARRANTY |
| 259 | |
| 260 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY |
| 261 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN |
| 262 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES |
| 263 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED |
| 264 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
| 265 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS |
| 266 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE |
| 267 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, |
| 268 | REPAIR OR CORRECTION. |
| 269 | |
| 270 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING |
| 271 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR |
| 272 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, |
| 273 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING |
| 274 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED |
| 275 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY |
| 276 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER |
| 277 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE |
| 278 | POSSIBILITY OF SUCH DAMAGES. |
| 279 | |
| 280 | END OF TERMS AND CONDITIONS |
| 281 | |
| 282 | How to Apply These Terms to Your New Programs |
| 283 | |
| 284 | If you develop a new program, and you want it to be of the greatest |
| 285 | possible use to the public, the best way to achieve this is to make it |
| 286 | free software which everyone can redistribute and change under these terms. |
| 287 | |
| 288 | To do so, attach the following notices to the program. It is safest |
| 289 | to attach them to the start of each source file to most effectively |
| 290 | convey the exclusion of warranty; and each file should have at least |
| 291 | the "copyright" line and a pointer to where the full notice is found. |
| 292 | |
| 293 | <one line to give the program's name and a brief idea of what it does.> |
| 294 | Copyright (C) <year> <name of author> |
| 295 | |
| 296 | This program is free software; you can redistribute it and/or modify |
| 297 | it under the terms of the GNU General Public License as published by |
| 298 | the Free Software Foundation; either version 2 of the License, or |
| 299 | (at your option) any later version. |
| 300 | |
| 301 | This program is distributed in the hope that it will be useful, |
| 302 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 303 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 304 | GNU General Public License for more details. |
| 305 | |
| 306 | You should have received a copy of the GNU General Public License |
| 307 | along with this program; if not, write to the Free Software |
| 308 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 309 | |
| 310 | |
| 311 | Also add information on how to contact you by electronic and paper mail. |
| 312 | |
| 313 | If the program is interactive, make it output a short notice like this |
| 314 | when it starts in an interactive mode: |
| 315 | |
| 316 | Gnomovision version 69, Copyright (C) year name of author |
| 317 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. |
| 318 | This is free software, and you are welcome to redistribute it |
| 319 | under certain conditions; type `show c' for details. |
| 320 | |
| 321 | The hypothetical commands `show w' and `show c' should show the appropriate |
| 322 | parts of the General Public License. Of course, the commands you use may |
| 323 | be called something other than `show w' and `show c'; they could even be |
| 324 | mouse-clicks or menu items--whatever suits your program. |
| 325 | |
| 326 | You should also get your employer (if you work as a programmer) or your |
| 327 | school, if any, to sign a "copyright disclaimer" for the program, if |
| 328 | necessary. Here is a sample; alter the names: |
| 329 | |
| 330 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program |
| 331 | `Gnomovision' (which makes passes at compilers) written by James Hacker. |
| 332 | |
| 333 | <signature of Ty Coon>, 1 April 1989 |
| 334 | Ty Coon, President of Vice |
| 335 | |
| 336 | This General Public License does not permit incorporating your program into |
| 337 | proprietary programs. If your program is a subroutine library, you may |
| 338 | consider it more useful to permit linking proprietary applications with the |
| 339 | library. If this is what you want to do, use the GNU Library General |
| 340 | Public License instead of this License. |
Dan Albert | 58e0736 | 2015-11-11 13:53:59 -0800 | [diff] [blame] | 341 | |
Josh Gao | c7b0046 | 2016-04-29 18:11:04 -0700 | [diff] [blame] | 342 | Copyright (C) Lucent Technologies 1997 |
| 343 | All Rights Reserved |
| 344 | |
| 345 | Permission to use, copy, modify, and distribute this software and |
| 346 | its documentation for any purpose and without fee is hereby |
| 347 | granted, provided that the above copyright notice appear in all |
| 348 | copies and that both that the copyright notice and this |
| 349 | permission notice and warranty disclaimer appear in supporting |
| 350 | documentation, and that the name Lucent Technologies or any of |
| 351 | its entities not be used in advertising or publicity pertaining |
| 352 | to distribution of the software without specific, written prior |
| 353 | permission. |
| 354 | |
| 355 | LUCENT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, |
| 356 | INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. |
| 357 | IN NO EVENT SHALL LUCENT OR ANY OF ITS ENTITIES BE LIABLE FOR ANY |
| 358 | SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
| 359 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER |
| 360 | IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, |
| 361 | ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF |
| 362 | THIS SOFTWARE. |
| 363 | |
| 364 | Copyright (C) 2016 The Android Open Source Project |
| 365 | |
| 366 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 367 | you may not use this file except in compliance with the License. |
| 368 | You may obtain a copy of the License at |
| 369 | |
| 370 | http://www.apache.org/licenses/LICENSE-2.0 |
| 371 | |
| 372 | Unless required by applicable law or agreed to in writing, software |
| 373 | distributed under the License is distributed on an "AS IS" BASIS, |
| 374 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 375 | See the License for the specific language governing permissions and |
| 376 | limitations under the License. |
| 377 | |
| 378 | GNU GENERAL PUBLIC LICENSE |
| 379 | Version 2, June 1991 |
| 380 | |
| 381 | Copyright (C) 1989, 1991 Free Software Foundation, Inc. |
| 382 | 59 Temple Place - Suite 330, Boston, MA |
| 383 | 02111-1307, USA. |
| 384 | Everyone is permitted to copy and distribute verbatim copies |
| 385 | of this license document, but changing it is not allowed. |
| 386 | |
| 387 | Preamble |
| 388 | |
| 389 | The licenses for most software are designed to take away your |
| 390 | freedom to share and change it. By contrast, the GNU General Public |
| 391 | License is intended to guarantee your freedom to share and change free |
| 392 | software--to make sure the software is free for all its users. This |
| 393 | General Public License applies to most of the Free Software |
| 394 | Foundation's software and to any other program whose authors commit to |
| 395 | using it. (Some other Free Software Foundation software is covered by |
| 396 | the GNU Library General Public License instead.) You can apply it to |
| 397 | your programs, too. |
| 398 | |
| 399 | When we speak of free software, we are referring to freedom, not |
| 400 | price. Our General Public Licenses are designed to make sure that you |
| 401 | have the freedom to distribute copies of free software (and charge for |
| 402 | this service if you wish), that you receive source code or can get it |
| 403 | if you want it, that you can change the software or use pieces of it |
| 404 | in new free programs; and that you know you can do these things. |
| 405 | |
| 406 | To protect your rights, we need to make restrictions that forbid |
| 407 | anyone to deny you these rights or to ask you to surrender the rights. |
| 408 | These restrictions translate to certain responsibilities for you if you |
| 409 | distribute copies of the software, or if you modify it. |
| 410 | |
| 411 | For example, if you distribute copies of such a program, whether |
| 412 | gratis or for a fee, you must give the recipients all the rights that |
| 413 | you have. You must make sure that they, too, receive or can get the |
| 414 | source code. And you must show them these terms so they know their |
| 415 | rights. |
| 416 | |
| 417 | We protect your rights with two steps: (1) copyright the software, and |
| 418 | (2) offer you this license which gives you legal permission to copy, |
| 419 | distribute and/or modify the software. |
| 420 | |
| 421 | Also, for each author's protection and ours, we want to make certain |
| 422 | that everyone understands that there is no warranty for this free |
| 423 | software. If the software is modified by someone else and passed on, we |
| 424 | want its recipients to know that what they have is not the original, so |
| 425 | that any problems introduced by others will not reflect on the original |
| 426 | authors' reputations. |
| 427 | |
| 428 | Finally, any free program is threatened constantly by software |
| 429 | patents. We wish to avoid the danger that redistributors of a free |
| 430 | program will individually obtain patent licenses, in effect making the |
| 431 | program proprietary. To prevent this, we have made it clear that any |
| 432 | patent must be licensed for everyone's free use or not licensed at all. |
| 433 | |
| 434 | The precise terms and conditions for copying, distribution and |
| 435 | modification follow. |
| 436 | |
| 437 | GNU GENERAL PUBLIC LICENSE |
| 438 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION |
| 439 | |
| 440 | 0. This License applies to any program or other work which contains |
| 441 | a notice placed by the copyright holder saying it may be distributed |
| 442 | under the terms of this General Public License. The "Program", below, |
| 443 | refers to any such program or work, and a "work based on the Program" |
| 444 | means either the Program or any derivative work under copyright law: |
| 445 | that is to say, a work containing the Program or a portion of it, |
| 446 | either verbatim or with modifications and/or translated into another |
| 447 | language. (Hereinafter, translation is included without limitation in |
| 448 | the term "modification".) Each licensee is addressed as "you". |
| 449 | |
| 450 | Activities other than copying, distribution and modification are not |
| 451 | covered by this License; they are outside its scope. The act of |
| 452 | running the Program is not restricted, and the output from the Program |
| 453 | is covered only if its contents constitute a work based on the |
| 454 | Program (independent of having been made by running the Program). |
| 455 | Whether that is true depends on what the Program does. |
| 456 | |
| 457 | 1. You may copy and distribute verbatim copies of the Program's |
| 458 | source code as you receive it, in any medium, provided that you |
| 459 | conspicuously and appropriately publish on each copy an appropriate |
| 460 | copyright notice and disclaimer of warranty; keep intact all the |
| 461 | notices that refer to this License and to the absence of any warranty; |
| 462 | and give any other recipients of the Program a copy of this License |
| 463 | along with the Program. |
| 464 | |
| 465 | You may charge a fee for the physical act of transferring a copy, and |
| 466 | you may at your option offer warranty protection in exchange for a fee. |
| 467 | |
| 468 | 2. You may modify your copy or copies of the Program or any portion |
| 469 | of it, thus forming a work based on the Program, and copy and |
| 470 | distribute such modifications or work under the terms of Section 1 |
| 471 | above, provided that you also meet all of these conditions: |
| 472 | |
| 473 | a) You must cause the modified files to carry prominent notices |
| 474 | stating that you changed the files and the date of any change. |
| 475 | |
| 476 | b) You must cause any work that you distribute or publish, that in |
| 477 | whole or in part contains or is derived from the Program or any |
| 478 | part thereof, to be licensed as a whole at no charge to all third |
| 479 | parties under the terms of this License. |
| 480 | |
| 481 | c) If the modified program normally reads commands interactively |
| 482 | when run, you must cause it, when started running for such |
| 483 | interactive use in the most ordinary way, to print or display an |
| 484 | announcement including an appropriate copyright notice and a |
| 485 | notice that there is no warranty (or else, saying that you provide |
| 486 | a warranty) and that users may redistribute the program under |
| 487 | these conditions, and telling the user how to view a copy of this |
| 488 | License. (Exception: if the Program itself is interactive but |
| 489 | does not normally print such an announcement, your work based on |
| 490 | the Program is not required to print an announcement.) |
| 491 | |
| 492 | These requirements apply to the modified work as a whole. If |
| 493 | identifiable sections of that work are not derived from the Program, |
| 494 | and can be reasonably considered independent and separate works in |
| 495 | themselves, then this License, and its terms, do not apply to those |
| 496 | sections when you distribute them as separate works. But when you |
| 497 | distribute the same sections as part of a whole which is a work based |
| 498 | on the Program, the distribution of the whole must be on the terms of |
| 499 | this License, whose permissions for other licensees extend to the |
| 500 | entire whole, and thus to each and every part regardless of who wrote it. |
| 501 | |
| 502 | Thus, it is not the intent of this section to claim rights or contest |
| 503 | your rights to work written entirely by you; rather, the intent is to |
| 504 | exercise the right to control the distribution of derivative or |
| 505 | collective works based on the Program. |
| 506 | |
| 507 | In addition, mere aggregation of another work not based on the Program |
| 508 | with the Program (or with a work based on the Program) on a volume of |
| 509 | a storage or distribution medium does not bring the other work under |
| 510 | the scope of this License. |
| 511 | |
| 512 | 3. You may copy and distribute the Program (or a work based on it, |
| 513 | under Section 2) in object code or executable form under the terms of |
| 514 | Sections 1 and 2 above provided that you also do one of the following: |
| 515 | |
| 516 | a) Accompany it with the complete corresponding machine-readable |
| 517 | source code, which must be distributed under the terms of Sections |
| 518 | 1 and 2 above on a medium customarily used for software interchange; or, |
| 519 | |
| 520 | b) Accompany it with a written offer, valid for at least three |
| 521 | years, to give any third party, for a charge no more than your |
| 522 | cost of physically performing source distribution, a complete |
| 523 | machine-readable copy of the corresponding source code, to be |
| 524 | distributed under the terms of Sections 1 and 2 above on a medium |
| 525 | customarily used for software interchange; or, |
| 526 | |
| 527 | c) Accompany it with the information you received as to the offer |
| 528 | to distribute corresponding source code. (This alternative is |
| 529 | allowed only for noncommercial distribution and only if you |
| 530 | received the program in object code or executable form with such |
| 531 | an offer, in accord with Subsection b above.) |
| 532 | |
| 533 | The source code for a work means the preferred form of the work for |
| 534 | making modifications to it. For an executable work, complete source |
| 535 | code means all the source code for all modules it contains, plus any |
| 536 | associated interface definition files, plus the scripts used to |
| 537 | control compilation and installation of the executable. However, as a |
| 538 | special exception, the source code distributed need not include |
| 539 | anything that is normally distributed (in either source or binary |
| 540 | form) with the major components (compiler, kernel, and so on) of the |
| 541 | operating system on which the executable runs, unless that component |
| 542 | itself accompanies the executable. |
| 543 | |
| 544 | If distribution of executable or object code is made by offering |
| 545 | access to copy from a designated place, then offering equivalent |
| 546 | access to copy the source code from the same place counts as |
| 547 | distribution of the source code, even though third parties are not |
| 548 | compelled to copy the source along with the object code. |
| 549 | |
| 550 | 4. You may not copy, modify, sublicense, or distribute the Program |
| 551 | except as expressly provided under this License. Any attempt |
| 552 | otherwise to copy, modify, sublicense or distribute the Program is |
| 553 | void, and will automatically terminate your rights under this License. |
| 554 | However, parties who have received copies, or rights, from you under |
| 555 | this License will not have their licenses terminated so long as such |
| 556 | parties remain in full compliance. |
| 557 | |
| 558 | 5. You are not required to accept this License, since you have not |
| 559 | signed it. However, nothing else grants you permission to modify or |
| 560 | distribute the Program or its derivative works. These actions are |
| 561 | prohibited by law if you do not accept this License. Therefore, by |
| 562 | modifying or distributing the Program (or any work based on the |
| 563 | Program), you indicate your acceptance of this License to do so, and |
| 564 | all its terms and conditions for copying, distributing or modifying |
| 565 | the Program or works based on it. |
| 566 | |
| 567 | 6. Each time you redistribute the Program (or any work based on the |
| 568 | Program), the recipient automatically receives a license from the |
| 569 | original licensor to copy, distribute or modify the Program subject to |
| 570 | these terms and conditions. You may not impose any further |
| 571 | restrictions on the recipients' exercise of the rights granted herein. |
| 572 | You are not responsible for enforcing compliance by third parties to |
| 573 | this License. |
| 574 | |
| 575 | 7. If, as a consequence of a court judgment or allegation of patent |
| 576 | infringement or for any other reason (not limited to patent issues), |
| 577 | conditions are imposed on you (whether by court order, agreement or |
| 578 | otherwise) that contradict the conditions of this License, they do not |
| 579 | excuse you from the conditions of this License. If you cannot |
| 580 | distribute so as to satisfy simultaneously your obligations under this |
| 581 | License and any other pertinent obligations, then as a consequence you |
| 582 | may not distribute the Program at all. For example, if a patent |
| 583 | license would not permit royalty-free redistribution of the Program by |
| 584 | all those who receive copies directly or indirectly through you, then |
| 585 | the only way you could satisfy both it and this License would be to |
| 586 | refrain entirely from distribution of the Program. |
| 587 | |
| 588 | If any portion of this section is held invalid or unenforceable under |
| 589 | any particular circumstance, the balance of the section is intended to |
| 590 | apply and the section as a whole is intended to apply in other |
| 591 | circumstances. |
| 592 | |
| 593 | It is not the purpose of this section to induce you to infringe any |
| 594 | patents or other property right claims or to contest validity of any |
| 595 | such claims; this section has the sole purpose of protecting the |
| 596 | integrity of the free software distribution system, which is |
| 597 | implemented by public license practices. Many people have made |
| 598 | generous contributions to the wide range of software distributed |
| 599 | through that system in reliance on consistent application of that |
| 600 | system; it is up to the author/donor to decide if he or she is willing |
| 601 | to distribute software through any other system and a licensee cannot |
| 602 | impose that choice. |
| 603 | |
| 604 | This section is intended to make thoroughly clear what is believed to |
| 605 | be a consequence of the rest of this License. |
| 606 | |
| 607 | 8. If the distribution and/or use of the Program is restricted in |
| 608 | certain countries either by patents or by copyrighted interfaces, the |
| 609 | original copyright holder who places the Program under this License |
| 610 | may add an explicit geographical distribution limitation excluding |
| 611 | those countries, so that distribution is permitted only in or among |
| 612 | countries not thus excluded. In such case, this License incorporates |
| 613 | the limitation as if written in the body of this License. |
| 614 | |
| 615 | 9. The Free Software Foundation may publish revised and/or new versions |
| 616 | of the General Public License from time to time. Such new versions will |
| 617 | be similar in spirit to the present version, but may differ in detail to |
| 618 | address new problems or concerns. |
| 619 | |
| 620 | Each version is given a distinguishing version number. If the Program |
| 621 | specifies a version number of this License which applies to it and "any |
| 622 | later version", you have the option of following the terms and conditions |
| 623 | either of that version or of any later version published by the Free |
| 624 | Software Foundation. If the Program does not specify a version number of |
| 625 | this License, you may choose any version ever published by the Free Software |
| 626 | Foundation. |
| 627 | |
| 628 | 10. If you wish to incorporate parts of the Program into other free |
| 629 | programs whose distribution conditions are different, write to the author |
| 630 | to ask for permission. For software which is copyrighted by the Free |
| 631 | Software Foundation, write to the Free Software Foundation; we sometimes |
| 632 | make exceptions for this. Our decision will be guided by the two goals |
| 633 | of preserving the free status of all derivatives of our free software and |
| 634 | of promoting the sharing and reuse of software generally. |
| 635 | |
| 636 | NO WARRANTY |
| 637 | |
| 638 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY |
| 639 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN |
| 640 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES |
| 641 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED |
| 642 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
| 643 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS |
| 644 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE |
| 645 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, |
| 646 | REPAIR OR CORRECTION. |
| 647 | |
| 648 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING |
| 649 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR |
| 650 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, |
| 651 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING |
| 652 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED |
| 653 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY |
| 654 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER |
| 655 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE |
| 656 | POSSIBILITY OF SUCH DAMAGES. |
| 657 | |
| 658 | END OF TERMS AND CONDITIONS |
| 659 | |
| 660 | Appendix: How to Apply These Terms to Your New Programs |
| 661 | |
| 662 | If you develop a new program, and you want it to be of the greatest |
| 663 | possible use to the public, the best way to achieve this is to make it |
| 664 | free software which everyone can redistribute and change under these terms. |
| 665 | |
| 666 | To do so, attach the following notices to the program. It is safest |
| 667 | to attach them to the start of each source file to most effectively |
| 668 | convey the exclusion of warranty; and each file should have at least |
| 669 | the "copyright" line and a pointer to where the full notice is found. |
| 670 | |
| 671 | <one line to give the program's name and a brief idea of what it does.> |
| 672 | Copyright (C) 19yy <name of author> |
| 673 | |
| 674 | This program is free software; you can redistribute it and/or modify |
| 675 | it under the terms of the GNU General Public License as published by |
| 676 | the Free Software Foundation; either version 2 of the License, or |
| 677 | (at your option) any later version. |
| 678 | |
| 679 | This program is distributed in the hope that it will be useful, |
| 680 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 681 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 682 | GNU General Public License for more details. |
| 683 | |
| 684 | You should have received a copy of the GNU General Public License |
| 685 | along with this program; if not, write to the Free Software |
| 686 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 687 | |
| 688 | Also add information on how to contact you by electronic and paper mail. |
| 689 | |
| 690 | If the program is interactive, make it output a short notice like this |
| 691 | when it starts in an interactive mode: |
| 692 | |
| 693 | Gnomovision version 69, Copyright (C) 19yy name of author |
| 694 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. |
| 695 | This is free software, and you are welcome to redistribute it |
| 696 | under certain conditions; type `show c' for details. |
| 697 | |
| 698 | The hypothetical commands `show w' and `show c' should show the appropriate |
| 699 | parts of the General Public License. Of course, the commands you use may |
| 700 | be called something other than `show w' and `show c'; they could even be |
| 701 | mouse-clicks or menu items--whatever suits your program. |
| 702 | |
| 703 | You should also get your employer (if you work as a programmer) or your |
| 704 | school, if any, to sign a "copyright disclaimer" for the program, if |
| 705 | necessary. Here is a sample; alter the names: |
| 706 | |
| 707 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program |
| 708 | `Gnomovision' (which makes passes at compilers) written by James Hacker. |
| 709 | |
| 710 | <signature of Ty Coon>, 1 April 1989 |
| 711 | Ty Coon, President of Vice |
| 712 | |
| 713 | This General Public License does not permit incorporating your program into |
| 714 | proprietary programs. If your program is a subroutine library, you may |
| 715 | consider it more useful to permit linking proprietary applications with the |
| 716 | library. If this is what you want to do, use the GNU Library General |
| 717 | Public License instead of this License. |
| 718 | |
Dan Albert | 58e0736 | 2015-11-11 13:53:59 -0800 | [diff] [blame] | 719 | A. HISTORY OF THE SOFTWARE |
| 720 | ========================== |
| 721 | |
| 722 | Python was created in the early 1990s by Guido van Rossum at Stichting |
| 723 | Mathematisch Centrum (CWI, see http://www.cwi.nl) in the Netherlands |
| 724 | as a successor of a language called ABC. Guido remains Python's |
| 725 | principal author, although it includes many contributions from others. |
| 726 | |
| 727 | In 1995, Guido continued his work on Python at the Corporation for |
| 728 | National Research Initiatives (CNRI, see http://www.cnri.reston.va.us) |
| 729 | in Reston, Virginia where he released several versions of the |
| 730 | software. |
| 731 | |
| 732 | In May 2000, Guido and the Python core development team moved to |
| 733 | BeOpen.com to form the BeOpen PythonLabs team. In October of the same |
| 734 | year, the PythonLabs team moved to Digital Creations (now Zope |
| 735 | Corporation, see http://www.zope.com). In 2001, the Python Software |
| 736 | Foundation (PSF, see http://www.python.org/psf/) was formed, a |
| 737 | non-profit organization created specifically to own Python-related |
| 738 | Intellectual Property. Zope Corporation is a sponsoring member of |
| 739 | the PSF. |
| 740 | |
| 741 | All Python releases are Open Source (see http://www.opensource.org for |
| 742 | the Open Source Definition). Historically, most, but not all, Python |
| 743 | releases have also been GPL-compatible; the table below summarizes |
| 744 | the various releases. |
| 745 | |
| 746 | Release Derived Year Owner GPL- |
| 747 | from compatible? (1) |
| 748 | |
| 749 | 0.9.0 thru 1.2 1991-1995 CWI yes |
| 750 | 1.3 thru 1.5.2 1.2 1995-1999 CNRI yes |
| 751 | 1.6 1.5.2 2000 CNRI no |
| 752 | 2.0 1.6 2000 BeOpen.com no |
| 753 | 1.6.1 1.6 2001 CNRI yes (2) |
| 754 | 2.1 2.0+1.6.1 2001 PSF no |
| 755 | 2.0.1 2.0+1.6.1 2001 PSF yes |
| 756 | 2.1.1 2.1+2.0.1 2001 PSF yes |
| 757 | 2.2 2.1.1 2001 PSF yes |
| 758 | 2.1.2 2.1.1 2002 PSF yes |
| 759 | 2.1.3 2.1.2 2002 PSF yes |
| 760 | 2.2.1 2.2 2002 PSF yes |
| 761 | 2.2.2 2.2.1 2002 PSF yes |
| 762 | 2.2.3 2.2.2 2003 PSF yes |
| 763 | 2.3 2.2.2 2002-2003 PSF yes |
| 764 | 2.3.1 2.3 2002-2003 PSF yes |
| 765 | 2.3.2 2.3.1 2002-2003 PSF yes |
| 766 | 2.3.3 2.3.2 2002-2003 PSF yes |
| 767 | 2.3.4 2.3.3 2004 PSF yes |
| 768 | 2.3.5 2.3.4 2005 PSF yes |
| 769 | 2.4 2.3 2004 PSF yes |
| 770 | 2.4.1 2.4 2005 PSF yes |
| 771 | 2.4.2 2.4.1 2005 PSF yes |
| 772 | 2.4.3 2.4.2 2006 PSF yes |
| 773 | 2.4.4 2.4.3 2006 PSF yes |
| 774 | 2.5 2.4 2006 PSF yes |
| 775 | 2.5.1 2.5 2007 PSF yes |
| 776 | 2.5.2 2.5.1 2008 PSF yes |
| 777 | 2.5.3 2.5.2 2008 PSF yes |
| 778 | 2.6 2.5 2008 PSF yes |
| 779 | 2.6.1 2.6 2008 PSF yes |
| 780 | 2.6.2 2.6.1 2009 PSF yes |
| 781 | 2.6.3 2.6.2 2009 PSF yes |
| 782 | 2.6.4 2.6.3 2009 PSF yes |
| 783 | 2.6.5 2.6.4 2010 PSF yes |
| 784 | 2.7 2.6 2010 PSF yes |
| 785 | |
| 786 | Footnotes: |
| 787 | |
| 788 | (1) GPL-compatible doesn't mean that we're distributing Python under |
| 789 | the GPL. All Python licenses, unlike the GPL, let you distribute |
| 790 | a modified version without making your changes open source. The |
| 791 | GPL-compatible licenses make it possible to combine Python with |
| 792 | other software that is released under the GPL; the others don't. |
| 793 | |
| 794 | (2) According to Richard Stallman, 1.6.1 is not GPL-compatible, |
| 795 | because its license has a choice of law clause. According to |
| 796 | CNRI, however, Stallman's lawyer has told CNRI's lawyer that 1.6.1 |
| 797 | is "not incompatible" with the GPL. |
| 798 | |
| 799 | Thanks to the many outside volunteers who have worked under Guido's |
| 800 | direction to make these releases possible. |
| 801 | |
| 802 | |
| 803 | B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON |
| 804 | =============================================================== |
| 805 | |
| 806 | PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 |
| 807 | -------------------------------------------- |
| 808 | |
| 809 | 1. This LICENSE AGREEMENT is between the Python Software Foundation |
| 810 | ("PSF"), and the Individual or Organization ("Licensee") accessing and |
| 811 | otherwise using this software ("Python") in source or binary form and |
| 812 | its associated documentation. |
| 813 | |
| 814 | 2. Subject to the terms and conditions of this License Agreement, PSF hereby |
| 815 | grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, |
| 816 | analyze, test, perform and/or display publicly, prepare derivative works, |
| 817 | distribute, and otherwise use Python alone or in any derivative version, |
| 818 | provided, however, that PSF's License Agreement and PSF's notice of copyright, |
| 819 | i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, |
| 820 | 2011, 2012, 2013 Python Software Foundation; All Rights Reserved" are retained |
| 821 | in Python alone or in any derivative version prepared by Licensee. |
| 822 | |
| 823 | 3. In the event Licensee prepares a derivative work that is based on |
| 824 | or incorporates Python or any part thereof, and wants to make |
| 825 | the derivative work available to others as provided herein, then |
| 826 | Licensee hereby agrees to include in any such work a brief summary of |
| 827 | the changes made to Python. |
| 828 | |
| 829 | 4. PSF is making Python available to Licensee on an "AS IS" |
| 830 | basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR |
| 831 | IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND |
| 832 | DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS |
| 833 | FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT |
| 834 | INFRINGE ANY THIRD PARTY RIGHTS. |
| 835 | |
| 836 | 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON |
| 837 | FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS |
| 838 | A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, |
| 839 | OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. |
| 840 | |
| 841 | 6. This License Agreement will automatically terminate upon a material |
| 842 | breach of its terms and conditions. |
| 843 | |
| 844 | 7. Nothing in this License Agreement shall be deemed to create any |
| 845 | relationship of agency, partnership, or joint venture between PSF and |
| 846 | Licensee. This License Agreement does not grant permission to use PSF |
| 847 | trademarks or trade name in a trademark sense to endorse or promote |
| 848 | products or services of Licensee, or any third party. |
| 849 | |
| 850 | 8. By copying, installing or otherwise using Python, Licensee |
| 851 | agrees to be bound by the terms and conditions of this License |
| 852 | Agreement. |
| 853 | |
| 854 | |
| 855 | BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0 |
| 856 | ------------------------------------------- |
| 857 | |
| 858 | BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1 |
| 859 | |
| 860 | 1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an |
| 861 | office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the |
| 862 | Individual or Organization ("Licensee") accessing and otherwise using |
| 863 | this software in source or binary form and its associated |
| 864 | documentation ("the Software"). |
| 865 | |
| 866 | 2. Subject to the terms and conditions of this BeOpen Python License |
| 867 | Agreement, BeOpen hereby grants Licensee a non-exclusive, |
| 868 | royalty-free, world-wide license to reproduce, analyze, test, perform |
| 869 | and/or display publicly, prepare derivative works, distribute, and |
| 870 | otherwise use the Software alone or in any derivative version, |
| 871 | provided, however, that the BeOpen Python License is retained in the |
| 872 | Software, alone or in any derivative version prepared by Licensee. |
| 873 | |
| 874 | 3. BeOpen is making the Software available to Licensee on an "AS IS" |
| 875 | basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR |
| 876 | IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND |
| 877 | DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS |
| 878 | FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT |
| 879 | INFRINGE ANY THIRD PARTY RIGHTS. |
| 880 | |
| 881 | 4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE |
| 882 | SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS |
| 883 | AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY |
| 884 | DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. |
| 885 | |
| 886 | 5. This License Agreement will automatically terminate upon a material |
| 887 | breach of its terms and conditions. |
| 888 | |
| 889 | 6. This License Agreement shall be governed by and interpreted in all |
| 890 | respects by the law of the State of California, excluding conflict of |
| 891 | law provisions. Nothing in this License Agreement shall be deemed to |
| 892 | create any relationship of agency, partnership, or joint venture |
| 893 | between BeOpen and Licensee. This License Agreement does not grant |
| 894 | permission to use BeOpen trademarks or trade names in a trademark |
| 895 | sense to endorse or promote products or services of Licensee, or any |
| 896 | third party. As an exception, the "BeOpen Python" logos available at |
| 897 | http://www.pythonlabs.com/logos.html may be used according to the |
| 898 | permissions granted on that web page. |
| 899 | |
| 900 | 7. By copying, installing or otherwise using the software, Licensee |
| 901 | agrees to be bound by the terms and conditions of this License |
| 902 | Agreement. |
| 903 | |
| 904 | |
| 905 | CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1 |
| 906 | --------------------------------------- |
| 907 | |
| 908 | 1. This LICENSE AGREEMENT is between the Corporation for National |
| 909 | Research Initiatives, having an office at 1895 Preston White Drive, |
| 910 | Reston, VA 20191 ("CNRI"), and the Individual or Organization |
| 911 | ("Licensee") accessing and otherwise using Python 1.6.1 software in |
| 912 | source or binary form and its associated documentation. |
| 913 | |
| 914 | 2. Subject to the terms and conditions of this License Agreement, CNRI |
| 915 | hereby grants Licensee a nonexclusive, royalty-free, world-wide |
| 916 | license to reproduce, analyze, test, perform and/or display publicly, |
| 917 | prepare derivative works, distribute, and otherwise use Python 1.6.1 |
| 918 | alone or in any derivative version, provided, however, that CNRI's |
| 919 | License Agreement and CNRI's notice of copyright, i.e., "Copyright (c) |
| 920 | 1995-2001 Corporation for National Research Initiatives; All Rights |
| 921 | Reserved" are retained in Python 1.6.1 alone or in any derivative |
| 922 | version prepared by Licensee. Alternately, in lieu of CNRI's License |
| 923 | Agreement, Licensee may substitute the following text (omitting the |
| 924 | quotes): "Python 1.6.1 is made available subject to the terms and |
| 925 | conditions in CNRI's License Agreement. This Agreement together with |
| 926 | Python 1.6.1 may be located on the Internet using the following |
| 927 | unique, persistent identifier (known as a handle): 1895.22/1013. This |
| 928 | Agreement may also be obtained from a proxy server on the Internet |
| 929 | using the following URL: http://hdl.handle.net/1895.22/1013". |
| 930 | |
| 931 | 3. In the event Licensee prepares a derivative work that is based on |
| 932 | or incorporates Python 1.6.1 or any part thereof, and wants to make |
| 933 | the derivative work available to others as provided herein, then |
| 934 | Licensee hereby agrees to include in any such work a brief summary of |
| 935 | the changes made to Python 1.6.1. |
| 936 | |
| 937 | 4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS" |
| 938 | basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR |
| 939 | IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND |
| 940 | DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS |
| 941 | FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT |
| 942 | INFRINGE ANY THIRD PARTY RIGHTS. |
| 943 | |
| 944 | 5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON |
| 945 | 1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS |
| 946 | A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1, |
| 947 | OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. |
| 948 | |
| 949 | 6. This License Agreement will automatically terminate upon a material |
| 950 | breach of its terms and conditions. |
| 951 | |
| 952 | 7. This License Agreement shall be governed by the federal |
| 953 | intellectual property law of the United States, including without |
| 954 | limitation the federal copyright law, and, to the extent such |
| 955 | U.S. federal law does not apply, by the law of the Commonwealth of |
| 956 | Virginia, excluding Virginia's conflict of law provisions. |
| 957 | Notwithstanding the foregoing, with regard to derivative works based |
| 958 | on Python 1.6.1 that incorporate non-separable material that was |
| 959 | previously distributed under the GNU General Public License (GPL), the |
| 960 | law of the Commonwealth of Virginia shall govern this License |
| 961 | Agreement only as to issues arising under or with respect to |
| 962 | Paragraphs 4, 5, and 7 of this License Agreement. Nothing in this |
| 963 | License Agreement shall be deemed to create any relationship of |
| 964 | agency, partnership, or joint venture between CNRI and Licensee. This |
| 965 | License Agreement does not grant permission to use CNRI trademarks or |
| 966 | trade name in a trademark sense to endorse or promote products or |
| 967 | services of Licensee, or any third party. |
| 968 | |
| 969 | 8. By clicking on the "ACCEPT" button where indicated, or by copying, |
| 970 | installing or otherwise using Python 1.6.1, Licensee agrees to be |
| 971 | bound by the terms and conditions of this License Agreement. |
| 972 | |
| 973 | ACCEPT |
| 974 | |
| 975 | |
| 976 | CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2 |
| 977 | -------------------------------------------------- |
| 978 | |
| 979 | Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam, |
| 980 | The Netherlands. All rights reserved. |
| 981 | |
| 982 | Permission to use, copy, modify, and distribute this software and its |
| 983 | documentation for any purpose and without fee is hereby granted, |
| 984 | provided that the above copyright notice appear in all copies and that |
| 985 | both that copyright notice and this permission notice appear in |
| 986 | supporting documentation, and that the name of Stichting Mathematisch |
| 987 | Centrum or CWI not be used in advertising or publicity pertaining to |
| 988 | distribution of the software without specific, written prior |
| 989 | permission. |
| 990 | |
| 991 | STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO |
| 992 | THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND |
| 993 | FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE |
| 994 | FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
| 995 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
| 996 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT |
| 997 | OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
Josh Gao | c7b0046 | 2016-04-29 18:11:04 -0700 | [diff] [blame] | 998 | |
| 999 | GNU GENERAL PUBLIC LICENSE |
| 1000 | Version 2, June 1991 |
| 1001 | |
| 1002 | Copyright (C) 1989, 1991 Free Software Foundation, Inc. |
| 1003 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 1004 | Everyone is permitted to copy and distribute verbatim copies |
| 1005 | of this license document, but changing it is not allowed. |
| 1006 | |
| 1007 | Preamble |
| 1008 | |
| 1009 | The licenses for most software are designed to take away your |
| 1010 | freedom to share and change it. By contrast, the GNU General Public |
| 1011 | License is intended to guarantee your freedom to share and change free |
| 1012 | software--to make sure the software is free for all its users. This |
| 1013 | General Public License applies to most of the Free Software |
| 1014 | Foundation's software and to any other program whose authors commit to |
| 1015 | using it. (Some other Free Software Foundation software is covered by |
| 1016 | the GNU Library General Public License instead.) You can apply it to |
| 1017 | your programs, too. |
| 1018 | |
| 1019 | When we speak of free software, we are referring to freedom, not |
| 1020 | price. Our General Public Licenses are designed to make sure that you |
| 1021 | have the freedom to distribute copies of free software (and charge for |
| 1022 | this service if you wish), that you receive source code or can get it |
| 1023 | if you want it, that you can change the software or use pieces of it |
| 1024 | in new free programs; and that you know you can do these things. |
| 1025 | |
| 1026 | To protect your rights, we need to make restrictions that forbid |
| 1027 | anyone to deny you these rights or to ask you to surrender the rights. |
| 1028 | These restrictions translate to certain responsibilities for you if you |
| 1029 | distribute copies of the software, or if you modify it. |
| 1030 | |
| 1031 | For example, if you distribute copies of such a program, whether |
| 1032 | gratis or for a fee, you must give the recipients all the rights that |
| 1033 | you have. You must make sure that they, too, receive or can get the |
| 1034 | source code. And you must show them these terms so they know their |
| 1035 | rights. |
| 1036 | |
| 1037 | We protect your rights with two steps: (1) copyright the software, and |
| 1038 | (2) offer you this license which gives you legal permission to copy, |
| 1039 | distribute and/or modify the software. |
| 1040 | |
| 1041 | Also, for each author's protection and ours, we want to make certain |
| 1042 | that everyone understands that there is no warranty for this free |
| 1043 | software. If the software is modified by someone else and passed on, we |
| 1044 | want its recipients to know that what they have is not the original, so |
| 1045 | that any problems introduced by others will not reflect on the original |
| 1046 | authors' reputations. |
| 1047 | |
| 1048 | Finally, any free program is threatened constantly by software |
| 1049 | patents. We wish to avoid the danger that redistributors of a free |
| 1050 | program will individually obtain patent licenses, in effect making the |
| 1051 | program proprietary. To prevent this, we have made it clear that any |
| 1052 | patent must be licensed for everyone's free use or not licensed at all. |
| 1053 | |
| 1054 | The precise terms and conditions for copying, distribution and |
| 1055 | modification follow. |
| 1056 | |
| 1057 | GNU GENERAL PUBLIC LICENSE |
| 1058 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION |
| 1059 | |
| 1060 | 0. This License applies to any program or other work which contains |
| 1061 | a notice placed by the copyright holder saying it may be distributed |
| 1062 | under the terms of this General Public License. The "Program", below, |
| 1063 | refers to any such program or work, and a "work based on the Program" |
| 1064 | means either the Program or any derivative work under copyright law: |
| 1065 | that is to say, a work containing the Program or a portion of it, |
| 1066 | either verbatim or with modifications and/or translated into another |
| 1067 | language. (Hereinafter, translation is included without limitation in |
| 1068 | the term "modification".) Each licensee is addressed as "you". |
| 1069 | |
| 1070 | Activities other than copying, distribution and modification are not |
| 1071 | covered by this License; they are outside its scope. The act of |
| 1072 | running the Program is not restricted, and the output from the Program |
| 1073 | is covered only if its contents constitute a work based on the |
| 1074 | Program (independent of having been made by running the Program). |
| 1075 | Whether that is true depends on what the Program does. |
| 1076 | |
| 1077 | 1. You may copy and distribute verbatim copies of the Program's |
| 1078 | source code as you receive it, in any medium, provided that you |
| 1079 | conspicuously and appropriately publish on each copy an appropriate |
| 1080 | copyright notice and disclaimer of warranty; keep intact all the |
| 1081 | notices that refer to this License and to the absence of any warranty; |
| 1082 | and give any other recipients of the Program a copy of this License |
| 1083 | along with the Program. |
| 1084 | |
| 1085 | You may charge a fee for the physical act of transferring a copy, and |
| 1086 | you may at your option offer warranty protection in exchange for a fee. |
| 1087 | |
| 1088 | 2. You may modify your copy or copies of the Program or any portion |
| 1089 | of it, thus forming a work based on the Program, and copy and |
| 1090 | distribute such modifications or work under the terms of Section 1 |
| 1091 | above, provided that you also meet all of these conditions: |
| 1092 | |
| 1093 | a) You must cause the modified files to carry prominent notices |
| 1094 | stating that you changed the files and the date of any change. |
| 1095 | |
| 1096 | b) You must cause any work that you distribute or publish, that in |
| 1097 | whole or in part contains or is derived from the Program or any |
| 1098 | part thereof, to be licensed as a whole at no charge to all third |
| 1099 | parties under the terms of this License. |
| 1100 | |
| 1101 | c) If the modified program normally reads commands interactively |
| 1102 | when run, you must cause it, when started running for such |
| 1103 | interactive use in the most ordinary way, to print or display an |
| 1104 | announcement including an appropriate copyright notice and a |
| 1105 | notice that there is no warranty (or else, saying that you provide |
| 1106 | a warranty) and that users may redistribute the program under |
| 1107 | these conditions, and telling the user how to view a copy of this |
| 1108 | License. (Exception: if the Program itself is interactive but |
| 1109 | does not normally print such an announcement, your work based on |
| 1110 | the Program is not required to print an announcement.) |
| 1111 | |
| 1112 | These requirements apply to the modified work as a whole. If |
| 1113 | identifiable sections of that work are not derived from the Program, |
| 1114 | and can be reasonably considered independent and separate works in |
| 1115 | themselves, then this License, and its terms, do not apply to those |
| 1116 | sections when you distribute them as separate works. But when you |
| 1117 | distribute the same sections as part of a whole which is a work based |
| 1118 | on the Program, the distribution of the whole must be on the terms of |
| 1119 | this License, whose permissions for other licensees extend to the |
| 1120 | entire whole, and thus to each and every part regardless of who wrote it. |
| 1121 | |
| 1122 | Thus, it is not the intent of this section to claim rights or contest |
| 1123 | your rights to work written entirely by you; rather, the intent is to |
| 1124 | exercise the right to control the distribution of derivative or |
| 1125 | collective works based on the Program. |
| 1126 | |
| 1127 | In addition, mere aggregation of another work not based on the Program |
| 1128 | with the Program (or with a work based on the Program) on a volume of |
| 1129 | a storage or distribution medium does not bring the other work under |
| 1130 | the scope of this License. |
| 1131 | |
| 1132 | 3. You may copy and distribute the Program (or a work based on it, |
| 1133 | under Section 2) in object code or executable form under the terms of |
| 1134 | Sections 1 and 2 above provided that you also do one of the following: |
| 1135 | |
| 1136 | a) Accompany it with the complete corresponding machine-readable |
| 1137 | source code, which must be distributed under the terms of Sections |
| 1138 | 1 and 2 above on a medium customarily used for software interchange; or, |
| 1139 | |
| 1140 | b) Accompany it with a written offer, valid for at least three |
| 1141 | years, to give any third party, for a charge no more than your |
| 1142 | cost of physically performing source distribution, a complete |
| 1143 | machine-readable copy of the corresponding source code, to be |
| 1144 | distributed under the terms of Sections 1 and 2 above on a medium |
| 1145 | customarily used for software interchange; or, |
| 1146 | |
| 1147 | c) Accompany it with the information you received as to the offer |
| 1148 | to distribute corresponding source code. (This alternative is |
| 1149 | allowed only for noncommercial distribution and only if you |
| 1150 | received the program in object code or executable form with such |
| 1151 | an offer, in accord with Subsection b above.) |
| 1152 | |
| 1153 | The source code for a work means the preferred form of the work for |
| 1154 | making modifications to it. For an executable work, complete source |
| 1155 | code means all the source code for all modules it contains, plus any |
| 1156 | associated interface definition files, plus the scripts used to |
| 1157 | control compilation and installation of the executable. However, as a |
| 1158 | special exception, the source code distributed need not include |
| 1159 | anything that is normally distributed (in either source or binary |
| 1160 | form) with the major components (compiler, kernel, and so on) of the |
| 1161 | operating system on which the executable runs, unless that component |
| 1162 | itself accompanies the executable. |
| 1163 | |
| 1164 | If distribution of executable or object code is made by offering |
| 1165 | access to copy from a designated place, then offering equivalent |
| 1166 | access to copy the source code from the same place counts as |
| 1167 | distribution of the source code, even though third parties are not |
| 1168 | compelled to copy the source along with the object code. |
| 1169 | |
| 1170 | 4. You may not copy, modify, sublicense, or distribute the Program |
| 1171 | except as expressly provided under this License. Any attempt |
| 1172 | otherwise to copy, modify, sublicense or distribute the Program is |
| 1173 | void, and will automatically terminate your rights under this License. |
| 1174 | However, parties who have received copies, or rights, from you under |
| 1175 | this License will not have their licenses terminated so long as such |
| 1176 | parties remain in full compliance. |
| 1177 | |
| 1178 | 5. You are not required to accept this License, since you have not |
| 1179 | signed it. However, nothing else grants you permission to modify or |
| 1180 | distribute the Program or its derivative works. These actions are |
| 1181 | prohibited by law if you do not accept this License. Therefore, by |
| 1182 | modifying or distributing the Program (or any work based on the |
| 1183 | Program), you indicate your acceptance of this License to do so, and |
| 1184 | all its terms and conditions for copying, distributing or modifying |
| 1185 | the Program or works based on it. |
| 1186 | |
| 1187 | 6. Each time you redistribute the Program (or any work based on the |
| 1188 | Program), the recipient automatically receives a license from the |
| 1189 | original licensor to copy, distribute or modify the Program subject to |
| 1190 | these terms and conditions. You may not impose any further |
| 1191 | restrictions on the recipients' exercise of the rights granted herein. |
| 1192 | You are not responsible for enforcing compliance by third parties to |
| 1193 | this License. |
| 1194 | |
| 1195 | 7. If, as a consequence of a court judgment or allegation of patent |
| 1196 | infringement or for any other reason (not limited to patent issues), |
| 1197 | conditions are imposed on you (whether by court order, agreement or |
| 1198 | otherwise) that contradict the conditions of this License, they do not |
| 1199 | excuse you from the conditions of this License. If you cannot |
| 1200 | distribute so as to satisfy simultaneously your obligations under this |
| 1201 | License and any other pertinent obligations, then as a consequence you |
| 1202 | may not distribute the Program at all. For example, if a patent |
| 1203 | license would not permit royalty-free redistribution of the Program by |
| 1204 | all those who receive copies directly or indirectly through you, then |
| 1205 | the only way you could satisfy both it and this License would be to |
| 1206 | refrain entirely from distribution of the Program. |
| 1207 | |
| 1208 | If any portion of this section is held invalid or unenforceable under |
| 1209 | any particular circumstance, the balance of the section is intended to |
| 1210 | apply and the section as a whole is intended to apply in other |
| 1211 | circumstances. |
| 1212 | |
| 1213 | It is not the purpose of this section to induce you to infringe any |
| 1214 | patents or other property right claims or to contest validity of any |
| 1215 | such claims; this section has the sole purpose of protecting the |
| 1216 | integrity of the free software distribution system, which is |
| 1217 | implemented by public license practices. Many people have made |
| 1218 | generous contributions to the wide range of software distributed |
| 1219 | through that system in reliance on consistent application of that |
| 1220 | system; it is up to the author/donor to decide if he or she is willing |
| 1221 | to distribute software through any other system and a licensee cannot |
| 1222 | impose that choice. |
| 1223 | |
| 1224 | This section is intended to make thoroughly clear what is believed to |
| 1225 | be a consequence of the rest of this License. |
| 1226 | |
| 1227 | 8. If the distribution and/or use of the Program is restricted in |
| 1228 | certain countries either by patents or by copyrighted interfaces, the |
| 1229 | original copyright holder who places the Program under this License |
| 1230 | may add an explicit geographical distribution limitation excluding |
| 1231 | those countries, so that distribution is permitted only in or among |
| 1232 | countries not thus excluded. In such case, this License incorporates |
| 1233 | the limitation as if written in the body of this License. |
| 1234 | |
| 1235 | 9. The Free Software Foundation may publish revised and/or new versions |
| 1236 | of the General Public License from time to time. Such new versions will |
| 1237 | be similar in spirit to the present version, but may differ in detail to |
| 1238 | address new problems or concerns. |
| 1239 | |
| 1240 | Each version is given a distinguishing version number. If the Program |
| 1241 | specifies a version number of this License which applies to it and "any |
| 1242 | later version", you have the option of following the terms and conditions |
| 1243 | either of that version or of any later version published by the Free |
| 1244 | Software Foundation. If the Program does not specify a version number of |
| 1245 | this License, you may choose any version ever published by the Free Software |
| 1246 | Foundation. |
| 1247 | |
| 1248 | 10. If you wish to incorporate parts of the Program into other free |
| 1249 | programs whose distribution conditions are different, write to the author |
| 1250 | to ask for permission. For software which is copyrighted by the Free |
| 1251 | Software Foundation, write to the Free Software Foundation; we sometimes |
| 1252 | make exceptions for this. Our decision will be guided by the two goals |
| 1253 | of preserving the free status of all derivatives of our free software and |
| 1254 | of promoting the sharing and reuse of software generally. |
| 1255 | |
| 1256 | NO WARRANTY |
| 1257 | |
| 1258 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY |
| 1259 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN |
| 1260 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES |
| 1261 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED |
| 1262 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
| 1263 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS |
| 1264 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE |
| 1265 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, |
| 1266 | REPAIR OR CORRECTION. |
| 1267 | |
| 1268 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING |
| 1269 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR |
| 1270 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, |
| 1271 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING |
| 1272 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED |
| 1273 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY |
| 1274 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER |
| 1275 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE |
| 1276 | POSSIBILITY OF SUCH DAMAGES. |
| 1277 | |
| 1278 | END OF TERMS AND CONDITIONS |
| 1279 | |
| 1280 | How to Apply These Terms to Your New Programs |
| 1281 | |
| 1282 | If you develop a new program, and you want it to be of the greatest |
| 1283 | possible use to the public, the best way to achieve this is to make it |
| 1284 | free software which everyone can redistribute and change under these terms. |
| 1285 | |
| 1286 | To do so, attach the following notices to the program. It is safest |
| 1287 | to attach them to the start of each source file to most effectively |
| 1288 | convey the exclusion of warranty; and each file should have at least |
| 1289 | the "copyright" line and a pointer to where the full notice is found. |
| 1290 | |
| 1291 | <one line to give the program's name and a brief idea of what it does.> |
| 1292 | Copyright (C) <year> <name of author> |
| 1293 | |
| 1294 | This program is free software; you can redistribute it and/or modify |
| 1295 | it under the terms of the GNU General Public License as published by |
| 1296 | the Free Software Foundation; either version 2 of the License, or |
| 1297 | (at your option) any later version. |
| 1298 | |
| 1299 | This program is distributed in the hope that it will be useful, |
| 1300 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 1301 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 1302 | GNU General Public License for more details. |
| 1303 | |
| 1304 | You should have received a copy of the GNU General Public License |
| 1305 | along with this program; if not, write to the Free Software |
| 1306 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 1307 | |
| 1308 | |
| 1309 | Also add information on how to contact you by electronic and paper mail. |
| 1310 | |
| 1311 | If the program is interactive, make it output a short notice like this |
| 1312 | when it starts in an interactive mode: |
| 1313 | |
| 1314 | Gnomovision version 69, Copyright (C) year name of author |
| 1315 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. |
| 1316 | This is free software, and you are welcome to redistribute it |
| 1317 | under certain conditions; type `show c' for details. |
| 1318 | |
| 1319 | The hypothetical commands `show w' and `show c' should show the appropriate |
| 1320 | parts of the General Public License. Of course, the commands you use may |
| 1321 | be called something other than `show w' and `show c'; they could even be |
| 1322 | mouse-clicks or menu items--whatever suits your program. |
| 1323 | |
| 1324 | You should also get your employer (if you work as a programmer) or your |
| 1325 | school, if any, to sign a "copyright disclaimer" for the program, if |
| 1326 | necessary. Here is a sample; alter the names: |
| 1327 | |
| 1328 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program |
| 1329 | `Gnomovision' (which makes passes at compilers) written by James Hacker. |
| 1330 | |
| 1331 | <signature of Ty Coon>, 1 April 1989 |
| 1332 | Ty Coon, President of Vice |
| 1333 | |
| 1334 | This General Public License does not permit incorporating your program into |
| 1335 | proprietary programs. If your program is a subroutine library, you may |
| 1336 | consider it more useful to permit linking proprietary applications with the |
| 1337 | library. If this is what you want to do, use the GNU Library General |
| 1338 | Public License instead of this License. |
| 1339 | |
| 1340 | Copyright (C) 2016 The Android Open Source Project |
| 1341 | |
| 1342 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 1343 | you may not use this file except in compliance with the License. |
| 1344 | You may obtain a copy of the License at |
| 1345 | |
| 1346 | http://www.apache.org/licenses/LICENSE-2.0 |
| 1347 | |
| 1348 | Unless required by applicable law or agreed to in writing, software |
| 1349 | distributed under the License is distributed on an "AS IS" BASIS, |
| 1350 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 1351 | See the License for the specific language governing permissions and |
| 1352 | limitations under the License. |
| 1353 | |
| 1354 | Yasm is Copyright (c) 2001-2014 Peter Johnson and other Yasm developers. |
| 1355 | |
| 1356 | Yasm developers and/or contributors include: |
| 1357 | Peter Johnson |
| 1358 | Michael Urman |
| 1359 | Brian Gladman (Visual Studio build files, other fixes) |
| 1360 | Stanislav Karchebny (options parser) |
| 1361 | Mathieu Monnier (SSE4 instruction patches, NASM preprocessor additions) |
| 1362 | Anonymous "NASM64" developer (NASM preprocessor fixes) |
| 1363 | Stephen Polkowski (x86 instruction patches) |
| 1364 | Henryk Richter (Mach-O object format) |
| 1365 | Ben Skeggs (patches, bug reports) |
| 1366 | Alexei Svitkine (GAS preprocessor) |
| 1367 | Samuel Thibault (TASM parser and frontend) |
| 1368 | |
| 1369 | ----------------------------------- |
| 1370 | Yasm licensing overview and summary |
| 1371 | ----------------------------------- |
| 1372 | |
| 1373 | Note: This document does not provide legal advice nor is it the actual |
| 1374 | license of any part of Yasm. See the individual licenses for complete |
| 1375 | details. Consult a lawyer for legal advice. |
| 1376 | |
| 1377 | The primary license of Yasm is the 2-clause BSD license. Please use this |
| 1378 | license if you plan on submitting code to the project. |
| 1379 | |
| 1380 | Yasm has absolutely no warranty; not even for merchantibility or fitness |
| 1381 | for a particular purpose. |
| 1382 | |
| 1383 | ------- |
| 1384 | Libyasm |
| 1385 | ------- |
| 1386 | Libyasm is 2-clause or 3-clause BSD licensed, with the exception of |
| 1387 | bitvect, which is triple-licensed under the Artistic license, GPL, and |
| 1388 | LGPL. Libyasm is thus GPL and LGPL compatible. In addition, this also |
| 1389 | means that libyasm is free for binary-only distribution as long as the |
| 1390 | terms of the 3-clause BSD license and Artistic license (as it applies to |
| 1391 | bitvect) are fulfilled. |
| 1392 | |
| 1393 | ------- |
| 1394 | Modules |
| 1395 | ------- |
| 1396 | The modules are 2-clause or 3-clause BSD licensed. |
| 1397 | |
| 1398 | --------- |
| 1399 | Frontends |
| 1400 | --------- |
| 1401 | The frontends are 2-clause BSD licensed. |
| 1402 | |
| 1403 | ------------- |
| 1404 | License Texts |
| 1405 | ------------- |
| 1406 | The full text of all licenses are provided in separate files in the source |
| 1407 | distribution. Each source file may include the entire license (in the case |
| 1408 | of the BSD and Artistic licenses), or may reference the GPL or LGPL license |
| 1409 | file. |
| 1410 | |
| 1411 | BSD.txt - 2-clause and 3-clause BSD licenses |
| 1412 | Artistic.txt - Artistic license |
| 1413 | GNU_GPL-2.0 - GNU General Public License |
| 1414 | GNU_LGPL-2.0 - GNU Library General Public License |
| 1415 | |
| 1416 | Redistribution and use in source and binary forms, with or without |
| 1417 | modification, are permitted provided that the following conditions |
| 1418 | are met: |
| 1419 | 1. Redistributions of source code must retain the above copyright |
| 1420 | notice, this list of conditions and the following disclaimer. |
| 1421 | 2. Redistributions in binary form must reproduce the above copyright |
| 1422 | notice, this list of conditions and the following disclaimer in the |
| 1423 | documentation and/or other materials provided with the distribution. |
| 1424 | |
| 1425 | THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND OTHER CONTRIBUTORS ``AS IS'' |
| 1426 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 1427 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 1428 | ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR OTHER CONTRIBUTORS BE |
| 1429 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| 1430 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
| 1431 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
| 1432 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
| 1433 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| 1434 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
| 1435 | POSSIBILITY OF SUCH DAMAGE. |
| 1436 | ------------------------------------------------------------------------------- |
| 1437 | Redistribution and use in source and binary forms, with or without |
| 1438 | modification, are permitted provided that the following conditions |
| 1439 | are met: |
| 1440 | 1. Redistributions of source code must retain the above copyright |
| 1441 | notice, this list of conditions and the following disclaimer. |
| 1442 | 2. Redistributions in binary form must reproduce the above copyright |
| 1443 | notice, this list of conditions and the following disclaimer in the |
| 1444 | documentation and/or other materials provided with the distribution. |
| 1445 | 3. Neither the name of the author nor the names of other contributors |
| 1446 | may be used to endorse or promote products derived from this |
| 1447 | software without specific prior written permission. |
| 1448 | |
| 1449 | THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND OTHER CONTRIBUTORS ``AS IS'' |
| 1450 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 1451 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 1452 | ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR OTHER CONTRIBUTORS BE |
| 1453 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| 1454 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
| 1455 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
| 1456 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
| 1457 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| 1458 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
| 1459 | POSSIBILITY OF SUCH DAMAGE. |
| 1460 | ------------------------------------------------------------------------------- |
| 1461 | NASM is now licensed under the 2-clause BSD license, also known as the |
| 1462 | simplified BSD license. |
| 1463 | |
| 1464 | Copyright 1996-2009 the NASM Authors - All rights reserved. |
| 1465 | |
| 1466 | Redistribution and use in source and binary forms, with or without |
| 1467 | modification, are permitted provided that the following |
| 1468 | conditions are met: |
| 1469 | |
| 1470 | * Redistributions of source code must retain the above copyright |
| 1471 | notice, this list of conditions and the following disclaimer. |
| 1472 | * Redistributions in binary form must reproduce the above |
| 1473 | copyright notice, this list of conditions and the following |
| 1474 | disclaimer in the documentation and/or other materials provided |
| 1475 | with the distribution. |
| 1476 | |
| 1477 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND |
| 1478 | CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, |
| 1479 | INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
| 1480 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| 1481 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR |
| 1482 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 1483 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
| 1484 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 1485 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
| 1486 | HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
| 1487 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR |
| 1488 | OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, |
| 1489 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 1490 | |
| 1491 | |
| 1492 | |
| 1493 | |
| 1494 | |
| 1495 | The "Artistic License" |
| 1496 | |
| 1497 | Preamble |
| 1498 | |
| 1499 | The intent of this document is to state the conditions under which a |
| 1500 | Package may be copied, such that the Copyright Holder maintains some |
| 1501 | semblance of artistic control over the development of the package, |
| 1502 | while giving the users of the package the right to use and distribute |
| 1503 | the Package in a more-or-less customary fashion, plus the right to make |
| 1504 | reasonable modifications. |
| 1505 | |
| 1506 | Definitions: |
| 1507 | |
| 1508 | "Package" refers to the collection of files distributed by the |
| 1509 | Copyright Holder, and derivatives of that collection of files |
| 1510 | created through textual modification. |
| 1511 | |
| 1512 | "Standard Version" refers to such a Package if it has not been |
| 1513 | modified, or has been modified in accordance with the wishes |
| 1514 | of the Copyright Holder as specified below. |
| 1515 | |
| 1516 | "Copyright Holder" is whoever is named in the copyright or |
| 1517 | copyrights for the package. |
| 1518 | |
| 1519 | "You" is you, if you're thinking about copying or distributing |
| 1520 | this Package. |
| 1521 | |
| 1522 | "Reasonable copying fee" is whatever you can justify on the |
| 1523 | basis of media cost, duplication charges, time of people involved, |
| 1524 | and so on. (You will not be required to justify it to the |
| 1525 | Copyright Holder, but only to the computing community at large |
| 1526 | as a market that must bear the fee.) |
| 1527 | |
| 1528 | "Freely Available" means that no fee is charged for the item |
| 1529 | itself, though there may be fees involved in handling the item. |
| 1530 | It also means that recipients of the item may redistribute it |
| 1531 | under the same conditions they received it. |
| 1532 | |
| 1533 | 1. You may make and give away verbatim copies of the source form of the |
| 1534 | Standard Version of this Package without restriction, provided that you |
| 1535 | duplicate all of the original copyright notices and associated disclaimers. |
| 1536 | |
| 1537 | 2. You may apply bug fixes, portability fixes and other modifications |
| 1538 | derived from the Public Domain or from the Copyright Holder. A Package |
| 1539 | modified in such a way shall still be considered the Standard Version. |
| 1540 | |
| 1541 | 3. You may otherwise modify your copy of this Package in any way, provided |
| 1542 | that you insert a prominent notice in each changed file stating how and |
| 1543 | when you changed that file, and provided that you do at least ONE of the |
| 1544 | following: |
| 1545 | |
| 1546 | a) place your modifications in the Public Domain or otherwise make them |
| 1547 | Freely Available, such as by posting said modifications to Usenet or |
| 1548 | an equivalent medium, or placing the modifications on a major archive |
| 1549 | site such as uunet.uu.net, or by allowing the Copyright Holder to include |
| 1550 | your modifications in the Standard Version of the Package. |
| 1551 | |
| 1552 | b) use the modified Package only within your corporation or organization. |
| 1553 | |
| 1554 | c) rename any non-standard executables so the names do not conflict |
| 1555 | with standard executables, which must also be provided, and provide |
| 1556 | a separate manual page for each non-standard executable that clearly |
| 1557 | documents how it differs from the Standard Version. |
| 1558 | |
| 1559 | d) make other distribution arrangements with the Copyright Holder. |
| 1560 | |
| 1561 | 4. You may distribute the programs of this Package in object code or |
| 1562 | executable form, provided that you do at least ONE of the following: |
| 1563 | |
| 1564 | a) distribute a Standard Version of the executables and library files, |
| 1565 | together with instructions (in the manual page or equivalent) on where |
| 1566 | to get the Standard Version. |
| 1567 | |
| 1568 | b) accompany the distribution with the machine-readable source of |
| 1569 | the Package with your modifications. |
| 1570 | |
| 1571 | c) give non-standard executables non-standard names, and clearly |
| 1572 | document the differences in manual pages (or equivalent), together |
| 1573 | with instructions on where to get the Standard Version. |
| 1574 | |
| 1575 | d) make other distribution arrangements with the Copyright Holder. |
| 1576 | |
| 1577 | 5. You may charge a reasonable copying fee for any distribution of this |
| 1578 | Package. You may charge any fee you choose for support of this |
| 1579 | Package. You may not charge a fee for this Package itself. However, |
| 1580 | you may distribute this Package in aggregate with other (possibly |
| 1581 | commercial) programs as part of a larger (possibly commercial) software |
| 1582 | distribution provided that you do not advertise this Package as a |
| 1583 | product of your own. You may embed this Package's interpreter within |
| 1584 | an executable of yours (by linking); this shall be construed as a mere |
| 1585 | form of aggregation, provided that the complete Standard Version of the |
| 1586 | interpreter is so embedded. |
| 1587 | |
| 1588 | 6. The scripts and library files supplied as input to or produced as |
| 1589 | output from the programs of this Package do not automatically fall |
| 1590 | under the copyright of this Package, but belong to whoever generated |
| 1591 | them, and may be sold commercially, and may be aggregated with this |
| 1592 | Package. If such scripts or library files are aggregated with this |
| 1593 | Package via the so-called "undump" or "unexec" methods of producing a |
| 1594 | binary executable image, then distribution of such an image shall |
| 1595 | neither be construed as a distribution of this Package nor shall it |
| 1596 | fall under the restrictions of Paragraphs 3 and 4, provided that you do |
| 1597 | not represent such an executable image as a Standard Version of this |
| 1598 | Package. |
| 1599 | |
| 1600 | 7. C subroutines (or comparably compiled subroutines in other |
| 1601 | languages) supplied by you and linked into this Package in order to |
| 1602 | emulate subroutines and variables of the language defined by this |
| 1603 | Package shall not be considered part of this Package, but are the |
| 1604 | equivalent of input as in Paragraph 6, provided these subroutines do |
| 1605 | not change the language in any way that would cause it to fail the |
| 1606 | regression tests for the language. |
| 1607 | |
| 1608 | 8. Aggregation of this Package with a commercial distribution is always |
| 1609 | permitted provided that the use of this Package is embedded; that is, |
| 1610 | when no overt attempt is made to make this Package's interfaces visible |
| 1611 | to the end user of the commercial distribution. Such use shall not be |
| 1612 | construed as a distribution of this Package. |
| 1613 | |
| 1614 | 9. The name of the Copyright Holder may not be used to endorse or promote |
| 1615 | products derived from this software without specific prior written permission. |
| 1616 | |
| 1617 | 10. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR |
| 1618 | IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED |
| 1619 | WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
| 1620 | |
| 1621 | The End |
| 1622 | |
| 1623 | GNU GENERAL PUBLIC LICENSE |
| 1624 | Version 2, June 1991 |
| 1625 | |
| 1626 | Copyright (C) 1989, 1991 Free Software Foundation, Inc. |
| 1627 | 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 1628 | Everyone is permitted to copy and distribute verbatim copies |
| 1629 | of this license document, but changing it is not allowed. |
| 1630 | |
| 1631 | Preamble |
| 1632 | |
| 1633 | The licenses for most software are designed to take away your |
| 1634 | freedom to share and change it. By contrast, the GNU General Public |
| 1635 | License is intended to guarantee your freedom to share and change free |
| 1636 | software--to make sure the software is free for all its users. This |
| 1637 | General Public License applies to most of the Free Software |
| 1638 | Foundation's software and to any other program whose authors commit to |
| 1639 | using it. (Some other Free Software Foundation software is covered by |
| 1640 | the GNU Library General Public License instead.) You can apply it to |
| 1641 | your programs, too. |
| 1642 | |
| 1643 | When we speak of free software, we are referring to freedom, not |
| 1644 | price. Our General Public Licenses are designed to make sure that you |
| 1645 | have the freedom to distribute copies of free software (and charge for |
| 1646 | this service if you wish), that you receive source code or can get it |
| 1647 | if you want it, that you can change the software or use pieces of it |
| 1648 | in new free programs; and that you know you can do these things. |
| 1649 | |
| 1650 | To protect your rights, we need to make restrictions that forbid |
| 1651 | anyone to deny you these rights or to ask you to surrender the rights. |
| 1652 | These restrictions translate to certain responsibilities for you if you |
| 1653 | distribute copies of the software, or if you modify it. |
| 1654 | |
| 1655 | For example, if you distribute copies of such a program, whether |
| 1656 | gratis or for a fee, you must give the recipients all the rights that |
| 1657 | you have. You must make sure that they, too, receive or can get the |
| 1658 | source code. And you must show them these terms so they know their |
| 1659 | rights. |
| 1660 | |
| 1661 | We protect your rights with two steps: (1) copyright the software, and |
| 1662 | (2) offer you this license which gives you legal permission to copy, |
| 1663 | distribute and/or modify the software. |
| 1664 | |
| 1665 | Also, for each author's protection and ours, we want to make certain |
| 1666 | that everyone understands that there is no warranty for this free |
| 1667 | software. If the software is modified by someone else and passed on, we |
| 1668 | want its recipients to know that what they have is not the original, so |
| 1669 | that any problems introduced by others will not reflect on the original |
| 1670 | authors' reputations. |
| 1671 | |
| 1672 | Finally, any free program is threatened constantly by software |
| 1673 | patents. We wish to avoid the danger that redistributors of a free |
| 1674 | program will individually obtain patent licenses, in effect making the |
| 1675 | program proprietary. To prevent this, we have made it clear that any |
| 1676 | patent must be licensed for everyone's free use or not licensed at all. |
| 1677 | |
| 1678 | The precise terms and conditions for copying, distribution and |
| 1679 | modification follow. |
| 1680 | |
| 1681 | GNU GENERAL PUBLIC LICENSE |
| 1682 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION |
| 1683 | |
| 1684 | 0. This License applies to any program or other work which contains |
| 1685 | a notice placed by the copyright holder saying it may be distributed |
| 1686 | under the terms of this General Public License. The "Program", below, |
| 1687 | refers to any such program or work, and a "work based on the Program" |
| 1688 | means either the Program or any derivative work under copyright law: |
| 1689 | that is to say, a work containing the Program or a portion of it, |
| 1690 | either verbatim or with modifications and/or translated into another |
| 1691 | language. (Hereinafter, translation is included without limitation in |
| 1692 | the term "modification".) Each licensee is addressed as "you". |
| 1693 | |
| 1694 | Activities other than copying, distribution and modification are not |
| 1695 | covered by this License; they are outside its scope. The act of |
| 1696 | running the Program is not restricted, and the output from the Program |
| 1697 | is covered only if its contents constitute a work based on the |
| 1698 | Program (independent of having been made by running the Program). |
| 1699 | Whether that is true depends on what the Program does. |
| 1700 | |
| 1701 | 1. You may copy and distribute verbatim copies of the Program's |
| 1702 | source code as you receive it, in any medium, provided that you |
| 1703 | conspicuously and appropriately publish on each copy an appropriate |
| 1704 | copyright notice and disclaimer of warranty; keep intact all the |
| 1705 | notices that refer to this License and to the absence of any warranty; |
| 1706 | and give any other recipients of the Program a copy of this License |
| 1707 | along with the Program. |
| 1708 | |
| 1709 | You may charge a fee for the physical act of transferring a copy, and |
| 1710 | you may at your option offer warranty protection in exchange for a fee. |
| 1711 | |
| 1712 | 2. You may modify your copy or copies of the Program or any portion |
| 1713 | of it, thus forming a work based on the Program, and copy and |
| 1714 | distribute such modifications or work under the terms of Section 1 |
| 1715 | above, provided that you also meet all of these conditions: |
| 1716 | |
| 1717 | a) You must cause the modified files to carry prominent notices |
| 1718 | stating that you changed the files and the date of any change. |
| 1719 | |
| 1720 | b) You must cause any work that you distribute or publish, that in |
| 1721 | whole or in part contains or is derived from the Program or any |
| 1722 | part thereof, to be licensed as a whole at no charge to all third |
| 1723 | parties under the terms of this License. |
| 1724 | |
| 1725 | c) If the modified program normally reads commands interactively |
| 1726 | when run, you must cause it, when started running for such |
| 1727 | interactive use in the most ordinary way, to print or display an |
| 1728 | announcement including an appropriate copyright notice and a |
| 1729 | notice that there is no warranty (or else, saying that you provide |
| 1730 | a warranty) and that users may redistribute the program under |
| 1731 | these conditions, and telling the user how to view a copy of this |
| 1732 | License. (Exception: if the Program itself is interactive but |
| 1733 | does not normally print such an announcement, your work based on |
| 1734 | the Program is not required to print an announcement.) |
| 1735 | |
| 1736 | These requirements apply to the modified work as a whole. If |
| 1737 | identifiable sections of that work are not derived from the Program, |
| 1738 | and can be reasonably considered independent and separate works in |
| 1739 | themselves, then this License, and its terms, do not apply to those |
| 1740 | sections when you distribute them as separate works. But when you |
| 1741 | distribute the same sections as part of a whole which is a work based |
| 1742 | on the Program, the distribution of the whole must be on the terms of |
| 1743 | this License, whose permissions for other licensees extend to the |
| 1744 | entire whole, and thus to each and every part regardless of who wrote it. |
| 1745 | |
| 1746 | Thus, it is not the intent of this section to claim rights or contest |
| 1747 | your rights to work written entirely by you; rather, the intent is to |
| 1748 | exercise the right to control the distribution of derivative or |
| 1749 | collective works based on the Program. |
| 1750 | |
| 1751 | In addition, mere aggregation of another work not based on the Program |
| 1752 | with the Program (or with a work based on the Program) on a volume of |
| 1753 | a storage or distribution medium does not bring the other work under |
| 1754 | the scope of this License. |
| 1755 | |
| 1756 | 3. You may copy and distribute the Program (or a work based on it, |
| 1757 | under Section 2) in object code or executable form under the terms of |
| 1758 | Sections 1 and 2 above provided that you also do one of the following: |
| 1759 | |
| 1760 | a) Accompany it with the complete corresponding machine-readable |
| 1761 | source code, which must be distributed under the terms of Sections |
| 1762 | 1 and 2 above on a medium customarily used for software interchange; or, |
| 1763 | |
| 1764 | b) Accompany it with a written offer, valid for at least three |
| 1765 | years, to give any third party, for a charge no more than your |
| 1766 | cost of physically performing source distribution, a complete |
| 1767 | machine-readable copy of the corresponding source code, to be |
| 1768 | distributed under the terms of Sections 1 and 2 above on a medium |
| 1769 | customarily used for software interchange; or, |
| 1770 | |
| 1771 | c) Accompany it with the information you received as to the offer |
| 1772 | to distribute corresponding source code. (This alternative is |
| 1773 | allowed only for noncommercial distribution and only if you |
| 1774 | received the program in object code or executable form with such |
| 1775 | an offer, in accord with Subsection b above.) |
| 1776 | |
| 1777 | The source code for a work means the preferred form of the work for |
| 1778 | making modifications to it. For an executable work, complete source |
| 1779 | code means all the source code for all modules it contains, plus any |
| 1780 | associated interface definition files, plus the scripts used to |
| 1781 | control compilation and installation of the executable. However, as a |
| 1782 | special exception, the source code distributed need not include |
| 1783 | anything that is normally distributed (in either source or binary |
| 1784 | form) with the major components (compiler, kernel, and so on) of the |
| 1785 | operating system on which the executable runs, unless that component |
| 1786 | itself accompanies the executable. |
| 1787 | |
| 1788 | If distribution of executable or object code is made by offering |
| 1789 | access to copy from a designated place, then offering equivalent |
| 1790 | access to copy the source code from the same place counts as |
| 1791 | distribution of the source code, even though third parties are not |
| 1792 | compelled to copy the source along with the object code. |
| 1793 | |
| 1794 | 4. You may not copy, modify, sublicense, or distribute the Program |
| 1795 | except as expressly provided under this License. Any attempt |
| 1796 | otherwise to copy, modify, sublicense or distribute the Program is |
| 1797 | void, and will automatically terminate your rights under this License. |
| 1798 | However, parties who have received copies, or rights, from you under |
| 1799 | this License will not have their licenses terminated so long as such |
| 1800 | parties remain in full compliance. |
| 1801 | |
| 1802 | 5. You are not required to accept this License, since you have not |
| 1803 | signed it. However, nothing else grants you permission to modify or |
| 1804 | distribute the Program or its derivative works. These actions are |
| 1805 | prohibited by law if you do not accept this License. Therefore, by |
| 1806 | modifying or distributing the Program (or any work based on the |
| 1807 | Program), you indicate your acceptance of this License to do so, and |
| 1808 | all its terms and conditions for copying, distributing or modifying |
| 1809 | the Program or works based on it. |
| 1810 | |
| 1811 | 6. Each time you redistribute the Program (or any work based on the |
| 1812 | Program), the recipient automatically receives a license from the |
| 1813 | original licensor to copy, distribute or modify the Program subject to |
| 1814 | these terms and conditions. You may not impose any further |
| 1815 | restrictions on the recipients' exercise of the rights granted herein. |
| 1816 | You are not responsible for enforcing compliance by third parties to |
| 1817 | this License. |
| 1818 | |
| 1819 | 7. If, as a consequence of a court judgment or allegation of patent |
| 1820 | infringement or for any other reason (not limited to patent issues), |
| 1821 | conditions are imposed on you (whether by court order, agreement or |
| 1822 | otherwise) that contradict the conditions of this License, they do not |
| 1823 | excuse you from the conditions of this License. If you cannot |
| 1824 | distribute so as to satisfy simultaneously your obligations under this |
| 1825 | License and any other pertinent obligations, then as a consequence you |
| 1826 | may not distribute the Program at all. For example, if a patent |
| 1827 | license would not permit royalty-free redistribution of the Program by |
| 1828 | all those who receive copies directly or indirectly through you, then |
| 1829 | the only way you could satisfy both it and this License would be to |
| 1830 | refrain entirely from distribution of the Program. |
| 1831 | |
| 1832 | If any portion of this section is held invalid or unenforceable under |
| 1833 | any particular circumstance, the balance of the section is intended to |
| 1834 | apply and the section as a whole is intended to apply in other |
| 1835 | circumstances. |
| 1836 | |
| 1837 | It is not the purpose of this section to induce you to infringe any |
| 1838 | patents or other property right claims or to contest validity of any |
| 1839 | such claims; this section has the sole purpose of protecting the |
| 1840 | integrity of the free software distribution system, which is |
| 1841 | implemented by public license practices. Many people have made |
| 1842 | generous contributions to the wide range of software distributed |
| 1843 | through that system in reliance on consistent application of that |
| 1844 | system; it is up to the author/donor to decide if he or she is willing |
| 1845 | to distribute software through any other system and a licensee cannot |
| 1846 | impose that choice. |
| 1847 | |
| 1848 | This section is intended to make thoroughly clear what is believed to |
| 1849 | be a consequence of the rest of this License. |
| 1850 | |
| 1851 | 8. If the distribution and/or use of the Program is restricted in |
| 1852 | certain countries either by patents or by copyrighted interfaces, the |
| 1853 | original copyright holder who places the Program under this License |
| 1854 | may add an explicit geographical distribution limitation excluding |
| 1855 | those countries, so that distribution is permitted only in or among |
| 1856 | countries not thus excluded. In such case, this License incorporates |
| 1857 | the limitation as if written in the body of this License. |
| 1858 | |
| 1859 | 9. The Free Software Foundation may publish revised and/or new versions |
| 1860 | of the General Public License from time to time. Such new versions will |
| 1861 | be similar in spirit to the present version, but may differ in detail to |
| 1862 | address new problems or concerns. |
| 1863 | |
| 1864 | Each version is given a distinguishing version number. If the Program |
| 1865 | specifies a version number of this License which applies to it and "any |
| 1866 | later version", you have the option of following the terms and conditions |
| 1867 | either of that version or of any later version published by the Free |
| 1868 | Software Foundation. If the Program does not specify a version number of |
| 1869 | this License, you may choose any version ever published by the Free Software |
| 1870 | Foundation. |
| 1871 | |
| 1872 | 10. If you wish to incorporate parts of the Program into other free |
| 1873 | programs whose distribution conditions are different, write to the author |
| 1874 | to ask for permission. For software which is copyrighted by the Free |
| 1875 | Software Foundation, write to the Free Software Foundation; we sometimes |
| 1876 | make exceptions for this. Our decision will be guided by the two goals |
| 1877 | of preserving the free status of all derivatives of our free software and |
| 1878 | of promoting the sharing and reuse of software generally. |
| 1879 | |
| 1880 | NO WARRANTY |
| 1881 | |
| 1882 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY |
| 1883 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN |
| 1884 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES |
| 1885 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED |
| 1886 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
| 1887 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS |
| 1888 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE |
| 1889 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, |
| 1890 | REPAIR OR CORRECTION. |
| 1891 | |
| 1892 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING |
| 1893 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR |
| 1894 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, |
| 1895 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING |
| 1896 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED |
| 1897 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY |
| 1898 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER |
| 1899 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE |
| 1900 | POSSIBILITY OF SUCH DAMAGES. |
| 1901 | |
| 1902 | END OF TERMS AND CONDITIONS |
| 1903 | |
| 1904 | How to Apply These Terms to Your New Programs |
| 1905 | |
| 1906 | If you develop a new program, and you want it to be of the greatest |
| 1907 | possible use to the public, the best way to achieve this is to make it |
| 1908 | free software which everyone can redistribute and change under these terms. |
| 1909 | |
| 1910 | To do so, attach the following notices to the program. It is safest |
| 1911 | to attach them to the start of each source file to most effectively |
| 1912 | convey the exclusion of warranty; and each file should have at least |
| 1913 | the "copyright" line and a pointer to where the full notice is found. |
| 1914 | |
| 1915 | <one line to give the program's name and a brief idea of what it does.> |
| 1916 | Copyright (C) <year> <name of author> |
| 1917 | |
| 1918 | This program is free software; you can redistribute it and/or modify |
| 1919 | it under the terms of the GNU General Public License as published by |
| 1920 | the Free Software Foundation; either version 2 of the License, or |
| 1921 | (at your option) any later version. |
| 1922 | |
| 1923 | This program is distributed in the hope that it will be useful, |
| 1924 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 1925 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 1926 | GNU General Public License for more details. |
| 1927 | |
| 1928 | You should have received a copy of the GNU General Public License |
| 1929 | along with this program; if not, write to the Free Software |
| 1930 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 1931 | |
| 1932 | |
| 1933 | Also add information on how to contact you by electronic and paper mail. |
| 1934 | |
| 1935 | If the program is interactive, make it output a short notice like this |
| 1936 | when it starts in an interactive mode: |
| 1937 | |
| 1938 | Gnomovision version 69, Copyright (C) year name of author |
| 1939 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. |
| 1940 | This is free software, and you are welcome to redistribute it |
| 1941 | under certain conditions; type `show c' for details. |
| 1942 | |
| 1943 | The hypothetical commands `show w' and `show c' should show the appropriate |
| 1944 | parts of the General Public License. Of course, the commands you use may |
| 1945 | be called something other than `show w' and `show c'; they could even be |
| 1946 | mouse-clicks or menu items--whatever suits your program. |
| 1947 | |
| 1948 | You should also get your employer (if you work as a programmer) or your |
| 1949 | school, if any, to sign a "copyright disclaimer" for the program, if |
| 1950 | necessary. Here is a sample; alter the names: |
| 1951 | |
| 1952 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program |
| 1953 | `Gnomovision' (which makes passes at compilers) written by James Hacker. |
| 1954 | |
| 1955 | <signature of Ty Coon>, 1 April 1989 |
| 1956 | Ty Coon, President of Vice |
| 1957 | |
| 1958 | This General Public License does not permit incorporating your program into |
| 1959 | proprietary programs. If your program is a subroutine library, you may |
| 1960 | consider it more useful to permit linking proprietary applications with the |
| 1961 | library. If this is what you want to do, use the GNU Library General |
| 1962 | Public License instead of this License. |
| 1963 | |
| 1964 | GNU LIBRARY GENERAL PUBLIC LICENSE |
| 1965 | Version 2, June 1991 |
| 1966 | |
| 1967 | Copyright (C) 1991 Free Software Foundation, Inc. |
| 1968 | 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA |
| 1969 | Everyone is permitted to copy and distribute verbatim copies |
| 1970 | of this license document, but changing it is not allowed. |
| 1971 | |
| 1972 | [This is the first released version of the library GPL. It is |
| 1973 | numbered 2 because it goes with version 2 of the ordinary GPL.] |
| 1974 | |
| 1975 | Preamble |
| 1976 | |
| 1977 | The licenses for most software are designed to take away your |
| 1978 | freedom to share and change it. By contrast, the GNU General Public |
| 1979 | Licenses are intended to guarantee your freedom to share and change |
| 1980 | free software--to make sure the software is free for all its users. |
| 1981 | |
| 1982 | This license, the Library General Public License, applies to some |
| 1983 | specially designated Free Software Foundation software, and to any |
| 1984 | other libraries whose authors decide to use it. You can use it for |
| 1985 | your libraries, too. |
| 1986 | |
| 1987 | When we speak of free software, we are referring to freedom, not |
| 1988 | price. Our General Public Licenses are designed to make sure that you |
| 1989 | have the freedom to distribute copies of free software (and charge for |
| 1990 | this service if you wish), that you receive source code or can get it |
| 1991 | if you want it, that you can change the software or use pieces of it |
| 1992 | in new free programs; and that you know you can do these things. |
| 1993 | |
| 1994 | To protect your rights, we need to make restrictions that forbid |
| 1995 | anyone to deny you these rights or to ask you to surrender the rights. |
| 1996 | These restrictions translate to certain responsibilities for you if |
| 1997 | you distribute copies of the library, or if you modify it. |
| 1998 | |
| 1999 | For example, if you distribute copies of the library, whether gratis |
| 2000 | or for a fee, you must give the recipients all the rights that we gave |
| 2001 | you. You must make sure that they, too, receive or can get the source |
| 2002 | code. If you link a program with the library, you must provide |
| 2003 | complete object files to the recipients so that they can relink them |
| 2004 | with the library, after making changes to the library and recompiling |
| 2005 | it. And you must show them these terms so they know their rights. |
| 2006 | |
| 2007 | Our method of protecting your rights has two steps: (1) copyright |
| 2008 | the library, and (2) offer you this license which gives you legal |
| 2009 | permission to copy, distribute and/or modify the library. |
| 2010 | |
| 2011 | Also, for each distributor's protection, we want to make certain |
| 2012 | that everyone understands that there is no warranty for this free |
| 2013 | library. If the library is modified by someone else and passed on, we |
| 2014 | want its recipients to know that what they have is not the original |
| 2015 | version, so that any problems introduced by others will not reflect on |
| 2016 | the original authors' reputations. |
| 2017 | |
| 2018 | Finally, any free program is threatened constantly by software |
| 2019 | patents. We wish to avoid the danger that companies distributing free |
| 2020 | software will individually obtain patent licenses, thus in effect |
| 2021 | transforming the program into proprietary software. To prevent this, |
| 2022 | we have made it clear that any patent must be licensed for everyone's |
| 2023 | free use or not licensed at all. |
| 2024 | |
| 2025 | Most GNU software, including some libraries, is covered by the ordinary |
| 2026 | GNU General Public License, which was designed for utility programs. This |
| 2027 | license, the GNU Library General Public License, applies to certain |
| 2028 | designated libraries. This license is quite different from the ordinary |
| 2029 | one; be sure to read it in full, and don't assume that anything in it is |
| 2030 | the same as in the ordinary license. |
| 2031 | |
| 2032 | The reason we have a separate public license for some libraries is that |
| 2033 | they blur the distinction we usually make between modifying or adding to a |
| 2034 | program and simply using it. Linking a program with a library, without |
| 2035 | changing the library, is in some sense simply using the library, and is |
| 2036 | analogous to running a utility program or application program. However, in |
| 2037 | a textual and legal sense, the linked executable is a combined work, a |
| 2038 | derivative of the original library, and the ordinary General Public License |
| 2039 | treats it as such. |
| 2040 | |
| 2041 | Because of this blurred distinction, using the ordinary General |
| 2042 | Public License for libraries did not effectively promote software |
| 2043 | sharing, because most developers did not use the libraries. We |
| 2044 | concluded that weaker conditions might promote sharing better. |
| 2045 | |
| 2046 | However, unrestricted linking of non-free programs would deprive the |
| 2047 | users of those programs of all benefit from the free status of the |
| 2048 | libraries themselves. This Library General Public License is intended to |
| 2049 | permit developers of non-free programs to use free libraries, while |
| 2050 | preserving your freedom as a user of such programs to change the free |
| 2051 | libraries that are incorporated in them. (We have not seen how to achieve |
| 2052 | this as regards changes in header files, but we have achieved it as regards |
| 2053 | changes in the actual functions of the Library.) The hope is that this |
| 2054 | will lead to faster development of free libraries. |
| 2055 | |
| 2056 | The precise terms and conditions for copying, distribution and |
| 2057 | modification follow. Pay close attention to the difference between a |
| 2058 | "work based on the library" and a "work that uses the library". The |
| 2059 | former contains code derived from the library, while the latter only |
| 2060 | works together with the library. |
| 2061 | |
| 2062 | Note that it is possible for a library to be covered by the ordinary |
| 2063 | General Public License rather than by this special one. |
| 2064 | |
| 2065 | GNU LIBRARY GENERAL PUBLIC LICENSE |
| 2066 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION |
| 2067 | |
| 2068 | 0. This License Agreement applies to any software library which |
| 2069 | contains a notice placed by the copyright holder or other authorized |
| 2070 | party saying it may be distributed under the terms of this Library |
| 2071 | General Public License (also called "this License"). Each licensee is |
| 2072 | addressed as "you". |
| 2073 | |
| 2074 | A "library" means a collection of software functions and/or data |
| 2075 | prepared so as to be conveniently linked with application programs |
| 2076 | (which use some of those functions and data) to form executables. |
| 2077 | |
| 2078 | The "Library", below, refers to any such software library or work |
| 2079 | which has been distributed under these terms. A "work based on the |
| 2080 | Library" means either the Library or any derivative work under |
| 2081 | copyright law: that is to say, a work containing the Library or a |
| 2082 | portion of it, either verbatim or with modifications and/or translated |
| 2083 | straightforwardly into another language. (Hereinafter, translation is |
| 2084 | included without limitation in the term "modification".) |
| 2085 | |
| 2086 | "Source code" for a work means the preferred form of the work for |
| 2087 | making modifications to it. For a library, complete source code means |
| 2088 | all the source code for all modules it contains, plus any associated |
| 2089 | interface definition files, plus the scripts used to control compilation |
| 2090 | and installation of the library. |
| 2091 | |
| 2092 | Activities other than copying, distribution and modification are not |
| 2093 | covered by this License; they are outside its scope. The act of |
| 2094 | running a program using the Library is not restricted, and output from |
| 2095 | such a program is covered only if its contents constitute a work based |
| 2096 | on the Library (independent of the use of the Library in a tool for |
| 2097 | writing it). Whether that is true depends on what the Library does |
| 2098 | and what the program that uses the Library does. |
| 2099 | |
| 2100 | 1. You may copy and distribute verbatim copies of the Library's |
| 2101 | complete source code as you receive it, in any medium, provided that |
| 2102 | you conspicuously and appropriately publish on each copy an |
| 2103 | appropriate copyright notice and disclaimer of warranty; keep intact |
| 2104 | all the notices that refer to this License and to the absence of any |
| 2105 | warranty; and distribute a copy of this License along with the |
| 2106 | Library. |
| 2107 | |
| 2108 | You may charge a fee for the physical act of transferring a copy, |
| 2109 | and you may at your option offer warranty protection in exchange for a |
| 2110 | fee. |
| 2111 | |
| 2112 | 2. You may modify your copy or copies of the Library or any portion |
| 2113 | of it, thus forming a work based on the Library, and copy and |
| 2114 | distribute such modifications or work under the terms of Section 1 |
| 2115 | above, provided that you also meet all of these conditions: |
| 2116 | |
| 2117 | a) The modified work must itself be a software library. |
| 2118 | |
| 2119 | b) You must cause the files modified to carry prominent notices |
| 2120 | stating that you changed the files and the date of any change. |
| 2121 | |
| 2122 | c) You must cause the whole of the work to be licensed at no |
| 2123 | charge to all third parties under the terms of this License. |
| 2124 | |
| 2125 | d) If a facility in the modified Library refers to a function or a |
| 2126 | table of data to be supplied by an application program that uses |
| 2127 | the facility, other than as an argument passed when the facility |
| 2128 | is invoked, then you must make a good faith effort to ensure that, |
| 2129 | in the event an application does not supply such function or |
| 2130 | table, the facility still operates, and performs whatever part of |
| 2131 | its purpose remains meaningful. |
| 2132 | |
| 2133 | (For example, a function in a library to compute square roots has |
| 2134 | a purpose that is entirely well-defined independent of the |
| 2135 | application. Therefore, Subsection 2d requires that any |
| 2136 | application-supplied function or table used by this function must |
| 2137 | be optional: if the application does not supply it, the square |
| 2138 | root function must still compute square roots.) |
| 2139 | |
| 2140 | These requirements apply to the modified work as a whole. If |
| 2141 | identifiable sections of that work are not derived from the Library, |
| 2142 | and can be reasonably considered independent and separate works in |
| 2143 | themselves, then this License, and its terms, do not apply to those |
| 2144 | sections when you distribute them as separate works. But when you |
| 2145 | distribute the same sections as part of a whole which is a work based |
| 2146 | on the Library, the distribution of the whole must be on the terms of |
| 2147 | this License, whose permissions for other licensees extend to the |
| 2148 | entire whole, and thus to each and every part regardless of who wrote |
| 2149 | it. |
| 2150 | |
| 2151 | Thus, it is not the intent of this section to claim rights or contest |
| 2152 | your rights to work written entirely by you; rather, the intent is to |
| 2153 | exercise the right to control the distribution of derivative or |
| 2154 | collective works based on the Library. |
| 2155 | |
| 2156 | In addition, mere aggregation of another work not based on the Library |
| 2157 | with the Library (or with a work based on the Library) on a volume of |
| 2158 | a storage or distribution medium does not bring the other work under |
| 2159 | the scope of this License. |
| 2160 | |
| 2161 | 3. You may opt to apply the terms of the ordinary GNU General Public |
| 2162 | License instead of this License to a given copy of the Library. To do |
| 2163 | this, you must alter all the notices that refer to this License, so |
| 2164 | that they refer to the ordinary GNU General Public License, version 2, |
| 2165 | instead of to this License. (If a newer version than version 2 of the |
| 2166 | ordinary GNU General Public License has appeared, then you can specify |
| 2167 | that version instead if you wish.) Do not make any other change in |
| 2168 | these notices. |
| 2169 | |
| 2170 | Once this change is made in a given copy, it is irreversible for |
| 2171 | that copy, so the ordinary GNU General Public License applies to all |
| 2172 | subsequent copies and derivative works made from that copy. |
| 2173 | |
| 2174 | This option is useful when you wish to copy part of the code of |
| 2175 | the Library into a program that is not a library. |
| 2176 | |
| 2177 | 4. You may copy and distribute the Library (or a portion or |
| 2178 | derivative of it, under Section 2) in object code or executable form |
| 2179 | under the terms of Sections 1 and 2 above provided that you accompany |
| 2180 | it with the complete corresponding machine-readable source code, which |
| 2181 | must be distributed under the terms of Sections 1 and 2 above on a |
| 2182 | medium customarily used for software interchange. |
| 2183 | |
| 2184 | If distribution of object code is made by offering access to copy |
| 2185 | from a designated place, then offering equivalent access to copy the |
| 2186 | source code from the same place satisfies the requirement to |
| 2187 | distribute the source code, even though third parties are not |
| 2188 | compelled to copy the source along with the object code. |
| 2189 | |
| 2190 | 5. A program that contains no derivative of any portion of the |
| 2191 | Library, but is designed to work with the Library by being compiled or |
| 2192 | linked with it, is called a "work that uses the Library". Such a |
| 2193 | work, in isolation, is not a derivative work of the Library, and |
| 2194 | therefore falls outside the scope of this License. |
| 2195 | |
| 2196 | However, linking a "work that uses the Library" with the Library |
| 2197 | creates an executable that is a derivative of the Library (because it |
| 2198 | contains portions of the Library), rather than a "work that uses the |
| 2199 | library". The executable is therefore covered by this License. |
| 2200 | Section 6 states terms for distribution of such executables. |
| 2201 | |
| 2202 | When a "work that uses the Library" uses material from a header file |
| 2203 | that is part of the Library, the object code for the work may be a |
| 2204 | derivative work of the Library even though the source code is not. |
| 2205 | Whether this is true is especially significant if the work can be |
| 2206 | linked without the Library, or if the work is itself a library. The |
| 2207 | threshold for this to be true is not precisely defined by law. |
| 2208 | |
| 2209 | If such an object file uses only numerical parameters, data |
| 2210 | structure layouts and accessors, and small macros and small inline |
| 2211 | functions (ten lines or less in length), then the use of the object |
| 2212 | file is unrestricted, regardless of whether it is legally a derivative |
| 2213 | work. (Executables containing this object code plus portions of the |
| 2214 | Library will still fall under Section 6.) |
| 2215 | |
| 2216 | Otherwise, if the work is a derivative of the Library, you may |
| 2217 | distribute the object code for the work under the terms of Section 6. |
| 2218 | Any executables containing that work also fall under Section 6, |
| 2219 | whether or not they are linked directly with the Library itself. |
| 2220 | |
| 2221 | 6. As an exception to the Sections above, you may also compile or |
| 2222 | link a "work that uses the Library" with the Library to produce a |
| 2223 | work containing portions of the Library, and distribute that work |
| 2224 | under terms of your choice, provided that the terms permit |
| 2225 | modification of the work for the customer's own use and reverse |
| 2226 | engineering for debugging such modifications. |
| 2227 | |
| 2228 | You must give prominent notice with each copy of the work that the |
| 2229 | Library is used in it and that the Library and its use are covered by |
| 2230 | this License. You must supply a copy of this License. If the work |
| 2231 | during execution displays copyright notices, you must include the |
| 2232 | copyright notice for the Library among them, as well as a reference |
| 2233 | directing the user to the copy of this License. Also, you must do one |
| 2234 | of these things: |
| 2235 | |
| 2236 | a) Accompany the work with the complete corresponding |
| 2237 | machine-readable source code for the Library including whatever |
| 2238 | changes were used in the work (which must be distributed under |
| 2239 | Sections 1 and 2 above); and, if the work is an executable linked |
| 2240 | with the Library, with the complete machine-readable "work that |
| 2241 | uses the Library", as object code and/or source code, so that the |
| 2242 | user can modify the Library and then relink to produce a modified |
| 2243 | executable containing the modified Library. (It is understood |
| 2244 | that the user who changes the contents of definitions files in the |
| 2245 | Library will not necessarily be able to recompile the application |
| 2246 | to use the modified definitions.) |
| 2247 | |
| 2248 | b) Accompany the work with a written offer, valid for at |
| 2249 | least three years, to give the same user the materials |
| 2250 | specified in Subsection 6a, above, for a charge no more |
| 2251 | than the cost of performing this distribution. |
| 2252 | |
| 2253 | c) If distribution of the work is made by offering access to copy |
| 2254 | from a designated place, offer equivalent access to copy the above |
| 2255 | specified materials from the same place. |
| 2256 | |
| 2257 | d) Verify that the user has already received a copy of these |
| 2258 | materials or that you have already sent this user a copy. |
| 2259 | |
| 2260 | For an executable, the required form of the "work that uses the |
| 2261 | Library" must include any data and utility programs needed for |
| 2262 | reproducing the executable from it. However, as a special exception, |
| 2263 | the source code distributed need not include anything that is normally |
| 2264 | distributed (in either source or binary form) with the major |
| 2265 | components (compiler, kernel, and so on) of the operating system on |
| 2266 | which the executable runs, unless that component itself accompanies |
| 2267 | the executable. |
| 2268 | |
| 2269 | It may happen that this requirement contradicts the license |
| 2270 | restrictions of other proprietary libraries that do not normally |
| 2271 | accompany the operating system. Such a contradiction means you cannot |
| 2272 | use both them and the Library together in an executable that you |
| 2273 | distribute. |
| 2274 | |
| 2275 | 7. You may place library facilities that are a work based on the |
| 2276 | Library side-by-side in a single library together with other library |
| 2277 | facilities not covered by this License, and distribute such a combined |
| 2278 | library, provided that the separate distribution of the work based on |
| 2279 | the Library and of the other library facilities is otherwise |
| 2280 | permitted, and provided that you do these two things: |
| 2281 | |
| 2282 | a) Accompany the combined library with a copy of the same work |
| 2283 | based on the Library, uncombined with any other library |
| 2284 | facilities. This must be distributed under the terms of the |
| 2285 | Sections above. |
| 2286 | |
| 2287 | b) Give prominent notice with the combined library of the fact |
| 2288 | that part of it is a work based on the Library, and explaining |
| 2289 | where to find the accompanying uncombined form of the same work. |
| 2290 | |
| 2291 | 8. You may not copy, modify, sublicense, link with, or distribute |
| 2292 | the Library except as expressly provided under this License. Any |
| 2293 | attempt otherwise to copy, modify, sublicense, link with, or |
| 2294 | distribute the Library is void, and will automatically terminate your |
| 2295 | rights under this License. However, parties who have received copies, |
| 2296 | or rights, from you under this License will not have their licenses |
| 2297 | terminated so long as such parties remain in full compliance. |
| 2298 | |
| 2299 | 9. You are not required to accept this License, since you have not |
| 2300 | signed it. However, nothing else grants you permission to modify or |
| 2301 | distribute the Library or its derivative works. These actions are |
| 2302 | prohibited by law if you do not accept this License. Therefore, by |
| 2303 | modifying or distributing the Library (or any work based on the |
| 2304 | Library), you indicate your acceptance of this License to do so, and |
| 2305 | all its terms and conditions for copying, distributing or modifying |
| 2306 | the Library or works based on it. |
| 2307 | |
| 2308 | 10. Each time you redistribute the Library (or any work based on the |
| 2309 | Library), the recipient automatically receives a license from the |
| 2310 | original licensor to copy, distribute, link with or modify the Library |
| 2311 | subject to these terms and conditions. You may not impose any further |
| 2312 | restrictions on the recipients' exercise of the rights granted herein. |
| 2313 | You are not responsible for enforcing compliance by third parties to |
| 2314 | this License. |
| 2315 | |
| 2316 | 11. If, as a consequence of a court judgment or allegation of patent |
| 2317 | infringement or for any other reason (not limited to patent issues), |
| 2318 | conditions are imposed on you (whether by court order, agreement or |
| 2319 | otherwise) that contradict the conditions of this License, they do not |
| 2320 | excuse you from the conditions of this License. If you cannot |
| 2321 | distribute so as to satisfy simultaneously your obligations under this |
| 2322 | License and any other pertinent obligations, then as a consequence you |
| 2323 | may not distribute the Library at all. For example, if a patent |
| 2324 | license would not permit royalty-free redistribution of the Library by |
| 2325 | all those who receive copies directly or indirectly through you, then |
| 2326 | the only way you could satisfy both it and this License would be to |
| 2327 | refrain entirely from distribution of the Library. |
| 2328 | |
| 2329 | If any portion of this section is held invalid or unenforceable under any |
| 2330 | particular circumstance, the balance of the section is intended to apply, |
| 2331 | and the section as a whole is intended to apply in other circumstances. |
| 2332 | |
| 2333 | It is not the purpose of this section to induce you to infringe any |
| 2334 | patents or other property right claims or to contest validity of any |
| 2335 | such claims; this section has the sole purpose of protecting the |
| 2336 | integrity of the free software distribution system which is |
| 2337 | implemented by public license practices. Many people have made |
| 2338 | generous contributions to the wide range of software distributed |
| 2339 | through that system in reliance on consistent application of that |
| 2340 | system; it is up to the author/donor to decide if he or she is willing |
| 2341 | to distribute software through any other system and a licensee cannot |
| 2342 | impose that choice. |
| 2343 | |
| 2344 | This section is intended to make thoroughly clear what is believed to |
| 2345 | be a consequence of the rest of this License. |
| 2346 | |
| 2347 | 12. If the distribution and/or use of the Library is restricted in |
| 2348 | certain countries either by patents or by copyrighted interfaces, the |
| 2349 | original copyright holder who places the Library under this License may add |
| 2350 | an explicit geographical distribution limitation excluding those countries, |
| 2351 | so that distribution is permitted only in or among countries not thus |
| 2352 | excluded. In such case, this License incorporates the limitation as if |
| 2353 | written in the body of this License. |
| 2354 | |
| 2355 | 13. The Free Software Foundation may publish revised and/or new |
| 2356 | versions of the Library General Public License from time to time. |
| 2357 | Such new versions will be similar in spirit to the present version, |
| 2358 | but may differ in detail to address new problems or concerns. |
| 2359 | |
| 2360 | Each version is given a distinguishing version number. If the Library |
| 2361 | specifies a version number of this License which applies to it and |
| 2362 | "any later version", you have the option of following the terms and |
| 2363 | conditions either of that version or of any later version published by |
| 2364 | the Free Software Foundation. If the Library does not specify a |
| 2365 | license version number, you may choose any version ever published by |
| 2366 | the Free Software Foundation. |
| 2367 | |
| 2368 | 14. If you wish to incorporate parts of the Library into other free |
| 2369 | programs whose distribution conditions are incompatible with these, |
| 2370 | write to the author to ask for permission. For software which is |
| 2371 | copyrighted by the Free Software Foundation, write to the Free |
| 2372 | Software Foundation; we sometimes make exceptions for this. Our |
| 2373 | decision will be guided by the two goals of preserving the free status |
| 2374 | of all derivatives of our free software and of promoting the sharing |
| 2375 | and reuse of software generally. |
| 2376 | |
| 2377 | NO WARRANTY |
| 2378 | |
| 2379 | 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO |
| 2380 | WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. |
| 2381 | EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR |
| 2382 | OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY |
| 2383 | KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE |
| 2384 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
| 2385 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE |
| 2386 | LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME |
| 2387 | THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. |
| 2388 | |
| 2389 | 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN |
| 2390 | WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY |
| 2391 | AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU |
| 2392 | FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR |
| 2393 | CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE |
| 2394 | LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING |
| 2395 | RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A |
| 2396 | FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF |
| 2397 | SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH |
| 2398 | DAMAGES. |
| 2399 | |
| 2400 | END OF TERMS AND CONDITIONS |
| 2401 | |
| 2402 | How to Apply These Terms to Your New Libraries |
| 2403 | |
| 2404 | If you develop a new library, and you want it to be of the greatest |
| 2405 | possible use to the public, we recommend making it free software that |
| 2406 | everyone can redistribute and change. You can do so by permitting |
| 2407 | redistribution under these terms (or, alternatively, under the terms of the |
| 2408 | ordinary General Public License). |
| 2409 | |
| 2410 | To apply these terms, attach the following notices to the library. It is |
| 2411 | safest to attach them to the start of each source file to most effectively |
| 2412 | convey the exclusion of warranty; and each file should have at least the |
| 2413 | "copyright" line and a pointer to where the full notice is found. |
| 2414 | |
| 2415 | <one line to give the library's name and a brief idea of what it does.> |
| 2416 | Copyright (C) <year> <name of author> |
| 2417 | |
| 2418 | This library is free software; you can redistribute it and/or |
| 2419 | modify it under the terms of the GNU Library General Public |
| 2420 | License as published by the Free Software Foundation; either |
| 2421 | version 2 of the License, or (at your option) any later version. |
| 2422 | |
| 2423 | This library is distributed in the hope that it will be useful, |
| 2424 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 2425 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 2426 | Library General Public License for more details. |
| 2427 | |
| 2428 | You should have received a copy of the GNU Library General Public |
| 2429 | License along with this library; if not, write to the Free Software |
| 2430 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA |
| 2431 | |
| 2432 | Also add information on how to contact you by electronic and paper mail. |
| 2433 | |
| 2434 | You should also get your employer (if you work as a programmer) or your |
| 2435 | school, if any, to sign a "copyright disclaimer" for the library, if |
| 2436 | necessary. Here is a sample; alter the names: |
| 2437 | |
| 2438 | Yoyodyne, Inc., hereby disclaims all copyright interest in the |
| 2439 | library `Frob' (a library for tweaking knobs) written by James Random Hacker. |
| 2440 | |
| 2441 | <signature of Ty Coon>, 1 April 1990 |
| 2442 | Ty Coon, President of Vice |
| 2443 | |
| 2444 | That's all there is to it! |