PageRenderTime 85ms CodeModel.GetById 41ms app.highlight 3ms RepoModel.GetById 37ms app.codeStats 0ms

/LICENSE

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