Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | |
| 2 | ERLANG PUBLIC LICENSE |
| 3 | Version 1.1 |
| 4 | |
| 5 | 1. Definitions. |
| 6 | |
| 7 | 1.1. ``Contributor`` means each entity that creates or contributes to |
| 8 | the creation of Modifications. |
| 9 | |
| 10 | 1.2. ``Contributor Version`` means the combination of the Original |
| 11 | Code, prior Modifications used by a Contributor, and the Modifications |
| 12 | made by that particular Contributor. |
| 13 | |
| 14 | 1.3. ``Covered Code`` means the Original Code or Modifications or the |
| 15 | combination of the Original Code and Modifications, in each case |
| 16 | including portions thereof. |
| 17 | |
| 18 | 1.4. ``Electronic Distribution Mechanism`` means a mechanism generally |
| 19 | accepted in the software development community for the electronic |
| 20 | transfer of data. |
| 21 | |
| 22 | 1.5. ``Executable`` means Covered Code in any form other than Source |
| 23 | Code. |
| 24 | |
| 25 | 1.6. ``Initial Developer`` means the individual or entity identified |
| 26 | as the Initial Developer in the Source Code notice required by Exhibit |
| 27 | A. |
| 28 | |
| 29 | 1.7. ``Larger Work`` means a work which combines Covered Code or |
| 30 | portions thereof with code not governed by the terms of this License. |
| 31 | |
| 32 | 1.8. ``License`` means this document. |
| 33 | |
| 34 | 1.9. ``Modifications`` means any addition to or deletion from the |
| 35 | substance or structure of either the Original Code or any previous |
| 36 | Modifications. When Covered Code is released as a series of files, a |
| 37 | Modification is: |
| 38 | |
| 39 | A. Any addition to or deletion from the contents of a file containing |
| 40 | Original Code or previous Modifications. |
| 41 | |
| 42 | B. Any new file that contains any part of the Original Code or |
| 43 | previous Modifications. |
| 44 | |
| 45 | 1.10. ``Original Code`` means Source Code of computer software code |
| 46 | which is described in the Source Code notice required by Exhibit A as |
| 47 | Original Code, and which, at the time of its release under this |
| 48 | License is not already Covered Code governed by this License. |
| 49 | |
| 50 | 1.11. ``Source Code`` means the preferred form of the Covered Code for |
| 51 | making modifications to it, including all modules it contains, plus |
| 52 | any associated interface definition files, scripts used to control |
| 53 | compilation and installation of an Executable, or a list of source |
| 54 | code differential comparisons against either the Original Code or |
| 55 | another well known, available Covered Code of the Contributor`s |
| 56 | choice. The Source Code can be in a compressed or archival form, |
| 57 | provided the appropriate decompression or de-archiving software is |
| 58 | widely available for no charge. |
| 59 | |
| 60 | 1.12. ``You`` means an individual or a legal entity exercising rights |
| 61 | under, and complying with all of the terms of, this License. For legal |
| 62 | entities,``You`` includes any entity which controls, is controlled by, |
| 63 | or is under common control with You. For purposes of this definition, |
| 64 | ``control`` means (a) the power, direct or indirect, to cause the |
| 65 | direction or management of such entity, whether by contract or |
| 66 | otherwise, or (b) ownership of fifty percent (50%) or more of the |
| 67 | outstanding shares or beneficial ownership of such entity. |
| 68 | |
| 69 | 2. Source Code License. |
| 70 | |
| 71 | 2.1. The Initial Developer Grant. |
| 72 | The Initial Developer hereby grants You a world-wide, royalty-free, |
| 73 | non-exclusive license, subject to third party intellectual property |
| 74 | claims: |
| 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 | |
| 88 | 2.2. Contributor Grant. |
| 89 | Each Contributor hereby grants You a world-wide, royalty-free, |
| 90 | non-exclusive license, subject to third party intellectual property |
| 91 | claims: |
| 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 | |
| 105 | 3. Distribution Obligations. |
| 106 | |
| 107 | 3.1. Application of License. |
| 108 | The Modifications which You contribute are governed by the terms of |
| 109 | this License, including without limitation Section 2.2. The Source |
| 110 | Code version of Covered Code may be distributed only under the terms |
| 111 | of this License, and You must include a copy of this License with |
| 112 | every copy of the Source Code You distribute. You may not offer or |
| 113 | impose any terms on any Source Code version that alters or restricts |
| 114 | the applicable version of this License or the recipients` rights |
| 115 | hereunder. However, You may include an additional document offering |
| 116 | the additional rights described in Section 3.5. |
| 117 | |
| 118 | 3.2. Availability of Source Code. |
| 119 | Any Modification which You contribute must be made available in Source |
| 120 | Code form under the terms of this License either on the same media as |
| 121 | an Executable version or via an accepted Electronic Distribution |
| 122 | Mechanism to anyone to whom you made an Executable version available; |
| 123 | and if made available via Electronic Distribution Mechanism, must |
| 124 | remain available for at least twelve (12) months after the date it |
| 125 | initially became available, or at least six (6) months after a |
| 126 | subsequent version of that particular Modification has been made |
| 127 | available to such recipients. You are responsible for ensuring that |
| 128 | the Source Code version remains available even if the Electronic |
| 129 | Distribution Mechanism is maintained by a third party. |
| 130 | |
| 131 | 3.3. Description of Modifications. |
| 132 | You must cause all Covered Code to which you contribute to contain a |
| 133 | file documenting the changes You made to create that Covered Code and |
| 134 | the date of any change. You must include a prominent statement that |
| 135 | the Modification is derived, directly or indirectly, from Original |
| 136 | Code provided by the Initial Developer and including the name of the |
| 137 | Initial Developer in (a) the Source Code, and (b) in any notice in an |
| 138 | Executable version or related documentation in which You describe the |
| 139 | origin or ownership of the Covered Code. |
| 140 | |
| 141 | 3.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 | |
| 163 | 3.5. Required Notices. |
| 164 | You must duplicate the notice in Exhibit A in each file of the Source |
| 165 | Code, and this License in any documentation for the Source Code, where |
| 166 | You describe recipients` rights relating to Covered Code. If You |
| 167 | created one or more Modification(s), You may add your name as a |
| 168 | Contributor to the notice described in Exhibit A. If it is not |
| 169 | possible to put such notice in a particular Source Code file due to |
| 170 | its structure, then you must include such notice in a location (such |
| 171 | as a relevant directory file) where a user would be likely to look for |
| 172 | such a notice. You may choose to offer, and to charge a fee for, |
| 173 | warranty, support, indemnity or liability obligations to one or more |
| 174 | recipients of Covered Code. However, You may do so only on Your own |
| 175 | behalf, and not on behalf of the Initial Developer or any |
| 176 | Contributor. You must make it absolutely clear than any such warranty, |
| 177 | support, indemnity or liability obligation is offered by You alone, |
| 178 | and You hereby agree to indemnify the Initial Developer and every |
| 179 | Contributor for any liability incurred by the Initial Developer or |
| 180 | such Contributor as a result of warranty, support, indemnity or |
| 181 | liability terms You offer. |
| 182 | |
| 183 | 3.6. Distribution of Executable Versions. |
| 184 | You may distribute Covered Code in Executable form only if the |
| 185 | requirements of Section 3.1-3.5 have been met for that Covered Code, |
| 186 | and if You include a notice stating that the Source Code version of |
| 187 | the Covered Code is available under the terms of this License, |
| 188 | including a description of how and where You have fulfilled the |
| 189 | obligations of Section 3.2. The notice must be conspicuously included |
| 190 | in any notice in an Executable version, related documentation or |
| 191 | collateral in which You describe recipients` rights relating to the |
| 192 | Covered Code. You may distribute the Executable version of Covered |
| 193 | Code under a license of Your choice, which may contain terms different |
| 194 | from this License, provided that You are in compliance with the terms |
| 195 | of this License and that the license for the Executable version does |
| 196 | not attempt to limit or alter the recipient`s rights in the Source |
| 197 | Code version from the rights set forth in this License. If You |
| 198 | distribute the Executable version under a different license You must |
| 199 | make it absolutely clear that any terms which differ from this License |
| 200 | are offered by You alone, not by the Initial Developer or any |
| 201 | Contributor. You hereby agree to indemnify the Initial Developer and |
| 202 | every Contributor for any liability incurred by the Initial Developer |
| 203 | or such Contributor as a result of any such terms You offer. |
| 204 | |
| 205 | 3.7. Larger Works. |
| 206 | You may create a Larger Work by combining Covered Code with other code |
| 207 | not governed by the terms of this License and distribute the Larger |
| 208 | Work as a single product. In such a case, You must make sure the |
| 209 | requirements of this License are fulfilled for the Covered Code. |
| 210 | |
| 211 | 4. Inability to Comply Due to Statute or Regulation. |
| 212 | If it is impossible for You to comply with any of the terms of this |
| 213 | License with respect to some or all of the Covered Code due to statute |
| 214 | or regulation then You must: (a) comply with the terms of this License |
| 215 | to the maximum extent possible; and (b) describe the limitations and |
| 216 | the code they affect. Such description must be included in the LEGAL |
| 217 | file described in Section 3.4 and must be included with all |
| 218 | distributions of the Source Code. Except to the extent prohibited by |
| 219 | statute or regulation, such description must be sufficiently detailed |
| 220 | for a recipient of ordinary skill to be able to understand it. |
| 221 | |
| 222 | 5. Application of this License. |
| 223 | |
| 224 | This License applies to code to which the Initial Developer has |
| 225 | attached the notice in Exhibit A, and to related Covered Code. |
| 226 | |
| 227 | 6. CONNECTION TO MOZILLA PUBLIC LICENSE |
| 228 | |
| 229 | This Erlang License is a derivative work of the Mozilla Public |
| 230 | License, Version 1.0. It contains terms which differ from the Mozilla |
| 231 | Public License, Version 1.0. |
| 232 | |
| 233 | 7. DISCLAIMER OF WARRANTY. |
| 234 | |
| 235 | COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN ``AS IS`` BASIS, |
| 236 | WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, |
| 237 | WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF |
| 238 | DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR |
| 239 | NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF |
| 240 | THE COVERED CODE IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE |
| 241 | IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER |
| 242 | CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR |
| 243 | CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART |
| 244 | OF THIS LICENSE. NO USE OF ANY COVERED CODE IS AUTHORIZED HEREUNDER |
| 245 | EXCEPT UNDER THIS DISCLAIMER. |
| 246 | |
| 247 | 8. TERMINATION. |
| 248 | This License and the rights granted hereunder will terminate |
| 249 | automatically if You fail to comply with terms herein and fail to cure |
| 250 | such breach within 30 days of becoming aware of the breach. All |
| 251 | sublicenses to the Covered Code which are properly granted shall |
| 252 | survive any termination of this License. Provisions which, by their |
| 253 | nature, must remain in effect beyond the termination of this License |
| 254 | shall survive. |
| 255 | |
| 256 | 9. DISCLAIMER OF LIABILITY |
| 257 | Any utilization of Covered Code shall not cause the Initial Developer |
| 258 | or any Contributor to be liable for any damages (neither direct nor |
| 259 | indirect). |
| 260 | |
| 261 | 10. MISCELLANEOUS |
| 262 | This License represents the complete agreement concerning the subject |
| 263 | matter hereof. If any provision is held to be unenforceable, such |
| 264 | provision shall be reformed only to the extent necessary to make it |
| 265 | enforceable. This License shall be construed by and in accordance with |
| 266 | the substantive laws of Sweden. Any dispute, controversy or claim |
| 267 | arising out of or relating to this License, or the breach, termination |
| 268 | or invalidity thereof, shall be subject to the exclusive jurisdiction |
| 269 | of Swedish courts, with the Stockholm City Court as the first |
| 270 | instance. |
| 271 | |
| 272 | EXHIBIT A. |
| 273 | |
| 274 | ``The contents of this file are subject to the Erlang Public License, |
| 275 | Version 1.1, (the "License"); you may not use this file except in |
| 276 | compliance with the License. You should have received a copy of the |
| 277 | Erlang Public License along with this software. If not, it can be |
| 278 | retrieved via the world wide web at http://www.erlang.org/. |
| 279 | |
| 280 | Software distributed under the License is distributed on an "AS IS" |
| 281 | basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See |
| 282 | the License for the specific language governing rights and limitations |
| 283 | under the License. |
| 284 | |
| 285 | The Initial Developer of the Original Code is Ericsson Utvecklings AB. |
| 286 | Portions created by Ericsson are Copyright 1999, Ericsson Utvecklings |
| 287 | AB. All Rights Reserved.`` |
| 288 | |