"Fossies" - the Fresh Open Source Software Archive

Member "kotlinc/license/third_party/testdata/gradle_license.txt" (24 Apr 2019, 51624 Bytes) of package /linux/misc/kotlin-compiler-1.3.31.zip:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 
    2                                  Apache License
    3                            Version 2.0, January 2004
    4                         http://www.apache.org/licenses/
    5 
    6    TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
    7 
    8    1. Definitions.
    9 
   10       "License" shall mean the terms and conditions for use, reproduction,
   11       and distribution as defined by Sections 1 through 9 of this document.
   12 
   13       "Licensor" shall mean the copyright owner or entity authorized by
   14       the copyright owner that is granting the License.
   15 
   16       "Legal Entity" shall mean the union of the acting entity and all
   17       other entities that control, are controlled by, or are under common
   18       control with that entity. For the purposes of this definition,
   19       "control" means (i) the power, direct or indirect, to cause the
   20       direction or management of such entity, whether by contract or
   21       otherwise, or (ii) ownership of fifty percent (50%) or more of the
   22       outstanding shares, or (iii) beneficial ownership of such entity.
   23 
   24       "You" (or "Your") shall mean an individual or Legal Entity
   25       exercising permissions granted by this License.
   26 
   27       "Source" form shall mean the preferred form for making modifications,
   28       including but not limited to software source code, documentation
   29       source, and configuration files.
   30 
   31       "Object" form shall mean any form resulting from mechanical
   32       transformation or translation of a Source form, including but
   33       not limited to compiled object code, generated documentation,
   34       and conversions to other media types.
   35 
   36       "Work" shall mean the work of authorship, whether in Source or
   37       Object form, made available under the License, as indicated by a
   38       copyright notice that is included in or attached to the work
   39       (an example is provided in the Appendix below).
   40 
   41       "Derivative Works" shall mean any work, whether in Source or Object
   42       form, that is based on (or derived from) the Work and for which the
   43       editorial revisions, annotations, elaborations, or other modifications
   44       represent, as a whole, an original work of authorship. For the purposes
   45       of this License, Derivative Works shall not include works that remain
   46       separable from, or merely link (or bind by name) to the interfaces of,
   47       the Work and Derivative Works thereof.
   48 
   49       "Contribution" shall mean any work of authorship, including
   50       the original version of the Work and any modifications or additions
   51       to that Work or Derivative Works thereof, that is intentionally
   52       submitted to Licensor for inclusion in the Work by the copyright owner
   53       or by an individual or Legal Entity authorized to submit on behalf of
   54       the copyright owner. For the purposes of this definition, "submitted"
   55       means any form of electronic, verbal, or written communication sent
   56       to the Licensor or its representatives, including but not limited to
   57       communication on electronic mailing lists, source code control systems,
   58       and issue tracking systems that are managed by, or on behalf of, the
   59       Licensor for the purpose of discussing and improving the Work, but
   60       excluding communication that is conspicuously marked or otherwise
   61       designated in writing by the copyright owner as "Not a Contribution."
   62 
   63       "Contributor" shall mean Licensor and any individual or Legal Entity
   64       on behalf of whom a Contribution has been received by Licensor and
   65       subsequently incorporated within the Work.
   66 
   67    2. Grant of Copyright License. Subject to the terms and conditions of
   68       this License, each Contributor hereby grants to You a perpetual,
   69       worldwide, non-exclusive, no-charge, royalty-free, irrevocable
   70       copyright license to reproduce, prepare Derivative Works of,
   71       publicly display, publicly perform, sublicense, and distribute the
   72       Work and such Derivative Works in Source or Object form.
   73 
   74    3. Grant of Patent License. Subject to the terms and conditions of
   75       this License, each Contributor hereby grants to You a perpetual,
   76       worldwide, non-exclusive, no-charge, royalty-free, irrevocable
   77       (except as stated in this section) patent license to make, have made,
   78       use, offer to sell, sell, import, and otherwise transfer the Work,
   79       where such license applies only to those patent claims licensable
   80       by such Contributor that are necessarily infringed by their
   81       Contribution(s) alone or by combination of their Contribution(s)
   82       with the Work to which such Contribution(s) was submitted. If You
   83       institute patent litigation against any entity (including a
   84       cross-claim or counterclaim in a lawsuit) alleging that the Work
   85       or a Contribution incorporated within the Work constitutes direct
   86       or contributory patent infringement, then any patent licenses
   87       granted to You under this License for that Work shall terminate
   88       as of the date such litigation is filed.
   89 
   90    4. Redistribution. You may reproduce and distribute copies of the
   91       Work or Derivative Works thereof in any medium, with or without
   92       modifications, and in Source or Object form, provided that You
   93       meet the following conditions:
   94 
   95       (a) You must give any other recipients of the Work or
   96           Derivative Works a copy of this License; and
   97 
   98       (b) You must cause any modified files to carry prominent notices
   99           stating that You changed the files; and
  100 
  101       (c) You must retain, in the Source form of any Derivative Works
  102           that You distribute, all copyright, patent, trademark, and
  103           attribution notices from the Source form of the Work,
  104           excluding those notices that do not pertain to any part of
  105           the Derivative Works; and
  106 
  107       (d) If the Work includes a "NOTICE" text file as part of its
  108           distribution, then any Derivative Works that You distribute must
  109           include a readable copy of the attribution notices contained
  110           within such NOTICE file, excluding those notices that do not
  111           pertain to any part of the Derivative Works, in at least one
  112           of the following places: within a NOTICE text file distributed
  113           as part of the Derivative Works; within the Source form or
  114           documentation, if provided along with the Derivative Works; or,
  115           within a display generated by the Derivative Works, if and
  116           wherever such third-party notices normally appear. The contents
  117           of the NOTICE file are for informational purposes only and
  118           do not modify the License. You may add Your own attribution
  119           notices within Derivative Works that You distribute, alongside
  120           or as an addendum to the NOTICE text from the Work, provided
  121           that such additional attribution notices cannot be construed
  122           as modifying the License.
  123 
  124       You may add Your own copyright statement to Your modifications and
  125       may provide additional or different license terms and conditions
  126       for use, reproduction, or distribution of Your modifications, or
  127       for any such Derivative Works as a whole, provided Your use,
  128       reproduction, and distribution of the Work otherwise complies with
  129       the conditions stated in this License.
  130 
  131    5. Submission of Contributions. Unless You explicitly state otherwise,
  132       any Contribution intentionally submitted for inclusion in the Work
  133       by You to the Licensor shall be under the terms and conditions of
  134       this License, without any additional terms or conditions.
  135       Notwithstanding the above, nothing herein shall supersede or modify
  136       the terms of any separate license agreement you may have executed
  137       with Licensor regarding such Contributions.
  138 
  139    6. Trademarks. This License does not grant permission to use the trade
  140       names, trademarks, service marks, or product names of the Licensor,
  141       except as required for reasonable and customary use in describing the
  142       origin of the Work and reproducing the content of the NOTICE file.
  143 
  144    7. Disclaimer of Warranty. Unless required by applicable law or
  145       agreed to in writing, Licensor provides the Work (and each
  146       Contributor provides its Contributions) on an "AS IS" BASIS,
  147       WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
  148       implied, including, without limitation, any warranties or conditions
  149       of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
  150       PARTICULAR PURPOSE. You are solely responsible for determining the
  151       appropriateness of using or redistributing the Work and assume any
  152       risks associated with Your exercise of permissions under this License.
  153 
  154    8. Limitation of Liability. In no event and under no legal theory,
  155       whether in tort (including negligence), contract, or otherwise,
  156       unless required by applicable law (such as deliberate and grossly
  157       negligent acts) or agreed to in writing, shall any Contributor be
  158       liable to You for damages, including any direct, indirect, special,
  159       incidental, or consequential damages of any character arising as a
  160       result of this License or out of the use or inability to use the
  161       Work (including but not limited to damages for loss of goodwill,
  162       work stoppage, computer failure or malfunction, or any and all
  163       other commercial damages or losses), even if such Contributor
  164       has been advised of the possibility of such damages.
  165 
  166    9. Accepting Warranty or Additional Liability. While redistributing
  167       the Work or Derivative Works thereof, You may choose to offer,
  168       and charge a fee for, acceptance of support, warranty, indemnity,
  169       or other liability obligations and/or rights consistent with this
  170       License. However, in accepting such obligations, You may act only
  171       on Your own behalf and on Your sole responsibility, not on behalf
  172       of any other Contributor, and only if You agree to indemnify,
  173       defend, and hold each Contributor harmless for any liability
  174       incurred by, or claims asserted against, such Contributor by reason
  175       of your accepting any such warranty or additional liability.
  176 
  177    END OF TERMS AND CONDITIONS
  178 
  179    APPENDIX: How to apply the Apache License to your work.
  180 
  181       To apply the Apache License to your work, attach the following
  182       boilerplate notice, with the fields enclosed by brackets "{}"
  183       replaced with your own identifying information. (Don't include
  184       the brackets!)  The text should be enclosed in the appropriate
  185       comment syntax for the file format. We also recommend that a
  186       file or class name and description of purpose be included on the
  187       same "printed page" as the copyright notice for easier
  188       identification within third-party archives.
  189 
  190    Copyright {yyyy} {name of copyright owner}
  191 
  192    Licensed under the Apache License, Version 2.0 (the "License");
  193    you may not use this file except in compliance with the License.
  194    You may obtain a copy of the License at
  195 
  196        http://www.apache.org/licenses/LICENSE-2.0
  197 
  198    Unless required by applicable law or agreed to in writing, software
  199    distributed under the License is distributed on an "AS IS" BASIS,
  200    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  201    See the License for the specific language governing permissions and
  202    limitations under the License.
  203 
  204 
  205 
  206 ==============================================================================
  207 Gradle Subcomponents:
  208 
  209 ------------------------------------------------------------------------------
  210 License for the slf4j package
  211 ------------------------------------------------------------------------------
  212 SLF4J License
  213 
  214 Copyright (c) 2004-2007 QOS.ch
  215 All rights reserved.
  216 
  217 Permission is hereby granted, free  of charge, to any person obtaining
  218 a  copy  of this  software  and  associated  documentation files  (the
  219 "Software"), to  deal in  the Software without  restriction, including
  220 without limitation  the rights to  use, copy, modify,  merge, publish,
  221 distribute,  sublicense, and/or sell  copies of  the Software,  and to
  222 permit persons to whom the Software  is furnished to do so, subject to
  223 the following conditions:
  224 
  225 The  above  copyright  notice  and  this permission  notice  shall  be
  226 included in all copies or substantial portions of the Software.
  227 
  228 THE  SOFTWARE IS  PROVIDED  "AS  IS", WITHOUT  WARRANTY  OF ANY  KIND,
  229 EXPRESS OR  IMPLIED, INCLUDING  BUT NOT LIMITED  TO THE  WARRANTIES OF
  230 MERCHANTABILITY,    FITNESS    FOR    A   PARTICULAR    PURPOSE    AND
  231 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  232 LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  233 OF CONTRACT, TORT OR OTHERWISE,  ARISING FROM, OUT OF OR IN CONNECTION
  234 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  235 
  236 These terms are identical to those of the MIT License, also called the X License or the X11 License,
  237 which is a simple, permissive non-copyleft free software license. It is deemed compatible with virtually
  238 all types of licenses, commercial or otherwise. In particular, the Free Software Foundation has declared it
  239 compatible with GNU GPL. It is also known to be approved by the Apache Software Foundation as compatible
  240 with Apache Software License.
  241 
  242 
  243 ------------------------------------------------------------------------------
  244 License for the JUnit package
  245 ------------------------------------------------------------------------------
  246 THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC
  247 LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM
  248 CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
  249 
  250 1. DEFINITIONS
  251 
  252 "Contribution" means:
  253 
  254 a) in the case of the initial Contributor, the initial code and
  255 documentation distributed under this Agreement, and
  256 
  257 b) in the case of each subsequent Contributor:
  258 
  259 i) changes to the Program, and
  260 
  261 ii) additions to the Program;
  262 
  263 where such changes and/or additions to the Program originate from and are
  264 distributed by that particular Contributor. A Contribution 'originates' from a
  265 Contributor if it was added to the Program by such Contributor itself or anyone
  266 acting on such Contributor's behalf. Contributions do not include additions to
  267 the Program which: (i) are separate modules of software distributed in
  268 conjunction with the Program under their own license agreement, and (ii) are not
  269 derivative works of the Program.
  270 
  271 "Contributor" means any person or entity that distributes the Program.
  272 
  273 "Licensed Patents " mean patent claims licensable by a Contributor which are
  274 necessarily infringed by the use or sale of its Contribution alone or when
  275 combined with the Program.
  276 
  277 "Program" means the Contributions distributed in accordance with this Agreement.
  278 
  279 "Recipient" means anyone who receives the Program under this Agreement,
  280 including all Contributors.
  281 
  282 2. GRANT OF RIGHTS
  283 
  284 a) Subject to the terms of this Agreement, each Contributor hereby grants
  285 Recipient a non-exclusive, worldwide, royalty-free copyright license to
  286 reproduce, prepare derivative works of, publicly display, publicly perform,
  287 distribute and sublicense the Contribution of such Contributor, if any, and such
  288 derivative works, in source code and object code form.
  289 
  290 b) Subject to the terms of this Agreement, each Contributor hereby grants
  291 Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed
  292 Patents to make, use, sell, offer to sell, import and otherwise transfer the
  293 Contribution of such Contributor, if any, in source code and object code form.
  294 This patent license shall apply to the combination of the Contribution and the
  295 Program if, at the time the Contribution is added by the Contributor, such
  296 addition of the Contribution causes such combination to be covered by the
  297 Licensed Patents. The patent license shall not apply to any other combinations
  298 which include the Contribution. No hardware per se is licensed hereunder.
  299 
  300 c) Recipient understands that although each Contributor grants the licenses
  301 to its Contributions set forth herein, no assurances are provided by any
  302 Contributor that the Program does not infringe the patent or other intellectual
  303 property rights of any other entity. Each Contributor disclaims any liability to
  304 Recipient for claims brought by any other entity based on infringement of
  305 intellectual property rights or otherwise. As a condition to exercising the
  306 rights and licenses granted hereunder, each Recipient hereby assumes sole
  307 responsibility to secure any other intellectual property rights needed, if any.
  308 For example, if a third party patent license is required to allow Recipient to
  309 distribute the Program, it is Recipient's responsibility to acquire that license
  310 before distributing the Program.
  311 
  312 d) Each Contributor represents that to its knowledge it has sufficient
  313 copyright rights in its Contribution, if any, to grant the copyright license set
  314 forth in this Agreement.
  315 
  316 3. REQUIREMENTS
  317 
  318 A Contributor may choose to distribute the Program in object code form under its
  319 own license agreement, provided that:
  320 
  321 a) it complies with the terms and conditions of this Agreement; and
  322 
  323 b) its license agreement:
  324 
  325 i) effectively disclaims on behalf of all Contributors all warranties and
  326 conditions, express and implied, including warranties or conditions of title and
  327 non-infringement, and implied warranties or conditions of merchantability and
  328 fitness for a particular purpose;
  329 
  330 ii) effectively excludes on behalf of all Contributors all liability for
  331 damages, including direct, indirect, special, incidental and consequential
  332 damages, such as lost profits;
  333 
  334 iii) states that any provisions which differ from this Agreement are offered
  335 by that Contributor alone and not by any other party; and
  336 
  337 iv) states that source code for the Program is available from such
  338 Contributor, and informs licensees how to obtain it in a reasonable manner on or
  339 through a medium customarily used for software exchange.
  340 
  341 When the Program is made available in source code form:
  342 
  343 a) it must be made available under this Agreement; and
  344 
  345 b) a copy of this Agreement must be included with each copy of the Program.
  346 
  347 Contributors may not remove or alter any copyright notices contained within the
  348 Program.
  349 
  350 Each Contributor must identify itself as the originator of its Contribution, if
  351 any, in a manner that reasonably allows subsequent Recipients to identify the
  352 originator of the Contribution.
  353 
  354 4. COMMERCIAL DISTRIBUTION
  355 
  356 Commercial distributors of software may accept certain responsibilities with
  357 respect to end users, business partners and the like. While this license is
  358 intended to facilitate the commercial use of the Program, the Contributor who
  359 includes the Program in a commercial product offering should do so in a manner
  360 which does not create potential liability for other Contributors. Therefore, if
  361 a Contributor includes the Program in a commercial product offering, such
  362 Contributor ("Commercial Contributor") hereby agrees to defend and indemnify
  363 every other Contributor ("Indemnified Contributor") against any losses, damages
  364 and costs (collectively "Losses") arising from claims, lawsuits and other legal
  365 actions brought by a third party against the Indemnified Contributor to the
  366 extent caused by the acts or omissions of such Commercial Contributor in
  367 connection with its distribution of the Program in a commercial product
  368 offering. The obligations in this section do not apply to any claims or Losses
  369 relating to any actual or alleged intellectual property infringement. In order
  370 to qualify, an Indemnified Contributor must: a) promptly notify the Commercial
  371 Contributor in writing of such claim, and b) allow the Commercial Contributor to
  372 control, and cooperate with the Commercial Contributor in, the defense and any
  373 related settlement negotiations. The Indemnified Contributor may participate in
  374 any such claim at its own expense.
  375 
  376 For example, a Contributor might include the Program in a commercial product
  377 offering, Product X. That Contributor is then a Commercial Contributor. If that
  378 Commercial Contributor then makes performance claims, or offers warranties
  379 related to Product X, those performance claims and warranties are such
  380 Commercial Contributor's responsibility alone. Under this section, the
  381 Commercial Contributor would have to defend claims against the other
  382 Contributors related to those performance claims and warranties, and if a court
  383 requires any other Contributor to pay any damages as a result, the Commercial
  384 Contributor must pay those damages.
  385 
  386 5. NO WARRANTY
  387 
  388 EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN
  389 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR
  390 IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE,
  391 NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each
  392 Recipient is solely responsible for determining the appropriateness of using and
  393 distributing the Program and assumes all risks associated with its exercise of
  394 rights under this Agreement, including but not limited to the risks and costs of
  395 program errors, compliance with applicable laws, damage to or loss of data,
  396 programs or equipment, and unavailability or interruption of operations.
  397 
  398 6. DISCLAIMER OF LIABILITY
  399 
  400 EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY
  401 CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  402 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST
  403 PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  404 STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  405 OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS
  406 GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
  407 
  408 7. GENERAL
  409 
  410 If any provision of this Agreement is invalid or unenforceable under applicable
  411 law, it shall not affect the validity or enforceability of the remainder of the
  412 terms of this Agreement, and without further action by the parties hereto, such
  413 provision shall be reformed to the minimum extent necessary to make such
  414 provision valid and enforceable.
  415 
  416 If Recipient institutes patent litigation against a Contributor with respect to
  417 a patent applicable to software (including a cross-claim or counterclaim in a
  418 lawsuit), then any patent licenses granted by that Contributor to such Recipient
  419 under this Agreement shall terminate as of the date such litigation is filed. In
  420 addition, if Recipient institutes patent litigation against any entity
  421 (including a cross-claim or counterclaim in a lawsuit) alleging that the Program
  422 itself (excluding combinations of the Program with other software or hardware)
  423 infringes such Recipient's patent(s), then such Recipient's rights granted under
  424 Section 2(b) shall terminate as of the date such litigation is filed.
  425 
  426 All Recipient's rights under this Agreement shall terminate if it fails to
  427 comply with any of the material terms or conditions of this Agreement and does
  428 not cure such failure in a reasonable period of time after becoming aware of
  429 such noncompliance. If all Recipient's rights under this Agreement terminate,
  430 Recipient agrees to cease use and distribution of the Program as soon as
  431 reasonably practicable. However, Recipient's obligations under this Agreement
  432 and any licenses granted by Recipient relating to the Program shall continue and
  433 survive.
  434 
  435 Everyone is permitted to copy and distribute copies of this Agreement, but in
  436 order to avoid inconsistency the Agreement is copyrighted and may only be
  437 modified in the following manner. The Agreement Steward reserves the right to
  438 publish new versions (including revisions) of this Agreement from time to time.
  439 No one other than the Agreement Steward has the right to modify this Agreement.
  440 IBM is the initial Agreement Steward. IBM may assign the responsibility to serve
  441 as the Agreement Steward to a suitable separate entity. Each new version of the
  442 Agreement will be given a distinguishing version number. The Program (including
  443 Contributions) may always be distributed subject to the version of the Agreement
  444 under which it was received. In addition, after a new version of the Agreement
  445 is published, Contributor may elect to distribute the Program (including its
  446 Contributions) under the new version. Except as expressly stated in Sections
  447 2(a) and 2(b) above, Recipient receives no rights or licenses to the
  448 intellectual property of any Contributor under this Agreement, whether
  449 expressly, by implication, estoppel or otherwise. All rights in the Program not
  450 expressly granted under this Agreement are reserved.
  451 
  452 This Agreement is governed by the laws of the State of New York and the
  453 intellectual property laws of the United States of America. No party to this
  454 Agreement will bring a legal action under this Agreement more than one year
  455 after the cause of action arose. Each party waives its rights to a jury trial in
  456 any resulting litigation.
  457 
  458 ------------------------------------------------------------------------------
  459 License for the JCIFS package
  460 ------------------------------------------------------------------------------
  461 JCIFS License
  462 
  463           GNU LESSER GENERAL PUBLIC LICENSE
  464                Version 2.1, February 1999
  465 
  466  Copyright (C) 1991, 1999 Free Software Foundation, Inc.
  467  51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  468  Everyone is permitted to copy and distribute verbatim copies
  469  of this license document, but changing it is not allowed.
  470 
  471 [This is the first released version of the Lesser GPL.  It also counts
  472  as the successor of the GNU Library Public License, version 2, hence
  473  the version number 2.1.]
  474 
  475                 Preamble
  476 
  477   The licenses for most software are designed to take away your
  478 freedom to share and change it.  By contrast, the GNU General Public
  479 Licenses are intended to guarantee your freedom to share and change
  480 free software--to make sure the software is free for all its users.
  481 
  482   This license, the Lesser General Public License, applies to some
  483 specially designated software packages--typically libraries--of the
  484 Free Software Foundation and other authors who decide to use it.  You
  485 can use it too, but we suggest you first think carefully about whether
  486 this license or the ordinary General Public License is the better
  487 strategy to use in any particular case, based on the explanations below.
  488 
  489   When we speak of free software, we are referring to freedom of use,
  490 not price.  Our General Public Licenses are designed to make sure that
  491 you have the freedom to distribute copies of free software (and charge
  492 for this service if you wish); that you receive source code or can get
  493 it if you want it; that you can change the software and use pieces of
  494 it in new free programs; and that you are informed that you can do
  495 these things.
  496 
  497   To protect your rights, we need to make restrictions that forbid
  498 distributors to deny you these rights or to ask you to surrender these
  499 rights.  These restrictions translate to certain responsibilities for
  500 you if you distribute copies of the library or if you modify it.
  501 
  502   For example, if you distribute copies of the library, whether gratis
  503 or for a fee, you must give the recipients all the rights that we gave
  504 you.  You must make sure that they, too, receive or can get the source
  505 code.  If you link other code with the library, you must provide
  506 complete object files to the recipients, so that they can relink them
  507 with the library after making changes to the library and recompiling
  508 it.  And you must show them these terms so they know their rights.
  509 
  510   We protect your rights with a two-step method: (1) we copyright the
  511 library, and (2) we offer you this license, which gives you legal
  512 permission to copy, distribute and/or modify the library.
  513 
  514   To protect each distributor, we want to make it very clear that
  515 there is no warranty for the free library.  Also, if the library is
  516 modified by someone else and passed on, the recipients should know
  517 that what they have is not the original version, so that the original
  518 author's reputation will not be affected by problems that might be
  519 introduced by others.
  520 
  521   Finally, software patents pose a constant threat to the existence of
  522 any free program.  We wish to make sure that a company cannot
  523 effectively restrict the users of a free program by obtaining a
  524 restrictive license from a patent holder.  Therefore, we insist that
  525 any patent license obtained for a version of the library must be
  526 consistent with the full freedom of use specified in this license.
  527 
  528   Most GNU software, including some libraries, is covered by the
  529 ordinary GNU General Public License.  This license, the GNU Lesser
  530 General Public License, applies to certain designated libraries, and
  531 is quite different from the ordinary General Public License.  We use
  532 this license for certain libraries in order to permit linking those
  533 libraries into non-free programs.
  534 
  535   When a program is linked with a library, whether statically or using
  536 a shared library, the combination of the two is legally speaking a
  537 combined work, a derivative of the original library.  The ordinary
  538 General Public License therefore permits such linking only if the
  539 entire combination fits its criteria of freedom.  The Lesser General
  540 Public License permits more lax criteria for linking other code with
  541 the library.
  542 
  543   We call this license the "Lesser" General Public License because it
  544 does Less to protect the user's freedom than the ordinary General
  545 Public License.  It also provides other free software developers Less
  546 of an advantage over competing non-free programs.  These disadvantages
  547 are the reason we use the ordinary General Public License for many
  548 libraries.  However, the Lesser license provides advantages in certain
  549 special circumstances.
  550 
  551   For example, on rare occasions, there may be a special need to
  552 encourage the widest possible use of a certain library, so that it becomes
  553 a de-facto standard.  To achieve this, non-free programs must be
  554 allowed to use the library.  A more frequent case is that a free
  555 library does the same job as widely used non-free libraries.  In this
  556 case, there is little to gain by limiting the free library to free
  557 software only, so we use the Lesser General Public License.
  558 
  559   In other cases, permission to use a particular library in non-free
  560 programs enables a greater number of people to use a large body of
  561 free software.  For example, permission to use the GNU C Library in
  562 non-free programs enables many more people to use the whole GNU
  563 operating system, as well as its variant, the GNU/Linux operating
  564 system.
  565 
  566   Although the Lesser General Public License is Less protective of the
  567 users' freedom, it does ensure that the user of a program that is
  568 linked with the Library has the freedom and the wherewithal to run
  569 that program using a modified version of the Library.
  570 
  571   The precise terms and conditions for copying, distribution and
  572 modification follow.  Pay close attention to the difference between a
  573 "work based on the library" and a "work that uses the library".  The
  574 former contains code derived from the library, whereas the latter must
  575 be combined with the library in order to run.
  576 
  577           GNU LESSER GENERAL PUBLIC LICENSE
  578    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
  579 
  580   0. This License Agreement applies to any software library or other
  581 program which contains a notice placed by the copyright holder or
  582 other authorized party saying it may be distributed under the terms of
  583 this Lesser General Public License (also called "this License").
  584 Each licensee is addressed as "you".
  585 
  586   A "library" means a collection of software functions and/or data
  587 prepared so as to be conveniently linked with application programs
  588 (which use some of those functions and data) to form executables.
  589 
  590   The "Library", below, refers to any such software library or work
  591 which has been distributed under these terms.  A "work based on the
  592 Library" means either the Library or any derivative work under
  593 copyright law: that is to say, a work containing the Library or a
  594 portion of it, either verbatim or with modifications and/or translated
  595 straightforwardly into another language.  (Hereinafter, translation is
  596 included without limitation in the term "modification".)
  597 
  598   "Source code" for a work means the preferred form of the work for
  599 making modifications to it.  For a library, complete source code means
  600 all the source code for all modules it contains, plus any associated
  601 interface definition files, plus the scripts used to control compilation
  602 and installation of the library.
  603 
  604   Activities other than copying, distribution and modification are not
  605 covered by this License; they are outside its scope.  The act of
  606 running a program using the Library is not restricted, and output from
  607 such a program is covered only if its contents constitute a work based
  608 on the Library (independent of the use of the Library in a tool for
  609 writing it).  Whether that is true depends on what the Library does
  610 and what the program that uses the Library does.
  611 
  612   1. You may copy and distribute verbatim copies of the Library's
  613 complete source code as you receive it, in any medium, provided that
  614 you conspicuously and appropriately publish on each copy an
  615 appropriate copyright notice and disclaimer of warranty; keep intact
  616 all the notices that refer to this License and to the absence of any
  617 warranty; and distribute a copy of this License along with the
  618 Library.
  619 
  620   You may charge a fee for the physical act of transferring a copy,
  621 and you may at your option offer warranty protection in exchange for a
  622 fee.
  623 
  624   2. You may modify your copy or copies of the Library or any portion
  625 of it, thus forming a work based on the Library, and copy and
  626 distribute such modifications or work under the terms of Section 1
  627 above, provided that you also meet all of these conditions:
  628 
  629     a) The modified work must itself be a software library.
  630 
  631     b) You must cause the files modified to carry prominent notices
  632     stating that you changed the files and the date of any change.
  633 
  634     c) You must cause the whole of the work to be licensed at no
  635     charge to all third parties under the terms of this License.
  636 
  637     d) If a facility in the modified Library refers to a function or a
  638     table of data to be supplied by an application program that uses
  639     the facility, other than as an argument passed when the facility
  640     is invoked, then you must make a good faith effort to ensure that,
  641     in the event an application does not supply such function or
  642     table, the facility still operates, and performs whatever part of
  643     its purpose remains meaningful.
  644 
  645     (For example, a function in a library to compute square roots has
  646     a purpose that is entirely well-defined independent of the
  647     application.  Therefore, Subsection 2d requires that any
  648     application-supplied function or table used by this function must
  649     be optional: if the application does not supply it, the square
  650     root function must still compute square roots.)
  651 
  652 These requirements apply to the modified work as a whole.  If
  653 identifiable sections of that work are not derived from the Library,
  654 and can be reasonably considered independent and separate works in
  655 themselves, then this License, and its terms, do not apply to those
  656 sections when you distribute them as separate works.  But when you
  657 distribute the same sections as part of a whole which is a work based
  658 on the Library, the distribution of the whole must be on the terms of
  659 this License, whose permissions for other licensees extend to the
  660 entire whole, and thus to each and every part regardless of who wrote
  661 it.
  662 
  663 Thus, it is not the intent of this section to claim rights or contest
  664 your rights to work written entirely by you; rather, the intent is to
  665 exercise the right to control the distribution of derivative or
  666 collective works based on the Library.
  667 
  668 In addition, mere aggregation of another work not based on the Library
  669 with the Library (or with a work based on the Library) on a volume of
  670 a storage or distribution medium does not bring the other work under
  671 the scope of this License.
  672 
  673   3. You may opt to apply the terms of the ordinary GNU General Public
  674 License instead of this License to a given copy of the Library.  To do
  675 this, you must alter all the notices that refer to this License, so
  676 that they refer to the ordinary GNU General Public License, version 2,
  677 instead of to this License.  (If a newer version than version 2 of the
  678 ordinary GNU General Public License has appeared, then you can specify
  679 that version instead if you wish.)  Do not make any other change in
  680 these notices.
  681 
  682   Once this change is made in a given copy, it is irreversible for
  683 that copy, so the ordinary GNU General Public License applies to all
  684 subsequent copies and derivative works made from that copy.
  685 
  686   This option is useful when you wish to copy part of the code of
  687 the Library into a program that is not a library.
  688 
  689   4. You may copy and distribute the Library (or a portion or
  690 derivative of it, under Section 2) in object code or executable form
  691 under the terms of Sections 1 and 2 above provided that you accompany
  692 it with the complete corresponding machine-readable source code, which
  693 must be distributed under the terms of Sections 1 and 2 above on a
  694 medium customarily used for software interchange.
  695 
  696   If distribution of object code is made by offering access to copy
  697 from a designated place, then offering equivalent access to copy the
  698 source code from the same place satisfies the requirement to
  699 distribute the source code, even though third parties are not
  700 compelled to copy the source along with the object code.
  701 
  702   5. A program that contains no derivative of any portion of the
  703 Library, but is designed to work with the Library by being compiled or
  704 linked with it, is called a "work that uses the Library".  Such a
  705 work, in isolation, is not a derivative work of the Library, and
  706 therefore falls outside the scope of this License.
  707 
  708   However, linking a "work that uses the Library" with the Library
  709 creates an executable that is a derivative of the Library (because it
  710 contains portions of the Library), rather than a "work that uses the
  711 library".  The executable is therefore covered by this License.
  712 Section 6 states terms for distribution of such executables.
  713 
  714   When a "work that uses the Library" uses material from a header file
  715 that is part of the Library, the object code for the work may be a
  716 derivative work of the Library even though the source code is not.
  717 Whether this is true is especially significant if the work can be
  718 linked without the Library, or if the work is itself a library.  The
  719 threshold for this to be true is not precisely defined by law.
  720 
  721   If such an object file uses only numerical parameters, data
  722 structure layouts and accessors, and small macros and small inline
  723 functions (ten lines or less in length), then the use of the object
  724 file is unrestricted, regardless of whether it is legally a derivative
  725 work.  (Executables containing this object code plus portions of the
  726 Library will still fall under Section 6.)
  727 
  728   Otherwise, if the work is a derivative of the Library, you may
  729 distribute the object code for the work under the terms of Section 6.
  730 Any executables containing that work also fall under Section 6,
  731 whether or not they are linked directly with the Library itself.
  732 
  733   6. As an exception to the Sections above, you may also combine or
  734 link a "work that uses the Library" with the Library to produce a
  735 work containing portions of the Library, and distribute that work
  736 under terms of your choice, provided that the terms permit
  737 modification of the work for the customer's own use and reverse
  738 engineering for debugging such modifications.
  739 
  740   You must give prominent notice with each copy of the work that the
  741 Library is used in it and that the Library and its use are covered by
  742 this License.  You must supply a copy of this License.  If the work
  743 during execution displays copyright notices, you must include the
  744 copyright notice for the Library among them, as well as a reference
  745 directing the user to the copy of this License.  Also, you must do one
  746 of these things:
  747 
  748     a) Accompany the work with the complete corresponding
  749     machine-readable source code for the Library including whatever
  750     changes were used in the work (which must be distributed under
  751     Sections 1 and 2 above); and, if the work is an executable linked
  752     with the Library, with the complete machine-readable "work that
  753     uses the Library", as object code and/or source code, so that the
  754     user can modify the Library and then relink to produce a modified
  755     executable containing the modified Library.  (It is understood
  756     that the user who changes the contents of definitions files in the
  757     Library will not necessarily be able to recompile the application
  758     to use the modified definitions.)
  759 
  760     b) Use a suitable shared library mechanism for linking with the
  761     Library.  A suitable mechanism is one that (1) uses at run time a
  762     copy of the library already present on the user's computer system,
  763     rather than copying library functions into the executable, and (2)
  764     will operate properly with a modified version of the library, if
  765     the user installs one, as long as the modified version is
  766     interface-compatible with the version that the work was made with.
  767 
  768     c) Accompany the work with a written offer, valid for at
  769     least three years, to give the same user the materials
  770     specified in Subsection 6a, above, for a charge no more
  771     than the cost of performing this distribution.
  772 
  773     d) If distribution of the work is made by offering access to copy
  774     from a designated place, offer equivalent access to copy the above
  775     specified materials from the same place.
  776 
  777     e) Verify that the user has already received a copy of these
  778     materials or that you have already sent this user a copy.
  779 
  780   For an executable, the required form of the "work that uses the
  781 Library" must include any data and utility programs needed for
  782 reproducing the executable from it.  However, as a special exception,
  783 the materials to be distributed need not include anything that is
  784 normally distributed (in either source or binary form) with the major
  785 components (compiler, kernel, and so on) of the operating system on
  786 which the executable runs, unless that component itself accompanies
  787 the executable.
  788 
  789   It may happen that this requirement contradicts the license
  790 restrictions of other proprietary libraries that do not normally
  791 accompany the operating system.  Such a contradiction means you cannot
  792 use both them and the Library together in an executable that you
  793 distribute.
  794 
  795   7. You may place library facilities that are a work based on the
  796 Library side-by-side in a single library together with other library
  797 facilities not covered by this License, and distribute such a combined
  798 library, provided that the separate distribution of the work based on
  799 the Library and of the other library facilities is otherwise
  800 permitted, and provided that you do these two things:
  801 
  802     a) Accompany the combined library with a copy of the same work
  803     based on the Library, uncombined with any other library
  804     facilities.  This must be distributed under the terms of the
  805     Sections above.
  806 
  807     b) Give prominent notice with the combined library of the fact
  808     that part of it is a work based on the Library, and explaining
  809     where to find the accompanying uncombined form of the same work.
  810 
  811   8. You may not copy, modify, sublicense, link with, or distribute
  812 the Library except as expressly provided under this License.  Any
  813 attempt otherwise to copy, modify, sublicense, link with, or
  814 distribute the Library is void, and will automatically terminate your
  815 rights under this License.  However, parties who have received copies,
  816 or rights, from you under this License will not have their licenses
  817 terminated so long as such parties remain in full compliance.
  818 
  819   9. You are not required to accept this License, since you have not
  820 signed it.  However, nothing else grants you permission to modify or
  821 distribute the Library or its derivative works.  These actions are
  822 prohibited by law if you do not accept this License.  Therefore, by
  823 modifying or distributing the Library (or any work based on the
  824 Library), you indicate your acceptance of this License to do so, and
  825 all its terms and conditions for copying, distributing or modifying
  826 the Library or works based on it.
  827 
  828   10. Each time you redistribute the Library (or any work based on the
  829 Library), the recipient automatically receives a license from the
  830 original licensor to copy, distribute, link with or modify the Library
  831 subject to these terms and conditions.  You may not impose any further
  832 restrictions on the recipients' exercise of the rights granted herein.
  833 You are not responsible for enforcing compliance by third parties with
  834 this License.
  835 
  836   11. If, as a consequence of a court judgment or allegation of patent
  837 infringement or for any other reason (not limited to patent issues),
  838 conditions are imposed on you (whether by court order, agreement or
  839 otherwise) that contradict the conditions of this License, they do not
  840 excuse you from the conditions of this License.  If you cannot
  841 distribute so as to satisfy simultaneously your obligations under this
  842 License and any other pertinent obligations, then as a consequence you
  843 may not distribute the Library at all.  For example, if a patent
  844 license would not permit royalty-free redistribution of the Library by
  845 all those who receive copies directly or indirectly through you, then
  846 the only way you could satisfy both it and this License would be to
  847 refrain entirely from distribution of the Library.
  848 
  849 If any portion of this section is held invalid or unenforceable under any
  850 particular circumstance, the balance of the section is intended to apply,
  851 and the section as a whole is intended to apply in other circumstances.
  852 
  853 It is not the purpose of this section to induce you to infringe any
  854 patents or other property right claims or to contest validity of any
  855 such claims; this section has the sole purpose of protecting the
  856 integrity of the free software distribution system which is
  857 implemented by public license practices.  Many people have made
  858 generous contributions to the wide range of software distributed
  859 through that system in reliance on consistent application of that
  860 system; it is up to the author/donor to decide if he or she is willing
  861 to distribute software through any other system and a licensee cannot
  862 impose that choice.
  863 
  864 This section is intended to make thoroughly clear what is believed to
  865 be a consequence of the rest of this License.
  866 
  867   12. If the distribution and/or use of the Library is restricted in
  868 certain countries either by patents or by copyrighted interfaces, the
  869 original copyright holder who places the Library under this License may add
  870 an explicit geographical distribution limitation excluding those countries,
  871 so that distribution is permitted only in or among countries not thus
  872 excluded.  In such case, this License incorporates the limitation as if
  873 written in the body of this License.
  874 
  875   13. The Free Software Foundation may publish revised and/or new
  876 versions of the Lesser General Public License from time to time.
  877 Such new versions will be similar in spirit to the present version,
  878 but may differ in detail to address new problems or concerns.
  879 
  880 Each version is given a distinguishing version number.  If the Library
  881 specifies a version number of this License which applies to it and
  882 "any later version", you have the option of following the terms and
  883 conditions either of that version or of any later version published by
  884 the Free Software Foundation.  If the Library does not specify a
  885 license version number, you may choose any version ever published by
  886 the Free Software Foundation.
  887 
  888   14. If you wish to incorporate parts of the Library into other free
  889 programs whose distribution conditions are incompatible with these,
  890 write to the author to ask for permission.  For software which is
  891 copyrighted by the Free Software Foundation, write to the Free
  892 Software Foundation; we sometimes make exceptions for this.  Our
  893 decision will be guided by the two goals of preserving the free status
  894 of all derivatives of our free software and of promoting the sharing
  895 and reuse of software generally.
  896 
  897                 NO WARRANTY
  898 
  899   15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
  900 WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
  901 EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
  902 OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
  903 KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
  904 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  905 PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
  906 LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
  907 THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
  908 
  909   16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
  910 WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
  911 AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
  912 FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
  913 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
  914 LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
  915 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
  916 FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
  917 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
  918 DAMAGES.
  919 
  920              END OF TERMS AND CONDITIONS
  921 
  922            How to Apply These Terms to Your New Libraries
  923 
  924   If you develop a new library, and you want it to be of the greatest
  925 possible use to the public, we recommend making it free software that
  926 everyone can redistribute and change.  You can do so by permitting
  927 redistribution under these terms (or, alternatively, under the terms of the
  928 ordinary General Public License).
  929 
  930   To apply these terms, attach the following notices to the library.  It is
  931 safest to attach them to the start of each source file to most effectively
  932 convey the exclusion of warranty; and each file should have at least the
  933 "copyright" line and a pointer to where the full notice is found.
  934 
  935     <one line to give the library's name and a brief idea of what it does.>
  936     Copyright (C) <year>  <name of author>
  937 
  938     This library is free software; you can redistribute it and/or
  939     modify it under the terms of the GNU Lesser General Public
  940     License as published by the Free Software Foundation; either
  941     version 2.1 of the License, or (at your option) any later version.
  942 
  943     This library is distributed in the hope that it will be useful,
  944     but WITHOUT ANY WARRANTY; without even the implied warranty of
  945     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  946     Lesser General Public License for more details.
  947 
  948     You should have received a copy of the GNU Lesser General Public
  949     License along with this library; if not, write to the Free Software
  950     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  951 
  952 Also add information on how to contact you by electronic and paper mail.
  953 
  954 You should also get your employer (if you work as a programmer) or your
  955 school, if any, to sign a "copyright disclaimer" for the library, if
  956 necessary.  Here is a sample; alter the names:
  957 
  958   Yoyodyne, Inc., hereby disclaims all copyright interest in the
  959   library `Frob' (a library for tweaking knobs) written by James Random Hacker.
  960 
  961   <signature of Ty Coon>, 1 April 1990
  962   Ty Coon, President of Vice
  963 
  964 That's all there is to it!