xref: /netbsd-src/external/gpl3/gcc/dist/include/COPYING3 (revision 4fee23f98c45552038ad6b5bd05124a41302fb01)
1*4fee23f9Smrg                    GNU GENERAL PUBLIC LICENSE
2*4fee23f9Smrg                       Version 3, 29 June 2007
3*4fee23f9Smrg
4*4fee23f9Smrg Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
5*4fee23f9Smrg Everyone is permitted to copy and distribute verbatim copies
6*4fee23f9Smrg of this license document, but changing it is not allowed.
7*4fee23f9Smrg
8*4fee23f9Smrg                            Preamble
9*4fee23f9Smrg
10*4fee23f9Smrg  The GNU General Public License is a free, copyleft license for
11*4fee23f9Smrgsoftware and other kinds of works.
12*4fee23f9Smrg
13*4fee23f9Smrg  The licenses for most software and other practical works are designed
14*4fee23f9Smrgto take away your freedom to share and change the works.  By contrast,
15*4fee23f9Smrgthe GNU General Public License is intended to guarantee your freedom to
16*4fee23f9Smrgshare and change all versions of a program--to make sure it remains free
17*4fee23f9Smrgsoftware for all its users.  We, the Free Software Foundation, use the
18*4fee23f9SmrgGNU General Public License for most of our software; it applies also to
19*4fee23f9Smrgany other work released this way by its authors.  You can apply it to
20*4fee23f9Smrgyour programs, too.
21*4fee23f9Smrg
22*4fee23f9Smrg  When we speak of free software, we are referring to freedom, not
23*4fee23f9Smrgprice.  Our General Public Licenses are designed to make sure that you
24*4fee23f9Smrghave the freedom to distribute copies of free software (and charge for
25*4fee23f9Smrgthem if you wish), that you receive source code or can get it if you
26*4fee23f9Smrgwant it, that you can change the software or use pieces of it in new
27*4fee23f9Smrgfree programs, and that you know you can do these things.
28*4fee23f9Smrg
29*4fee23f9Smrg  To protect your rights, we need to prevent others from denying you
30*4fee23f9Smrgthese rights or asking you to surrender the rights.  Therefore, you have
31*4fee23f9Smrgcertain responsibilities if you distribute copies of the software, or if
32*4fee23f9Smrgyou modify it: responsibilities to respect the freedom of others.
33*4fee23f9Smrg
34*4fee23f9Smrg  For example, if you distribute copies of such a program, whether
35*4fee23f9Smrggratis or for a fee, you must pass on to the recipients the same
36*4fee23f9Smrgfreedoms that you received.  You must make sure that they, too, receive
37*4fee23f9Smrgor can get the source code.  And you must show them these terms so they
38*4fee23f9Smrgknow their rights.
39*4fee23f9Smrg
40*4fee23f9Smrg  Developers that use the GNU GPL protect your rights with two steps:
41*4fee23f9Smrg(1) assert copyright on the software, and (2) offer you this License
42*4fee23f9Smrggiving you legal permission to copy, distribute and/or modify it.
43*4fee23f9Smrg
44*4fee23f9Smrg  For the developers' and authors' protection, the GPL clearly explains
45*4fee23f9Smrgthat there is no warranty for this free software.  For both users' and
46*4fee23f9Smrgauthors' sake, the GPL requires that modified versions be marked as
47*4fee23f9Smrgchanged, so that their problems will not be attributed erroneously to
48*4fee23f9Smrgauthors of previous versions.
49*4fee23f9Smrg
50*4fee23f9Smrg  Some devices are designed to deny users access to install or run
51*4fee23f9Smrgmodified versions of the software inside them, although the manufacturer
52*4fee23f9Smrgcan do so.  This is fundamentally incompatible with the aim of
53*4fee23f9Smrgprotecting users' freedom to change the software.  The systematic
54*4fee23f9Smrgpattern of such abuse occurs in the area of products for individuals to
55*4fee23f9Smrguse, which is precisely where it is most unacceptable.  Therefore, we
56*4fee23f9Smrghave designed this version of the GPL to prohibit the practice for those
57*4fee23f9Smrgproducts.  If such problems arise substantially in other domains, we
58*4fee23f9Smrgstand ready to extend this provision to those domains in future versions
59*4fee23f9Smrgof the GPL, as needed to protect the freedom of users.
60*4fee23f9Smrg
61*4fee23f9Smrg  Finally, every program is threatened constantly by software patents.
62*4fee23f9SmrgStates should not allow patents to restrict development and use of
63*4fee23f9Smrgsoftware on general-purpose computers, but in those that do, we wish to
64*4fee23f9Smrgavoid the special danger that patents applied to a free program could
65*4fee23f9Smrgmake it effectively proprietary.  To prevent this, the GPL assures that
66*4fee23f9Smrgpatents cannot be used to render the program non-free.
67*4fee23f9Smrg
68*4fee23f9Smrg  The precise terms and conditions for copying, distribution and
69*4fee23f9Smrgmodification follow.
70*4fee23f9Smrg
71*4fee23f9Smrg                       TERMS AND CONDITIONS
72*4fee23f9Smrg
73*4fee23f9Smrg  0. Definitions.
74*4fee23f9Smrg
75*4fee23f9Smrg  "This License" refers to version 3 of the GNU General Public License.
76*4fee23f9Smrg
77*4fee23f9Smrg  "Copyright" also means copyright-like laws that apply to other kinds of
78*4fee23f9Smrgworks, such as semiconductor masks.
79*4fee23f9Smrg
80*4fee23f9Smrg  "The Program" refers to any copyrightable work licensed under this
81*4fee23f9SmrgLicense.  Each licensee is addressed as "you".  "Licensees" and
82*4fee23f9Smrg"recipients" may be individuals or organizations.
83*4fee23f9Smrg
84*4fee23f9Smrg  To "modify" a work means to copy from or adapt all or part of the work
85*4fee23f9Smrgin a fashion requiring copyright permission, other than the making of an
86*4fee23f9Smrgexact copy.  The resulting work is called a "modified version" of the
87*4fee23f9Smrgearlier work or a work "based on" the earlier work.
88*4fee23f9Smrg
89*4fee23f9Smrg  A "covered work" means either the unmodified Program or a work based
90*4fee23f9Smrgon the Program.
91*4fee23f9Smrg
92*4fee23f9Smrg  To "propagate" a work means to do anything with it that, without
93*4fee23f9Smrgpermission, would make you directly or secondarily liable for
94*4fee23f9Smrginfringement under applicable copyright law, except executing it on a
95*4fee23f9Smrgcomputer or modifying a private copy.  Propagation includes copying,
96*4fee23f9Smrgdistribution (with or without modification), making available to the
97*4fee23f9Smrgpublic, and in some countries other activities as well.
98*4fee23f9Smrg
99*4fee23f9Smrg  To "convey" a work means any kind of propagation that enables other
100*4fee23f9Smrgparties to make or receive copies.  Mere interaction with a user through
101*4fee23f9Smrga computer network, with no transfer of a copy, is not conveying.
102*4fee23f9Smrg
103*4fee23f9Smrg  An interactive user interface displays "Appropriate Legal Notices"
104*4fee23f9Smrgto the extent that it includes a convenient and prominently visible
105*4fee23f9Smrgfeature that (1) displays an appropriate copyright notice, and (2)
106*4fee23f9Smrgtells the user that there is no warranty for the work (except to the
107*4fee23f9Smrgextent that warranties are provided), that licensees may convey the
108*4fee23f9Smrgwork under this License, and how to view a copy of this License.  If
109*4fee23f9Smrgthe interface presents a list of user commands or options, such as a
110*4fee23f9Smrgmenu, a prominent item in the list meets this criterion.
111*4fee23f9Smrg
112*4fee23f9Smrg  1. Source Code.
113*4fee23f9Smrg
114*4fee23f9Smrg  The "source code" for a work means the preferred form of the work
115*4fee23f9Smrgfor making modifications to it.  "Object code" means any non-source
116*4fee23f9Smrgform of a work.
117*4fee23f9Smrg
118*4fee23f9Smrg  A "Standard Interface" means an interface that either is an official
119*4fee23f9Smrgstandard defined by a recognized standards body, or, in the case of
120*4fee23f9Smrginterfaces specified for a particular programming language, one that
121*4fee23f9Smrgis widely used among developers working in that language.
122*4fee23f9Smrg
123*4fee23f9Smrg  The "System Libraries" of an executable work include anything, other
124*4fee23f9Smrgthan the work as a whole, that (a) is included in the normal form of
125*4fee23f9Smrgpackaging a Major Component, but which is not part of that Major
126*4fee23f9SmrgComponent, and (b) serves only to enable use of the work with that
127*4fee23f9SmrgMajor Component, or to implement a Standard Interface for which an
128*4fee23f9Smrgimplementation is available to the public in source code form.  A
129*4fee23f9Smrg"Major Component", in this context, means a major essential component
130*4fee23f9Smrg(kernel, window system, and so on) of the specific operating system
131*4fee23f9Smrg(if any) on which the executable work runs, or a compiler used to
132*4fee23f9Smrgproduce the work, or an object code interpreter used to run it.
133*4fee23f9Smrg
134*4fee23f9Smrg  The "Corresponding Source" for a work in object code form means all
135*4fee23f9Smrgthe source code needed to generate, install, and (for an executable
136*4fee23f9Smrgwork) run the object code and to modify the work, including scripts to
137*4fee23f9Smrgcontrol those activities.  However, it does not include the work's
138*4fee23f9SmrgSystem Libraries, or general-purpose tools or generally available free
139*4fee23f9Smrgprograms which are used unmodified in performing those activities but
140*4fee23f9Smrgwhich are not part of the work.  For example, Corresponding Source
141*4fee23f9Smrgincludes interface definition files associated with source files for
142*4fee23f9Smrgthe work, and the source code for shared libraries and dynamically
143*4fee23f9Smrglinked subprograms that the work is specifically designed to require,
144*4fee23f9Smrgsuch as by intimate data communication or control flow between those
145*4fee23f9Smrgsubprograms and other parts of the work.
146*4fee23f9Smrg
147*4fee23f9Smrg  The Corresponding Source need not include anything that users
148*4fee23f9Smrgcan regenerate automatically from other parts of the Corresponding
149*4fee23f9SmrgSource.
150*4fee23f9Smrg
151*4fee23f9Smrg  The Corresponding Source for a work in source code form is that
152*4fee23f9Smrgsame work.
153*4fee23f9Smrg
154*4fee23f9Smrg  2. Basic Permissions.
155*4fee23f9Smrg
156*4fee23f9Smrg  All rights granted under this License are granted for the term of
157*4fee23f9Smrgcopyright on the Program, and are irrevocable provided the stated
158*4fee23f9Smrgconditions are met.  This License explicitly affirms your unlimited
159*4fee23f9Smrgpermission to run the unmodified Program.  The output from running a
160*4fee23f9Smrgcovered work is covered by this License only if the output, given its
161*4fee23f9Smrgcontent, constitutes a covered work.  This License acknowledges your
162*4fee23f9Smrgrights of fair use or other equivalent, as provided by copyright law.
163*4fee23f9Smrg
164*4fee23f9Smrg  You may make, run and propagate covered works that you do not
165*4fee23f9Smrgconvey, without conditions so long as your license otherwise remains
166*4fee23f9Smrgin force.  You may convey covered works to others for the sole purpose
167*4fee23f9Smrgof having them make modifications exclusively for you, or provide you
168*4fee23f9Smrgwith facilities for running those works, provided that you comply with
169*4fee23f9Smrgthe terms of this License in conveying all material for which you do
170*4fee23f9Smrgnot control copyright.  Those thus making or running the covered works
171*4fee23f9Smrgfor you must do so exclusively on your behalf, under your direction
172*4fee23f9Smrgand control, on terms that prohibit them from making any copies of
173*4fee23f9Smrgyour copyrighted material outside their relationship with you.
174*4fee23f9Smrg
175*4fee23f9Smrg  Conveying under any other circumstances is permitted solely under
176*4fee23f9Smrgthe conditions stated below.  Sublicensing is not allowed; section 10
177*4fee23f9Smrgmakes it unnecessary.
178*4fee23f9Smrg
179*4fee23f9Smrg  3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180*4fee23f9Smrg
181*4fee23f9Smrg  No covered work shall be deemed part of an effective technological
182*4fee23f9Smrgmeasure under any applicable law fulfilling obligations under article
183*4fee23f9Smrg11 of the WIPO copyright treaty adopted on 20 December 1996, or
184*4fee23f9Smrgsimilar laws prohibiting or restricting circumvention of such
185*4fee23f9Smrgmeasures.
186*4fee23f9Smrg
187*4fee23f9Smrg  When you convey a covered work, you waive any legal power to forbid
188*4fee23f9Smrgcircumvention of technological measures to the extent such circumvention
189*4fee23f9Smrgis effected by exercising rights under this License with respect to
190*4fee23f9Smrgthe covered work, and you disclaim any intention to limit operation or
191*4fee23f9Smrgmodification of the work as a means of enforcing, against the work's
192*4fee23f9Smrgusers, your or third parties' legal rights to forbid circumvention of
193*4fee23f9Smrgtechnological measures.
194*4fee23f9Smrg
195*4fee23f9Smrg  4. Conveying Verbatim Copies.
196*4fee23f9Smrg
197*4fee23f9Smrg  You may convey verbatim copies of the Program's source code as you
198*4fee23f9Smrgreceive it, in any medium, provided that you conspicuously and
199*4fee23f9Smrgappropriately publish on each copy an appropriate copyright notice;
200*4fee23f9Smrgkeep intact all notices stating that this License and any
201*4fee23f9Smrgnon-permissive terms added in accord with section 7 apply to the code;
202*4fee23f9Smrgkeep intact all notices of the absence of any warranty; and give all
203*4fee23f9Smrgrecipients a copy of this License along with the Program.
204*4fee23f9Smrg
205*4fee23f9Smrg  You may charge any price or no price for each copy that you convey,
206*4fee23f9Smrgand you may offer support or warranty protection for a fee.
207*4fee23f9Smrg
208*4fee23f9Smrg  5. Conveying Modified Source Versions.
209*4fee23f9Smrg
210*4fee23f9Smrg  You may convey a work based on the Program, or the modifications to
211*4fee23f9Smrgproduce it from the Program, in the form of source code under the
212*4fee23f9Smrgterms of section 4, provided that you also meet all of these conditions:
213*4fee23f9Smrg
214*4fee23f9Smrg    a) The work must carry prominent notices stating that you modified
215*4fee23f9Smrg    it, and giving a relevant date.
216*4fee23f9Smrg
217*4fee23f9Smrg    b) The work must carry prominent notices stating that it is
218*4fee23f9Smrg    released under this License and any conditions added under section
219*4fee23f9Smrg    7.  This requirement modifies the requirement in section 4 to
220*4fee23f9Smrg    "keep intact all notices".
221*4fee23f9Smrg
222*4fee23f9Smrg    c) You must license the entire work, as a whole, under this
223*4fee23f9Smrg    License to anyone who comes into possession of a copy.  This
224*4fee23f9Smrg    License will therefore apply, along with any applicable section 7
225*4fee23f9Smrg    additional terms, to the whole of the work, and all its parts,
226*4fee23f9Smrg    regardless of how they are packaged.  This License gives no
227*4fee23f9Smrg    permission to license the work in any other way, but it does not
228*4fee23f9Smrg    invalidate such permission if you have separately received it.
229*4fee23f9Smrg
230*4fee23f9Smrg    d) If the work has interactive user interfaces, each must display
231*4fee23f9Smrg    Appropriate Legal Notices; however, if the Program has interactive
232*4fee23f9Smrg    interfaces that do not display Appropriate Legal Notices, your
233*4fee23f9Smrg    work need not make them do so.
234*4fee23f9Smrg
235*4fee23f9Smrg  A compilation of a covered work with other separate and independent
236*4fee23f9Smrgworks, which are not by their nature extensions of the covered work,
237*4fee23f9Smrgand which are not combined with it such as to form a larger program,
238*4fee23f9Smrgin or on a volume of a storage or distribution medium, is called an
239*4fee23f9Smrg"aggregate" if the compilation and its resulting copyright are not
240*4fee23f9Smrgused to limit the access or legal rights of the compilation's users
241*4fee23f9Smrgbeyond what the individual works permit.  Inclusion of a covered work
242*4fee23f9Smrgin an aggregate does not cause this License to apply to the other
243*4fee23f9Smrgparts of the aggregate.
244*4fee23f9Smrg
245*4fee23f9Smrg  6. Conveying Non-Source Forms.
246*4fee23f9Smrg
247*4fee23f9Smrg  You may convey a covered work in object code form under the terms
248*4fee23f9Smrgof sections 4 and 5, provided that you also convey the
249*4fee23f9Smrgmachine-readable Corresponding Source under the terms of this License,
250*4fee23f9Smrgin one of these ways:
251*4fee23f9Smrg
252*4fee23f9Smrg    a) Convey the object code in, or embodied in, a physical product
253*4fee23f9Smrg    (including a physical distribution medium), accompanied by the
254*4fee23f9Smrg    Corresponding Source fixed on a durable physical medium
255*4fee23f9Smrg    customarily used for software interchange.
256*4fee23f9Smrg
257*4fee23f9Smrg    b) Convey the object code in, or embodied in, a physical product
258*4fee23f9Smrg    (including a physical distribution medium), accompanied by a
259*4fee23f9Smrg    written offer, valid for at least three years and valid for as
260*4fee23f9Smrg    long as you offer spare parts or customer support for that product
261*4fee23f9Smrg    model, to give anyone who possesses the object code either (1) a
262*4fee23f9Smrg    copy of the Corresponding Source for all the software in the
263*4fee23f9Smrg    product that is covered by this License, on a durable physical
264*4fee23f9Smrg    medium customarily used for software interchange, for a price no
265*4fee23f9Smrg    more than your reasonable cost of physically performing this
266*4fee23f9Smrg    conveying of source, or (2) access to copy the
267*4fee23f9Smrg    Corresponding Source from a network server at no charge.
268*4fee23f9Smrg
269*4fee23f9Smrg    c) Convey individual copies of the object code with a copy of the
270*4fee23f9Smrg    written offer to provide the Corresponding Source.  This
271*4fee23f9Smrg    alternative is allowed only occasionally and noncommercially, and
272*4fee23f9Smrg    only if you received the object code with such an offer, in accord
273*4fee23f9Smrg    with subsection 6b.
274*4fee23f9Smrg
275*4fee23f9Smrg    d) Convey the object code by offering access from a designated
276*4fee23f9Smrg    place (gratis or for a charge), and offer equivalent access to the
277*4fee23f9Smrg    Corresponding Source in the same way through the same place at no
278*4fee23f9Smrg    further charge.  You need not require recipients to copy the
279*4fee23f9Smrg    Corresponding Source along with the object code.  If the place to
280*4fee23f9Smrg    copy the object code is a network server, the Corresponding Source
281*4fee23f9Smrg    may be on a different server (operated by you or a third party)
282*4fee23f9Smrg    that supports equivalent copying facilities, provided you maintain
283*4fee23f9Smrg    clear directions next to the object code saying where to find the
284*4fee23f9Smrg    Corresponding Source.  Regardless of what server hosts the
285*4fee23f9Smrg    Corresponding Source, you remain obligated to ensure that it is
286*4fee23f9Smrg    available for as long as needed to satisfy these requirements.
287*4fee23f9Smrg
288*4fee23f9Smrg    e) Convey the object code using peer-to-peer transmission, provided
289*4fee23f9Smrg    you inform other peers where the object code and Corresponding
290*4fee23f9Smrg    Source of the work are being offered to the general public at no
291*4fee23f9Smrg    charge under subsection 6d.
292*4fee23f9Smrg
293*4fee23f9Smrg  A separable portion of the object code, whose source code is excluded
294*4fee23f9Smrgfrom the Corresponding Source as a System Library, need not be
295*4fee23f9Smrgincluded in conveying the object code work.
296*4fee23f9Smrg
297*4fee23f9Smrg  A "User Product" is either (1) a "consumer product", which means any
298*4fee23f9Smrgtangible personal property which is normally used for personal, family,
299*4fee23f9Smrgor household purposes, or (2) anything designed or sold for incorporation
300*4fee23f9Smrginto a dwelling.  In determining whether a product is a consumer product,
301*4fee23f9Smrgdoubtful cases shall be resolved in favor of coverage.  For a particular
302*4fee23f9Smrgproduct received by a particular user, "normally used" refers to a
303*4fee23f9Smrgtypical or common use of that class of product, regardless of the status
304*4fee23f9Smrgof the particular user or of the way in which the particular user
305*4fee23f9Smrgactually uses, or expects or is expected to use, the product.  A product
306*4fee23f9Smrgis a consumer product regardless of whether the product has substantial
307*4fee23f9Smrgcommercial, industrial or non-consumer uses, unless such uses represent
308*4fee23f9Smrgthe only significant mode of use of the product.
309*4fee23f9Smrg
310*4fee23f9Smrg  "Installation Information" for a User Product means any methods,
311*4fee23f9Smrgprocedures, authorization keys, or other information required to install
312*4fee23f9Smrgand execute modified versions of a covered work in that User Product from
313*4fee23f9Smrga modified version of its Corresponding Source.  The information must
314*4fee23f9Smrgsuffice to ensure that the continued functioning of the modified object
315*4fee23f9Smrgcode is in no case prevented or interfered with solely because
316*4fee23f9Smrgmodification has been made.
317*4fee23f9Smrg
318*4fee23f9Smrg  If you convey an object code work under this section in, or with, or
319*4fee23f9Smrgspecifically for use in, a User Product, and the conveying occurs as
320*4fee23f9Smrgpart of a transaction in which the right of possession and use of the
321*4fee23f9SmrgUser Product is transferred to the recipient in perpetuity or for a
322*4fee23f9Smrgfixed term (regardless of how the transaction is characterized), the
323*4fee23f9SmrgCorresponding Source conveyed under this section must be accompanied
324*4fee23f9Smrgby the Installation Information.  But this requirement does not apply
325*4fee23f9Smrgif neither you nor any third party retains the ability to install
326*4fee23f9Smrgmodified object code on the User Product (for example, the work has
327*4fee23f9Smrgbeen installed in ROM).
328*4fee23f9Smrg
329*4fee23f9Smrg  The requirement to provide Installation Information does not include a
330*4fee23f9Smrgrequirement to continue to provide support service, warranty, or updates
331*4fee23f9Smrgfor a work that has been modified or installed by the recipient, or for
332*4fee23f9Smrgthe User Product in which it has been modified or installed.  Access to a
333*4fee23f9Smrgnetwork may be denied when the modification itself materially and
334*4fee23f9Smrgadversely affects the operation of the network or violates the rules and
335*4fee23f9Smrgprotocols for communication across the network.
336*4fee23f9Smrg
337*4fee23f9Smrg  Corresponding Source conveyed, and Installation Information provided,
338*4fee23f9Smrgin accord with this section must be in a format that is publicly
339*4fee23f9Smrgdocumented (and with an implementation available to the public in
340*4fee23f9Smrgsource code form), and must require no special password or key for
341*4fee23f9Smrgunpacking, reading or copying.
342*4fee23f9Smrg
343*4fee23f9Smrg  7. Additional Terms.
344*4fee23f9Smrg
345*4fee23f9Smrg  "Additional permissions" are terms that supplement the terms of this
346*4fee23f9SmrgLicense by making exceptions from one or more of its conditions.
347*4fee23f9SmrgAdditional permissions that are applicable to the entire Program shall
348*4fee23f9Smrgbe treated as though they were included in this License, to the extent
349*4fee23f9Smrgthat they are valid under applicable law.  If additional permissions
350*4fee23f9Smrgapply only to part of the Program, that part may be used separately
351*4fee23f9Smrgunder those permissions, but the entire Program remains governed by
352*4fee23f9Smrgthis License without regard to the additional permissions.
353*4fee23f9Smrg
354*4fee23f9Smrg  When you convey a copy of a covered work, you may at your option
355*4fee23f9Smrgremove any additional permissions from that copy, or from any part of
356*4fee23f9Smrgit.  (Additional permissions may be written to require their own
357*4fee23f9Smrgremoval in certain cases when you modify the work.)  You may place
358*4fee23f9Smrgadditional permissions on material, added by you to a covered work,
359*4fee23f9Smrgfor which you have or can give appropriate copyright permission.
360*4fee23f9Smrg
361*4fee23f9Smrg  Notwithstanding any other provision of this License, for material you
362*4fee23f9Smrgadd to a covered work, you may (if authorized by the copyright holders of
363*4fee23f9Smrgthat material) supplement the terms of this License with terms:
364*4fee23f9Smrg
365*4fee23f9Smrg    a) Disclaiming warranty or limiting liability differently from the
366*4fee23f9Smrg    terms of sections 15 and 16 of this License; or
367*4fee23f9Smrg
368*4fee23f9Smrg    b) Requiring preservation of specified reasonable legal notices or
369*4fee23f9Smrg    author attributions in that material or in the Appropriate Legal
370*4fee23f9Smrg    Notices displayed by works containing it; or
371*4fee23f9Smrg
372*4fee23f9Smrg    c) Prohibiting misrepresentation of the origin of that material, or
373*4fee23f9Smrg    requiring that modified versions of such material be marked in
374*4fee23f9Smrg    reasonable ways as different from the original version; or
375*4fee23f9Smrg
376*4fee23f9Smrg    d) Limiting the use for publicity purposes of names of licensors or
377*4fee23f9Smrg    authors of the material; or
378*4fee23f9Smrg
379*4fee23f9Smrg    e) Declining to grant rights under trademark law for use of some
380*4fee23f9Smrg    trade names, trademarks, or service marks; or
381*4fee23f9Smrg
382*4fee23f9Smrg    f) Requiring indemnification of licensors and authors of that
383*4fee23f9Smrg    material by anyone who conveys the material (or modified versions of
384*4fee23f9Smrg    it) with contractual assumptions of liability to the recipient, for
385*4fee23f9Smrg    any liability that these contractual assumptions directly impose on
386*4fee23f9Smrg    those licensors and authors.
387*4fee23f9Smrg
388*4fee23f9Smrg  All other non-permissive additional terms are considered "further
389*4fee23f9Smrgrestrictions" within the meaning of section 10.  If the Program as you
390*4fee23f9Smrgreceived it, or any part of it, contains a notice stating that it is
391*4fee23f9Smrggoverned by this License along with a term that is a further
392*4fee23f9Smrgrestriction, you may remove that term.  If a license document contains
393*4fee23f9Smrga further restriction but permits relicensing or conveying under this
394*4fee23f9SmrgLicense, you may add to a covered work material governed by the terms
395*4fee23f9Smrgof that license document, provided that the further restriction does
396*4fee23f9Smrgnot survive such relicensing or conveying.
397*4fee23f9Smrg
398*4fee23f9Smrg  If you add terms to a covered work in accord with this section, you
399*4fee23f9Smrgmust place, in the relevant source files, a statement of the
400*4fee23f9Smrgadditional terms that apply to those files, or a notice indicating
401*4fee23f9Smrgwhere to find the applicable terms.
402*4fee23f9Smrg
403*4fee23f9Smrg  Additional terms, permissive or non-permissive, may be stated in the
404*4fee23f9Smrgform of a separately written license, or stated as exceptions;
405*4fee23f9Smrgthe above requirements apply either way.
406*4fee23f9Smrg
407*4fee23f9Smrg  8. Termination.
408*4fee23f9Smrg
409*4fee23f9Smrg  You may not propagate or modify a covered work except as expressly
410*4fee23f9Smrgprovided under this License.  Any attempt otherwise to propagate or
411*4fee23f9Smrgmodify it is void, and will automatically terminate your rights under
412*4fee23f9Smrgthis License (including any patent licenses granted under the third
413*4fee23f9Smrgparagraph of section 11).
414*4fee23f9Smrg
415*4fee23f9Smrg  However, if you cease all violation of this License, then your
416*4fee23f9Smrglicense from a particular copyright holder is reinstated (a)
417*4fee23f9Smrgprovisionally, unless and until the copyright holder explicitly and
418*4fee23f9Smrgfinally terminates your license, and (b) permanently, if the copyright
419*4fee23f9Smrgholder fails to notify you of the violation by some reasonable means
420*4fee23f9Smrgprior to 60 days after the cessation.
421*4fee23f9Smrg
422*4fee23f9Smrg  Moreover, your license from a particular copyright holder is
423*4fee23f9Smrgreinstated permanently if the copyright holder notifies you of the
424*4fee23f9Smrgviolation by some reasonable means, this is the first time you have
425*4fee23f9Smrgreceived notice of violation of this License (for any work) from that
426*4fee23f9Smrgcopyright holder, and you cure the violation prior to 30 days after
427*4fee23f9Smrgyour receipt of the notice.
428*4fee23f9Smrg
429*4fee23f9Smrg  Termination of your rights under this section does not terminate the
430*4fee23f9Smrglicenses of parties who have received copies or rights from you under
431*4fee23f9Smrgthis License.  If your rights have been terminated and not permanently
432*4fee23f9Smrgreinstated, you do not qualify to receive new licenses for the same
433*4fee23f9Smrgmaterial under section 10.
434*4fee23f9Smrg
435*4fee23f9Smrg  9. Acceptance Not Required for Having Copies.
436*4fee23f9Smrg
437*4fee23f9Smrg  You are not required to accept this License in order to receive or
438*4fee23f9Smrgrun a copy of the Program.  Ancillary propagation of a covered work
439*4fee23f9Smrgoccurring solely as a consequence of using peer-to-peer transmission
440*4fee23f9Smrgto receive a copy likewise does not require acceptance.  However,
441*4fee23f9Smrgnothing other than this License grants you permission to propagate or
442*4fee23f9Smrgmodify any covered work.  These actions infringe copyright if you do
443*4fee23f9Smrgnot accept this License.  Therefore, by modifying or propagating a
444*4fee23f9Smrgcovered work, you indicate your acceptance of this License to do so.
445*4fee23f9Smrg
446*4fee23f9Smrg  10. Automatic Licensing of Downstream Recipients.
447*4fee23f9Smrg
448*4fee23f9Smrg  Each time you convey a covered work, the recipient automatically
449*4fee23f9Smrgreceives a license from the original licensors, to run, modify and
450*4fee23f9Smrgpropagate that work, subject to this License.  You are not responsible
451*4fee23f9Smrgfor enforcing compliance by third parties with this License.
452*4fee23f9Smrg
453*4fee23f9Smrg  An "entity transaction" is a transaction transferring control of an
454*4fee23f9Smrgorganization, or substantially all assets of one, or subdividing an
455*4fee23f9Smrgorganization, or merging organizations.  If propagation of a covered
456*4fee23f9Smrgwork results from an entity transaction, each party to that
457*4fee23f9Smrgtransaction who receives a copy of the work also receives whatever
458*4fee23f9Smrglicenses to the work the party's predecessor in interest had or could
459*4fee23f9Smrggive under the previous paragraph, plus a right to possession of the
460*4fee23f9SmrgCorresponding Source of the work from the predecessor in interest, if
461*4fee23f9Smrgthe predecessor has it or can get it with reasonable efforts.
462*4fee23f9Smrg
463*4fee23f9Smrg  You may not impose any further restrictions on the exercise of the
464*4fee23f9Smrgrights granted or affirmed under this License.  For example, you may
465*4fee23f9Smrgnot impose a license fee, royalty, or other charge for exercise of
466*4fee23f9Smrgrights granted under this License, and you may not initiate litigation
467*4fee23f9Smrg(including a cross-claim or counterclaim in a lawsuit) alleging that
468*4fee23f9Smrgany patent claim is infringed by making, using, selling, offering for
469*4fee23f9Smrgsale, or importing the Program or any portion of it.
470*4fee23f9Smrg
471*4fee23f9Smrg  11. Patents.
472*4fee23f9Smrg
473*4fee23f9Smrg  A "contributor" is a copyright holder who authorizes use under this
474*4fee23f9SmrgLicense of the Program or a work on which the Program is based.  The
475*4fee23f9Smrgwork thus licensed is called the contributor's "contributor version".
476*4fee23f9Smrg
477*4fee23f9Smrg  A contributor's "essential patent claims" are all patent claims
478*4fee23f9Smrgowned or controlled by the contributor, whether already acquired or
479*4fee23f9Smrghereafter acquired, that would be infringed by some manner, permitted
480*4fee23f9Smrgby this License, of making, using, or selling its contributor version,
481*4fee23f9Smrgbut do not include claims that would be infringed only as a
482*4fee23f9Smrgconsequence of further modification of the contributor version.  For
483*4fee23f9Smrgpurposes of this definition, "control" includes the right to grant
484*4fee23f9Smrgpatent sublicenses in a manner consistent with the requirements of
485*4fee23f9Smrgthis License.
486*4fee23f9Smrg
487*4fee23f9Smrg  Each contributor grants you a non-exclusive, worldwide, royalty-free
488*4fee23f9Smrgpatent license under the contributor's essential patent claims, to
489*4fee23f9Smrgmake, use, sell, offer for sale, import and otherwise run, modify and
490*4fee23f9Smrgpropagate the contents of its contributor version.
491*4fee23f9Smrg
492*4fee23f9Smrg  In the following three paragraphs, a "patent license" is any express
493*4fee23f9Smrgagreement or commitment, however denominated, not to enforce a patent
494*4fee23f9Smrg(such as an express permission to practice a patent or covenant not to
495*4fee23f9Smrgsue for patent infringement).  To "grant" such a patent license to a
496*4fee23f9Smrgparty means to make such an agreement or commitment not to enforce a
497*4fee23f9Smrgpatent against the party.
498*4fee23f9Smrg
499*4fee23f9Smrg  If you convey a covered work, knowingly relying on a patent license,
500*4fee23f9Smrgand the Corresponding Source of the work is not available for anyone
501*4fee23f9Smrgto copy, free of charge and under the terms of this License, through a
502*4fee23f9Smrgpublicly available network server or other readily accessible means,
503*4fee23f9Smrgthen you must either (1) cause the Corresponding Source to be so
504*4fee23f9Smrgavailable, or (2) arrange to deprive yourself of the benefit of the
505*4fee23f9Smrgpatent license for this particular work, or (3) arrange, in a manner
506*4fee23f9Smrgconsistent with the requirements of this License, to extend the patent
507*4fee23f9Smrglicense to downstream recipients.  "Knowingly relying" means you have
508*4fee23f9Smrgactual knowledge that, but for the patent license, your conveying the
509*4fee23f9Smrgcovered work in a country, or your recipient's use of the covered work
510*4fee23f9Smrgin a country, would infringe one or more identifiable patents in that
511*4fee23f9Smrgcountry that you have reason to believe are valid.
512*4fee23f9Smrg
513*4fee23f9Smrg  If, pursuant to or in connection with a single transaction or
514*4fee23f9Smrgarrangement, you convey, or propagate by procuring conveyance of, a
515*4fee23f9Smrgcovered work, and grant a patent license to some of the parties
516*4fee23f9Smrgreceiving the covered work authorizing them to use, propagate, modify
517*4fee23f9Smrgor convey a specific copy of the covered work, then the patent license
518*4fee23f9Smrgyou grant is automatically extended to all recipients of the covered
519*4fee23f9Smrgwork and works based on it.
520*4fee23f9Smrg
521*4fee23f9Smrg  A patent license is "discriminatory" if it does not include within
522*4fee23f9Smrgthe scope of its coverage, prohibits the exercise of, or is
523*4fee23f9Smrgconditioned on the non-exercise of one or more of the rights that are
524*4fee23f9Smrgspecifically granted under this License.  You may not convey a covered
525*4fee23f9Smrgwork if you are a party to an arrangement with a third party that is
526*4fee23f9Smrgin the business of distributing software, under which you make payment
527*4fee23f9Smrgto the third party based on the extent of your activity of conveying
528*4fee23f9Smrgthe work, and under which the third party grants, to any of the
529*4fee23f9Smrgparties who would receive the covered work from you, a discriminatory
530*4fee23f9Smrgpatent license (a) in connection with copies of the covered work
531*4fee23f9Smrgconveyed by you (or copies made from those copies), or (b) primarily
532*4fee23f9Smrgfor and in connection with specific products or compilations that
533*4fee23f9Smrgcontain the covered work, unless you entered into that arrangement,
534*4fee23f9Smrgor that patent license was granted, prior to 28 March 2007.
535*4fee23f9Smrg
536*4fee23f9Smrg  Nothing in this License shall be construed as excluding or limiting
537*4fee23f9Smrgany implied license or other defenses to infringement that may
538*4fee23f9Smrgotherwise be available to you under applicable patent law.
539*4fee23f9Smrg
540*4fee23f9Smrg  12. No Surrender of Others' Freedom.
541*4fee23f9Smrg
542*4fee23f9Smrg  If conditions are imposed on you (whether by court order, agreement or
543*4fee23f9Smrgotherwise) that contradict the conditions of this License, they do not
544*4fee23f9Smrgexcuse you from the conditions of this License.  If you cannot convey a
545*4fee23f9Smrgcovered work so as to satisfy simultaneously your obligations under this
546*4fee23f9SmrgLicense and any other pertinent obligations, then as a consequence you may
547*4fee23f9Smrgnot convey it at all.  For example, if you agree to terms that obligate you
548*4fee23f9Smrgto collect a royalty for further conveying from those to whom you convey
549*4fee23f9Smrgthe Program, the only way you could satisfy both those terms and this
550*4fee23f9SmrgLicense would be to refrain entirely from conveying the Program.
551*4fee23f9Smrg
552*4fee23f9Smrg  13. Use with the GNU Affero General Public License.
553*4fee23f9Smrg
554*4fee23f9Smrg  Notwithstanding any other provision of this License, you have
555*4fee23f9Smrgpermission to link or combine any covered work with a work licensed
556*4fee23f9Smrgunder version 3 of the GNU Affero General Public License into a single
557*4fee23f9Smrgcombined work, and to convey the resulting work.  The terms of this
558*4fee23f9SmrgLicense will continue to apply to the part which is the covered work,
559*4fee23f9Smrgbut the special requirements of the GNU Affero General Public License,
560*4fee23f9Smrgsection 13, concerning interaction through a network will apply to the
561*4fee23f9Smrgcombination as such.
562*4fee23f9Smrg
563*4fee23f9Smrg  14. Revised Versions of this License.
564*4fee23f9Smrg
565*4fee23f9Smrg  The Free Software Foundation may publish revised and/or new versions of
566*4fee23f9Smrgthe GNU General Public License from time to time.  Such new versions will
567*4fee23f9Smrgbe similar in spirit to the present version, but may differ in detail to
568*4fee23f9Smrgaddress new problems or concerns.
569*4fee23f9Smrg
570*4fee23f9Smrg  Each version is given a distinguishing version number.  If the
571*4fee23f9SmrgProgram specifies that a certain numbered version of the GNU General
572*4fee23f9SmrgPublic License "or any later version" applies to it, you have the
573*4fee23f9Smrgoption of following the terms and conditions either of that numbered
574*4fee23f9Smrgversion or of any later version published by the Free Software
575*4fee23f9SmrgFoundation.  If the Program does not specify a version number of the
576*4fee23f9SmrgGNU General Public License, you may choose any version ever published
577*4fee23f9Smrgby the Free Software Foundation.
578*4fee23f9Smrg
579*4fee23f9Smrg  If the Program specifies that a proxy can decide which future
580*4fee23f9Smrgversions of the GNU General Public License can be used, that proxy's
581*4fee23f9Smrgpublic statement of acceptance of a version permanently authorizes you
582*4fee23f9Smrgto choose that version for the Program.
583*4fee23f9Smrg
584*4fee23f9Smrg  Later license versions may give you additional or different
585*4fee23f9Smrgpermissions.  However, no additional obligations are imposed on any
586*4fee23f9Smrgauthor or copyright holder as a result of your choosing to follow a
587*4fee23f9Smrglater version.
588*4fee23f9Smrg
589*4fee23f9Smrg  15. Disclaimer of Warranty.
590*4fee23f9Smrg
591*4fee23f9Smrg  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592*4fee23f9SmrgAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593*4fee23f9SmrgHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594*4fee23f9SmrgOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595*4fee23f9SmrgTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596*4fee23f9SmrgPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597*4fee23f9SmrgIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598*4fee23f9SmrgALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599*4fee23f9Smrg
600*4fee23f9Smrg  16. Limitation of Liability.
601*4fee23f9Smrg
602*4fee23f9Smrg  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603*4fee23f9SmrgWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604*4fee23f9SmrgTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605*4fee23f9SmrgGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606*4fee23f9SmrgUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607*4fee23f9SmrgDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608*4fee23f9SmrgPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609*4fee23f9SmrgEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610*4fee23f9SmrgSUCH DAMAGES.
611*4fee23f9Smrg
612*4fee23f9Smrg  17. Interpretation of Sections 15 and 16.
613*4fee23f9Smrg
614*4fee23f9Smrg  If the disclaimer of warranty and limitation of liability provided
615*4fee23f9Smrgabove cannot be given local legal effect according to their terms,
616*4fee23f9Smrgreviewing courts shall apply local law that most closely approximates
617*4fee23f9Smrgan absolute waiver of all civil liability in connection with the
618*4fee23f9SmrgProgram, unless a warranty or assumption of liability accompanies a
619*4fee23f9Smrgcopy of the Program in return for a fee.
620*4fee23f9Smrg
621*4fee23f9Smrg                     END OF TERMS AND CONDITIONS
622*4fee23f9Smrg
623*4fee23f9Smrg            How to Apply These Terms to Your New Programs
624*4fee23f9Smrg
625*4fee23f9Smrg  If you develop a new program, and you want it to be of the greatest
626*4fee23f9Smrgpossible use to the public, the best way to achieve this is to make it
627*4fee23f9Smrgfree software which everyone can redistribute and change under these terms.
628*4fee23f9Smrg
629*4fee23f9Smrg  To do so, attach the following notices to the program.  It is safest
630*4fee23f9Smrgto attach them to the start of each source file to most effectively
631*4fee23f9Smrgstate the exclusion of warranty; and each file should have at least
632*4fee23f9Smrgthe "copyright" line and a pointer to where the full notice is found.
633*4fee23f9Smrg
634*4fee23f9Smrg    <one line to give the program's name and a brief idea of what it does.>
635*4fee23f9Smrg    Copyright (C) <year>  <name of author>
636*4fee23f9Smrg
637*4fee23f9Smrg    This program is free software: you can redistribute it and/or modify
638*4fee23f9Smrg    it under the terms of the GNU General Public License as published by
639*4fee23f9Smrg    the Free Software Foundation, either version 3 of the License, or
640*4fee23f9Smrg    (at your option) any later version.
641*4fee23f9Smrg
642*4fee23f9Smrg    This program is distributed in the hope that it will be useful,
643*4fee23f9Smrg    but WITHOUT ANY WARRANTY; without even the implied warranty of
644*4fee23f9Smrg    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
645*4fee23f9Smrg    GNU General Public License for more details.
646*4fee23f9Smrg
647*4fee23f9Smrg    You should have received a copy of the GNU General Public License
648*4fee23f9Smrg    along with this program.  If not, see <http://www.gnu.org/licenses/>.
649*4fee23f9Smrg
650*4fee23f9SmrgAlso add information on how to contact you by electronic and paper mail.
651*4fee23f9Smrg
652*4fee23f9Smrg  If the program does terminal interaction, make it output a short
653*4fee23f9Smrgnotice like this when it starts in an interactive mode:
654*4fee23f9Smrg
655*4fee23f9Smrg    <program>  Copyright (C) <year>  <name of author>
656*4fee23f9Smrg    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657*4fee23f9Smrg    This is free software, and you are welcome to redistribute it
658*4fee23f9Smrg    under certain conditions; type `show c' for details.
659*4fee23f9Smrg
660*4fee23f9SmrgThe hypothetical commands `show w' and `show c' should show the appropriate
661*4fee23f9Smrgparts of the General Public License.  Of course, your program's commands
662*4fee23f9Smrgmight be different; for a GUI interface, you would use an "about box".
663*4fee23f9Smrg
664*4fee23f9Smrg  You should also get your employer (if you work as a programmer) or school,
665*4fee23f9Smrgif any, to sign a "copyright disclaimer" for the program, if necessary.
666*4fee23f9SmrgFor more information on this, and how to apply and follow the GNU GPL, see
667*4fee23f9Smrg<http://www.gnu.org/licenses/>.
668*4fee23f9Smrg
669*4fee23f9Smrg  The GNU General Public License does not permit incorporating your program
670*4fee23f9Smrginto proprietary programs.  If your program is a subroutine library, you
671*4fee23f9Smrgmay consider it more useful to permit linking proprietary applications with
672*4fee23f9Smrgthe library.  If this is what you want to do, use the GNU Lesser General
673*4fee23f9SmrgPublic License instead of this License.  But first, please read
674*4fee23f9Smrg<http://www.gnu.org/philosophy/why-not-lgpl.html>.
675