LICENSE.txt 55 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061
  1. This package is Free Software available under any one of the specified licenses
  2. below. All the licenses below are alternatives and if you select one license,
  3. that one alone applies.
  4. 1. GNU General Public License (GPL), Version 2
  5. 2. GNU Lesser General Public License (LGPL), Version 2.1
  6. 3. Apache License, Version 2.0
  7. Complete license terms follow:
  8. ==============================================================================
  9. GNU GENERAL PUBLIC LICENSE
  10. Version 2, June 1991
  11. Copyright (C) 1989, 1991 Free Software Foundation, Inc.
  12. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  13. Everyone is permitted to copy and distribute verbatim copies
  14. of this license document, but changing it is not allowed.
  15. Preamble
  16. The licenses for most software are designed to take away your
  17. freedom to share and change it. By contrast, the GNU General Public
  18. License is intended to guarantee your freedom to share and change free
  19. software--to make sure the software is free for all its users. This
  20. General Public License applies to most of the Free Software
  21. Foundation's software and to any other program whose authors commit to
  22. using it. (Some other Free Software Foundation software is covered by
  23. the GNU Library General Public License instead.) You can apply it to
  24. your programs, too.
  25. When we speak of free software, we are referring to freedom, not
  26. price. Our General Public Licenses are designed to make sure that you
  27. have the freedom to distribute copies of free software (and charge for
  28. this service if you wish), that you receive source code or can get it
  29. if you want it, that you can change the software or use pieces of it
  30. in new free programs; and that you know you can do these things.
  31. To protect your rights, we need to make restrictions that forbid
  32. anyone to deny you these rights or to ask you to surrender the rights.
  33. These restrictions translate to certain responsibilities for you if you
  34. distribute copies of the software, or if you modify it.
  35. For example, if you distribute copies of such a program, whether
  36. gratis or for a fee, you must give the recipients all the rights that
  37. you have. You must make sure that they, too, receive or can get the
  38. source code. And you must show them these terms so they know their
  39. rights.
  40. We protect your rights with two steps: (1) copyright the software, and
  41. (2) offer you this license which gives you legal permission to copy,
  42. distribute and/or modify the software.
  43. Also, for each author's protection and ours, we want to make certain
  44. that everyone understands that there is no warranty for this free
  45. software. If the software is modified by someone else and passed on, we
  46. want its recipients to know that what they have is not the original, so
  47. that any problems introduced by others will not reflect on the original
  48. authors' reputations.
  49. Finally, any free program is threatened constantly by software
  50. patents. We wish to avoid the danger that redistributors of a free
  51. program will individually obtain patent licenses, in effect making the
  52. program proprietary. To prevent this, we have made it clear that any
  53. patent must be licensed for everyone's free use or not licensed at all.
  54. The precise terms and conditions for copying, distribution and
  55. modification follow.
  56. GNU GENERAL PUBLIC LICENSE
  57. TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
  58. 0. This License applies to any program or other work which contains
  59. a notice placed by the copyright holder saying it may be distributed
  60. under the terms of this General Public License. The "Program", below,
  61. refers to any such program or work, and a "work based on the Program"
  62. means either the Program or any derivative work under copyright law:
  63. that is to say, a work containing the Program or a portion of it,
  64. either verbatim or with modifications and/or translated into another
  65. language. (Hereinafter, translation is included without limitation in
  66. the term "modification".) Each licensee is addressed as "you".
  67. Activities other than copying, distribution and modification are not
  68. covered by this License; they are outside its scope. The act of
  69. running the Program is not restricted, and the output from the Program
  70. is covered only if its contents constitute a work based on the
  71. Program (independent of having been made by running the Program).
  72. Whether that is true depends on what the Program does.
  73. 1. You may copy and distribute verbatim copies of the Program's
  74. source code as you receive it, in any medium, provided that you
  75. conspicuously and appropriately publish on each copy an appropriate
  76. copyright notice and disclaimer of warranty; keep intact all the
  77. notices that refer to this License and to the absence of any warranty;
  78. and give any other recipients of the Program a copy of this License
  79. along with the Program.
  80. You may charge a fee for the physical act of transferring a copy, and
  81. you may at your option offer warranty protection in exchange for a fee.
  82. 2. You may modify your copy or copies of the Program or any portion
  83. of it, thus forming a work based on the Program, and copy and
  84. distribute such modifications or work under the terms of Section 1
  85. above, provided that you also meet all of these conditions:
  86. a) You must cause the modified files to carry prominent notices
  87. stating that you changed the files and the date of any change.
  88. b) You must cause any work that you distribute or publish, that in
  89. whole or in part contains or is derived from the Program or any
  90. part thereof, to be licensed as a whole at no charge to all third
  91. parties under the terms of this License.
  92. c) If the modified program normally reads commands interactively
  93. when run, you must cause it, when started running for such
  94. interactive use in the most ordinary way, to print or display an
  95. announcement including an appropriate copyright notice and a
  96. notice that there is no warranty (or else, saying that you provide
  97. a warranty) and that users may redistribute the program under
  98. these conditions, and telling the user how to view a copy of this
  99. License. (Exception: if the Program itself is interactive but
  100. does not normally print such an announcement, your work based on
  101. the Program is not required to print an announcement.)
  102. These requirements apply to the modified work as a whole. If
  103. identifiable sections of that work are not derived from the Program,
  104. and can be reasonably considered independent and separate works in
  105. themselves, then this License, and its terms, do not apply to those
  106. sections when you distribute them as separate works. But when you
  107. distribute the same sections as part of a whole which is a work based
  108. on the Program, the distribution of the whole must be on the terms of
  109. this License, whose permissions for other licensees extend to the
  110. entire whole, and thus to each and every part regardless of who wrote it.
  111. Thus, it is not the intent of this section to claim rights or contest
  112. your rights to work written entirely by you; rather, the intent is to
  113. exercise the right to control the distribution of derivative or
  114. collective works based on the Program.
  115. In addition, mere aggregation of another work not based on the Program
  116. with the Program (or with a work based on the Program) on a volume of
  117. a storage or distribution medium does not bring the other work under
  118. the scope of this License.
  119. 3. You may copy and distribute the Program (or a work based on it,
  120. under Section 2) in object code or executable form under the terms of
  121. Sections 1 and 2 above provided that you also do one of the following:
  122. a) Accompany it with the complete corresponding machine-readable
  123. source code, which must be distributed under the terms of Sections
  124. 1 and 2 above on a medium customarily used for software interchange; or,
  125. b) Accompany it with a written offer, valid for at least three
  126. years, to give any third party, for a charge no more than your
  127. cost of physically performing source distribution, a complete
  128. machine-readable copy of the corresponding source code, to be
  129. distributed under the terms of Sections 1 and 2 above on a medium
  130. customarily used for software interchange; or,
  131. c) Accompany it with the information you received as to the offer
  132. to distribute corresponding source code. (This alternative is
  133. allowed only for noncommercial distribution and only if you
  134. received the program in object code or executable form with such
  135. an offer, in accord with Subsection b above.)
  136. The source code for a work means the preferred form of the work for
  137. making modifications to it. For an executable work, complete source
  138. code means all the source code for all modules it contains, plus any
  139. associated interface definition files, plus the scripts used to
  140. control compilation and installation of the executable. However, as a
  141. special exception, the source code distributed need not include
  142. anything that is normally distributed (in either source or binary
  143. form) with the major components (compiler, kernel, and so on) of the
  144. operating system on which the executable runs, unless that component
  145. itself accompanies the executable.
  146. If distribution of executable or object code is made by offering
  147. access to copy from a designated place, then offering equivalent
  148. access to copy the source code from the same place counts as
  149. distribution of the source code, even though third parties are not
  150. compelled to copy the source along with the object code.
  151. 4. You may not copy, modify, sublicense, or distribute the Program
  152. except as expressly provided under this License. Any attempt
  153. otherwise to copy, modify, sublicense or distribute the Program is
  154. void, and will automatically terminate your rights under this License.
  155. However, parties who have received copies, or rights, from you under
  156. this License will not have their licenses terminated so long as such
  157. parties remain in full compliance.
  158. 5. You are not required to accept this License, since you have not
  159. signed it. However, nothing else grants you permission to modify or
  160. distribute the Program or its derivative works. These actions are
  161. prohibited by law if you do not accept this License. Therefore, by
  162. modifying or distributing the Program (or any work based on the
  163. Program), you indicate your acceptance of this License to do so, and
  164. all its terms and conditions for copying, distributing or modifying
  165. the Program or works based on it.
  166. 6. Each time you redistribute the Program (or any work based on the
  167. Program), the recipient automatically receives a license from the
  168. original licensor to copy, distribute or modify the Program subject to
  169. these terms and conditions. You may not impose any further
  170. restrictions on the recipients' exercise of the rights granted herein.
  171. You are not responsible for enforcing compliance by third parties to
  172. this License.
  173. 7. If, as a consequence of a court judgment or allegation of patent
  174. infringement or for any other reason (not limited to patent issues),
  175. conditions are imposed on you (whether by court order, agreement or
  176. otherwise) that contradict the conditions of this License, they do not
  177. excuse you from the conditions of this License. If you cannot
  178. distribute so as to satisfy simultaneously your obligations under this
  179. License and any other pertinent obligations, then as a consequence you
  180. may not distribute the Program at all. For example, if a patent
  181. license would not permit royalty-free redistribution of the Program by
  182. all those who receive copies directly or indirectly through you, then
  183. the only way you could satisfy both it and this License would be to
  184. refrain entirely from distribution of the Program.
  185. If any portion of this section is held invalid or unenforceable under
  186. any particular circumstance, the balance of the section is intended to
  187. apply and the section as a whole is intended to apply in other
  188. circumstances.
  189. It is not the purpose of this section to induce you to infringe any
  190. patents or other property right claims or to contest validity of any
  191. such claims; this section has the sole purpose of protecting the
  192. integrity of the free software distribution system, which is
  193. implemented by public license practices. Many people have made
  194. generous contributions to the wide range of software distributed
  195. through that system in reliance on consistent application of that
  196. system; it is up to the author/donor to decide if he or she is willing
  197. to distribute software through any other system and a licensee cannot
  198. impose that choice.
  199. This section is intended to make thoroughly clear what is believed to
  200. be a consequence of the rest of this License.
  201. 8. If the distribution and/or use of the Program is restricted in
  202. certain countries either by patents or by copyrighted interfaces, the
  203. original copyright holder who places the Program under this License
  204. may add an explicit geographical distribution limitation excluding
  205. those countries, so that distribution is permitted only in or among
  206. countries not thus excluded. In such case, this License incorporates
  207. the limitation as if written in the body of this License.
  208. 9. The Free Software Foundation may publish revised and/or new versions
  209. of the General Public License from time to time. Such new versions will
  210. be similar in spirit to the present version, but may differ in detail to
  211. address new problems or concerns.
  212. Each version is given a distinguishing version number. If the Program
  213. specifies a version number of this License which applies to it and "any
  214. later version", you have the option of following the terms and conditions
  215. either of that version or of any later version published by the Free
  216. Software Foundation. If the Program does not specify a version number of
  217. this License, you may choose any version ever published by the Free Software
  218. Foundation.
  219. 10. If you wish to incorporate parts of the Program into other free
  220. programs whose distribution conditions are different, write to the author
  221. to ask for permission. For software which is copyrighted by the Free
  222. Software Foundation, write to the Free Software Foundation; we sometimes
  223. make exceptions for this. Our decision will be guided by the two goals
  224. of preserving the free status of all derivatives of our free software and
  225. of promoting the sharing and reuse of software generally.
  226. NO WARRANTY
  227. 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
  228. FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
  229. OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
  230. PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
  231. OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  232. MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
  233. TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
  234. PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
  235. REPAIR OR CORRECTION.
  236. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
  237. WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
  238. REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
  239. INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
  240. OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
  241. TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
  242. YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
  243. PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
  244. POSSIBILITY OF SUCH DAMAGES.
  245. END OF TERMS AND CONDITIONS
  246. How to Apply These Terms to Your New Programs
  247. If you develop a new program, and you want it to be of the greatest
  248. possible use to the public, the best way to achieve this is to make it
  249. free software which everyone can redistribute and change under these terms.
  250. To do so, attach the following notices to the program. It is safest
  251. to attach them to the start of each source file to most effectively
  252. convey the exclusion of warranty; and each file should have at least
  253. the "copyright" line and a pointer to where the full notice is found.
  254. <one line to give the program's name and a brief idea of what it does.>
  255. Copyright (C) <year> <name of author>
  256. This program is free software; you can redistribute it and/or modify
  257. it under the terms of the GNU General Public License as published by
  258. the Free Software Foundation; either version 2 of the License, or
  259. (at your option) any later version.
  260. This program is distributed in the hope that it will be useful,
  261. but WITHOUT ANY WARRANTY; without even the implied warranty of
  262. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  263. GNU General Public License for more details.
  264. You should have received a copy of the GNU General Public License
  265. along with this program; if not, write to the Free Software
  266. Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  267. Also add information on how to contact you by electronic and paper mail.
  268. If the program is interactive, make it output a short notice like this
  269. when it starts in an interactive mode:
  270. Gnomovision version 69, Copyright (C) year name of author
  271. Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
  272. This is free software, and you are welcome to redistribute it
  273. under certain conditions; type `show c' for details.
  274. The hypothetical commands `show w' and `show c' should show the appropriate
  275. parts of the General Public License. Of course, the commands you use may
  276. be called something other than `show w' and `show c'; they could even be
  277. mouse-clicks or menu items--whatever suits your program.
  278. You should also get your employer (if you work as a programmer) or your
  279. school, if any, to sign a "copyright disclaimer" for the program, if
  280. necessary. Here is a sample; alter the names:
  281. Yoyodyne, Inc., hereby disclaims all copyright interest in the program
  282. `Gnomovision' (which makes passes at compilers) written by James Hacker.
  283. <signature of Ty Coon>, 1 April 1989
  284. Ty Coon, President of Vice
  285. This General Public License does not permit incorporating your program into
  286. proprietary programs. If your program is a subroutine library, you may
  287. consider it more useful to permit linking proprietary applications with the
  288. library. If this is what you want to do, use the GNU Library General
  289. Public License instead of this License.
  290. ==============================================================================
  291. GNU LESSER GENERAL PUBLIC LICENSE
  292. Version 2.1, February 1999
  293. Copyright (C) 1991, 1999 Free Software Foundation, Inc.
  294. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  295. Everyone is permitted to copy and distribute verbatim copies
  296. of this license document, but changing it is not allowed.
  297. [This is the first released version of the Lesser GPL. It also counts
  298. as the successor of the GNU Library Public License, version 2, hence
  299. the version number 2.1.]
  300. Preamble
  301. The licenses for most software are designed to take away your
  302. freedom to share and change it. By contrast, the GNU General Public
  303. Licenses are intended to guarantee your freedom to share and change
  304. free software--to make sure the software is free for all its users.
  305. This license, the Lesser General Public License, applies to some
  306. specially designated software packages--typically libraries--of the
  307. Free Software Foundation and other authors who decide to use it. You
  308. can use it too, but we suggest you first think carefully about whether
  309. this license or the ordinary General Public License is the better
  310. strategy to use in any particular case, based on the explanations below.
  311. When we speak of free software, we are referring to freedom of use,
  312. not price. Our General Public Licenses are designed to make sure that
  313. you have the freedom to distribute copies of free software (and charge
  314. for this service if you wish); that you receive source code or can get
  315. it if you want it; that you can change the software and use pieces of
  316. it in new free programs; and that you are informed that you can do
  317. these things.
  318. To protect your rights, we need to make restrictions that forbid
  319. distributors to deny you these rights or to ask you to surrender these
  320. rights. These restrictions translate to certain responsibilities for
  321. you if you distribute copies of the library or if you modify it.
  322. For example, if you distribute copies of the library, whether gratis
  323. or for a fee, you must give the recipients all the rights that we gave
  324. you. You must make sure that they, too, receive or can get the source
  325. code. If you link other code with the library, you must provide
  326. complete object files to the recipients, so that they can relink them
  327. with the library after making changes to the library and recompiling
  328. it. And you must show them these terms so they know their rights.
  329. We protect your rights with a two-step method: (1) we copyright the
  330. library, and (2) we offer you this license, which gives you legal
  331. permission to copy, distribute and/or modify the library.
  332. To protect each distributor, we want to make it very clear that
  333. there is no warranty for the free library. Also, if the library is
  334. modified by someone else and passed on, the recipients should know
  335. that what they have is not the original version, so that the original
  336. author's reputation will not be affected by problems that might be
  337. introduced by others.
  338. Finally, software patents pose a constant threat to the existence of
  339. any free program. We wish to make sure that a company cannot
  340. effectively restrict the users of a free program by obtaining a
  341. restrictive license from a patent holder. Therefore, we insist that
  342. any patent license obtained for a version of the library must be
  343. consistent with the full freedom of use specified in this license.
  344. Most GNU software, including some libraries, is covered by the
  345. ordinary GNU General Public License. This license, the GNU Lesser
  346. General Public License, applies to certain designated libraries, and
  347. is quite different from the ordinary General Public License. We use
  348. this license for certain libraries in order to permit linking those
  349. libraries into non-free programs.
  350. When a program is linked with a library, whether statically or using
  351. a shared library, the combination of the two is legally speaking a
  352. combined work, a derivative of the original library. The ordinary
  353. General Public License therefore permits such linking only if the
  354. entire combination fits its criteria of freedom. The Lesser General
  355. Public License permits more lax criteria for linking other code with
  356. the library.
  357. We call this license the "Lesser" General Public License because it
  358. does Less to protect the user's freedom than the ordinary General
  359. Public License. It also provides other free software developers Less
  360. of an advantage over competing non-free programs. These disadvantages
  361. are the reason we use the ordinary General Public License for many
  362. libraries. However, the Lesser license provides advantages in certain
  363. special circumstances.
  364. For example, on rare occasions, there may be a special need to
  365. encourage the widest possible use of a certain library, so that it becomes
  366. a de-facto standard. To achieve this, non-free programs must be
  367. allowed to use the library. A more frequent case is that a free
  368. library does the same job as widely used non-free libraries. In this
  369. case, there is little to gain by limiting the free library to free
  370. software only, so we use the Lesser General Public License.
  371. In other cases, permission to use a particular library in non-free
  372. programs enables a greater number of people to use a large body of
  373. free software. For example, permission to use the GNU C Library in
  374. non-free programs enables many more people to use the whole GNU
  375. operating system, as well as its variant, the GNU/Linux operating
  376. system.
  377. Although the Lesser General Public License is Less protective of the
  378. users' freedom, it does ensure that the user of a program that is
  379. linked with the Library has the freedom and the wherewithal to run
  380. that program using a modified version of the Library.
  381. The precise terms and conditions for copying, distribution and
  382. modification follow. Pay close attention to the difference between a
  383. "work based on the library" and a "work that uses the library". The
  384. former contains code derived from the library, whereas the latter must
  385. be combined with the library in order to run.
  386. GNU LESSER GENERAL PUBLIC LICENSE
  387. TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
  388. 0. This License Agreement applies to any software library or other
  389. program which contains a notice placed by the copyright holder or
  390. other authorized party saying it may be distributed under the terms of
  391. this Lesser General Public License (also called "this License").
  392. Each licensee is addressed as "you".
  393. A "library" means a collection of software functions and/or data
  394. prepared so as to be conveniently linked with application programs
  395. (which use some of those functions and data) to form executables.
  396. The "Library", below, refers to any such software library or work
  397. which has been distributed under these terms. A "work based on the
  398. Library" means either the Library or any derivative work under
  399. copyright law: that is to say, a work containing the Library or a
  400. portion of it, either verbatim or with modifications and/or translated
  401. straightforwardly into another language. (Hereinafter, translation is
  402. included without limitation in the term "modification".)
  403. "Source code" for a work means the preferred form of the work for
  404. making modifications to it. For a library, complete source code means
  405. all the source code for all modules it contains, plus any associated
  406. interface definition files, plus the scripts used to control compilation
  407. and installation of the library.
  408. Activities other than copying, distribution and modification are not
  409. covered by this License; they are outside its scope. The act of
  410. running a program using the Library is not restricted, and output from
  411. such a program is covered only if its contents constitute a work based
  412. on the Library (independent of the use of the Library in a tool for
  413. writing it). Whether that is true depends on what the Library does
  414. and what the program that uses the Library does.
  415. 1. You may copy and distribute verbatim copies of the Library's
  416. complete source code as you receive it, in any medium, provided that
  417. you conspicuously and appropriately publish on each copy an
  418. appropriate copyright notice and disclaimer of warranty; keep intact
  419. all the notices that refer to this License and to the absence of any
  420. warranty; and distribute a copy of this License along with the
  421. Library.
  422. You may charge a fee for the physical act of transferring a copy,
  423. and you may at your option offer warranty protection in exchange for a
  424. fee.
  425. 2. You may modify your copy or copies of the Library or any portion
  426. of it, thus forming a work based on the Library, and copy and
  427. distribute such modifications or work under the terms of Section 1
  428. above, provided that you also meet all of these conditions:
  429. a) The modified work must itself be a software library.
  430. b) You must cause the files modified to carry prominent notices
  431. stating that you changed the files and the date of any change.
  432. c) You must cause the whole of the work to be licensed at no
  433. charge to all third parties under the terms of this License.
  434. d) If a facility in the modified Library refers to a function or a
  435. table of data to be supplied by an application program that uses
  436. the facility, other than as an argument passed when the facility
  437. is invoked, then you must make a good faith effort to ensure that,
  438. in the event an application does not supply such function or
  439. table, the facility still operates, and performs whatever part of
  440. its purpose remains meaningful.
  441. (For example, a function in a library to compute square roots has
  442. a purpose that is entirely well-defined independent of the
  443. application. Therefore, Subsection 2d requires that any
  444. application-supplied function or table used by this function must
  445. be optional: if the application does not supply it, the square
  446. root function must still compute square roots.)
  447. These requirements apply to the modified work as a whole. If
  448. identifiable sections of that work are not derived from the Library,
  449. and can be reasonably considered independent and separate works in
  450. themselves, then this License, and its terms, do not apply to those
  451. sections when you distribute them as separate works. But when you
  452. distribute the same sections as part of a whole which is a work based
  453. on the Library, the distribution of the whole must be on the terms of
  454. this License, whose permissions for other licensees extend to the
  455. entire whole, and thus to each and every part regardless of who wrote
  456. it.
  457. Thus, it is not the intent of this section to claim rights or contest
  458. your rights to work written entirely by you; rather, the intent is to
  459. exercise the right to control the distribution of derivative or
  460. collective works based on the Library.
  461. In addition, mere aggregation of another work not based on the Library
  462. with the Library (or with a work based on the Library) on a volume of
  463. a storage or distribution medium does not bring the other work under
  464. the scope of this License.
  465. 3. You may opt to apply the terms of the ordinary GNU General Public
  466. License instead of this License to a given copy of the Library. To do
  467. this, you must alter all the notices that refer to this License, so
  468. that they refer to the ordinary GNU General Public License, version 2,
  469. instead of to this License. (If a newer version than version 2 of the
  470. ordinary GNU General Public License has appeared, then you can specify
  471. that version instead if you wish.) Do not make any other change in
  472. these notices.
  473. Once this change is made in a given copy, it is irreversible for
  474. that copy, so the ordinary GNU General Public License applies to all
  475. subsequent copies and derivative works made from that copy.
  476. This option is useful when you wish to copy part of the code of
  477. the Library into a program that is not a library.
  478. 4. You may copy and distribute the Library (or a portion or
  479. derivative of it, under Section 2) in object code or executable form
  480. under the terms of Sections 1 and 2 above provided that you accompany
  481. it with the complete corresponding machine-readable source code, which
  482. must be distributed under the terms of Sections 1 and 2 above on a
  483. medium customarily used for software interchange.
  484. If distribution of object code is made by offering access to copy
  485. from a designated place, then offering equivalent access to copy the
  486. source code from the same place satisfies the requirement to
  487. distribute the source code, even though third parties are not
  488. compelled to copy the source along with the object code.
  489. 5. A program that contains no derivative of any portion of the
  490. Library, but is designed to work with the Library by being compiled or
  491. linked with it, is called a "work that uses the Library". Such a
  492. work, in isolation, is not a derivative work of the Library, and
  493. therefore falls outside the scope of this License.
  494. However, linking a "work that uses the Library" with the Library
  495. creates an executable that is a derivative of the Library (because it
  496. contains portions of the Library), rather than a "work that uses the
  497. library". The executable is therefore covered by this License.
  498. Section 6 states terms for distribution of such executables.
  499. When a "work that uses the Library" uses material from a header file
  500. that is part of the Library, the object code for the work may be a
  501. derivative work of the Library even though the source code is not.
  502. Whether this is true is especially significant if the work can be
  503. linked without the Library, or if the work is itself a library. The
  504. threshold for this to be true is not precisely defined by law.
  505. If such an object file uses only numerical parameters, data
  506. structure layouts and accessors, and small macros and small inline
  507. functions (ten lines or less in length), then the use of the object
  508. file is unrestricted, regardless of whether it is legally a derivative
  509. work. (Executables containing this object code plus portions of the
  510. Library will still fall under Section 6.)
  511. Otherwise, if the work is a derivative of the Library, you may
  512. distribute the object code for the work under the terms of Section 6.
  513. Any executables containing that work also fall under Section 6,
  514. whether or not they are linked directly with the Library itself.
  515. 6. As an exception to the Sections above, you may also combine or
  516. link a "work that uses the Library" with the Library to produce a
  517. work containing portions of the Library, and distribute that work
  518. under terms of your choice, provided that the terms permit
  519. modification of the work for the customer's own use and reverse
  520. engineering for debugging such modifications.
  521. You must give prominent notice with each copy of the work that the
  522. Library is used in it and that the Library and its use are covered by
  523. this License. You must supply a copy of this License. If the work
  524. during execution displays copyright notices, you must include the
  525. copyright notice for the Library among them, as well as a reference
  526. directing the user to the copy of this License. Also, you must do one
  527. of these things:
  528. a) Accompany the work with the complete corresponding
  529. machine-readable source code for the Library including whatever
  530. changes were used in the work (which must be distributed under
  531. Sections 1 and 2 above); and, if the work is an executable linked
  532. with the Library, with the complete machine-readable "work that
  533. uses the Library", as object code and/or source code, so that the
  534. user can modify the Library and then relink to produce a modified
  535. executable containing the modified Library. (It is understood
  536. that the user who changes the contents of definitions files in the
  537. Library will not necessarily be able to recompile the application
  538. to use the modified definitions.)
  539. b) Use a suitable shared library mechanism for linking with the
  540. Library. A suitable mechanism is one that (1) uses at run time a
  541. copy of the library already present on the user's computer system,
  542. rather than copying library functions into the executable, and (2)
  543. will operate properly with a modified version of the library, if
  544. the user installs one, as long as the modified version is
  545. interface-compatible with the version that the work was made with.
  546. c) Accompany the work with a written offer, valid for at
  547. least three years, to give the same user the materials
  548. specified in Subsection 6a, above, for a charge no more
  549. than the cost of performing this distribution.
  550. d) If distribution of the work is made by offering access to copy
  551. from a designated place, offer equivalent access to copy the above
  552. specified materials from the same place.
  553. e) Verify that the user has already received a copy of these
  554. materials or that you have already sent this user a copy.
  555. For an executable, the required form of the "work that uses the
  556. Library" must include any data and utility programs needed for
  557. reproducing the executable from it. However, as a special exception,
  558. the materials to be distributed need not include anything that is
  559. normally distributed (in either source or binary form) with the major
  560. components (compiler, kernel, and so on) of the operating system on
  561. which the executable runs, unless that component itself accompanies
  562. the executable.
  563. It may happen that this requirement contradicts the license
  564. restrictions of other proprietary libraries that do not normally
  565. accompany the operating system. Such a contradiction means you cannot
  566. use both them and the Library together in an executable that you
  567. distribute.
  568. 7. You may place library facilities that are a work based on the
  569. Library side-by-side in a single library together with other library
  570. facilities not covered by this License, and distribute such a combined
  571. library, provided that the separate distribution of the work based on
  572. the Library and of the other library facilities is otherwise
  573. permitted, and provided that you do these two things:
  574. a) Accompany the combined library with a copy of the same work
  575. based on the Library, uncombined with any other library
  576. facilities. This must be distributed under the terms of the
  577. Sections above.
  578. b) Give prominent notice with the combined library of the fact
  579. that part of it is a work based on the Library, and explaining
  580. where to find the accompanying uncombined form of the same work.
  581. 8. You may not copy, modify, sublicense, link with, or distribute
  582. the Library except as expressly provided under this License. Any
  583. attempt otherwise to copy, modify, sublicense, link with, or
  584. distribute the Library is void, and will automatically terminate your
  585. rights under this License. However, parties who have received copies,
  586. or rights, from you under this License will not have their licenses
  587. terminated so long as such parties remain in full compliance.
  588. 9. You are not required to accept this License, since you have not
  589. signed it. However, nothing else grants you permission to modify or
  590. distribute the Library or its derivative works. These actions are
  591. prohibited by law if you do not accept this License. Therefore, by
  592. modifying or distributing the Library (or any work based on the
  593. Library), you indicate your acceptance of this License to do so, and
  594. all its terms and conditions for copying, distributing or modifying
  595. the Library or works based on it.
  596. 10. Each time you redistribute the Library (or any work based on the
  597. Library), the recipient automatically receives a license from the
  598. original licensor to copy, distribute, link with or modify the Library
  599. subject to these terms and conditions. You may not impose any further
  600. restrictions on the recipients' exercise of the rights granted herein.
  601. You are not responsible for enforcing compliance by third parties with
  602. this License.
  603. 11. If, as a consequence of a court judgment or allegation of patent
  604. infringement or for any other reason (not limited to patent issues),
  605. conditions are imposed on you (whether by court order, agreement or
  606. otherwise) that contradict the conditions of this License, they do not
  607. excuse you from the conditions of this License. If you cannot
  608. distribute so as to satisfy simultaneously your obligations under this
  609. License and any other pertinent obligations, then as a consequence you
  610. may not distribute the Library at all. For example, if a patent
  611. license would not permit royalty-free redistribution of the Library by
  612. all those who receive copies directly or indirectly through you, then
  613. the only way you could satisfy both it and this License would be to
  614. refrain entirely from distribution of the Library.
  615. If any portion of this section is held invalid or unenforceable under any
  616. particular circumstance, the balance of the section is intended to apply,
  617. and the section as a whole is intended to apply in other circumstances.
  618. It is not the purpose of this section to induce you to infringe any
  619. patents or other property right claims or to contest validity of any
  620. such claims; this section has the sole purpose of protecting the
  621. integrity of the free software distribution system which is
  622. implemented by public license practices. Many people have made
  623. generous contributions to the wide range of software distributed
  624. through that system in reliance on consistent application of that
  625. system; it is up to the author/donor to decide if he or she is willing
  626. to distribute software through any other system and a licensee cannot
  627. impose that choice.
  628. This section is intended to make thoroughly clear what is believed to
  629. be a consequence of the rest of this License.
  630. 12. If the distribution and/or use of the Library is restricted in
  631. certain countries either by patents or by copyrighted interfaces, the
  632. original copyright holder who places the Library under this License may add
  633. an explicit geographical distribution limitation excluding those countries,
  634. so that distribution is permitted only in or among countries not thus
  635. excluded. In such case, this License incorporates the limitation as if
  636. written in the body of this License.
  637. 13. The Free Software Foundation may publish revised and/or new
  638. versions of the Lesser General Public License from time to time.
  639. Such new versions will be similar in spirit to the present version,
  640. but may differ in detail to address new problems or concerns.
  641. Each version is given a distinguishing version number. If the Library
  642. specifies a version number of this License which applies to it and
  643. "any later version", you have the option of following the terms and
  644. conditions either of that version or of any later version published by
  645. the Free Software Foundation. If the Library does not specify a
  646. license version number, you may choose any version ever published by
  647. the Free Software Foundation.
  648. 14. If you wish to incorporate parts of the Library into other free
  649. programs whose distribution conditions are incompatible with these,
  650. write to the author to ask for permission. For software which is
  651. copyrighted by the Free Software Foundation, write to the Free
  652. Software Foundation; we sometimes make exceptions for this. Our
  653. decision will be guided by the two goals of preserving the free status
  654. of all derivatives of our free software and of promoting the sharing
  655. and reuse of software generally.
  656. NO WARRANTY
  657. 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
  658. WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
  659. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
  660. OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
  661. KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
  662. IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  663. PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
  664. LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
  665. THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
  666. 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
  667. WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
  668. AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
  669. FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
  670. CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
  671. LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
  672. RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
  673. FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
  674. SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
  675. DAMAGES.
  676. END OF TERMS AND CONDITIONS
  677. How to Apply These Terms to Your New Libraries
  678. If you develop a new library, and you want it to be of the greatest
  679. possible use to the public, we recommend making it free software that
  680. everyone can redistribute and change. You can do so by permitting
  681. redistribution under these terms (or, alternatively, under the terms of the
  682. ordinary General Public License).
  683. To apply these terms, attach the following notices to the library. It is
  684. safest to attach them to the start of each source file to most effectively
  685. convey the exclusion of warranty; and each file should have at least the
  686. "copyright" line and a pointer to where the full notice is found.
  687. <one line to give the library's name and a brief idea of what it does.>
  688. Copyright (C) <year> <name of author>
  689. This library is free software; you can redistribute it and/or
  690. modify it under the terms of the GNU Lesser General Public
  691. License as published by the Free Software Foundation; either
  692. version 2.1 of the License, or (at your option) any later version.
  693. This library is distributed in the hope that it will be useful,
  694. but WITHOUT ANY WARRANTY; without even the implied warranty of
  695. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  696. Lesser General Public License for more details.
  697. You should have received a copy of the GNU Lesser General Public
  698. License along with this library; if not, write to the Free Software
  699. Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  700. Also add information on how to contact you by electronic and paper mail.
  701. You should also get your employer (if you work as a programmer) or your
  702. school, if any, to sign a "copyright disclaimer" for the library, if
  703. necessary. Here is a sample; alter the names:
  704. Yoyodyne, Inc., hereby disclaims all copyright interest in the
  705. library `Frob' (a library for tweaking knobs) written by James Random Hacker.
  706. <signature of Ty Coon>, 1 April 1990
  707. Ty Coon, President of Vice
  708. That's all there is to it!
  709. ==============================================================================
  710. Apache License
  711. Version 2.0, January 2004
  712. http://www.apache.org/licenses/
  713. TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
  714. 1. Definitions.
  715. "License" shall mean the terms and conditions for use, reproduction,
  716. and distribution as defined by Sections 1 through 9 of this document.
  717. "Licensor" shall mean the copyright owner or entity authorized by
  718. the copyright owner that is granting the License.
  719. "Legal Entity" shall mean the union of the acting entity and all
  720. other entities that control, are controlled by, or are under common
  721. control with that entity. For the purposes of this definition,
  722. "control" means (i) the power, direct or indirect, to cause the
  723. direction or management of such entity, whether by contract or
  724. otherwise, or (ii) ownership of fifty percent (50%) or more of the
  725. outstanding shares, or (iii) beneficial ownership of such entity.
  726. "You" (or "Your") shall mean an individual or Legal Entity
  727. exercising permissions granted by this License.
  728. "Source" form shall mean the preferred form for making modifications,
  729. including but not limited to software source code, documentation
  730. source, and configuration files.
  731. "Object" form shall mean any form resulting from mechanical
  732. transformation or translation of a Source form, including but
  733. not limited to compiled object code, generated documentation,
  734. and conversions to other media types.
  735. "Work" shall mean the work of authorship, whether in Source or
  736. Object form, made available under the License, as indicated by a
  737. copyright notice that is included in or attached to the work
  738. (an example is provided in the Appendix below).
  739. "Derivative Works" shall mean any work, whether in Source or Object
  740. form, that is based on (or derived from) the Work and for which the
  741. editorial revisions, annotations, elaborations, or other modifications
  742. represent, as a whole, an original work of authorship. For the purposes
  743. of this License, Derivative Works shall not include works that remain
  744. separable from, or merely link (or bind by name) to the interfaces of,
  745. the Work and Derivative Works thereof.
  746. "Contribution" shall mean any work of authorship, including
  747. the original version of the Work and any modifications or additions
  748. to that Work or Derivative Works thereof, that is intentionally
  749. submitted to Licensor for inclusion in the Work by the copyright owner
  750. or by an individual or Legal Entity authorized to submit on behalf of
  751. the copyright owner. For the purposes of this definition, "submitted"
  752. means any form of electronic, verbal, or written communication sent
  753. to the Licensor or its representatives, including but not limited to
  754. communication on electronic mailing lists, source code control systems,
  755. and issue tracking systems that are managed by, or on behalf of, the
  756. Licensor for the purpose of discussing and improving the Work, but
  757. excluding communication that is conspicuously marked or otherwise
  758. designated in writing by the copyright owner as "Not a Contribution."
  759. "Contributor" shall mean Licensor and any individual or Legal Entity
  760. on behalf of whom a Contribution has been received by Licensor and
  761. subsequently incorporated within the Work.
  762. 2. Grant of Copyright License. Subject to the terms and conditions of
  763. this License, each Contributor hereby grants to You a perpetual,
  764. worldwide, non-exclusive, no-charge, royalty-free, irrevocable
  765. copyright license to reproduce, prepare Derivative Works of,
  766. publicly display, publicly perform, sublicense, and distribute the
  767. Work and such Derivative Works in Source or Object form.
  768. 3. Grant of Patent License. Subject to the terms and conditions of
  769. this License, each Contributor hereby grants to You a perpetual,
  770. worldwide, non-exclusive, no-charge, royalty-free, irrevocable
  771. (except as stated in this section) patent license to make, have made,
  772. use, offer to sell, sell, import, and otherwise transfer the Work,
  773. where such license applies only to those patent claims licensable
  774. by such Contributor that are necessarily infringed by their
  775. Contribution(s) alone or by combination of their Contribution(s)
  776. with the Work to which such Contribution(s) was submitted. If You
  777. institute patent litigation against any entity (including a
  778. cross-claim or counterclaim in a lawsuit) alleging that the Work
  779. or a Contribution incorporated within the Work constitutes direct
  780. or contributory patent infringement, then any patent licenses
  781. granted to You under this License for that Work shall terminate
  782. as of the date such litigation is filed.
  783. 4. Redistribution. You may reproduce and distribute copies of the
  784. Work or Derivative Works thereof in any medium, with or without
  785. modifications, and in Source or Object form, provided that You
  786. meet the following conditions:
  787. (a) You must give any other recipients of the Work or
  788. Derivative Works a copy of this License; and
  789. (b) You must cause any modified files to carry prominent notices
  790. stating that You changed the files; and
  791. (c) You must retain, in the Source form of any Derivative Works
  792. that You distribute, all copyright, patent, trademark, and
  793. attribution notices from the Source form of the Work,
  794. excluding those notices that do not pertain to any part of
  795. the Derivative Works; and
  796. (d) If the Work includes a "NOTICE" text file as part of its
  797. distribution, then any Derivative Works that You distribute must
  798. include a readable copy of the attribution notices contained
  799. within such NOTICE file, excluding those notices that do not
  800. pertain to any part of the Derivative Works, in at least one
  801. of the following places: within a NOTICE text file distributed
  802. as part of the Derivative Works; within the Source form or
  803. documentation, if provided along with the Derivative Works; or,
  804. within a display generated by the Derivative Works, if and
  805. wherever such third-party notices normally appear. The contents
  806. of the NOTICE file are for informational purposes only and
  807. do not modify the License. You may add Your own attribution
  808. notices within Derivative Works that You distribute, alongside
  809. or as an addendum to the NOTICE text from the Work, provided
  810. that such additional attribution notices cannot be construed
  811. as modifying the License.
  812. You may add Your own copyright statement to Your modifications and
  813. may provide additional or different license terms and conditions
  814. for use, reproduction, or distribution of Your modifications, or
  815. for any such Derivative Works as a whole, provided Your use,
  816. reproduction, and distribution of the Work otherwise complies with
  817. the conditions stated in this License.
  818. 5. Submission of Contributions. Unless You explicitly state otherwise,
  819. any Contribution intentionally submitted for inclusion in the Work
  820. by You to the Licensor shall be under the terms and conditions of
  821. this License, without any additional terms or conditions.
  822. Notwithstanding the above, nothing herein shall supersede or modify
  823. the terms of any separate license agreement you may have executed
  824. with Licensor regarding such Contributions.
  825. 6. Trademarks. This License does not grant permission to use the trade
  826. names, trademarks, service marks, or product names of the Licensor,
  827. except as required for reasonable and customary use in describing the
  828. origin of the Work and reproducing the content of the NOTICE file.
  829. 7. Disclaimer of Warranty. Unless required by applicable law or
  830. agreed to in writing, Licensor provides the Work (and each
  831. Contributor provides its Contributions) on an "AS IS" BASIS,
  832. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
  833. implied, including, without limitation, any warranties or conditions
  834. of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
  835. PARTICULAR PURPOSE. You are solely responsible for determining the
  836. appropriateness of using or redistributing the Work and assume any
  837. risks associated with Your exercise of permissions under this License.
  838. 8. Limitation of Liability. In no event and under no legal theory,
  839. whether in tort (including negligence), contract, or otherwise,
  840. unless required by applicable law (such as deliberate and grossly
  841. negligent acts) or agreed to in writing, shall any Contributor be
  842. liable to You for damages, including any direct, indirect, special,
  843. incidental, or consequential damages of any character arising as a
  844. result of this License or out of the use or inability to use the
  845. Work (including but not limited to damages for loss of goodwill,
  846. work stoppage, computer failure or malfunction, or any and all
  847. other commercial damages or losses), even if such Contributor
  848. has been advised of the possibility of such damages.
  849. 9. Accepting Warranty or Additional Liability. While redistributing
  850. the Work or Derivative Works thereof, You may choose to offer,
  851. and charge a fee for, acceptance of support, warranty, indemnity,
  852. or other liability obligations and/or rights consistent with this
  853. License. However, in accepting such obligations, You may act only
  854. on Your own behalf and on Your sole responsibility, not on behalf
  855. of any other Contributor, and only if You agree to indemnify,
  856. defend, and hold each Contributor harmless for any liability
  857. incurred by, or claims asserted against, such Contributor by reason
  858. of your accepting any such warranty or additional liability.
  859. END OF TERMS AND CONDITIONS
  860. APPENDIX: How to apply the Apache License to your work.
  861. To apply the Apache License to your work, attach the following
  862. boilerplate notice, with the fields enclosed by brackets "[]"
  863. replaced with your own identifying information. (Don't include
  864. the brackets!) The text should be enclosed in the appropriate
  865. comment syntax for the file format. We also recommend that a
  866. file or class name and description of purpose be included on the
  867. same "printed page" as the copyright notice for easier
  868. identification within third-party archives.
  869. Copyright [yyyy] [name of copyright owner]
  870. Licensed under the Apache License, Version 2.0 (the "License");
  871. you may not use this file except in compliance with the License.
  872. You may obtain a copy of the License at
  873. http://www.apache.org/licenses/LICENSE-2.0
  874. Unless required by applicable law or agreed to in writing, software
  875. distributed under the License is distributed on an "AS IS" BASIS,
  876. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  877. See the License for the specific language governing permissions and
  878. limitations under the License.