1*a1ba9ba4Schristos GNU GENERAL PUBLIC LICENSE 2*a1ba9ba4Schristos Version 3, 29 June 2007 3*a1ba9ba4Schristos 4*a1ba9ba4Schristos Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> 5*a1ba9ba4Schristos Everyone is permitted to copy and distribute verbatim copies 6*a1ba9ba4Schristos of this license document, but changing it is not allowed. 7*a1ba9ba4Schristos 8*a1ba9ba4Schristos Preamble 9*a1ba9ba4Schristos 10*a1ba9ba4Schristos The GNU General Public License is a free, copyleft license for 11*a1ba9ba4Schristossoftware and other kinds of works. 12*a1ba9ba4Schristos 13*a1ba9ba4Schristos The licenses for most software and other practical works are designed 14*a1ba9ba4Schristosto take away your freedom to share and change the works. By contrast, 15*a1ba9ba4Schristosthe GNU General Public License is intended to guarantee your freedom to 16*a1ba9ba4Schristosshare and change all versions of a program--to make sure it remains free 17*a1ba9ba4Schristossoftware for all its users. We, the Free Software Foundation, use the 18*a1ba9ba4SchristosGNU General Public License for most of our software; it applies also to 19*a1ba9ba4Schristosany other work released this way by its authors. You can apply it to 20*a1ba9ba4Schristosyour programs, too. 21*a1ba9ba4Schristos 22*a1ba9ba4Schristos When we speak of free software, we are referring to freedom, not 23*a1ba9ba4Schristosprice. Our General Public Licenses are designed to make sure that you 24*a1ba9ba4Schristoshave the freedom to distribute copies of free software (and charge for 25*a1ba9ba4Schristosthem if you wish), that you receive source code or can get it if you 26*a1ba9ba4Schristoswant it, that you can change the software or use pieces of it in new 27*a1ba9ba4Schristosfree programs, and that you know you can do these things. 28*a1ba9ba4Schristos 29*a1ba9ba4Schristos To protect your rights, we need to prevent others from denying you 30*a1ba9ba4Schristosthese rights or asking you to surrender the rights. Therefore, you have 31*a1ba9ba4Schristoscertain responsibilities if you distribute copies of the software, or if 32*a1ba9ba4Schristosyou modify it: responsibilities to respect the freedom of others. 33*a1ba9ba4Schristos 34*a1ba9ba4Schristos For example, if you distribute copies of such a program, whether 35*a1ba9ba4Schristosgratis or for a fee, you must pass on to the recipients the same 36*a1ba9ba4Schristosfreedoms that you received. You must make sure that they, too, receive 37*a1ba9ba4Schristosor can get the source code. And you must show them these terms so they 38*a1ba9ba4Schristosknow their rights. 39*a1ba9ba4Schristos 40*a1ba9ba4Schristos Developers that use the GNU GPL protect your rights with two steps: 41*a1ba9ba4Schristos(1) assert copyright on the software, and (2) offer you this License 42*a1ba9ba4Schristosgiving you legal permission to copy, distribute and/or modify it. 43*a1ba9ba4Schristos 44*a1ba9ba4Schristos For the developers' and authors' protection, the GPL clearly explains 45*a1ba9ba4Schristosthat there is no warranty for this free software. For both users' and 46*a1ba9ba4Schristosauthors' sake, the GPL requires that modified versions be marked as 47*a1ba9ba4Schristoschanged, so that their problems will not be attributed erroneously to 48*a1ba9ba4Schristosauthors of previous versions. 49*a1ba9ba4Schristos 50*a1ba9ba4Schristos Some devices are designed to deny users access to install or run 51*a1ba9ba4Schristosmodified versions of the software inside them, although the manufacturer 52*a1ba9ba4Schristoscan do so. This is fundamentally incompatible with the aim of 53*a1ba9ba4Schristosprotecting users' freedom to change the software. The systematic 54*a1ba9ba4Schristospattern of such abuse occurs in the area of products for individuals to 55*a1ba9ba4Schristosuse, which is precisely where it is most unacceptable. Therefore, we 56*a1ba9ba4Schristoshave designed this version of the GPL to prohibit the practice for those 57*a1ba9ba4Schristosproducts. If such problems arise substantially in other domains, we 58*a1ba9ba4Schristosstand ready to extend this provision to those domains in future versions 59*a1ba9ba4Schristosof the GPL, as needed to protect the freedom of users. 60*a1ba9ba4Schristos 61*a1ba9ba4Schristos Finally, every program is threatened constantly by software patents. 62*a1ba9ba4SchristosStates should not allow patents to restrict development and use of 63*a1ba9ba4Schristossoftware on general-purpose computers, but in those that do, we wish to 64*a1ba9ba4Schristosavoid the special danger that patents applied to a free program could 65*a1ba9ba4Schristosmake it effectively proprietary. To prevent this, the GPL assures that 66*a1ba9ba4Schristospatents cannot be used to render the program non-free. 67*a1ba9ba4Schristos 68*a1ba9ba4Schristos The precise terms and conditions for copying, distribution and 69*a1ba9ba4Schristosmodification follow. 70*a1ba9ba4Schristos 71*a1ba9ba4Schristos TERMS AND CONDITIONS 72*a1ba9ba4Schristos 73*a1ba9ba4Schristos 0. Definitions. 74*a1ba9ba4Schristos 75*a1ba9ba4Schristos "This License" refers to version 3 of the GNU General Public License. 76*a1ba9ba4Schristos 77*a1ba9ba4Schristos "Copyright" also means copyright-like laws that apply to other kinds of 78*a1ba9ba4Schristosworks, such as semiconductor masks. 79*a1ba9ba4Schristos 80*a1ba9ba4Schristos "The Program" refers to any copyrightable work licensed under this 81*a1ba9ba4SchristosLicense. Each licensee is addressed as "you". "Licensees" and 82*a1ba9ba4Schristos"recipients" may be individuals or organizations. 83*a1ba9ba4Schristos 84*a1ba9ba4Schristos To "modify" a work means to copy from or adapt all or part of the work 85*a1ba9ba4Schristosin a fashion requiring copyright permission, other than the making of an 86*a1ba9ba4Schristosexact copy. The resulting work is called a "modified version" of the 87*a1ba9ba4Schristosearlier work or a work "based on" the earlier work. 88*a1ba9ba4Schristos 89*a1ba9ba4Schristos A "covered work" means either the unmodified Program or a work based 90*a1ba9ba4Schristoson the Program. 91*a1ba9ba4Schristos 92*a1ba9ba4Schristos To "propagate" a work means to do anything with it that, without 93*a1ba9ba4Schristospermission, would make you directly or secondarily liable for 94*a1ba9ba4Schristosinfringement under applicable copyright law, except executing it on a 95*a1ba9ba4Schristoscomputer or modifying a private copy. Propagation includes copying, 96*a1ba9ba4Schristosdistribution (with or without modification), making available to the 97*a1ba9ba4Schristospublic, and in some countries other activities as well. 98*a1ba9ba4Schristos 99*a1ba9ba4Schristos To "convey" a work means any kind of propagation that enables other 100*a1ba9ba4Schristosparties to make or receive copies. Mere interaction with a user through 101*a1ba9ba4Schristosa computer network, with no transfer of a copy, is not conveying. 102*a1ba9ba4Schristos 103*a1ba9ba4Schristos An interactive user interface displays "Appropriate Legal Notices" 104*a1ba9ba4Schristosto the extent that it includes a convenient and prominently visible 105*a1ba9ba4Schristosfeature that (1) displays an appropriate copyright notice, and (2) 106*a1ba9ba4Schristostells the user that there is no warranty for the work (except to the 107*a1ba9ba4Schristosextent that warranties are provided), that licensees may convey the 108*a1ba9ba4Schristoswork under this License, and how to view a copy of this License. If 109*a1ba9ba4Schristosthe interface presents a list of user commands or options, such as a 110*a1ba9ba4Schristosmenu, a prominent item in the list meets this criterion. 111*a1ba9ba4Schristos 112*a1ba9ba4Schristos 1. Source Code. 113*a1ba9ba4Schristos 114*a1ba9ba4Schristos The "source code" for a work means the preferred form of the work 115*a1ba9ba4Schristosfor making modifications to it. "Object code" means any non-source 116*a1ba9ba4Schristosform of a work. 117*a1ba9ba4Schristos 118*a1ba9ba4Schristos A "Standard Interface" means an interface that either is an official 119*a1ba9ba4Schristosstandard defined by a recognized standards body, or, in the case of 120*a1ba9ba4Schristosinterfaces specified for a particular programming language, one that 121*a1ba9ba4Schristosis widely used among developers working in that language. 122*a1ba9ba4Schristos 123*a1ba9ba4Schristos The "System Libraries" of an executable work include anything, other 124*a1ba9ba4Schristosthan the work as a whole, that (a) is included in the normal form of 125*a1ba9ba4Schristospackaging a Major Component, but which is not part of that Major 126*a1ba9ba4SchristosComponent, and (b) serves only to enable use of the work with that 127*a1ba9ba4SchristosMajor Component, or to implement a Standard Interface for which an 128*a1ba9ba4Schristosimplementation is available to the public in source code form. A 129*a1ba9ba4Schristos"Major Component", in this context, means a major essential component 130*a1ba9ba4Schristos(kernel, window system, and so on) of the specific operating system 131*a1ba9ba4Schristos(if any) on which the executable work runs, or a compiler used to 132*a1ba9ba4Schristosproduce the work, or an object code interpreter used to run it. 133*a1ba9ba4Schristos 134*a1ba9ba4Schristos The "Corresponding Source" for a work in object code form means all 135*a1ba9ba4Schristosthe source code needed to generate, install, and (for an executable 136*a1ba9ba4Schristoswork) run the object code and to modify the work, including scripts to 137*a1ba9ba4Schristoscontrol those activities. However, it does not include the work's 138*a1ba9ba4SchristosSystem Libraries, or general-purpose tools or generally available free 139*a1ba9ba4Schristosprograms which are used unmodified in performing those activities but 140*a1ba9ba4Schristoswhich are not part of the work. For example, Corresponding Source 141*a1ba9ba4Schristosincludes interface definition files associated with source files for 142*a1ba9ba4Schristosthe work, and the source code for shared libraries and dynamically 143*a1ba9ba4Schristoslinked subprograms that the work is specifically designed to require, 144*a1ba9ba4Schristossuch as by intimate data communication or control flow between those 145*a1ba9ba4Schristossubprograms and other parts of the work. 146*a1ba9ba4Schristos 147*a1ba9ba4Schristos The Corresponding Source need not include anything that users 148*a1ba9ba4Schristoscan regenerate automatically from other parts of the Corresponding 149*a1ba9ba4SchristosSource. 150*a1ba9ba4Schristos 151*a1ba9ba4Schristos The Corresponding Source for a work in source code form is that 152*a1ba9ba4Schristossame work. 153*a1ba9ba4Schristos 154*a1ba9ba4Schristos 2. Basic Permissions. 155*a1ba9ba4Schristos 156*a1ba9ba4Schristos All rights granted under this License are granted for the term of 157*a1ba9ba4Schristoscopyright on the Program, and are irrevocable provided the stated 158*a1ba9ba4Schristosconditions are met. This License explicitly affirms your unlimited 159*a1ba9ba4Schristospermission to run the unmodified Program. The output from running a 160*a1ba9ba4Schristoscovered work is covered by this License only if the output, given its 161*a1ba9ba4Schristoscontent, constitutes a covered work. This License acknowledges your 162*a1ba9ba4Schristosrights of fair use or other equivalent, as provided by copyright law. 163*a1ba9ba4Schristos 164*a1ba9ba4Schristos You may make, run and propagate covered works that you do not 165*a1ba9ba4Schristosconvey, without conditions so long as your license otherwise remains 166*a1ba9ba4Schristosin force. You may convey covered works to others for the sole purpose 167*a1ba9ba4Schristosof having them make modifications exclusively for you, or provide you 168*a1ba9ba4Schristoswith facilities for running those works, provided that you comply with 169*a1ba9ba4Schristosthe terms of this License in conveying all material for which you do 170*a1ba9ba4Schristosnot control copyright. Those thus making or running the covered works 171*a1ba9ba4Schristosfor you must do so exclusively on your behalf, under your direction 172*a1ba9ba4Schristosand control, on terms that prohibit them from making any copies of 173*a1ba9ba4Schristosyour copyrighted material outside their relationship with you. 174*a1ba9ba4Schristos 175*a1ba9ba4Schristos Conveying under any other circumstances is permitted solely under 176*a1ba9ba4Schristosthe conditions stated below. Sublicensing is not allowed; section 10 177*a1ba9ba4Schristosmakes it unnecessary. 178*a1ba9ba4Schristos 179*a1ba9ba4Schristos 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180*a1ba9ba4Schristos 181*a1ba9ba4Schristos No covered work shall be deemed part of an effective technological 182*a1ba9ba4Schristosmeasure under any applicable law fulfilling obligations under article 183*a1ba9ba4Schristos11 of the WIPO copyright treaty adopted on 20 December 1996, or 184*a1ba9ba4Schristossimilar laws prohibiting or restricting circumvention of such 185*a1ba9ba4Schristosmeasures. 186*a1ba9ba4Schristos 187*a1ba9ba4Schristos When you convey a covered work, you waive any legal power to forbid 188*a1ba9ba4Schristoscircumvention of technological measures to the extent such circumvention 189*a1ba9ba4Schristosis effected by exercising rights under this License with respect to 190*a1ba9ba4Schristosthe covered work, and you disclaim any intention to limit operation or 191*a1ba9ba4Schristosmodification of the work as a means of enforcing, against the work's 192*a1ba9ba4Schristosusers, your or third parties' legal rights to forbid circumvention of 193*a1ba9ba4Schristostechnological measures. 194*a1ba9ba4Schristos 195*a1ba9ba4Schristos 4. Conveying Verbatim Copies. 196*a1ba9ba4Schristos 197*a1ba9ba4Schristos You may convey verbatim copies of the Program's source code as you 198*a1ba9ba4Schristosreceive it, in any medium, provided that you conspicuously and 199*a1ba9ba4Schristosappropriately publish on each copy an appropriate copyright notice; 200*a1ba9ba4Schristoskeep intact all notices stating that this License and any 201*a1ba9ba4Schristosnon-permissive terms added in accord with section 7 apply to the code; 202*a1ba9ba4Schristoskeep intact all notices of the absence of any warranty; and give all 203*a1ba9ba4Schristosrecipients a copy of this License along with the Program. 204*a1ba9ba4Schristos 205*a1ba9ba4Schristos You may charge any price or no price for each copy that you convey, 206*a1ba9ba4Schristosand you may offer support or warranty protection for a fee. 207*a1ba9ba4Schristos 208*a1ba9ba4Schristos 5. Conveying Modified Source Versions. 209*a1ba9ba4Schristos 210*a1ba9ba4Schristos You may convey a work based on the Program, or the modifications to 211*a1ba9ba4Schristosproduce it from the Program, in the form of source code under the 212*a1ba9ba4Schristosterms of section 4, provided that you also meet all of these conditions: 213*a1ba9ba4Schristos 214*a1ba9ba4Schristos a) The work must carry prominent notices stating that you modified 215*a1ba9ba4Schristos it, and giving a relevant date. 216*a1ba9ba4Schristos 217*a1ba9ba4Schristos b) The work must carry prominent notices stating that it is 218*a1ba9ba4Schristos released under this License and any conditions added under section 219*a1ba9ba4Schristos 7. This requirement modifies the requirement in section 4 to 220*a1ba9ba4Schristos "keep intact all notices". 221*a1ba9ba4Schristos 222*a1ba9ba4Schristos c) You must license the entire work, as a whole, under this 223*a1ba9ba4Schristos License to anyone who comes into possession of a copy. This 224*a1ba9ba4Schristos License will therefore apply, along with any applicable section 7 225*a1ba9ba4Schristos additional terms, to the whole of the work, and all its parts, 226*a1ba9ba4Schristos regardless of how they are packaged. This License gives no 227*a1ba9ba4Schristos permission to license the work in any other way, but it does not 228*a1ba9ba4Schristos invalidate such permission if you have separately received it. 229*a1ba9ba4Schristos 230*a1ba9ba4Schristos d) If the work has interactive user interfaces, each must display 231*a1ba9ba4Schristos Appropriate Legal Notices; however, if the Program has interactive 232*a1ba9ba4Schristos interfaces that do not display Appropriate Legal Notices, your 233*a1ba9ba4Schristos work need not make them do so. 234*a1ba9ba4Schristos 235*a1ba9ba4Schristos A compilation of a covered work with other separate and independent 236*a1ba9ba4Schristosworks, which are not by their nature extensions of the covered work, 237*a1ba9ba4Schristosand which are not combined with it such as to form a larger program, 238*a1ba9ba4Schristosin or on a volume of a storage or distribution medium, is called an 239*a1ba9ba4Schristos"aggregate" if the compilation and its resulting copyright are not 240*a1ba9ba4Schristosused to limit the access or legal rights of the compilation's users 241*a1ba9ba4Schristosbeyond what the individual works permit. Inclusion of a covered work 242*a1ba9ba4Schristosin an aggregate does not cause this License to apply to the other 243*a1ba9ba4Schristosparts of the aggregate. 244*a1ba9ba4Schristos 245*a1ba9ba4Schristos 6. Conveying Non-Source Forms. 246*a1ba9ba4Schristos 247*a1ba9ba4Schristos You may convey a covered work in object code form under the terms 248*a1ba9ba4Schristosof sections 4 and 5, provided that you also convey the 249*a1ba9ba4Schristosmachine-readable Corresponding Source under the terms of this License, 250*a1ba9ba4Schristosin one of these ways: 251*a1ba9ba4Schristos 252*a1ba9ba4Schristos a) Convey the object code in, or embodied in, a physical product 253*a1ba9ba4Schristos (including a physical distribution medium), accompanied by the 254*a1ba9ba4Schristos Corresponding Source fixed on a durable physical medium 255*a1ba9ba4Schristos customarily used for software interchange. 256*a1ba9ba4Schristos 257*a1ba9ba4Schristos b) Convey the object code in, or embodied in, a physical product 258*a1ba9ba4Schristos (including a physical distribution medium), accompanied by a 259*a1ba9ba4Schristos written offer, valid for at least three years and valid for as 260*a1ba9ba4Schristos long as you offer spare parts or customer support for that product 261*a1ba9ba4Schristos model, to give anyone who possesses the object code either (1) a 262*a1ba9ba4Schristos copy of the Corresponding Source for all the software in the 263*a1ba9ba4Schristos product that is covered by this License, on a durable physical 264*a1ba9ba4Schristos medium customarily used for software interchange, for a price no 265*a1ba9ba4Schristos more than your reasonable cost of physically performing this 266*a1ba9ba4Schristos conveying of source, or (2) access to copy the 267*a1ba9ba4Schristos Corresponding Source from a network server at no charge. 268*a1ba9ba4Schristos 269*a1ba9ba4Schristos c) Convey individual copies of the object code with a copy of the 270*a1ba9ba4Schristos written offer to provide the Corresponding Source. This 271*a1ba9ba4Schristos alternative is allowed only occasionally and noncommercially, and 272*a1ba9ba4Schristos only if you received the object code with such an offer, in accord 273*a1ba9ba4Schristos with subsection 6b. 274*a1ba9ba4Schristos 275*a1ba9ba4Schristos d) Convey the object code by offering access from a designated 276*a1ba9ba4Schristos place (gratis or for a charge), and offer equivalent access to the 277*a1ba9ba4Schristos Corresponding Source in the same way through the same place at no 278*a1ba9ba4Schristos further charge. You need not require recipients to copy the 279*a1ba9ba4Schristos Corresponding Source along with the object code. If the place to 280*a1ba9ba4Schristos copy the object code is a network server, the Corresponding Source 281*a1ba9ba4Schristos may be on a different server (operated by you or a third party) 282*a1ba9ba4Schristos that supports equivalent copying facilities, provided you maintain 283*a1ba9ba4Schristos clear directions next to the object code saying where to find the 284*a1ba9ba4Schristos Corresponding Source. Regardless of what server hosts the 285*a1ba9ba4Schristos Corresponding Source, you remain obligated to ensure that it is 286*a1ba9ba4Schristos available for as long as needed to satisfy these requirements. 287*a1ba9ba4Schristos 288*a1ba9ba4Schristos e) Convey the object code using peer-to-peer transmission, provided 289*a1ba9ba4Schristos you inform other peers where the object code and Corresponding 290*a1ba9ba4Schristos Source of the work are being offered to the general public at no 291*a1ba9ba4Schristos charge under subsection 6d. 292*a1ba9ba4Schristos 293*a1ba9ba4Schristos A separable portion of the object code, whose source code is excluded 294*a1ba9ba4Schristosfrom the Corresponding Source as a System Library, need not be 295*a1ba9ba4Schristosincluded in conveying the object code work. 296*a1ba9ba4Schristos 297*a1ba9ba4Schristos A "User Product" is either (1) a "consumer product", which means any 298*a1ba9ba4Schristostangible personal property which is normally used for personal, family, 299*a1ba9ba4Schristosor household purposes, or (2) anything designed or sold for incorporation 300*a1ba9ba4Schristosinto a dwelling. In determining whether a product is a consumer product, 301*a1ba9ba4Schristosdoubtful cases shall be resolved in favor of coverage. For a particular 302*a1ba9ba4Schristosproduct received by a particular user, "normally used" refers to a 303*a1ba9ba4Schristostypical or common use of that class of product, regardless of the status 304*a1ba9ba4Schristosof the particular user or of the way in which the particular user 305*a1ba9ba4Schristosactually uses, or expects or is expected to use, the product. A product 306*a1ba9ba4Schristosis a consumer product regardless of whether the product has substantial 307*a1ba9ba4Schristoscommercial, industrial or non-consumer uses, unless such uses represent 308*a1ba9ba4Schristosthe only significant mode of use of the product. 309*a1ba9ba4Schristos 310*a1ba9ba4Schristos "Installation Information" for a User Product means any methods, 311*a1ba9ba4Schristosprocedures, authorization keys, or other information required to install 312*a1ba9ba4Schristosand execute modified versions of a covered work in that User Product from 313*a1ba9ba4Schristosa modified version of its Corresponding Source. The information must 314*a1ba9ba4Schristossuffice to ensure that the continued functioning of the modified object 315*a1ba9ba4Schristoscode is in no case prevented or interfered with solely because 316*a1ba9ba4Schristosmodification has been made. 317*a1ba9ba4Schristos 318*a1ba9ba4Schristos If you convey an object code work under this section in, or with, or 319*a1ba9ba4Schristosspecifically for use in, a User Product, and the conveying occurs as 320*a1ba9ba4Schristospart of a transaction in which the right of possession and use of the 321*a1ba9ba4SchristosUser Product is transferred to the recipient in perpetuity or for a 322*a1ba9ba4Schristosfixed term (regardless of how the transaction is characterized), the 323*a1ba9ba4SchristosCorresponding Source conveyed under this section must be accompanied 324*a1ba9ba4Schristosby the Installation Information. But this requirement does not apply 325*a1ba9ba4Schristosif neither you nor any third party retains the ability to install 326*a1ba9ba4Schristosmodified object code on the User Product (for example, the work has 327*a1ba9ba4Schristosbeen installed in ROM). 328*a1ba9ba4Schristos 329*a1ba9ba4Schristos The requirement to provide Installation Information does not include a 330*a1ba9ba4Schristosrequirement to continue to provide support service, warranty, or updates 331*a1ba9ba4Schristosfor a work that has been modified or installed by the recipient, or for 332*a1ba9ba4Schristosthe User Product in which it has been modified or installed. Access to a 333*a1ba9ba4Schristosnetwork may be denied when the modification itself materially and 334*a1ba9ba4Schristosadversely affects the operation of the network or violates the rules and 335*a1ba9ba4Schristosprotocols for communication across the network. 336*a1ba9ba4Schristos 337*a1ba9ba4Schristos Corresponding Source conveyed, and Installation Information provided, 338*a1ba9ba4Schristosin accord with this section must be in a format that is publicly 339*a1ba9ba4Schristosdocumented (and with an implementation available to the public in 340*a1ba9ba4Schristossource code form), and must require no special password or key for 341*a1ba9ba4Schristosunpacking, reading or copying. 342*a1ba9ba4Schristos 343*a1ba9ba4Schristos 7. Additional Terms. 344*a1ba9ba4Schristos 345*a1ba9ba4Schristos "Additional permissions" are terms that supplement the terms of this 346*a1ba9ba4SchristosLicense by making exceptions from one or more of its conditions. 347*a1ba9ba4SchristosAdditional permissions that are applicable to the entire Program shall 348*a1ba9ba4Schristosbe treated as though they were included in this License, to the extent 349*a1ba9ba4Schristosthat they are valid under applicable law. If additional permissions 350*a1ba9ba4Schristosapply only to part of the Program, that part may be used separately 351*a1ba9ba4Schristosunder those permissions, but the entire Program remains governed by 352*a1ba9ba4Schristosthis License without regard to the additional permissions. 353*a1ba9ba4Schristos 354*a1ba9ba4Schristos When you convey a copy of a covered work, you may at your option 355*a1ba9ba4Schristosremove any additional permissions from that copy, or from any part of 356*a1ba9ba4Schristosit. (Additional permissions may be written to require their own 357*a1ba9ba4Schristosremoval in certain cases when you modify the work.) You may place 358*a1ba9ba4Schristosadditional permissions on material, added by you to a covered work, 359*a1ba9ba4Schristosfor which you have or can give appropriate copyright permission. 360*a1ba9ba4Schristos 361*a1ba9ba4Schristos Notwithstanding any other provision of this License, for material you 362*a1ba9ba4Schristosadd to a covered work, you may (if authorized by the copyright holders of 363*a1ba9ba4Schristosthat material) supplement the terms of this License with terms: 364*a1ba9ba4Schristos 365*a1ba9ba4Schristos a) Disclaiming warranty or limiting liability differently from the 366*a1ba9ba4Schristos terms of sections 15 and 16 of this License; or 367*a1ba9ba4Schristos 368*a1ba9ba4Schristos b) Requiring preservation of specified reasonable legal notices or 369*a1ba9ba4Schristos author attributions in that material or in the Appropriate Legal 370*a1ba9ba4Schristos Notices displayed by works containing it; or 371*a1ba9ba4Schristos 372*a1ba9ba4Schristos c) Prohibiting misrepresentation of the origin of that material, or 373*a1ba9ba4Schristos requiring that modified versions of such material be marked in 374*a1ba9ba4Schristos reasonable ways as different from the original version; or 375*a1ba9ba4Schristos 376*a1ba9ba4Schristos d) Limiting the use for publicity purposes of names of licensors or 377*a1ba9ba4Schristos authors of the material; or 378*a1ba9ba4Schristos 379*a1ba9ba4Schristos e) Declining to grant rights under trademark law for use of some 380*a1ba9ba4Schristos trade names, trademarks, or service marks; or 381*a1ba9ba4Schristos 382*a1ba9ba4Schristos f) Requiring indemnification of licensors and authors of that 383*a1ba9ba4Schristos material by anyone who conveys the material (or modified versions of 384*a1ba9ba4Schristos it) with contractual assumptions of liability to the recipient, for 385*a1ba9ba4Schristos any liability that these contractual assumptions directly impose on 386*a1ba9ba4Schristos those licensors and authors. 387*a1ba9ba4Schristos 388*a1ba9ba4Schristos All other non-permissive additional terms are considered "further 389*a1ba9ba4Schristosrestrictions" within the meaning of section 10. If the Program as you 390*a1ba9ba4Schristosreceived it, or any part of it, contains a notice stating that it is 391*a1ba9ba4Schristosgoverned by this License along with a term that is a further 392*a1ba9ba4Schristosrestriction, you may remove that term. If a license document contains 393*a1ba9ba4Schristosa further restriction but permits relicensing or conveying under this 394*a1ba9ba4SchristosLicense, you may add to a covered work material governed by the terms 395*a1ba9ba4Schristosof that license document, provided that the further restriction does 396*a1ba9ba4Schristosnot survive such relicensing or conveying. 397*a1ba9ba4Schristos 398*a1ba9ba4Schristos If you add terms to a covered work in accord with this section, you 399*a1ba9ba4Schristosmust place, in the relevant source files, a statement of the 400*a1ba9ba4Schristosadditional terms that apply to those files, or a notice indicating 401*a1ba9ba4Schristoswhere to find the applicable terms. 402*a1ba9ba4Schristos 403*a1ba9ba4Schristos Additional terms, permissive or non-permissive, may be stated in the 404*a1ba9ba4Schristosform of a separately written license, or stated as exceptions; 405*a1ba9ba4Schristosthe above requirements apply either way. 406*a1ba9ba4Schristos 407*a1ba9ba4Schristos 8. Termination. 408*a1ba9ba4Schristos 409*a1ba9ba4Schristos You may not propagate or modify a covered work except as expressly 410*a1ba9ba4Schristosprovided under this License. Any attempt otherwise to propagate or 411*a1ba9ba4Schristosmodify it is void, and will automatically terminate your rights under 412*a1ba9ba4Schristosthis License (including any patent licenses granted under the third 413*a1ba9ba4Schristosparagraph of section 11). 414*a1ba9ba4Schristos 415*a1ba9ba4Schristos However, if you cease all violation of this License, then your 416*a1ba9ba4Schristoslicense from a particular copyright holder is reinstated (a) 417*a1ba9ba4Schristosprovisionally, unless and until the copyright holder explicitly and 418*a1ba9ba4Schristosfinally terminates your license, and (b) permanently, if the copyright 419*a1ba9ba4Schristosholder fails to notify you of the violation by some reasonable means 420*a1ba9ba4Schristosprior to 60 days after the cessation. 421*a1ba9ba4Schristos 422*a1ba9ba4Schristos Moreover, your license from a particular copyright holder is 423*a1ba9ba4Schristosreinstated permanently if the copyright holder notifies you of the 424*a1ba9ba4Schristosviolation by some reasonable means, this is the first time you have 425*a1ba9ba4Schristosreceived notice of violation of this License (for any work) from that 426*a1ba9ba4Schristoscopyright holder, and you cure the violation prior to 30 days after 427*a1ba9ba4Schristosyour receipt of the notice. 428*a1ba9ba4Schristos 429*a1ba9ba4Schristos Termination of your rights under this section does not terminate the 430*a1ba9ba4Schristoslicenses of parties who have received copies or rights from you under 431*a1ba9ba4Schristosthis License. If your rights have been terminated and not permanently 432*a1ba9ba4Schristosreinstated, you do not qualify to receive new licenses for the same 433*a1ba9ba4Schristosmaterial under section 10. 434*a1ba9ba4Schristos 435*a1ba9ba4Schristos 9. Acceptance Not Required for Having Copies. 436*a1ba9ba4Schristos 437*a1ba9ba4Schristos You are not required to accept this License in order to receive or 438*a1ba9ba4Schristosrun a copy of the Program. Ancillary propagation of a covered work 439*a1ba9ba4Schristosoccurring solely as a consequence of using peer-to-peer transmission 440*a1ba9ba4Schristosto receive a copy likewise does not require acceptance. However, 441*a1ba9ba4Schristosnothing other than this License grants you permission to propagate or 442*a1ba9ba4Schristosmodify any covered work. These actions infringe copyright if you do 443*a1ba9ba4Schristosnot accept this License. Therefore, by modifying or propagating a 444*a1ba9ba4Schristoscovered work, you indicate your acceptance of this License to do so. 445*a1ba9ba4Schristos 446*a1ba9ba4Schristos 10. Automatic Licensing of Downstream Recipients. 447*a1ba9ba4Schristos 448*a1ba9ba4Schristos Each time you convey a covered work, the recipient automatically 449*a1ba9ba4Schristosreceives a license from the original licensors, to run, modify and 450*a1ba9ba4Schristospropagate that work, subject to this License. You are not responsible 451*a1ba9ba4Schristosfor enforcing compliance by third parties with this License. 452*a1ba9ba4Schristos 453*a1ba9ba4Schristos An "entity transaction" is a transaction transferring control of an 454*a1ba9ba4Schristosorganization, or substantially all assets of one, or subdividing an 455*a1ba9ba4Schristosorganization, or merging organizations. If propagation of a covered 456*a1ba9ba4Schristoswork results from an entity transaction, each party to that 457*a1ba9ba4Schristostransaction who receives a copy of the work also receives whatever 458*a1ba9ba4Schristoslicenses to the work the party's predecessor in interest had or could 459*a1ba9ba4Schristosgive under the previous paragraph, plus a right to possession of the 460*a1ba9ba4SchristosCorresponding Source of the work from the predecessor in interest, if 461*a1ba9ba4Schristosthe predecessor has it or can get it with reasonable efforts. 462*a1ba9ba4Schristos 463*a1ba9ba4Schristos You may not impose any further restrictions on the exercise of the 464*a1ba9ba4Schristosrights granted or affirmed under this License. For example, you may 465*a1ba9ba4Schristosnot impose a license fee, royalty, or other charge for exercise of 466*a1ba9ba4Schristosrights granted under this License, and you may not initiate litigation 467*a1ba9ba4Schristos(including a cross-claim or counterclaim in a lawsuit) alleging that 468*a1ba9ba4Schristosany patent claim is infringed by making, using, selling, offering for 469*a1ba9ba4Schristossale, or importing the Program or any portion of it. 470*a1ba9ba4Schristos 471*a1ba9ba4Schristos 11. Patents. 472*a1ba9ba4Schristos 473*a1ba9ba4Schristos A "contributor" is a copyright holder who authorizes use under this 474*a1ba9ba4SchristosLicense of the Program or a work on which the Program is based. The 475*a1ba9ba4Schristoswork thus licensed is called the contributor's "contributor version". 476*a1ba9ba4Schristos 477*a1ba9ba4Schristos A contributor's "essential patent claims" are all patent claims 478*a1ba9ba4Schristosowned or controlled by the contributor, whether already acquired or 479*a1ba9ba4Schristoshereafter acquired, that would be infringed by some manner, permitted 480*a1ba9ba4Schristosby this License, of making, using, or selling its contributor version, 481*a1ba9ba4Schristosbut do not include claims that would be infringed only as a 482*a1ba9ba4Schristosconsequence of further modification of the contributor version. For 483*a1ba9ba4Schristospurposes of this definition, "control" includes the right to grant 484*a1ba9ba4Schristospatent sublicenses in a manner consistent with the requirements of 485*a1ba9ba4Schristosthis License. 486*a1ba9ba4Schristos 487*a1ba9ba4Schristos Each contributor grants you a non-exclusive, worldwide, royalty-free 488*a1ba9ba4Schristospatent license under the contributor's essential patent claims, to 489*a1ba9ba4Schristosmake, use, sell, offer for sale, import and otherwise run, modify and 490*a1ba9ba4Schristospropagate the contents of its contributor version. 491*a1ba9ba4Schristos 492*a1ba9ba4Schristos In the following three paragraphs, a "patent license" is any express 493*a1ba9ba4Schristosagreement or commitment, however denominated, not to enforce a patent 494*a1ba9ba4Schristos(such as an express permission to practice a patent or covenant not to 495*a1ba9ba4Schristossue for patent infringement). To "grant" such a patent license to a 496*a1ba9ba4Schristosparty means to make such an agreement or commitment not to enforce a 497*a1ba9ba4Schristospatent against the party. 498*a1ba9ba4Schristos 499*a1ba9ba4Schristos If you convey a covered work, knowingly relying on a patent license, 500*a1ba9ba4Schristosand the Corresponding Source of the work is not available for anyone 501*a1ba9ba4Schristosto copy, free of charge and under the terms of this License, through a 502*a1ba9ba4Schristospublicly available network server or other readily accessible means, 503*a1ba9ba4Schristosthen you must either (1) cause the Corresponding Source to be so 504*a1ba9ba4Schristosavailable, or (2) arrange to deprive yourself of the benefit of the 505*a1ba9ba4Schristospatent license for this particular work, or (3) arrange, in a manner 506*a1ba9ba4Schristosconsistent with the requirements of this License, to extend the patent 507*a1ba9ba4Schristoslicense to downstream recipients. "Knowingly relying" means you have 508*a1ba9ba4Schristosactual knowledge that, but for the patent license, your conveying the 509*a1ba9ba4Schristoscovered work in a country, or your recipient's use of the covered work 510*a1ba9ba4Schristosin a country, would infringe one or more identifiable patents in that 511*a1ba9ba4Schristoscountry that you have reason to believe are valid. 512*a1ba9ba4Schristos 513*a1ba9ba4Schristos If, pursuant to or in connection with a single transaction or 514*a1ba9ba4Schristosarrangement, you convey, or propagate by procuring conveyance of, a 515*a1ba9ba4Schristoscovered work, and grant a patent license to some of the parties 516*a1ba9ba4Schristosreceiving the covered work authorizing them to use, propagate, modify 517*a1ba9ba4Schristosor convey a specific copy of the covered work, then the patent license 518*a1ba9ba4Schristosyou grant is automatically extended to all recipients of the covered 519*a1ba9ba4Schristoswork and works based on it. 520*a1ba9ba4Schristos 521*a1ba9ba4Schristos A patent license is "discriminatory" if it does not include within 522*a1ba9ba4Schristosthe scope of its coverage, prohibits the exercise of, or is 523*a1ba9ba4Schristosconditioned on the non-exercise of one or more of the rights that are 524*a1ba9ba4Schristosspecifically granted under this License. You may not convey a covered 525*a1ba9ba4Schristoswork if you are a party to an arrangement with a third party that is 526*a1ba9ba4Schristosin the business of distributing software, under which you make payment 527*a1ba9ba4Schristosto the third party based on the extent of your activity of conveying 528*a1ba9ba4Schristosthe work, and under which the third party grants, to any of the 529*a1ba9ba4Schristosparties who would receive the covered work from you, a discriminatory 530*a1ba9ba4Schristospatent license (a) in connection with copies of the covered work 531*a1ba9ba4Schristosconveyed by you (or copies made from those copies), or (b) primarily 532*a1ba9ba4Schristosfor and in connection with specific products or compilations that 533*a1ba9ba4Schristoscontain the covered work, unless you entered into that arrangement, 534*a1ba9ba4Schristosor that patent license was granted, prior to 28 March 2007. 535*a1ba9ba4Schristos 536*a1ba9ba4Schristos Nothing in this License shall be construed as excluding or limiting 537*a1ba9ba4Schristosany implied license or other defenses to infringement that may 538*a1ba9ba4Schristosotherwise be available to you under applicable patent law. 539*a1ba9ba4Schristos 540*a1ba9ba4Schristos 12. No Surrender of Others' Freedom. 541*a1ba9ba4Schristos 542*a1ba9ba4Schristos If conditions are imposed on you (whether by court order, agreement or 543*a1ba9ba4Schristosotherwise) that contradict the conditions of this License, they do not 544*a1ba9ba4Schristosexcuse you from the conditions of this License. If you cannot convey a 545*a1ba9ba4Schristoscovered work so as to satisfy simultaneously your obligations under this 546*a1ba9ba4SchristosLicense and any other pertinent obligations, then as a consequence you may 547*a1ba9ba4Schristosnot convey it at all. For example, if you agree to terms that obligate you 548*a1ba9ba4Schristosto collect a royalty for further conveying from those to whom you convey 549*a1ba9ba4Schristosthe Program, the only way you could satisfy both those terms and this 550*a1ba9ba4SchristosLicense would be to refrain entirely from conveying the Program. 551*a1ba9ba4Schristos 552*a1ba9ba4Schristos 13. Use with the GNU Affero General Public License. 553*a1ba9ba4Schristos 554*a1ba9ba4Schristos Notwithstanding any other provision of this License, you have 555*a1ba9ba4Schristospermission to link or combine any covered work with a work licensed 556*a1ba9ba4Schristosunder version 3 of the GNU Affero General Public License into a single 557*a1ba9ba4Schristoscombined work, and to convey the resulting work. The terms of this 558*a1ba9ba4SchristosLicense will continue to apply to the part which is the covered work, 559*a1ba9ba4Schristosbut the special requirements of the GNU Affero General Public License, 560*a1ba9ba4Schristossection 13, concerning interaction through a network will apply to the 561*a1ba9ba4Schristoscombination as such. 562*a1ba9ba4Schristos 563*a1ba9ba4Schristos 14. Revised Versions of this License. 564*a1ba9ba4Schristos 565*a1ba9ba4Schristos The Free Software Foundation may publish revised and/or new versions of 566*a1ba9ba4Schristosthe GNU General Public License from time to time. Such new versions will 567*a1ba9ba4Schristosbe similar in spirit to the present version, but may differ in detail to 568*a1ba9ba4Schristosaddress new problems or concerns. 569*a1ba9ba4Schristos 570*a1ba9ba4Schristos Each version is given a distinguishing version number. If the 571*a1ba9ba4SchristosProgram specifies that a certain numbered version of the GNU General 572*a1ba9ba4SchristosPublic License "or any later version" applies to it, you have the 573*a1ba9ba4Schristosoption of following the terms and conditions either of that numbered 574*a1ba9ba4Schristosversion or of any later version published by the Free Software 575*a1ba9ba4SchristosFoundation. If the Program does not specify a version number of the 576*a1ba9ba4SchristosGNU General Public License, you may choose any version ever published 577*a1ba9ba4Schristosby the Free Software Foundation. 578*a1ba9ba4Schristos 579*a1ba9ba4Schristos If the Program specifies that a proxy can decide which future 580*a1ba9ba4Schristosversions of the GNU General Public License can be used, that proxy's 581*a1ba9ba4Schristospublic statement of acceptance of a version permanently authorizes you 582*a1ba9ba4Schristosto choose that version for the Program. 583*a1ba9ba4Schristos 584*a1ba9ba4Schristos Later license versions may give you additional or different 585*a1ba9ba4Schristospermissions. However, no additional obligations are imposed on any 586*a1ba9ba4Schristosauthor or copyright holder as a result of your choosing to follow a 587*a1ba9ba4Schristoslater version. 588*a1ba9ba4Schristos 589*a1ba9ba4Schristos 15. Disclaimer of Warranty. 590*a1ba9ba4Schristos 591*a1ba9ba4Schristos THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592*a1ba9ba4SchristosAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593*a1ba9ba4SchristosHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594*a1ba9ba4SchristosOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595*a1ba9ba4SchristosTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596*a1ba9ba4SchristosPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597*a1ba9ba4SchristosIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598*a1ba9ba4SchristosALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599*a1ba9ba4Schristos 600*a1ba9ba4Schristos 16. Limitation of Liability. 601*a1ba9ba4Schristos 602*a1ba9ba4Schristos IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603*a1ba9ba4SchristosWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604*a1ba9ba4SchristosTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605*a1ba9ba4SchristosGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606*a1ba9ba4SchristosUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607*a1ba9ba4SchristosDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608*a1ba9ba4SchristosPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609*a1ba9ba4SchristosEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610*a1ba9ba4SchristosSUCH DAMAGES. 611*a1ba9ba4Schristos 612*a1ba9ba4Schristos 17. Interpretation of Sections 15 and 16. 613*a1ba9ba4Schristos 614*a1ba9ba4Schristos If the disclaimer of warranty and limitation of liability provided 615*a1ba9ba4Schristosabove cannot be given local legal effect according to their terms, 616*a1ba9ba4Schristosreviewing courts shall apply local law that most closely approximates 617*a1ba9ba4Schristosan absolute waiver of all civil liability in connection with the 618*a1ba9ba4SchristosProgram, unless a warranty or assumption of liability accompanies a 619*a1ba9ba4Schristoscopy of the Program in return for a fee. 620*a1ba9ba4Schristos 621*a1ba9ba4Schristos END OF TERMS AND CONDITIONS 622*a1ba9ba4Schristos 623*a1ba9ba4Schristos How to Apply These Terms to Your New Programs 624*a1ba9ba4Schristos 625*a1ba9ba4Schristos If you develop a new program, and you want it to be of the greatest 626*a1ba9ba4Schristospossible use to the public, the best way to achieve this is to make it 627*a1ba9ba4Schristosfree software which everyone can redistribute and change under these terms. 628*a1ba9ba4Schristos 629*a1ba9ba4Schristos To do so, attach the following notices to the program. It is safest 630*a1ba9ba4Schristosto attach them to the start of each source file to most effectively 631*a1ba9ba4Schristosstate the exclusion of warranty; and each file should have at least 632*a1ba9ba4Schristosthe "copyright" line and a pointer to where the full notice is found. 633*a1ba9ba4Schristos 634*a1ba9ba4Schristos <one line to give the program's name and a brief idea of what it does.> 635*a1ba9ba4Schristos Copyright (C) <year> <name of author> 636*a1ba9ba4Schristos 637*a1ba9ba4Schristos This program is free software: you can redistribute it and/or modify 638*a1ba9ba4Schristos it under the terms of the GNU General Public License as published by 639*a1ba9ba4Schristos the Free Software Foundation, either version 3 of the License, or 640*a1ba9ba4Schristos (at your option) any later version. 641*a1ba9ba4Schristos 642*a1ba9ba4Schristos This program is distributed in the hope that it will be useful, 643*a1ba9ba4Schristos but WITHOUT ANY WARRANTY; without even the implied warranty of 644*a1ba9ba4Schristos MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645*a1ba9ba4Schristos GNU General Public License for more details. 646*a1ba9ba4Schristos 647*a1ba9ba4Schristos You should have received a copy of the GNU General Public License 648*a1ba9ba4Schristos along with this program. If not, see <http://www.gnu.org/licenses/>. 649*a1ba9ba4Schristos 650*a1ba9ba4SchristosAlso add information on how to contact you by electronic and paper mail. 651*a1ba9ba4Schristos 652*a1ba9ba4Schristos If the program does terminal interaction, make it output a short 653*a1ba9ba4Schristosnotice like this when it starts in an interactive mode: 654*a1ba9ba4Schristos 655*a1ba9ba4Schristos <program> Copyright (C) <year> <name of author> 656*a1ba9ba4Schristos This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657*a1ba9ba4Schristos This is free software, and you are welcome to redistribute it 658*a1ba9ba4Schristos under certain conditions; type `show c' for details. 659*a1ba9ba4Schristos 660*a1ba9ba4SchristosThe hypothetical commands `show w' and `show c' should show the appropriate 661*a1ba9ba4Schristosparts of the General Public License. Of course, your program's commands 662*a1ba9ba4Schristosmight be different; for a GUI interface, you would use an "about box". 663*a1ba9ba4Schristos 664*a1ba9ba4Schristos You should also get your employer (if you work as a programmer) or school, 665*a1ba9ba4Schristosif any, to sign a "copyright disclaimer" for the program, if necessary. 666*a1ba9ba4SchristosFor more information on this, and how to apply and follow the GNU GPL, see 667*a1ba9ba4Schristos<http://www.gnu.org/licenses/>. 668*a1ba9ba4Schristos 669*a1ba9ba4Schristos The GNU General Public License does not permit incorporating your program 670*a1ba9ba4Schristosinto proprietary programs. If your program is a subroutine library, you 671*a1ba9ba4Schristosmay consider it more useful to permit linking proprietary applications with 672*a1ba9ba4Schristosthe library. If this is what you want to do, use the GNU Lesser General 673*a1ba9ba4SchristosPublic License instead of this License. But first, please read 674*a1ba9ba4Schristos<http://www.gnu.org/philosophy/why-not-lgpl.html>. 675