libgit2.license.txt 69 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410
  1. libgit2 is Copyright (C) the libgit2 contributors,
  2. unless otherwise stated. See the AUTHORS file for details.
  3. Note that the only valid version of the GPL as far as this project
  4. is concerned is _this_ particular version of the license (ie v2, not
  5. v2.2 or v3.x or whatever), unless explicitly otherwise stated.
  6. ----------------------------------------------------------------------
  7. LINKING EXCEPTION
  8. In addition to the permissions in the GNU General Public License,
  9. the authors give you unlimited permission to link the compiled
  10. version of this library into combinations with other programs,
  11. and to distribute those combinations without any restriction
  12. coming from the use of this file. (The General Public License
  13. restrictions do apply in other respects; for example, they cover
  14. modification of the file, and distribution when not linked into
  15. a combined executable.)
  16. ----------------------------------------------------------------------
  17. GNU GENERAL PUBLIC LICENSE
  18. Version 2, June 1991
  19. Copyright (C) 1989, 1991 Free Software Foundation, Inc.
  20. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  21. Everyone is permitted to copy and distribute verbatim copies
  22. of this license document, but changing it is not allowed.
  23. Preamble
  24. The licenses for most software are designed to take away your
  25. freedom to share and change it. By contrast, the GNU General Public
  26. License is intended to guarantee your freedom to share and change free
  27. software--to make sure the software is free for all its users. This
  28. General Public License applies to most of the Free Software
  29. Foundation's software and to any other program whose authors commit to
  30. using it. (Some other Free Software Foundation software is covered by
  31. the GNU Library General Public License instead.) You can apply it to
  32. your programs, too.
  33. When we speak of free software, we are referring to freedom, not
  34. price. Our General Public Licenses are designed to make sure that you
  35. have the freedom to distribute copies of free software (and charge for
  36. this service if you wish), that you receive source code or can get it
  37. if you want it, that you can change the software or use pieces of it
  38. in new free programs; and that you know you can do these things.
  39. To protect your rights, we need to make restrictions that forbid
  40. anyone to deny you these rights or to ask you to surrender the rights.
  41. These restrictions translate to certain responsibilities for you if you
  42. distribute copies of the software, or if you modify it.
  43. For example, if you distribute copies of such a program, whether
  44. gratis or for a fee, you must give the recipients all the rights that
  45. you have. You must make sure that they, too, receive or can get the
  46. source code. And you must show them these terms so they know their
  47. rights.
  48. We protect your rights with two steps: (1) copyright the software, and
  49. (2) offer you this license which gives you legal permission to copy,
  50. distribute and/or modify the software.
  51. Also, for each author's protection and ours, we want to make certain
  52. that everyone understands that there is no warranty for this free
  53. software. If the software is modified by someone else and passed on, we
  54. want its recipients to know that what they have is not the original, so
  55. that any problems introduced by others will not reflect on the original
  56. authors' reputations.
  57. Finally, any free program is threatened constantly by software
  58. patents. We wish to avoid the danger that redistributors of a free
  59. program will individually obtain patent licenses, in effect making the
  60. program proprietary. To prevent this, we have made it clear that any
  61. patent must be licensed for everyone's free use or not licensed at all.
  62. The precise terms and conditions for copying, distribution and
  63. modification follow.
  64. GNU GENERAL PUBLIC LICENSE
  65. TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
  66. 0. This License applies to any program or other work which contains
  67. a notice placed by the copyright holder saying it may be distributed
  68. under the terms of this General Public License. The "Program", below,
  69. refers to any such program or work, and a "work based on the Program"
  70. means either the Program or any derivative work under copyright law:
  71. that is to say, a work containing the Program or a portion of it,
  72. either verbatim or with modifications and/or translated into another
  73. language. (Hereinafter, translation is included without limitation in
  74. the term "modification".) Each licensee is addressed as "you".
  75. Activities other than copying, distribution and modification are not
  76. covered by this License; they are outside its scope. The act of
  77. running the Program is not restricted, and the output from the Program
  78. is covered only if its contents constitute a work based on the
  79. Program (independent of having been made by running the Program).
  80. Whether that is true depends on what the Program does.
  81. 1. You may copy and distribute verbatim copies of the Program's
  82. source code as you receive it, in any medium, provided that you
  83. conspicuously and appropriately publish on each copy an appropriate
  84. copyright notice and disclaimer of warranty; keep intact all the
  85. notices that refer to this License and to the absence of any warranty;
  86. and give any other recipients of the Program a copy of this License
  87. along with the Program.
  88. You may charge a fee for the physical act of transferring a copy, and
  89. you may at your option offer warranty protection in exchange for a fee.
  90. 2. You may modify your copy or copies of the Program or any portion
  91. of it, thus forming a work based on the Program, and copy and
  92. distribute such modifications or work under the terms of Section 1
  93. above, provided that you also meet all of these conditions:
  94. a) You must cause the modified files to carry prominent notices
  95. stating that you changed the files and the date of any change.
  96. b) You must cause any work that you distribute or publish, that in
  97. whole or in part contains or is derived from the Program or any
  98. part thereof, to be licensed as a whole at no charge to all third
  99. parties under the terms of this License.
  100. c) If the modified program normally reads commands interactively
  101. when run, you must cause it, when started running for such
  102. interactive use in the most ordinary way, to print or display an
  103. announcement including an appropriate copyright notice and a
  104. notice that there is no warranty (or else, saying that you provide
  105. a warranty) and that users may redistribute the program under
  106. these conditions, and telling the user how to view a copy of this
  107. License. (Exception: if the Program itself is interactive but
  108. does not normally print such an announcement, your work based on
  109. the Program is not required to print an announcement.)
  110. These requirements apply to the modified work as a whole. If
  111. identifiable sections of that work are not derived from the Program,
  112. and can be reasonably considered independent and separate works in
  113. themselves, then this License, and its terms, do not apply to those
  114. sections when you distribute them as separate works. But when you
  115. distribute the same sections as part of a whole which is a work based
  116. on the Program, the distribution of the whole must be on the terms of
  117. this License, whose permissions for other licensees extend to the
  118. entire whole, and thus to each and every part regardless of who wrote it.
  119. Thus, it is not the intent of this section to claim rights or contest
  120. your rights to work written entirely by you; rather, the intent is to
  121. exercise the right to control the distribution of derivative or
  122. collective works based on the Program.
  123. In addition, mere aggregation of another work not based on the Program
  124. with the Program (or with a work based on the Program) on a volume of
  125. a storage or distribution medium does not bring the other work under
  126. the scope of this License.
  127. 3. You may copy and distribute the Program (or a work based on it,
  128. under Section 2) in object code or executable form under the terms of
  129. Sections 1 and 2 above provided that you also do one of the following:
  130. a) Accompany it with the complete corresponding machine-readable
  131. source code, which must be distributed under the terms of Sections
  132. 1 and 2 above on a medium customarily used for software interchange; or,
  133. b) Accompany it with a written offer, valid for at least three
  134. years, to give any third party, for a charge no more than your
  135. cost of physically performing source distribution, a complete
  136. machine-readable copy of the corresponding source code, to be
  137. distributed under the terms of Sections 1 and 2 above on a medium
  138. customarily used for software interchange; or,
  139. c) Accompany it with the information you received as to the offer
  140. to distribute corresponding source code. (This alternative is
  141. allowed only for noncommercial distribution and only if you
  142. received the program in object code or executable form with such
  143. an offer, in accord with Subsection b above.)
  144. The source code for a work means the preferred form of the work for
  145. making modifications to it. For an executable work, complete source
  146. code means all the source code for all modules it contains, plus any
  147. associated interface definition files, plus the scripts used to
  148. control compilation and installation of the executable. However, as a
  149. special exception, the source code distributed need not include
  150. anything that is normally distributed (in either source or binary
  151. form) with the major components (compiler, kernel, and so on) of the
  152. operating system on which the executable runs, unless that component
  153. itself accompanies the executable.
  154. If distribution of executable or object code is made by offering
  155. access to copy from a designated place, then offering equivalent
  156. access to copy the source code from the same place counts as
  157. distribution of the source code, even though third parties are not
  158. compelled to copy the source along with the object code.
  159. 4. You may not copy, modify, sublicense, or distribute the Program
  160. except as expressly provided under this License. Any attempt
  161. otherwise to copy, modify, sublicense or distribute the Program is
  162. void, and will automatically terminate your rights under this License.
  163. However, parties who have received copies, or rights, from you under
  164. this License will not have their licenses terminated so long as such
  165. parties remain in full compliance.
  166. 5. You are not required to accept this License, since you have not
  167. signed it. However, nothing else grants you permission to modify or
  168. distribute the Program or its derivative works. These actions are
  169. prohibited by law if you do not accept this License. Therefore, by
  170. modifying or distributing the Program (or any work based on the
  171. Program), you indicate your acceptance of this License to do so, and
  172. all its terms and conditions for copying, distributing or modifying
  173. the Program or works based on it.
  174. 6. Each time you redistribute the Program (or any work based on the
  175. Program), the recipient automatically receives a license from the
  176. original licensor to copy, distribute or modify the Program subject to
  177. these terms and conditions. You may not impose any further
  178. restrictions on the recipients' exercise of the rights granted herein.
  179. You are not responsible for enforcing compliance by third parties to
  180. this License.
  181. 7. If, as a consequence of a court judgment or allegation of patent
  182. infringement or for any other reason (not limited to patent issues),
  183. conditions are imposed on you (whether by court order, agreement or
  184. otherwise) that contradict the conditions of this License, they do not
  185. excuse you from the conditions of this License. If you cannot
  186. distribute so as to satisfy simultaneously your obligations under this
  187. License and any other pertinent obligations, then as a consequence you
  188. may not distribute the Program at all. For example, if a patent
  189. license would not permit royalty-free redistribution of the Program by
  190. all those who receive copies directly or indirectly through you, then
  191. the only way you could satisfy both it and this License would be to
  192. refrain entirely from distribution of the Program.
  193. If any portion of this section is held invalid or unenforceable under
  194. any particular circumstance, the balance of the section is intended to
  195. apply and the section as a whole is intended to apply in other
  196. circumstances.
  197. It is not the purpose of this section to induce you to infringe any
  198. patents or other property right claims or to contest validity of any
  199. such claims; this section has the sole purpose of protecting the
  200. integrity of the free software distribution system, which is
  201. implemented by public license practices. Many people have made
  202. generous contributions to the wide range of software distributed
  203. through that system in reliance on consistent application of that
  204. system; it is up to the author/donor to decide if he or she is willing
  205. to distribute software through any other system and a licensee cannot
  206. impose that choice.
  207. This section is intended to make thoroughly clear what is believed to
  208. be a consequence of the rest of this License.
  209. 8. If the distribution and/or use of the Program is restricted in
  210. certain countries either by patents or by copyrighted interfaces, the
  211. original copyright holder who places the Program under this License
  212. may add an explicit geographical distribution limitation excluding
  213. those countries, so that distribution is permitted only in or among
  214. countries not thus excluded. In such case, this License incorporates
  215. the limitation as if written in the body of this License.
  216. 9. The Free Software Foundation may publish revised and/or new versions
  217. of the General Public License from time to time. Such new versions will
  218. be similar in spirit to the present version, but may differ in detail to
  219. address new problems or concerns.
  220. Each version is given a distinguishing version number. If the Program
  221. specifies a version number of this License which applies to it and "any
  222. later version", you have the option of following the terms and conditions
  223. either of that version or of any later version published by the Free
  224. Software Foundation. If the Program does not specify a version number of
  225. this License, you may choose any version ever published by the Free Software
  226. Foundation.
  227. 10. If you wish to incorporate parts of the Program into other free
  228. programs whose distribution conditions are different, write to the author
  229. to ask for permission. For software which is copyrighted by the Free
  230. Software Foundation, write to the Free Software Foundation; we sometimes
  231. make exceptions for this. Our decision will be guided by the two goals
  232. of preserving the free status of all derivatives of our free software and
  233. of promoting the sharing and reuse of software generally.
  234. NO WARRANTY
  235. 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
  236. FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
  237. OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
  238. PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
  239. OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  240. MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
  241. TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
  242. PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
  243. REPAIR OR CORRECTION.
  244. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
  245. WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
  246. REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
  247. INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
  248. OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
  249. TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
  250. YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
  251. PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
  252. POSSIBILITY OF SUCH DAMAGES.
  253. END OF TERMS AND CONDITIONS
  254. How to Apply These Terms to Your New Programs
  255. If you develop a new program, and you want it to be of the greatest
  256. possible use to the public, the best way to achieve this is to make it
  257. free software which everyone can redistribute and change under these terms.
  258. To do so, attach the following notices to the program. It is safest
  259. to attach them to the start of each source file to most effectively
  260. convey the exclusion of warranty; and each file should have at least
  261. the "copyright" line and a pointer to where the full notice is found.
  262. <one line to give the program's name and a brief idea of what it does.>
  263. Copyright (C) <year> <name of author>
  264. This program is free software; you can redistribute it and/or modify
  265. it under the terms of the GNU General Public License as published by
  266. the Free Software Foundation; either version 2 of the License, or
  267. (at your option) any later version.
  268. This program is distributed in the hope that it will be useful,
  269. but WITHOUT ANY WARRANTY; without even the implied warranty of
  270. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  271. GNU General Public License for more details.
  272. You should have received a copy of the GNU General Public License
  273. along with this program; if not, write to the Free Software
  274. Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  275. Also add information on how to contact you by electronic and paper mail.
  276. If the program is interactive, make it output a short notice like this
  277. when it starts in an interactive mode:
  278. Gnomovision version 69, Copyright (C) year name of author
  279. Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
  280. This is free software, and you are welcome to redistribute it
  281. under certain conditions; type `show c' for details.
  282. The hypothetical commands `show w' and `show c' should show the appropriate
  283. parts of the General Public License. Of course, the commands you use may
  284. be called something other than `show w' and `show c'; they could even be
  285. mouse-clicks or menu items--whatever suits your program.
  286. You should also get your employer (if you work as a programmer) or your
  287. school, if any, to sign a "copyright disclaimer" for the program, if
  288. necessary. Here is a sample; alter the names:
  289. Yoyodyne, Inc., hereby disclaims all copyright interest in the program
  290. `Gnomovision' (which makes passes at compilers) written by James Hacker.
  291. <signature of Ty Coon>, 1 April 1989
  292. Ty Coon, President of Vice
  293. This General Public License does not permit incorporating your program into
  294. proprietary programs. If your program is a subroutine library, you may
  295. consider it more useful to permit linking proprietary applications with the
  296. library. If this is what you want to do, use the GNU Library General
  297. Public License instead of this License.
  298. ----------------------------------------------------------------------
  299. The bundled ZLib code is licensed under the ZLib license:
  300. (C) 1995-2022 Jean-loup Gailly and Mark Adler
  301. This software is provided 'as-is', without any express or implied
  302. warranty. In no event will the authors be held liable for any damages
  303. arising from the use of this software.
  304. Permission is granted to anyone to use this software for any purpose,
  305. including commercial applications, and to alter it and redistribute it
  306. freely, subject to the following restrictions:
  307. 1. The origin of this software must not be misrepresented; you must not
  308. claim that you wrote the original software. If you use this software
  309. in a product, an acknowledgment in the product documentation would be
  310. appreciated but is not required.
  311. 2. Altered source versions must be plainly marked as such, and must not be
  312. misrepresented as being the original software.
  313. 3. This notice may not be removed or altered from any source distribution.
  314. Jean-loup Gailly Mark Adler
  315. jloup@gzip.org madler@alumni.caltech.edu
  316. ----------------------------------------------------------------------
  317. The Clar framework is licensed under the ISC license:
  318. Copyright (c) 2011-2015 Vicent Marti
  319. Permission to use, copy, modify, and/or distribute this software for any
  320. purpose with or without fee is hereby granted, provided that the above
  321. copyright notice and this permission notice appear in all copies.
  322. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  323. WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  324. MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  325. ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  326. WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  327. ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  328. OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  329. ----------------------------------------------------------------------
  330. The bundled PCRE implementation (deps/pcre/) is licensed under the BSD
  331. license.
  332. Redistribution and use in source and binary forms, with or without
  333. modification, are permitted provided that the following conditions are met:
  334. * Redistributions of source code must retain the above copyright notice,
  335. this list of conditions and the following disclaimer.
  336. * Redistributions in binary form must reproduce the above copyright
  337. notice, this list of conditions and the following disclaimer in the
  338. documentation and/or other materials provided with the distribution.
  339. * Neither the name of the University of Cambridge nor the name of Google
  340. Inc. nor the names of their contributors may be used to endorse or
  341. promote products derived from this software without specific prior
  342. written permission.
  343. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  344. AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  345. IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  346. ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
  347. LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  348. CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  349. SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  350. INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
  351. CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  352. ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  353. POSSIBILITY OF SUCH DAMAGE.
  354. ----------------------------------------------------------------------
  355. The bundled winhttp definition files (deps/winhttp/) are licensed under
  356. the GNU LGPL (available at the end of this file).
  357. Copyright (C) 2007 Francois Gouget
  358. This library is free software; you can redistribute it and/or
  359. modify it under the terms of the GNU Lesser General Public
  360. License as published by the Free Software Foundation; either
  361. version 2.1 of the License, or (at your option) any later version.
  362. This library is distributed in the hope that it will be useful,
  363. but WITHOUT ANY WARRANTY; without even the implied warranty of
  364. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  365. Lesser General Public License for more details.
  366. You should have received a copy of the GNU Lesser General Public
  367. License along with this library; if not, write to the Free Software
  368. Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  369. ----------------------------------------------------------------------
  370. GNU LESSER GENERAL PUBLIC LICENSE
  371. Version 2.1, February 1999
  372. Copyright (C) 1991, 1999 Free Software Foundation, Inc.
  373. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  374. Everyone is permitted to copy and distribute verbatim copies
  375. of this license document, but changing it is not allowed.
  376. [This is the first released version of the Lesser GPL. It also counts
  377. as the successor of the GNU Library Public License, version 2, hence
  378. the version number 2.1.]
  379. Preamble
  380. The licenses for most software are designed to take away your
  381. freedom to share and change it. By contrast, the GNU General Public
  382. Licenses are intended to guarantee your freedom to share and change
  383. free software--to make sure the software is free for all its users.
  384. This license, the Lesser General Public License, applies to some
  385. specially designated software packages--typically libraries--of the
  386. Free Software Foundation and other authors who decide to use it. You
  387. can use it too, but we suggest you first think carefully about whether
  388. this license or the ordinary General Public License is the better
  389. strategy to use in any particular case, based on the explanations below.
  390. When we speak of free software, we are referring to freedom of use,
  391. not price. Our General Public Licenses are designed to make sure that
  392. you have the freedom to distribute copies of free software (and charge
  393. for this service if you wish); that you receive source code or can get
  394. it if you want it; that you can change the software and use pieces of
  395. it in new free programs; and that you are informed that you can do
  396. these things.
  397. To protect your rights, we need to make restrictions that forbid
  398. distributors to deny you these rights or to ask you to surrender these
  399. rights. These restrictions translate to certain responsibilities for
  400. you if you distribute copies of the library or if you modify it.
  401. For example, if you distribute copies of the library, whether gratis
  402. or for a fee, you must give the recipients all the rights that we gave
  403. you. You must make sure that they, too, receive or can get the source
  404. code. If you link other code with the library, you must provide
  405. complete object files to the recipients, so that they can relink them
  406. with the library after making changes to the library and recompiling
  407. it. And you must show them these terms so they know their rights.
  408. We protect your rights with a two-step method: (1) we copyright the
  409. library, and (2) we offer you this license, which gives you legal
  410. permission to copy, distribute and/or modify the library.
  411. To protect each distributor, we want to make it very clear that
  412. there is no warranty for the free library. Also, if the library is
  413. modified by someone else and passed on, the recipients should know
  414. that what they have is not the original version, so that the original
  415. author's reputation will not be affected by problems that might be
  416. introduced by others.
  417. Finally, software patents pose a constant threat to the existence of
  418. any free program. We wish to make sure that a company cannot
  419. effectively restrict the users of a free program by obtaining a
  420. restrictive license from a patent holder. Therefore, we insist that
  421. any patent license obtained for a version of the library must be
  422. consistent with the full freedom of use specified in this license.
  423. Most GNU software, including some libraries, is covered by the
  424. ordinary GNU General Public License. This license, the GNU Lesser
  425. General Public License, applies to certain designated libraries, and
  426. is quite different from the ordinary General Public License. We use
  427. this license for certain libraries in order to permit linking those
  428. libraries into non-free programs.
  429. When a program is linked with a library, whether statically or using
  430. a shared library, the combination of the two is legally speaking a
  431. combined work, a derivative of the original library. The ordinary
  432. General Public License therefore permits such linking only if the
  433. entire combination fits its criteria of freedom. The Lesser General
  434. Public License permits more lax criteria for linking other code with
  435. the library.
  436. We call this license the "Lesser" General Public License because it
  437. does Less to protect the user's freedom than the ordinary General
  438. Public License. It also provides other free software developers Less
  439. of an advantage over competing non-free programs. These disadvantages
  440. are the reason we use the ordinary General Public License for many
  441. libraries. However, the Lesser license provides advantages in certain
  442. special circumstances.
  443. For example, on rare occasions, there may be a special need to
  444. encourage the widest possible use of a certain library, so that it becomes
  445. a de-facto standard. To achieve this, non-free programs must be
  446. allowed to use the library. A more frequent case is that a free
  447. library does the same job as widely used non-free libraries. In this
  448. case, there is little to gain by limiting the free library to free
  449. software only, so we use the Lesser General Public License.
  450. In other cases, permission to use a particular library in non-free
  451. programs enables a greater number of people to use a large body of
  452. free software. For example, permission to use the GNU C Library in
  453. non-free programs enables many more people to use the whole GNU
  454. operating system, as well as its variant, the GNU/Linux operating
  455. system.
  456. Although the Lesser General Public License is Less protective of the
  457. users' freedom, it does ensure that the user of a program that is
  458. linked with the Library has the freedom and the wherewithal to run
  459. that program using a modified version of the Library.
  460. The precise terms and conditions for copying, distribution and
  461. modification follow. Pay close attention to the difference between a
  462. "work based on the library" and a "work that uses the library". The
  463. former contains code derived from the library, whereas the latter must
  464. be combined with the library in order to run.
  465. GNU LESSER GENERAL PUBLIC LICENSE
  466. TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
  467. 0. This License Agreement applies to any software library or other
  468. program which contains a notice placed by the copyright holder or
  469. other authorized party saying it may be distributed under the terms of
  470. this Lesser General Public License (also called "this License").
  471. Each licensee is addressed as "you".
  472. A "library" means a collection of software functions and/or data
  473. prepared so as to be conveniently linked with application programs
  474. (which use some of those functions and data) to form executables.
  475. The "Library", below, refers to any such software library or work
  476. which has been distributed under these terms. A "work based on the
  477. Library" means either the Library or any derivative work under
  478. copyright law: that is to say, a work containing the Library or a
  479. portion of it, either verbatim or with modifications and/or translated
  480. straightforwardly into another language. (Hereinafter, translation is
  481. included without limitation in the term "modification".)
  482. "Source code" for a work means the preferred form of the work for
  483. making modifications to it. For a library, complete source code means
  484. all the source code for all modules it contains, plus any associated
  485. interface definition files, plus the scripts used to control compilation
  486. and installation of the library.
  487. Activities other than copying, distribution and modification are not
  488. covered by this License; they are outside its scope. The act of
  489. running a program using the Library is not restricted, and output from
  490. such a program is covered only if its contents constitute a work based
  491. on the Library (independent of the use of the Library in a tool for
  492. writing it). Whether that is true depends on what the Library does
  493. and what the program that uses the Library does.
  494. 1. You may copy and distribute verbatim copies of the Library's
  495. complete source code as you receive it, in any medium, provided that
  496. you conspicuously and appropriately publish on each copy an
  497. appropriate copyright notice and disclaimer of warranty; keep intact
  498. all the notices that refer to this License and to the absence of any
  499. warranty; and distribute a copy of this License along with the
  500. Library.
  501. You may charge a fee for the physical act of transferring a copy,
  502. and you may at your option offer warranty protection in exchange for a
  503. fee.
  504. 2. You may modify your copy or copies of the Library or any portion
  505. of it, thus forming a work based on the Library, and copy and
  506. distribute such modifications or work under the terms of Section 1
  507. above, provided that you also meet all of these conditions:
  508. a) The modified work must itself be a software library.
  509. b) You must cause the files modified to carry prominent notices
  510. stating that you changed the files and the date of any change.
  511. c) You must cause the whole of the work to be licensed at no
  512. charge to all third parties under the terms of this License.
  513. d) If a facility in the modified Library refers to a function or a
  514. table of data to be supplied by an application program that uses
  515. the facility, other than as an argument passed when the facility
  516. is invoked, then you must make a good faith effort to ensure that,
  517. in the event an application does not supply such function or
  518. table, the facility still operates, and performs whatever part of
  519. its purpose remains meaningful.
  520. (For example, a function in a library to compute square roots has
  521. a purpose that is entirely well-defined independent of the
  522. application. Therefore, Subsection 2d requires that any
  523. application-supplied function or table used by this function must
  524. be optional: if the application does not supply it, the square
  525. root function must still compute square roots.)
  526. These requirements apply to the modified work as a whole. If
  527. identifiable sections of that work are not derived from the Library,
  528. and can be reasonably considered independent and separate works in
  529. themselves, then this License, and its terms, do not apply to those
  530. sections when you distribute them as separate works. But when you
  531. distribute the same sections as part of a whole which is a work based
  532. on the Library, the distribution of the whole must be on the terms of
  533. this License, whose permissions for other licensees extend to the
  534. entire whole, and thus to each and every part regardless of who wrote
  535. it.
  536. Thus, it is not the intent of this section to claim rights or contest
  537. your rights to work written entirely by you; rather, the intent is to
  538. exercise the right to control the distribution of derivative or
  539. collective works based on the Library.
  540. In addition, mere aggregation of another work not based on the Library
  541. with the Library (or with a work based on the Library) on a volume of
  542. a storage or distribution medium does not bring the other work under
  543. the scope of this License.
  544. 3. You may opt to apply the terms of the ordinary GNU General Public
  545. License instead of this License to a given copy of the Library. To do
  546. this, you must alter all the notices that refer to this License, so
  547. that they refer to the ordinary GNU General Public License, version 2,
  548. instead of to this License. (If a newer version than version 2 of the
  549. ordinary GNU General Public License has appeared, then you can specify
  550. that version instead if you wish.) Do not make any other change in
  551. these notices.
  552. Once this change is made in a given copy, it is irreversible for
  553. that copy, so the ordinary GNU General Public License applies to all
  554. subsequent copies and derivative works made from that copy.
  555. This option is useful when you wish to copy part of the code of
  556. the Library into a program that is not a library.
  557. 4. You may copy and distribute the Library (or a portion or
  558. derivative of it, under Section 2) in object code or executable form
  559. under the terms of Sections 1 and 2 above provided that you accompany
  560. it with the complete corresponding machine-readable source code, which
  561. must be distributed under the terms of Sections 1 and 2 above on a
  562. medium customarily used for software interchange.
  563. If distribution of object code is made by offering access to copy
  564. from a designated place, then offering equivalent access to copy the
  565. source code from the same place satisfies the requirement to
  566. distribute the source code, even though third parties are not
  567. compelled to copy the source along with the object code.
  568. 5. A program that contains no derivative of any portion of the
  569. Library, but is designed to work with the Library by being compiled or
  570. linked with it, is called a "work that uses the Library". Such a
  571. work, in isolation, is not a derivative work of the Library, and
  572. therefore falls outside the scope of this License.
  573. However, linking a "work that uses the Library" with the Library
  574. creates an executable that is a derivative of the Library (because it
  575. contains portions of the Library), rather than a "work that uses the
  576. library". The executable is therefore covered by this License.
  577. Section 6 states terms for distribution of such executables.
  578. When a "work that uses the Library" uses material from a header file
  579. that is part of the Library, the object code for the work may be a
  580. derivative work of the Library even though the source code is not.
  581. Whether this is true is especially significant if the work can be
  582. linked without the Library, or if the work is itself a library. The
  583. threshold for this to be true is not precisely defined by law.
  584. If such an object file uses only numerical parameters, data
  585. structure layouts and accessors, and small macros and small inline
  586. functions (ten lines or less in length), then the use of the object
  587. file is unrestricted, regardless of whether it is legally a derivative
  588. work. (Executables containing this object code plus portions of the
  589. Library will still fall under Section 6.)
  590. Otherwise, if the work is a derivative of the Library, you may
  591. distribute the object code for the work under the terms of Section 6.
  592. Any executables containing that work also fall under Section 6,
  593. whether or not they are linked directly with the Library itself.
  594. 6. As an exception to the Sections above, you may also combine or
  595. link a "work that uses the Library" with the Library to produce a
  596. work containing portions of the Library, and distribute that work
  597. under terms of your choice, provided that the terms permit
  598. modification of the work for the customer's own use and reverse
  599. engineering for debugging such modifications.
  600. You must give prominent notice with each copy of the work that the
  601. Library is used in it and that the Library and its use are covered by
  602. this License. You must supply a copy of this License. If the work
  603. during execution displays copyright notices, you must include the
  604. copyright notice for the Library among them, as well as a reference
  605. directing the user to the copy of this License. Also, you must do one
  606. of these things:
  607. a) Accompany the work with the complete corresponding
  608. machine-readable source code for the Library including whatever
  609. changes were used in the work (which must be distributed under
  610. Sections 1 and 2 above); and, if the work is an executable linked
  611. with the Library, with the complete machine-readable "work that
  612. uses the Library", as object code and/or source code, so that the
  613. user can modify the Library and then relink to produce a modified
  614. executable containing the modified Library. (It is understood
  615. that the user who changes the contents of definitions files in the
  616. Library will not necessarily be able to recompile the application
  617. to use the modified definitions.)
  618. b) Use a suitable shared library mechanism for linking with the
  619. Library. A suitable mechanism is one that (1) uses at run time a
  620. copy of the library already present on the user's computer system,
  621. rather than copying library functions into the executable, and (2)
  622. will operate properly with a modified version of the library, if
  623. the user installs one, as long as the modified version is
  624. interface-compatible with the version that the work was made with.
  625. c) Accompany the work with a written offer, valid for at
  626. least three years, to give the same user the materials
  627. specified in Subsection 6a, above, for a charge no more
  628. than the cost of performing this distribution.
  629. d) If distribution of the work is made by offering access to copy
  630. from a designated place, offer equivalent access to copy the above
  631. specified materials from the same place.
  632. e) Verify that the user has already received a copy of these
  633. materials or that you have already sent this user a copy.
  634. For an executable, the required form of the "work that uses the
  635. Library" must include any data and utility programs needed for
  636. reproducing the executable from it. However, as a special exception,
  637. the materials to be distributed need not include anything that is
  638. normally distributed (in either source or binary form) with the major
  639. components (compiler, kernel, and so on) of the operating system on
  640. which the executable runs, unless that component itself accompanies
  641. the executable.
  642. It may happen that this requirement contradicts the license
  643. restrictions of other proprietary libraries that do not normally
  644. accompany the operating system. Such a contradiction means you cannot
  645. use both them and the Library together in an executable that you
  646. distribute.
  647. 7. You may place library facilities that are a work based on the
  648. Library side-by-side in a single library together with other library
  649. facilities not covered by this License, and distribute such a combined
  650. library, provided that the separate distribution of the work based on
  651. the Library and of the other library facilities is otherwise
  652. permitted, and provided that you do these two things:
  653. a) Accompany the combined library with a copy of the same work
  654. based on the Library, uncombined with any other library
  655. facilities. This must be distributed under the terms of the
  656. Sections above.
  657. b) Give prominent notice with the combined library of the fact
  658. that part of it is a work based on the Library, and explaining
  659. where to find the accompanying uncombined form of the same work.
  660. 8. You may not copy, modify, sublicense, link with, or distribute
  661. the Library except as expressly provided under this License. Any
  662. attempt otherwise to copy, modify, sublicense, link with, or
  663. distribute the Library is void, and will automatically terminate your
  664. rights under this License. However, parties who have received copies,
  665. or rights, from you under this License will not have their licenses
  666. terminated so long as such parties remain in full compliance.
  667. 9. You are not required to accept this License, since you have not
  668. signed it. However, nothing else grants you permission to modify or
  669. distribute the Library or its derivative works. These actions are
  670. prohibited by law if you do not accept this License. Therefore, by
  671. modifying or distributing the Library (or any work based on the
  672. Library), you indicate your acceptance of this License to do so, and
  673. all its terms and conditions for copying, distributing or modifying
  674. the Library or works based on it.
  675. 10. Each time you redistribute the Library (or any work based on the
  676. Library), the recipient automatically receives a license from the
  677. original licensor to copy, distribute, link with or modify the Library
  678. subject to these terms and conditions. You may not impose any further
  679. restrictions on the recipients' exercise of the rights granted herein.
  680. You are not responsible for enforcing compliance by third parties with
  681. this License.
  682. 11. If, as a consequence of a court judgment or allegation of patent
  683. infringement or for any other reason (not limited to patent issues),
  684. conditions are imposed on you (whether by court order, agreement or
  685. otherwise) that contradict the conditions of this License, they do not
  686. excuse you from the conditions of this License. If you cannot
  687. distribute so as to satisfy simultaneously your obligations under this
  688. License and any other pertinent obligations, then as a consequence you
  689. may not distribute the Library at all. For example, if a patent
  690. license would not permit royalty-free redistribution of the Library by
  691. all those who receive copies directly or indirectly through you, then
  692. the only way you could satisfy both it and this License would be to
  693. refrain entirely from distribution of the Library.
  694. If any portion of this section is held invalid or unenforceable under any
  695. particular circumstance, the balance of the section is intended to apply,
  696. and the section as a whole is intended to apply in other circumstances.
  697. It is not the purpose of this section to induce you to infringe any
  698. patents or other property right claims or to contest validity of any
  699. such claims; this section has the sole purpose of protecting the
  700. integrity of the free software distribution system which is
  701. implemented by public license practices. Many people have made
  702. generous contributions to the wide range of software distributed
  703. through that system in reliance on consistent application of that
  704. system; it is up to the author/donor to decide if he or she is willing
  705. to distribute software through any other system and a licensee cannot
  706. impose that choice.
  707. This section is intended to make thoroughly clear what is believed to
  708. be a consequence of the rest of this License.
  709. 12. If the distribution and/or use of the Library is restricted in
  710. certain countries either by patents or by copyrighted interfaces, the
  711. original copyright holder who places the Library under this License may add
  712. an explicit geographical distribution limitation excluding those countries,
  713. so that distribution is permitted only in or among countries not thus
  714. excluded. In such case, this License incorporates the limitation as if
  715. written in the body of this License.
  716. 13. The Free Software Foundation may publish revised and/or new
  717. versions of the Lesser General Public License from time to time.
  718. Such new versions will be similar in spirit to the present version,
  719. but may differ in detail to address new problems or concerns.
  720. Each version is given a distinguishing version number. If the Library
  721. specifies a version number of this License which applies to it and
  722. "any later version", you have the option of following the terms and
  723. conditions either of that version or of any later version published by
  724. the Free Software Foundation. If the Library does not specify a
  725. license version number, you may choose any version ever published by
  726. the Free Software Foundation.
  727. 14. If you wish to incorporate parts of the Library into other free
  728. programs whose distribution conditions are incompatible with these,
  729. write to the author to ask for permission. For software which is
  730. copyrighted by the Free Software Foundation, write to the Free
  731. Software Foundation; we sometimes make exceptions for this. Our
  732. decision will be guided by the two goals of preserving the free status
  733. of all derivatives of our free software and of promoting the sharing
  734. and reuse of software generally.
  735. NO WARRANTY
  736. 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
  737. WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
  738. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
  739. OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
  740. KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
  741. IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  742. PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
  743. LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
  744. THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
  745. 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
  746. WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
  747. AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
  748. FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
  749. CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
  750. LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
  751. RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
  752. FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
  753. SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
  754. DAMAGES.
  755. END OF TERMS AND CONDITIONS
  756. How to Apply These Terms to Your New Libraries
  757. If you develop a new library, and you want it to be of the greatest
  758. possible use to the public, we recommend making it free software that
  759. everyone can redistribute and change. You can do so by permitting
  760. redistribution under these terms (or, alternatively, under the terms of the
  761. ordinary General Public License).
  762. To apply these terms, attach the following notices to the library. It is
  763. safest to attach them to the start of each source file to most effectively
  764. convey the exclusion of warranty; and each file should have at least the
  765. "copyright" line and a pointer to where the full notice is found.
  766. <one line to give the library's name and a brief idea of what it does.>
  767. Copyright (C) <year> <name of author>
  768. This library is free software; you can redistribute it and/or
  769. modify it under the terms of the GNU Lesser General Public
  770. License as published by the Free Software Foundation; either
  771. version 2.1 of the License, or (at your option) any later version.
  772. This library is distributed in the hope that it will be useful,
  773. but WITHOUT ANY WARRANTY; without even the implied warranty of
  774. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  775. Lesser General Public License for more details.
  776. You should have received a copy of the GNU Lesser General Public
  777. License along with this library; if not, write to the Free Software
  778. Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  779. Also add information on how to contact you by electronic and paper mail.
  780. You should also get your employer (if you work as a programmer) or your
  781. school, if any, to sign a "copyright disclaimer" for the library, if
  782. necessary. Here is a sample; alter the names:
  783. Yoyodyne, Inc., hereby disclaims all copyright interest in the
  784. library `Frob' (a library for tweaking knobs) written by James Random Hacker.
  785. <signature of Ty Coon>, 1 April 1990
  786. Ty Coon, President of Vice
  787. That's all there is to it!
  788. ----------------------------------------------------------------------
  789. The bundled SHA1 collision detection code is licensed under the MIT license:
  790. MIT License
  791. Copyright (c) 2017:
  792. Marc Stevens
  793. Cryptology Group
  794. Centrum Wiskunde & Informatica
  795. P.O. Box 94079, 1090 GB Amsterdam, Netherlands
  796. marc@marc-stevens.nl
  797. Dan Shumow
  798. Microsoft Research
  799. danshu@microsoft.com
  800. Permission is hereby granted, free of charge, to any person obtaining a copy
  801. of this software and associated documentation files (the "Software"), to deal
  802. in the Software without restriction, including without limitation the rights
  803. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  804. copies of the Software, and to permit persons to whom the Software is
  805. furnished to do so, subject to the following conditions:
  806. The above copyright notice and this permission notice shall be included in all
  807. copies or substantial portions of the Software.
  808. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  809. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  810. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  811. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  812. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  813. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  814. SOFTWARE.
  815. ----------------------------------------------------------------------
  816. The bundled wildmatch code is licensed under the BSD license:
  817. Copyright Rich Salz.
  818. All rights reserved.
  819. Redistribution and use in any form are permitted provided that the
  820. following restrictions are are met:
  821. 1. Source distributions must retain this entire copyright notice
  822. and comment.
  823. 2. Binary distributions must include the acknowledgement ``This
  824. product includes software developed by Rich Salz'' in the
  825. documentation or other materials provided with the
  826. distribution. This must not be represented as an endorsement
  827. or promotion without specific prior written permission.
  828. 3. The origin of this software must not be misrepresented, either
  829. by explicit claim or by omission. Credits must appear in the
  830. source and documentation.
  831. 4. Altered versions must be plainly marked as such in the source
  832. and documentation and must not be misrepresented as being the
  833. original software.
  834. THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
  835. WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
  836. MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  837. ----------------------------------------------------------------------
  838. Portions of the OpenSSL headers are included under the OpenSSL license:
  839. Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
  840. All rights reserved.
  841. This package is an SSL implementation written
  842. by Eric Young (eay@cryptsoft.com).
  843. The implementation was written so as to conform with Netscapes SSL.
  844. This library is free for commercial and non-commercial use as long as
  845. the following conditions are aheared to. The following conditions
  846. apply to all code found in this distribution, be it the RC4, RSA,
  847. lhash, DES, etc., code; not just the SSL code. The SSL documentation
  848. included with this distribution is covered by the same copyright terms
  849. except that the holder is Tim Hudson (tjh@cryptsoft.com).
  850. Copyright remains Eric Young's, and as such any Copyright notices in
  851. the code are not to be removed.
  852. If this package is used in a product, Eric Young should be given attribution
  853. as the author of the parts of the library used.
  854. This can be in the form of a textual message at program startup or
  855. in documentation (online or textual) provided with the package.
  856. Redistribution and use in source and binary forms, with or without
  857. modification, are permitted provided that the following conditions
  858. are met:
  859. 1. Redistributions of source code must retain the copyright
  860. notice, this list of conditions and the following disclaimer.
  861. 2. Redistributions in binary form must reproduce the above copyright
  862. notice, this list of conditions and the following disclaimer in the
  863. documentation and/or other materials provided with the distribution.
  864. 3. All advertising materials mentioning features or use of this software
  865. must display the following acknowledgement:
  866. "This product includes cryptographic software written by
  867. Eric Young (eay@cryptsoft.com)"
  868. The word 'cryptographic' can be left out if the rouines from the library
  869. being used are not cryptographic related :-).
  870. 4. If you include any Windows specific code (or a derivative thereof) from
  871. the apps directory (application code) you must include an acknowledgement:
  872. "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
  873. THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
  874. ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  875. IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  876. ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
  877. FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  878. DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  879. OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  880. HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  881. LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  882. OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  883. SUCH DAMAGE.
  884. The licence and distribution terms for any publically available version or
  885. derivative of this code cannot be changed. i.e. this code cannot simply be
  886. copied and put under another distribution licence
  887. [including the GNU Public Licence.]
  888. ====================================================================
  889. Copyright (c) 1998-2007 The OpenSSL Project. All rights reserved.
  890. Redistribution and use in source and binary forms, with or without
  891. modification, are permitted provided that the following conditions
  892. are met:
  893. 1. Redistributions of source code must retain the above copyright
  894. notice, this list of conditions and the following disclaimer.
  895. 2. Redistributions in binary form must reproduce the above copyright
  896. notice, this list of conditions and the following disclaimer in
  897. the documentation and/or other materials provided with the
  898. distribution.
  899. 3. All advertising materials mentioning features or use of this
  900. software must display the following acknowledgment:
  901. "This product includes software developed by the OpenSSL Project
  902. for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
  903. 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
  904. endorse or promote products derived from this software without
  905. prior written permission. For written permission, please contact
  906. openssl-core@openssl.org.
  907. 5. Products derived from this software may not be called "OpenSSL"
  908. nor may "OpenSSL" appear in their names without prior written
  909. permission of the OpenSSL Project.
  910. 6. Redistributions of any form whatsoever must retain the following
  911. acknowledgment:
  912. "This product includes software developed by the OpenSSL Project
  913. for use in the OpenSSL Toolkit (http://www.openssl.org/)"
  914. THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
  915. EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  916. IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  917. PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
  918. ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  919. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
  920. NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  921. LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  922. HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  923. STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  924. ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
  925. OF THE POSSIBILITY OF SUCH DAMAGE.
  926. ----------------------------------------------------------------------
  927. The xoroshiro256** implementation is licensed in the public domain:
  928. Written in 2018 by David Blackman and Sebastiano Vigna (vigna@acm.org)
  929. To the extent possible under law, the author has dedicated all copyright
  930. and related and neighboring rights to this software to the public domain
  931. worldwide. This software is distributed without any warranty.
  932. See <http://creativecommons.org/publicdomain/zero/1.0/>.
  933. ----------------------------------------------------------------------
  934. The built-in SHA256 support (src/hash/rfc6234) is taken from RFC 6234
  935. under the following license:
  936. Copyright (c) 2011 IETF Trust and the persons identified as
  937. authors of the code. All rights reserved.
  938. Redistribution and use in source and binary forms, with or
  939. without modification, are permitted provided that the following
  940. conditions are met:
  941. - Redistributions of source code must retain the above
  942. copyright notice, this list of conditions and
  943. the following disclaimer.
  944. - Redistributions in binary form must reproduce the above
  945. copyright notice, this list of conditions and the following
  946. disclaimer in the documentation and/or other materials provided
  947. with the distribution.
  948. - Neither the name of Internet Society, IETF or IETF Trust, nor
  949. the names of specific contributors, may be used to endorse or
  950. promote products derived from this software without specific
  951. prior written permission.
  952. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
  953. CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
  954. INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  955. MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  956. DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
  957. CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  958. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
  959. NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  960. LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  961. HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
  962. CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
  963. OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
  964. EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  965. ----------------------------------------------------------------------
  966. The built-in git_fs_path_basename_r() function is based on the
  967. Android implementation, BSD licensed:
  968. Copyright (C) 2008 The Android Open Source Project
  969. All rights reserved.
  970. Redistribution and use in source and binary forms, with or without
  971. modification, are permitted provided that the following conditions
  972. are met:
  973. * Redistributions of source code must retain the above copyright
  974. notice, this list of conditions and the following disclaimer.
  975. * Redistributions in binary form must reproduce the above copyright
  976. notice, this list of conditions and the following disclaimer in
  977. the documentation and/or other materials provided with the
  978. distribution.
  979. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  980. AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  981. LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  982. FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
  983. COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
  984. INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
  985. BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
  986. OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
  987. AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  988. OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  989. OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  990. SUCH DAMAGE.
  991. ----------------------------------------------------------------------
  992. The bundled ntlmclient code is licensed under the MIT license:
  993. Copyright (c) Edward Thomson. All rights reserved.
  994. Permission is hereby granted, free of charge, to any person obtaining a
  995. copy of this software and associated documentation files (the "Software"),
  996. to deal in the Software without restriction, including without limitation
  997. the rights to use, copy, modify, merge, publish, distribute, sublicense,
  998. and/or sell copies of the Software, and to permit persons to whom the
  999. Software is furnished to do so, subject to the following conditions:
  1000. The above copyright notice and this permission notice shall be included
  1001. in all copies or substantial portions of the Software.
  1002. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  1003. OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  1004. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
  1005. THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  1006. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  1007. FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  1008. DEALINGS IN THE SOFTWARE.
  1009. ----------------------------------------------------------------------
  1010. Portions of this software derived from Team Explorer Everywhere:
  1011. Copyright (c) Microsoft Corporation
  1012. All rights reserved.
  1013. Permission is hereby granted, free of charge, to any person obtaining a
  1014. copy of this software and associated documentation files (the "Software"),
  1015. to deal in the Software without restriction, including without limitation
  1016. the rights to use, copy, modify, merge, publish, distribute, sublicense,
  1017. and/or sell copies of the Software, and to permit persons to whom the
  1018. Software is furnished to do so, subject to the following conditions:
  1019. The above copyright notice and this permission notice shall be included
  1020. in all copies or substantial portions of the Software.
  1021. THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS
  1022. OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  1023. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
  1024. THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
  1025. OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
  1026. ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  1027. OTHER DEALINGS IN THE SOFTWARE.
  1028. ---------------------------------------------------------------------------
  1029. Portions of this software derived from the LLVM Compiler Infrastructure:
  1030. Copyright (c) 2003-2016 University of Illinois at Urbana-Champaign.
  1031. All rights reserved.
  1032. Developed by:
  1033. LLVM Team
  1034. University of Illinois at Urbana-Champaign
  1035. http://llvm.org
  1036. Permission is hereby granted, free of charge, to any person obtaining a copy of
  1037. this software and associated documentation files (the "Software"), to deal with
  1038. the Software without restriction, including without limitation the rights to
  1039. use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
  1040. of the Software, and to permit persons to whom the Software is furnished to do
  1041. so, subject to the following conditions:
  1042. * Redistributions of source code must retain the above copyright notice,
  1043. this list of conditions and the following disclaimers.
  1044. * Redistributions in binary form must reproduce the above copyright notice,
  1045. this list of conditions and the following disclaimers in the
  1046. documentation and/or other materials provided with the distribution.
  1047. * Neither the names of the LLVM Team, University of Illinois at
  1048. Urbana-Champaign, nor the names of its contributors may be used to
  1049. endorse or promote products derived from this Software without specific
  1050. prior written permission.
  1051. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  1052. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
  1053. FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  1054. CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  1055. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  1056. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE
  1057. SOFTWARE.
  1058. ---------------------------------------------------------------------------
  1059. Portions of this software derived from Unicode, Inc:
  1060. Copyright 2001-2004 Unicode, Inc.
  1061. Disclaimer
  1062. This source code is provided as is by Unicode, Inc. No claims are
  1063. made as to fitness for any particular purpose. No warranties of any
  1064. kind are expressed or implied. The recipient agrees to determine
  1065. applicability of information provided. If this file has been
  1066. purchased on magnetic or optical media from Unicode, Inc., the
  1067. sole remedy for any claim will be exchange of defective media
  1068. within 90 days of receipt.
  1069. Limitations on Rights to Redistribute This Code
  1070. Unicode, Inc. hereby grants the right to freely use the information
  1071. supplied in this file in the creation of products supporting the
  1072. Unicode Standard, and to make copies of this file in any form
  1073. for internal or external distribution as long as this notice
  1074. remains attached.
  1075. ---------------------------------------------------------------------------
  1076. Portions of this software derived from sheredom/utf8.h:
  1077. This is free and unencumbered software released into the public domain.
  1078. Anyone is free to copy, modify, publish, use, compile, sell, or
  1079. distribute this software, either in source code form or as a compiled
  1080. binary, for any purpose, commercial or non-commercial, and by any
  1081. means.
  1082. In jurisdictions that recognize copyright laws, the author or authors
  1083. of this software dedicate any and all copyright interest in the
  1084. software to the public domain. We make this dedication for the benefit
  1085. of the public at large and to the detriment of our heirs and
  1086. successors. We intend this dedication to be an overt act of
  1087. relinquishment in perpetuity of all present and future rights to this
  1088. software under copyright law.
  1089. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  1090. EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  1091. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  1092. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
  1093. OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
  1094. ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  1095. OTHER DEALINGS IN THE SOFTWARE.
  1096. For more information, please refer to <http://unlicense.org/>
  1097. ---------------------------------------------------------------------------
  1098. Portions of this software derived from RFC 1320:
  1099. Copyright (C) 1990-2, RSA Data Security, Inc. All rights reserved.
  1100. License to copy and use this software is granted provided that it
  1101. is identified as the "RSA Data Security, Inc. MD4 Message-Digest
  1102. Algorithm" in all material mentioning or referencing this software
  1103. or this function.
  1104. License is also granted to make and use derivative works provided
  1105. that such works are identified as "derived from the RSA Data
  1106. Security, Inc. MD4 Message-Digest Algorithm" in all material
  1107. mentioning or referencing the derived work.
  1108. RSA Data Security, Inc. makes no representations concerning either
  1109. the merchantability of this software or the suitability of this
  1110. software for any particular purpose. It is provided "as is"
  1111. without express or implied warranty of any kind.
  1112. These notices must be retained in any copies of any part of this
  1113. documentation and/or software.
  1114. ----------------------------------------------------------------------
  1115. The bundled llhttp dependency is licensed under the MIT license:
  1116. Copyright Fedor Indutny, 2018.
  1117. Permission is hereby granted, free of charge, to any person obtaining a
  1118. copy of this software and associated documentation files (the
  1119. "Software"), to deal in the Software without restriction, including
  1120. without limitation the rights to use, copy, modify, merge, publish,
  1121. distribute, sublicense, and/or sell copies of the Software, and to permit
  1122. persons to whom the Software is furnished to do so, subject to the
  1123. following conditions:
  1124. The above copyright notice and this permission notice shall be included
  1125. in all copies or substantial portions of the Software.
  1126. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  1127. OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  1128. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
  1129. NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
  1130. DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
  1131. OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
  1132. USE OR OTHER DEALINGS IN THE SOFTWARE.