licenses.list.txt 92 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796
  1. ===================="(GPL-2.0-only WITH Linux-syscall-note OR MIT)"====================
  2. GNU GENERAL PUBLIC LICENSE
  3. Version 2, June 1991
  4. Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
  5. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  6. Everyone is permitted to copy and distribute verbatim copies
  7. of this license document, but changing it is not allowed.
  8. Preamble
  9. The licenses for most software are designed to take away your
  10. freedom to share and change it. By contrast, the GNU General Public
  11. License is intended to guarantee your freedom to share and change free
  12. software--to make sure the software is free for all its users. This
  13. General Public License applies to most of the Free Software
  14. Foundation's software and to any other program whose authors commit to
  15. using it. (Some other Free Software Foundation software is covered by
  16. the GNU Lesser General Public License instead.) You can apply it to
  17. your programs, too.
  18. When we speak of free software, we are referring to freedom, not
  19. price. Our General Public Licenses are designed to make sure that you
  20. have the freedom to distribute copies of free software (and charge for
  21. this service if you wish), that you receive source code or can get it
  22. if you want it, that you can change the software or use pieces of it
  23. in new free programs; and that you know you can do these things.
  24. To protect your rights, we need to make restrictions that forbid
  25. anyone to deny you these rights or to ask you to surrender the rights.
  26. These restrictions translate to certain responsibilities for you if you
  27. distribute copies of the software, or if you modify it.
  28. For example, if you distribute copies of such a program, whether
  29. gratis or for a fee, you must give the recipients all the rights that
  30. you have. You must make sure that they, too, receive or can get the
  31. source code. And you must show them these terms so they know their
  32. rights.
  33. We protect your rights with two steps: (1) copyright the software, and
  34. (2) offer you this license which gives you legal permission to copy,
  35. distribute and/or modify the software.
  36. Also, for each author's protection and ours, we want to make certain
  37. that everyone understands that there is no warranty for this free
  38. software. If the software is modified by someone else and passed on, we
  39. want its recipients to know that what they have is not the original, so
  40. that any problems introduced by others will not reflect on the original
  41. authors' reputations.
  42. Finally, any free program is threatened constantly by software
  43. patents. We wish to avoid the danger that redistributors of a free
  44. program will individually obtain patent licenses, in effect making the
  45. program proprietary. To prevent this, we have made it clear that any
  46. patent must be licensed for everyone's free use or not licensed at all.
  47. The precise terms and conditions for copying, distribution and
  48. modification follow.
  49. GNU GENERAL PUBLIC LICENSE
  50. TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
  51. 0. This License applies to any program or other work which contains
  52. a notice placed by the copyright holder saying it may be distributed
  53. under the terms of this General Public License. The "Program", below,
  54. refers to any such program or work, and a "work based on the Program"
  55. means either the Program or any derivative work under copyright law:
  56. that is to say, a work containing the Program or a portion of it,
  57. either verbatim or with modifications and/or translated into another
  58. language. (Hereinafter, translation is included without limitation in
  59. the term "modification".) Each licensee is addressed as "you".
  60. Activities other than copying, distribution and modification are not
  61. covered by this License; they are outside its scope. The act of
  62. running the Program is not restricted, and the output from the Program
  63. is covered only if its contents constitute a work based on the
  64. Program (independent of having been made by running the Program).
  65. Whether that is true depends on what the Program does.
  66. 1. You may copy and distribute verbatim copies of the Program's
  67. source code as you receive it, in any medium, provided that you
  68. conspicuously and appropriately publish on each copy an appropriate
  69. copyright notice and disclaimer of warranty; keep intact all the
  70. notices that refer to this License and to the absence of any warranty;
  71. and give any other recipients of the Program a copy of this License
  72. along with the Program.
  73. You may charge a fee for the physical act of transferring a copy, and
  74. you may at your option offer warranty protection in exchange for a fee.
  75. 2. You may modify your copy or copies of the Program or any portion
  76. of it, thus forming a work based on the Program, and copy and
  77. distribute such modifications or work under the terms of Section 1
  78. above, provided that you also meet all of these conditions:
  79. a) You must cause the modified files to carry prominent notices
  80. stating that you changed the files and the date of any change.
  81. b) You must cause any work that you distribute or publish, that in
  82. whole or in part contains or is derived from the Program or any
  83. part thereof, to be licensed as a whole at no charge to all third
  84. parties under the terms of this License.
  85. c) If the modified program normally reads commands interactively
  86. when run, you must cause it, when started running for such
  87. interactive use in the most ordinary way, to print or display an
  88. announcement including an appropriate copyright notice and a
  89. notice that there is no warranty (or else, saying that you provide
  90. a warranty) and that users may redistribute the program under
  91. these conditions, and telling the user how to view a copy of this
  92. License. (Exception: if the Program itself is interactive but
  93. does not normally print such an announcement, your work based on
  94. the Program is not required to print an announcement.)
  95. These requirements apply to the modified work as a whole. If
  96. identifiable sections of that work are not derived from the Program,
  97. and can be reasonably considered independent and separate works in
  98. themselves, then this License, and its terms, do not apply to those
  99. sections when you distribute them as separate works. But when you
  100. distribute the same sections as part of a whole which is a work based
  101. on the Program, the distribution of the whole must be on the terms of
  102. this License, whose permissions for other licensees extend to the
  103. entire whole, and thus to each and every part regardless of who wrote it.
  104. Thus, it is not the intent of this section to claim rights or contest
  105. your rights to work written entirely by you; rather, the intent is to
  106. exercise the right to control the distribution of derivative or
  107. collective works based on the Program.
  108. In addition, mere aggregation of another work not based on the Program
  109. with the Program (or with a work based on the Program) on a volume of
  110. a storage or distribution medium does not bring the other work under
  111. the scope of this License.
  112. 3. You may copy and distribute the Program (or a work based on it,
  113. under Section 2) in object code or executable form under the terms of
  114. Sections 1 and 2 above provided that you also do one of the following:
  115. a) Accompany it with the complete corresponding machine-readable
  116. source code, which must be distributed under the terms of Sections
  117. 1 and 2 above on a medium customarily used for software interchange; or,
  118. b) Accompany it with a written offer, valid for at least three
  119. years, to give any third party, for a charge no more than your
  120. cost of physically performing source distribution, a complete
  121. machine-readable copy of the corresponding source code, to be
  122. distributed under the terms of Sections 1 and 2 above on a medium
  123. customarily used for software interchange; or,
  124. c) Accompany it with the information you received as to the offer
  125. to distribute corresponding source code. (This alternative is
  126. allowed only for noncommercial distribution and only if you
  127. received the program in object code or executable form with such
  128. an offer, in accord with Subsection b above.)
  129. The source code for a work means the preferred form of the work for
  130. making modifications to it. For an executable work, complete source
  131. code means all the source code for all modules it contains, plus any
  132. associated interface definition files, plus the scripts used to
  133. control compilation and installation of the executable. However, as a
  134. special exception, the source code distributed need not include
  135. anything that is normally distributed (in either source or binary
  136. form) with the major components (compiler, kernel, and so on) of the
  137. operating system on which the executable runs, unless that component
  138. itself accompanies the executable.
  139. If distribution of executable or object code is made by offering
  140. access to copy from a designated place, then offering equivalent
  141. access to copy the source code from the same place counts as
  142. distribution of the source code, even though third parties are not
  143. compelled to copy the source along with the object code.
  144. 4. You may not copy, modify, sublicense, or distribute the Program
  145. except as expressly provided under this License. Any attempt
  146. otherwise to copy, modify, sublicense or distribute the Program is
  147. void, and will automatically terminate your rights under this License.
  148. However, parties who have received copies, or rights, from you under
  149. this License will not have their licenses terminated so long as such
  150. parties remain in full compliance.
  151. 5. You are not required to accept this License, since you have not
  152. signed it. However, nothing else grants you permission to modify or
  153. distribute the Program or its derivative works. These actions are
  154. prohibited by law if you do not accept this License. Therefore, by
  155. modifying or distributing the Program (or any work based on the
  156. Program), you indicate your acceptance of this License to do so, and
  157. all its terms and conditions for copying, distributing or modifying
  158. the Program or works based on it.
  159. 6. Each time you redistribute the Program (or any work based on the
  160. Program), the recipient automatically receives a license from the
  161. original licensor to copy, distribute or modify the Program subject to
  162. these terms and conditions. You may not impose any further
  163. restrictions on the recipients' exercise of the rights granted herein.
  164. You are not responsible for enforcing compliance by third parties to
  165. this License.
  166. 7. If, as a consequence of a court judgment or allegation of patent
  167. infringement or for any other reason (not limited to patent issues),
  168. conditions are imposed on you (whether by court order, agreement or
  169. otherwise) that contradict the conditions of this License, they do not
  170. excuse you from the conditions of this License. If you cannot
  171. distribute so as to satisfy simultaneously your obligations under this
  172. License and any other pertinent obligations, then as a consequence you
  173. may not distribute the Program at all. For example, if a patent
  174. license would not permit royalty-free redistribution of the Program by
  175. all those who receive copies directly or indirectly through you, then
  176. the only way you could satisfy both it and this License would be to
  177. refrain entirely from distribution of the Program.
  178. If any portion of this section is held invalid or unenforceable under
  179. any particular circumstance, the balance of the section is intended to
  180. apply and the section as a whole is intended to apply in other
  181. circumstances.
  182. It is not the purpose of this section to induce you to infringe any
  183. patents or other property right claims or to contest validity of any
  184. such claims; this section has the sole purpose of protecting the
  185. integrity of the free software distribution system, which is
  186. implemented by public license practices. Many people have made
  187. generous contributions to the wide range of software distributed
  188. through that system in reliance on consistent application of that
  189. system; it is up to the author/donor to decide if he or she is willing
  190. to distribute software through any other system and a licensee cannot
  191. impose that choice.
  192. This section is intended to make thoroughly clear what is believed to
  193. be a consequence of the rest of this License.
  194. 8. If the distribution and/or use of the Program is restricted in
  195. certain countries either by patents or by copyrighted interfaces, the
  196. original copyright holder who places the Program under this License
  197. may add an explicit geographical distribution limitation excluding
  198. those countries, so that distribution is permitted only in or among
  199. countries not thus excluded. In such case, this License incorporates
  200. the limitation as if written in the body of this License.
  201. 9. The Free Software Foundation may publish revised and/or new versions
  202. of the General Public License from time to time. Such new versions will
  203. be similar in spirit to the present version, but may differ in detail to
  204. address new problems or concerns.
  205. Each version is given a distinguishing version number. If the Program
  206. specifies a version number of this License which applies to it and "any
  207. later version", you have the option of following the terms and conditions
  208. either of that version or of any later version published by the Free
  209. Software Foundation. If the Program does not specify a version number of
  210. this License, you may choose any version ever published by the Free Software
  211. Foundation.
  212. 10. If you wish to incorporate parts of the Program into other free
  213. programs whose distribution conditions are different, write to the author
  214. to ask for permission. For software which is copyrighted by the Free
  215. Software Foundation, write to the Free Software Foundation; we sometimes
  216. make exceptions for this. Our decision will be guided by the two goals
  217. of preserving the free status of all derivatives of our free software and
  218. of promoting the sharing and reuse of software generally.
  219. NO WARRANTY
  220. 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
  221. FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
  222. OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
  223. PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
  224. OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  225. MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
  226. TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
  227. PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
  228. REPAIR OR CORRECTION.
  229. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
  230. WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
  231. REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
  232. INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
  233. OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
  234. TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
  235. YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
  236. PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
  237. POSSIBILITY OF SUCH DAMAGES.
  238. END OF TERMS AND CONDITIONS
  239. How to Apply These Terms to Your New Programs
  240. If you develop a new program, and you want it to be of the greatest
  241. possible use to the public, the best way to achieve this is to make it
  242. free software which everyone can redistribute and change under these terms.
  243. To do so, attach the following notices to the program. It is safest
  244. to attach them to the start of each source file to most effectively
  245. convey the exclusion of warranty; and each file should have at least
  246. the "copyright" line and a pointer to where the full notice is found.
  247. <one line to give the program's name and a brief idea of what it does.>
  248. Copyright (C) <year> <name of author>
  249. This program is free software; you can redistribute it and/or modify
  250. it under the terms of the GNU General Public License as published by
  251. the Free Software Foundation; either version 2 of the License, or
  252. (at your option) any later version.
  253. This program is distributed in the hope that it will be useful,
  254. but WITHOUT ANY WARRANTY; without even the implied warranty of
  255. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  256. GNU General Public License for more details.
  257. You should have received a copy of the GNU General Public License along
  258. with this program; if not, write to the Free Software Foundation, Inc.,
  259. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  260. Also add information on how to contact you by electronic and paper mail.
  261. If the program is interactive, make it output a short notice like this
  262. when it starts in an interactive mode:
  263. Gnomovision version 69, Copyright (C) year name of author
  264. Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
  265. This is free software, and you are welcome to redistribute it
  266. under certain conditions; type `show c' for details.
  267. The hypothetical commands `show w' and `show c' should show the appropriate
  268. parts of the General Public License. Of course, the commands you use may
  269. be called something other than `show w' and `show c'; they could even be
  270. mouse-clicks or menu items--whatever suits your program.
  271. You should also get your employer (if you work as a programmer) or your
  272. school, if any, to sign a "copyright disclaimer" for the program, if
  273. necessary. Here is a sample; alter the names:
  274. Yoyodyne, Inc., hereby disclaims all copyright interest in the program
  275. `Gnomovision' (which makes passes at compilers) written by James Hacker.
  276. <signature of Ty Coon>, 1 April 1989
  277. Ty Coon, President of Vice
  278. This General Public License does not permit incorporating your program into
  279. proprietary programs. If your program is a subroutine library, you may
  280. consider it more useful to permit linking proprietary applications with the
  281. library. If this is what you want to do, use the GNU Lesser General
  282. Public License instead of this License.
  283. ===================="(GPL-2.0-only WITH Linux-syscall-note OR MIT)"====================
  284. /* SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note) OR MIT */
  285. ===================="(GPL-2.0-only WITH Linux-syscall-note OR MIT)"====================
  286. COPYING.GPL and <https://spdx.org/licenses/Linux-syscall-note.html>.
  287. ===================="(GPL-2.0-only WITH Linux-syscall-note OR MIT)"====================
  288. dual licensed GPL with a Linux-syscall-note exception and MIT, see
  289. ===================="(LGPL-2.1-only OR MIT)"====================
  290. GNU LESSER GENERAL PUBLIC LICENSE
  291. Version 2.1, February 1999
  292. Copyright (C) 1991, 1999 Free Software Foundation, Inc.
  293. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  294. Everyone is permitted to copy and distribute verbatim copies
  295. of this license document, but changing it is not allowed.
  296. [This is the first released version of the Lesser GPL. It also counts
  297. as the successor of the GNU Library Public License, version 2, hence
  298. the version number 2.1.]
  299. Preamble
  300. The licenses for most software are designed to take away your
  301. freedom to share and change it. By contrast, the GNU General Public
  302. Licenses are intended to guarantee your freedom to share and change
  303. free software--to make sure the software is free for all its users.
  304. This license, the Lesser General Public License, applies to some
  305. specially designated software packages--typically libraries--of the
  306. Free Software Foundation and other authors who decide to use it. You
  307. can use it too, but we suggest you first think carefully about whether
  308. this license or the ordinary General Public License is the better
  309. strategy to use in any particular case, based on the explanations below.
  310. When we speak of free software, we are referring to freedom of use,
  311. not price. Our General Public Licenses are designed to make sure that
  312. you have the freedom to distribute copies of free software (and charge
  313. for this service if you wish); that you receive source code or can get
  314. it if you want it; that you can change the software and use pieces of
  315. it in new free programs; and that you are informed that you can do
  316. these things.
  317. To protect your rights, we need to make restrictions that forbid
  318. distributors to deny you these rights or to ask you to surrender these
  319. rights. These restrictions translate to certain responsibilities for
  320. you if you distribute copies of the library or if you modify it.
  321. For example, if you distribute copies of the library, whether gratis
  322. or for a fee, you must give the recipients all the rights that we gave
  323. you. You must make sure that they, too, receive or can get the source
  324. code. If you link other code with the library, you must provide
  325. complete object files to the recipients, so that they can relink them
  326. with the library after making changes to the library and recompiling
  327. it. And you must show them these terms so they know their rights.
  328. We protect your rights with a two-step method: (1) we copyright the
  329. library, and (2) we offer you this license, which gives you legal
  330. permission to copy, distribute and/or modify the library.
  331. To protect each distributor, we want to make it very clear that
  332. there is no warranty for the free library. Also, if the library is
  333. modified by someone else and passed on, the recipients should know
  334. that what they have is not the original version, so that the original
  335. author's reputation will not be affected by problems that might be
  336. introduced by others.
  337. Finally, software patents pose a constant threat to the existence of
  338. any free program. We wish to make sure that a company cannot
  339. effectively restrict the users of a free program by obtaining a
  340. restrictive license from a patent holder. Therefore, we insist that
  341. any patent license obtained for a version of the library must be
  342. consistent with the full freedom of use specified in this license.
  343. Most GNU software, including some libraries, is covered by the
  344. ordinary GNU General Public License. This license, the GNU Lesser
  345. General Public License, applies to certain designated libraries, and
  346. is quite different from the ordinary General Public License. We use
  347. this license for certain libraries in order to permit linking those
  348. libraries into non-free programs.
  349. When a program is linked with a library, whether statically or using
  350. a shared library, the combination of the two is legally speaking a
  351. combined work, a derivative of the original library. The ordinary
  352. General Public License therefore permits such linking only if the
  353. entire combination fits its criteria of freedom. The Lesser General
  354. Public License permits more lax criteria for linking other code with
  355. the library.
  356. We call this license the "Lesser" General Public License because it
  357. does Less to protect the user's freedom than the ordinary General
  358. Public License. It also provides other free software developers Less
  359. of an advantage over competing non-free programs. These disadvantages
  360. are the reason we use the ordinary General Public License for many
  361. libraries. However, the Lesser license provides advantages in certain
  362. special circumstances.
  363. For example, on rare occasions, there may be a special need to
  364. encourage the widest possible use of a certain library, so that it becomes
  365. a de-facto standard. To achieve this, non-free programs must be
  366. allowed to use the library. A more frequent case is that a free
  367. library does the same job as widely used non-free libraries. In this
  368. case, there is little to gain by limiting the free library to free
  369. software only, so we use the Lesser General Public License.
  370. In other cases, permission to use a particular library in non-free
  371. programs enables a greater number of people to use a large body of
  372. free software. For example, permission to use the GNU C Library in
  373. non-free programs enables many more people to use the whole GNU
  374. operating system, as well as its variant, the GNU/Linux operating
  375. system.
  376. Although the Lesser General Public License is Less protective of the
  377. users' freedom, it does ensure that the user of a program that is
  378. linked with the Library has the freedom and the wherewithal to run
  379. that program using a modified version of the Library.
  380. The precise terms and conditions for copying, distribution and
  381. modification follow. Pay close attention to the difference between a
  382. "work based on the library" and a "work that uses the library". The
  383. former contains code derived from the library, whereas the latter must
  384. be combined with the library in order to run.
  385. GNU LESSER GENERAL PUBLIC LICENSE
  386. TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
  387. 0. This License Agreement applies to any software library or other
  388. program which contains a notice placed by the copyright holder or
  389. other authorized party saying it may be distributed under the terms of
  390. this Lesser General Public License (also called "this License").
  391. Each licensee is addressed as "you".
  392. A "library" means a collection of software functions and/or data
  393. prepared so as to be conveniently linked with application programs
  394. (which use some of those functions and data) to form executables.
  395. The "Library", below, refers to any such software library or work
  396. which has been distributed under these terms. A "work based on the
  397. Library" means either the Library or any derivative work under
  398. copyright law: that is to say, a work containing the Library or a
  399. portion of it, either verbatim or with modifications and/or translated
  400. straightforwardly into another language. (Hereinafter, translation is
  401. included without limitation in the term "modification".)
  402. "Source code" for a work means the preferred form of the work for
  403. making modifications to it. For a library, complete source code means
  404. all the source code for all modules it contains, plus any associated
  405. interface definition files, plus the scripts used to control compilation
  406. and installation of the library.
  407. Activities other than copying, distribution and modification are not
  408. covered by this License; they are outside its scope. The act of
  409. running a program using the Library is not restricted, and output from
  410. such a program is covered only if its contents constitute a work based
  411. on the Library (independent of the use of the Library in a tool for
  412. writing it). Whether that is true depends on what the Library does
  413. and what the program that uses the Library does.
  414. 1. You may copy and distribute verbatim copies of the Library's
  415. complete source code as you receive it, in any medium, provided that
  416. you conspicuously and appropriately publish on each copy an
  417. appropriate copyright notice and disclaimer of warranty; keep intact
  418. all the notices that refer to this License and to the absence of any
  419. warranty; and distribute a copy of this License along with the
  420. Library.
  421. You may charge a fee for the physical act of transferring a copy,
  422. and you may at your option offer warranty protection in exchange for a
  423. fee.
  424. 2. You may modify your copy or copies of the Library or any portion
  425. of it, thus forming a work based on the Library, and copy and
  426. distribute such modifications or work under the terms of Section 1
  427. above, provided that you also meet all of these conditions:
  428. a) The modified work must itself be a software library.
  429. b) You must cause the files modified to carry prominent notices
  430. stating that you changed the files and the date of any change.
  431. c) You must cause the whole of the work to be licensed at no
  432. charge to all third parties under the terms of this License.
  433. d) If a facility in the modified Library refers to a function or a
  434. table of data to be supplied by an application program that uses
  435. the facility, other than as an argument passed when the facility
  436. is invoked, then you must make a good faith effort to ensure that,
  437. in the event an application does not supply such function or
  438. table, the facility still operates, and performs whatever part of
  439. its purpose remains meaningful.
  440. (For example, a function in a library to compute square roots has
  441. a purpose that is entirely well-defined independent of the
  442. application. Therefore, Subsection 2d requires that any
  443. application-supplied function or table used by this function must
  444. be optional: if the application does not supply it, the square
  445. root function must still compute square roots.)
  446. These requirements apply to the modified work as a whole. If
  447. identifiable sections of that work are not derived from the Library,
  448. and can be reasonably considered independent and separate works in
  449. themselves, then this License, and its terms, do not apply to those
  450. sections when you distribute them as separate works. But when you
  451. distribute the same sections as part of a whole which is a work based
  452. on the Library, the distribution of the whole must be on the terms of
  453. this License, whose permissions for other licensees extend to the
  454. entire whole, and thus to each and every part regardless of who wrote
  455. it.
  456. Thus, it is not the intent of this section to claim rights or contest
  457. your rights to work written entirely by you; rather, the intent is to
  458. exercise the right to control the distribution of derivative or
  459. collective works based on the Library.
  460. In addition, mere aggregation of another work not based on the Library
  461. with the Library (or with a work based on the Library) on a volume of
  462. a storage or distribution medium does not bring the other work under
  463. the scope of this License.
  464. 3. You may opt to apply the terms of the ordinary GNU General Public
  465. License instead of this License to a given copy of the Library. To do
  466. this, you must alter all the notices that refer to this License, so
  467. that they refer to the ordinary GNU General Public License, version 2,
  468. instead of to this License. (If a newer version than version 2 of the
  469. ordinary GNU General Public License has appeared, then you can specify
  470. that version instead if you wish.) Do not make any other change in
  471. these notices.
  472. Once this change is made in a given copy, it is irreversible for
  473. that copy, so the ordinary GNU General Public License applies to all
  474. subsequent copies and derivative works made from that copy.
  475. This option is useful when you wish to copy part of the code of
  476. the Library into a program that is not a library.
  477. 4. You may copy and distribute the Library (or a portion or
  478. derivative of it, under Section 2) in object code or executable form
  479. under the terms of Sections 1 and 2 above provided that you accompany
  480. it with the complete corresponding machine-readable source code, which
  481. must be distributed under the terms of Sections 1 and 2 above on a
  482. medium customarily used for software interchange.
  483. If distribution of object code is made by offering access to copy
  484. from a designated place, then offering equivalent access to copy the
  485. source code from the same place satisfies the requirement to
  486. distribute the source code, even though third parties are not
  487. compelled to copy the source along with the object code.
  488. 5. A program that contains no derivative of any portion of the
  489. Library, but is designed to work with the Library by being compiled or
  490. linked with it, is called a "work that uses the Library". Such a
  491. work, in isolation, is not a derivative work of the Library, and
  492. therefore falls outside the scope of this License.
  493. However, linking a "work that uses the Library" with the Library
  494. creates an executable that is a derivative of the Library (because it
  495. contains portions of the Library), rather than a "work that uses the
  496. library". The executable is therefore covered by this License.
  497. Section 6 states terms for distribution of such executables.
  498. When a "work that uses the Library" uses material from a header file
  499. that is part of the Library, the object code for the work may be a
  500. derivative work of the Library even though the source code is not.
  501. Whether this is true is especially significant if the work can be
  502. linked without the Library, or if the work is itself a library. The
  503. threshold for this to be true is not precisely defined by law.
  504. If such an object file uses only numerical parameters, data
  505. structure layouts and accessors, and small macros and small inline
  506. functions (ten lines or less in length), then the use of the object
  507. file is unrestricted, regardless of whether it is legally a derivative
  508. work. (Executables containing this object code plus portions of the
  509. Library will still fall under Section 6.)
  510. Otherwise, if the work is a derivative of the Library, you may
  511. distribute the object code for the work under the terms of Section 6.
  512. Any executables containing that work also fall under Section 6,
  513. whether or not they are linked directly with the Library itself.
  514. 6. As an exception to the Sections above, you may also combine or
  515. link a "work that uses the Library" with the Library to produce a
  516. work containing portions of the Library, and distribute that work
  517. under terms of your choice, provided that the terms permit
  518. modification of the work for the customer's own use and reverse
  519. engineering for debugging such modifications.
  520. You must give prominent notice with each copy of the work that the
  521. Library is used in it and that the Library and its use are covered by
  522. this License. You must supply a copy of this License. If the work
  523. during execution displays copyright notices, you must include the
  524. copyright notice for the Library among them, as well as a reference
  525. directing the user to the copy of this License. Also, you must do one
  526. of these things:
  527. a) Accompany the work with the complete corresponding
  528. machine-readable source code for the Library including whatever
  529. changes were used in the work (which must be distributed under
  530. Sections 1 and 2 above); and, if the work is an executable linked
  531. with the Library, with the complete machine-readable "work that
  532. uses the Library", as object code and/or source code, so that the
  533. user can modify the Library and then relink to produce a modified
  534. executable containing the modified Library. (It is understood
  535. that the user who changes the contents of definitions files in the
  536. Library will not necessarily be able to recompile the application
  537. to use the modified definitions.)
  538. b) Use a suitable shared library mechanism for linking with the
  539. Library. A suitable mechanism is one that (1) uses at run time a
  540. copy of the library already present on the user's computer system,
  541. rather than copying library functions into the executable, and (2)
  542. will operate properly with a modified version of the library, if
  543. the user installs one, as long as the modified version is
  544. interface-compatible with the version that the work was made with.
  545. c) Accompany the work with a written offer, valid for at
  546. least three years, to give the same user the materials
  547. specified in Subsection 6a, above, for a charge no more
  548. than the cost of performing this distribution.
  549. d) If distribution of the work is made by offering access to copy
  550. from a designated place, offer equivalent access to copy the above
  551. specified materials from the same place.
  552. e) Verify that the user has already received a copy of these
  553. materials or that you have already sent this user a copy.
  554. For an executable, the required form of the "work that uses the
  555. Library" must include any data and utility programs needed for
  556. reproducing the executable from it. However, as a special exception,
  557. the materials to be distributed need not include anything that is
  558. normally distributed (in either source or binary form) with the major
  559. components (compiler, kernel, and so on) of the operating system on
  560. which the executable runs, unless that component itself accompanies
  561. the executable.
  562. It may happen that this requirement contradicts the license
  563. restrictions of other proprietary libraries that do not normally
  564. accompany the operating system. Such a contradiction means you cannot
  565. use both them and the Library together in an executable that you
  566. distribute.
  567. 7. You may place library facilities that are a work based on the
  568. Library side-by-side in a single library together with other library
  569. facilities not covered by this License, and distribute such a combined
  570. library, provided that the separate distribution of the work based on
  571. the Library and of the other library facilities is otherwise
  572. permitted, and provided that you do these two things:
  573. a) Accompany the combined library with a copy of the same work
  574. based on the Library, uncombined with any other library
  575. facilities. This must be distributed under the terms of the
  576. Sections above.
  577. b) Give prominent notice with the combined library of the fact
  578. that part of it is a work based on the Library, and explaining
  579. where to find the accompanying uncombined form of the same work.
  580. 8. You may not copy, modify, sublicense, link with, or distribute
  581. the Library except as expressly provided under this License. Any
  582. attempt otherwise to copy, modify, sublicense, link with, or
  583. distribute the Library is void, and will automatically terminate your
  584. rights under this License. However, parties who have received copies,
  585. or rights, from you under this License will not have their licenses
  586. terminated so long as such parties remain in full compliance.
  587. 9. You are not required to accept this License, since you have not
  588. signed it. However, nothing else grants you permission to modify or
  589. distribute the Library or its derivative works. These actions are
  590. prohibited by law if you do not accept this License. Therefore, by
  591. modifying or distributing the Library (or any work based on the
  592. Library), you indicate your acceptance of this License to do so, and
  593. all its terms and conditions for copying, distributing or modifying
  594. the Library or works based on it.
  595. 10. Each time you redistribute the Library (or any work based on the
  596. Library), the recipient automatically receives a license from the
  597. original licensor to copy, distribute, link with or modify the Library
  598. subject to these terms and conditions. You may not impose any further
  599. restrictions on the recipients' exercise of the rights granted herein.
  600. You are not responsible for enforcing compliance by third parties with
  601. this License.
  602. 11. If, as a consequence of a court judgment or allegation of patent
  603. infringement or for any other reason (not limited to patent issues),
  604. conditions are imposed on you (whether by court order, agreement or
  605. otherwise) that contradict the conditions of this License, they do not
  606. excuse you from the conditions of this License. If you cannot
  607. distribute so as to satisfy simultaneously your obligations under this
  608. License and any other pertinent obligations, then as a consequence you
  609. may not distribute the Library at all. For example, if a patent
  610. license would not permit royalty-free redistribution of the Library by
  611. all those who receive copies directly or indirectly through you, then
  612. the only way you could satisfy both it and this License would be to
  613. refrain entirely from distribution of the Library.
  614. If any portion of this section is held invalid or unenforceable under any
  615. particular circumstance, the balance of the section is intended to apply,
  616. and the section as a whole is intended to apply in other circumstances.
  617. It is not the purpose of this section to induce you to infringe any
  618. patents or other property right claims or to contest validity of any
  619. such claims; this section has the sole purpose of protecting the
  620. integrity of the free software distribution system which is
  621. implemented by public license practices. Many people have made
  622. generous contributions to the wide range of software distributed
  623. through that system in reliance on consistent application of that
  624. system; it is up to the author/donor to decide if he or she is willing
  625. to distribute software through any other system and a licensee cannot
  626. impose that choice.
  627. This section is intended to make thoroughly clear what is believed to
  628. be a consequence of the rest of this License.
  629. 12. If the distribution and/or use of the Library is restricted in
  630. certain countries either by patents or by copyrighted interfaces, the
  631. original copyright holder who places the Library under this License may add
  632. an explicit geographical distribution limitation excluding those countries,
  633. so that distribution is permitted only in or among countries not thus
  634. excluded. In such case, this License incorporates the limitation as if
  635. written in the body of this License.
  636. 13. The Free Software Foundation may publish revised and/or new
  637. versions of the Lesser General Public License from time to time.
  638. Such new versions will be similar in spirit to the present version,
  639. but may differ in detail to address new problems or concerns.
  640. Each version is given a distinguishing version number. If the Library
  641. specifies a version number of this License which applies to it and
  642. "any later version", you have the option of following the terms and
  643. conditions either of that version or of any later version published by
  644. the Free Software Foundation. If the Library does not specify a
  645. license version number, you may choose any version ever published by
  646. the Free Software Foundation.
  647. 14. If you wish to incorporate parts of the Library into other free
  648. programs whose distribution conditions are incompatible with these,
  649. write to the author to ask for permission. For software which is
  650. copyrighted by the Free Software Foundation, write to the Free
  651. Software Foundation; we sometimes make exceptions for this. Our
  652. decision will be guided by the two goals of preserving the free status
  653. of all derivatives of our free software and of promoting the sharing
  654. and reuse of software generally.
  655. NO WARRANTY
  656. 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
  657. WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
  658. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
  659. OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
  660. KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
  661. IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  662. PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
  663. LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
  664. THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
  665. 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
  666. WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
  667. AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
  668. FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
  669. CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
  670. LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
  671. RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
  672. FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
  673. SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
  674. DAMAGES.
  675. END OF TERMS AND CONDITIONS
  676. How to Apply These Terms to Your New Libraries
  677. If you develop a new library, and you want it to be of the greatest
  678. possible use to the public, we recommend making it free software that
  679. everyone can redistribute and change. You can do so by permitting
  680. redistribution under these terms (or, alternatively, under the terms of the
  681. ordinary General Public License).
  682. To apply these terms, attach the following notices to the library. It is
  683. safest to attach them to the start of each source file to most effectively
  684. convey the exclusion of warranty; and each file should have at least the
  685. "copyright" line and a pointer to where the full notice is found.
  686. <one line to give the library's name and a brief idea of what it does.>
  687. Copyright (C) <year> <name of author>
  688. This library is free software; you can redistribute it and/or
  689. modify it under the terms of the GNU Lesser General Public
  690. License as published by the Free Software Foundation; either
  691. version 2.1 of the License, or (at your option) any later version.
  692. This library is distributed in the hope that it will be useful,
  693. but WITHOUT ANY WARRANTY; without even the implied warranty of
  694. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  695. Lesser General Public License for more details.
  696. You should have received a copy of the GNU Lesser General Public
  697. License along with this library; if not, write to the Free Software
  698. Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  699. Also add information on how to contact you by electronic and paper mail.
  700. You should also get your employer (if you work as a programmer) or your
  701. school, if any, to sign a "copyright disclaimer" for the library, if
  702. necessary. Here is a sample; alter the names:
  703. Yoyodyne, Inc., hereby disclaims all copyright interest in the
  704. library `Frob' (a library for tweaking knobs) written by James Random Hacker.
  705. <signature of Ty Coon>, 1 April 1990
  706. Ty Coon, President of Vice
  707. That's all there is to it!
  708. ===================="(LGPL-2.1-only OR MIT)"====================
  709. All software contained within this repo is dual licensed LGPL and MIT, see
  710. ====================COPYRIGHT====================
  711. * Copyright (C) 2019 Jens Axboe
  712. * Copyright (C) 2019 Christoph Hellwig
  713. ====================COPYRIGHT====================
  714. * Copyright 2019, Red Hat, Inc.
  715. * Author: Jeff Moyer <jmoyer@redhat.com>
  716. ====================COPYRIGHT====================
  717. Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
  718. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  719. Everyone is permitted to copy and distribute verbatim copies
  720. ====================COPYRIGHT====================
  721. Copyright (C) 1991, 1999 Free Software Foundation, Inc.
  722. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  723. Everyone is permitted to copy and distribute verbatim copies
  724. ====================COPYRIGHT====================
  725. Copyright 2020 Jens Axboe
  726. ====================COPYRIGHT====================
  727. write to the author to ask for permission. For software which is
  728. copyrighted by the Free Software Foundation, write to the Free
  729. Software Foundation; we sometimes make exceptions for this. Our
  730. decision will be guided by the two goals of preserving the free status
  731. of all derivatives of our free software and of promoting the sharing
  732. and reuse of software generally.
  733. ====================File: COPYING====================
  734. GNU LESSER GENERAL PUBLIC LICENSE
  735. Version 2.1, February 1999
  736. Copyright (C) 1991, 1999 Free Software Foundation, Inc.
  737. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  738. Everyone is permitted to copy and distribute verbatim copies
  739. of this license document, but changing it is not allowed.
  740. [This is the first released version of the Lesser GPL. It also counts
  741. as the successor of the GNU Library Public License, version 2, hence
  742. the version number 2.1.]
  743. Preamble
  744. The licenses for most software are designed to take away your
  745. freedom to share and change it. By contrast, the GNU General Public
  746. Licenses are intended to guarantee your freedom to share and change
  747. free software--to make sure the software is free for all its users.
  748. This license, the Lesser General Public License, applies to some
  749. specially designated software packages--typically libraries--of the
  750. Free Software Foundation and other authors who decide to use it. You
  751. can use it too, but we suggest you first think carefully about whether
  752. this license or the ordinary General Public License is the better
  753. strategy to use in any particular case, based on the explanations below.
  754. When we speak of free software, we are referring to freedom of use,
  755. not price. Our General Public Licenses are designed to make sure that
  756. you have the freedom to distribute copies of free software (and charge
  757. for this service if you wish); that you receive source code or can get
  758. it if you want it; that you can change the software and use pieces of
  759. it in new free programs; and that you are informed that you can do
  760. these things.
  761. To protect your rights, we need to make restrictions that forbid
  762. distributors to deny you these rights or to ask you to surrender these
  763. rights. These restrictions translate to certain responsibilities for
  764. you if you distribute copies of the library or if you modify it.
  765. For example, if you distribute copies of the library, whether gratis
  766. or for a fee, you must give the recipients all the rights that we gave
  767. you. You must make sure that they, too, receive or can get the source
  768. code. If you link other code with the library, you must provide
  769. complete object files to the recipients, so that they can relink them
  770. with the library after making changes to the library and recompiling
  771. it. And you must show them these terms so they know their rights.
  772. We protect your rights with a two-step method: (1) we copyright the
  773. library, and (2) we offer you this license, which gives you legal
  774. permission to copy, distribute and/or modify the library.
  775. To protect each distributor, we want to make it very clear that
  776. there is no warranty for the free library. Also, if the library is
  777. modified by someone else and passed on, the recipients should know
  778. that what they have is not the original version, so that the original
  779. author's reputation will not be affected by problems that might be
  780. introduced by others.
  781. Finally, software patents pose a constant threat to the existence of
  782. any free program. We wish to make sure that a company cannot
  783. effectively restrict the users of a free program by obtaining a
  784. restrictive license from a patent holder. Therefore, we insist that
  785. any patent license obtained for a version of the library must be
  786. consistent with the full freedom of use specified in this license.
  787. Most GNU software, including some libraries, is covered by the
  788. ordinary GNU General Public License. This license, the GNU Lesser
  789. General Public License, applies to certain designated libraries, and
  790. is quite different from the ordinary General Public License. We use
  791. this license for certain libraries in order to permit linking those
  792. libraries into non-free programs.
  793. When a program is linked with a library, whether statically or using
  794. a shared library, the combination of the two is legally speaking a
  795. combined work, a derivative of the original library. The ordinary
  796. General Public License therefore permits such linking only if the
  797. entire combination fits its criteria of freedom. The Lesser General
  798. Public License permits more lax criteria for linking other code with
  799. the library.
  800. We call this license the "Lesser" General Public License because it
  801. does Less to protect the user's freedom than the ordinary General
  802. Public License. It also provides other free software developers Less
  803. of an advantage over competing non-free programs. These disadvantages
  804. are the reason we use the ordinary General Public License for many
  805. libraries. However, the Lesser license provides advantages in certain
  806. special circumstances.
  807. For example, on rare occasions, there may be a special need to
  808. encourage the widest possible use of a certain library, so that it becomes
  809. a de-facto standard. To achieve this, non-free programs must be
  810. allowed to use the library. A more frequent case is that a free
  811. library does the same job as widely used non-free libraries. In this
  812. case, there is little to gain by limiting the free library to free
  813. software only, so we use the Lesser General Public License.
  814. In other cases, permission to use a particular library in non-free
  815. programs enables a greater number of people to use a large body of
  816. free software. For example, permission to use the GNU C Library in
  817. non-free programs enables many more people to use the whole GNU
  818. operating system, as well as its variant, the GNU/Linux operating
  819. system.
  820. Although the Lesser General Public License is Less protective of the
  821. users' freedom, it does ensure that the user of a program that is
  822. linked with the Library has the freedom and the wherewithal to run
  823. that program using a modified version of the Library.
  824. The precise terms and conditions for copying, distribution and
  825. modification follow. Pay close attention to the difference between a
  826. "work based on the library" and a "work that uses the library". The
  827. former contains code derived from the library, whereas the latter must
  828. be combined with the library in order to run.
  829. GNU LESSER GENERAL PUBLIC LICENSE
  830. TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
  831. 0. This License Agreement applies to any software library or other
  832. program which contains a notice placed by the copyright holder or
  833. other authorized party saying it may be distributed under the terms of
  834. this Lesser General Public License (also called "this License").
  835. Each licensee is addressed as "you".
  836. A "library" means a collection of software functions and/or data
  837. prepared so as to be conveniently linked with application programs
  838. (which use some of those functions and data) to form executables.
  839. The "Library", below, refers to any such software library or work
  840. which has been distributed under these terms. A "work based on the
  841. Library" means either the Library or any derivative work under
  842. copyright law: that is to say, a work containing the Library or a
  843. portion of it, either verbatim or with modifications and/or translated
  844. straightforwardly into another language. (Hereinafter, translation is
  845. included without limitation in the term "modification".)
  846. "Source code" for a work means the preferred form of the work for
  847. making modifications to it. For a library, complete source code means
  848. all the source code for all modules it contains, plus any associated
  849. interface definition files, plus the scripts used to control compilation
  850. and installation of the library.
  851. Activities other than copying, distribution and modification are not
  852. covered by this License; they are outside its scope. The act of
  853. running a program using the Library is not restricted, and output from
  854. such a program is covered only if its contents constitute a work based
  855. on the Library (independent of the use of the Library in a tool for
  856. writing it). Whether that is true depends on what the Library does
  857. and what the program that uses the Library does.
  858. 1. You may copy and distribute verbatim copies of the Library's
  859. complete source code as you receive it, in any medium, provided that
  860. you conspicuously and appropriately publish on each copy an
  861. appropriate copyright notice and disclaimer of warranty; keep intact
  862. all the notices that refer to this License and to the absence of any
  863. warranty; and distribute a copy of this License along with the
  864. Library.
  865. You may charge a fee for the physical act of transferring a copy,
  866. and you may at your option offer warranty protection in exchange for a
  867. fee.
  868. 2. You may modify your copy or copies of the Library or any portion
  869. of it, thus forming a work based on the Library, and copy and
  870. distribute such modifications or work under the terms of Section 1
  871. above, provided that you also meet all of these conditions:
  872. a) The modified work must itself be a software library.
  873. b) You must cause the files modified to carry prominent notices
  874. stating that you changed the files and the date of any change.
  875. c) You must cause the whole of the work to be licensed at no
  876. charge to all third parties under the terms of this License.
  877. d) If a facility in the modified Library refers to a function or a
  878. table of data to be supplied by an application program that uses
  879. the facility, other than as an argument passed when the facility
  880. is invoked, then you must make a good faith effort to ensure that,
  881. in the event an application does not supply such function or
  882. table, the facility still operates, and performs whatever part of
  883. its purpose remains meaningful.
  884. (For example, a function in a library to compute square roots has
  885. a purpose that is entirely well-defined independent of the
  886. application. Therefore, Subsection 2d requires that any
  887. application-supplied function or table used by this function must
  888. be optional: if the application does not supply it, the square
  889. root function must still compute square roots.)
  890. These requirements apply to the modified work as a whole. If
  891. identifiable sections of that work are not derived from the Library,
  892. and can be reasonably considered independent and separate works in
  893. themselves, then this License, and its terms, do not apply to those
  894. sections when you distribute them as separate works. But when you
  895. distribute the same sections as part of a whole which is a work based
  896. on the Library, the distribution of the whole must be on the terms of
  897. this License, whose permissions for other licensees extend to the
  898. entire whole, and thus to each and every part regardless of who wrote
  899. it.
  900. Thus, it is not the intent of this section to claim rights or contest
  901. your rights to work written entirely by you; rather, the intent is to
  902. exercise the right to control the distribution of derivative or
  903. collective works based on the Library.
  904. In addition, mere aggregation of another work not based on the Library
  905. with the Library (or with a work based on the Library) on a volume of
  906. a storage or distribution medium does not bring the other work under
  907. the scope of this License.
  908. 3. You may opt to apply the terms of the ordinary GNU General Public
  909. License instead of this License to a given copy of the Library. To do
  910. this, you must alter all the notices that refer to this License, so
  911. that they refer to the ordinary GNU General Public License, version 2,
  912. instead of to this License. (If a newer version than version 2 of the
  913. ordinary GNU General Public License has appeared, then you can specify
  914. that version instead if you wish.) Do not make any other change in
  915. these notices.
  916. Once this change is made in a given copy, it is irreversible for
  917. that copy, so the ordinary GNU General Public License applies to all
  918. subsequent copies and derivative works made from that copy.
  919. This option is useful when you wish to copy part of the code of
  920. the Library into a program that is not a library.
  921. 4. You may copy and distribute the Library (or a portion or
  922. derivative of it, under Section 2) in object code or executable form
  923. under the terms of Sections 1 and 2 above provided that you accompany
  924. it with the complete corresponding machine-readable source code, which
  925. must be distributed under the terms of Sections 1 and 2 above on a
  926. medium customarily used for software interchange.
  927. If distribution of object code is made by offering access to copy
  928. from a designated place, then offering equivalent access to copy the
  929. source code from the same place satisfies the requirement to
  930. distribute the source code, even though third parties are not
  931. compelled to copy the source along with the object code.
  932. 5. A program that contains no derivative of any portion of the
  933. Library, but is designed to work with the Library by being compiled or
  934. linked with it, is called a "work that uses the Library". Such a
  935. work, in isolation, is not a derivative work of the Library, and
  936. therefore falls outside the scope of this License.
  937. However, linking a "work that uses the Library" with the Library
  938. creates an executable that is a derivative of the Library (because it
  939. contains portions of the Library), rather than a "work that uses the
  940. library". The executable is therefore covered by this License.
  941. Section 6 states terms for distribution of such executables.
  942. When a "work that uses the Library" uses material from a header file
  943. that is part of the Library, the object code for the work may be a
  944. derivative work of the Library even though the source code is not.
  945. Whether this is true is especially significant if the work can be
  946. linked without the Library, or if the work is itself a library. The
  947. threshold for this to be true is not precisely defined by law.
  948. If such an object file uses only numerical parameters, data
  949. structure layouts and accessors, and small macros and small inline
  950. functions (ten lines or less in length), then the use of the object
  951. file is unrestricted, regardless of whether it is legally a derivative
  952. work. (Executables containing this object code plus portions of the
  953. Library will still fall under Section 6.)
  954. Otherwise, if the work is a derivative of the Library, you may
  955. distribute the object code for the work under the terms of Section 6.
  956. Any executables containing that work also fall under Section 6,
  957. whether or not they are linked directly with the Library itself.
  958. 6. As an exception to the Sections above, you may also combine or
  959. link a "work that uses the Library" with the Library to produce a
  960. work containing portions of the Library, and distribute that work
  961. under terms of your choice, provided that the terms permit
  962. modification of the work for the customer's own use and reverse
  963. engineering for debugging such modifications.
  964. You must give prominent notice with each copy of the work that the
  965. Library is used in it and that the Library and its use are covered by
  966. this License. You must supply a copy of this License. If the work
  967. during execution displays copyright notices, you must include the
  968. copyright notice for the Library among them, as well as a reference
  969. directing the user to the copy of this License. Also, you must do one
  970. of these things:
  971. a) Accompany the work with the complete corresponding
  972. machine-readable source code for the Library including whatever
  973. changes were used in the work (which must be distributed under
  974. Sections 1 and 2 above); and, if the work is an executable linked
  975. with the Library, with the complete machine-readable "work that
  976. uses the Library", as object code and/or source code, so that the
  977. user can modify the Library and then relink to produce a modified
  978. executable containing the modified Library. (It is understood
  979. that the user who changes the contents of definitions files in the
  980. Library will not necessarily be able to recompile the application
  981. to use the modified definitions.)
  982. b) Use a suitable shared library mechanism for linking with the
  983. Library. A suitable mechanism is one that (1) uses at run time a
  984. copy of the library already present on the user's computer system,
  985. rather than copying library functions into the executable, and (2)
  986. will operate properly with a modified version of the library, if
  987. the user installs one, as long as the modified version is
  988. interface-compatible with the version that the work was made with.
  989. c) Accompany the work with a written offer, valid for at
  990. least three years, to give the same user the materials
  991. specified in Subsection 6a, above, for a charge no more
  992. than the cost of performing this distribution.
  993. d) If distribution of the work is made by offering access to copy
  994. from a designated place, offer equivalent access to copy the above
  995. specified materials from the same place.
  996. e) Verify that the user has already received a copy of these
  997. materials or that you have already sent this user a copy.
  998. For an executable, the required form of the "work that uses the
  999. Library" must include any data and utility programs needed for
  1000. reproducing the executable from it. However, as a special exception,
  1001. the materials to be distributed need not include anything that is
  1002. normally distributed (in either source or binary form) with the major
  1003. components (compiler, kernel, and so on) of the operating system on
  1004. which the executable runs, unless that component itself accompanies
  1005. the executable.
  1006. It may happen that this requirement contradicts the license
  1007. restrictions of other proprietary libraries that do not normally
  1008. accompany the operating system. Such a contradiction means you cannot
  1009. use both them and the Library together in an executable that you
  1010. distribute.
  1011. 7. You may place library facilities that are a work based on the
  1012. Library side-by-side in a single library together with other library
  1013. facilities not covered by this License, and distribute such a combined
  1014. library, provided that the separate distribution of the work based on
  1015. the Library and of the other library facilities is otherwise
  1016. permitted, and provided that you do these two things:
  1017. a) Accompany the combined library with a copy of the same work
  1018. based on the Library, uncombined with any other library
  1019. facilities. This must be distributed under the terms of the
  1020. Sections above.
  1021. b) Give prominent notice with the combined library of the fact
  1022. that part of it is a work based on the Library, and explaining
  1023. where to find the accompanying uncombined form of the same work.
  1024. 8. You may not copy, modify, sublicense, link with, or distribute
  1025. the Library except as expressly provided under this License. Any
  1026. attempt otherwise to copy, modify, sublicense, link with, or
  1027. distribute the Library is void, and will automatically terminate your
  1028. rights under this License. However, parties who have received copies,
  1029. or rights, from you under this License will not have their licenses
  1030. terminated so long as such parties remain in full compliance.
  1031. 9. You are not required to accept this License, since you have not
  1032. signed it. However, nothing else grants you permission to modify or
  1033. distribute the Library or its derivative works. These actions are
  1034. prohibited by law if you do not accept this License. Therefore, by
  1035. modifying or distributing the Library (or any work based on the
  1036. Library), you indicate your acceptance of this License to do so, and
  1037. all its terms and conditions for copying, distributing or modifying
  1038. the Library or works based on it.
  1039. 10. Each time you redistribute the Library (or any work based on the
  1040. Library), the recipient automatically receives a license from the
  1041. original licensor to copy, distribute, link with or modify the Library
  1042. subject to these terms and conditions. You may not impose any further
  1043. restrictions on the recipients' exercise of the rights granted herein.
  1044. You are not responsible for enforcing compliance by third parties with
  1045. this License.
  1046. 11. If, as a consequence of a court judgment or allegation of patent
  1047. infringement or for any other reason (not limited to patent issues),
  1048. conditions are imposed on you (whether by court order, agreement or
  1049. otherwise) that contradict the conditions of this License, they do not
  1050. excuse you from the conditions of this License. If you cannot
  1051. distribute so as to satisfy simultaneously your obligations under this
  1052. License and any other pertinent obligations, then as a consequence you
  1053. may not distribute the Library at all. For example, if a patent
  1054. license would not permit royalty-free redistribution of the Library by
  1055. all those who receive copies directly or indirectly through you, then
  1056. the only way you could satisfy both it and this License would be to
  1057. refrain entirely from distribution of the Library.
  1058. If any portion of this section is held invalid or unenforceable under any
  1059. particular circumstance, the balance of the section is intended to apply,
  1060. and the section as a whole is intended to apply in other circumstances.
  1061. It is not the purpose of this section to induce you to infringe any
  1062. patents or other property right claims or to contest validity of any
  1063. such claims; this section has the sole purpose of protecting the
  1064. integrity of the free software distribution system which is
  1065. implemented by public license practices. Many people have made
  1066. generous contributions to the wide range of software distributed
  1067. through that system in reliance on consistent application of that
  1068. system; it is up to the author/donor to decide if he or she is willing
  1069. to distribute software through any other system and a licensee cannot
  1070. impose that choice.
  1071. This section is intended to make thoroughly clear what is believed to
  1072. be a consequence of the rest of this License.
  1073. 12. If the distribution and/or use of the Library is restricted in
  1074. certain countries either by patents or by copyrighted interfaces, the
  1075. original copyright holder who places the Library under this License may add
  1076. an explicit geographical distribution limitation excluding those countries,
  1077. so that distribution is permitted only in or among countries not thus
  1078. excluded. In such case, this License incorporates the limitation as if
  1079. written in the body of this License.
  1080. 13. The Free Software Foundation may publish revised and/or new
  1081. versions of the Lesser General Public License from time to time.
  1082. Such new versions will be similar in spirit to the present version,
  1083. but may differ in detail to address new problems or concerns.
  1084. Each version is given a distinguishing version number. If the Library
  1085. specifies a version number of this License which applies to it and
  1086. "any later version", you have the option of following the terms and
  1087. conditions either of that version or of any later version published by
  1088. the Free Software Foundation. If the Library does not specify a
  1089. license version number, you may choose any version ever published by
  1090. the Free Software Foundation.
  1091. 14. If you wish to incorporate parts of the Library into other free
  1092. programs whose distribution conditions are incompatible with these,
  1093. write to the author to ask for permission. For software which is
  1094. copyrighted by the Free Software Foundation, write to the Free
  1095. Software Foundation; we sometimes make exceptions for this. Our
  1096. decision will be guided by the two goals of preserving the free status
  1097. of all derivatives of our free software and of promoting the sharing
  1098. and reuse of software generally.
  1099. NO WARRANTY
  1100. 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
  1101. WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
  1102. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
  1103. OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
  1104. KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
  1105. IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  1106. PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
  1107. LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
  1108. THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
  1109. 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
  1110. WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
  1111. AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
  1112. FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
  1113. CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
  1114. LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
  1115. RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
  1116. FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
  1117. SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
  1118. DAMAGES.
  1119. END OF TERMS AND CONDITIONS
  1120. How to Apply These Terms to Your New Libraries
  1121. If you develop a new library, and you want it to be of the greatest
  1122. possible use to the public, we recommend making it free software that
  1123. everyone can redistribute and change. You can do so by permitting
  1124. redistribution under these terms (or, alternatively, under the terms of the
  1125. ordinary General Public License).
  1126. To apply these terms, attach the following notices to the library. It is
  1127. safest to attach them to the start of each source file to most effectively
  1128. convey the exclusion of warranty; and each file should have at least the
  1129. "copyright" line and a pointer to where the full notice is found.
  1130. <one line to give the library's name and a brief idea of what it does.>
  1131. Copyright (C) <year> <name of author>
  1132. This library is free software; you can redistribute it and/or
  1133. modify it under the terms of the GNU Lesser General Public
  1134. License as published by the Free Software Foundation; either
  1135. version 2.1 of the License, or (at your option) any later version.
  1136. This library is distributed in the hope that it will be useful,
  1137. but WITHOUT ANY WARRANTY; without even the implied warranty of
  1138. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  1139. Lesser General Public License for more details.
  1140. You should have received a copy of the GNU Lesser General Public
  1141. License along with this library; if not, write to the Free Software
  1142. Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  1143. Also add information on how to contact you by electronic and paper mail.
  1144. You should also get your employer (if you work as a programmer) or your
  1145. school, if any, to sign a "copyright disclaimer" for the library, if
  1146. necessary. Here is a sample; alter the names:
  1147. Yoyodyne, Inc., hereby disclaims all copyright interest in the
  1148. library `Frob' (a library for tweaking knobs) written by James Random Hacker.
  1149. <signature of Ty Coon>, 1 April 1990
  1150. Ty Coon, President of Vice
  1151. That's all there is to it!
  1152. ====================File: COPYING.GPL====================
  1153. GNU GENERAL PUBLIC LICENSE
  1154. Version 2, June 1991
  1155. Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
  1156. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  1157. Everyone is permitted to copy and distribute verbatim copies
  1158. of this license document, but changing it is not allowed.
  1159. Preamble
  1160. The licenses for most software are designed to take away your
  1161. freedom to share and change it. By contrast, the GNU General Public
  1162. License is intended to guarantee your freedom to share and change free
  1163. software--to make sure the software is free for all its users. This
  1164. General Public License applies to most of the Free Software
  1165. Foundation's software and to any other program whose authors commit to
  1166. using it. (Some other Free Software Foundation software is covered by
  1167. the GNU Lesser General Public License instead.) You can apply it to
  1168. your programs, too.
  1169. When we speak of free software, we are referring to freedom, not
  1170. price. Our General Public Licenses are designed to make sure that you
  1171. have the freedom to distribute copies of free software (and charge for
  1172. this service if you wish), that you receive source code or can get it
  1173. if you want it, that you can change the software or use pieces of it
  1174. in new free programs; and that you know you can do these things.
  1175. To protect your rights, we need to make restrictions that forbid
  1176. anyone to deny you these rights or to ask you to surrender the rights.
  1177. These restrictions translate to certain responsibilities for you if you
  1178. distribute copies of the software, or if you modify it.
  1179. For example, if you distribute copies of such a program, whether
  1180. gratis or for a fee, you must give the recipients all the rights that
  1181. you have. You must make sure that they, too, receive or can get the
  1182. source code. And you must show them these terms so they know their
  1183. rights.
  1184. We protect your rights with two steps: (1) copyright the software, and
  1185. (2) offer you this license which gives you legal permission to copy,
  1186. distribute and/or modify the software.
  1187. Also, for each author's protection and ours, we want to make certain
  1188. that everyone understands that there is no warranty for this free
  1189. software. If the software is modified by someone else and passed on, we
  1190. want its recipients to know that what they have is not the original, so
  1191. that any problems introduced by others will not reflect on the original
  1192. authors' reputations.
  1193. Finally, any free program is threatened constantly by software
  1194. patents. We wish to avoid the danger that redistributors of a free
  1195. program will individually obtain patent licenses, in effect making the
  1196. program proprietary. To prevent this, we have made it clear that any
  1197. patent must be licensed for everyone's free use or not licensed at all.
  1198. The precise terms and conditions for copying, distribution and
  1199. modification follow.
  1200. GNU GENERAL PUBLIC LICENSE
  1201. TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
  1202. 0. This License applies to any program or other work which contains
  1203. a notice placed by the copyright holder saying it may be distributed
  1204. under the terms of this General Public License. The "Program", below,
  1205. refers to any such program or work, and a "work based on the Program"
  1206. means either the Program or any derivative work under copyright law:
  1207. that is to say, a work containing the Program or a portion of it,
  1208. either verbatim or with modifications and/or translated into another
  1209. language. (Hereinafter, translation is included without limitation in
  1210. the term "modification".) Each licensee is addressed as "you".
  1211. Activities other than copying, distribution and modification are not
  1212. covered by this License; they are outside its scope. The act of
  1213. running the Program is not restricted, and the output from the Program
  1214. is covered only if its contents constitute a work based on the
  1215. Program (independent of having been made by running the Program).
  1216. Whether that is true depends on what the Program does.
  1217. 1. You may copy and distribute verbatim copies of the Program's
  1218. source code as you receive it, in any medium, provided that you
  1219. conspicuously and appropriately publish on each copy an appropriate
  1220. copyright notice and disclaimer of warranty; keep intact all the
  1221. notices that refer to this License and to the absence of any warranty;
  1222. and give any other recipients of the Program a copy of this License
  1223. along with the Program.
  1224. You may charge a fee for the physical act of transferring a copy, and
  1225. you may at your option offer warranty protection in exchange for a fee.
  1226. 2. You may modify your copy or copies of the Program or any portion
  1227. of it, thus forming a work based on the Program, and copy and
  1228. distribute such modifications or work under the terms of Section 1
  1229. above, provided that you also meet all of these conditions:
  1230. a) You must cause the modified files to carry prominent notices
  1231. stating that you changed the files and the date of any change.
  1232. b) You must cause any work that you distribute or publish, that in
  1233. whole or in part contains or is derived from the Program or any
  1234. part thereof, to be licensed as a whole at no charge to all third
  1235. parties under the terms of this License.
  1236. c) If the modified program normally reads commands interactively
  1237. when run, you must cause it, when started running for such
  1238. interactive use in the most ordinary way, to print or display an
  1239. announcement including an appropriate copyright notice and a
  1240. notice that there is no warranty (or else, saying that you provide
  1241. a warranty) and that users may redistribute the program under
  1242. these conditions, and telling the user how to view a copy of this
  1243. License. (Exception: if the Program itself is interactive but
  1244. does not normally print such an announcement, your work based on
  1245. the Program is not required to print an announcement.)
  1246. These requirements apply to the modified work as a whole. If
  1247. identifiable sections of that work are not derived from the Program,
  1248. and can be reasonably considered independent and separate works in
  1249. themselves, then this License, and its terms, do not apply to those
  1250. sections when you distribute them as separate works. But when you
  1251. distribute the same sections as part of a whole which is a work based
  1252. on the Program, the distribution of the whole must be on the terms of
  1253. this License, whose permissions for other licensees extend to the
  1254. entire whole, and thus to each and every part regardless of who wrote it.
  1255. Thus, it is not the intent of this section to claim rights or contest
  1256. your rights to work written entirely by you; rather, the intent is to
  1257. exercise the right to control the distribution of derivative or
  1258. collective works based on the Program.
  1259. In addition, mere aggregation of another work not based on the Program
  1260. with the Program (or with a work based on the Program) on a volume of
  1261. a storage or distribution medium does not bring the other work under
  1262. the scope of this License.
  1263. 3. You may copy and distribute the Program (or a work based on it,
  1264. under Section 2) in object code or executable form under the terms of
  1265. Sections 1 and 2 above provided that you also do one of the following:
  1266. a) Accompany it with the complete corresponding machine-readable
  1267. source code, which must be distributed under the terms of Sections
  1268. 1 and 2 above on a medium customarily used for software interchange; or,
  1269. b) Accompany it with a written offer, valid for at least three
  1270. years, to give any third party, for a charge no more than your
  1271. cost of physically performing source distribution, a complete
  1272. machine-readable copy of the corresponding source code, to be
  1273. distributed under the terms of Sections 1 and 2 above on a medium
  1274. customarily used for software interchange; or,
  1275. c) Accompany it with the information you received as to the offer
  1276. to distribute corresponding source code. (This alternative is
  1277. allowed only for noncommercial distribution and only if you
  1278. received the program in object code or executable form with such
  1279. an offer, in accord with Subsection b above.)
  1280. The source code for a work means the preferred form of the work for
  1281. making modifications to it. For an executable work, complete source
  1282. code means all the source code for all modules it contains, plus any
  1283. associated interface definition files, plus the scripts used to
  1284. control compilation and installation of the executable. However, as a
  1285. special exception, the source code distributed need not include
  1286. anything that is normally distributed (in either source or binary
  1287. form) with the major components (compiler, kernel, and so on) of the
  1288. operating system on which the executable runs, unless that component
  1289. itself accompanies the executable.
  1290. If distribution of executable or object code is made by offering
  1291. access to copy from a designated place, then offering equivalent
  1292. access to copy the source code from the same place counts as
  1293. distribution of the source code, even though third parties are not
  1294. compelled to copy the source along with the object code.
  1295. 4. You may not copy, modify, sublicense, or distribute the Program
  1296. except as expressly provided under this License. Any attempt
  1297. otherwise to copy, modify, sublicense or distribute the Program is
  1298. void, and will automatically terminate your rights under this License.
  1299. However, parties who have received copies, or rights, from you under
  1300. this License will not have their licenses terminated so long as such
  1301. parties remain in full compliance.
  1302. 5. You are not required to accept this License, since you have not
  1303. signed it. However, nothing else grants you permission to modify or
  1304. distribute the Program or its derivative works. These actions are
  1305. prohibited by law if you do not accept this License. Therefore, by
  1306. modifying or distributing the Program (or any work based on the
  1307. Program), you indicate your acceptance of this License to do so, and
  1308. all its terms and conditions for copying, distributing or modifying
  1309. the Program or works based on it.
  1310. 6. Each time you redistribute the Program (or any work based on the
  1311. Program), the recipient automatically receives a license from the
  1312. original licensor to copy, distribute or modify the Program subject to
  1313. these terms and conditions. You may not impose any further
  1314. restrictions on the recipients' exercise of the rights granted herein.
  1315. You are not responsible for enforcing compliance by third parties to
  1316. this License.
  1317. 7. If, as a consequence of a court judgment or allegation of patent
  1318. infringement or for any other reason (not limited to patent issues),
  1319. conditions are imposed on you (whether by court order, agreement or
  1320. otherwise) that contradict the conditions of this License, they do not
  1321. excuse you from the conditions of this License. If you cannot
  1322. distribute so as to satisfy simultaneously your obligations under this
  1323. License and any other pertinent obligations, then as a consequence you
  1324. may not distribute the Program at all. For example, if a patent
  1325. license would not permit royalty-free redistribution of the Program by
  1326. all those who receive copies directly or indirectly through you, then
  1327. the only way you could satisfy both it and this License would be to
  1328. refrain entirely from distribution of the Program.
  1329. If any portion of this section is held invalid or unenforceable under
  1330. any particular circumstance, the balance of the section is intended to
  1331. apply and the section as a whole is intended to apply in other
  1332. circumstances.
  1333. It is not the purpose of this section to induce you to infringe any
  1334. patents or other property right claims or to contest validity of any
  1335. such claims; this section has the sole purpose of protecting the
  1336. integrity of the free software distribution system, which is
  1337. implemented by public license practices. Many people have made
  1338. generous contributions to the wide range of software distributed
  1339. through that system in reliance on consistent application of that
  1340. system; it is up to the author/donor to decide if he or she is willing
  1341. to distribute software through any other system and a licensee cannot
  1342. impose that choice.
  1343. This section is intended to make thoroughly clear what is believed to
  1344. be a consequence of the rest of this License.
  1345. 8. If the distribution and/or use of the Program is restricted in
  1346. certain countries either by patents or by copyrighted interfaces, the
  1347. original copyright holder who places the Program under this License
  1348. may add an explicit geographical distribution limitation excluding
  1349. those countries, so that distribution is permitted only in or among
  1350. countries not thus excluded. In such case, this License incorporates
  1351. the limitation as if written in the body of this License.
  1352. 9. The Free Software Foundation may publish revised and/or new versions
  1353. of the General Public License from time to time. Such new versions will
  1354. be similar in spirit to the present version, but may differ in detail to
  1355. address new problems or concerns.
  1356. Each version is given a distinguishing version number. If the Program
  1357. specifies a version number of this License which applies to it and "any
  1358. later version", you have the option of following the terms and conditions
  1359. either of that version or of any later version published by the Free
  1360. Software Foundation. If the Program does not specify a version number of
  1361. this License, you may choose any version ever published by the Free Software
  1362. Foundation.
  1363. 10. If you wish to incorporate parts of the Program into other free
  1364. programs whose distribution conditions are different, write to the author
  1365. to ask for permission. For software which is copyrighted by the Free
  1366. Software Foundation, write to the Free Software Foundation; we sometimes
  1367. make exceptions for this. Our decision will be guided by the two goals
  1368. of preserving the free status of all derivatives of our free software and
  1369. of promoting the sharing and reuse of software generally.
  1370. NO WARRANTY
  1371. 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
  1372. FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
  1373. OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
  1374. PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
  1375. OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  1376. MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
  1377. TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
  1378. PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
  1379. REPAIR OR CORRECTION.
  1380. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
  1381. WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
  1382. REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
  1383. INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
  1384. OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
  1385. TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
  1386. YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
  1387. PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
  1388. POSSIBILITY OF SUCH DAMAGES.
  1389. END OF TERMS AND CONDITIONS
  1390. How to Apply These Terms to Your New Programs
  1391. If you develop a new program, and you want it to be of the greatest
  1392. possible use to the public, the best way to achieve this is to make it
  1393. free software which everyone can redistribute and change under these terms.
  1394. To do so, attach the following notices to the program. It is safest
  1395. to attach them to the start of each source file to most effectively
  1396. convey the exclusion of warranty; and each file should have at least
  1397. the "copyright" line and a pointer to where the full notice is found.
  1398. <one line to give the program's name and a brief idea of what it does.>
  1399. Copyright (C) <year> <name of author>
  1400. This program is free software; you can redistribute it and/or modify
  1401. it under the terms of the GNU General Public License as published by
  1402. the Free Software Foundation; either version 2 of the License, or
  1403. (at your option) any later version.
  1404. This program is distributed in the hope that it will be useful,
  1405. but WITHOUT ANY WARRANTY; without even the implied warranty of
  1406. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  1407. GNU General Public License for more details.
  1408. You should have received a copy of the GNU General Public License along
  1409. with this program; if not, write to the Free Software Foundation, Inc.,
  1410. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  1411. Also add information on how to contact you by electronic and paper mail.
  1412. If the program is interactive, make it output a short notice like this
  1413. when it starts in an interactive mode:
  1414. Gnomovision version 69, Copyright (C) year name of author
  1415. Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
  1416. This is free software, and you are welcome to redistribute it
  1417. under certain conditions; type `show c' for details.
  1418. The hypothetical commands `show w' and `show c' should show the appropriate
  1419. parts of the General Public License. Of course, the commands you use may
  1420. be called something other than `show w' and `show c'; they could even be
  1421. mouse-clicks or menu items--whatever suits your program.
  1422. You should also get your employer (if you work as a programmer) or your
  1423. school, if any, to sign a "copyright disclaimer" for the program, if
  1424. necessary. Here is a sample; alter the names:
  1425. Yoyodyne, Inc., hereby disclaims all copyright interest in the program
  1426. `Gnomovision' (which makes passes at compilers) written by James Hacker.
  1427. <signature of Ty Coon>, 1 April 1989
  1428. Ty Coon, President of Vice
  1429. This General Public License does not permit incorporating your program into
  1430. proprietary programs. If your program is a subroutine library, you may
  1431. consider it more useful to permit linking proprietary applications with the
  1432. library. If this is what you want to do, use the GNU Lesser General
  1433. Public License instead of this License.
  1434. ====================File: LICENSE====================
  1435. Copyright 2020 Jens Axboe
  1436. Permission is hereby granted, free of charge, to any person obtaining a
  1437. copy of this software and associated documentation files (the
  1438. "Software"), to deal in the Software without restriction, including
  1439. without limitation the rights to use, copy, modify, merge, publish,
  1440. distribute, sublicense, and/or sell copies of the Software, and to
  1441. permit persons to whom the Software is furnished to do so, subject to
  1442. the following conditions:
  1443. The above copyright notice and this permission notice shall be included
  1444. in all copies or substantial portions of the Software.
  1445. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  1446. OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  1447. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  1448. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
  1449. CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  1450. TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
  1451. SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  1452. ====================MIT====================
  1453. /* SPDX-License-Identifier: MIT */
  1454. ====================MIT====================
  1455. // SPDX-License-Identifier: MIT
  1456. ====================MIT====================
  1457. Permission is hereby granted, free of charge, to any person obtaining a
  1458. copy of this software and associated documentation files (the
  1459. "Software"), to deal in the Software without restriction, including
  1460. without limitation the rights to use, copy, modify, merge, publish,
  1461. distribute, sublicense, and/or sell copies of the Software, and to
  1462. permit persons to whom the Software is furnished to do so, subject to
  1463. the following conditions:
  1464. The above copyright notice and this permission notice shall be included
  1465. in all copies or substantial portions of the Software.
  1466. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  1467. OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  1468. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  1469. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
  1470. CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  1471. TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
  1472. SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  1473. ====================MIT====================
  1474. licence: MIT