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