xref: /netbsd-src/external/gpl3/gdb/dist/gdb/COPYING (revision 4e98e3e176b5b8ca424663e164635936964c902b)
1*4e98e3e1Schristos                    GNU GENERAL PUBLIC LICENSE
2*4e98e3e1Schristos                       Version 3, 29 June 2007
3*4e98e3e1Schristos
4*4e98e3e1Schristos Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
5*4e98e3e1Schristos Everyone is permitted to copy and distribute verbatim copies
6*4e98e3e1Schristos of this license document, but changing it is not allowed.
7*4e98e3e1Schristos
8*4e98e3e1Schristos                            Preamble
9*4e98e3e1Schristos
10*4e98e3e1Schristos  The GNU General Public License is a free, copyleft license for
11*4e98e3e1Schristossoftware and other kinds of works.
12*4e98e3e1Schristos
13*4e98e3e1Schristos  The licenses for most software and other practical works are designed
14*4e98e3e1Schristosto take away your freedom to share and change the works.  By contrast,
15*4e98e3e1Schristosthe GNU General Public License is intended to guarantee your freedom to
16*4e98e3e1Schristosshare and change all versions of a program--to make sure it remains free
17*4e98e3e1Schristossoftware for all its users.  We, the Free Software Foundation, use the
18*4e98e3e1SchristosGNU General Public License for most of our software; it applies also to
19*4e98e3e1Schristosany other work released this way by its authors.  You can apply it to
20*4e98e3e1Schristosyour programs, too.
21*4e98e3e1Schristos
22*4e98e3e1Schristos  When we speak of free software, we are referring to freedom, not
23*4e98e3e1Schristosprice.  Our General Public Licenses are designed to make sure that you
24*4e98e3e1Schristoshave the freedom to distribute copies of free software (and charge for
25*4e98e3e1Schristosthem if you wish), that you receive source code or can get it if you
26*4e98e3e1Schristoswant it, that you can change the software or use pieces of it in new
27*4e98e3e1Schristosfree programs, and that you know you can do these things.
28*4e98e3e1Schristos
29*4e98e3e1Schristos  To protect your rights, we need to prevent others from denying you
30*4e98e3e1Schristosthese rights or asking you to surrender the rights.  Therefore, you have
31*4e98e3e1Schristoscertain responsibilities if you distribute copies of the software, or if
32*4e98e3e1Schristosyou modify it: responsibilities to respect the freedom of others.
33*4e98e3e1Schristos
34*4e98e3e1Schristos  For example, if you distribute copies of such a program, whether
35*4e98e3e1Schristosgratis or for a fee, you must pass on to the recipients the same
36*4e98e3e1Schristosfreedoms that you received.  You must make sure that they, too, receive
37*4e98e3e1Schristosor can get the source code.  And you must show them these terms so they
38*4e98e3e1Schristosknow their rights.
39*4e98e3e1Schristos
40*4e98e3e1Schristos  Developers that use the GNU GPL protect your rights with two steps:
41*4e98e3e1Schristos(1) assert copyright on the software, and (2) offer you this License
42*4e98e3e1Schristosgiving you legal permission to copy, distribute and/or modify it.
43*4e98e3e1Schristos
44*4e98e3e1Schristos  For the developers' and authors' protection, the GPL clearly explains
45*4e98e3e1Schristosthat there is no warranty for this free software.  For both users' and
46*4e98e3e1Schristosauthors' sake, the GPL requires that modified versions be marked as
47*4e98e3e1Schristoschanged, so that their problems will not be attributed erroneously to
48*4e98e3e1Schristosauthors of previous versions.
49*4e98e3e1Schristos
50*4e98e3e1Schristos  Some devices are designed to deny users access to install or run
51*4e98e3e1Schristosmodified versions of the software inside them, although the manufacturer
52*4e98e3e1Schristoscan do so.  This is fundamentally incompatible with the aim of
53*4e98e3e1Schristosprotecting users' freedom to change the software.  The systematic
54*4e98e3e1Schristospattern of such abuse occurs in the area of products for individuals to
55*4e98e3e1Schristosuse, which is precisely where it is most unacceptable.  Therefore, we
56*4e98e3e1Schristoshave designed this version of the GPL to prohibit the practice for those
57*4e98e3e1Schristosproducts.  If such problems arise substantially in other domains, we
58*4e98e3e1Schristosstand ready to extend this provision to those domains in future versions
59*4e98e3e1Schristosof the GPL, as needed to protect the freedom of users.
60*4e98e3e1Schristos
61*4e98e3e1Schristos  Finally, every program is threatened constantly by software patents.
62*4e98e3e1SchristosStates should not allow patents to restrict development and use of
63*4e98e3e1Schristossoftware on general-purpose computers, but in those that do, we wish to
64*4e98e3e1Schristosavoid the special danger that patents applied to a free program could
65*4e98e3e1Schristosmake it effectively proprietary.  To prevent this, the GPL assures that
66*4e98e3e1Schristospatents cannot be used to render the program non-free.
67*4e98e3e1Schristos
68*4e98e3e1Schristos  The precise terms and conditions for copying, distribution and
69*4e98e3e1Schristosmodification follow.
70*4e98e3e1Schristos
71*4e98e3e1Schristos                       TERMS AND CONDITIONS
72*4e98e3e1Schristos
73*4e98e3e1Schristos  0. Definitions.
74*4e98e3e1Schristos
75*4e98e3e1Schristos  "This License" refers to version 3 of the GNU General Public License.
76*4e98e3e1Schristos
77*4e98e3e1Schristos  "Copyright" also means copyright-like laws that apply to other kinds of
78*4e98e3e1Schristosworks, such as semiconductor masks.
79*4e98e3e1Schristos
80*4e98e3e1Schristos  "The Program" refers to any copyrightable work licensed under this
81*4e98e3e1SchristosLicense.  Each licensee is addressed as "you".  "Licensees" and
82*4e98e3e1Schristos"recipients" may be individuals or organizations.
83*4e98e3e1Schristos
84*4e98e3e1Schristos  To "modify" a work means to copy from or adapt all or part of the work
85*4e98e3e1Schristosin a fashion requiring copyright permission, other than the making of an
86*4e98e3e1Schristosexact copy.  The resulting work is called a "modified version" of the
87*4e98e3e1Schristosearlier work or a work "based on" the earlier work.
88*4e98e3e1Schristos
89*4e98e3e1Schristos  A "covered work" means either the unmodified Program or a work based
90*4e98e3e1Schristoson the Program.
91*4e98e3e1Schristos
92*4e98e3e1Schristos  To "propagate" a work means to do anything with it that, without
93*4e98e3e1Schristospermission, would make you directly or secondarily liable for
94*4e98e3e1Schristosinfringement under applicable copyright law, except executing it on a
95*4e98e3e1Schristoscomputer or modifying a private copy.  Propagation includes copying,
96*4e98e3e1Schristosdistribution (with or without modification), making available to the
97*4e98e3e1Schristospublic, and in some countries other activities as well.
98*4e98e3e1Schristos
99*4e98e3e1Schristos  To "convey" a work means any kind of propagation that enables other
100*4e98e3e1Schristosparties to make or receive copies.  Mere interaction with a user through
101*4e98e3e1Schristosa computer network, with no transfer of a copy, is not conveying.
102*4e98e3e1Schristos
103*4e98e3e1Schristos  An interactive user interface displays "Appropriate Legal Notices"
104*4e98e3e1Schristosto the extent that it includes a convenient and prominently visible
105*4e98e3e1Schristosfeature that (1) displays an appropriate copyright notice, and (2)
106*4e98e3e1Schristostells the user that there is no warranty for the work (except to the
107*4e98e3e1Schristosextent that warranties are provided), that licensees may convey the
108*4e98e3e1Schristoswork under this License, and how to view a copy of this License.  If
109*4e98e3e1Schristosthe interface presents a list of user commands or options, such as a
110*4e98e3e1Schristosmenu, a prominent item in the list meets this criterion.
111*4e98e3e1Schristos
112*4e98e3e1Schristos  1. Source Code.
113*4e98e3e1Schristos
114*4e98e3e1Schristos  The "source code" for a work means the preferred form of the work
115*4e98e3e1Schristosfor making modifications to it.  "Object code" means any non-source
116*4e98e3e1Schristosform of a work.
117*4e98e3e1Schristos
118*4e98e3e1Schristos  A "Standard Interface" means an interface that either is an official
119*4e98e3e1Schristosstandard defined by a recognized standards body, or, in the case of
120*4e98e3e1Schristosinterfaces specified for a particular programming language, one that
121*4e98e3e1Schristosis widely used among developers working in that language.
122*4e98e3e1Schristos
123*4e98e3e1Schristos  The "System Libraries" of an executable work include anything, other
124*4e98e3e1Schristosthan the work as a whole, that (a) is included in the normal form of
125*4e98e3e1Schristospackaging a Major Component, but which is not part of that Major
126*4e98e3e1SchristosComponent, and (b) serves only to enable use of the work with that
127*4e98e3e1SchristosMajor Component, or to implement a Standard Interface for which an
128*4e98e3e1Schristosimplementation is available to the public in source code form.  A
129*4e98e3e1Schristos"Major Component", in this context, means a major essential component
130*4e98e3e1Schristos(kernel, window system, and so on) of the specific operating system
131*4e98e3e1Schristos(if any) on which the executable work runs, or a compiler used to
132*4e98e3e1Schristosproduce the work, or an object code interpreter used to run it.
133*4e98e3e1Schristos
134*4e98e3e1Schristos  The "Corresponding Source" for a work in object code form means all
135*4e98e3e1Schristosthe source code needed to generate, install, and (for an executable
136*4e98e3e1Schristoswork) run the object code and to modify the work, including scripts to
137*4e98e3e1Schristoscontrol those activities.  However, it does not include the work's
138*4e98e3e1SchristosSystem Libraries, or general-purpose tools or generally available free
139*4e98e3e1Schristosprograms which are used unmodified in performing those activities but
140*4e98e3e1Schristoswhich are not part of the work.  For example, Corresponding Source
141*4e98e3e1Schristosincludes interface definition files associated with source files for
142*4e98e3e1Schristosthe work, and the source code for shared libraries and dynamically
143*4e98e3e1Schristoslinked subprograms that the work is specifically designed to require,
144*4e98e3e1Schristossuch as by intimate data communication or control flow between those
145*4e98e3e1Schristossubprograms and other parts of the work.
146*4e98e3e1Schristos
147*4e98e3e1Schristos  The Corresponding Source need not include anything that users
148*4e98e3e1Schristoscan regenerate automatically from other parts of the Corresponding
149*4e98e3e1SchristosSource.
150*4e98e3e1Schristos
151*4e98e3e1Schristos  The Corresponding Source for a work in source code form is that
152*4e98e3e1Schristossame work.
153*4e98e3e1Schristos
154*4e98e3e1Schristos  2. Basic Permissions.
155*4e98e3e1Schristos
156*4e98e3e1Schristos  All rights granted under this License are granted for the term of
157*4e98e3e1Schristoscopyright on the Program, and are irrevocable provided the stated
158*4e98e3e1Schristosconditions are met.  This License explicitly affirms your unlimited
159*4e98e3e1Schristospermission to run the unmodified Program.  The output from running a
160*4e98e3e1Schristoscovered work is covered by this License only if the output, given its
161*4e98e3e1Schristoscontent, constitutes a covered work.  This License acknowledges your
162*4e98e3e1Schristosrights of fair use or other equivalent, as provided by copyright law.
163*4e98e3e1Schristos
164*4e98e3e1Schristos  You may make, run and propagate covered works that you do not
165*4e98e3e1Schristosconvey, without conditions so long as your license otherwise remains
166*4e98e3e1Schristosin force.  You may convey covered works to others for the sole purpose
167*4e98e3e1Schristosof having them make modifications exclusively for you, or provide you
168*4e98e3e1Schristoswith facilities for running those works, provided that you comply with
169*4e98e3e1Schristosthe terms of this License in conveying all material for which you do
170*4e98e3e1Schristosnot control copyright.  Those thus making or running the covered works
171*4e98e3e1Schristosfor you must do so exclusively on your behalf, under your direction
172*4e98e3e1Schristosand control, on terms that prohibit them from making any copies of
173*4e98e3e1Schristosyour copyrighted material outside their relationship with you.
174*4e98e3e1Schristos
175*4e98e3e1Schristos  Conveying under any other circumstances is permitted solely under
176*4e98e3e1Schristosthe conditions stated below.  Sublicensing is not allowed; section 10
177*4e98e3e1Schristosmakes it unnecessary.
178*4e98e3e1Schristos
179*4e98e3e1Schristos  3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180*4e98e3e1Schristos
181*4e98e3e1Schristos  No covered work shall be deemed part of an effective technological
182*4e98e3e1Schristosmeasure under any applicable law fulfilling obligations under article
183*4e98e3e1Schristos11 of the WIPO copyright treaty adopted on 20 December 1996, or
184*4e98e3e1Schristossimilar laws prohibiting or restricting circumvention of such
185*4e98e3e1Schristosmeasures.
186*4e98e3e1Schristos
187*4e98e3e1Schristos  When you convey a covered work, you waive any legal power to forbid
188*4e98e3e1Schristoscircumvention of technological measures to the extent such circumvention
189*4e98e3e1Schristosis effected by exercising rights under this License with respect to
190*4e98e3e1Schristosthe covered work, and you disclaim any intention to limit operation or
191*4e98e3e1Schristosmodification of the work as a means of enforcing, against the work's
192*4e98e3e1Schristosusers, your or third parties' legal rights to forbid circumvention of
193*4e98e3e1Schristostechnological measures.
194*4e98e3e1Schristos
195*4e98e3e1Schristos  4. Conveying Verbatim Copies.
196*4e98e3e1Schristos
197*4e98e3e1Schristos  You may convey verbatim copies of the Program's source code as you
198*4e98e3e1Schristosreceive it, in any medium, provided that you conspicuously and
199*4e98e3e1Schristosappropriately publish on each copy an appropriate copyright notice;
200*4e98e3e1Schristoskeep intact all notices stating that this License and any
201*4e98e3e1Schristosnon-permissive terms added in accord with section 7 apply to the code;
202*4e98e3e1Schristoskeep intact all notices of the absence of any warranty; and give all
203*4e98e3e1Schristosrecipients a copy of this License along with the Program.
204*4e98e3e1Schristos
205*4e98e3e1Schristos  You may charge any price or no price for each copy that you convey,
206*4e98e3e1Schristosand you may offer support or warranty protection for a fee.
207*4e98e3e1Schristos
208*4e98e3e1Schristos  5. Conveying Modified Source Versions.
209*4e98e3e1Schristos
210*4e98e3e1Schristos  You may convey a work based on the Program, or the modifications to
211*4e98e3e1Schristosproduce it from the Program, in the form of source code under the
212*4e98e3e1Schristosterms of section 4, provided that you also meet all of these conditions:
213*4e98e3e1Schristos
214*4e98e3e1Schristos    a) The work must carry prominent notices stating that you modified
215*4e98e3e1Schristos    it, and giving a relevant date.
216*4e98e3e1Schristos
217*4e98e3e1Schristos    b) The work must carry prominent notices stating that it is
218*4e98e3e1Schristos    released under this License and any conditions added under section
219*4e98e3e1Schristos    7.  This requirement modifies the requirement in section 4 to
220*4e98e3e1Schristos    "keep intact all notices".
221*4e98e3e1Schristos
222*4e98e3e1Schristos    c) You must license the entire work, as a whole, under this
223*4e98e3e1Schristos    License to anyone who comes into possession of a copy.  This
224*4e98e3e1Schristos    License will therefore apply, along with any applicable section 7
225*4e98e3e1Schristos    additional terms, to the whole of the work, and all its parts,
226*4e98e3e1Schristos    regardless of how they are packaged.  This License gives no
227*4e98e3e1Schristos    permission to license the work in any other way, but it does not
228*4e98e3e1Schristos    invalidate such permission if you have separately received it.
229*4e98e3e1Schristos
230*4e98e3e1Schristos    d) If the work has interactive user interfaces, each must display
231*4e98e3e1Schristos    Appropriate Legal Notices; however, if the Program has interactive
232*4e98e3e1Schristos    interfaces that do not display Appropriate Legal Notices, your
233*4e98e3e1Schristos    work need not make them do so.
234*4e98e3e1Schristos
235*4e98e3e1Schristos  A compilation of a covered work with other separate and independent
236*4e98e3e1Schristosworks, which are not by their nature extensions of the covered work,
237*4e98e3e1Schristosand which are not combined with it such as to form a larger program,
238*4e98e3e1Schristosin or on a volume of a storage or distribution medium, is called an
239*4e98e3e1Schristos"aggregate" if the compilation and its resulting copyright are not
240*4e98e3e1Schristosused to limit the access or legal rights of the compilation's users
241*4e98e3e1Schristosbeyond what the individual works permit.  Inclusion of a covered work
242*4e98e3e1Schristosin an aggregate does not cause this License to apply to the other
243*4e98e3e1Schristosparts of the aggregate.
244*4e98e3e1Schristos
245*4e98e3e1Schristos  6. Conveying Non-Source Forms.
246*4e98e3e1Schristos
247*4e98e3e1Schristos  You may convey a covered work in object code form under the terms
248*4e98e3e1Schristosof sections 4 and 5, provided that you also convey the
249*4e98e3e1Schristosmachine-readable Corresponding Source under the terms of this License,
250*4e98e3e1Schristosin one of these ways:
251*4e98e3e1Schristos
252*4e98e3e1Schristos    a) Convey the object code in, or embodied in, a physical product
253*4e98e3e1Schristos    (including a physical distribution medium), accompanied by the
254*4e98e3e1Schristos    Corresponding Source fixed on a durable physical medium
255*4e98e3e1Schristos    customarily used for software interchange.
256*4e98e3e1Schristos
257*4e98e3e1Schristos    b) Convey the object code in, or embodied in, a physical product
258*4e98e3e1Schristos    (including a physical distribution medium), accompanied by a
259*4e98e3e1Schristos    written offer, valid for at least three years and valid for as
260*4e98e3e1Schristos    long as you offer spare parts or customer support for that product
261*4e98e3e1Schristos    model, to give anyone who possesses the object code either (1) a
262*4e98e3e1Schristos    copy of the Corresponding Source for all the software in the
263*4e98e3e1Schristos    product that is covered by this License, on a durable physical
264*4e98e3e1Schristos    medium customarily used for software interchange, for a price no
265*4e98e3e1Schristos    more than your reasonable cost of physically performing this
266*4e98e3e1Schristos    conveying of source, or (2) access to copy the
267*4e98e3e1Schristos    Corresponding Source from a network server at no charge.
268*4e98e3e1Schristos
269*4e98e3e1Schristos    c) Convey individual copies of the object code with a copy of the
270*4e98e3e1Schristos    written offer to provide the Corresponding Source.  This
271*4e98e3e1Schristos    alternative is allowed only occasionally and noncommercially, and
272*4e98e3e1Schristos    only if you received the object code with such an offer, in accord
273*4e98e3e1Schristos    with subsection 6b.
274*4e98e3e1Schristos
275*4e98e3e1Schristos    d) Convey the object code by offering access from a designated
276*4e98e3e1Schristos    place (gratis or for a charge), and offer equivalent access to the
277*4e98e3e1Schristos    Corresponding Source in the same way through the same place at no
278*4e98e3e1Schristos    further charge.  You need not require recipients to copy the
279*4e98e3e1Schristos    Corresponding Source along with the object code.  If the place to
280*4e98e3e1Schristos    copy the object code is a network server, the Corresponding Source
281*4e98e3e1Schristos    may be on a different server (operated by you or a third party)
282*4e98e3e1Schristos    that supports equivalent copying facilities, provided you maintain
283*4e98e3e1Schristos    clear directions next to the object code saying where to find the
284*4e98e3e1Schristos    Corresponding Source.  Regardless of what server hosts the
285*4e98e3e1Schristos    Corresponding Source, you remain obligated to ensure that it is
286*4e98e3e1Schristos    available for as long as needed to satisfy these requirements.
287*4e98e3e1Schristos
288*4e98e3e1Schristos    e) Convey the object code using peer-to-peer transmission, provided
289*4e98e3e1Schristos    you inform other peers where the object code and Corresponding
290*4e98e3e1Schristos    Source of the work are being offered to the general public at no
291*4e98e3e1Schristos    charge under subsection 6d.
292*4e98e3e1Schristos
293*4e98e3e1Schristos  A separable portion of the object code, whose source code is excluded
294*4e98e3e1Schristosfrom the Corresponding Source as a System Library, need not be
295*4e98e3e1Schristosincluded in conveying the object code work.
296*4e98e3e1Schristos
297*4e98e3e1Schristos  A "User Product" is either (1) a "consumer product", which means any
298*4e98e3e1Schristostangible personal property which is normally used for personal, family,
299*4e98e3e1Schristosor household purposes, or (2) anything designed or sold for incorporation
300*4e98e3e1Schristosinto a dwelling.  In determining whether a product is a consumer product,
301*4e98e3e1Schristosdoubtful cases shall be resolved in favor of coverage.  For a particular
302*4e98e3e1Schristosproduct received by a particular user, "normally used" refers to a
303*4e98e3e1Schristostypical or common use of that class of product, regardless of the status
304*4e98e3e1Schristosof the particular user or of the way in which the particular user
305*4e98e3e1Schristosactually uses, or expects or is expected to use, the product.  A product
306*4e98e3e1Schristosis a consumer product regardless of whether the product has substantial
307*4e98e3e1Schristoscommercial, industrial or non-consumer uses, unless such uses represent
308*4e98e3e1Schristosthe only significant mode of use of the product.
309*4e98e3e1Schristos
310*4e98e3e1Schristos  "Installation Information" for a User Product means any methods,
311*4e98e3e1Schristosprocedures, authorization keys, or other information required to install
312*4e98e3e1Schristosand execute modified versions of a covered work in that User Product from
313*4e98e3e1Schristosa modified version of its Corresponding Source.  The information must
314*4e98e3e1Schristossuffice to ensure that the continued functioning of the modified object
315*4e98e3e1Schristoscode is in no case prevented or interfered with solely because
316*4e98e3e1Schristosmodification has been made.
317*4e98e3e1Schristos
318*4e98e3e1Schristos  If you convey an object code work under this section in, or with, or
319*4e98e3e1Schristosspecifically for use in, a User Product, and the conveying occurs as
320*4e98e3e1Schristospart of a transaction in which the right of possession and use of the
321*4e98e3e1SchristosUser Product is transferred to the recipient in perpetuity or for a
322*4e98e3e1Schristosfixed term (regardless of how the transaction is characterized), the
323*4e98e3e1SchristosCorresponding Source conveyed under this section must be accompanied
324*4e98e3e1Schristosby the Installation Information.  But this requirement does not apply
325*4e98e3e1Schristosif neither you nor any third party retains the ability to install
326*4e98e3e1Schristosmodified object code on the User Product (for example, the work has
327*4e98e3e1Schristosbeen installed in ROM).
328*4e98e3e1Schristos
329*4e98e3e1Schristos  The requirement to provide Installation Information does not include a
330*4e98e3e1Schristosrequirement to continue to provide support service, warranty, or updates
331*4e98e3e1Schristosfor a work that has been modified or installed by the recipient, or for
332*4e98e3e1Schristosthe User Product in which it has been modified or installed.  Access to a
333*4e98e3e1Schristosnetwork may be denied when the modification itself materially and
334*4e98e3e1Schristosadversely affects the operation of the network or violates the rules and
335*4e98e3e1Schristosprotocols for communication across the network.
336*4e98e3e1Schristos
337*4e98e3e1Schristos  Corresponding Source conveyed, and Installation Information provided,
338*4e98e3e1Schristosin accord with this section must be in a format that is publicly
339*4e98e3e1Schristosdocumented (and with an implementation available to the public in
340*4e98e3e1Schristossource code form), and must require no special password or key for
341*4e98e3e1Schristosunpacking, reading or copying.
342*4e98e3e1Schristos
343*4e98e3e1Schristos  7. Additional Terms.
344*4e98e3e1Schristos
345*4e98e3e1Schristos  "Additional permissions" are terms that supplement the terms of this
346*4e98e3e1SchristosLicense by making exceptions from one or more of its conditions.
347*4e98e3e1SchristosAdditional permissions that are applicable to the entire Program shall
348*4e98e3e1Schristosbe treated as though they were included in this License, to the extent
349*4e98e3e1Schristosthat they are valid under applicable law.  If additional permissions
350*4e98e3e1Schristosapply only to part of the Program, that part may be used separately
351*4e98e3e1Schristosunder those permissions, but the entire Program remains governed by
352*4e98e3e1Schristosthis License without regard to the additional permissions.
353*4e98e3e1Schristos
354*4e98e3e1Schristos  When you convey a copy of a covered work, you may at your option
355*4e98e3e1Schristosremove any additional permissions from that copy, or from any part of
356*4e98e3e1Schristosit.  (Additional permissions may be written to require their own
357*4e98e3e1Schristosremoval in certain cases when you modify the work.)  You may place
358*4e98e3e1Schristosadditional permissions on material, added by you to a covered work,
359*4e98e3e1Schristosfor which you have or can give appropriate copyright permission.
360*4e98e3e1Schristos
361*4e98e3e1Schristos  Notwithstanding any other provision of this License, for material you
362*4e98e3e1Schristosadd to a covered work, you may (if authorized by the copyright holders of
363*4e98e3e1Schristosthat material) supplement the terms of this License with terms:
364*4e98e3e1Schristos
365*4e98e3e1Schristos    a) Disclaiming warranty or limiting liability differently from the
366*4e98e3e1Schristos    terms of sections 15 and 16 of this License; or
367*4e98e3e1Schristos
368*4e98e3e1Schristos    b) Requiring preservation of specified reasonable legal notices or
369*4e98e3e1Schristos    author attributions in that material or in the Appropriate Legal
370*4e98e3e1Schristos    Notices displayed by works containing it; or
371*4e98e3e1Schristos
372*4e98e3e1Schristos    c) Prohibiting misrepresentation of the origin of that material, or
373*4e98e3e1Schristos    requiring that modified versions of such material be marked in
374*4e98e3e1Schristos    reasonable ways as different from the original version; or
375*4e98e3e1Schristos
376*4e98e3e1Schristos    d) Limiting the use for publicity purposes of names of licensors or
377*4e98e3e1Schristos    authors of the material; or
378*4e98e3e1Schristos
379*4e98e3e1Schristos    e) Declining to grant rights under trademark law for use of some
380*4e98e3e1Schristos    trade names, trademarks, or service marks; or
381*4e98e3e1Schristos
382*4e98e3e1Schristos    f) Requiring indemnification of licensors and authors of that
383*4e98e3e1Schristos    material by anyone who conveys the material (or modified versions of
384*4e98e3e1Schristos    it) with contractual assumptions of liability to the recipient, for
385*4e98e3e1Schristos    any liability that these contractual assumptions directly impose on
386*4e98e3e1Schristos    those licensors and authors.
387*4e98e3e1Schristos
388*4e98e3e1Schristos  All other non-permissive additional terms are considered "further
389*4e98e3e1Schristosrestrictions" within the meaning of section 10.  If the Program as you
390*4e98e3e1Schristosreceived it, or any part of it, contains a notice stating that it is
391*4e98e3e1Schristosgoverned by this License along with a term that is a further
392*4e98e3e1Schristosrestriction, you may remove that term.  If a license document contains
393*4e98e3e1Schristosa further restriction but permits relicensing or conveying under this
394*4e98e3e1SchristosLicense, you may add to a covered work material governed by the terms
395*4e98e3e1Schristosof that license document, provided that the further restriction does
396*4e98e3e1Schristosnot survive such relicensing or conveying.
397*4e98e3e1Schristos
398*4e98e3e1Schristos  If you add terms to a covered work in accord with this section, you
399*4e98e3e1Schristosmust place, in the relevant source files, a statement of the
400*4e98e3e1Schristosadditional terms that apply to those files, or a notice indicating
401*4e98e3e1Schristoswhere to find the applicable terms.
402*4e98e3e1Schristos
403*4e98e3e1Schristos  Additional terms, permissive or non-permissive, may be stated in the
404*4e98e3e1Schristosform of a separately written license, or stated as exceptions;
405*4e98e3e1Schristosthe above requirements apply either way.
406*4e98e3e1Schristos
407*4e98e3e1Schristos  8. Termination.
408*4e98e3e1Schristos
409*4e98e3e1Schristos  You may not propagate or modify a covered work except as expressly
410*4e98e3e1Schristosprovided under this License.  Any attempt otherwise to propagate or
411*4e98e3e1Schristosmodify it is void, and will automatically terminate your rights under
412*4e98e3e1Schristosthis License (including any patent licenses granted under the third
413*4e98e3e1Schristosparagraph of section 11).
414*4e98e3e1Schristos
415*4e98e3e1Schristos  However, if you cease all violation of this License, then your
416*4e98e3e1Schristoslicense from a particular copyright holder is reinstated (a)
417*4e98e3e1Schristosprovisionally, unless and until the copyright holder explicitly and
418*4e98e3e1Schristosfinally terminates your license, and (b) permanently, if the copyright
419*4e98e3e1Schristosholder fails to notify you of the violation by some reasonable means
420*4e98e3e1Schristosprior to 60 days after the cessation.
421*4e98e3e1Schristos
422*4e98e3e1Schristos  Moreover, your license from a particular copyright holder is
423*4e98e3e1Schristosreinstated permanently if the copyright holder notifies you of the
424*4e98e3e1Schristosviolation by some reasonable means, this is the first time you have
425*4e98e3e1Schristosreceived notice of violation of this License (for any work) from that
426*4e98e3e1Schristoscopyright holder, and you cure the violation prior to 30 days after
427*4e98e3e1Schristosyour receipt of the notice.
428*4e98e3e1Schristos
429*4e98e3e1Schristos  Termination of your rights under this section does not terminate the
430*4e98e3e1Schristoslicenses of parties who have received copies or rights from you under
431*4e98e3e1Schristosthis License.  If your rights have been terminated and not permanently
432*4e98e3e1Schristosreinstated, you do not qualify to receive new licenses for the same
433*4e98e3e1Schristosmaterial under section 10.
434*4e98e3e1Schristos
435*4e98e3e1Schristos  9. Acceptance Not Required for Having Copies.
436*4e98e3e1Schristos
437*4e98e3e1Schristos  You are not required to accept this License in order to receive or
438*4e98e3e1Schristosrun a copy of the Program.  Ancillary propagation of a covered work
439*4e98e3e1Schristosoccurring solely as a consequence of using peer-to-peer transmission
440*4e98e3e1Schristosto receive a copy likewise does not require acceptance.  However,
441*4e98e3e1Schristosnothing other than this License grants you permission to propagate or
442*4e98e3e1Schristosmodify any covered work.  These actions infringe copyright if you do
443*4e98e3e1Schristosnot accept this License.  Therefore, by modifying or propagating a
444*4e98e3e1Schristoscovered work, you indicate your acceptance of this License to do so.
445*4e98e3e1Schristos
446*4e98e3e1Schristos  10. Automatic Licensing of Downstream Recipients.
447*4e98e3e1Schristos
448*4e98e3e1Schristos  Each time you convey a covered work, the recipient automatically
449*4e98e3e1Schristosreceives a license from the original licensors, to run, modify and
450*4e98e3e1Schristospropagate that work, subject to this License.  You are not responsible
451*4e98e3e1Schristosfor enforcing compliance by third parties with this License.
452*4e98e3e1Schristos
453*4e98e3e1Schristos  An "entity transaction" is a transaction transferring control of an
454*4e98e3e1Schristosorganization, or substantially all assets of one, or subdividing an
455*4e98e3e1Schristosorganization, or merging organizations.  If propagation of a covered
456*4e98e3e1Schristoswork results from an entity transaction, each party to that
457*4e98e3e1Schristostransaction who receives a copy of the work also receives whatever
458*4e98e3e1Schristoslicenses to the work the party's predecessor in interest had or could
459*4e98e3e1Schristosgive under the previous paragraph, plus a right to possession of the
460*4e98e3e1SchristosCorresponding Source of the work from the predecessor in interest, if
461*4e98e3e1Schristosthe predecessor has it or can get it with reasonable efforts.
462*4e98e3e1Schristos
463*4e98e3e1Schristos  You may not impose any further restrictions on the exercise of the
464*4e98e3e1Schristosrights granted or affirmed under this License.  For example, you may
465*4e98e3e1Schristosnot impose a license fee, royalty, or other charge for exercise of
466*4e98e3e1Schristosrights granted under this License, and you may not initiate litigation
467*4e98e3e1Schristos(including a cross-claim or counterclaim in a lawsuit) alleging that
468*4e98e3e1Schristosany patent claim is infringed by making, using, selling, offering for
469*4e98e3e1Schristossale, or importing the Program or any portion of it.
470*4e98e3e1Schristos
471*4e98e3e1Schristos  11. Patents.
472*4e98e3e1Schristos
473*4e98e3e1Schristos  A "contributor" is a copyright holder who authorizes use under this
474*4e98e3e1SchristosLicense of the Program or a work on which the Program is based.  The
475*4e98e3e1Schristoswork thus licensed is called the contributor's "contributor version".
476*4e98e3e1Schristos
477*4e98e3e1Schristos  A contributor's "essential patent claims" are all patent claims
478*4e98e3e1Schristosowned or controlled by the contributor, whether already acquired or
479*4e98e3e1Schristoshereafter acquired, that would be infringed by some manner, permitted
480*4e98e3e1Schristosby this License, of making, using, or selling its contributor version,
481*4e98e3e1Schristosbut do not include claims that would be infringed only as a
482*4e98e3e1Schristosconsequence of further modification of the contributor version.  For
483*4e98e3e1Schristospurposes of this definition, "control" includes the right to grant
484*4e98e3e1Schristospatent sublicenses in a manner consistent with the requirements of
485*4e98e3e1Schristosthis License.
486*4e98e3e1Schristos
487*4e98e3e1Schristos  Each contributor grants you a non-exclusive, worldwide, royalty-free
488*4e98e3e1Schristospatent license under the contributor's essential patent claims, to
489*4e98e3e1Schristosmake, use, sell, offer for sale, import and otherwise run, modify and
490*4e98e3e1Schristospropagate the contents of its contributor version.
491*4e98e3e1Schristos
492*4e98e3e1Schristos  In the following three paragraphs, a "patent license" is any express
493*4e98e3e1Schristosagreement or commitment, however denominated, not to enforce a patent
494*4e98e3e1Schristos(such as an express permission to practice a patent or covenant not to
495*4e98e3e1Schristossue for patent infringement).  To "grant" such a patent license to a
496*4e98e3e1Schristosparty means to make such an agreement or commitment not to enforce a
497*4e98e3e1Schristospatent against the party.
498*4e98e3e1Schristos
499*4e98e3e1Schristos  If you convey a covered work, knowingly relying on a patent license,
500*4e98e3e1Schristosand the Corresponding Source of the work is not available for anyone
501*4e98e3e1Schristosto copy, free of charge and under the terms of this License, through a
502*4e98e3e1Schristospublicly available network server or other readily accessible means,
503*4e98e3e1Schristosthen you must either (1) cause the Corresponding Source to be so
504*4e98e3e1Schristosavailable, or (2) arrange to deprive yourself of the benefit of the
505*4e98e3e1Schristospatent license for this particular work, or (3) arrange, in a manner
506*4e98e3e1Schristosconsistent with the requirements of this License, to extend the patent
507*4e98e3e1Schristoslicense to downstream recipients.  "Knowingly relying" means you have
508*4e98e3e1Schristosactual knowledge that, but for the patent license, your conveying the
509*4e98e3e1Schristoscovered work in a country, or your recipient's use of the covered work
510*4e98e3e1Schristosin a country, would infringe one or more identifiable patents in that
511*4e98e3e1Schristoscountry that you have reason to believe are valid.
512*4e98e3e1Schristos
513*4e98e3e1Schristos  If, pursuant to or in connection with a single transaction or
514*4e98e3e1Schristosarrangement, you convey, or propagate by procuring conveyance of, a
515*4e98e3e1Schristoscovered work, and grant a patent license to some of the parties
516*4e98e3e1Schristosreceiving the covered work authorizing them to use, propagate, modify
517*4e98e3e1Schristosor convey a specific copy of the covered work, then the patent license
518*4e98e3e1Schristosyou grant is automatically extended to all recipients of the covered
519*4e98e3e1Schristoswork and works based on it.
520*4e98e3e1Schristos
521*4e98e3e1Schristos  A patent license is "discriminatory" if it does not include within
522*4e98e3e1Schristosthe scope of its coverage, prohibits the exercise of, or is
523*4e98e3e1Schristosconditioned on the non-exercise of one or more of the rights that are
524*4e98e3e1Schristosspecifically granted under this License.  You may not convey a covered
525*4e98e3e1Schristoswork if you are a party to an arrangement with a third party that is
526*4e98e3e1Schristosin the business of distributing software, under which you make payment
527*4e98e3e1Schristosto the third party based on the extent of your activity of conveying
528*4e98e3e1Schristosthe work, and under which the third party grants, to any of the
529*4e98e3e1Schristosparties who would receive the covered work from you, a discriminatory
530*4e98e3e1Schristospatent license (a) in connection with copies of the covered work
531*4e98e3e1Schristosconveyed by you (or copies made from those copies), or (b) primarily
532*4e98e3e1Schristosfor and in connection with specific products or compilations that
533*4e98e3e1Schristoscontain the covered work, unless you entered into that arrangement,
534*4e98e3e1Schristosor that patent license was granted, prior to 28 March 2007.
535*4e98e3e1Schristos
536*4e98e3e1Schristos  Nothing in this License shall be construed as excluding or limiting
537*4e98e3e1Schristosany implied license or other defenses to infringement that may
538*4e98e3e1Schristosotherwise be available to you under applicable patent law.
539*4e98e3e1Schristos
540*4e98e3e1Schristos  12. No Surrender of Others' Freedom.
541*4e98e3e1Schristos
542*4e98e3e1Schristos  If conditions are imposed on you (whether by court order, agreement or
543*4e98e3e1Schristosotherwise) that contradict the conditions of this License, they do not
544*4e98e3e1Schristosexcuse you from the conditions of this License.  If you cannot convey a
545*4e98e3e1Schristoscovered work so as to satisfy simultaneously your obligations under this
546*4e98e3e1SchristosLicense and any other pertinent obligations, then as a consequence you may
547*4e98e3e1Schristosnot convey it at all.  For example, if you agree to terms that obligate you
548*4e98e3e1Schristosto collect a royalty for further conveying from those to whom you convey
549*4e98e3e1Schristosthe Program, the only way you could satisfy both those terms and this
550*4e98e3e1SchristosLicense would be to refrain entirely from conveying the Program.
551*4e98e3e1Schristos
552*4e98e3e1Schristos  13. Use with the GNU Affero General Public License.
553*4e98e3e1Schristos
554*4e98e3e1Schristos  Notwithstanding any other provision of this License, you have
555*4e98e3e1Schristospermission to link or combine any covered work with a work licensed
556*4e98e3e1Schristosunder version 3 of the GNU Affero General Public License into a single
557*4e98e3e1Schristoscombined work, and to convey the resulting work.  The terms of this
558*4e98e3e1SchristosLicense will continue to apply to the part which is the covered work,
559*4e98e3e1Schristosbut the special requirements of the GNU Affero General Public License,
560*4e98e3e1Schristossection 13, concerning interaction through a network will apply to the
561*4e98e3e1Schristoscombination as such.
562*4e98e3e1Schristos
563*4e98e3e1Schristos  14. Revised Versions of this License.
564*4e98e3e1Schristos
565*4e98e3e1Schristos  The Free Software Foundation may publish revised and/or new versions of
566*4e98e3e1Schristosthe GNU General Public License from time to time.  Such new versions will
567*4e98e3e1Schristosbe similar in spirit to the present version, but may differ in detail to
568*4e98e3e1Schristosaddress new problems or concerns.
569*4e98e3e1Schristos
570*4e98e3e1Schristos  Each version is given a distinguishing version number.  If the
571*4e98e3e1SchristosProgram specifies that a certain numbered version of the GNU General
572*4e98e3e1SchristosPublic License "or any later version" applies to it, you have the
573*4e98e3e1Schristosoption of following the terms and conditions either of that numbered
574*4e98e3e1Schristosversion or of any later version published by the Free Software
575*4e98e3e1SchristosFoundation.  If the Program does not specify a version number of the
576*4e98e3e1SchristosGNU General Public License, you may choose any version ever published
577*4e98e3e1Schristosby the Free Software Foundation.
578*4e98e3e1Schristos
579*4e98e3e1Schristos  If the Program specifies that a proxy can decide which future
580*4e98e3e1Schristosversions of the GNU General Public License can be used, that proxy's
581*4e98e3e1Schristospublic statement of acceptance of a version permanently authorizes you
582*4e98e3e1Schristosto choose that version for the Program.
583*4e98e3e1Schristos
584*4e98e3e1Schristos  Later license versions may give you additional or different
585*4e98e3e1Schristospermissions.  However, no additional obligations are imposed on any
586*4e98e3e1Schristosauthor or copyright holder as a result of your choosing to follow a
587*4e98e3e1Schristoslater version.
588*4e98e3e1Schristos
589*4e98e3e1Schristos  15. Disclaimer of Warranty.
590*4e98e3e1Schristos
591*4e98e3e1Schristos  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592*4e98e3e1SchristosAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593*4e98e3e1SchristosHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594*4e98e3e1SchristosOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595*4e98e3e1SchristosTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596*4e98e3e1SchristosPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597*4e98e3e1SchristosIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598*4e98e3e1SchristosALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599*4e98e3e1Schristos
600*4e98e3e1Schristos  16. Limitation of Liability.
601*4e98e3e1Schristos
602*4e98e3e1Schristos  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603*4e98e3e1SchristosWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604*4e98e3e1SchristosTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605*4e98e3e1SchristosGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606*4e98e3e1SchristosUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607*4e98e3e1SchristosDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608*4e98e3e1SchristosPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609*4e98e3e1SchristosEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610*4e98e3e1SchristosSUCH DAMAGES.
611*4e98e3e1Schristos
612*4e98e3e1Schristos  17. Interpretation of Sections 15 and 16.
613*4e98e3e1Schristos
614*4e98e3e1Schristos  If the disclaimer of warranty and limitation of liability provided
615*4e98e3e1Schristosabove cannot be given local legal effect according to their terms,
616*4e98e3e1Schristosreviewing courts shall apply local law that most closely approximates
617*4e98e3e1Schristosan absolute waiver of all civil liability in connection with the
618*4e98e3e1SchristosProgram, unless a warranty or assumption of liability accompanies a
619*4e98e3e1Schristoscopy of the Program in return for a fee.
620*4e98e3e1Schristos
621*4e98e3e1Schristos                     END OF TERMS AND CONDITIONS
622*4e98e3e1Schristos
623*4e98e3e1Schristos            How to Apply These Terms to Your New Programs
624*4e98e3e1Schristos
625*4e98e3e1Schristos  If you develop a new program, and you want it to be of the greatest
626*4e98e3e1Schristospossible use to the public, the best way to achieve this is to make it
627*4e98e3e1Schristosfree software which everyone can redistribute and change under these terms.
628*4e98e3e1Schristos
629*4e98e3e1Schristos  To do so, attach the following notices to the program.  It is safest
630*4e98e3e1Schristosto attach them to the start of each source file to most effectively
631*4e98e3e1Schristosstate the exclusion of warranty; and each file should have at least
632*4e98e3e1Schristosthe "copyright" line and a pointer to where the full notice is found.
633*4e98e3e1Schristos
634*4e98e3e1Schristos    <one line to give the program's name and a brief idea of what it does.>
635*4e98e3e1Schristos    Copyright (C) <year>  <name of author>
636*4e98e3e1Schristos
637*4e98e3e1Schristos    This program is free software: you can redistribute it and/or modify
638*4e98e3e1Schristos    it under the terms of the GNU General Public License as published by
639*4e98e3e1Schristos    the Free Software Foundation, either version 3 of the License, or
640*4e98e3e1Schristos    (at your option) any later version.
641*4e98e3e1Schristos
642*4e98e3e1Schristos    This program is distributed in the hope that it will be useful,
643*4e98e3e1Schristos    but WITHOUT ANY WARRANTY; without even the implied warranty of
644*4e98e3e1Schristos    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
645*4e98e3e1Schristos    GNU General Public License for more details.
646*4e98e3e1Schristos
647*4e98e3e1Schristos    You should have received a copy of the GNU General Public License
648*4e98e3e1Schristos    along with this program.  If not, see <http://www.gnu.org/licenses/>.
649*4e98e3e1Schristos
650*4e98e3e1SchristosAlso add information on how to contact you by electronic and paper mail.
651*4e98e3e1Schristos
652*4e98e3e1Schristos  If the program does terminal interaction, make it output a short
653*4e98e3e1Schristosnotice like this when it starts in an interactive mode:
654*4e98e3e1Schristos
655*4e98e3e1Schristos    <program>  Copyright (C) <year>  <name of author>
656*4e98e3e1Schristos    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657*4e98e3e1Schristos    This is free software, and you are welcome to redistribute it
658*4e98e3e1Schristos    under certain conditions; type `show c' for details.
659*4e98e3e1Schristos
660*4e98e3e1SchristosThe hypothetical commands `show w' and `show c' should show the appropriate
661*4e98e3e1Schristosparts of the General Public License.  Of course, your program's commands
662*4e98e3e1Schristosmight be different; for a GUI interface, you would use an "about box".
663*4e98e3e1Schristos
664*4e98e3e1Schristos  You should also get your employer (if you work as a programmer) or school,
665*4e98e3e1Schristosif any, to sign a "copyright disclaimer" for the program, if necessary.
666*4e98e3e1SchristosFor more information on this, and how to apply and follow the GNU GPL, see
667*4e98e3e1Schristos<http://www.gnu.org/licenses/>.
668*4e98e3e1Schristos
669*4e98e3e1Schristos  The GNU General Public License does not permit incorporating your program
670*4e98e3e1Schristosinto proprietary programs.  If your program is a subroutine library, you
671*4e98e3e1Schristosmay consider it more useful to permit linking proprietary applications with
672*4e98e3e1Schristosthe library.  If this is what you want to do, use the GNU Lesser General
673*4e98e3e1SchristosPublic License instead of this License.  But first, please read
674*4e98e3e1Schristos<http://www.gnu.org/philosophy/why-not-lgpl.html>.
675