blob: 5961ccf4d016ab488da7bbca4de64f61138334fd [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001
2ERLANG PUBLIC LICENSE
3Version 1.1
4
51. Definitions.
6
71.1. ``Contributor`` means each entity that creates or contributes to
8the creation of Modifications.
9
101.2. ``Contributor Version`` means the combination of the Original
11Code, prior Modifications used by a Contributor, and the Modifications
12made by that particular Contributor.
13
141.3. ``Covered Code`` means the Original Code or Modifications or the
15combination of the Original Code and Modifications, in each case
16including portions thereof.
17
181.4. ``Electronic Distribution Mechanism`` means a mechanism generally
19accepted in the software development community for the electronic
20transfer of data.
21
221.5. ``Executable`` means Covered Code in any form other than Source
23Code.
24
251.6. ``Initial Developer`` means the individual or entity identified
26as the Initial Developer in the Source Code notice required by Exhibit
27A.
28
291.7. ``Larger Work`` means a work which combines Covered Code or
30portions thereof with code not governed by the terms of this License.
31
321.8. ``License`` means this document.
33
341.9. ``Modifications`` means any addition to or deletion from the
35substance or structure of either the Original Code or any previous
36Modifications. When Covered Code is released as a series of files, a
37Modification is:
38
39A. Any addition to or deletion from the contents of a file containing
40 Original Code or previous Modifications.
41
42B. Any new file that contains any part of the Original Code or
43 previous Modifications.
44
451.10. ``Original Code`` means Source Code of computer software code
46which is described in the Source Code notice required by Exhibit A as
47Original Code, and which, at the time of its release under this
48License is not already Covered Code governed by this License.
49
501.11. ``Source Code`` means the preferred form of the Covered Code for
51making modifications to it, including all modules it contains, plus
52any associated interface definition files, scripts used to control
53compilation and installation of an Executable, or a list of source
54code differential comparisons against either the Original Code or
55another well known, available Covered Code of the Contributor`s
56choice. The Source Code can be in a compressed or archival form,
57provided the appropriate decompression or de-archiving software is
58widely available for no charge.
59
601.12. ``You`` means an individual or a legal entity exercising rights
61under, and complying with all of the terms of, this License. For legal
62entities,``You`` includes any entity which controls, is controlled by,
63or is under common control with You. For purposes of this definition,
64``control`` means (a) the power, direct or indirect, to cause the
65direction or management of such entity, whether by contract or
66otherwise, or (b) ownership of fifty percent (50%) or more of the
67outstanding shares or beneficial ownership of such entity.
68
692. Source Code License.
70
712.1. The Initial Developer Grant.
72The Initial Developer hereby grants You a world-wide, royalty-free,
73non-exclusive license, subject to third party intellectual property
74claims:
75
76(a) to use, reproduce, modify, display, perform, sublicense and
77 distribute the Original Code (or portions thereof) with or without
78 Modifications, or as part of a Larger Work; and
79
80(b) under patents now or hereafter owned or controlled by Initial
81 Developer, to make, have made, use and sell (``Utilize``) the
82 Original Code (or portions thereof), but solely to the extent that
83 any such patent is reasonably necessary to enable You to Utilize
84 the Original Code (or portions thereof) and not to any greater
85 extent that may be necessary to Utilize further Modifications or
86 combinations.
87
882.2. Contributor Grant.
89Each Contributor hereby grants You a world-wide, royalty-free,
90non-exclusive license, subject to third party intellectual property
91claims:
92
93(a) to use, reproduce, modify, display, perform, sublicense and
94 distribute the Modifications created by such Contributor (or
95 portions thereof) either on an unmodified basis, with other
96 Modifications, as Covered Code or as part of a Larger Work; and
97
98(b) under patents now or hereafter owned or controlled by Contributor,
99 to Utilize the Contributor Version (or portions thereof), but
100 solely to the extent that any such patent is reasonably necessary
101 to enable You to Utilize the Contributor Version (or portions
102 thereof), and not to any greater extent that may be necessary to
103 Utilize further Modifications or combinations.
104
1053. Distribution Obligations.
106
1073.1. Application of License.
108The Modifications which You contribute are governed by the terms of
109this License, including without limitation Section 2.2. The Source
110Code version of Covered Code may be distributed only under the terms
111of this License, and You must include a copy of this License with
112every copy of the Source Code You distribute. You may not offer or
113impose any terms on any Source Code version that alters or restricts
114the applicable version of this License or the recipients` rights
115hereunder. However, You may include an additional document offering
116the additional rights described in Section 3.5.
117
1183.2. Availability of Source Code.
119Any Modification which You contribute must be made available in Source
120Code form under the terms of this License either on the same media as
121an Executable version or via an accepted Electronic Distribution
122Mechanism to anyone to whom you made an Executable version available;
123and if made available via Electronic Distribution Mechanism, must
124remain available for at least twelve (12) months after the date it
125initially became available, or at least six (6) months after a
126subsequent version of that particular Modification has been made
127available to such recipients. You are responsible for ensuring that
128the Source Code version remains available even if the Electronic
129Distribution Mechanism is maintained by a third party.
130
1313.3. Description of Modifications.
132You must cause all Covered Code to which you contribute to contain a
133file documenting the changes You made to create that Covered Code and
134the date of any change. You must include a prominent statement that
135the Modification is derived, directly or indirectly, from Original
136Code provided by the Initial Developer and including the name of the
137Initial Developer in (a) the Source Code, and (b) in any notice in an
138Executable version or related documentation in which You describe the
139origin or ownership of the Covered Code.
140
1413.4. Intellectual Property Matters
142
143(a) Third Party Claims.
144 If You have knowledge that a party claims an intellectual property
145 right in particular functionality or code (or its utilization
146 under this License), you must include a text file with the source
147 code distribution titled ``LEGAL`` which describes the claim and
148 the party making the claim in sufficient detail that a recipient
149 will know whom to contact. If you obtain such knowledge after You
150 make Your Modification available as described in Section 3.2, You
151 shall promptly modify the LEGAL file in all copies You make
152 available thereafter and shall take other steps (such as notifying
153 appropriate mailing lists or newsgroups) reasonably calculated to
154 inform those who received the Covered Code that new knowledge has
155 been obtained.
156
157(b) Contributor APIs.
158 If Your Modification is an application programming interface and
159 You own or control patents which are reasonably necessary to
160 implement that API, you must also include this information in the
161 LEGAL file.
162
1633.5. Required Notices.
164You must duplicate the notice in Exhibit A in each file of the Source
165Code, and this License in any documentation for the Source Code, where
166You describe recipients` rights relating to Covered Code. If You
167created one or more Modification(s), You may add your name as a
168Contributor to the notice described in Exhibit A. If it is not
169possible to put such notice in a particular Source Code file due to
170its structure, then you must include such notice in a location (such
171as a relevant directory file) where a user would be likely to look for
172such a notice. You may choose to offer, and to charge a fee for,
173warranty, support, indemnity or liability obligations to one or more
174recipients of Covered Code. However, You may do so only on Your own
175behalf, and not on behalf of the Initial Developer or any
176Contributor. You must make it absolutely clear than any such warranty,
177support, indemnity or liability obligation is offered by You alone,
178and You hereby agree to indemnify the Initial Developer and every
179Contributor for any liability incurred by the Initial Developer or
180such Contributor as a result of warranty, support, indemnity or
181liability terms You offer.
182
1833.6. Distribution of Executable Versions.
184You may distribute Covered Code in Executable form only if the
185requirements of Section 3.1-3.5 have been met for that Covered Code,
186and if You include a notice stating that the Source Code version of
187the Covered Code is available under the terms of this License,
188including a description of how and where You have fulfilled the
189obligations of Section 3.2. The notice must be conspicuously included
190in any notice in an Executable version, related documentation or
191collateral in which You describe recipients` rights relating to the
192Covered Code. You may distribute the Executable version of Covered
193Code under a license of Your choice, which may contain terms different
194from this License, provided that You are in compliance with the terms
195of this License and that the license for the Executable version does
196not attempt to limit or alter the recipient`s rights in the Source
197Code version from the rights set forth in this License. If You
198distribute the Executable version under a different license You must
199make it absolutely clear that any terms which differ from this License
200are offered by You alone, not by the Initial Developer or any
201Contributor. You hereby agree to indemnify the Initial Developer and
202every Contributor for any liability incurred by the Initial Developer
203or such Contributor as a result of any such terms You offer.
204
2053.7. Larger Works.
206You may create a Larger Work by combining Covered Code with other code
207not governed by the terms of this License and distribute the Larger
208Work as a single product. In such a case, You must make sure the
209requirements of this License are fulfilled for the Covered Code.
210
2114. Inability to Comply Due to Statute or Regulation.
212If it is impossible for You to comply with any of the terms of this
213License with respect to some or all of the Covered Code due to statute
214or regulation then You must: (a) comply with the terms of this License
215to the maximum extent possible; and (b) describe the limitations and
216the code they affect. Such description must be included in the LEGAL
217file described in Section 3.4 and must be included with all
218distributions of the Source Code. Except to the extent prohibited by
219statute or regulation, such description must be sufficiently detailed
220for a recipient of ordinary skill to be able to understand it.
221
2225. Application of this License.
223
224This License applies to code to which the Initial Developer has
225attached the notice in Exhibit A, and to related Covered Code.
226
2276. CONNECTION TO MOZILLA PUBLIC LICENSE
228
229This Erlang License is a derivative work of the Mozilla Public
230License, Version 1.0. It contains terms which differ from the Mozilla
231Public License, Version 1.0.
232
2337. DISCLAIMER OF WARRANTY.
234
235COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN ``AS IS`` BASIS,
236WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
237WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
238DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR
239NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF
240THE COVERED CODE IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE
241IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER
242CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR
243CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART
244OF THIS LICENSE. NO USE OF ANY COVERED CODE IS AUTHORIZED HEREUNDER
245EXCEPT UNDER THIS DISCLAIMER.
246
2478. TERMINATION.
248This License and the rights granted hereunder will terminate
249automatically if You fail to comply with terms herein and fail to cure
250such breach within 30 days of becoming aware of the breach. All
251sublicenses to the Covered Code which are properly granted shall
252survive any termination of this License. Provisions which, by their
253nature, must remain in effect beyond the termination of this License
254shall survive.
255
2569. DISCLAIMER OF LIABILITY
257Any utilization of Covered Code shall not cause the Initial Developer
258or any Contributor to be liable for any damages (neither direct nor
259indirect).
260
26110. MISCELLANEOUS
262This License represents the complete agreement concerning the subject
263matter hereof. If any provision is held to be unenforceable, such
264provision shall be reformed only to the extent necessary to make it
265enforceable. This License shall be construed by and in accordance with
266the substantive laws of Sweden. Any dispute, controversy or claim
267arising out of or relating to this License, or the breach, termination
268or invalidity thereof, shall be subject to the exclusive jurisdiction
269of Swedish courts, with the Stockholm City Court as the first
270instance.
271
272EXHIBIT A.
273
274``The contents of this file are subject to the Erlang Public License,
275Version 1.1, (the "License"); you may not use this file except in
276compliance with the License. You should have received a copy of the
277Erlang Public License along with this software. If not, it can be
278retrieved via the world wide web at http://www.erlang.org/.
279
280Software distributed under the License is distributed on an "AS IS"
281basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
282the License for the specific language governing rights and limitations
283under the License.
284
285The Initial Developer of the Original Code is Ericsson Utvecklings AB.
286Portions created by Ericsson are Copyright 1999, Ericsson Utvecklings
287AB. All Rights Reserved.``
288