xref: /dragonfly/contrib/binutils-2.27/COPYING3 (revision a9fa9459)
1*a9fa9459Szrj                    GNU GENERAL PUBLIC LICENSE
2*a9fa9459Szrj                       Version 3, 29 June 2007
3*a9fa9459Szrj
4*a9fa9459Szrj Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
5*a9fa9459Szrj Everyone is permitted to copy and distribute verbatim copies
6*a9fa9459Szrj of this license document, but changing it is not allowed.
7*a9fa9459Szrj
8*a9fa9459Szrj                            Preamble
9*a9fa9459Szrj
10*a9fa9459Szrj  The GNU General Public License is a free, copyleft license for
11*a9fa9459Szrjsoftware and other kinds of works.
12*a9fa9459Szrj
13*a9fa9459Szrj  The licenses for most software and other practical works are designed
14*a9fa9459Szrjto take away your freedom to share and change the works.  By contrast,
15*a9fa9459Szrjthe GNU General Public License is intended to guarantee your freedom to
16*a9fa9459Szrjshare and change all versions of a program--to make sure it remains free
17*a9fa9459Szrjsoftware for all its users.  We, the Free Software Foundation, use the
18*a9fa9459SzrjGNU General Public License for most of our software; it applies also to
19*a9fa9459Szrjany other work released this way by its authors.  You can apply it to
20*a9fa9459Szrjyour programs, too.
21*a9fa9459Szrj
22*a9fa9459Szrj  When we speak of free software, we are referring to freedom, not
23*a9fa9459Szrjprice.  Our General Public Licenses are designed to make sure that you
24*a9fa9459Szrjhave the freedom to distribute copies of free software (and charge for
25*a9fa9459Szrjthem if you wish), that you receive source code or can get it if you
26*a9fa9459Szrjwant it, that you can change the software or use pieces of it in new
27*a9fa9459Szrjfree programs, and that you know you can do these things.
28*a9fa9459Szrj
29*a9fa9459Szrj  To protect your rights, we need to prevent others from denying you
30*a9fa9459Szrjthese rights or asking you to surrender the rights.  Therefore, you have
31*a9fa9459Szrjcertain responsibilities if you distribute copies of the software, or if
32*a9fa9459Szrjyou modify it: responsibilities to respect the freedom of others.
33*a9fa9459Szrj
34*a9fa9459Szrj  For example, if you distribute copies of such a program, whether
35*a9fa9459Szrjgratis or for a fee, you must pass on to the recipients the same
36*a9fa9459Szrjfreedoms that you received.  You must make sure that they, too, receive
37*a9fa9459Szrjor can get the source code.  And you must show them these terms so they
38*a9fa9459Szrjknow their rights.
39*a9fa9459Szrj
40*a9fa9459Szrj  Developers that use the GNU GPL protect your rights with two steps:
41*a9fa9459Szrj(1) assert copyright on the software, and (2) offer you this License
42*a9fa9459Szrjgiving you legal permission to copy, distribute and/or modify it.
43*a9fa9459Szrj
44*a9fa9459Szrj  For the developers' and authors' protection, the GPL clearly explains
45*a9fa9459Szrjthat there is no warranty for this free software.  For both users' and
46*a9fa9459Szrjauthors' sake, the GPL requires that modified versions be marked as
47*a9fa9459Szrjchanged, so that their problems will not be attributed erroneously to
48*a9fa9459Szrjauthors of previous versions.
49*a9fa9459Szrj
50*a9fa9459Szrj  Some devices are designed to deny users access to install or run
51*a9fa9459Szrjmodified versions of the software inside them, although the manufacturer
52*a9fa9459Szrjcan do so.  This is fundamentally incompatible with the aim of
53*a9fa9459Szrjprotecting users' freedom to change the software.  The systematic
54*a9fa9459Szrjpattern of such abuse occurs in the area of products for individuals to
55*a9fa9459Szrjuse, which is precisely where it is most unacceptable.  Therefore, we
56*a9fa9459Szrjhave designed this version of the GPL to prohibit the practice for those
57*a9fa9459Szrjproducts.  If such problems arise substantially in other domains, we
58*a9fa9459Szrjstand ready to extend this provision to those domains in future versions
59*a9fa9459Szrjof the GPL, as needed to protect the freedom of users.
60*a9fa9459Szrj
61*a9fa9459Szrj  Finally, every program is threatened constantly by software patents.
62*a9fa9459SzrjStates should not allow patents to restrict development and use of
63*a9fa9459Szrjsoftware on general-purpose computers, but in those that do, we wish to
64*a9fa9459Szrjavoid the special danger that patents applied to a free program could
65*a9fa9459Szrjmake it effectively proprietary.  To prevent this, the GPL assures that
66*a9fa9459Szrjpatents cannot be used to render the program non-free.
67*a9fa9459Szrj
68*a9fa9459Szrj  The precise terms and conditions for copying, distribution and
69*a9fa9459Szrjmodification follow.
70*a9fa9459Szrj
71*a9fa9459Szrj                       TERMS AND CONDITIONS
72*a9fa9459Szrj
73*a9fa9459Szrj  0. Definitions.
74*a9fa9459Szrj
75*a9fa9459Szrj  "This License" refers to version 3 of the GNU General Public License.
76*a9fa9459Szrj
77*a9fa9459Szrj  "Copyright" also means copyright-like laws that apply to other kinds of
78*a9fa9459Szrjworks, such as semiconductor masks.
79*a9fa9459Szrj
80*a9fa9459Szrj  "The Program" refers to any copyrightable work licensed under this
81*a9fa9459SzrjLicense.  Each licensee is addressed as "you".  "Licensees" and
82*a9fa9459Szrj"recipients" may be individuals or organizations.
83*a9fa9459Szrj
84*a9fa9459Szrj  To "modify" a work means to copy from or adapt all or part of the work
85*a9fa9459Szrjin a fashion requiring copyright permission, other than the making of an
86*a9fa9459Szrjexact copy.  The resulting work is called a "modified version" of the
87*a9fa9459Szrjearlier work or a work "based on" the earlier work.
88*a9fa9459Szrj
89*a9fa9459Szrj  A "covered work" means either the unmodified Program or a work based
90*a9fa9459Szrjon the Program.
91*a9fa9459Szrj
92*a9fa9459Szrj  To "propagate" a work means to do anything with it that, without
93*a9fa9459Szrjpermission, would make you directly or secondarily liable for
94*a9fa9459Szrjinfringement under applicable copyright law, except executing it on a
95*a9fa9459Szrjcomputer or modifying a private copy.  Propagation includes copying,
96*a9fa9459Szrjdistribution (with or without modification), making available to the
97*a9fa9459Szrjpublic, and in some countries other activities as well.
98*a9fa9459Szrj
99*a9fa9459Szrj  To "convey" a work means any kind of propagation that enables other
100*a9fa9459Szrjparties to make or receive copies.  Mere interaction with a user through
101*a9fa9459Szrja computer network, with no transfer of a copy, is not conveying.
102*a9fa9459Szrj
103*a9fa9459Szrj  An interactive user interface displays "Appropriate Legal Notices"
104*a9fa9459Szrjto the extent that it includes a convenient and prominently visible
105*a9fa9459Szrjfeature that (1) displays an appropriate copyright notice, and (2)
106*a9fa9459Szrjtells the user that there is no warranty for the work (except to the
107*a9fa9459Szrjextent that warranties are provided), that licensees may convey the
108*a9fa9459Szrjwork under this License, and how to view a copy of this License.  If
109*a9fa9459Szrjthe interface presents a list of user commands or options, such as a
110*a9fa9459Szrjmenu, a prominent item in the list meets this criterion.
111*a9fa9459Szrj
112*a9fa9459Szrj  1. Source Code.
113*a9fa9459Szrj
114*a9fa9459Szrj  The "source code" for a work means the preferred form of the work
115*a9fa9459Szrjfor making modifications to it.  "Object code" means any non-source
116*a9fa9459Szrjform of a work.
117*a9fa9459Szrj
118*a9fa9459Szrj  A "Standard Interface" means an interface that either is an official
119*a9fa9459Szrjstandard defined by a recognized standards body, or, in the case of
120*a9fa9459Szrjinterfaces specified for a particular programming language, one that
121*a9fa9459Szrjis widely used among developers working in that language.
122*a9fa9459Szrj
123*a9fa9459Szrj  The "System Libraries" of an executable work include anything, other
124*a9fa9459Szrjthan the work as a whole, that (a) is included in the normal form of
125*a9fa9459Szrjpackaging a Major Component, but which is not part of that Major
126*a9fa9459SzrjComponent, and (b) serves only to enable use of the work with that
127*a9fa9459SzrjMajor Component, or to implement a Standard Interface for which an
128*a9fa9459Szrjimplementation is available to the public in source code form.  A
129*a9fa9459Szrj"Major Component", in this context, means a major essential component
130*a9fa9459Szrj(kernel, window system, and so on) of the specific operating system
131*a9fa9459Szrj(if any) on which the executable work runs, or a compiler used to
132*a9fa9459Szrjproduce the work, or an object code interpreter used to run it.
133*a9fa9459Szrj
134*a9fa9459Szrj  The "Corresponding Source" for a work in object code form means all
135*a9fa9459Szrjthe source code needed to generate, install, and (for an executable
136*a9fa9459Szrjwork) run the object code and to modify the work, including scripts to
137*a9fa9459Szrjcontrol those activities.  However, it does not include the work's
138*a9fa9459SzrjSystem Libraries, or general-purpose tools or generally available free
139*a9fa9459Szrjprograms which are used unmodified in performing those activities but
140*a9fa9459Szrjwhich are not part of the work.  For example, Corresponding Source
141*a9fa9459Szrjincludes interface definition files associated with source files for
142*a9fa9459Szrjthe work, and the source code for shared libraries and dynamically
143*a9fa9459Szrjlinked subprograms that the work is specifically designed to require,
144*a9fa9459Szrjsuch as by intimate data communication or control flow between those
145*a9fa9459Szrjsubprograms and other parts of the work.
146*a9fa9459Szrj
147*a9fa9459Szrj  The Corresponding Source need not include anything that users
148*a9fa9459Szrjcan regenerate automatically from other parts of the Corresponding
149*a9fa9459SzrjSource.
150*a9fa9459Szrj
151*a9fa9459Szrj  The Corresponding Source for a work in source code form is that
152*a9fa9459Szrjsame work.
153*a9fa9459Szrj
154*a9fa9459Szrj  2. Basic Permissions.
155*a9fa9459Szrj
156*a9fa9459Szrj  All rights granted under this License are granted for the term of
157*a9fa9459Szrjcopyright on the Program, and are irrevocable provided the stated
158*a9fa9459Szrjconditions are met.  This License explicitly affirms your unlimited
159*a9fa9459Szrjpermission to run the unmodified Program.  The output from running a
160*a9fa9459Szrjcovered work is covered by this License only if the output, given its
161*a9fa9459Szrjcontent, constitutes a covered work.  This License acknowledges your
162*a9fa9459Szrjrights of fair use or other equivalent, as provided by copyright law.
163*a9fa9459Szrj
164*a9fa9459Szrj  You may make, run and propagate covered works that you do not
165*a9fa9459Szrjconvey, without conditions so long as your license otherwise remains
166*a9fa9459Szrjin force.  You may convey covered works to others for the sole purpose
167*a9fa9459Szrjof having them make modifications exclusively for you, or provide you
168*a9fa9459Szrjwith facilities for running those works, provided that you comply with
169*a9fa9459Szrjthe terms of this License in conveying all material for which you do
170*a9fa9459Szrjnot control copyright.  Those thus making or running the covered works
171*a9fa9459Szrjfor you must do so exclusively on your behalf, under your direction
172*a9fa9459Szrjand control, on terms that prohibit them from making any copies of
173*a9fa9459Szrjyour copyrighted material outside their relationship with you.
174*a9fa9459Szrj
175*a9fa9459Szrj  Conveying under any other circumstances is permitted solely under
176*a9fa9459Szrjthe conditions stated below.  Sublicensing is not allowed; section 10
177*a9fa9459Szrjmakes it unnecessary.
178*a9fa9459Szrj
179*a9fa9459Szrj  3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180*a9fa9459Szrj
181*a9fa9459Szrj  No covered work shall be deemed part of an effective technological
182*a9fa9459Szrjmeasure under any applicable law fulfilling obligations under article
183*a9fa9459Szrj11 of the WIPO copyright treaty adopted on 20 December 1996, or
184*a9fa9459Szrjsimilar laws prohibiting or restricting circumvention of such
185*a9fa9459Szrjmeasures.
186*a9fa9459Szrj
187*a9fa9459Szrj  When you convey a covered work, you waive any legal power to forbid
188*a9fa9459Szrjcircumvention of technological measures to the extent such circumvention
189*a9fa9459Szrjis effected by exercising rights under this License with respect to
190*a9fa9459Szrjthe covered work, and you disclaim any intention to limit operation or
191*a9fa9459Szrjmodification of the work as a means of enforcing, against the work's
192*a9fa9459Szrjusers, your or third parties' legal rights to forbid circumvention of
193*a9fa9459Szrjtechnological measures.
194*a9fa9459Szrj
195*a9fa9459Szrj  4. Conveying Verbatim Copies.
196*a9fa9459Szrj
197*a9fa9459Szrj  You may convey verbatim copies of the Program's source code as you
198*a9fa9459Szrjreceive it, in any medium, provided that you conspicuously and
199*a9fa9459Szrjappropriately publish on each copy an appropriate copyright notice;
200*a9fa9459Szrjkeep intact all notices stating that this License and any
201*a9fa9459Szrjnon-permissive terms added in accord with section 7 apply to the code;
202*a9fa9459Szrjkeep intact all notices of the absence of any warranty; and give all
203*a9fa9459Szrjrecipients a copy of this License along with the Program.
204*a9fa9459Szrj
205*a9fa9459Szrj  You may charge any price or no price for each copy that you convey,
206*a9fa9459Szrjand you may offer support or warranty protection for a fee.
207*a9fa9459Szrj
208*a9fa9459Szrj  5. Conveying Modified Source Versions.
209*a9fa9459Szrj
210*a9fa9459Szrj  You may convey a work based on the Program, or the modifications to
211*a9fa9459Szrjproduce it from the Program, in the form of source code under the
212*a9fa9459Szrjterms of section 4, provided that you also meet all of these conditions:
213*a9fa9459Szrj
214*a9fa9459Szrj    a) The work must carry prominent notices stating that you modified
215*a9fa9459Szrj    it, and giving a relevant date.
216*a9fa9459Szrj
217*a9fa9459Szrj    b) The work must carry prominent notices stating that it is
218*a9fa9459Szrj    released under this License and any conditions added under section
219*a9fa9459Szrj    7.  This requirement modifies the requirement in section 4 to
220*a9fa9459Szrj    "keep intact all notices".
221*a9fa9459Szrj
222*a9fa9459Szrj    c) You must license the entire work, as a whole, under this
223*a9fa9459Szrj    License to anyone who comes into possession of a copy.  This
224*a9fa9459Szrj    License will therefore apply, along with any applicable section 7
225*a9fa9459Szrj    additional terms, to the whole of the work, and all its parts,
226*a9fa9459Szrj    regardless of how they are packaged.  This License gives no
227*a9fa9459Szrj    permission to license the work in any other way, but it does not
228*a9fa9459Szrj    invalidate such permission if you have separately received it.
229*a9fa9459Szrj
230*a9fa9459Szrj    d) If the work has interactive user interfaces, each must display
231*a9fa9459Szrj    Appropriate Legal Notices; however, if the Program has interactive
232*a9fa9459Szrj    interfaces that do not display Appropriate Legal Notices, your
233*a9fa9459Szrj    work need not make them do so.
234*a9fa9459Szrj
235*a9fa9459Szrj  A compilation of a covered work with other separate and independent
236*a9fa9459Szrjworks, which are not by their nature extensions of the covered work,
237*a9fa9459Szrjand which are not combined with it such as to form a larger program,
238*a9fa9459Szrjin or on a volume of a storage or distribution medium, is called an
239*a9fa9459Szrj"aggregate" if the compilation and its resulting copyright are not
240*a9fa9459Szrjused to limit the access or legal rights of the compilation's users
241*a9fa9459Szrjbeyond what the individual works permit.  Inclusion of a covered work
242*a9fa9459Szrjin an aggregate does not cause this License to apply to the other
243*a9fa9459Szrjparts of the aggregate.
244*a9fa9459Szrj
245*a9fa9459Szrj  6. Conveying Non-Source Forms.
246*a9fa9459Szrj
247*a9fa9459Szrj  You may convey a covered work in object code form under the terms
248*a9fa9459Szrjof sections 4 and 5, provided that you also convey the
249*a9fa9459Szrjmachine-readable Corresponding Source under the terms of this License,
250*a9fa9459Szrjin one of these ways:
251*a9fa9459Szrj
252*a9fa9459Szrj    a) Convey the object code in, or embodied in, a physical product
253*a9fa9459Szrj    (including a physical distribution medium), accompanied by the
254*a9fa9459Szrj    Corresponding Source fixed on a durable physical medium
255*a9fa9459Szrj    customarily used for software interchange.
256*a9fa9459Szrj
257*a9fa9459Szrj    b) Convey the object code in, or embodied in, a physical product
258*a9fa9459Szrj    (including a physical distribution medium), accompanied by a
259*a9fa9459Szrj    written offer, valid for at least three years and valid for as
260*a9fa9459Szrj    long as you offer spare parts or customer support for that product
261*a9fa9459Szrj    model, to give anyone who possesses the object code either (1) a
262*a9fa9459Szrj    copy of the Corresponding Source for all the software in the
263*a9fa9459Szrj    product that is covered by this License, on a durable physical
264*a9fa9459Szrj    medium customarily used for software interchange, for a price no
265*a9fa9459Szrj    more than your reasonable cost of physically performing this
266*a9fa9459Szrj    conveying of source, or (2) access to copy the
267*a9fa9459Szrj    Corresponding Source from a network server at no charge.
268*a9fa9459Szrj
269*a9fa9459Szrj    c) Convey individual copies of the object code with a copy of the
270*a9fa9459Szrj    written offer to provide the Corresponding Source.  This
271*a9fa9459Szrj    alternative is allowed only occasionally and noncommercially, and
272*a9fa9459Szrj    only if you received the object code with such an offer, in accord
273*a9fa9459Szrj    with subsection 6b.
274*a9fa9459Szrj
275*a9fa9459Szrj    d) Convey the object code by offering access from a designated
276*a9fa9459Szrj    place (gratis or for a charge), and offer equivalent access to the
277*a9fa9459Szrj    Corresponding Source in the same way through the same place at no
278*a9fa9459Szrj    further charge.  You need not require recipients to copy the
279*a9fa9459Szrj    Corresponding Source along with the object code.  If the place to
280*a9fa9459Szrj    copy the object code is a network server, the Corresponding Source
281*a9fa9459Szrj    may be on a different server (operated by you or a third party)
282*a9fa9459Szrj    that supports equivalent copying facilities, provided you maintain
283*a9fa9459Szrj    clear directions next to the object code saying where to find the
284*a9fa9459Szrj    Corresponding Source.  Regardless of what server hosts the
285*a9fa9459Szrj    Corresponding Source, you remain obligated to ensure that it is
286*a9fa9459Szrj    available for as long as needed to satisfy these requirements.
287*a9fa9459Szrj
288*a9fa9459Szrj    e) Convey the object code using peer-to-peer transmission, provided
289*a9fa9459Szrj    you inform other peers where the object code and Corresponding
290*a9fa9459Szrj    Source of the work are being offered to the general public at no
291*a9fa9459Szrj    charge under subsection 6d.
292*a9fa9459Szrj
293*a9fa9459Szrj  A separable portion of the object code, whose source code is excluded
294*a9fa9459Szrjfrom the Corresponding Source as a System Library, need not be
295*a9fa9459Szrjincluded in conveying the object code work.
296*a9fa9459Szrj
297*a9fa9459Szrj  A "User Product" is either (1) a "consumer product", which means any
298*a9fa9459Szrjtangible personal property which is normally used for personal, family,
299*a9fa9459Szrjor household purposes, or (2) anything designed or sold for incorporation
300*a9fa9459Szrjinto a dwelling.  In determining whether a product is a consumer product,
301*a9fa9459Szrjdoubtful cases shall be resolved in favor of coverage.  For a particular
302*a9fa9459Szrjproduct received by a particular user, "normally used" refers to a
303*a9fa9459Szrjtypical or common use of that class of product, regardless of the status
304*a9fa9459Szrjof the particular user or of the way in which the particular user
305*a9fa9459Szrjactually uses, or expects or is expected to use, the product.  A product
306*a9fa9459Szrjis a consumer product regardless of whether the product has substantial
307*a9fa9459Szrjcommercial, industrial or non-consumer uses, unless such uses represent
308*a9fa9459Szrjthe only significant mode of use of the product.
309*a9fa9459Szrj
310*a9fa9459Szrj  "Installation Information" for a User Product means any methods,
311*a9fa9459Szrjprocedures, authorization keys, or other information required to install
312*a9fa9459Szrjand execute modified versions of a covered work in that User Product from
313*a9fa9459Szrja modified version of its Corresponding Source.  The information must
314*a9fa9459Szrjsuffice to ensure that the continued functioning of the modified object
315*a9fa9459Szrjcode is in no case prevented or interfered with solely because
316*a9fa9459Szrjmodification has been made.
317*a9fa9459Szrj
318*a9fa9459Szrj  If you convey an object code work under this section in, or with, or
319*a9fa9459Szrjspecifically for use in, a User Product, and the conveying occurs as
320*a9fa9459Szrjpart of a transaction in which the right of possession and use of the
321*a9fa9459SzrjUser Product is transferred to the recipient in perpetuity or for a
322*a9fa9459Szrjfixed term (regardless of how the transaction is characterized), the
323*a9fa9459SzrjCorresponding Source conveyed under this section must be accompanied
324*a9fa9459Szrjby the Installation Information.  But this requirement does not apply
325*a9fa9459Szrjif neither you nor any third party retains the ability to install
326*a9fa9459Szrjmodified object code on the User Product (for example, the work has
327*a9fa9459Szrjbeen installed in ROM).
328*a9fa9459Szrj
329*a9fa9459Szrj  The requirement to provide Installation Information does not include a
330*a9fa9459Szrjrequirement to continue to provide support service, warranty, or updates
331*a9fa9459Szrjfor a work that has been modified or installed by the recipient, or for
332*a9fa9459Szrjthe User Product in which it has been modified or installed.  Access to a
333*a9fa9459Szrjnetwork may be denied when the modification itself materially and
334*a9fa9459Szrjadversely affects the operation of the network or violates the rules and
335*a9fa9459Szrjprotocols for communication across the network.
336*a9fa9459Szrj
337*a9fa9459Szrj  Corresponding Source conveyed, and Installation Information provided,
338*a9fa9459Szrjin accord with this section must be in a format that is publicly
339*a9fa9459Szrjdocumented (and with an implementation available to the public in
340*a9fa9459Szrjsource code form), and must require no special password or key for
341*a9fa9459Szrjunpacking, reading or copying.
342*a9fa9459Szrj
343*a9fa9459Szrj  7. Additional Terms.
344*a9fa9459Szrj
345*a9fa9459Szrj  "Additional permissions" are terms that supplement the terms of this
346*a9fa9459SzrjLicense by making exceptions from one or more of its conditions.
347*a9fa9459SzrjAdditional permissions that are applicable to the entire Program shall
348*a9fa9459Szrjbe treated as though they were included in this License, to the extent
349*a9fa9459Szrjthat they are valid under applicable law.  If additional permissions
350*a9fa9459Szrjapply only to part of the Program, that part may be used separately
351*a9fa9459Szrjunder those permissions, but the entire Program remains governed by
352*a9fa9459Szrjthis License without regard to the additional permissions.
353*a9fa9459Szrj
354*a9fa9459Szrj  When you convey a copy of a covered work, you may at your option
355*a9fa9459Szrjremove any additional permissions from that copy, or from any part of
356*a9fa9459Szrjit.  (Additional permissions may be written to require their own
357*a9fa9459Szrjremoval in certain cases when you modify the work.)  You may place
358*a9fa9459Szrjadditional permissions on material, added by you to a covered work,
359*a9fa9459Szrjfor which you have or can give appropriate copyright permission.
360*a9fa9459Szrj
361*a9fa9459Szrj  Notwithstanding any other provision of this License, for material you
362*a9fa9459Szrjadd to a covered work, you may (if authorized by the copyright holders of
363*a9fa9459Szrjthat material) supplement the terms of this License with terms:
364*a9fa9459Szrj
365*a9fa9459Szrj    a) Disclaiming warranty or limiting liability differently from the
366*a9fa9459Szrj    terms of sections 15 and 16 of this License; or
367*a9fa9459Szrj
368*a9fa9459Szrj    b) Requiring preservation of specified reasonable legal notices or
369*a9fa9459Szrj    author attributions in that material or in the Appropriate Legal
370*a9fa9459Szrj    Notices displayed by works containing it; or
371*a9fa9459Szrj
372*a9fa9459Szrj    c) Prohibiting misrepresentation of the origin of that material, or
373*a9fa9459Szrj    requiring that modified versions of such material be marked in
374*a9fa9459Szrj    reasonable ways as different from the original version; or
375*a9fa9459Szrj
376*a9fa9459Szrj    d) Limiting the use for publicity purposes of names of licensors or
377*a9fa9459Szrj    authors of the material; or
378*a9fa9459Szrj
379*a9fa9459Szrj    e) Declining to grant rights under trademark law for use of some
380*a9fa9459Szrj    trade names, trademarks, or service marks; or
381*a9fa9459Szrj
382*a9fa9459Szrj    f) Requiring indemnification of licensors and authors of that
383*a9fa9459Szrj    material by anyone who conveys the material (or modified versions of
384*a9fa9459Szrj    it) with contractual assumptions of liability to the recipient, for
385*a9fa9459Szrj    any liability that these contractual assumptions directly impose on
386*a9fa9459Szrj    those licensors and authors.
387*a9fa9459Szrj
388*a9fa9459Szrj  All other non-permissive additional terms are considered "further
389*a9fa9459Szrjrestrictions" within the meaning of section 10.  If the Program as you
390*a9fa9459Szrjreceived it, or any part of it, contains a notice stating that it is
391*a9fa9459Szrjgoverned by this License along with a term that is a further
392*a9fa9459Szrjrestriction, you may remove that term.  If a license document contains
393*a9fa9459Szrja further restriction but permits relicensing or conveying under this
394*a9fa9459SzrjLicense, you may add to a covered work material governed by the terms
395*a9fa9459Szrjof that license document, provided that the further restriction does
396*a9fa9459Szrjnot survive such relicensing or conveying.
397*a9fa9459Szrj
398*a9fa9459Szrj  If you add terms to a covered work in accord with this section, you
399*a9fa9459Szrjmust place, in the relevant source files, a statement of the
400*a9fa9459Szrjadditional terms that apply to those files, or a notice indicating
401*a9fa9459Szrjwhere to find the applicable terms.
402*a9fa9459Szrj
403*a9fa9459Szrj  Additional terms, permissive or non-permissive, may be stated in the
404*a9fa9459Szrjform of a separately written license, or stated as exceptions;
405*a9fa9459Szrjthe above requirements apply either way.
406*a9fa9459Szrj
407*a9fa9459Szrj  8. Termination.
408*a9fa9459Szrj
409*a9fa9459Szrj  You may not propagate or modify a covered work except as expressly
410*a9fa9459Szrjprovided under this License.  Any attempt otherwise to propagate or
411*a9fa9459Szrjmodify it is void, and will automatically terminate your rights under
412*a9fa9459Szrjthis License (including any patent licenses granted under the third
413*a9fa9459Szrjparagraph of section 11).
414*a9fa9459Szrj
415*a9fa9459Szrj  However, if you cease all violation of this License, then your
416*a9fa9459Szrjlicense from a particular copyright holder is reinstated (a)
417*a9fa9459Szrjprovisionally, unless and until the copyright holder explicitly and
418*a9fa9459Szrjfinally terminates your license, and (b) permanently, if the copyright
419*a9fa9459Szrjholder fails to notify you of the violation by some reasonable means
420*a9fa9459Szrjprior to 60 days after the cessation.
421*a9fa9459Szrj
422*a9fa9459Szrj  Moreover, your license from a particular copyright holder is
423*a9fa9459Szrjreinstated permanently if the copyright holder notifies you of the
424*a9fa9459Szrjviolation by some reasonable means, this is the first time you have
425*a9fa9459Szrjreceived notice of violation of this License (for any work) from that
426*a9fa9459Szrjcopyright holder, and you cure the violation prior to 30 days after
427*a9fa9459Szrjyour receipt of the notice.
428*a9fa9459Szrj
429*a9fa9459Szrj  Termination of your rights under this section does not terminate the
430*a9fa9459Szrjlicenses of parties who have received copies or rights from you under
431*a9fa9459Szrjthis License.  If your rights have been terminated and not permanently
432*a9fa9459Szrjreinstated, you do not qualify to receive new licenses for the same
433*a9fa9459Szrjmaterial under section 10.
434*a9fa9459Szrj
435*a9fa9459Szrj  9. Acceptance Not Required for Having Copies.
436*a9fa9459Szrj
437*a9fa9459Szrj  You are not required to accept this License in order to receive or
438*a9fa9459Szrjrun a copy of the Program.  Ancillary propagation of a covered work
439*a9fa9459Szrjoccurring solely as a consequence of using peer-to-peer transmission
440*a9fa9459Szrjto receive a copy likewise does not require acceptance.  However,
441*a9fa9459Szrjnothing other than this License grants you permission to propagate or
442*a9fa9459Szrjmodify any covered work.  These actions infringe copyright if you do
443*a9fa9459Szrjnot accept this License.  Therefore, by modifying or propagating a
444*a9fa9459Szrjcovered work, you indicate your acceptance of this License to do so.
445*a9fa9459Szrj
446*a9fa9459Szrj  10. Automatic Licensing of Downstream Recipients.
447*a9fa9459Szrj
448*a9fa9459Szrj  Each time you convey a covered work, the recipient automatically
449*a9fa9459Szrjreceives a license from the original licensors, to run, modify and
450*a9fa9459Szrjpropagate that work, subject to this License.  You are not responsible
451*a9fa9459Szrjfor enforcing compliance by third parties with this License.
452*a9fa9459Szrj
453*a9fa9459Szrj  An "entity transaction" is a transaction transferring control of an
454*a9fa9459Szrjorganization, or substantially all assets of one, or subdividing an
455*a9fa9459Szrjorganization, or merging organizations.  If propagation of a covered
456*a9fa9459Szrjwork results from an entity transaction, each party to that
457*a9fa9459Szrjtransaction who receives a copy of the work also receives whatever
458*a9fa9459Szrjlicenses to the work the party's predecessor in interest had or could
459*a9fa9459Szrjgive under the previous paragraph, plus a right to possession of the
460*a9fa9459SzrjCorresponding Source of the work from the predecessor in interest, if
461*a9fa9459Szrjthe predecessor has it or can get it with reasonable efforts.
462*a9fa9459Szrj
463*a9fa9459Szrj  You may not impose any further restrictions on the exercise of the
464*a9fa9459Szrjrights granted or affirmed under this License.  For example, you may
465*a9fa9459Szrjnot impose a license fee, royalty, or other charge for exercise of
466*a9fa9459Szrjrights granted under this License, and you may not initiate litigation
467*a9fa9459Szrj(including a cross-claim or counterclaim in a lawsuit) alleging that
468*a9fa9459Szrjany patent claim is infringed by making, using, selling, offering for
469*a9fa9459Szrjsale, or importing the Program or any portion of it.
470*a9fa9459Szrj
471*a9fa9459Szrj  11. Patents.
472*a9fa9459Szrj
473*a9fa9459Szrj  A "contributor" is a copyright holder who authorizes use under this
474*a9fa9459SzrjLicense of the Program or a work on which the Program is based.  The
475*a9fa9459Szrjwork thus licensed is called the contributor's "contributor version".
476*a9fa9459Szrj
477*a9fa9459Szrj  A contributor's "essential patent claims" are all patent claims
478*a9fa9459Szrjowned or controlled by the contributor, whether already acquired or
479*a9fa9459Szrjhereafter acquired, that would be infringed by some manner, permitted
480*a9fa9459Szrjby this License, of making, using, or selling its contributor version,
481*a9fa9459Szrjbut do not include claims that would be infringed only as a
482*a9fa9459Szrjconsequence of further modification of the contributor version.  For
483*a9fa9459Szrjpurposes of this definition, "control" includes the right to grant
484*a9fa9459Szrjpatent sublicenses in a manner consistent with the requirements of
485*a9fa9459Szrjthis License.
486*a9fa9459Szrj
487*a9fa9459Szrj  Each contributor grants you a non-exclusive, worldwide, royalty-free
488*a9fa9459Szrjpatent license under the contributor's essential patent claims, to
489*a9fa9459Szrjmake, use, sell, offer for sale, import and otherwise run, modify and
490*a9fa9459Szrjpropagate the contents of its contributor version.
491*a9fa9459Szrj
492*a9fa9459Szrj  In the following three paragraphs, a "patent license" is any express
493*a9fa9459Szrjagreement or commitment, however denominated, not to enforce a patent
494*a9fa9459Szrj(such as an express permission to practice a patent or covenant not to
495*a9fa9459Szrjsue for patent infringement).  To "grant" such a patent license to a
496*a9fa9459Szrjparty means to make such an agreement or commitment not to enforce a
497*a9fa9459Szrjpatent against the party.
498*a9fa9459Szrj
499*a9fa9459Szrj  If you convey a covered work, knowingly relying on a patent license,
500*a9fa9459Szrjand the Corresponding Source of the work is not available for anyone
501*a9fa9459Szrjto copy, free of charge and under the terms of this License, through a
502*a9fa9459Szrjpublicly available network server or other readily accessible means,
503*a9fa9459Szrjthen you must either (1) cause the Corresponding Source to be so
504*a9fa9459Szrjavailable, or (2) arrange to deprive yourself of the benefit of the
505*a9fa9459Szrjpatent license for this particular work, or (3) arrange, in a manner
506*a9fa9459Szrjconsistent with the requirements of this License, to extend the patent
507*a9fa9459Szrjlicense to downstream recipients.  "Knowingly relying" means you have
508*a9fa9459Szrjactual knowledge that, but for the patent license, your conveying the
509*a9fa9459Szrjcovered work in a country, or your recipient's use of the covered work
510*a9fa9459Szrjin a country, would infringe one or more identifiable patents in that
511*a9fa9459Szrjcountry that you have reason to believe are valid.
512*a9fa9459Szrj
513*a9fa9459Szrj  If, pursuant to or in connection with a single transaction or
514*a9fa9459Szrjarrangement, you convey, or propagate by procuring conveyance of, a
515*a9fa9459Szrjcovered work, and grant a patent license to some of the parties
516*a9fa9459Szrjreceiving the covered work authorizing them to use, propagate, modify
517*a9fa9459Szrjor convey a specific copy of the covered work, then the patent license
518*a9fa9459Szrjyou grant is automatically extended to all recipients of the covered
519*a9fa9459Szrjwork and works based on it.
520*a9fa9459Szrj
521*a9fa9459Szrj  A patent license is "discriminatory" if it does not include within
522*a9fa9459Szrjthe scope of its coverage, prohibits the exercise of, or is
523*a9fa9459Szrjconditioned on the non-exercise of one or more of the rights that are
524*a9fa9459Szrjspecifically granted under this License.  You may not convey a covered
525*a9fa9459Szrjwork if you are a party to an arrangement with a third party that is
526*a9fa9459Szrjin the business of distributing software, under which you make payment
527*a9fa9459Szrjto the third party based on the extent of your activity of conveying
528*a9fa9459Szrjthe work, and under which the third party grants, to any of the
529*a9fa9459Szrjparties who would receive the covered work from you, a discriminatory
530*a9fa9459Szrjpatent license (a) in connection with copies of the covered work
531*a9fa9459Szrjconveyed by you (or copies made from those copies), or (b) primarily
532*a9fa9459Szrjfor and in connection with specific products or compilations that
533*a9fa9459Szrjcontain the covered work, unless you entered into that arrangement,
534*a9fa9459Szrjor that patent license was granted, prior to 28 March 2007.
535*a9fa9459Szrj
536*a9fa9459Szrj  Nothing in this License shall be construed as excluding or limiting
537*a9fa9459Szrjany implied license or other defenses to infringement that may
538*a9fa9459Szrjotherwise be available to you under applicable patent law.
539*a9fa9459Szrj
540*a9fa9459Szrj  12. No Surrender of Others' Freedom.
541*a9fa9459Szrj
542*a9fa9459Szrj  If conditions are imposed on you (whether by court order, agreement or
543*a9fa9459Szrjotherwise) that contradict the conditions of this License, they do not
544*a9fa9459Szrjexcuse you from the conditions of this License.  If you cannot convey a
545*a9fa9459Szrjcovered work so as to satisfy simultaneously your obligations under this
546*a9fa9459SzrjLicense and any other pertinent obligations, then as a consequence you may
547*a9fa9459Szrjnot convey it at all.  For example, if you agree to terms that obligate you
548*a9fa9459Szrjto collect a royalty for further conveying from those to whom you convey
549*a9fa9459Szrjthe Program, the only way you could satisfy both those terms and this
550*a9fa9459SzrjLicense would be to refrain entirely from conveying the Program.
551*a9fa9459Szrj
552*a9fa9459Szrj  13. Use with the GNU Affero General Public License.
553*a9fa9459Szrj
554*a9fa9459Szrj  Notwithstanding any other provision of this License, you have
555*a9fa9459Szrjpermission to link or combine any covered work with a work licensed
556*a9fa9459Szrjunder version 3 of the GNU Affero General Public License into a single
557*a9fa9459Szrjcombined work, and to convey the resulting work.  The terms of this
558*a9fa9459SzrjLicense will continue to apply to the part which is the covered work,
559*a9fa9459Szrjbut the special requirements of the GNU Affero General Public License,
560*a9fa9459Szrjsection 13, concerning interaction through a network will apply to the
561*a9fa9459Szrjcombination as such.
562*a9fa9459Szrj
563*a9fa9459Szrj  14. Revised Versions of this License.
564*a9fa9459Szrj
565*a9fa9459Szrj  The Free Software Foundation may publish revised and/or new versions of
566*a9fa9459Szrjthe GNU General Public License from time to time.  Such new versions will
567*a9fa9459Szrjbe similar in spirit to the present version, but may differ in detail to
568*a9fa9459Szrjaddress new problems or concerns.
569*a9fa9459Szrj
570*a9fa9459Szrj  Each version is given a distinguishing version number.  If the
571*a9fa9459SzrjProgram specifies that a certain numbered version of the GNU General
572*a9fa9459SzrjPublic License "or any later version" applies to it, you have the
573*a9fa9459Szrjoption of following the terms and conditions either of that numbered
574*a9fa9459Szrjversion or of any later version published by the Free Software
575*a9fa9459SzrjFoundation.  If the Program does not specify a version number of the
576*a9fa9459SzrjGNU General Public License, you may choose any version ever published
577*a9fa9459Szrjby the Free Software Foundation.
578*a9fa9459Szrj
579*a9fa9459Szrj  If the Program specifies that a proxy can decide which future
580*a9fa9459Szrjversions of the GNU General Public License can be used, that proxy's
581*a9fa9459Szrjpublic statement of acceptance of a version permanently authorizes you
582*a9fa9459Szrjto choose that version for the Program.
583*a9fa9459Szrj
584*a9fa9459Szrj  Later license versions may give you additional or different
585*a9fa9459Szrjpermissions.  However, no additional obligations are imposed on any
586*a9fa9459Szrjauthor or copyright holder as a result of your choosing to follow a
587*a9fa9459Szrjlater version.
588*a9fa9459Szrj
589*a9fa9459Szrj  15. Disclaimer of Warranty.
590*a9fa9459Szrj
591*a9fa9459Szrj  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592*a9fa9459SzrjAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593*a9fa9459SzrjHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594*a9fa9459SzrjOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595*a9fa9459SzrjTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596*a9fa9459SzrjPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597*a9fa9459SzrjIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598*a9fa9459SzrjALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599*a9fa9459Szrj
600*a9fa9459Szrj  16. Limitation of Liability.
601*a9fa9459Szrj
602*a9fa9459Szrj  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603*a9fa9459SzrjWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604*a9fa9459SzrjTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605*a9fa9459SzrjGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606*a9fa9459SzrjUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607*a9fa9459SzrjDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608*a9fa9459SzrjPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609*a9fa9459SzrjEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610*a9fa9459SzrjSUCH DAMAGES.
611*a9fa9459Szrj
612*a9fa9459Szrj  17. Interpretation of Sections 15 and 16.
613*a9fa9459Szrj
614*a9fa9459Szrj  If the disclaimer of warranty and limitation of liability provided
615*a9fa9459Szrjabove cannot be given local legal effect according to their terms,
616*a9fa9459Szrjreviewing courts shall apply local law that most closely approximates
617*a9fa9459Szrjan absolute waiver of all civil liability in connection with the
618*a9fa9459SzrjProgram, unless a warranty or assumption of liability accompanies a
619*a9fa9459Szrjcopy of the Program in return for a fee.
620*a9fa9459Szrj
621*a9fa9459Szrj                     END OF TERMS AND CONDITIONS
622*a9fa9459Szrj
623*a9fa9459Szrj            How to Apply These Terms to Your New Programs
624*a9fa9459Szrj
625*a9fa9459Szrj  If you develop a new program, and you want it to be of the greatest
626*a9fa9459Szrjpossible use to the public, the best way to achieve this is to make it
627*a9fa9459Szrjfree software which everyone can redistribute and change under these terms.
628*a9fa9459Szrj
629*a9fa9459Szrj  To do so, attach the following notices to the program.  It is safest
630*a9fa9459Szrjto attach them to the start of each source file to most effectively
631*a9fa9459Szrjstate the exclusion of warranty; and each file should have at least
632*a9fa9459Szrjthe "copyright" line and a pointer to where the full notice is found.
633*a9fa9459Szrj
634*a9fa9459Szrj    <one line to give the program's name and a brief idea of what it does.>
635*a9fa9459Szrj    Copyright (C) <year>  <name of author>
636*a9fa9459Szrj
637*a9fa9459Szrj    This program is free software: you can redistribute it and/or modify
638*a9fa9459Szrj    it under the terms of the GNU General Public License as published by
639*a9fa9459Szrj    the Free Software Foundation, either version 3 of the License, or
640*a9fa9459Szrj    (at your option) any later version.
641*a9fa9459Szrj
642*a9fa9459Szrj    This program is distributed in the hope that it will be useful,
643*a9fa9459Szrj    but WITHOUT ANY WARRANTY; without even the implied warranty of
644*a9fa9459Szrj    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
645*a9fa9459Szrj    GNU General Public License for more details.
646*a9fa9459Szrj
647*a9fa9459Szrj    You should have received a copy of the GNU General Public License
648*a9fa9459Szrj    along with this program.  If not, see <http://www.gnu.org/licenses/>.
649*a9fa9459Szrj
650*a9fa9459SzrjAlso add information on how to contact you by electronic and paper mail.
651*a9fa9459Szrj
652*a9fa9459Szrj  If the program does terminal interaction, make it output a short
653*a9fa9459Szrjnotice like this when it starts in an interactive mode:
654*a9fa9459Szrj
655*a9fa9459Szrj    <program>  Copyright (C) <year>  <name of author>
656*a9fa9459Szrj    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657*a9fa9459Szrj    This is free software, and you are welcome to redistribute it
658*a9fa9459Szrj    under certain conditions; type `show c' for details.
659*a9fa9459Szrj
660*a9fa9459SzrjThe hypothetical commands `show w' and `show c' should show the appropriate
661*a9fa9459Szrjparts of the General Public License.  Of course, your program's commands
662*a9fa9459Szrjmight be different; for a GUI interface, you would use an "about box".
663*a9fa9459Szrj
664*a9fa9459Szrj  You should also get your employer (if you work as a programmer) or school,
665*a9fa9459Szrjif any, to sign a "copyright disclaimer" for the program, if necessary.
666*a9fa9459SzrjFor more information on this, and how to apply and follow the GNU GPL, see
667*a9fa9459Szrj<http://www.gnu.org/licenses/>.
668*a9fa9459Szrj
669*a9fa9459Szrj  The GNU General Public License does not permit incorporating your program
670*a9fa9459Szrjinto proprietary programs.  If your program is a subroutine library, you
671*a9fa9459Szrjmay consider it more useful to permit linking proprietary applications with
672*a9fa9459Szrjthe library.  If this is what you want to do, use the GNU Lesser General
673*a9fa9459SzrjPublic License instead of this License.  But first, please read
674*a9fa9459Szrj<http://www.gnu.org/philosophy/why-not-lgpl.html>.
675