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