xref: /titanic_51/usr/src/contrib/ast/LICENSE (revision b4dd7d09880f14016feece03929a224eca1cf39a)
1*b4dd7d09SAndy FiddamanEclipse Public License - v 1.0
2*b4dd7d09SAndy Fiddaman
3*b4dd7d09SAndy FiddamanTHE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC
4*b4dd7d09SAndy FiddamanLICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM
5*b4dd7d09SAndy FiddamanCONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
6*b4dd7d09SAndy Fiddaman
7*b4dd7d09SAndy Fiddaman   1. DEFINITIONS
8*b4dd7d09SAndy Fiddaman
9*b4dd7d09SAndy Fiddaman   "Contribution" means:
10*b4dd7d09SAndy Fiddaman
11*b4dd7d09SAndy Fiddamana) in the case of the initial Contributor, the initial code and documentation
12*b4dd7d09SAndy Fiddamandistributed under this Agreement, and
13*b4dd7d09SAndy Fiddaman
14*b4dd7d09SAndy Fiddaman      b) in the case of each subsequent Contributor:
15*b4dd7d09SAndy Fiddaman
16*b4dd7d09SAndy Fiddaman         i) changes to the Program, and
17*b4dd7d09SAndy Fiddaman
18*b4dd7d09SAndy Fiddaman         ii) additions to the Program;
19*b4dd7d09SAndy Fiddaman
20*b4dd7d09SAndy Fiddamanwhere such changes and/or additions to the Program originate from and are
21*b4dd7d09SAndy Fiddamandistributed by that particular Contributor. A Contribution 'originates' from
22*b4dd7d09SAndy Fiddamana Contributor if it was added to the Program by such Contributor itself or
23*b4dd7d09SAndy Fiddamananyone acting on such Contributor's behalf. Contributions do not include additions
24*b4dd7d09SAndy Fiddamanto the Program which: (i) are separate modules of software distributed in
25*b4dd7d09SAndy Fiddamanconjunction with the Program under their own license agreement, and (ii) are
26*b4dd7d09SAndy Fiddamannot derivative works of the Program.
27*b4dd7d09SAndy Fiddaman
28*b4dd7d09SAndy Fiddaman   "Contributor" means any person or entity that distributes the Program.
29*b4dd7d09SAndy Fiddaman
30*b4dd7d09SAndy Fiddaman"Licensed Patents" mean patent claims licensable by a Contributor which are
31*b4dd7d09SAndy Fiddamannecessarily infringed by the use or sale of its Contribution alone or when
32*b4dd7d09SAndy Fiddamancombined with the Program.
33*b4dd7d09SAndy Fiddaman
34*b4dd7d09SAndy Fiddaman"Program" means the Contributions distributed in accordance with this Agreement.
35*b4dd7d09SAndy Fiddaman
36*b4dd7d09SAndy Fiddaman"Recipient" means anyone who receives the Program under this Agreement, including
37*b4dd7d09SAndy Fiddamanall Contributors.
38*b4dd7d09SAndy Fiddaman
39*b4dd7d09SAndy Fiddaman   2. GRANT OF RIGHTS
40*b4dd7d09SAndy Fiddaman
41*b4dd7d09SAndy Fiddamana) Subject to the terms of this Agreement, each Contributor hereby grants
42*b4dd7d09SAndy FiddamanRecipient a non-exclusive, worldwide, royalty-free copyright license to reproduce,
43*b4dd7d09SAndy Fiddamanprepare derivative works of, publicly display, publicly perform, distribute
44*b4dd7d09SAndy Fiddamanand sublicense the Contribution of such Contributor, if any, and such derivative
45*b4dd7d09SAndy Fiddamanworks, in source code and object code form.
46*b4dd7d09SAndy Fiddaman
47*b4dd7d09SAndy Fiddamanb) Subject to the terms of this Agreement, each Contributor hereby grants
48*b4dd7d09SAndy FiddamanRecipient a non-exclusive, worldwide, royalty-free patent license under Licensed
49*b4dd7d09SAndy FiddamanPatents to make, use, sell, offer to sell, import and otherwise transfer the
50*b4dd7d09SAndy FiddamanContribution of such Contributor, if any, in source code and object code form.
51*b4dd7d09SAndy FiddamanThis patent license shall apply to the combination of the Contribution and
52*b4dd7d09SAndy Fiddamanthe Program if, at the time the Contribution is added by the Contributor,
53*b4dd7d09SAndy Fiddamansuch addition of the Contribution causes such combination to be covered by
54*b4dd7d09SAndy Fiddamanthe Licensed Patents. The patent license shall not apply to any other combinations
55*b4dd7d09SAndy Fiddamanwhich include the Contribution. No hardware per se is licensed hereunder.
56*b4dd7d09SAndy Fiddaman
57*b4dd7d09SAndy Fiddamanc) Recipient understands that although each Contributor grants the licenses
58*b4dd7d09SAndy Fiddamanto its Contributions set forth herein, no assurances are provided by any Contributor
59*b4dd7d09SAndy Fiddamanthat the Program does not infringe the patent or other intellectual property
60*b4dd7d09SAndy Fiddamanrights of any other entity. Each Contributor disclaims any liability to Recipient
61*b4dd7d09SAndy Fiddamanfor claims brought by any other entity based on infringement of intellectual
62*b4dd7d09SAndy Fiddamanproperty rights or otherwise. As a condition to exercising the rights and
63*b4dd7d09SAndy Fiddamanlicenses granted hereunder, each Recipient hereby assumes sole responsibility
64*b4dd7d09SAndy Fiddamanto secure any other intellectual property rights needed, if any. For example,
65*b4dd7d09SAndy Fiddamanif a third party patent license is required to allow Recipient to distribute
66*b4dd7d09SAndy Fiddamanthe Program, it is Recipient's responsibility to acquire that license before
67*b4dd7d09SAndy Fiddamandistributing the Program.
68*b4dd7d09SAndy Fiddaman
69*b4dd7d09SAndy Fiddamand) Each Contributor represents that to its knowledge it has sufficient copyright
70*b4dd7d09SAndy Fiddamanrights in its Contribution, if any, to grant the copyright license set forth
71*b4dd7d09SAndy Fiddamanin this Agreement.
72*b4dd7d09SAndy Fiddaman
73*b4dd7d09SAndy Fiddaman   3. REQUIREMENTS
74*b4dd7d09SAndy Fiddaman
75*b4dd7d09SAndy FiddamanA Contributor may choose to distribute the Program in object code form under
76*b4dd7d09SAndy Fiddamanits own license agreement, provided that:
77*b4dd7d09SAndy Fiddaman
78*b4dd7d09SAndy Fiddaman      a) it complies with the terms and conditions of this Agreement; and
79*b4dd7d09SAndy Fiddaman
80*b4dd7d09SAndy Fiddaman      b) its license agreement:
81*b4dd7d09SAndy Fiddaman
82*b4dd7d09SAndy Fiddamani) effectively disclaims on behalf of all Contributors all warranties and
83*b4dd7d09SAndy Fiddamanconditions, express and implied, including warranties or conditions of title
84*b4dd7d09SAndy Fiddamanand non-infringement, and implied warranties or conditions of merchantability
85*b4dd7d09SAndy Fiddamanand fitness for a particular purpose;
86*b4dd7d09SAndy Fiddaman
87*b4dd7d09SAndy Fiddamanii) effectively excludes on behalf of all Contributors all liability for damages,
88*b4dd7d09SAndy Fiddamanincluding direct, indirect, special, incidental and consequential damages,
89*b4dd7d09SAndy Fiddamansuch as lost profits;
90*b4dd7d09SAndy Fiddaman
91*b4dd7d09SAndy Fiddamaniii) states that any provisions which differ from this Agreement are offered
92*b4dd7d09SAndy Fiddamanby that Contributor alone and not by any other party; and
93*b4dd7d09SAndy Fiddaman
94*b4dd7d09SAndy Fiddamaniv) states that source code for the Program is available from such Contributor,
95*b4dd7d09SAndy Fiddamanand informs licensees how to obtain it in a reasonable manner on or through
96*b4dd7d09SAndy Fiddamana medium customarily used for software exchange.
97*b4dd7d09SAndy Fiddaman
98*b4dd7d09SAndy Fiddaman   When the Program is made available in source code form:
99*b4dd7d09SAndy Fiddaman
100*b4dd7d09SAndy Fiddaman      a) it must be made available under this Agreement; and
101*b4dd7d09SAndy Fiddaman
102*b4dd7d09SAndy Fiddamanb) a copy of this Agreement must be included with each copy of the Program.
103*b4dd7d09SAndy Fiddaman
104*b4dd7d09SAndy FiddamanContributors may not remove or alter any copyright notices contained within
105*b4dd7d09SAndy Fiddamanthe Program.
106*b4dd7d09SAndy Fiddaman
107*b4dd7d09SAndy FiddamanEach Contributor must identify itself as the originator of its Contribution,
108*b4dd7d09SAndy Fiddamanif any, in a manner that reasonably allows subsequent Recipients to identify
109*b4dd7d09SAndy Fiddamanthe originator of the Contribution.
110*b4dd7d09SAndy Fiddaman
111*b4dd7d09SAndy Fiddaman   4. COMMERCIAL DISTRIBUTION
112*b4dd7d09SAndy Fiddaman
113*b4dd7d09SAndy FiddamanCommercial distributors of software may accept certain responsibilities with
114*b4dd7d09SAndy Fiddamanrespect to end users, business partners and the like. While this license is
115*b4dd7d09SAndy Fiddamanintended to facilitate the commercial use of the Program, the Contributor
116*b4dd7d09SAndy Fiddamanwho includes the Program in a commercial product offering should do so in
117*b4dd7d09SAndy Fiddamana manner which does not create potential liability for other Contributors.
118*b4dd7d09SAndy FiddamanTherefore, if a Contributor includes the Program in a commercial product offering,
119*b4dd7d09SAndy Fiddamansuch Contributor ("Commercial Contributor") hereby agrees to defend and indemnify
120*b4dd7d09SAndy Fiddamanevery other Contributor ("Indemnified Contributor") against any losses, damages
121*b4dd7d09SAndy Fiddamanand costs (collectively "Losses") arising from claims, lawsuits and other
122*b4dd7d09SAndy Fiddamanlegal actions brought by a third party against the Indemnified Contributor
123*b4dd7d09SAndy Fiddamanto the extent caused by the acts or omissions of such Commercial Contributor
124*b4dd7d09SAndy Fiddamanin connection with its distribution of the Program in a commercial product
125*b4dd7d09SAndy Fiddamanoffering. The obligations in this section do not apply to any claims or Losses
126*b4dd7d09SAndy Fiddamanrelating to any actual or alleged intellectual property infringement. In order
127*b4dd7d09SAndy Fiddamanto qualify, an Indemnified Contributor must: a) promptly notify the Commercial
128*b4dd7d09SAndy FiddamanContributor in writing of such claim, and b) allow the Commercial Contributor
129*b4dd7d09SAndy Fiddamanto control, and cooperate with the Commercial Contributor in, the defense
130*b4dd7d09SAndy Fiddamanand any related settlement negotiations. The Indemnified Contributor may participate
131*b4dd7d09SAndy Fiddamanin any such claim at its own expense.
132*b4dd7d09SAndy Fiddaman
133*b4dd7d09SAndy FiddamanFor example, a Contributor might include the Program in a commercial product
134*b4dd7d09SAndy Fiddamanoffering, Product X. That Contributor is then a Commercial Contributor. If
135*b4dd7d09SAndy Fiddamanthat Commercial Contributor then makes performance claims, or offers warranties
136*b4dd7d09SAndy Fiddamanrelated to Product X, those performance claims and warranties are such Commercial
137*b4dd7d09SAndy FiddamanContributor's responsibility alone. Under this section, the Commercial Contributor
138*b4dd7d09SAndy Fiddamanwould have to defend claims against the other Contributors related to those
139*b4dd7d09SAndy Fiddamanperformance claims and warranties, and if a court requires any other Contributor
140*b4dd7d09SAndy Fiddamanto pay any damages as a result, the Commercial Contributor must pay those
141*b4dd7d09SAndy Fiddamandamages.
142*b4dd7d09SAndy Fiddaman
143*b4dd7d09SAndy Fiddaman   5. NO WARRANTY
144*b4dd7d09SAndy Fiddaman
145*b4dd7d09SAndy FiddamanEXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON
146*b4dd7d09SAndy FiddamanAN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS
147*b4dd7d09SAndy FiddamanOR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF
148*b4dd7d09SAndy FiddamanTITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
149*b4dd7d09SAndy FiddamanEach Recipient is solely responsible for determining the appropriateness of
150*b4dd7d09SAndy Fiddamanusing and distributing the Program and assumes all risks associated with its
151*b4dd7d09SAndy Fiddamanexercise of rights under this Agreement, including but not limited to the
152*b4dd7d09SAndy Fiddamanrisks and costs of program errors, compliance with applicable laws, damage
153*b4dd7d09SAndy Fiddamanto or loss of data, programs or equipment, and unavailability or interruption
154*b4dd7d09SAndy Fiddamanof operations.
155*b4dd7d09SAndy Fiddaman
156*b4dd7d09SAndy Fiddaman   6. DISCLAIMER OF LIABILITY
157*b4dd7d09SAndy Fiddaman
158*b4dd7d09SAndy FiddamanEXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY
159*b4dd7d09SAndy FiddamanCONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL,
160*b4dd7d09SAndy FiddamanSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION
161*b4dd7d09SAndy FiddamanLOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
162*b4dd7d09SAndy FiddamanSTRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
163*b4dd7d09SAndy FiddamanWAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS
164*b4dd7d09SAndy FiddamanGRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
165*b4dd7d09SAndy Fiddaman
166*b4dd7d09SAndy Fiddaman   7. GENERAL
167*b4dd7d09SAndy Fiddaman
168*b4dd7d09SAndy FiddamanIf any provision of this Agreement is invalid or unenforceable under applicable
169*b4dd7d09SAndy Fiddamanlaw, it shall not affect the validity or enforceability of the remainder of
170*b4dd7d09SAndy Fiddamanthe terms of this Agreement, and without further action by the parties hereto,
171*b4dd7d09SAndy Fiddamansuch provision shall be reformed to the minimum extent necessary to make such
172*b4dd7d09SAndy Fiddamanprovision valid and enforceable.
173*b4dd7d09SAndy Fiddaman
174*b4dd7d09SAndy FiddamanIf Recipient institutes patent litigation against any entity (including a
175*b4dd7d09SAndy Fiddamancross-claim or counterclaim in a lawsuit) alleging that the Program itself
176*b4dd7d09SAndy Fiddaman(excluding combinations of the Program with other software or hardware) infringes
177*b4dd7d09SAndy Fiddamansuch Recipient's patent(s), then such Recipient's rights granted under Section
178*b4dd7d09SAndy Fiddaman2(b) shall terminate as of the date such litigation is filed.
179*b4dd7d09SAndy Fiddaman
180*b4dd7d09SAndy FiddamanAll Recipient's rights under this Agreement shall terminate if it fails to
181*b4dd7d09SAndy Fiddamancomply with any of the material terms or conditions of this Agreement and
182*b4dd7d09SAndy Fiddamandoes not cure such failure in a reasonable period of time after becoming aware
183*b4dd7d09SAndy Fiddamanof such noncompliance. If all Recipient's rights under this Agreement terminate,
184*b4dd7d09SAndy FiddamanRecipient agrees to cease use and distribution of the Program as soon as reasonably
185*b4dd7d09SAndy Fiddamanpracticable. However, Recipient's obligations under this Agreement and any
186*b4dd7d09SAndy Fiddamanlicenses granted by Recipient relating to the Program shall continue and survive.
187*b4dd7d09SAndy Fiddaman
188*b4dd7d09SAndy FiddamanEveryone is permitted to copy and distribute copies of this Agreement, but
189*b4dd7d09SAndy Fiddamanin order to avoid inconsistency the Agreement is copyrighted and may only
190*b4dd7d09SAndy Fiddamanbe modified in the following manner. The Agreement Steward reserves the right
191*b4dd7d09SAndy Fiddamanto publish new versions (including revisions) of this Agreement from time
192*b4dd7d09SAndy Fiddamanto time. No one other than the Agreement Steward has the right to modify this
193*b4dd7d09SAndy FiddamanAgreement. The Eclipse Foundation is the initial Agreement Steward. The Eclipse
194*b4dd7d09SAndy FiddamanFoundation may assign the responsibility to serve as the Agreement Steward
195*b4dd7d09SAndy Fiddamanto a suitable separate entity. Each new version of the Agreement will be given
196*b4dd7d09SAndy Fiddamana distinguishing version number. The Program (including Contributions) may
197*b4dd7d09SAndy Fiddamanalways be distributed subject to the version of the Agreement under which
198*b4dd7d09SAndy Fiddamanit was received. In addition, after a new version of the Agreement is published,
199*b4dd7d09SAndy FiddamanContributor may elect to distribute the Program (including its Contributions)
200*b4dd7d09SAndy Fiddamanunder the new version. Except as expressly stated in Sections 2(a) and 2(b)
201*b4dd7d09SAndy Fiddamanabove, Recipient receives no rights or licenses to the intellectual property
202*b4dd7d09SAndy Fiddamanof any Contributor under this Agreement, whether expressly, by implication,
203*b4dd7d09SAndy Fiddamanestoppel or otherwise. All rights in the Program not expressly granted under
204*b4dd7d09SAndy Fiddamanthis Agreement are reserved.
205*b4dd7d09SAndy Fiddaman
206*b4dd7d09SAndy FiddamanThis Agreement is governed by the laws of the State of New York and the intellectual
207*b4dd7d09SAndy Fiddamanproperty laws of the United States of America. No party to this Agreement
208*b4dd7d09SAndy Fiddamanwill bring a legal action under this Agreement more than one year after the
209*b4dd7d09SAndy Fiddamancause of action arose. Each party waives its rights to a jury trial in any
210*b4dd7d09SAndy Fiddamanresulting litigation.