Home | History | Annotate | Download | only in testdata
      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 
    522   Finally, software patents pose a constant threat to the existence of
    523 any free program.  We wish to make sure that a company cannot
    524 effectively restrict the users of a free program by obtaining a
    525 restrictive license from a patent holder.  Therefore, we insist that
    526 any patent license obtained for a version of the library must be
    527 consistent with the full freedom of use specified in this license.
    528 
    529   Most GNU software, including some libraries, is covered by the
    530 ordinary GNU General Public License.  This license, the GNU Lesser
    531 General Public License, applies to certain designated libraries, and
    532 is quite different from the ordinary General Public License.  We use
    533 this license for certain libraries in order to permit linking those
    534 libraries into non-free programs.
    535 
    536   When a program is linked with a library, whether statically or using
    537 a shared library, the combination of the two is legally speaking a
    538 combined work, a derivative of the original library.  The ordinary
    539 General Public License therefore permits such linking only if the
    540 entire combination fits its criteria of freedom.  The Lesser General
    541 Public License permits more lax criteria for linking other code with
    542 the library.
    543 
    544   We call this license the "Lesser" General Public License because it
    545 does Less to protect the user's freedom than the ordinary General
    546 Public License.  It also provides other free software developers Less
    547 of an advantage over competing non-free programs.  These disadvantages
    548 are the reason we use the ordinary General Public License for many
    549 libraries.  However, the Lesser license provides advantages in certain
    550 special circumstances.
    551 
    552   For example, on rare occasions, there may be a special need to
    553 encourage the widest possible use of a certain library, so that it becomes
    554 a de-facto standard.  To achieve this, non-free programs must be
    555 allowed to use the library.  A more frequent case is that a free
    556 library does the same job as widely used non-free libraries.  In this
    557 case, there is little to gain by limiting the free library to free
    558 software only, so we use the Lesser General Public License.
    559 
    560   In other cases, permission to use a particular library in non-free
    561 programs enables a greater number of people to use a large body of
    562 free software.  For example, permission to use the GNU C Library in
    563 non-free programs enables many more people to use the whole GNU
    564 operating system, as well as its variant, the GNU/Linux operating
    565 system.
    566 
    567   Although the Lesser General Public License is Less protective of the
    568 users' freedom, it does ensure that the user of a program that is
    569 linked with the Library has the freedom and the wherewithal to run
    570 that program using a modified version of the Library.
    571 
    572   The precise terms and conditions for copying, distribution and
    573 modification follow.  Pay close attention to the difference between a
    574 "work based on the library" and a "work that uses the library".  The
    575 former contains code derived from the library, whereas the latter must
    576 be combined with the library in order to run.
    577 
    579           GNU LESSER GENERAL PUBLIC LICENSE
    580    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
    581 
    582   0. This License Agreement applies to any software library or other
    583 program which contains a notice placed by the copyright holder or
    584 other authorized party saying it may be distributed under the terms of
    585 this Lesser General Public License (also called "this License").
    586 Each licensee is addressed as "you".
    587 
    588   A "library" means a collection of software functions and/or data
    589 prepared so as to be conveniently linked with application programs
    590 (which use some of those functions and data) to form executables.
    591 
    592   The "Library", below, refers to any such software library or work
    593 which has been distributed under these terms.  A "work based on the
    594 Library" means either the Library or any derivative work under
    595 copyright law: that is to say, a work containing the Library or a
    596 portion of it, either verbatim or with modifications and/or translated
    597 straightforwardly into another language.  (Hereinafter, translation is
    598 included without limitation in the term "modification".)
    599 
    600   "Source code" for a work means the preferred form of the work for
    601 making modifications to it.  For a library, complete source code means
    602 all the source code for all modules it contains, plus any associated
    603 interface definition files, plus the scripts used to control compilation
    604 and installation of the library.
    605 
    606   Activities other than copying, distribution and modification are not
    607 covered by this License; they are outside its scope.  The act of
    608 running a program using the Library is not restricted, and output from
    609 such a program is covered only if its contents constitute a work based
    610 on the Library (independent of the use of the Library in a tool for
    611 writing it).  Whether that is true depends on what the Library does
    612 and what the program that uses the Library does.
    613 
    614   1. You may copy and distribute verbatim copies of the Library's
    615 complete source code as you receive it, in any medium, provided that
    616 you conspicuously and appropriately publish on each copy an
    617 appropriate copyright notice and disclaimer of warranty; keep intact
    618 all the notices that refer to this License and to the absence of any
    619 warranty; and distribute a copy of this License along with the
    620 Library.
    621 
    622   You may charge a fee for the physical act of transferring a copy,
    623 and you may at your option offer warranty protection in exchange for a
    624 fee.
    625 
    627   2. You may modify your copy or copies of the Library or any portion
    628 of it, thus forming a work based on the Library, and copy and
    629 distribute such modifications or work under the terms of Section 1
    630 above, provided that you also meet all of these conditions:
    631 
    632     a) The modified work must itself be a software library.
    633 
    634     b) You must cause the files modified to carry prominent notices
    635     stating that you changed the files and the date of any change.
    636 
    637     c) You must cause the whole of the work to be licensed at no
    638     charge to all third parties under the terms of this License.
    639 
    640     d) If a facility in the modified Library refers to a function or a
    641     table of data to be supplied by an application program that uses
    642     the facility, other than as an argument passed when the facility
    643     is invoked, then you must make a good faith effort to ensure that,
    644     in the event an application does not supply such function or
    645     table, the facility still operates, and performs whatever part of
    646     its purpose remains meaningful.
    647 
    648     (For example, a function in a library to compute square roots has
    649     a purpose that is entirely well-defined independent of the
    650     application.  Therefore, Subsection 2d requires that any
    651     application-supplied function or table used by this function must
    652     be optional: if the application does not supply it, the square
    653     root function must still compute square roots.)
    654 
    655 These requirements apply to the modified work as a whole.  If
    656 identifiable sections of that work are not derived from the Library,
    657 and can be reasonably considered independent and separate works in
    658 themselves, then this License, and its terms, do not apply to those
    659 sections when you distribute them as separate works.  But when you
    660 distribute the same sections as part of a whole which is a work based
    661 on the Library, the distribution of the whole must be on the terms of
    662 this License, whose permissions for other licensees extend to the
    663 entire whole, and thus to each and every part regardless of who wrote
    664 it.
    665 
    666 Thus, it is not the intent of this section to claim rights or contest
    667 your rights to work written entirely by you; rather, the intent is to
    668 exercise the right to control the distribution of derivative or
    669 collective works based on the Library.
    670 
    671 In addition, mere aggregation of another work not based on the Library
    672 with the Library (or with a work based on the Library) on a volume of
    673 a storage or distribution medium does not bring the other work under
    674 the scope of this License.
    675 
    676   3. You may opt to apply the terms of the ordinary GNU General Public
    677 License instead of this License to a given copy of the Library.  To do
    678 this, you must alter all the notices that refer to this License, so
    679 that they refer to the ordinary GNU General Public License, version 2,
    680 instead of to this License.  (If a newer version than version 2 of the
    681 ordinary GNU General Public License has appeared, then you can specify
    682 that version instead if you wish.)  Do not make any other change in
    683 these notices.
    684 
    686   Once this change is made in a given copy, it is irreversible for
    687 that copy, so the ordinary GNU General Public License applies to all
    688 subsequent copies and derivative works made from that copy.
    689 
    690   This option is useful when you wish to copy part of the code of
    691 the Library into a program that is not a library.
    692 
    693   4. You may copy and distribute the Library (or a portion or
    694 derivative of it, under Section 2) in object code or executable form
    695 under the terms of Sections 1 and 2 above provided that you accompany
    696 it with the complete corresponding machine-readable source code, which
    697 must be distributed under the terms of Sections 1 and 2 above on a
    698 medium customarily used for software interchange.
    699 
    700   If distribution of object code is made by offering access to copy
    701 from a designated place, then offering equivalent access to copy the
    702 source code from the same place satisfies the requirement to
    703 distribute the source code, even though third parties are not
    704 compelled to copy the source along with the object code.
    705 
    706   5. A program that contains no derivative of any portion of the
    707 Library, but is designed to work with the Library by being compiled or
    708 linked with it, is called a "work that uses the Library".  Such a
    709 work, in isolation, is not a derivative work of the Library, and
    710 therefore falls outside the scope of this License.
    711 
    712   However, linking a "work that uses the Library" with the Library
    713 creates an executable that is a derivative of the Library (because it
    714 contains portions of the Library), rather than a "work that uses the
    715 library".  The executable is therefore covered by this License.
    716 Section 6 states terms for distribution of such executables.
    717 
    718   When a "work that uses the Library" uses material from a header file
    719 that is part of the Library, the object code for the work may be a
    720 derivative work of the Library even though the source code is not.
    721 Whether this is true is especially significant if the work can be
    722 linked without the Library, or if the work is itself a library.  The
    723 threshold for this to be true is not precisely defined by law.
    724 
    725   If such an object file uses only numerical parameters, data
    726 structure layouts and accessors, and small macros and small inline
    727 functions (ten lines or less in length), then the use of the object
    728 file is unrestricted, regardless of whether it is legally a derivative
    729 work.  (Executables containing this object code plus portions of the
    730 Library will still fall under Section 6.)
    731 
    732   Otherwise, if the work is a derivative of the Library, you may
    733 distribute the object code for the work under the terms of Section 6.
    734 Any executables containing that work also fall under Section 6,
    735 whether or not they are linked directly with the Library itself.
    736 
    738   6. As an exception to the Sections above, you may also combine or
    739 link a "work that uses the Library" with the Library to produce a
    740 work containing portions of the Library, and distribute that work
    741 under terms of your choice, provided that the terms permit
    742 modification of the work for the customer's own use and reverse
    743 engineering for debugging such modifications.
    744 
    745   You must give prominent notice with each copy of the work that the
    746 Library is used in it and that the Library and its use are covered by
    747 this License.  You must supply a copy of this License.  If the work
    748 during execution displays copyright notices, you must include the
    749 copyright notice for the Library among them, as well as a reference
    750 directing the user to the copy of this License.  Also, you must do one
    751 of these things:
    752 
    753     a) Accompany the work with the complete corresponding
    754     machine-readable source code for the Library including whatever
    755     changes were used in the work (which must be distributed under
    756     Sections 1 and 2 above); and, if the work is an executable linked
    757     with the Library, with the complete machine-readable "work that
    758     uses the Library", as object code and/or source code, so that the
    759     user can modify the Library and then relink to produce a modified
    760     executable containing the modified Library.  (It is understood
    761     that the user who changes the contents of definitions files in the
    762     Library will not necessarily be able to recompile the application
    763     to use the modified definitions.)
    764 
    765     b) Use a suitable shared library mechanism for linking with the
    766     Library.  A suitable mechanism is one that (1) uses at run time a
    767     copy of the library already present on the user's computer system,
    768     rather than copying library functions into the executable, and (2)
    769     will operate properly with a modified version of the library, if
    770     the user installs one, as long as the modified version is
    771     interface-compatible with the version that the work was made with.
    772 
    773     c) Accompany the work with a written offer, valid for at
    774     least three years, to give the same user the materials
    775     specified in Subsection 6a, above, for a charge no more
    776     than the cost of performing this distribution.
    777 
    778     d) If distribution of the work is made by offering access to copy
    779     from a designated place, offer equivalent access to copy the above
    780     specified materials from the same place.
    781 
    782     e) Verify that the user has already received a copy of these
    783     materials or that you have already sent this user a copy.
    784 
    785   For an executable, the required form of the "work that uses the
    786 Library" must include any data and utility programs needed for
    787 reproducing the executable from it.  However, as a special exception,
    788 the materials to be distributed need not include anything that is
    789 normally distributed (in either source or binary form) with the major
    790 components (compiler, kernel, and so on) of the operating system on
    791 which the executable runs, unless that component itself accompanies
    792 the executable.
    793 
    794   It may happen that this requirement contradicts the license
    795 restrictions of other proprietary libraries that do not normally
    796 accompany the operating system.  Such a contradiction means you cannot
    797 use both them and the Library together in an executable that you
    798 distribute.
    799 
    801   7. You may place library facilities that are a work based on the
    802 Library side-by-side in a single library together with other library
    803 facilities not covered by this License, and distribute such a combined
    804 library, provided that the separate distribution of the work based on
    805 the Library and of the other library facilities is otherwise
    806 permitted, and provided that you do these two things:
    807 
    808     a) Accompany the combined library with a copy of the same work
    809     based on the Library, uncombined with any other library
    810     facilities.  This must be distributed under the terms of the
    811     Sections above.
    812 
    813     b) Give prominent notice with the combined library of the fact
    814     that part of it is a work based on the Library, and explaining
    815     where to find the accompanying uncombined form of the same work.
    816 
    817   8. You may not copy, modify, sublicense, link with, or distribute
    818 the Library except as expressly provided under this License.  Any
    819 attempt otherwise to copy, modify, sublicense, link with, or
    820 distribute the Library is void, and will automatically terminate your
    821 rights under this License.  However, parties who have received copies,
    822 or rights, from you under this License will not have their licenses
    823 terminated so long as such parties remain in full compliance.
    824 
    825   9. You are not required to accept this License, since you have not
    826 signed it.  However, nothing else grants you permission to modify or
    827 distribute the Library or its derivative works.  These actions are
    828 prohibited by law if you do not accept this License.  Therefore, by
    829 modifying or distributing the Library (or any work based on the
    830 Library), you indicate your acceptance of this License to do so, and
    831 all its terms and conditions for copying, distributing or modifying
    832 the Library or works based on it.
    833 
    834   10. Each time you redistribute the Library (or any work based on the
    835 Library), the recipient automatically receives a license from the
    836 original licensor to copy, distribute, link with or modify the Library
    837 subject to these terms and conditions.  You may not impose any further
    838 restrictions on the recipients' exercise of the rights granted herein.
    839 You are not responsible for enforcing compliance by third parties with
    840 this License.
    841 
    843   11. If, as a consequence of a court judgment or allegation of patent
    844 infringement or for any other reason (not limited to patent issues),
    845 conditions are imposed on you (whether by court order, agreement or
    846 otherwise) that contradict the conditions of this License, they do not
    847 excuse you from the conditions of this License.  If you cannot
    848 distribute so as to satisfy simultaneously your obligations under this
    849 License and any other pertinent obligations, then as a consequence you
    850 may not distribute the Library at all.  For example, if a patent
    851 license would not permit royalty-free redistribution of the Library by
    852 all those who receive copies directly or indirectly through you, then
    853 the only way you could satisfy both it and this License would be to
    854 refrain entirely from distribution of the Library.
    855 
    856 If any portion of this section is held invalid or unenforceable under any
    857 particular circumstance, the balance of the section is intended to apply,
    858 and the section as a whole is intended to apply in other circumstances.
    859 
    860 It is not the purpose of this section to induce you to infringe any
    861 patents or other property right claims or to contest validity of any
    862 such claims; this section has the sole purpose of protecting the
    863 integrity of the free software distribution system which is
    864 implemented by public license practices.  Many people have made
    865 generous contributions to the wide range of software distributed
    866 through that system in reliance on consistent application of that
    867 system; it is up to the author/donor to decide if he or she is willing
    868 to distribute software through any other system and a licensee cannot
    869 impose that choice.
    870 
    871 This section is intended to make thoroughly clear what is believed to
    872 be a consequence of the rest of this License.
    873 
    874   12. If the distribution and/or use of the Library is restricted in
    875 certain countries either by patents or by copyrighted interfaces, the
    876 original copyright holder who places the Library under this License may add
    877 an explicit geographical distribution limitation excluding those countries,
    878 so that distribution is permitted only in or among countries not thus
    879 excluded.  In such case, this License incorporates the limitation as if
    880 written in the body of this License.
    881 
    882   13. The Free Software Foundation may publish revised and/or new
    883 versions of the Lesser General Public License from time to time.
    884 Such new versions will be similar in spirit to the present version,
    885 but may differ in detail to address new problems or concerns.
    886 
    887 Each version is given a distinguishing version number.  If the Library
    888 specifies a version number of this License which applies to it and
    889 "any later version", you have the option of following the terms and
    890 conditions either of that version or of any later version published by
    891 the Free Software Foundation.  If the Library does not specify a
    892 license version number, you may choose any version ever published by
    893 the Free Software Foundation.
    894 
    896   14. If you wish to incorporate parts of the Library into other free
    897 programs whose distribution conditions are incompatible with these,
    898 write to the author to ask for permission.  For software which is
    899 copyrighted by the Free Software Foundation, write to the Free
    900 Software Foundation; we sometimes make exceptions for this.  Our
    901 decision will be guided by the two goals of preserving the free status
    902 of all derivatives of our free software and of promoting the sharing
    903 and reuse of software generally.
    904 
    905                 NO WARRANTY
    906 
    907   15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
    908 WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
    909 EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
    910 OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
    911 KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
    912 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
    913 PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
    914 LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
    915 THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
    916 
    917   16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
    918 WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
    919 AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
    920 FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
    921 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
    922 LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
    923 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
    924 FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
    925 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
    926 DAMAGES.
    927 
    928              END OF TERMS AND CONDITIONS
    929 
    931            How to Apply These Terms to Your New Libraries
    932 
    933   If you develop a new library, and you want it to be of the greatest
    934 possible use to the public, we recommend making it free software that
    935 everyone can redistribute and change.  You can do so by permitting
    936 redistribution under these terms (or, alternatively, under the terms of the
    937 ordinary General Public License).
    938 
    939   To apply these terms, attach the following notices to the library.  It is
    940 safest to attach them to the start of each source file to most effectively
    941 convey the exclusion of warranty; and each file should have at least the
    942 "copyright" line and a pointer to where the full notice is found.
    943 
    944     <one line to give the library's name and a brief idea of what it does.>
    945     Copyright (C) <year>  <name of author>
    946 
    947     This library is free software; you can redistribute it and/or
    948     modify it under the terms of the GNU Lesser General Public
    949     License as published by the Free Software Foundation; either
    950     version 2.1 of the License, or (at your option) any later version.
    951 
    952     This library is distributed in the hope that it will be useful,
    953     but WITHOUT ANY WARRANTY; without even the implied warranty of
    954     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    955     Lesser General Public License for more details.
    956 
    957     You should have received a copy of the GNU Lesser General Public
    958     License along with this library; if not, write to the Free Software
    959     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
    960 
    961 Also add information on how to contact you by electronic and paper mail.
    962 
    963 You should also get your employer (if you work as a programmer) or your
    964 school, if any, to sign a "copyright disclaimer" for the library, if
    965 necessary.  Here is a sample; alter the names:
    966 
    967   Yoyodyne, Inc., hereby disclaims all copyright interest in the
    968   library `Frob' (a library for tweaking knobs) written by James Random Hacker.
    969 
    970   <signature of Ty Coon>, 1 April 1990
    971   Ty Coon, President of Vice
    972 
    973 That's all there is to it!
    974