home *** CD-ROM | disk | FTP | other *** search
/ ftp.secyt.gov.ar / 2014.06.ftp.secyt.gov.ar.tar / ftp.secyt.gov.ar / infoconicet / incent_tomcat.tar.gz / incent_tomcat.tar / usr / local / tomcat / LICENSE < prev    next >
Text File  |  2011-11-28  |  38KB  |  707 lines

  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. APACHE TOMCAT SUBCOMPONENTS: 
  207.  
  208. Apache Tomcat includes a number of subcomponents with separate copyright notices
  209. and license terms. Your use of these subcomponents is subject to the terms and
  210. conditions of the following licenses. 
  211.  
  212.  
  213. For the Eclipse JDT Java compiler:
  214.  
  215. Eclipse Public License - v 1.0
  216.  
  217. THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC
  218. LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM
  219. CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
  220.  
  221. 1. DEFINITIONS
  222.  
  223. "Contribution" means:
  224.  
  225. a) in the case of the initial Contributor, the initial code and documentation
  226. distributed under this Agreement, and
  227.  
  228. b) in the case of each subsequent Contributor:
  229.  
  230. i) changes to the Program, and
  231.  
  232. ii) additions to the Program;
  233.  
  234. where such changes and/or additions to the Program originate from and are
  235. distributed by that particular Contributor. A Contribution 'originates' from a
  236. Contributor if it was added to the Program by such Contributor itself or anyone
  237. acting on such Contributor's behalf. Contributions do not include additions to
  238. the Program which: (i) are separate modules of software distributed in
  239. conjunction with the Program under their own license agreement, and (ii) are not
  240. derivative works of the Program.
  241.  
  242. "Contributor" means any person or entity that distributes the Program.
  243.  
  244. "Licensed Patents" mean patent claims licensable by a Contributor which are
  245. necessarily infringed by the use or sale of its Contribution alone or when
  246. combined with the Program.
  247.  
  248. "Program" means the Contributions distributed in accordance with this Agreement.
  249.  
  250. "Recipient" means anyone who receives the Program under this Agreement,
  251. including all Contributors.
  252.  
  253. 2. GRANT OF RIGHTS
  254.  
  255. a) Subject to the terms of this Agreement, each Contributor hereby grants
  256. Recipient a non-exclusive, worldwide, royalty-free copyright license to
  257. reproduce, prepare derivative works of, publicly display, publicly perform,
  258. distribute and sublicense the Contribution of such Contributor, if any, and such
  259. derivative works, in source code and object code form.
  260.  
  261. b) Subject to the terms of this Agreement, each Contributor hereby grants
  262. Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed
  263. Patents to make, use, sell, offer to sell, import and otherwise transfer the
  264. Contribution of such Contributor, if any, in source code and object code form.
  265. This patent license shall apply to the combination of the Contribution and the
  266. Program if, at the time the Contribution is added by the Contributor, such
  267. addition of the Contribution causes such combination to be covered by the
  268. Licensed Patents. The patent license shall not apply to any other combinations
  269. which include the Contribution. No hardware per se is licensed hereunder.
  270.  
  271. c) Recipient understands that although each Contributor grants the licenses to
  272. its Contributions set forth herein, no assurances are provided by any
  273. Contributor that the Program does not infringe the patent or other intellectual
  274. property rights of any other entity. Each Contributor disclaims any liability to
  275. Recipient for claims brought by any other entity based on infringement of
  276. intellectual property rights or otherwise. As a condition to exercising the
  277. rights and licenses granted hereunder, each Recipient hereby assumes sole
  278. responsibility to secure any other intellectual property rights needed, if any.
  279. For example, if a third party patent license is required to allow Recipient to
  280. distribute the Program, it is Recipient's responsibility to acquire that license
  281. before distributing the Program.
  282.  
  283. d) Each Contributor represents that to its knowledge it has sufficient copyright
  284. rights in its Contribution, if any, to grant the copyright license set forth in
  285. this Agreement.
  286.  
  287. 3. REQUIREMENTS
  288.  
  289. A Contributor may choose to distribute the Program in object code form under its
  290. own license agreement, provided that:
  291.  
  292. a) it complies with the terms and conditions of this Agreement; and
  293.  
  294. b) its license agreement:
  295.  
  296. i) effectively disclaims on behalf of all Contributors all warranties and
  297. conditions, express and implied, including warranties or conditions of title and
  298. non-infringement, and implied warranties or conditions of merchantability and
  299. fitness for a particular purpose;
  300.  
  301. ii) effectively excludes on behalf of all Contributors all liability for
  302. damages, including direct, indirect, special, incidental and consequential
  303. damages, such as lost profits;
  304.  
  305. iii) states that any provisions which differ from this Agreement are offered by
  306. that Contributor alone and not by any other party; and
  307.  
  308. iv) states that source code for the Program is available from such Contributor,
  309. and informs licensees how to obtain it in a reasonable manner on or through a
  310. medium customarily used for software exchange.
  311.  
  312. When the Program is made available in source code form:
  313.  
  314. a) it must be made available under this Agreement; and
  315.  
  316. b) a copy of this Agreement must be included with each copy of the Program.
  317.  
  318. Contributors may not remove or alter any copyright notices contained within the
  319. Program.
  320.  
  321. Each Contributor must identify itself as the originator of its Contribution, if
  322. any, in a manner that reasonably allows subsequent Recipients to identify the
  323. originator of the Contribution.
  324.  
  325. 4. COMMERCIAL DISTRIBUTION
  326.  
  327. Commercial distributors of software may accept certain responsibilities with
  328. respect to end users, business partners and the like. While this license is
  329. intended to facilitate the commercial use of the Program, the Contributor who
  330. includes the Program in a commercial product offering should do so in a manner
  331. which does not create potential liability for other Contributors. Therefore, if
  332. a Contributor includes the Program in a commercial product offering, such
  333. Contributor ("Commercial Contributor") hereby agrees to defend and indemnify
  334. every other Contributor ("Indemnified Contributor") against any losses, damages
  335. and costs (collectively "Losses") arising from claims, lawsuits and other legal
  336. actions brought by a third party against the Indemnified Contributor to the
  337. extent caused by the acts or omissions of such Commercial Contributor in
  338. connection with its distribution of the Program in a commercial product
  339. offering. The obligations in this section do not apply to any claims or Losses
  340. relating to any actual or alleged intellectual property infringement. In order
  341. to qualify, an Indemnified Contributor must: a) promptly notify the Commercial
  342. Contributor in writing of such claim, and b) allow the Commercial Contributor
  343. to control, and cooperate with the Commercial Contributor in, the defense and
  344. any related settlement negotiations. The Indemnified Contributor may
  345. participate in any such claim at its own expense.
  346.  
  347. For example, a Contributor might include the Program in a commercial product
  348. offering, Product X. That Contributor is then a Commercial Contributor. If that
  349. Commercial Contributor then makes performance claims, or offers warranties
  350. related to Product X, those performance claims and warranties are such
  351. Commercial Contributor's responsibility alone. Under this section, the
  352. Commercial Contributor would have to defend claims against the other
  353. Contributors related to those performance claims and warranties, and if a court
  354. requires any other Contributor to pay any damages as a result, the Commercial
  355. Contributor must pay those damages.
  356.  
  357. 5. NO WARRANTY
  358.  
  359. EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN
  360. "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR
  361. IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE,
  362. NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each
  363. Recipient is solely responsible for determining the appropriateness of using and
  364. distributing the Program and assumes all risks associated with its exercise of
  365. rights under this Agreement , including but not limited to the risks and costs
  366. of program errors, compliance with applicable laws, damage to or loss of data,
  367. programs or equipment, and unavailability or interruption of operations.
  368.  
  369. 6. DISCLAIMER OF LIABILITY
  370.  
  371. EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY
  372. CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  373. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST
  374. PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  375. STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  376. OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS
  377. GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
  378.  
  379. 7. GENERAL
  380.  
  381. If any provision of this Agreement is invalid or unenforceable under applicable
  382. law, it shall not affect the validity or enforceability of the remainder of the
  383. terms of this Agreement, and without further action by the parties hereto, such
  384. provision shall be reformed to the minimum extent necessary to make such
  385. provision valid and enforceable.
  386.  
  387. If Recipient institutes patent litigation against any entity (including a
  388. cross-claim or counterclaim in a lawsuit) alleging that the Program itself
  389. (excluding combinations of the Program with other software or hardware)
  390. infringes such Recipient's patent(s), then such Recipient's rights granted under
  391. Section 2(b) shall terminate as of the date such litigation is filed.
  392.  
  393. All Recipient's rights under this Agreement shall terminate if it fails to
  394. comply with any of the material terms or conditions of this Agreement and does
  395. not cure such failure in a reasonable period of time after becoming aware of
  396. such noncompliance. If all Recipient's rights under this Agreement terminate,
  397. Recipient agrees to cease use and distribution of the Program as soon as
  398. reasonably practicable. However, Recipient's obligations under this Agreement
  399. and any licenses granted by Recipient relating to the Program shall continue and
  400. survive.
  401.  
  402. Everyone is permitted to copy and distribute copies of this Agreement, but in
  403. order to avoid inconsistency the Agreement is copyrighted and may only be
  404. modified in the following manner. The Agreement Steward reserves the right to
  405. publish new versions (including revisions) of this Agreement from time to time.
  406. No one other than the Agreement Steward has the right to modify this Agreement.
  407. The Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation
  408. may assign the responsibility to serve as the Agreement Steward to a suitable
  409. separate entity. Each new version of the Agreement will be given a
  410. distinguishing version number. The Program (including Contributions) may always
  411. be distributed subject to the version of the Agreement under which it was
  412. received. In addition, after a new version of the Agreement is published,
  413. Contributor may elect to distribute the Program (including its Contributions)
  414. under the new version. Except as expressly stated in Sections 2(a) and 2(b)
  415. above, Recipient receives no rights or licenses to the intellectual property of
  416. any Contributor under this Agreement, whether expressly, by implication,
  417. estoppel or otherwise. All rights in the Program not expressly granted under
  418. this Agreement are reserved.
  419.  
  420. This Agreement is governed by the laws of the State of New York and the
  421. intellectual property laws of the United States of America. No party to this
  422. Agreement will bring a legal action under this Agreement more than one year
  423. after the cause of action arose. Each party waives its rights to a jury trial in
  424. any resulting litigation.
  425.  
  426.  
  427. For the Windows Installer component:
  428.  
  429.     * All NSIS source code, plug-ins, documentation, examples, header files and
  430.        graphics, with the exception of the compression modules and where
  431.        otherwise noted, are licensed under the zlib/libpng license.
  432.     * The zlib compression module for NSIS is licensed under the zlib/libpng
  433.        license.
  434.     * The bzip2 compression module for NSIS is licensed under the bzip2 license.
  435.     * The lzma compression module for NSIS is licensed under the Common Public
  436.        License version 1.0. 
  437.  
  438. zlib/libpng license
  439.  
  440. This software is provided 'as-is', without any express or implied warranty. In
  441. no event will the authors be held liable for any damages arising from the use of
  442. this software.
  443.  
  444. Permission is granted to anyone to use this software for any purpose, including
  445. commercial applications, and to alter it and redistribute it freely, subject to
  446. the following restrictions:
  447.  
  448.    1. The origin of this software must not be misrepresented; you must not claim
  449.        that you wrote the original software. If you use this software in a
  450.        product, an acknowledgment in the product documentation would be
  451.        appreciated but is not required.
  452.    2. Altered source versions must be plainly marked as such, and must not be
  453.        misrepresented as being the original software.
  454.    3. This notice may not be removed or altered from any source distribution. 
  455.  
  456. bzip2 license
  457.  
  458. Redistribution and use in source and binary forms, with or without modification,
  459. are permitted provided that the following conditions are met:
  460.  
  461.    1. Redistributions of source code must retain the above copyright notice,
  462.        this list of conditions and the following disclaimer.
  463.    2. The origin of this software must not be misrepresented; you must not claim
  464.        that you wrote the original software. If you use this software in a
  465.        product, an acknowledgment in the product documentation would be
  466.        appreciated but is not required.
  467.    3. Altered source versions must be plainly marked as such, and must not be
  468.        misrepresented as being the original software.
  469.    4. The name of the author may not be used to endorse or promote products
  470.        derived from this software without specific prior written permission. 
  471.  
  472. THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS AND ANY EXPRESS OR IMPLIED
  473. WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  474. MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
  475. SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
  476. EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
  477. OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  478. INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
  479. CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
  480. IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
  481. OF SUCH DAMAGE.
  482.  
  483. Julian Seward, Cambridge, UK.
  484.  
  485. jseward@acm.org
  486. Common Public License version 1.0
  487.  
  488. THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC
  489. LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM
  490. CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
  491.  
  492. 1. DEFINITIONS
  493.  
  494. "Contribution" means:
  495.  
  496. a) in the case of the initial Contributor, the initial code and documentation
  497. distributed under this Agreement, and b) in the case of each subsequent
  498. Contributor:
  499.  
  500. i) changes to the Program, and
  501.  
  502. ii) additions to the Program;
  503.  
  504. where such changes and/or additions to the Program originate from and are
  505. distributed by that particular Contributor. A Contribution 'originates' from a
  506. Contributor if it was added to the Program by such Contributor itself or anyone
  507. acting on such Contributor's behalf. Contributions do not include additions to
  508. the Program which: (i) are separate modules of software distributed in
  509. conjunction with the Program under their own license agreement, and (ii) are not
  510. derivative works of the Program.
  511.  
  512. "Contributor" means any person or entity that distributes the Program.
  513.  
  514. "Licensed Patents " mean patent claims licensable by a Contributor which are
  515. necessarily infringed by the use or sale of its Contribution alone or when
  516. combined with the Program.
  517.  
  518. "Program" means the Contributions distributed in accordance with this Agreement.
  519.  
  520. "Recipient" means anyone who receives the Program under this Agreement,
  521. including all Contributors.
  522.  
  523. 2. GRANT OF RIGHTS
  524.  
  525. a) Subject to the terms of this Agreement, each Contributor hereby grants
  526. Recipient a non-exclusive, worldwide, royalty-free copyright license to
  527. reproduce, prepare derivative works of, publicly display, publicly perform,
  528. distribute and sublicense the Contribution of such Contributor, if any, and such
  529. derivative works, in source code and object code form.
  530.  
  531. b) Subject to the terms of this Agreement, each Contributor hereby grants
  532. Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed
  533. Patents to make, use, sell, offer to sell, import and otherwise transfer the
  534. Contribution of such Contributor, if any, in source code and object code form.
  535. This patent license shall apply to the combination of the Contribution and the
  536. Program if, at the time the Contribution is added by the Contributor, such
  537. addition of the Contribution causes such combination to be covered by the
  538. Licensed Patents. The patent license shall not apply to any other combinations
  539. which include the Contribution. No hardware per se is licensed hereunder.
  540.  
  541. c) Recipient understands that although each Contributor grants the licenses to
  542. its Contributions set forth herein, no assurances are provided by any
  543. Contributor that the Program does not infringe the patent or other intellectual
  544. property rights of any other entity. Each Contributor disclaims any liability to
  545. Recipient for claims brought by any other entity based on infringement of
  546. intellectual property rights or otherwise. As a condition to exercising the
  547. rights and licenses granted hereunder, each Recipient hereby assumes sole
  548. responsibility to secure any other intellectual property rights needed, if any.
  549. For example, if a third party patent license is required to allow Recipient to
  550. distribute the Program, it is Recipient's responsibility to acquire that license
  551. before distributing the Program.
  552.  
  553. d) Each Contributor represents that to its knowledge it has sufficient copyright
  554. rights in its Contribution, if any, to grant the copyright license set forth in
  555. this Agreement.
  556.  
  557. 3. REQUIREMENTS
  558.  
  559. A Contributor may choose to distribute the Program in object code form under its
  560. own license agreement, provided that:
  561.  
  562. a) it complies with the terms and conditions of this Agreement; and
  563.  
  564. b) its license agreement:
  565.  
  566. i) effectively disclaims on behalf of all Contributors all warranties and
  567. conditions, express and implied, including warranties or conditions of title and
  568. non-infringement, and implied warranties or conditions of merchantability and
  569. fitness for a particular purpose;
  570.  
  571. ii) effectively excludes on behalf of all Contributors all liability for
  572. damages, including direct, indirect, special, incidental and consequential
  573. damages, such as lost profits;
  574.  
  575. iii) states that any provisions which differ from this Agreement are offered by
  576. that Contributor alone and not by any other party; and
  577.  
  578. iv) states that source code for the Program is available from such Contributor,
  579. and informs licensees how to obtain it in a reasonable manner on or through a
  580. medium customarily used for software exchange.
  581.  
  582. When the Program is made available in source code form:
  583.  
  584. a) it must be made available under this Agreement; and
  585.  
  586. b) a copy of this Agreement must be included with each copy of the Program.
  587.  
  588. Contributors may not remove or alter any copyright notices contained within the
  589. Program.
  590.  
  591. Each Contributor must identify itself as the originator of its Contribution, if
  592. any, in a manner that reasonably allows subsequent Recipients to identify the
  593. originator of the Contribution.
  594.  
  595. 4. COMMERCIAL DISTRIBUTION
  596.  
  597. Commercial distributors of software may accept certain responsibilities with
  598. respect to end users, business partners and the like. While this license is
  599. intended to facilitate the commercial use of the Program, the Contributor who
  600. includes the Program in a commercial product offering should do so in a manner
  601. which does not create potential liability for other Contributors. Therefore, if
  602. a Contributor includes the Program in a commercial product offering, such
  603. Contributor ("Commercial Contributor") hereby agrees to defend and indemnify
  604. every other Contributor ("Indemnified Contributor") against any losses, damages
  605. and costs (collectively "Losses") arising from claims, lawsuits and other legal
  606. actions brought by a third party against the Indemnified Contributor to the
  607. extent caused by the acts or omissions of such Commercial Contributor in
  608. connection with its distribution of the Program in a commercial product
  609. offering. The obligations in this section do not apply to any claims or Losses
  610. relating to any actual or alleged intellectual property infringement. In order
  611. to qualify, an Indemnified Contributor must: a) promptly notify the Commercial
  612. Contributor in writing of such claim, and b) allow the Commercial Contributor to
  613. control, and cooperate with the Commercial Contributor in, the defense and any
  614. related settlement negotiations. The Indemnified Contributor may participate in
  615. any such claim at its own expense.
  616.  
  617. For example, a Contributor might include the Program in a commercial product
  618. offering, Product X. That Contributor is then a Commercial Contributor. If that
  619. Commercial Contributor then makes performance claims, or offers warranties
  620. related to Product X, those performance claims and warranties are such
  621. Commercial Contributor's responsibility alone. Under this section, the
  622. Commercial Contributor would have to defend claims against the other
  623. Contributors related to those performance claims and warranties, and if a court
  624. requires any other Contributor to pay any damages as a result, the Commercial
  625. Contributor must pay those damages.
  626.  
  627. 5. NO WARRANTY
  628.  
  629. EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN
  630. "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR
  631. IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE,
  632. NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each
  633. Recipient is solely responsible for determining the appropriateness of using and
  634. distributing the Program and assumes all risks associated with its exercise of
  635. rights under this Agreement, including but not limited to the risks and costs of
  636. program errors, compliance with applicable laws, damage to or loss of data,
  637. programs or equipment, and unavailability or interruption of operations.
  638.  
  639. 6. DISCLAIMER OF LIABILITY
  640.  
  641. EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY
  642. CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  643. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST
  644. PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  645. STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  646. OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS
  647. GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
  648.  
  649. 7. GENERAL
  650.  
  651. If any provision of this Agreement is invalid or unenforceable under applicable
  652. law, it shall not affect the validity or enforceability of the remainder of the
  653. terms of this Agreement, and without further action by the parties hereto, such
  654. provision shall be reformed to the minimum extent necessary to make such
  655. provision valid and enforceable.
  656.  
  657. If Recipient institutes patent litigation against a Contributor with respect to
  658. a patent applicable to software (including a cross-claim or counterclaim in a
  659. lawsuit), then any patent licenses granted by that Contributor to such Recipient
  660. under this Agreement shall terminate as of the date such litigation is filed. In
  661. addition, if Recipient institutes patent litigation against any entity
  662. (including a cross-claim or counterclaim in a lawsuit) alleging that the Program
  663. itself (excluding combinations of the Program with other software or hardware)
  664. infringes such Recipient's patent(s), then such Recipient's rights granted under
  665. Section 2(b) shall terminate as of the date such litigation is filed.
  666.  
  667. All Recipient's rights under this Agreement shall terminate if it fails to
  668. comply with any of the material terms or conditions of this Agreement and does
  669. not cure such failure in a reasonable period of time after becoming aware of
  670. such noncompliance. If all Recipient's rights under this Agreement terminate,
  671. Recipient agrees to cease use and distribution of the Program as soon as
  672. reasonably practicable. However, Recipient's obligations under this Agreement
  673. and any licenses granted by Recipient relating to the Program shall continue and
  674. survive.
  675.  
  676. Everyone is permitted to copy and distribute copies of this Agreement, but in
  677. order to avoid inconsistency the Agreement is copyrighted and may only be
  678. modified in the following manner. The Agreement Steward reserves the right to
  679. publish new versions (including revisions) of this Agreement from time to time.
  680. No one other than the Agreement Steward has the right to modify this Agreement.
  681. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve
  682. as the Agreement Steward to a suitable separate entity. Each new version of the
  683. Agreement will be given a distinguishing version number. The Program (including
  684. Contributions) may always be distributed subject to the version of the Agreement
  685. under which it was received. In addition, after a new version of the Agreement
  686. is published, Contributor may elect to distribute the Program (including its
  687. Contributions) under the new version. Except as expressly stated in Sections
  688. 2(a) and 2(b) above, Recipient receives no rights or licenses to the
  689. intellectual property of any Contributor under this Agreement, whether
  690. expressly, by implication, estoppel or otherwise. All rights in the Program not
  691. expressly granted under this Agreement are reserved.
  692.  
  693. This Agreement is governed by the laws of the State of New York and the
  694. intellectual property laws of the United States of America. No party to this
  695. Agreement will bring a legal action under this Agreement more than one year
  696. after the cause of action arose. Each party waives its rights to a jury trial in
  697. any resulting litigation.
  698.  
  699. Special exception for LZMA compression module
  700.  
  701. Igor Pavlov and Amir Szekely, the authors of the LZMA compression module for
  702. NSIS, expressly permit you to statically or dynamically link your code (or bind
  703. by name) to the files from the LZMA compression module for NSIS without
  704. subjecting your linked code to the terms of the Common Public license version
  705. 1.0. Any modifications or additions to files from the LZMA compression module
  706. for NSIS, however, are subject to the terms of the Common Public License version
  707. 1.0.