xref: /dflybsd-src/contrib/gcc-8.0/COPYING3 (revision 38fd149817dfbff97799f62fcb70be98c4e32523)
1*38fd1498Szrj                    GNU GENERAL PUBLIC LICENSE
2*38fd1498Szrj                       Version 3, 29 June 2007
3*38fd1498Szrj
4*38fd1498Szrj Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
5*38fd1498Szrj Everyone is permitted to copy and distribute verbatim copies
6*38fd1498Szrj of this license document, but changing it is not allowed.
7*38fd1498Szrj
8*38fd1498Szrj                            Preamble
9*38fd1498Szrj
10*38fd1498Szrj  The GNU General Public License is a free, copyleft license for
11*38fd1498Szrjsoftware and other kinds of works.
12*38fd1498Szrj
13*38fd1498Szrj  The licenses for most software and other practical works are designed
14*38fd1498Szrjto take away your freedom to share and change the works.  By contrast,
15*38fd1498Szrjthe GNU General Public License is intended to guarantee your freedom to
16*38fd1498Szrjshare and change all versions of a program--to make sure it remains free
17*38fd1498Szrjsoftware for all its users.  We, the Free Software Foundation, use the
18*38fd1498SzrjGNU General Public License for most of our software; it applies also to
19*38fd1498Szrjany other work released this way by its authors.  You can apply it to
20*38fd1498Szrjyour programs, too.
21*38fd1498Szrj
22*38fd1498Szrj  When we speak of free software, we are referring to freedom, not
23*38fd1498Szrjprice.  Our General Public Licenses are designed to make sure that you
24*38fd1498Szrjhave the freedom to distribute copies of free software (and charge for
25*38fd1498Szrjthem if you wish), that you receive source code or can get it if you
26*38fd1498Szrjwant it, that you can change the software or use pieces of it in new
27*38fd1498Szrjfree programs, and that you know you can do these things.
28*38fd1498Szrj
29*38fd1498Szrj  To protect your rights, we need to prevent others from denying you
30*38fd1498Szrjthese rights or asking you to surrender the rights.  Therefore, you have
31*38fd1498Szrjcertain responsibilities if you distribute copies of the software, or if
32*38fd1498Szrjyou modify it: responsibilities to respect the freedom of others.
33*38fd1498Szrj
34*38fd1498Szrj  For example, if you distribute copies of such a program, whether
35*38fd1498Szrjgratis or for a fee, you must pass on to the recipients the same
36*38fd1498Szrjfreedoms that you received.  You must make sure that they, too, receive
37*38fd1498Szrjor can get the source code.  And you must show them these terms so they
38*38fd1498Szrjknow their rights.
39*38fd1498Szrj
40*38fd1498Szrj  Developers that use the GNU GPL protect your rights with two steps:
41*38fd1498Szrj(1) assert copyright on the software, and (2) offer you this License
42*38fd1498Szrjgiving you legal permission to copy, distribute and/or modify it.
43*38fd1498Szrj
44*38fd1498Szrj  For the developers' and authors' protection, the GPL clearly explains
45*38fd1498Szrjthat there is no warranty for this free software.  For both users' and
46*38fd1498Szrjauthors' sake, the GPL requires that modified versions be marked as
47*38fd1498Szrjchanged, so that their problems will not be attributed erroneously to
48*38fd1498Szrjauthors of previous versions.
49*38fd1498Szrj
50*38fd1498Szrj  Some devices are designed to deny users access to install or run
51*38fd1498Szrjmodified versions of the software inside them, although the manufacturer
52*38fd1498Szrjcan do so.  This is fundamentally incompatible with the aim of
53*38fd1498Szrjprotecting users' freedom to change the software.  The systematic
54*38fd1498Szrjpattern of such abuse occurs in the area of products for individuals to
55*38fd1498Szrjuse, which is precisely where it is most unacceptable.  Therefore, we
56*38fd1498Szrjhave designed this version of the GPL to prohibit the practice for those
57*38fd1498Szrjproducts.  If such problems arise substantially in other domains, we
58*38fd1498Szrjstand ready to extend this provision to those domains in future versions
59*38fd1498Szrjof the GPL, as needed to protect the freedom of users.
60*38fd1498Szrj
61*38fd1498Szrj  Finally, every program is threatened constantly by software patents.
62*38fd1498SzrjStates should not allow patents to restrict development and use of
63*38fd1498Szrjsoftware on general-purpose computers, but in those that do, we wish to
64*38fd1498Szrjavoid the special danger that patents applied to a free program could
65*38fd1498Szrjmake it effectively proprietary.  To prevent this, the GPL assures that
66*38fd1498Szrjpatents cannot be used to render the program non-free.
67*38fd1498Szrj
68*38fd1498Szrj  The precise terms and conditions for copying, distribution and
69*38fd1498Szrjmodification follow.
70*38fd1498Szrj
71*38fd1498Szrj                       TERMS AND CONDITIONS
72*38fd1498Szrj
73*38fd1498Szrj  0. Definitions.
74*38fd1498Szrj
75*38fd1498Szrj  "This License" refers to version 3 of the GNU General Public License.
76*38fd1498Szrj
77*38fd1498Szrj  "Copyright" also means copyright-like laws that apply to other kinds of
78*38fd1498Szrjworks, such as semiconductor masks.
79*38fd1498Szrj
80*38fd1498Szrj  "The Program" refers to any copyrightable work licensed under this
81*38fd1498SzrjLicense.  Each licensee is addressed as "you".  "Licensees" and
82*38fd1498Szrj"recipients" may be individuals or organizations.
83*38fd1498Szrj
84*38fd1498Szrj  To "modify" a work means to copy from or adapt all or part of the work
85*38fd1498Szrjin a fashion requiring copyright permission, other than the making of an
86*38fd1498Szrjexact copy.  The resulting work is called a "modified version" of the
87*38fd1498Szrjearlier work or a work "based on" the earlier work.
88*38fd1498Szrj
89*38fd1498Szrj  A "covered work" means either the unmodified Program or a work based
90*38fd1498Szrjon the Program.
91*38fd1498Szrj
92*38fd1498Szrj  To "propagate" a work means to do anything with it that, without
93*38fd1498Szrjpermission, would make you directly or secondarily liable for
94*38fd1498Szrjinfringement under applicable copyright law, except executing it on a
95*38fd1498Szrjcomputer or modifying a private copy.  Propagation includes copying,
96*38fd1498Szrjdistribution (with or without modification), making available to the
97*38fd1498Szrjpublic, and in some countries other activities as well.
98*38fd1498Szrj
99*38fd1498Szrj  To "convey" a work means any kind of propagation that enables other
100*38fd1498Szrjparties to make or receive copies.  Mere interaction with a user through
101*38fd1498Szrja computer network, with no transfer of a copy, is not conveying.
102*38fd1498Szrj
103*38fd1498Szrj  An interactive user interface displays "Appropriate Legal Notices"
104*38fd1498Szrjto the extent that it includes a convenient and prominently visible
105*38fd1498Szrjfeature that (1) displays an appropriate copyright notice, and (2)
106*38fd1498Szrjtells the user that there is no warranty for the work (except to the
107*38fd1498Szrjextent that warranties are provided), that licensees may convey the
108*38fd1498Szrjwork under this License, and how to view a copy of this License.  If
109*38fd1498Szrjthe interface presents a list of user commands or options, such as a
110*38fd1498Szrjmenu, a prominent item in the list meets this criterion.
111*38fd1498Szrj
112*38fd1498Szrj  1. Source Code.
113*38fd1498Szrj
114*38fd1498Szrj  The "source code" for a work means the preferred form of the work
115*38fd1498Szrjfor making modifications to it.  "Object code" means any non-source
116*38fd1498Szrjform of a work.
117*38fd1498Szrj
118*38fd1498Szrj  A "Standard Interface" means an interface that either is an official
119*38fd1498Szrjstandard defined by a recognized standards body, or, in the case of
120*38fd1498Szrjinterfaces specified for a particular programming language, one that
121*38fd1498Szrjis widely used among developers working in that language.
122*38fd1498Szrj
123*38fd1498Szrj  The "System Libraries" of an executable work include anything, other
124*38fd1498Szrjthan the work as a whole, that (a) is included in the normal form of
125*38fd1498Szrjpackaging a Major Component, but which is not part of that Major
126*38fd1498SzrjComponent, and (b) serves only to enable use of the work with that
127*38fd1498SzrjMajor Component, or to implement a Standard Interface for which an
128*38fd1498Szrjimplementation is available to the public in source code form.  A
129*38fd1498Szrj"Major Component", in this context, means a major essential component
130*38fd1498Szrj(kernel, window system, and so on) of the specific operating system
131*38fd1498Szrj(if any) on which the executable work runs, or a compiler used to
132*38fd1498Szrjproduce the work, or an object code interpreter used to run it.
133*38fd1498Szrj
134*38fd1498Szrj  The "Corresponding Source" for a work in object code form means all
135*38fd1498Szrjthe source code needed to generate, install, and (for an executable
136*38fd1498Szrjwork) run the object code and to modify the work, including scripts to
137*38fd1498Szrjcontrol those activities.  However, it does not include the work's
138*38fd1498SzrjSystem Libraries, or general-purpose tools or generally available free
139*38fd1498Szrjprograms which are used unmodified in performing those activities but
140*38fd1498Szrjwhich are not part of the work.  For example, Corresponding Source
141*38fd1498Szrjincludes interface definition files associated with source files for
142*38fd1498Szrjthe work, and the source code for shared libraries and dynamically
143*38fd1498Szrjlinked subprograms that the work is specifically designed to require,
144*38fd1498Szrjsuch as by intimate data communication or control flow between those
145*38fd1498Szrjsubprograms and other parts of the work.
146*38fd1498Szrj
147*38fd1498Szrj  The Corresponding Source need not include anything that users
148*38fd1498Szrjcan regenerate automatically from other parts of the Corresponding
149*38fd1498SzrjSource.
150*38fd1498Szrj
151*38fd1498Szrj  The Corresponding Source for a work in source code form is that
152*38fd1498Szrjsame work.
153*38fd1498Szrj
154*38fd1498Szrj  2. Basic Permissions.
155*38fd1498Szrj
156*38fd1498Szrj  All rights granted under this License are granted for the term of
157*38fd1498Szrjcopyright on the Program, and are irrevocable provided the stated
158*38fd1498Szrjconditions are met.  This License explicitly affirms your unlimited
159*38fd1498Szrjpermission to run the unmodified Program.  The output from running a
160*38fd1498Szrjcovered work is covered by this License only if the output, given its
161*38fd1498Szrjcontent, constitutes a covered work.  This License acknowledges your
162*38fd1498Szrjrights of fair use or other equivalent, as provided by copyright law.
163*38fd1498Szrj
164*38fd1498Szrj  You may make, run and propagate covered works that you do not
165*38fd1498Szrjconvey, without conditions so long as your license otherwise remains
166*38fd1498Szrjin force.  You may convey covered works to others for the sole purpose
167*38fd1498Szrjof having them make modifications exclusively for you, or provide you
168*38fd1498Szrjwith facilities for running those works, provided that you comply with
169*38fd1498Szrjthe terms of this License in conveying all material for which you do
170*38fd1498Szrjnot control copyright.  Those thus making or running the covered works
171*38fd1498Szrjfor you must do so exclusively on your behalf, under your direction
172*38fd1498Szrjand control, on terms that prohibit them from making any copies of
173*38fd1498Szrjyour copyrighted material outside their relationship with you.
174*38fd1498Szrj
175*38fd1498Szrj  Conveying under any other circumstances is permitted solely under
176*38fd1498Szrjthe conditions stated below.  Sublicensing is not allowed; section 10
177*38fd1498Szrjmakes it unnecessary.
178*38fd1498Szrj
179*38fd1498Szrj  3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180*38fd1498Szrj
181*38fd1498Szrj  No covered work shall be deemed part of an effective technological
182*38fd1498Szrjmeasure under any applicable law fulfilling obligations under article
183*38fd1498Szrj11 of the WIPO copyright treaty adopted on 20 December 1996, or
184*38fd1498Szrjsimilar laws prohibiting or restricting circumvention of such
185*38fd1498Szrjmeasures.
186*38fd1498Szrj
187*38fd1498Szrj  When you convey a covered work, you waive any legal power to forbid
188*38fd1498Szrjcircumvention of technological measures to the extent such circumvention
189*38fd1498Szrjis effected by exercising rights under this License with respect to
190*38fd1498Szrjthe covered work, and you disclaim any intention to limit operation or
191*38fd1498Szrjmodification of the work as a means of enforcing, against the work's
192*38fd1498Szrjusers, your or third parties' legal rights to forbid circumvention of
193*38fd1498Szrjtechnological measures.
194*38fd1498Szrj
195*38fd1498Szrj  4. Conveying Verbatim Copies.
196*38fd1498Szrj
197*38fd1498Szrj  You may convey verbatim copies of the Program's source code as you
198*38fd1498Szrjreceive it, in any medium, provided that you conspicuously and
199*38fd1498Szrjappropriately publish on each copy an appropriate copyright notice;
200*38fd1498Szrjkeep intact all notices stating that this License and any
201*38fd1498Szrjnon-permissive terms added in accord with section 7 apply to the code;
202*38fd1498Szrjkeep intact all notices of the absence of any warranty; and give all
203*38fd1498Szrjrecipients a copy of this License along with the Program.
204*38fd1498Szrj
205*38fd1498Szrj  You may charge any price or no price for each copy that you convey,
206*38fd1498Szrjand you may offer support or warranty protection for a fee.
207*38fd1498Szrj
208*38fd1498Szrj  5. Conveying Modified Source Versions.
209*38fd1498Szrj
210*38fd1498Szrj  You may convey a work based on the Program, or the modifications to
211*38fd1498Szrjproduce it from the Program, in the form of source code under the
212*38fd1498Szrjterms of section 4, provided that you also meet all of these conditions:
213*38fd1498Szrj
214*38fd1498Szrj    a) The work must carry prominent notices stating that you modified
215*38fd1498Szrj    it, and giving a relevant date.
216*38fd1498Szrj
217*38fd1498Szrj    b) The work must carry prominent notices stating that it is
218*38fd1498Szrj    released under this License and any conditions added under section
219*38fd1498Szrj    7.  This requirement modifies the requirement in section 4 to
220*38fd1498Szrj    "keep intact all notices".
221*38fd1498Szrj
222*38fd1498Szrj    c) You must license the entire work, as a whole, under this
223*38fd1498Szrj    License to anyone who comes into possession of a copy.  This
224*38fd1498Szrj    License will therefore apply, along with any applicable section 7
225*38fd1498Szrj    additional terms, to the whole of the work, and all its parts,
226*38fd1498Szrj    regardless of how they are packaged.  This License gives no
227*38fd1498Szrj    permission to license the work in any other way, but it does not
228*38fd1498Szrj    invalidate such permission if you have separately received it.
229*38fd1498Szrj
230*38fd1498Szrj    d) If the work has interactive user interfaces, each must display
231*38fd1498Szrj    Appropriate Legal Notices; however, if the Program has interactive
232*38fd1498Szrj    interfaces that do not display Appropriate Legal Notices, your
233*38fd1498Szrj    work need not make them do so.
234*38fd1498Szrj
235*38fd1498Szrj  A compilation of a covered work with other separate and independent
236*38fd1498Szrjworks, which are not by their nature extensions of the covered work,
237*38fd1498Szrjand which are not combined with it such as to form a larger program,
238*38fd1498Szrjin or on a volume of a storage or distribution medium, is called an
239*38fd1498Szrj"aggregate" if the compilation and its resulting copyright are not
240*38fd1498Szrjused to limit the access or legal rights of the compilation's users
241*38fd1498Szrjbeyond what the individual works permit.  Inclusion of a covered work
242*38fd1498Szrjin an aggregate does not cause this License to apply to the other
243*38fd1498Szrjparts of the aggregate.
244*38fd1498Szrj
245*38fd1498Szrj  6. Conveying Non-Source Forms.
246*38fd1498Szrj
247*38fd1498Szrj  You may convey a covered work in object code form under the terms
248*38fd1498Szrjof sections 4 and 5, provided that you also convey the
249*38fd1498Szrjmachine-readable Corresponding Source under the terms of this License,
250*38fd1498Szrjin one of these ways:
251*38fd1498Szrj
252*38fd1498Szrj    a) Convey the object code in, or embodied in, a physical product
253*38fd1498Szrj    (including a physical distribution medium), accompanied by the
254*38fd1498Szrj    Corresponding Source fixed on a durable physical medium
255*38fd1498Szrj    customarily used for software interchange.
256*38fd1498Szrj
257*38fd1498Szrj    b) Convey the object code in, or embodied in, a physical product
258*38fd1498Szrj    (including a physical distribution medium), accompanied by a
259*38fd1498Szrj    written offer, valid for at least three years and valid for as
260*38fd1498Szrj    long as you offer spare parts or customer support for that product
261*38fd1498Szrj    model, to give anyone who possesses the object code either (1) a
262*38fd1498Szrj    copy of the Corresponding Source for all the software in the
263*38fd1498Szrj    product that is covered by this License, on a durable physical
264*38fd1498Szrj    medium customarily used for software interchange, for a price no
265*38fd1498Szrj    more than your reasonable cost of physically performing this
266*38fd1498Szrj    conveying of source, or (2) access to copy the
267*38fd1498Szrj    Corresponding Source from a network server at no charge.
268*38fd1498Szrj
269*38fd1498Szrj    c) Convey individual copies of the object code with a copy of the
270*38fd1498Szrj    written offer to provide the Corresponding Source.  This
271*38fd1498Szrj    alternative is allowed only occasionally and noncommercially, and
272*38fd1498Szrj    only if you received the object code with such an offer, in accord
273*38fd1498Szrj    with subsection 6b.
274*38fd1498Szrj
275*38fd1498Szrj    d) Convey the object code by offering access from a designated
276*38fd1498Szrj    place (gratis or for a charge), and offer equivalent access to the
277*38fd1498Szrj    Corresponding Source in the same way through the same place at no
278*38fd1498Szrj    further charge.  You need not require recipients to copy the
279*38fd1498Szrj    Corresponding Source along with the object code.  If the place to
280*38fd1498Szrj    copy the object code is a network server, the Corresponding Source
281*38fd1498Szrj    may be on a different server (operated by you or a third party)
282*38fd1498Szrj    that supports equivalent copying facilities, provided you maintain
283*38fd1498Szrj    clear directions next to the object code saying where to find the
284*38fd1498Szrj    Corresponding Source.  Regardless of what server hosts the
285*38fd1498Szrj    Corresponding Source, you remain obligated to ensure that it is
286*38fd1498Szrj    available for as long as needed to satisfy these requirements.
287*38fd1498Szrj
288*38fd1498Szrj    e) Convey the object code using peer-to-peer transmission, provided
289*38fd1498Szrj    you inform other peers where the object code and Corresponding
290*38fd1498Szrj    Source of the work are being offered to the general public at no
291*38fd1498Szrj    charge under subsection 6d.
292*38fd1498Szrj
293*38fd1498Szrj  A separable portion of the object code, whose source code is excluded
294*38fd1498Szrjfrom the Corresponding Source as a System Library, need not be
295*38fd1498Szrjincluded in conveying the object code work.
296*38fd1498Szrj
297*38fd1498Szrj  A "User Product" is either (1) a "consumer product", which means any
298*38fd1498Szrjtangible personal property which is normally used for personal, family,
299*38fd1498Szrjor household purposes, or (2) anything designed or sold for incorporation
300*38fd1498Szrjinto a dwelling.  In determining whether a product is a consumer product,
301*38fd1498Szrjdoubtful cases shall be resolved in favor of coverage.  For a particular
302*38fd1498Szrjproduct received by a particular user, "normally used" refers to a
303*38fd1498Szrjtypical or common use of that class of product, regardless of the status
304*38fd1498Szrjof the particular user or of the way in which the particular user
305*38fd1498Szrjactually uses, or expects or is expected to use, the product.  A product
306*38fd1498Szrjis a consumer product regardless of whether the product has substantial
307*38fd1498Szrjcommercial, industrial or non-consumer uses, unless such uses represent
308*38fd1498Szrjthe only significant mode of use of the product.
309*38fd1498Szrj
310*38fd1498Szrj  "Installation Information" for a User Product means any methods,
311*38fd1498Szrjprocedures, authorization keys, or other information required to install
312*38fd1498Szrjand execute modified versions of a covered work in that User Product from
313*38fd1498Szrja modified version of its Corresponding Source.  The information must
314*38fd1498Szrjsuffice to ensure that the continued functioning of the modified object
315*38fd1498Szrjcode is in no case prevented or interfered with solely because
316*38fd1498Szrjmodification has been made.
317*38fd1498Szrj
318*38fd1498Szrj  If you convey an object code work under this section in, or with, or
319*38fd1498Szrjspecifically for use in, a User Product, and the conveying occurs as
320*38fd1498Szrjpart of a transaction in which the right of possession and use of the
321*38fd1498SzrjUser Product is transferred to the recipient in perpetuity or for a
322*38fd1498Szrjfixed term (regardless of how the transaction is characterized), the
323*38fd1498SzrjCorresponding Source conveyed under this section must be accompanied
324*38fd1498Szrjby the Installation Information.  But this requirement does not apply
325*38fd1498Szrjif neither you nor any third party retains the ability to install
326*38fd1498Szrjmodified object code on the User Product (for example, the work has
327*38fd1498Szrjbeen installed in ROM).
328*38fd1498Szrj
329*38fd1498Szrj  The requirement to provide Installation Information does not include a
330*38fd1498Szrjrequirement to continue to provide support service, warranty, or updates
331*38fd1498Szrjfor a work that has been modified or installed by the recipient, or for
332*38fd1498Szrjthe User Product in which it has been modified or installed.  Access to a
333*38fd1498Szrjnetwork may be denied when the modification itself materially and
334*38fd1498Szrjadversely affects the operation of the network or violates the rules and
335*38fd1498Szrjprotocols for communication across the network.
336*38fd1498Szrj
337*38fd1498Szrj  Corresponding Source conveyed, and Installation Information provided,
338*38fd1498Szrjin accord with this section must be in a format that is publicly
339*38fd1498Szrjdocumented (and with an implementation available to the public in
340*38fd1498Szrjsource code form), and must require no special password or key for
341*38fd1498Szrjunpacking, reading or copying.
342*38fd1498Szrj
343*38fd1498Szrj  7. Additional Terms.
344*38fd1498Szrj
345*38fd1498Szrj  "Additional permissions" are terms that supplement the terms of this
346*38fd1498SzrjLicense by making exceptions from one or more of its conditions.
347*38fd1498SzrjAdditional permissions that are applicable to the entire Program shall
348*38fd1498Szrjbe treated as though they were included in this License, to the extent
349*38fd1498Szrjthat they are valid under applicable law.  If additional permissions
350*38fd1498Szrjapply only to part of the Program, that part may be used separately
351*38fd1498Szrjunder those permissions, but the entire Program remains governed by
352*38fd1498Szrjthis License without regard to the additional permissions.
353*38fd1498Szrj
354*38fd1498Szrj  When you convey a copy of a covered work, you may at your option
355*38fd1498Szrjremove any additional permissions from that copy, or from any part of
356*38fd1498Szrjit.  (Additional permissions may be written to require their own
357*38fd1498Szrjremoval in certain cases when you modify the work.)  You may place
358*38fd1498Szrjadditional permissions on material, added by you to a covered work,
359*38fd1498Szrjfor which you have or can give appropriate copyright permission.
360*38fd1498Szrj
361*38fd1498Szrj  Notwithstanding any other provision of this License, for material you
362*38fd1498Szrjadd to a covered work, you may (if authorized by the copyright holders of
363*38fd1498Szrjthat material) supplement the terms of this License with terms:
364*38fd1498Szrj
365*38fd1498Szrj    a) Disclaiming warranty or limiting liability differently from the
366*38fd1498Szrj    terms of sections 15 and 16 of this License; or
367*38fd1498Szrj
368*38fd1498Szrj    b) Requiring preservation of specified reasonable legal notices or
369*38fd1498Szrj    author attributions in that material or in the Appropriate Legal
370*38fd1498Szrj    Notices displayed by works containing it; or
371*38fd1498Szrj
372*38fd1498Szrj    c) Prohibiting misrepresentation of the origin of that material, or
373*38fd1498Szrj    requiring that modified versions of such material be marked in
374*38fd1498Szrj    reasonable ways as different from the original version; or
375*38fd1498Szrj
376*38fd1498Szrj    d) Limiting the use for publicity purposes of names of licensors or
377*38fd1498Szrj    authors of the material; or
378*38fd1498Szrj
379*38fd1498Szrj    e) Declining to grant rights under trademark law for use of some
380*38fd1498Szrj    trade names, trademarks, or service marks; or
381*38fd1498Szrj
382*38fd1498Szrj    f) Requiring indemnification of licensors and authors of that
383*38fd1498Szrj    material by anyone who conveys the material (or modified versions of
384*38fd1498Szrj    it) with contractual assumptions of liability to the recipient, for
385*38fd1498Szrj    any liability that these contractual assumptions directly impose on
386*38fd1498Szrj    those licensors and authors.
387*38fd1498Szrj
388*38fd1498Szrj  All other non-permissive additional terms are considered "further
389*38fd1498Szrjrestrictions" within the meaning of section 10.  If the Program as you
390*38fd1498Szrjreceived it, or any part of it, contains a notice stating that it is
391*38fd1498Szrjgoverned by this License along with a term that is a further
392*38fd1498Szrjrestriction, you may remove that term.  If a license document contains
393*38fd1498Szrja further restriction but permits relicensing or conveying under this
394*38fd1498SzrjLicense, you may add to a covered work material governed by the terms
395*38fd1498Szrjof that license document, provided that the further restriction does
396*38fd1498Szrjnot survive such relicensing or conveying.
397*38fd1498Szrj
398*38fd1498Szrj  If you add terms to a covered work in accord with this section, you
399*38fd1498Szrjmust place, in the relevant source files, a statement of the
400*38fd1498Szrjadditional terms that apply to those files, or a notice indicating
401*38fd1498Szrjwhere to find the applicable terms.
402*38fd1498Szrj
403*38fd1498Szrj  Additional terms, permissive or non-permissive, may be stated in the
404*38fd1498Szrjform of a separately written license, or stated as exceptions;
405*38fd1498Szrjthe above requirements apply either way.
406*38fd1498Szrj
407*38fd1498Szrj  8. Termination.
408*38fd1498Szrj
409*38fd1498Szrj  You may not propagate or modify a covered work except as expressly
410*38fd1498Szrjprovided under this License.  Any attempt otherwise to propagate or
411*38fd1498Szrjmodify it is void, and will automatically terminate your rights under
412*38fd1498Szrjthis License (including any patent licenses granted under the third
413*38fd1498Szrjparagraph of section 11).
414*38fd1498Szrj
415*38fd1498Szrj  However, if you cease all violation of this License, then your
416*38fd1498Szrjlicense from a particular copyright holder is reinstated (a)
417*38fd1498Szrjprovisionally, unless and until the copyright holder explicitly and
418*38fd1498Szrjfinally terminates your license, and (b) permanently, if the copyright
419*38fd1498Szrjholder fails to notify you of the violation by some reasonable means
420*38fd1498Szrjprior to 60 days after the cessation.
421*38fd1498Szrj
422*38fd1498Szrj  Moreover, your license from a particular copyright holder is
423*38fd1498Szrjreinstated permanently if the copyright holder notifies you of the
424*38fd1498Szrjviolation by some reasonable means, this is the first time you have
425*38fd1498Szrjreceived notice of violation of this License (for any work) from that
426*38fd1498Szrjcopyright holder, and you cure the violation prior to 30 days after
427*38fd1498Szrjyour receipt of the notice.
428*38fd1498Szrj
429*38fd1498Szrj  Termination of your rights under this section does not terminate the
430*38fd1498Szrjlicenses of parties who have received copies or rights from you under
431*38fd1498Szrjthis License.  If your rights have been terminated and not permanently
432*38fd1498Szrjreinstated, you do not qualify to receive new licenses for the same
433*38fd1498Szrjmaterial under section 10.
434*38fd1498Szrj
435*38fd1498Szrj  9. Acceptance Not Required for Having Copies.
436*38fd1498Szrj
437*38fd1498Szrj  You are not required to accept this License in order to receive or
438*38fd1498Szrjrun a copy of the Program.  Ancillary propagation of a covered work
439*38fd1498Szrjoccurring solely as a consequence of using peer-to-peer transmission
440*38fd1498Szrjto receive a copy likewise does not require acceptance.  However,
441*38fd1498Szrjnothing other than this License grants you permission to propagate or
442*38fd1498Szrjmodify any covered work.  These actions infringe copyright if you do
443*38fd1498Szrjnot accept this License.  Therefore, by modifying or propagating a
444*38fd1498Szrjcovered work, you indicate your acceptance of this License to do so.
445*38fd1498Szrj
446*38fd1498Szrj  10. Automatic Licensing of Downstream Recipients.
447*38fd1498Szrj
448*38fd1498Szrj  Each time you convey a covered work, the recipient automatically
449*38fd1498Szrjreceives a license from the original licensors, to run, modify and
450*38fd1498Szrjpropagate that work, subject to this License.  You are not responsible
451*38fd1498Szrjfor enforcing compliance by third parties with this License.
452*38fd1498Szrj
453*38fd1498Szrj  An "entity transaction" is a transaction transferring control of an
454*38fd1498Szrjorganization, or substantially all assets of one, or subdividing an
455*38fd1498Szrjorganization, or merging organizations.  If propagation of a covered
456*38fd1498Szrjwork results from an entity transaction, each party to that
457*38fd1498Szrjtransaction who receives a copy of the work also receives whatever
458*38fd1498Szrjlicenses to the work the party's predecessor in interest had or could
459*38fd1498Szrjgive under the previous paragraph, plus a right to possession of the
460*38fd1498SzrjCorresponding Source of the work from the predecessor in interest, if
461*38fd1498Szrjthe predecessor has it or can get it with reasonable efforts.
462*38fd1498Szrj
463*38fd1498Szrj  You may not impose any further restrictions on the exercise of the
464*38fd1498Szrjrights granted or affirmed under this License.  For example, you may
465*38fd1498Szrjnot impose a license fee, royalty, or other charge for exercise of
466*38fd1498Szrjrights granted under this License, and you may not initiate litigation
467*38fd1498Szrj(including a cross-claim or counterclaim in a lawsuit) alleging that
468*38fd1498Szrjany patent claim is infringed by making, using, selling, offering for
469*38fd1498Szrjsale, or importing the Program or any portion of it.
470*38fd1498Szrj
471*38fd1498Szrj  11. Patents.
472*38fd1498Szrj
473*38fd1498Szrj  A "contributor" is a copyright holder who authorizes use under this
474*38fd1498SzrjLicense of the Program or a work on which the Program is based.  The
475*38fd1498Szrjwork thus licensed is called the contributor's "contributor version".
476*38fd1498Szrj
477*38fd1498Szrj  A contributor's "essential patent claims" are all patent claims
478*38fd1498Szrjowned or controlled by the contributor, whether already acquired or
479*38fd1498Szrjhereafter acquired, that would be infringed by some manner, permitted
480*38fd1498Szrjby this License, of making, using, or selling its contributor version,
481*38fd1498Szrjbut do not include claims that would be infringed only as a
482*38fd1498Szrjconsequence of further modification of the contributor version.  For
483*38fd1498Szrjpurposes of this definition, "control" includes the right to grant
484*38fd1498Szrjpatent sublicenses in a manner consistent with the requirements of
485*38fd1498Szrjthis License.
486*38fd1498Szrj
487*38fd1498Szrj  Each contributor grants you a non-exclusive, worldwide, royalty-free
488*38fd1498Szrjpatent license under the contributor's essential patent claims, to
489*38fd1498Szrjmake, use, sell, offer for sale, import and otherwise run, modify and
490*38fd1498Szrjpropagate the contents of its contributor version.
491*38fd1498Szrj
492*38fd1498Szrj  In the following three paragraphs, a "patent license" is any express
493*38fd1498Szrjagreement or commitment, however denominated, not to enforce a patent
494*38fd1498Szrj(such as an express permission to practice a patent or covenant not to
495*38fd1498Szrjsue for patent infringement).  To "grant" such a patent license to a
496*38fd1498Szrjparty means to make such an agreement or commitment not to enforce a
497*38fd1498Szrjpatent against the party.
498*38fd1498Szrj
499*38fd1498Szrj  If you convey a covered work, knowingly relying on a patent license,
500*38fd1498Szrjand the Corresponding Source of the work is not available for anyone
501*38fd1498Szrjto copy, free of charge and under the terms of this License, through a
502*38fd1498Szrjpublicly available network server or other readily accessible means,
503*38fd1498Szrjthen you must either (1) cause the Corresponding Source to be so
504*38fd1498Szrjavailable, or (2) arrange to deprive yourself of the benefit of the
505*38fd1498Szrjpatent license for this particular work, or (3) arrange, in a manner
506*38fd1498Szrjconsistent with the requirements of this License, to extend the patent
507*38fd1498Szrjlicense to downstream recipients.  "Knowingly relying" means you have
508*38fd1498Szrjactual knowledge that, but for the patent license, your conveying the
509*38fd1498Szrjcovered work in a country, or your recipient's use of the covered work
510*38fd1498Szrjin a country, would infringe one or more identifiable patents in that
511*38fd1498Szrjcountry that you have reason to believe are valid.
512*38fd1498Szrj
513*38fd1498Szrj  If, pursuant to or in connection with a single transaction or
514*38fd1498Szrjarrangement, you convey, or propagate by procuring conveyance of, a
515*38fd1498Szrjcovered work, and grant a patent license to some of the parties
516*38fd1498Szrjreceiving the covered work authorizing them to use, propagate, modify
517*38fd1498Szrjor convey a specific copy of the covered work, then the patent license
518*38fd1498Szrjyou grant is automatically extended to all recipients of the covered
519*38fd1498Szrjwork and works based on it.
520*38fd1498Szrj
521*38fd1498Szrj  A patent license is "discriminatory" if it does not include within
522*38fd1498Szrjthe scope of its coverage, prohibits the exercise of, or is
523*38fd1498Szrjconditioned on the non-exercise of one or more of the rights that are
524*38fd1498Szrjspecifically granted under this License.  You may not convey a covered
525*38fd1498Szrjwork if you are a party to an arrangement with a third party that is
526*38fd1498Szrjin the business of distributing software, under which you make payment
527*38fd1498Szrjto the third party based on the extent of your activity of conveying
528*38fd1498Szrjthe work, and under which the third party grants, to any of the
529*38fd1498Szrjparties who would receive the covered work from you, a discriminatory
530*38fd1498Szrjpatent license (a) in connection with copies of the covered work
531*38fd1498Szrjconveyed by you (or copies made from those copies), or (b) primarily
532*38fd1498Szrjfor and in connection with specific products or compilations that
533*38fd1498Szrjcontain the covered work, unless you entered into that arrangement,
534*38fd1498Szrjor that patent license was granted, prior to 28 March 2007.
535*38fd1498Szrj
536*38fd1498Szrj  Nothing in this License shall be construed as excluding or limiting
537*38fd1498Szrjany implied license or other defenses to infringement that may
538*38fd1498Szrjotherwise be available to you under applicable patent law.
539*38fd1498Szrj
540*38fd1498Szrj  12. No Surrender of Others' Freedom.
541*38fd1498Szrj
542*38fd1498Szrj  If conditions are imposed on you (whether by court order, agreement or
543*38fd1498Szrjotherwise) that contradict the conditions of this License, they do not
544*38fd1498Szrjexcuse you from the conditions of this License.  If you cannot convey a
545*38fd1498Szrjcovered work so as to satisfy simultaneously your obligations under this
546*38fd1498SzrjLicense and any other pertinent obligations, then as a consequence you may
547*38fd1498Szrjnot convey it at all.  For example, if you agree to terms that obligate you
548*38fd1498Szrjto collect a royalty for further conveying from those to whom you convey
549*38fd1498Szrjthe Program, the only way you could satisfy both those terms and this
550*38fd1498SzrjLicense would be to refrain entirely from conveying the Program.
551*38fd1498Szrj
552*38fd1498Szrj  13. Use with the GNU Affero General Public License.
553*38fd1498Szrj
554*38fd1498Szrj  Notwithstanding any other provision of this License, you have
555*38fd1498Szrjpermission to link or combine any covered work with a work licensed
556*38fd1498Szrjunder version 3 of the GNU Affero General Public License into a single
557*38fd1498Szrjcombined work, and to convey the resulting work.  The terms of this
558*38fd1498SzrjLicense will continue to apply to the part which is the covered work,
559*38fd1498Szrjbut the special requirements of the GNU Affero General Public License,
560*38fd1498Szrjsection 13, concerning interaction through a network will apply to the
561*38fd1498Szrjcombination as such.
562*38fd1498Szrj
563*38fd1498Szrj  14. Revised Versions of this License.
564*38fd1498Szrj
565*38fd1498Szrj  The Free Software Foundation may publish revised and/or new versions of
566*38fd1498Szrjthe GNU General Public License from time to time.  Such new versions will
567*38fd1498Szrjbe similar in spirit to the present version, but may differ in detail to
568*38fd1498Szrjaddress new problems or concerns.
569*38fd1498Szrj
570*38fd1498Szrj  Each version is given a distinguishing version number.  If the
571*38fd1498SzrjProgram specifies that a certain numbered version of the GNU General
572*38fd1498SzrjPublic License "or any later version" applies to it, you have the
573*38fd1498Szrjoption of following the terms and conditions either of that numbered
574*38fd1498Szrjversion or of any later version published by the Free Software
575*38fd1498SzrjFoundation.  If the Program does not specify a version number of the
576*38fd1498SzrjGNU General Public License, you may choose any version ever published
577*38fd1498Szrjby the Free Software Foundation.
578*38fd1498Szrj
579*38fd1498Szrj  If the Program specifies that a proxy can decide which future
580*38fd1498Szrjversions of the GNU General Public License can be used, that proxy's
581*38fd1498Szrjpublic statement of acceptance of a version permanently authorizes you
582*38fd1498Szrjto choose that version for the Program.
583*38fd1498Szrj
584*38fd1498Szrj  Later license versions may give you additional or different
585*38fd1498Szrjpermissions.  However, no additional obligations are imposed on any
586*38fd1498Szrjauthor or copyright holder as a result of your choosing to follow a
587*38fd1498Szrjlater version.
588*38fd1498Szrj
589*38fd1498Szrj  15. Disclaimer of Warranty.
590*38fd1498Szrj
591*38fd1498Szrj  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592*38fd1498SzrjAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593*38fd1498SzrjHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594*38fd1498SzrjOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595*38fd1498SzrjTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596*38fd1498SzrjPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597*38fd1498SzrjIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598*38fd1498SzrjALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599*38fd1498Szrj
600*38fd1498Szrj  16. Limitation of Liability.
601*38fd1498Szrj
602*38fd1498Szrj  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603*38fd1498SzrjWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604*38fd1498SzrjTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605*38fd1498SzrjGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606*38fd1498SzrjUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607*38fd1498SzrjDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608*38fd1498SzrjPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609*38fd1498SzrjEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610*38fd1498SzrjSUCH DAMAGES.
611*38fd1498Szrj
612*38fd1498Szrj  17. Interpretation of Sections 15 and 16.
613*38fd1498Szrj
614*38fd1498Szrj  If the disclaimer of warranty and limitation of liability provided
615*38fd1498Szrjabove cannot be given local legal effect according to their terms,
616*38fd1498Szrjreviewing courts shall apply local law that most closely approximates
617*38fd1498Szrjan absolute waiver of all civil liability in connection with the
618*38fd1498SzrjProgram, unless a warranty or assumption of liability accompanies a
619*38fd1498Szrjcopy of the Program in return for a fee.
620*38fd1498Szrj
621*38fd1498Szrj                     END OF TERMS AND CONDITIONS
622*38fd1498Szrj
623*38fd1498Szrj            How to Apply These Terms to Your New Programs
624*38fd1498Szrj
625*38fd1498Szrj  If you develop a new program, and you want it to be of the greatest
626*38fd1498Szrjpossible use to the public, the best way to achieve this is to make it
627*38fd1498Szrjfree software which everyone can redistribute and change under these terms.
628*38fd1498Szrj
629*38fd1498Szrj  To do so, attach the following notices to the program.  It is safest
630*38fd1498Szrjto attach them to the start of each source file to most effectively
631*38fd1498Szrjstate the exclusion of warranty; and each file should have at least
632*38fd1498Szrjthe "copyright" line and a pointer to where the full notice is found.
633*38fd1498Szrj
634*38fd1498Szrj    <one line to give the program's name and a brief idea of what it does.>
635*38fd1498Szrj    Copyright (C) <year>  <name of author>
636*38fd1498Szrj
637*38fd1498Szrj    This program is free software: you can redistribute it and/or modify
638*38fd1498Szrj    it under the terms of the GNU General Public License as published by
639*38fd1498Szrj    the Free Software Foundation, either version 3 of the License, or
640*38fd1498Szrj    (at your option) any later version.
641*38fd1498Szrj
642*38fd1498Szrj    This program is distributed in the hope that it will be useful,
643*38fd1498Szrj    but WITHOUT ANY WARRANTY; without even the implied warranty of
644*38fd1498Szrj    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
645*38fd1498Szrj    GNU General Public License for more details.
646*38fd1498Szrj
647*38fd1498Szrj    You should have received a copy of the GNU General Public License
648*38fd1498Szrj    along with this program.  If not, see <http://www.gnu.org/licenses/>.
649*38fd1498Szrj
650*38fd1498SzrjAlso add information on how to contact you by electronic and paper mail.
651*38fd1498Szrj
652*38fd1498Szrj  If the program does terminal interaction, make it output a short
653*38fd1498Szrjnotice like this when it starts in an interactive mode:
654*38fd1498Szrj
655*38fd1498Szrj    <program>  Copyright (C) <year>  <name of author>
656*38fd1498Szrj    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657*38fd1498Szrj    This is free software, and you are welcome to redistribute it
658*38fd1498Szrj    under certain conditions; type `show c' for details.
659*38fd1498Szrj
660*38fd1498SzrjThe hypothetical commands `show w' and `show c' should show the appropriate
661*38fd1498Szrjparts of the General Public License.  Of course, your program's commands
662*38fd1498Szrjmight be different; for a GUI interface, you would use an "about box".
663*38fd1498Szrj
664*38fd1498Szrj  You should also get your employer (if you work as a programmer) or school,
665*38fd1498Szrjif any, to sign a "copyright disclaimer" for the program, if necessary.
666*38fd1498SzrjFor more information on this, and how to apply and follow the GNU GPL, see
667*38fd1498Szrj<http://www.gnu.org/licenses/>.
668*38fd1498Szrj
669*38fd1498Szrj  The GNU General Public License does not permit incorporating your program
670*38fd1498Szrjinto proprietary programs.  If your program is a subroutine library, you
671*38fd1498Szrjmay consider it more useful to permit linking proprietary applications with
672*38fd1498Szrjthe library.  If this is what you want to do, use the GNU Lesser General
673*38fd1498SzrjPublic License instead of this License.  But first, please read
674*38fd1498Szrj<http://www.gnu.org/philosophy/why-not-lgpl.html>.
675