/LICENSE

https://code.google.com/ · License · 269 lines · 226 code · 43 blank · 0 comment · 0 complexity · 1b4834722986953fde5752b0e363d8f9 MD5 · raw file

  1. The GNU General Public License (GPL-2.0)
  2. Version 2, June 1991
  3. Copyright (C) 1989, 1991 Free Software Foundation, Inc.
  4. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  5. Everyone is permitted to copy and distribute verbatim copies
  6. of this license document, but changing it is not allowed.
  7. Preamble
  8. The licenses for most software are designed to take away your freedom
  9. to share and change it. By contrast, the GNU General Public License is
  10. intended to guarantee your freedom to share and change free software--to
  11. make sure the software is free for all its users. This General Public
  12. License applies to most of the Free Software Foundation's software and
  13. to any other program whose authors commit to using it. (Some other Free
  14. Software Foundation software is covered by the GNU Library General Public
  15. License instead.) You can apply it to your programs, too.
  16. When we speak of free software, we are referring to freedom, not
  17. price. Our General Public Licenses are designed to make sure that you
  18. have the freedom to distribute copies of free software (and charge for
  19. this service if you wish), that you receive source code or can get it
  20. if you want it, that you can change the software or use pieces of it in
  21. new free programs; and that you know you can do these things.
  22. To protect your rights, we need to make restrictions that forbid anyone
  23. to deny you these rights or to ask you to surrender the rights. These
  24. restrictions translate to certain responsibilities for you if you
  25. distribute copies of the software, or if you modify it.
  26. For example, if you distribute copies of such a program, whether gratis or
  27. for a fee, you must give the recipients all the rights that you have. You
  28. must make sure that they, too, receive or can get the source code. And
  29. you must show them these terms so they know their rights.
  30. We protect your rights with two steps: (1) copyright the software, and
  31. (2) offer you this license which gives you legal permission to copy,
  32. distribute and/or modify the software.
  33. Also, for each author's protection and ours, we want to make certain
  34. that everyone understands that there is no warranty for this free
  35. software. If the software is modified by someone else and passed on,
  36. we want its recipients to know that what they have is not the original,
  37. so that any problems introduced by others will not reflect on the original
  38. authors' reputations.
  39. Finally, any free program is threatened constantly by software
  40. patents. We wish to avoid the danger that redistributors of a free
  41. program will individually obtain patent licenses, in effect making the
  42. program proprietary. To prevent this, we have made it clear that any
  43. patent must be licensed for everyone's free use or not licensed at all.
  44. The precise terms and conditions for copying, distribution and
  45. modification follow.
  46. TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
  47. 0. This License applies to any program or other work which contains
  48. a notice placed by the copyright holder saying it may be distributed
  49. under the terms of this General Public License. The "Program", below,
  50. refers to any such program or work, and a "work based on the Program"
  51. means either the Program or any derivative work under copyright law:
  52. that is to say, a work containing the Program or a portion of it,
  53. either verbatim or with modifications and/or translated into another
  54. language. (Hereinafter, translation is included without limitation in
  55. the term "modification".) Each licensee is addressed as "you".
  56. Activities other than copying, distribution and modification are not
  57. covered by this License; they are outside its scope. The act of running
  58. the Program is not restricted, and the output from the Program is covered
  59. only if its contents constitute a work based on the Program (independent
  60. of having been made by running the Program). Whether that is true depends
  61. on what the Program does.
  62. 1. You may copy and distribute verbatim copies of the Program's source
  63. code as you receive it, in any medium, provided that you conspicuously
  64. and appropriately publish on each copy an appropriate copyright notice
  65. and disclaimer of warranty; keep intact all the notices that refer to
  66. this License and to the absence of any warranty; and give any other
  67. recipients of the Program a copy of this License along with the Program.
  68. You may charge a fee for the physical act of transferring a copy, and
  69. you may at your option offer warranty protection in exchange for a fee.
  70. 2. You may modify your copy or copies of the Program or any portion of
  71. it, thus forming a work based on the Program, and copy and distribute
  72. such modifications or work under the terms of Section 1 above, provided
  73. that you also meet all of these conditions:
  74. a) You must cause the modified files to carry prominent notices stating
  75. that you changed the files and the date of any change.
  76. b) You must cause any work that you distribute or publish, that in whole
  77. or in part contains or is derived from the Program or any part thereof,
  78. to be licensed as a whole at no charge to all third parties under the
  79. terms of this License.
  80. c) If the modified program normally reads commands interactively when
  81. run, you must cause it, when started running for such interactive use in
  82. the most ordinary way, to print or display an announcement including an
  83. appropriate copyright notice and a notice that there is no warranty (or
  84. else, saying that you provide a warranty) and that users may redistribute
  85. the program under these conditions, and telling the user how to view a
  86. copy of this License. (Exception: if the Program itself is interactive
  87. but does not normally print such an announcement, your work based on
  88. the Program is not required to print an announcement.)
  89. These requirements apply to the modified work as a whole. If identifiable
  90. sections of that work are not derived from the Program, and can be
  91. reasonably considered independent and separate works in themselves,
  92. then this License, and its terms, do not apply to those sections when
  93. you distribute them as separate works. But when you distribute the same
  94. sections as part of a whole which is a work based on the Program, the
  95. distribution of the whole must be on the terms of this License, whose
  96. permissions for other licensees extend to the entire whole, and thus to
  97. each and every part regardless of who wrote it.
  98. Thus, it is not the intent of this section to claim rights or contest your
  99. rights to work written entirely by you; rather, the intent is to exercise
  100. the right to control the distribution of derivative or collective works
  101. based on the Program.
  102. In addition, mere aggregation of another work not based on the Program
  103. with the Program (or with a work based on the Program) on a volume of a
  104. storage or distribution medium does not bring the other work under the
  105. scope of this License.
  106. 3. You may copy and distribute the Program (or a work based on it,
  107. under Section 2) in object code or executable form under the terms of
  108. Sections 1 and 2 above provided that you also do one of the following:
  109. a) Accompany it with the complete corresponding machine-readable source
  110. code, which must be distributed under the terms of Sections 1 and 2
  111. above on a medium customarily used for software interchange; or,
  112. b) Accompany it with a written offer, valid for at least three years, to
  113. give any third party, for a charge no more than your cost of physically
  114. performing source distribution, a complete machine-readable copy of the
  115. corresponding source code, to be distributed under the terms of Sections
  116. 1 and 2 above on a medium customarily used for software interchange; or,
  117. c) Accompany it with the information you received as to the offer to
  118. distribute corresponding source code. (This alternative is allowed only
  119. for noncommercial distribution and only if you received the program
  120. in object code or executable form with such an offer, in accord with
  121. Subsection b above.)
  122. The source code for a work means the preferred form of the work for making
  123. modifications to it. For an executable work, complete source code means
  124. all the source code for all modules it contains, plus any associated
  125. interface definition files, plus the scripts used to control compilation
  126. and installation of the executable. However, as a special exception,
  127. the source code distributed need not include anything that is normally
  128. distributed (in either source or binary form) with the major components
  129. (compiler, kernel, and so on) of the operating system on which the
  130. executable runs, unless that component itself accompanies the executable.
  131. If distribution of executable or object code is made by offering access
  132. to copy from a designated place, then offering equivalent access to
  133. copy the source code from the same place counts as distribution of the
  134. source code, even though third parties are not compelled to copy the
  135. source along with the object code.
  136. 4. You may not copy, modify, sublicense, or distribute the Program
  137. except as expressly provided under this License. Any attempt otherwise
  138. to copy, modify, sublicense or distribute the Program is void, and will
  139. automatically terminate your rights under this License. However, parties
  140. who have received copies, or rights, from you under this License will
  141. not have their licenses terminated so long as such parties remain in
  142. full compliance.
  143. 5. You are not required to accept this License, since you have not signed
  144. it. However, nothing else grants you permission to modify or distribute
  145. the Program or its derivative works. These actions are prohibited
  146. by law if you do not accept this License. Therefore, by modifying or
  147. distributing the Program (or any work based on the Program), you indicate
  148. your acceptance of this License to do so, and all its terms and conditions
  149. for copying, distributing or modifying the Program or works based on it.
  150. 6. Each time you redistribute the Program (or any work based on the
  151. Program), the recipient automatically receives a license from the
  152. original licensor to copy, distribute or modify the Program subject to
  153. these terms and conditions. You may not impose any further restrictions
  154. on the recipients' exercise of the rights granted herein. You are not
  155. responsible for enforcing compliance by third parties to this License.
  156. 7. If, as a consequence of a court judgment or allegation of patent
  157. infringement or for any other reason (not limited to patent issues),
  158. conditions are imposed on you (whether by court order, agreement or
  159. otherwise) that contradict the conditions of this License, they do not
  160. excuse you from the conditions of this License. If you cannot distribute
  161. so as to satisfy simultaneously your obligations under this License
  162. and any other pertinent obligations, then as a consequence you may not
  163. distribute the Program at all. For example, if a patent license would
  164. not permit royalty-free redistribution of the Program by all those who
  165. receive copies directly or indirectly through you, then the only way you
  166. could satisfy both it and this License would be to refrain entirely from
  167. distribution of the Program.
  168. If any portion of this section is held invalid or unenforceable under any
  169. particular circumstance, the balance of the section is intended to apply
  170. and the section as a whole is intended to apply in other circumstances.
  171. It is not the purpose of this section to induce you to infringe any
  172. patents or other property right claims or to contest validity of any such
  173. claims; this section has the sole purpose of protecting the integrity of
  174. the free software distribution system, which is implemented by public
  175. license practices. Many people have made generous contributions to the
  176. wide range of software distributed through that system in reliance on
  177. consistent application of that system; it is up to the author/donor to
  178. decide if he or she is willing to distribute software through any other
  179. system and a licensee cannot impose that choice.
  180. This section is intended to make thoroughly clear what is believed to
  181. be a consequence of the rest of this License.
  182. 8. If the distribution and/or use of the Program is restricted in certain
  183. countries either by patents or by copyrighted interfaces, the original
  184. copyright holder who places the Program under this License may add an
  185. explicit geographical distribution limitation excluding those countries,
  186. so that distribution is permitted only in or among countries not thus
  187. excluded. In such case, this License incorporates the limitation as if
  188. written in the body of this License.
  189. 9. The Free Software Foundation may publish revised and/or new versions
  190. of the General Public License from time to time. Such new versions will
  191. be similar in spirit to the present version, but may differ in detail
  192. to address new problems or concerns.
  193. Each version is given a distinguishing version number. If the Program
  194. specifies a version number of this License which applies to it and
  195. "any later version", you have the option of following the terms and
  196. conditions either of that version or of any later version published by
  197. the Free Software Foundation. If the Program does not specify a version
  198. number of this License, you may choose any version ever published by
  199. the Free Software Foundation.
  200. 10. If you wish to incorporate parts of the Program into other free
  201. programs whose distribution conditions are different, write to the author
  202. to ask for permission. For software which is copyrighted by the Free
  203. Software Foundation, write to the Free Software Foundation; we sometimes
  204. make exceptions for this. Our decision will be guided by the two goals
  205. of preserving the free status of all derivatives of our free software
  206. and of promoting the sharing and reuse of software generally.
  207. NO WARRANTY
  208. 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
  209. FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
  210. OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
  211. PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
  212. OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  213. MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK
  214. AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
  215. PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
  216. REPAIR OR CORRECTION.
  217. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
  218. WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
  219. AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU
  220. FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL
  221. DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING
  222. BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR
  223. LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM
  224. TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY
  225. HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
  226. END OF TERMS AND CONDITIONS