961 |
962 | |
963 |
964 | |
965 |
966 |
967 | |
968 | Apache License |
969 |
970 |
971 | |
972 | Version 2.0, January 2004 |
973 |
974 |
975 | |
976 | http://www.apache.org/licenses/ |
977 |
978 |
979 | |
980 |
981 | |
982 |
983 |
984 | |
985 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION |
986 |
987 |
988 | |
989 |
990 | |
991 |
992 |
993 | |
994 | 1. Definitions. |
995 |
996 |
997 | |
998 |
999 | |
1000 |
1001 |
1002 | |
1003 | "License" shall mean the terms and conditions for use, reproduction, |
1004 |
1005 |
1006 | |
1007 | and distribution as defined by Sections 1 through 9 of this document. |
1008 |
1009 |
1010 | |
1011 |
1012 | |
1013 |
1014 |
1015 | |
1016 | "Licensor" shall mean the copyright owner or entity authorized by |
1017 |
1018 |
1019 | |
1020 | the copyright owner that is granting the License. |
1021 |
1022 |
1023 | |
1024 |
1025 | |
1026 |
1027 |
1028 | |
1029 | "Legal Entity" shall mean the union of the acting entity and all |
1030 |
1031 |
1032 | |
1033 | other entities that control, are controlled by, or are under common |
1034 |
1035 |
1036 | |
1037 | control with that entity. For the purposes of this definition, |
1038 |
1039 |
1040 | |
1041 | "control" means (i) the power, direct or indirect, to cause the |
1042 |
1043 |
1044 | |
1045 | direction or management of such entity, whether by contract or |
1046 |
1047 |
1048 | |
1049 | otherwise, or (ii) ownership of fifty percent (50%) or more of the |
1050 |
1051 |
1052 | |
1053 | outstanding shares, or (iii) beneficial ownership of such entity. |
1054 |
1055 |
1056 | |
1057 |
1058 | |
1059 |
1060 |
1061 | |
1062 | "You" (or "Your") shall mean an individual or Legal Entity |
1063 |
1064 |
1065 | |
1066 | exercising permissions granted by this License. |
1067 |
1068 |
1069 | |
1070 |
1071 | |
1072 |
1073 |
1074 | |
1075 | "Source" form shall mean the preferred form for making modifications, |
1076 |
1077 |
1078 | |
1079 | including but not limited to software source code, documentation |
1080 |
1081 |
1082 | |
1083 | source, and configuration files. |
1084 |
1085 |
1086 | |
1087 |
1088 | |
1089 |
1090 |
1091 | |
1092 | "Object" form shall mean any form resulting from mechanical |
1093 |
1094 |
1095 | |
1096 | transformation or translation of a Source form, including but |
1097 |
1098 |
1099 | |
1100 | not limited to compiled object code, generated documentation, |
1101 |
1102 |
1103 | |
1104 | and conversions to other media types. |
1105 |
1106 |
1107 | |
1108 |
1109 | |
1110 |
1111 |
1112 | |
1113 | "Work" shall mean the work of authorship, whether in Source or |
1114 |
1115 |
1116 | |
1117 | Object form, made available under the License, as indicated by a |
1118 |
1119 |
1120 | |
1121 | copyright notice that is included in or attached to the work |
1122 |
1123 |
1124 | |
1125 | (an example is provided in the Appendix below). |
1126 |
1127 |
1128 | |
1129 |
1130 | |
1131 |
1132 |
1133 | |
1134 | "Derivative Works" shall mean any work, whether in Source or Object |
1135 |
1136 |
1137 | |
1138 | form, that is based on (or derived from) the Work and for which the |
1139 |
1140 |
1141 | |
1142 | editorial revisions, annotations, elaborations, or other modifications |
1143 |
1144 |
1145 | |
1146 | represent, as a whole, an original work of authorship. For the purposes |
1147 |
1148 |
1149 | |
1150 | of this License, Derivative Works shall not include works that remain |
1151 |
1152 |
1153 | |
1154 | separable from, or merely link (or bind by name) to the interfaces of, |
1155 |
1156 |
1157 | |
1158 | the Work and Derivative Works thereof. |
1159 |
1160 |
1161 | |
1162 |
1163 | |
1164 |
1165 |
1166 | |
1167 | "Contribution" shall mean any work of authorship, including |
1168 |
1169 |
1170 | |
1171 | the original version of the Work and any modifications or additions |
1172 |
1173 |
1174 | |
1175 | to that Work or Derivative Works thereof, that is intentionally |
1176 |
1177 |
1178 | |
1179 | submitted to Licensor for inclusion in the Work by the copyright owner |
1180 |
1181 |
1182 | |
1183 | or by an individual or Legal Entity authorized to submit on behalf of |
1184 |
1185 |
1186 | |
1187 | the copyright owner. For the purposes of this definition, "submitted" |
1188 |
1189 |
1190 | |
1191 | means any form of electronic, verbal, or written communication sent |
1192 |
1193 |
1194 | |
1195 | to the Licensor or its representatives, including but not limited to |
1196 |
1197 |
1198 | |
1199 | communication on electronic mailing lists, source code control systems, |
1200 |
1201 |
1202 | |
1203 | and issue tracking systems that are managed by, or on behalf of, the |
1204 |
1205 |
1206 | |
1207 | Licensor for the purpose of discussing and improving the Work, but |
1208 |
1209 |
1210 | |
1211 | excluding communication that is conspicuously marked or otherwise |
1212 |
1213 |
1214 | |
1215 | designated in writing by the copyright owner as "Not a Contribution." |
1216 |
1217 |
1218 | |
1219 |
1220 | |
1221 |
1222 |
1223 | |
1224 | "Contributor" shall mean Licensor and any individual or Legal Entity |
1225 |
1226 |
1227 | |
1228 | on behalf of whom a Contribution has been received by Licensor and |
1229 |
1230 |
1231 | |
1232 | subsequently incorporated within the Work. |
1233 |
1234 |
1235 | |
1236 |
1237 | |
1238 |
1239 |
1240 | |
1241 | 2. Grant of Copyright License. Subject to the terms and conditions of |
1242 |
1243 |
1244 | |
1245 | this License, each Contributor hereby grants to You a perpetual, |
1246 |
1247 |
1248 | |
1249 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
1250 |
1251 |
1252 | |
1253 | copyright license to reproduce, prepare Derivative Works of, |
1254 |
1255 |
1256 | |
1257 | publicly display, publicly perform, sublicense, and distribute the |
1258 |
1259 |
1260 | |
1261 | Work and such Derivative Works in Source or Object form. |
1262 |
1263 |
1264 | |
1265 |
1266 | |
1267 |
1268 |
1269 | |
1270 | 3. Grant of Patent License. Subject to the terms and conditions of |
1271 |
1272 |
1273 | |
1274 | this License, each Contributor hereby grants to You a perpetual, |
1275 |
1276 |
1277 | |
1278 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable |
1279 |
1280 |
1281 | |
1282 | (except as stated in this section) patent license to make, have made, |
1283 |
1284 |
1285 | |
1286 | use, offer to sell, sell, import, and otherwise transfer the Work, |
1287 |
1288 |
1289 | |
1290 | where such license applies only to those patent claims licensable |
1291 |
1292 |
1293 | |
1294 | by such Contributor that are necessarily infringed by their |
1295 |
1296 |
1297 | |
1298 | Contribution(s) alone or by combination of their Contribution(s) |
1299 |
1300 |
1301 | |
1302 | with the Work to which such Contribution(s) was submitted. If You |
1303 |
1304 |
1305 | |
1306 | institute patent litigation against any entity (including a |
1307 |
1308 |
1309 | |
1310 | cross-claim or counterclaim in a lawsuit) alleging that the Work |
1311 |
1312 |
1313 | |
1314 | or a Contribution incorporated within the Work constitutes direct |
1315 |
1316 |
1317 | |
1318 | or contributory patent infringement, then any patent licenses |
1319 |
1320 |
1321 | |
1322 | granted to You under this License for that Work shall terminate |
1323 |
1324 |
1325 | |
1326 | as of the date such litigation is filed. |
1327 |
1328 |
1329 | |
1330 |
1331 | |
1332 |
1333 |
1334 | |
1335 | 4. Redistribution. You may reproduce and distribute copies of the |
1336 |
1337 |
1338 | |
1339 | Work or Derivative Works thereof in any medium, with or without |
1340 |
1341 |
1342 | |
1343 | modifications, and in Source or Object form, provided that You |
1344 |
1345 |
1346 | |
1347 | meet the following conditions: |
1348 |
1349 |
1350 | |
1351 |
1352 | |
1353 |
1354 |
1355 | |
1356 | (a) You must give any other recipients of the Work or |
1357 |
1358 |
1359 | |
1360 | Derivative Works a copy of this License; and |
1361 |
1362 |
1363 | |
1364 |
1365 | |
1366 |
1367 |
1368 | |
1369 | (b) You must cause any modified files to carry prominent notices |
1370 |
1371 |
1372 | |
1373 | stating that You changed the files; and |
1374 |
1375 |
1376 | |
1377 |
1378 | |
1379 |
1380 |
1381 | |
1382 | (c) You must retain, in the Source form of any Derivative Works |
1383 |
1384 |
1385 | |
1386 | that You distribute, all copyright, patent, trademark, and |
1387 |
1388 |
1389 | |
1390 | attribution notices from the Source form of the Work, |
1391 |
1392 |
1393 | |
1394 | excluding those notices that do not pertain to any part of |
1395 |
1396 |
1397 | |
1398 | the Derivative Works; and |
1399 |
1400 |
1401 | |
1402 |
1403 | |
1404 |
1405 |
1406 | |
1407 | (d) If the Work includes a "NOTICE" text file as part of its |
1408 |
1409 |
1410 | |
1411 | distribution, then any Derivative Works that You distribute must |
1412 |
1413 |
1414 | |
1415 | include a readable copy of the attribution notices contained |
1416 |
1417 |
1418 | |
1419 | within such NOTICE file, excluding those notices that do not |
1420 |
1421 |
1422 | |
1423 | pertain to any part of the Derivative Works, in at least one |
1424 |
1425 |
1426 | |
1427 | of the following places: within a NOTICE text file distributed |
1428 |
1429 |
1430 | |
1431 | as part of the Derivative Works; within the Source form or |
1432 |
1433 |
1434 | |
1435 | documentation, if provided along with the Derivative Works; or, |
1436 |
1437 |
1438 | |
1439 | within a display generated by the Derivative Works, if and |
1440 |
1441 |
1442 | |
1443 | wherever such third-party notices normally appear. The contents |
1444 |
1445 |
1446 | |
1447 | of the NOTICE file are for informational purposes only and |
1448 |
1449 |
1450 | |
1451 | do not modify the License. You may add Your own attribution |
1452 |
1453 |
1454 | |
1455 | notices within Derivative Works that You distribute, alongside |
1456 |
1457 |
1458 | |
1459 | or as an addendum to the NOTICE text from the Work, provided |
1460 |
1461 |
1462 | |
1463 | that such additional attribution notices cannot be construed |
1464 |
1465 |
1466 | |
1467 | as modifying the License. |
1468 |
1469 |
1470 | |
1471 |
1472 | |
1473 |
1474 |
1475 | |
1476 | You may add Your own copyright statement to Your modifications and |
1477 |
1478 |
1479 | |
1480 | may provide additional or different license terms and conditions |
1481 |
1482 |
1483 | |
1484 | for use, reproduction, or distribution of Your modifications, or |
1485 |
1486 |
1487 | |
1488 | for any such Derivative Works as a whole, provided Your use, |
1489 |
1490 |
1491 | |
1492 | reproduction, and distribution of the Work otherwise complies with |
1493 |
1494 |
1495 | |
1496 | the conditions stated in this License. |
1497 |
1498 |
1499 | |
1500 |
1501 | |
1502 |
1503 |
1504 | |
1505 | 5. Submission of Contributions. Unless You explicitly state otherwise, |
1506 |
1507 |
1508 | |
1509 | any Contribution intentionally submitted for inclusion in the Work |
1510 |
1511 |
1512 | |
1513 | by You to the Licensor shall be under the terms and conditions of |
1514 |
1515 |
1516 | |
1517 | this License, without any additional terms or conditions. |
1518 |
1519 |
1520 | |
1521 | Notwithstanding the above, nothing herein shall supersede or modify |
1522 |
1523 |
1524 | |
1525 | the terms of any separate license agreement you may have executed |
1526 |
1527 |
1528 | |
1529 | with Licensor regarding such Contributions. |
1530 |
1531 |
1532 | |
1533 |
1534 | |
1535 |
1536 |
1537 | |
1538 | 6. Trademarks. This License does not grant permission to use the trade |
1539 |
1540 |
1541 | |
1542 | names, trademarks, service marks, or product names of the Licensor, |
1543 |
1544 |
1545 | |
1546 | except as required for reasonable and customary use in describing the |
1547 |
1548 |
1549 | |
1550 | origin of the Work and reproducing the content of the NOTICE file. |
1551 |
1552 |
1553 | |
1554 |
1555 | |
1556 |
1557 |
1558 | |
1559 | 7. Disclaimer of Warranty. Unless required by applicable law or |
1560 |
1561 |
1562 | |
1563 | agreed to in writing, Licensor provides the Work (and each |
1564 |
1565 |
1566 | |
1567 | Contributor provides its Contributions) on an "AS IS" BASIS, |
1568 |
1569 |
1570 | |
1571 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or |
1572 |
1573 |
1574 | |
1575 | implied, including, without limitation, any warranties or conditions |
1576 |
1577 |
1578 | |
1579 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A |
1580 |
1581 |
1582 | |
1583 | PARTICULAR PURPOSE. You are solely responsible for determining the |
1584 |
1585 |
1586 | |
1587 | appropriateness of using or redistributing the Work and assume any |
1588 |
1589 |
1590 | |
1591 | risks associated with Your exercise of permissions under this License. |
1592 |
1593 |
1594 | |
1595 |
1596 | |
1597 |
1598 |
1599 | |
1600 | 8. Limitation of Liability. In no event and under no legal theory, |
1601 |
1602 |
1603 | |
1604 | whether in tort (including negligence), contract, or otherwise, |
1605 |
1606 |
1607 | |
1608 | unless required by applicable law (such as deliberate and grossly |
1609 |
1610 |
1611 | |
1612 | negligent acts) or agreed to in writing, shall any Contributor be |
1613 |
1614 |
1615 | |
1616 | liable to You for damages, including any direct, indirect, special, |
1617 |
1618 |
1619 | |
1620 | incidental, or consequential damages of any character arising as a |
1621 |
1622 |
1623 | |
1624 | result of this License or out of the use or inability to use the |
1625 |
1626 |
1627 | |
1628 | Work (including but not limited to damages for loss of goodwill, |
1629 |
1630 |
1631 | |
1632 | work stoppage, computer failure or malfunction, or any and all |
1633 |
1634 |
1635 | |
1636 | other commercial damages or losses), even if such Contributor |
1637 |
1638 |
1639 | |
1640 | has been advised of the possibility of such damages. |
1641 |
1642 |
1643 | |
1644 |
1645 | |
1646 |
1647 |
1648 | |
1649 | 9. Accepting Warranty or Additional Liability. While redistributing |
1650 |
1651 |
1652 | |
1653 | the Work or Derivative Works thereof, You may choose to offer, |
1654 |
1655 |
1656 | |
1657 | and charge a fee for, acceptance of support, warranty, indemnity, |
1658 |
1659 |
1660 | |
1661 | or other liability obligations and/or rights consistent with this |
1662 |
1663 |
1664 | |
1665 | License. However, in accepting such obligations, You may act only |
1666 |
1667 |
1668 | |
1669 | on Your own behalf and on Your sole responsibility, not on behalf |
1670 |
1671 |
1672 | |
1673 | of any other Contributor, and only if You agree to indemnify, |
1674 |
1675 |
1676 | |
1677 | defend, and hold each Contributor harmless for any liability |
1678 |
1679 |
1680 | |
1681 | incurred by, or claims asserted against, such Contributor by reason |
1682 |
1683 |
1684 | |
1685 | of your accepting any such warranty or additional liability. |
1686 |
1687 |
1688 | |
1689 |
1690 | |
1691 |
1692 |
1693 | |
1694 | END OF TERMS AND CONDITIONS |
1695 |
1696 |
1697 | |
1698 |
1699 | |
1700 |
1701 |
1702 | |
1703 | APPENDIX: How to apply the Apache License to your work. |
1704 |
1705 |
1706 | |
1707 |
1708 | |
1709 |
1710 |
1711 | |
1712 | To apply the Apache License to your work, attach the following |
1713 |
1714 |
1715 | |
1716 | boilerplate notice, with the fields enclosed by brackets "[]" |
1717 |
1718 |
1719 | |
1720 | replaced with your own identifying information. (Don't include |
1721 |
1722 |
1723 | |
1724 | the brackets!) The text should be enclosed in the appropriate |
1725 |
1726 |
1727 | |
1728 | comment syntax for the file format. We also recommend that a |
1729 |
1730 |
1731 | |
1732 | file or class name and description of purpose be included on the |
1733 |
1734 |
1735 | |
1736 | same "printed page" as the copyright notice for easier |
1737 |
1738 |
1739 | |
1740 | identification within third-party archives. |
1741 |
1742 |
1743 | |
1744 |
1745 | |
1746 |
1747 |
1748 | |
1749 | Copyright [yyyy] [name of copyright owner] |
1750 |
1751 |
1752 | |
1753 |
1754 | |
1755 |
1756 |
1757 | |
1758 | Licensed under the Apache License, Version 2.0 (the "License"); |
1759 |
1760 |
1761 | |
1762 | you may not use this file except in compliance with the License. |
1763 |
1764 |
1765 | |
1766 | You may obtain a copy of the License at |
1767 |
1768 |
1769 | |
1770 |
1771 | |
1772 |
1773 |
1774 | |
1775 | http://www.apache.org/licenses/LICENSE-2.0 |
1776 |
1777 |
1778 | |
1779 |
1780 | |
1781 |
1782 |
1783 | |
1784 | Unless required by applicable law or agreed to in writing, software |
1785 |
1786 |
1787 | |
1788 | distributed under the License is distributed on an "AS IS" BASIS, |
1789 |
1790 |
1791 | |
1792 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
1793 |
1794 |
1795 | |
1796 | See the License for the specific language governing permissions and |
1797 |
1798 |
1799 | |
1800 | limitations under the License. |
1801 |
1802 |