xref: /netbsd-src/external/gpl3/binutils.old/dist/include/COPYING3 (revision 75fd0b742a7e4a64301bc6c44e9bc5240c58bb92)
1*75fd0b74Schristos                    GNU GENERAL PUBLIC LICENSE
2*75fd0b74Schristos                       Version 3, 29 June 2007
3*75fd0b74Schristos
4*75fd0b74Schristos Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
5*75fd0b74Schristos Everyone is permitted to copy and distribute verbatim copies
6*75fd0b74Schristos of this license document, but changing it is not allowed.
7*75fd0b74Schristos
8*75fd0b74Schristos                            Preamble
9*75fd0b74Schristos
10*75fd0b74Schristos  The GNU General Public License is a free, copyleft license for
11*75fd0b74Schristossoftware and other kinds of works.
12*75fd0b74Schristos
13*75fd0b74Schristos  The licenses for most software and other practical works are designed
14*75fd0b74Schristosto take away your freedom to share and change the works.  By contrast,
15*75fd0b74Schristosthe GNU General Public License is intended to guarantee your freedom to
16*75fd0b74Schristosshare and change all versions of a program--to make sure it remains free
17*75fd0b74Schristossoftware for all its users.  We, the Free Software Foundation, use the
18*75fd0b74SchristosGNU General Public License for most of our software; it applies also to
19*75fd0b74Schristosany other work released this way by its authors.  You can apply it to
20*75fd0b74Schristosyour programs, too.
21*75fd0b74Schristos
22*75fd0b74Schristos  When we speak of free software, we are referring to freedom, not
23*75fd0b74Schristosprice.  Our General Public Licenses are designed to make sure that you
24*75fd0b74Schristoshave the freedom to distribute copies of free software (and charge for
25*75fd0b74Schristosthem if you wish), that you receive source code or can get it if you
26*75fd0b74Schristoswant it, that you can change the software or use pieces of it in new
27*75fd0b74Schristosfree programs, and that you know you can do these things.
28*75fd0b74Schristos
29*75fd0b74Schristos  To protect your rights, we need to prevent others from denying you
30*75fd0b74Schristosthese rights or asking you to surrender the rights.  Therefore, you have
31*75fd0b74Schristoscertain responsibilities if you distribute copies of the software, or if
32*75fd0b74Schristosyou modify it: responsibilities to respect the freedom of others.
33*75fd0b74Schristos
34*75fd0b74Schristos  For example, if you distribute copies of such a program, whether
35*75fd0b74Schristosgratis or for a fee, you must pass on to the recipients the same
36*75fd0b74Schristosfreedoms that you received.  You must make sure that they, too, receive
37*75fd0b74Schristosor can get the source code.  And you must show them these terms so they
38*75fd0b74Schristosknow their rights.
39*75fd0b74Schristos
40*75fd0b74Schristos  Developers that use the GNU GPL protect your rights with two steps:
41*75fd0b74Schristos(1) assert copyright on the software, and (2) offer you this License
42*75fd0b74Schristosgiving you legal permission to copy, distribute and/or modify it.
43*75fd0b74Schristos
44*75fd0b74Schristos  For the developers' and authors' protection, the GPL clearly explains
45*75fd0b74Schristosthat there is no warranty for this free software.  For both users' and
46*75fd0b74Schristosauthors' sake, the GPL requires that modified versions be marked as
47*75fd0b74Schristoschanged, so that their problems will not be attributed erroneously to
48*75fd0b74Schristosauthors of previous versions.
49*75fd0b74Schristos
50*75fd0b74Schristos  Some devices are designed to deny users access to install or run
51*75fd0b74Schristosmodified versions of the software inside them, although the manufacturer
52*75fd0b74Schristoscan do so.  This is fundamentally incompatible with the aim of
53*75fd0b74Schristosprotecting users' freedom to change the software.  The systematic
54*75fd0b74Schristospattern of such abuse occurs in the area of products for individuals to
55*75fd0b74Schristosuse, which is precisely where it is most unacceptable.  Therefore, we
56*75fd0b74Schristoshave designed this version of the GPL to prohibit the practice for those
57*75fd0b74Schristosproducts.  If such problems arise substantially in other domains, we
58*75fd0b74Schristosstand ready to extend this provision to those domains in future versions
59*75fd0b74Schristosof the GPL, as needed to protect the freedom of users.
60*75fd0b74Schristos
61*75fd0b74Schristos  Finally, every program is threatened constantly by software patents.
62*75fd0b74SchristosStates should not allow patents to restrict development and use of
63*75fd0b74Schristossoftware on general-purpose computers, but in those that do, we wish to
64*75fd0b74Schristosavoid the special danger that patents applied to a free program could
65*75fd0b74Schristosmake it effectively proprietary.  To prevent this, the GPL assures that
66*75fd0b74Schristospatents cannot be used to render the program non-free.
67*75fd0b74Schristos
68*75fd0b74Schristos  The precise terms and conditions for copying, distribution and
69*75fd0b74Schristosmodification follow.
70*75fd0b74Schristos
71*75fd0b74Schristos                       TERMS AND CONDITIONS
72*75fd0b74Schristos
73*75fd0b74Schristos  0. Definitions.
74*75fd0b74Schristos
75*75fd0b74Schristos  "This License" refers to version 3 of the GNU General Public License.
76*75fd0b74Schristos
77*75fd0b74Schristos  "Copyright" also means copyright-like laws that apply to other kinds of
78*75fd0b74Schristosworks, such as semiconductor masks.
79*75fd0b74Schristos
80*75fd0b74Schristos  "The Program" refers to any copyrightable work licensed under this
81*75fd0b74SchristosLicense.  Each licensee is addressed as "you".  "Licensees" and
82*75fd0b74Schristos"recipients" may be individuals or organizations.
83*75fd0b74Schristos
84*75fd0b74Schristos  To "modify" a work means to copy from or adapt all or part of the work
85*75fd0b74Schristosin a fashion requiring copyright permission, other than the making of an
86*75fd0b74Schristosexact copy.  The resulting work is called a "modified version" of the
87*75fd0b74Schristosearlier work or a work "based on" the earlier work.
88*75fd0b74Schristos
89*75fd0b74Schristos  A "covered work" means either the unmodified Program or a work based
90*75fd0b74Schristoson the Program.
91*75fd0b74Schristos
92*75fd0b74Schristos  To "propagate" a work means to do anything with it that, without
93*75fd0b74Schristospermission, would make you directly or secondarily liable for
94*75fd0b74Schristosinfringement under applicable copyright law, except executing it on a
95*75fd0b74Schristoscomputer or modifying a private copy.  Propagation includes copying,
96*75fd0b74Schristosdistribution (with or without modification), making available to the
97*75fd0b74Schristospublic, and in some countries other activities as well.
98*75fd0b74Schristos
99*75fd0b74Schristos  To "convey" a work means any kind of propagation that enables other
100*75fd0b74Schristosparties to make or receive copies.  Mere interaction with a user through
101*75fd0b74Schristosa computer network, with no transfer of a copy, is not conveying.
102*75fd0b74Schristos
103*75fd0b74Schristos  An interactive user interface displays "Appropriate Legal Notices"
104*75fd0b74Schristosto the extent that it includes a convenient and prominently visible
105*75fd0b74Schristosfeature that (1) displays an appropriate copyright notice, and (2)
106*75fd0b74Schristostells the user that there is no warranty for the work (except to the
107*75fd0b74Schristosextent that warranties are provided), that licensees may convey the
108*75fd0b74Schristoswork under this License, and how to view a copy of this License.  If
109*75fd0b74Schristosthe interface presents a list of user commands or options, such as a
110*75fd0b74Schristosmenu, a prominent item in the list meets this criterion.
111*75fd0b74Schristos
112*75fd0b74Schristos  1. Source Code.
113*75fd0b74Schristos
114*75fd0b74Schristos  The "source code" for a work means the preferred form of the work
115*75fd0b74Schristosfor making modifications to it.  "Object code" means any non-source
116*75fd0b74Schristosform of a work.
117*75fd0b74Schristos
118*75fd0b74Schristos  A "Standard Interface" means an interface that either is an official
119*75fd0b74Schristosstandard defined by a recognized standards body, or, in the case of
120*75fd0b74Schristosinterfaces specified for a particular programming language, one that
121*75fd0b74Schristosis widely used among developers working in that language.
122*75fd0b74Schristos
123*75fd0b74Schristos  The "System Libraries" of an executable work include anything, other
124*75fd0b74Schristosthan the work as a whole, that (a) is included in the normal form of
125*75fd0b74Schristospackaging a Major Component, but which is not part of that Major
126*75fd0b74SchristosComponent, and (b) serves only to enable use of the work with that
127*75fd0b74SchristosMajor Component, or to implement a Standard Interface for which an
128*75fd0b74Schristosimplementation is available to the public in source code form.  A
129*75fd0b74Schristos"Major Component", in this context, means a major essential component
130*75fd0b74Schristos(kernel, window system, and so on) of the specific operating system
131*75fd0b74Schristos(if any) on which the executable work runs, or a compiler used to
132*75fd0b74Schristosproduce the work, or an object code interpreter used to run it.
133*75fd0b74Schristos
134*75fd0b74Schristos  The "Corresponding Source" for a work in object code form means all
135*75fd0b74Schristosthe source code needed to generate, install, and (for an executable
136*75fd0b74Schristoswork) run the object code and to modify the work, including scripts to
137*75fd0b74Schristoscontrol those activities.  However, it does not include the work's
138*75fd0b74SchristosSystem Libraries, or general-purpose tools or generally available free
139*75fd0b74Schristosprograms which are used unmodified in performing those activities but
140*75fd0b74Schristoswhich are not part of the work.  For example, Corresponding Source
141*75fd0b74Schristosincludes interface definition files associated with source files for
142*75fd0b74Schristosthe work, and the source code for shared libraries and dynamically
143*75fd0b74Schristoslinked subprograms that the work is specifically designed to require,
144*75fd0b74Schristossuch as by intimate data communication or control flow between those
145*75fd0b74Schristossubprograms and other parts of the work.
146*75fd0b74Schristos
147*75fd0b74Schristos  The Corresponding Source need not include anything that users
148*75fd0b74Schristoscan regenerate automatically from other parts of the Corresponding
149*75fd0b74SchristosSource.
150*75fd0b74Schristos
151*75fd0b74Schristos  The Corresponding Source for a work in source code form is that
152*75fd0b74Schristossame work.
153*75fd0b74Schristos
154*75fd0b74Schristos  2. Basic Permissions.
155*75fd0b74Schristos
156*75fd0b74Schristos  All rights granted under this License are granted for the term of
157*75fd0b74Schristoscopyright on the Program, and are irrevocable provided the stated
158*75fd0b74Schristosconditions are met.  This License explicitly affirms your unlimited
159*75fd0b74Schristospermission to run the unmodified Program.  The output from running a
160*75fd0b74Schristoscovered work is covered by this License only if the output, given its
161*75fd0b74Schristoscontent, constitutes a covered work.  This License acknowledges your
162*75fd0b74Schristosrights of fair use or other equivalent, as provided by copyright law.
163*75fd0b74Schristos
164*75fd0b74Schristos  You may make, run and propagate covered works that you do not
165*75fd0b74Schristosconvey, without conditions so long as your license otherwise remains
166*75fd0b74Schristosin force.  You may convey covered works to others for the sole purpose
167*75fd0b74Schristosof having them make modifications exclusively for you, or provide you
168*75fd0b74Schristoswith facilities for running those works, provided that you comply with
169*75fd0b74Schristosthe terms of this License in conveying all material for which you do
170*75fd0b74Schristosnot control copyright.  Those thus making or running the covered works
171*75fd0b74Schristosfor you must do so exclusively on your behalf, under your direction
172*75fd0b74Schristosand control, on terms that prohibit them from making any copies of
173*75fd0b74Schristosyour copyrighted material outside their relationship with you.
174*75fd0b74Schristos
175*75fd0b74Schristos  Conveying under any other circumstances is permitted solely under
176*75fd0b74Schristosthe conditions stated below.  Sublicensing is not allowed; section 10
177*75fd0b74Schristosmakes it unnecessary.
178*75fd0b74Schristos
179*75fd0b74Schristos  3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180*75fd0b74Schristos
181*75fd0b74Schristos  No covered work shall be deemed part of an effective technological
182*75fd0b74Schristosmeasure under any applicable law fulfilling obligations under article
183*75fd0b74Schristos11 of the WIPO copyright treaty adopted on 20 December 1996, or
184*75fd0b74Schristossimilar laws prohibiting or restricting circumvention of such
185*75fd0b74Schristosmeasures.
186*75fd0b74Schristos
187*75fd0b74Schristos  When you convey a covered work, you waive any legal power to forbid
188*75fd0b74Schristoscircumvention of technological measures to the extent such circumvention
189*75fd0b74Schristosis effected by exercising rights under this License with respect to
190*75fd0b74Schristosthe covered work, and you disclaim any intention to limit operation or
191*75fd0b74Schristosmodification of the work as a means of enforcing, against the work's
192*75fd0b74Schristosusers, your or third parties' legal rights to forbid circumvention of
193*75fd0b74Schristostechnological measures.
194*75fd0b74Schristos
195*75fd0b74Schristos  4. Conveying Verbatim Copies.
196*75fd0b74Schristos
197*75fd0b74Schristos  You may convey verbatim copies of the Program's source code as you
198*75fd0b74Schristosreceive it, in any medium, provided that you conspicuously and
199*75fd0b74Schristosappropriately publish on each copy an appropriate copyright notice;
200*75fd0b74Schristoskeep intact all notices stating that this License and any
201*75fd0b74Schristosnon-permissive terms added in accord with section 7 apply to the code;
202*75fd0b74Schristoskeep intact all notices of the absence of any warranty; and give all
203*75fd0b74Schristosrecipients a copy of this License along with the Program.
204*75fd0b74Schristos
205*75fd0b74Schristos  You may charge any price or no price for each copy that you convey,
206*75fd0b74Schristosand you may offer support or warranty protection for a fee.
207*75fd0b74Schristos
208*75fd0b74Schristos  5. Conveying Modified Source Versions.
209*75fd0b74Schristos
210*75fd0b74Schristos  You may convey a work based on the Program, or the modifications to
211*75fd0b74Schristosproduce it from the Program, in the form of source code under the
212*75fd0b74Schristosterms of section 4, provided that you also meet all of these conditions:
213*75fd0b74Schristos
214*75fd0b74Schristos    a) The work must carry prominent notices stating that you modified
215*75fd0b74Schristos    it, and giving a relevant date.
216*75fd0b74Schristos
217*75fd0b74Schristos    b) The work must carry prominent notices stating that it is
218*75fd0b74Schristos    released under this License and any conditions added under section
219*75fd0b74Schristos    7.  This requirement modifies the requirement in section 4 to
220*75fd0b74Schristos    "keep intact all notices".
221*75fd0b74Schristos
222*75fd0b74Schristos    c) You must license the entire work, as a whole, under this
223*75fd0b74Schristos    License to anyone who comes into possession of a copy.  This
224*75fd0b74Schristos    License will therefore apply, along with any applicable section 7
225*75fd0b74Schristos    additional terms, to the whole of the work, and all its parts,
226*75fd0b74Schristos    regardless of how they are packaged.  This License gives no
227*75fd0b74Schristos    permission to license the work in any other way, but it does not
228*75fd0b74Schristos    invalidate such permission if you have separately received it.
229*75fd0b74Schristos
230*75fd0b74Schristos    d) If the work has interactive user interfaces, each must display
231*75fd0b74Schristos    Appropriate Legal Notices; however, if the Program has interactive
232*75fd0b74Schristos    interfaces that do not display Appropriate Legal Notices, your
233*75fd0b74Schristos    work need not make them do so.
234*75fd0b74Schristos
235*75fd0b74Schristos  A compilation of a covered work with other separate and independent
236*75fd0b74Schristosworks, which are not by their nature extensions of the covered work,
237*75fd0b74Schristosand which are not combined with it such as to form a larger program,
238*75fd0b74Schristosin or on a volume of a storage or distribution medium, is called an
239*75fd0b74Schristos"aggregate" if the compilation and its resulting copyright are not
240*75fd0b74Schristosused to limit the access or legal rights of the compilation's users
241*75fd0b74Schristosbeyond what the individual works permit.  Inclusion of a covered work
242*75fd0b74Schristosin an aggregate does not cause this License to apply to the other
243*75fd0b74Schristosparts of the aggregate.
244*75fd0b74Schristos
245*75fd0b74Schristos  6. Conveying Non-Source Forms.
246*75fd0b74Schristos
247*75fd0b74Schristos  You may convey a covered work in object code form under the terms
248*75fd0b74Schristosof sections 4 and 5, provided that you also convey the
249*75fd0b74Schristosmachine-readable Corresponding Source under the terms of this License,
250*75fd0b74Schristosin one of these ways:
251*75fd0b74Schristos
252*75fd0b74Schristos    a) Convey the object code in, or embodied in, a physical product
253*75fd0b74Schristos    (including a physical distribution medium), accompanied by the
254*75fd0b74Schristos    Corresponding Source fixed on a durable physical medium
255*75fd0b74Schristos    customarily used for software interchange.
256*75fd0b74Schristos
257*75fd0b74Schristos    b) Convey the object code in, or embodied in, a physical product
258*75fd0b74Schristos    (including a physical distribution medium), accompanied by a
259*75fd0b74Schristos    written offer, valid for at least three years and valid for as
260*75fd0b74Schristos    long as you offer spare parts or customer support for that product
261*75fd0b74Schristos    model, to give anyone who possesses the object code either (1) a
262*75fd0b74Schristos    copy of the Corresponding Source for all the software in the
263*75fd0b74Schristos    product that is covered by this License, on a durable physical
264*75fd0b74Schristos    medium customarily used for software interchange, for a price no
265*75fd0b74Schristos    more than your reasonable cost of physically performing this
266*75fd0b74Schristos    conveying of source, or (2) access to copy the
267*75fd0b74Schristos    Corresponding Source from a network server at no charge.
268*75fd0b74Schristos
269*75fd0b74Schristos    c) Convey individual copies of the object code with a copy of the
270*75fd0b74Schristos    written offer to provide the Corresponding Source.  This
271*75fd0b74Schristos    alternative is allowed only occasionally and noncommercially, and
272*75fd0b74Schristos    only if you received the object code with such an offer, in accord
273*75fd0b74Schristos    with subsection 6b.
274*75fd0b74Schristos
275*75fd0b74Schristos    d) Convey the object code by offering access from a designated
276*75fd0b74Schristos    place (gratis or for a charge), and offer equivalent access to the
277*75fd0b74Schristos    Corresponding Source in the same way through the same place at no
278*75fd0b74Schristos    further charge.  You need not require recipients to copy the
279*75fd0b74Schristos    Corresponding Source along with the object code.  If the place to
280*75fd0b74Schristos    copy the object code is a network server, the Corresponding Source
281*75fd0b74Schristos    may be on a different server (operated by you or a third party)
282*75fd0b74Schristos    that supports equivalent copying facilities, provided you maintain
283*75fd0b74Schristos    clear directions next to the object code saying where to find the
284*75fd0b74Schristos    Corresponding Source.  Regardless of what server hosts the
285*75fd0b74Schristos    Corresponding Source, you remain obligated to ensure that it is
286*75fd0b74Schristos    available for as long as needed to satisfy these requirements.
287*75fd0b74Schristos
288*75fd0b74Schristos    e) Convey the object code using peer-to-peer transmission, provided
289*75fd0b74Schristos    you inform other peers where the object code and Corresponding
290*75fd0b74Schristos    Source of the work are being offered to the general public at no
291*75fd0b74Schristos    charge under subsection 6d.
292*75fd0b74Schristos
293*75fd0b74Schristos  A separable portion of the object code, whose source code is excluded
294*75fd0b74Schristosfrom the Corresponding Source as a System Library, need not be
295*75fd0b74Schristosincluded in conveying the object code work.
296*75fd0b74Schristos
297*75fd0b74Schristos  A "User Product" is either (1) a "consumer product", which means any
298*75fd0b74Schristostangible personal property which is normally used for personal, family,
299*75fd0b74Schristosor household purposes, or (2) anything designed or sold for incorporation
300*75fd0b74Schristosinto a dwelling.  In determining whether a product is a consumer product,
301*75fd0b74Schristosdoubtful cases shall be resolved in favor of coverage.  For a particular
302*75fd0b74Schristosproduct received by a particular user, "normally used" refers to a
303*75fd0b74Schristostypical or common use of that class of product, regardless of the status
304*75fd0b74Schristosof the particular user or of the way in which the particular user
305*75fd0b74Schristosactually uses, or expects or is expected to use, the product.  A product
306*75fd0b74Schristosis a consumer product regardless of whether the product has substantial
307*75fd0b74Schristoscommercial, industrial or non-consumer uses, unless such uses represent
308*75fd0b74Schristosthe only significant mode of use of the product.
309*75fd0b74Schristos
310*75fd0b74Schristos  "Installation Information" for a User Product means any methods,
311*75fd0b74Schristosprocedures, authorization keys, or other information required to install
312*75fd0b74Schristosand execute modified versions of a covered work in that User Product from
313*75fd0b74Schristosa modified version of its Corresponding Source.  The information must
314*75fd0b74Schristossuffice to ensure that the continued functioning of the modified object
315*75fd0b74Schristoscode is in no case prevented or interfered with solely because
316*75fd0b74Schristosmodification has been made.
317*75fd0b74Schristos
318*75fd0b74Schristos  If you convey an object code work under this section in, or with, or
319*75fd0b74Schristosspecifically for use in, a User Product, and the conveying occurs as
320*75fd0b74Schristospart of a transaction in which the right of possession and use of the
321*75fd0b74SchristosUser Product is transferred to the recipient in perpetuity or for a
322*75fd0b74Schristosfixed term (regardless of how the transaction is characterized), the
323*75fd0b74SchristosCorresponding Source conveyed under this section must be accompanied
324*75fd0b74Schristosby the Installation Information.  But this requirement does not apply
325*75fd0b74Schristosif neither you nor any third party retains the ability to install
326*75fd0b74Schristosmodified object code on the User Product (for example, the work has
327*75fd0b74Schristosbeen installed in ROM).
328*75fd0b74Schristos
329*75fd0b74Schristos  The requirement to provide Installation Information does not include a
330*75fd0b74Schristosrequirement to continue to provide support service, warranty, or updates
331*75fd0b74Schristosfor a work that has been modified or installed by the recipient, or for
332*75fd0b74Schristosthe User Product in which it has been modified or installed.  Access to a
333*75fd0b74Schristosnetwork may be denied when the modification itself materially and
334*75fd0b74Schristosadversely affects the operation of the network or violates the rules and
335*75fd0b74Schristosprotocols for communication across the network.
336*75fd0b74Schristos
337*75fd0b74Schristos  Corresponding Source conveyed, and Installation Information provided,
338*75fd0b74Schristosin accord with this section must be in a format that is publicly
339*75fd0b74Schristosdocumented (and with an implementation available to the public in
340*75fd0b74Schristossource code form), and must require no special password or key for
341*75fd0b74Schristosunpacking, reading or copying.
342*75fd0b74Schristos
343*75fd0b74Schristos  7. Additional Terms.
344*75fd0b74Schristos
345*75fd0b74Schristos  "Additional permissions" are terms that supplement the terms of this
346*75fd0b74SchristosLicense by making exceptions from one or more of its conditions.
347*75fd0b74SchristosAdditional permissions that are applicable to the entire Program shall
348*75fd0b74Schristosbe treated as though they were included in this License, to the extent
349*75fd0b74Schristosthat they are valid under applicable law.  If additional permissions
350*75fd0b74Schristosapply only to part of the Program, that part may be used separately
351*75fd0b74Schristosunder those permissions, but the entire Program remains governed by
352*75fd0b74Schristosthis License without regard to the additional permissions.
353*75fd0b74Schristos
354*75fd0b74Schristos  When you convey a copy of a covered work, you may at your option
355*75fd0b74Schristosremove any additional permissions from that copy, or from any part of
356*75fd0b74Schristosit.  (Additional permissions may be written to require their own
357*75fd0b74Schristosremoval in certain cases when you modify the work.)  You may place
358*75fd0b74Schristosadditional permissions on material, added by you to a covered work,
359*75fd0b74Schristosfor which you have or can give appropriate copyright permission.
360*75fd0b74Schristos
361*75fd0b74Schristos  Notwithstanding any other provision of this License, for material you
362*75fd0b74Schristosadd to a covered work, you may (if authorized by the copyright holders of
363*75fd0b74Schristosthat material) supplement the terms of this License with terms:
364*75fd0b74Schristos
365*75fd0b74Schristos    a) Disclaiming warranty or limiting liability differently from the
366*75fd0b74Schristos    terms of sections 15 and 16 of this License; or
367*75fd0b74Schristos
368*75fd0b74Schristos    b) Requiring preservation of specified reasonable legal notices or
369*75fd0b74Schristos    author attributions in that material or in the Appropriate Legal
370*75fd0b74Schristos    Notices displayed by works containing it; or
371*75fd0b74Schristos
372*75fd0b74Schristos    c) Prohibiting misrepresentation of the origin of that material, or
373*75fd0b74Schristos    requiring that modified versions of such material be marked in
374*75fd0b74Schristos    reasonable ways as different from the original version; or
375*75fd0b74Schristos
376*75fd0b74Schristos    d) Limiting the use for publicity purposes of names of licensors or
377*75fd0b74Schristos    authors of the material; or
378*75fd0b74Schristos
379*75fd0b74Schristos    e) Declining to grant rights under trademark law for use of some
380*75fd0b74Schristos    trade names, trademarks, or service marks; or
381*75fd0b74Schristos
382*75fd0b74Schristos    f) Requiring indemnification of licensors and authors of that
383*75fd0b74Schristos    material by anyone who conveys the material (or modified versions of
384*75fd0b74Schristos    it) with contractual assumptions of liability to the recipient, for
385*75fd0b74Schristos    any liability that these contractual assumptions directly impose on
386*75fd0b74Schristos    those licensors and authors.
387*75fd0b74Schristos
388*75fd0b74Schristos  All other non-permissive additional terms are considered "further
389*75fd0b74Schristosrestrictions" within the meaning of section 10.  If the Program as you
390*75fd0b74Schristosreceived it, or any part of it, contains a notice stating that it is
391*75fd0b74Schristosgoverned by this License along with a term that is a further
392*75fd0b74Schristosrestriction, you may remove that term.  If a license document contains
393*75fd0b74Schristosa further restriction but permits relicensing or conveying under this
394*75fd0b74SchristosLicense, you may add to a covered work material governed by the terms
395*75fd0b74Schristosof that license document, provided that the further restriction does
396*75fd0b74Schristosnot survive such relicensing or conveying.
397*75fd0b74Schristos
398*75fd0b74Schristos  If you add terms to a covered work in accord with this section, you
399*75fd0b74Schristosmust place, in the relevant source files, a statement of the
400*75fd0b74Schristosadditional terms that apply to those files, or a notice indicating
401*75fd0b74Schristoswhere to find the applicable terms.
402*75fd0b74Schristos
403*75fd0b74Schristos  Additional terms, permissive or non-permissive, may be stated in the
404*75fd0b74Schristosform of a separately written license, or stated as exceptions;
405*75fd0b74Schristosthe above requirements apply either way.
406*75fd0b74Schristos
407*75fd0b74Schristos  8. Termination.
408*75fd0b74Schristos
409*75fd0b74Schristos  You may not propagate or modify a covered work except as expressly
410*75fd0b74Schristosprovided under this License.  Any attempt otherwise to propagate or
411*75fd0b74Schristosmodify it is void, and will automatically terminate your rights under
412*75fd0b74Schristosthis License (including any patent licenses granted under the third
413*75fd0b74Schristosparagraph of section 11).
414*75fd0b74Schristos
415*75fd0b74Schristos  However, if you cease all violation of this License, then your
416*75fd0b74Schristoslicense from a particular copyright holder is reinstated (a)
417*75fd0b74Schristosprovisionally, unless and until the copyright holder explicitly and
418*75fd0b74Schristosfinally terminates your license, and (b) permanently, if the copyright
419*75fd0b74Schristosholder fails to notify you of the violation by some reasonable means
420*75fd0b74Schristosprior to 60 days after the cessation.
421*75fd0b74Schristos
422*75fd0b74Schristos  Moreover, your license from a particular copyright holder is
423*75fd0b74Schristosreinstated permanently if the copyright holder notifies you of the
424*75fd0b74Schristosviolation by some reasonable means, this is the first time you have
425*75fd0b74Schristosreceived notice of violation of this License (for any work) from that
426*75fd0b74Schristoscopyright holder, and you cure the violation prior to 30 days after
427*75fd0b74Schristosyour receipt of the notice.
428*75fd0b74Schristos
429*75fd0b74Schristos  Termination of your rights under this section does not terminate the
430*75fd0b74Schristoslicenses of parties who have received copies or rights from you under
431*75fd0b74Schristosthis License.  If your rights have been terminated and not permanently
432*75fd0b74Schristosreinstated, you do not qualify to receive new licenses for the same
433*75fd0b74Schristosmaterial under section 10.
434*75fd0b74Schristos
435*75fd0b74Schristos  9. Acceptance Not Required for Having Copies.
436*75fd0b74Schristos
437*75fd0b74Schristos  You are not required to accept this License in order to receive or
438*75fd0b74Schristosrun a copy of the Program.  Ancillary propagation of a covered work
439*75fd0b74Schristosoccurring solely as a consequence of using peer-to-peer transmission
440*75fd0b74Schristosto receive a copy likewise does not require acceptance.  However,
441*75fd0b74Schristosnothing other than this License grants you permission to propagate or
442*75fd0b74Schristosmodify any covered work.  These actions infringe copyright if you do
443*75fd0b74Schristosnot accept this License.  Therefore, by modifying or propagating a
444*75fd0b74Schristoscovered work, you indicate your acceptance of this License to do so.
445*75fd0b74Schristos
446*75fd0b74Schristos  10. Automatic Licensing of Downstream Recipients.
447*75fd0b74Schristos
448*75fd0b74Schristos  Each time you convey a covered work, the recipient automatically
449*75fd0b74Schristosreceives a license from the original licensors, to run, modify and
450*75fd0b74Schristospropagate that work, subject to this License.  You are not responsible
451*75fd0b74Schristosfor enforcing compliance by third parties with this License.
452*75fd0b74Schristos
453*75fd0b74Schristos  An "entity transaction" is a transaction transferring control of an
454*75fd0b74Schristosorganization, or substantially all assets of one, or subdividing an
455*75fd0b74Schristosorganization, or merging organizations.  If propagation of a covered
456*75fd0b74Schristoswork results from an entity transaction, each party to that
457*75fd0b74Schristostransaction who receives a copy of the work also receives whatever
458*75fd0b74Schristoslicenses to the work the party's predecessor in interest had or could
459*75fd0b74Schristosgive under the previous paragraph, plus a right to possession of the
460*75fd0b74SchristosCorresponding Source of the work from the predecessor in interest, if
461*75fd0b74Schristosthe predecessor has it or can get it with reasonable efforts.
462*75fd0b74Schristos
463*75fd0b74Schristos  You may not impose any further restrictions on the exercise of the
464*75fd0b74Schristosrights granted or affirmed under this License.  For example, you may
465*75fd0b74Schristosnot impose a license fee, royalty, or other charge for exercise of
466*75fd0b74Schristosrights granted under this License, and you may not initiate litigation
467*75fd0b74Schristos(including a cross-claim or counterclaim in a lawsuit) alleging that
468*75fd0b74Schristosany patent claim is infringed by making, using, selling, offering for
469*75fd0b74Schristossale, or importing the Program or any portion of it.
470*75fd0b74Schristos
471*75fd0b74Schristos  11. Patents.
472*75fd0b74Schristos
473*75fd0b74Schristos  A "contributor" is a copyright holder who authorizes use under this
474*75fd0b74SchristosLicense of the Program or a work on which the Program is based.  The
475*75fd0b74Schristoswork thus licensed is called the contributor's "contributor version".
476*75fd0b74Schristos
477*75fd0b74Schristos  A contributor's "essential patent claims" are all patent claims
478*75fd0b74Schristosowned or controlled by the contributor, whether already acquired or
479*75fd0b74Schristoshereafter acquired, that would be infringed by some manner, permitted
480*75fd0b74Schristosby this License, of making, using, or selling its contributor version,
481*75fd0b74Schristosbut do not include claims that would be infringed only as a
482*75fd0b74Schristosconsequence of further modification of the contributor version.  For
483*75fd0b74Schristospurposes of this definition, "control" includes the right to grant
484*75fd0b74Schristospatent sublicenses in a manner consistent with the requirements of
485*75fd0b74Schristosthis License.
486*75fd0b74Schristos
487*75fd0b74Schristos  Each contributor grants you a non-exclusive, worldwide, royalty-free
488*75fd0b74Schristospatent license under the contributor's essential patent claims, to
489*75fd0b74Schristosmake, use, sell, offer for sale, import and otherwise run, modify and
490*75fd0b74Schristospropagate the contents of its contributor version.
491*75fd0b74Schristos
492*75fd0b74Schristos  In the following three paragraphs, a "patent license" is any express
493*75fd0b74Schristosagreement or commitment, however denominated, not to enforce a patent
494*75fd0b74Schristos(such as an express permission to practice a patent or covenant not to
495*75fd0b74Schristossue for patent infringement).  To "grant" such a patent license to a
496*75fd0b74Schristosparty means to make such an agreement or commitment not to enforce a
497*75fd0b74Schristospatent against the party.
498*75fd0b74Schristos
499*75fd0b74Schristos  If you convey a covered work, knowingly relying on a patent license,
500*75fd0b74Schristosand the Corresponding Source of the work is not available for anyone
501*75fd0b74Schristosto copy, free of charge and under the terms of this License, through a
502*75fd0b74Schristospublicly available network server or other readily accessible means,
503*75fd0b74Schristosthen you must either (1) cause the Corresponding Source to be so
504*75fd0b74Schristosavailable, or (2) arrange to deprive yourself of the benefit of the
505*75fd0b74Schristospatent license for this particular work, or (3) arrange, in a manner
506*75fd0b74Schristosconsistent with the requirements of this License, to extend the patent
507*75fd0b74Schristoslicense to downstream recipients.  "Knowingly relying" means you have
508*75fd0b74Schristosactual knowledge that, but for the patent license, your conveying the
509*75fd0b74Schristoscovered work in a country, or your recipient's use of the covered work
510*75fd0b74Schristosin a country, would infringe one or more identifiable patents in that
511*75fd0b74Schristoscountry that you have reason to believe are valid.
512*75fd0b74Schristos
513*75fd0b74Schristos  If, pursuant to or in connection with a single transaction or
514*75fd0b74Schristosarrangement, you convey, or propagate by procuring conveyance of, a
515*75fd0b74Schristoscovered work, and grant a patent license to some of the parties
516*75fd0b74Schristosreceiving the covered work authorizing them to use, propagate, modify
517*75fd0b74Schristosor convey a specific copy of the covered work, then the patent license
518*75fd0b74Schristosyou grant is automatically extended to all recipients of the covered
519*75fd0b74Schristoswork and works based on it.
520*75fd0b74Schristos
521*75fd0b74Schristos  A patent license is "discriminatory" if it does not include within
522*75fd0b74Schristosthe scope of its coverage, prohibits the exercise of, or is
523*75fd0b74Schristosconditioned on the non-exercise of one or more of the rights that are
524*75fd0b74Schristosspecifically granted under this License.  You may not convey a covered
525*75fd0b74Schristoswork if you are a party to an arrangement with a third party that is
526*75fd0b74Schristosin the business of distributing software, under which you make payment
527*75fd0b74Schristosto the third party based on the extent of your activity of conveying
528*75fd0b74Schristosthe work, and under which the third party grants, to any of the
529*75fd0b74Schristosparties who would receive the covered work from you, a discriminatory
530*75fd0b74Schristospatent license (a) in connection with copies of the covered work
531*75fd0b74Schristosconveyed by you (or copies made from those copies), or (b) primarily
532*75fd0b74Schristosfor and in connection with specific products or compilations that
533*75fd0b74Schristoscontain the covered work, unless you entered into that arrangement,
534*75fd0b74Schristosor that patent license was granted, prior to 28 March 2007.
535*75fd0b74Schristos
536*75fd0b74Schristos  Nothing in this License shall be construed as excluding or limiting
537*75fd0b74Schristosany implied license or other defenses to infringement that may
538*75fd0b74Schristosotherwise be available to you under applicable patent law.
539*75fd0b74Schristos
540*75fd0b74Schristos  12. No Surrender of Others' Freedom.
541*75fd0b74Schristos
542*75fd0b74Schristos  If conditions are imposed on you (whether by court order, agreement or
543*75fd0b74Schristosotherwise) that contradict the conditions of this License, they do not
544*75fd0b74Schristosexcuse you from the conditions of this License.  If you cannot convey a
545*75fd0b74Schristoscovered work so as to satisfy simultaneously your obligations under this
546*75fd0b74SchristosLicense and any other pertinent obligations, then as a consequence you may
547*75fd0b74Schristosnot convey it at all.  For example, if you agree to terms that obligate you
548*75fd0b74Schristosto collect a royalty for further conveying from those to whom you convey
549*75fd0b74Schristosthe Program, the only way you could satisfy both those terms and this
550*75fd0b74SchristosLicense would be to refrain entirely from conveying the Program.
551*75fd0b74Schristos
552*75fd0b74Schristos  13. Use with the GNU Affero General Public License.
553*75fd0b74Schristos
554*75fd0b74Schristos  Notwithstanding any other provision of this License, you have
555*75fd0b74Schristospermission to link or combine any covered work with a work licensed
556*75fd0b74Schristosunder version 3 of the GNU Affero General Public License into a single
557*75fd0b74Schristoscombined work, and to convey the resulting work.  The terms of this
558*75fd0b74SchristosLicense will continue to apply to the part which is the covered work,
559*75fd0b74Schristosbut the special requirements of the GNU Affero General Public License,
560*75fd0b74Schristossection 13, concerning interaction through a network will apply to the
561*75fd0b74Schristoscombination as such.
562*75fd0b74Schristos
563*75fd0b74Schristos  14. Revised Versions of this License.
564*75fd0b74Schristos
565*75fd0b74Schristos  The Free Software Foundation may publish revised and/or new versions of
566*75fd0b74Schristosthe GNU General Public License from time to time.  Such new versions will
567*75fd0b74Schristosbe similar in spirit to the present version, but may differ in detail to
568*75fd0b74Schristosaddress new problems or concerns.
569*75fd0b74Schristos
570*75fd0b74Schristos  Each version is given a distinguishing version number.  If the
571*75fd0b74SchristosProgram specifies that a certain numbered version of the GNU General
572*75fd0b74SchristosPublic License "or any later version" applies to it, you have the
573*75fd0b74Schristosoption of following the terms and conditions either of that numbered
574*75fd0b74Schristosversion or of any later version published by the Free Software
575*75fd0b74SchristosFoundation.  If the Program does not specify a version number of the
576*75fd0b74SchristosGNU General Public License, you may choose any version ever published
577*75fd0b74Schristosby the Free Software Foundation.
578*75fd0b74Schristos
579*75fd0b74Schristos  If the Program specifies that a proxy can decide which future
580*75fd0b74Schristosversions of the GNU General Public License can be used, that proxy's
581*75fd0b74Schristospublic statement of acceptance of a version permanently authorizes you
582*75fd0b74Schristosto choose that version for the Program.
583*75fd0b74Schristos
584*75fd0b74Schristos  Later license versions may give you additional or different
585*75fd0b74Schristospermissions.  However, no additional obligations are imposed on any
586*75fd0b74Schristosauthor or copyright holder as a result of your choosing to follow a
587*75fd0b74Schristoslater version.
588*75fd0b74Schristos
589*75fd0b74Schristos  15. Disclaimer of Warranty.
590*75fd0b74Schristos
591*75fd0b74Schristos  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592*75fd0b74SchristosAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593*75fd0b74SchristosHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594*75fd0b74SchristosOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595*75fd0b74SchristosTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596*75fd0b74SchristosPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597*75fd0b74SchristosIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598*75fd0b74SchristosALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599*75fd0b74Schristos
600*75fd0b74Schristos  16. Limitation of Liability.
601*75fd0b74Schristos
602*75fd0b74Schristos  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603*75fd0b74SchristosWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604*75fd0b74SchristosTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605*75fd0b74SchristosGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606*75fd0b74SchristosUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607*75fd0b74SchristosDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608*75fd0b74SchristosPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609*75fd0b74SchristosEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610*75fd0b74SchristosSUCH DAMAGES.
611*75fd0b74Schristos
612*75fd0b74Schristos  17. Interpretation of Sections 15 and 16.
613*75fd0b74Schristos
614*75fd0b74Schristos  If the disclaimer of warranty and limitation of liability provided
615*75fd0b74Schristosabove cannot be given local legal effect according to their terms,
616*75fd0b74Schristosreviewing courts shall apply local law that most closely approximates
617*75fd0b74Schristosan absolute waiver of all civil liability in connection with the
618*75fd0b74SchristosProgram, unless a warranty or assumption of liability accompanies a
619*75fd0b74Schristoscopy of the Program in return for a fee.
620*75fd0b74Schristos
621*75fd0b74Schristos                     END OF TERMS AND CONDITIONS
622*75fd0b74Schristos
623*75fd0b74Schristos            How to Apply These Terms to Your New Programs
624*75fd0b74Schristos
625*75fd0b74Schristos  If you develop a new program, and you want it to be of the greatest
626*75fd0b74Schristospossible use to the public, the best way to achieve this is to make it
627*75fd0b74Schristosfree software which everyone can redistribute and change under these terms.
628*75fd0b74Schristos
629*75fd0b74Schristos  To do so, attach the following notices to the program.  It is safest
630*75fd0b74Schristosto attach them to the start of each source file to most effectively
631*75fd0b74Schristosstate the exclusion of warranty; and each file should have at least
632*75fd0b74Schristosthe "copyright" line and a pointer to where the full notice is found.
633*75fd0b74Schristos
634*75fd0b74Schristos    <one line to give the program's name and a brief idea of what it does.>
635*75fd0b74Schristos    Copyright (C) <year>  <name of author>
636*75fd0b74Schristos
637*75fd0b74Schristos    This program is free software: you can redistribute it and/or modify
638*75fd0b74Schristos    it under the terms of the GNU General Public License as published by
639*75fd0b74Schristos    the Free Software Foundation, either version 3 of the License, or
640*75fd0b74Schristos    (at your option) any later version.
641*75fd0b74Schristos
642*75fd0b74Schristos    This program is distributed in the hope that it will be useful,
643*75fd0b74Schristos    but WITHOUT ANY WARRANTY; without even the implied warranty of
644*75fd0b74Schristos    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
645*75fd0b74Schristos    GNU General Public License for more details.
646*75fd0b74Schristos
647*75fd0b74Schristos    You should have received a copy of the GNU General Public License
648*75fd0b74Schristos    along with this program.  If not, see <http://www.gnu.org/licenses/>.
649*75fd0b74Schristos
650*75fd0b74SchristosAlso add information on how to contact you by electronic and paper mail.
651*75fd0b74Schristos
652*75fd0b74Schristos  If the program does terminal interaction, make it output a short
653*75fd0b74Schristosnotice like this when it starts in an interactive mode:
654*75fd0b74Schristos
655*75fd0b74Schristos    <program>  Copyright (C) <year>  <name of author>
656*75fd0b74Schristos    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657*75fd0b74Schristos    This is free software, and you are welcome to redistribute it
658*75fd0b74Schristos    under certain conditions; type `show c' for details.
659*75fd0b74Schristos
660*75fd0b74SchristosThe hypothetical commands `show w' and `show c' should show the appropriate
661*75fd0b74Schristosparts of the General Public License.  Of course, your program's commands
662*75fd0b74Schristosmight be different; for a GUI interface, you would use an "about box".
663*75fd0b74Schristos
664*75fd0b74Schristos  You should also get your employer (if you work as a programmer) or school,
665*75fd0b74Schristosif any, to sign a "copyright disclaimer" for the program, if necessary.
666*75fd0b74SchristosFor more information on this, and how to apply and follow the GNU GPL, see
667*75fd0b74Schristos<http://www.gnu.org/licenses/>.
668*75fd0b74Schristos
669*75fd0b74Schristos  The GNU General Public License does not permit incorporating your program
670*75fd0b74Schristosinto proprietary programs.  If your program is a subroutine library, you
671*75fd0b74Schristosmay consider it more useful to permit linking proprietary applications with
672*75fd0b74Schristosthe library.  If this is what you want to do, use the GNU Lesser General
673*75fd0b74SchristosPublic License instead of this License.  But first, please read
674*75fd0b74Schristos<http://www.gnu.org/philosophy/why-not-lgpl.html>.
675