|
| 1 | +.. _license: |
| 2 | + |
| 3 | +######## |
| 4 | +Licenses |
| 5 | +######## |
| 6 | + |
| 7 | +DFHack is distributed under the Zlib license, with some MIT- |
| 8 | +and BSD-licensed components. These licenses protect your right |
| 9 | +to use DFHack for any purpose, distribute copies, and so on. |
| 10 | + |
| 11 | +The core, plugins, scripts, and other DFHack code all use the |
| 12 | +ZLib license unless noted otherwise. By contributing to DFHack, |
| 13 | +authors release the contributed work under this license. |
| 14 | + |
| 15 | +DFHack also draws on several external packages. |
| 16 | +Their licenses are summarised here and reproduced below. |
| 17 | + |
| 18 | +=============== ============= ================================================= |
| 19 | +Component License Copyright |
| 20 | +=============== ============= ================================================= |
| 21 | +DFHack_ Zlib \(c\) 2009-2012, Petr Mrรกzek |
| 22 | +clsocket_ BSD 3-clause \(c\) 2007-2009, CarrierLabs, LLC. |
| 23 | +dirent_ MIT \(c\) 2006, Toni Ronkko |
| 24 | +JSON.lua_ CC-BY-SA_ \(c\) 2010-2014, Jeffrey Friedl |
| 25 | +jsoncpp_ MIT \(c\) 2007-2010, Baptiste Lepilleur |
| 26 | +linenoise_ BSD 2-clause \(c\) 2010, Salvatore Sanfilippo & Pieter Noordhuis |
| 27 | +lua_ MIT \(c\) 1994-2008, Lua.org, PUC-Rio. |
| 28 | +luafilesystem_ MIT \(c\) 2003-2014, Kepler Project |
| 29 | +lua-profiler_ MIT \(c\) 2002,2003,2004 Pepperfish |
| 30 | +protobuf_ BSD 3-clause \(c\) 2008, Google Inc. |
| 31 | +tinythread_ Zlib \(c\) 2010, Marcus Geelnard |
| 32 | +tinyxml_ Zlib \(c\) 2000-2006, Lee Thomason |
| 33 | +UTF-8-decoder_ MIT \(c\) 2008-2010, Bjoern Hoehrmann |
| 34 | +webfort_ ISC \(c\) 2014, Vitaly Pronkin, Kyle Mclamb |
| 35 | +cpp-httplib_ MIT \(c\) 2017, yhirose |
| 36 | +=============== ============= ================================================= |
| 37 | + |
| 38 | +.. _DFHack: https://github.com/DFHack/dfhack |
| 39 | +.. _clsocket: https://github.com/DFHack/clsocket |
| 40 | +.. _dirent: https://github.com/tronkko/dirent |
| 41 | +.. _JSON.lua: http://regex.info/blog/lua/json |
| 42 | +.. _jsoncpp: https://github.com/open-source-parsers/jsoncpp |
| 43 | +.. _linenoise: http://github.com/antirez/linenoise |
| 44 | +.. _lua: http://www.lua.org |
| 45 | +.. _luafilesystem: https://github.com/keplerproject/luafilesystem |
| 46 | +.. _protobuf: https://github.com/google/protobuf |
| 47 | +.. _tinythread: http://tinythreadpp.bitsnbites.eu/ |
| 48 | +.. _tinyxml: http://www.sourceforge.net/projects/tinyxml |
| 49 | +.. _UTF-8-decoder: http://bjoern.hoehrmann.de/utf-8/decoder/dfa |
| 50 | +.. _lua-profiler: http://lua-users.org/wiki/PepperfishProfiler |
| 51 | +.. _webfort: https://github.com/Ankoku/df-webfort |
| 52 | +.. _cpp-httplib: https://github.com/yhirose/cpp-httplib |
| 53 | + |
| 54 | +.. _CC-BY-SA: http://creativecommons.org/licenses/by/3.0/deed.en_US |
| 55 | + |
| 56 | + |
| 57 | +Zlib License |
| 58 | +============ |
| 59 | +See https://en.wikipedia.org/wiki/Zlib_License |
| 60 | +:: |
| 61 | + |
| 62 | + This software is provided 'as-is', without any express or implied |
| 63 | + warranty. In no event will the authors be held liable for any |
| 64 | + damages arising from the use of this software. |
| 65 | + |
| 66 | + Permission is granted to anyone to use this software for any |
| 67 | + purpose, including commercial applications, and to alter it and |
| 68 | + redistribute it freely, subject to the following restrictions: |
| 69 | + |
| 70 | + 1. The origin of this software must not be misrepresented; you must |
| 71 | + not claim that you wrote the original software. If you use this |
| 72 | + software in a product, an acknowledgment in the product |
| 73 | + documentation would be appreciated but is not required. |
| 74 | + |
| 75 | + 2. Altered source versions must be plainly marked as such, and |
| 76 | + must not be misrepresented as being the original software. |
| 77 | + |
| 78 | + 3. This notice may not be removed or altered from any source |
| 79 | + distribution. |
| 80 | + |
| 81 | +MIT License |
| 82 | +=========== |
| 83 | +See https://en.wikipedia.org/wiki/MIT_License |
| 84 | +:: |
| 85 | + |
| 86 | + Permission is hereby granted, free of charge, to any person obtaining |
| 87 | + a copy of this software and associated documentation files (the |
| 88 | + "Software"), to deal in the Software without restriction, including |
| 89 | + without limitation the rights to use, copy, modify, merge, publish, |
| 90 | + distribute, sublicense, and/or sell copies of the Software, and to |
| 91 | + permit persons to whom the Software is furnished to do so, subject to |
| 92 | + the following conditions: |
| 93 | + |
| 94 | + The above copyright notice and this permission notice shall be included |
| 95 | + in all copies or substantial portions of the Software. |
| 96 | + |
| 97 | + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
| 98 | + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 99 | + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
| 100 | + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY |
| 101 | + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
| 102 | + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
| 103 | + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 104 | + |
| 105 | +BSD Licenses |
| 106 | +============ |
| 107 | +See https://en.wikipedia.org/wiki/BSD_licenses |
| 108 | +:: |
| 109 | + |
| 110 | + Redistribution and use in source and binary forms, with or without |
| 111 | + modification, are permitted provided that the following conditions are |
| 112 | + met: |
| 113 | + |
| 114 | + 1. Redistributions of source code must retain the above copyright |
| 115 | + notice, this list of conditions and the following disclaimer. |
| 116 | + |
| 117 | + 2. Redistributions in binary form must reproduce the above copyright |
| 118 | + notice, this list of conditions and the following disclaimer in |
| 119 | + the documentation and/or other materials provided with the |
| 120 | + distribution. |
| 121 | + |
| 122 | + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 123 | + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 124 | + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 125 | + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 126 | + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 127 | + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 128 | + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 129 | + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 130 | + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 131 | + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 132 | + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 133 | + |
| 134 | +``linenoise`` adds no further clauses. |
| 135 | + |
| 136 | +``protobuf`` adds the following clause:: |
| 137 | + |
| 138 | + 3. Neither the name of Google Inc. nor the names of its |
| 139 | + contributors may be used to endorse or promote products derived |
| 140 | + from this software without specific prior written permission. |
| 141 | + |
| 142 | +``clsocket`` adds the following clauses:: |
| 143 | + |
| 144 | + 3. The name of the author may not be used to endorse or promote |
| 145 | + products derived from this software without specific prior |
| 146 | + written permission. |
| 147 | + |
| 148 | + 4. The name "CarrierLabs" must not be used to endorse or promote |
| 149 | + products derived from this software without prior written |
| 150 | + permission. For written permission, please contact |
| 151 | + |
| 152 | + |
| 153 | +ISC License |
| 154 | +=========== |
| 155 | +See https://en.wikipedia.org/wiki/ISC_license |
| 156 | +:: |
| 157 | + |
| 158 | + Permission to use, copy, modify, and/or distribute this software for any |
| 159 | + purpose with or without fee is hereby granted, provided that the above |
| 160 | + copyright notice and this permission notice appear in all copies. |
| 161 | + |
| 162 | + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
| 163 | + WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
| 164 | + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
| 165 | + ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
| 166 | + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
| 167 | + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
| 168 | + OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
0 commit comments