xref: /OK3568_Linux_fs/yocto/poky/meta/files/common-licenses/AGPL-3.0-only (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun                    GNU AFFERO GENERAL PUBLIC LICENSE
2*4882a593Smuzhiyun                       Version 3, 19 November 2007
3*4882a593Smuzhiyun
4*4882a593Smuzhiyun Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
5*4882a593Smuzhiyun Everyone is permitted to copy and distribute verbatim copies
6*4882a593Smuzhiyun of this license document, but changing it is not allowed.
7*4882a593Smuzhiyun
8*4882a593Smuzhiyun                            Preamble
9*4882a593Smuzhiyun
10*4882a593Smuzhiyun  The GNU Affero General Public License is a free, copyleft license for
11*4882a593Smuzhiyunsoftware and other kinds of works, specifically designed to ensure
12*4882a593Smuzhiyuncooperation with the community in the case of network server software.
13*4882a593Smuzhiyun
14*4882a593Smuzhiyun  The licenses for most software and other practical works are designed
15*4882a593Smuzhiyunto take away your freedom to share and change the works.  By contrast,
16*4882a593Smuzhiyunour General Public Licenses are intended to guarantee your freedom to
17*4882a593Smuzhiyunshare and change all versions of a program--to make sure it remains free
18*4882a593Smuzhiyunsoftware for all its users.
19*4882a593Smuzhiyun
20*4882a593Smuzhiyun  When we speak of free software, we are referring to freedom, not
21*4882a593Smuzhiyunprice.  Our General Public Licenses are designed to make sure that you
22*4882a593Smuzhiyunhave the freedom to distribute copies of free software (and charge for
23*4882a593Smuzhiyunthem if you wish), that you receive source code or can get it if you
24*4882a593Smuzhiyunwant it, that you can change the software or use pieces of it in new
25*4882a593Smuzhiyunfree programs, and that you know you can do these things.
26*4882a593Smuzhiyun
27*4882a593Smuzhiyun  Developers that use our General Public Licenses protect your rights
28*4882a593Smuzhiyunwith two steps: (1) assert copyright on the software, and (2) offer
29*4882a593Smuzhiyunyou this License which gives you legal permission to copy, distribute
30*4882a593Smuzhiyunand/or modify the software.
31*4882a593Smuzhiyun
32*4882a593Smuzhiyun  A secondary benefit of defending all users' freedom is that
33*4882a593Smuzhiyunimprovements made in alternate versions of the program, if they
34*4882a593Smuzhiyunreceive widespread use, become available for other developers to
35*4882a593Smuzhiyunincorporate.  Many developers of free software are heartened and
36*4882a593Smuzhiyunencouraged by the resulting cooperation.  However, in the case of
37*4882a593Smuzhiyunsoftware used on network servers, this result may fail to come about.
38*4882a593SmuzhiyunThe GNU General Public License permits making a modified version and
39*4882a593Smuzhiyunletting the public access it on a server without ever releasing its
40*4882a593Smuzhiyunsource code to the public.
41*4882a593Smuzhiyun
42*4882a593Smuzhiyun  The GNU Affero General Public License is designed specifically to
43*4882a593Smuzhiyunensure that, in such cases, the modified source code becomes available
44*4882a593Smuzhiyunto the community.  It requires the operator of a network server to
45*4882a593Smuzhiyunprovide the source code of the modified version running there to the
46*4882a593Smuzhiyunusers of that server.  Therefore, public use of a modified version, on
47*4882a593Smuzhiyuna publicly accessible server, gives the public access to the source
48*4882a593Smuzhiyuncode of the modified version.
49*4882a593Smuzhiyun
50*4882a593Smuzhiyun  An older license, called the Affero General Public License and
51*4882a593Smuzhiyunpublished by Affero, was designed to accomplish similar goals.  This is
52*4882a593Smuzhiyuna different license, not a version of the Affero GPL, but Affero has
53*4882a593Smuzhiyunreleased a new version of the Affero GPL which permits relicensing under
54*4882a593Smuzhiyunthis license.
55*4882a593Smuzhiyun
56*4882a593Smuzhiyun  The precise terms and conditions for copying, distribution and
57*4882a593Smuzhiyunmodification follow.
58*4882a593Smuzhiyun
59*4882a593Smuzhiyun                       TERMS AND CONDITIONS
60*4882a593Smuzhiyun
61*4882a593Smuzhiyun  0. Definitions.
62*4882a593Smuzhiyun
63*4882a593Smuzhiyun  "This License" refers to version 3 of the GNU Affero General Public License.
64*4882a593Smuzhiyun
65*4882a593Smuzhiyun  "Copyright" also means copyright-like laws that apply to other kinds of
66*4882a593Smuzhiyunworks, such as semiconductor masks.
67*4882a593Smuzhiyun
68*4882a593Smuzhiyun  "The Program" refers to any copyrightable work licensed under this
69*4882a593SmuzhiyunLicense.  Each licensee is addressed as "you".  "Licensees" and
70*4882a593Smuzhiyun"recipients" may be individuals or organizations.
71*4882a593Smuzhiyun
72*4882a593Smuzhiyun  To "modify" a work means to copy from or adapt all or part of the work
73*4882a593Smuzhiyunin a fashion requiring copyright permission, other than the making of an
74*4882a593Smuzhiyunexact copy.  The resulting work is called a "modified version" of the
75*4882a593Smuzhiyunearlier work or a work "based on" the earlier work.
76*4882a593Smuzhiyun
77*4882a593Smuzhiyun  A "covered work" means either the unmodified Program or a work based
78*4882a593Smuzhiyunon the Program.
79*4882a593Smuzhiyun
80*4882a593Smuzhiyun  To "propagate" a work means to do anything with it that, without
81*4882a593Smuzhiyunpermission, would make you directly or secondarily liable for
82*4882a593Smuzhiyuninfringement under applicable copyright law, except executing it on a
83*4882a593Smuzhiyuncomputer or modifying a private copy.  Propagation includes copying,
84*4882a593Smuzhiyundistribution (with or without modification), making available to the
85*4882a593Smuzhiyunpublic, and in some countries other activities as well.
86*4882a593Smuzhiyun
87*4882a593Smuzhiyun  To "convey" a work means any kind of propagation that enables other
88*4882a593Smuzhiyunparties to make or receive copies.  Mere interaction with a user through
89*4882a593Smuzhiyuna computer network, with no transfer of a copy, is not conveying.
90*4882a593Smuzhiyun
91*4882a593Smuzhiyun  An interactive user interface displays "Appropriate Legal Notices"
92*4882a593Smuzhiyunto the extent that it includes a convenient and prominently visible
93*4882a593Smuzhiyunfeature that (1) displays an appropriate copyright notice, and (2)
94*4882a593Smuzhiyuntells the user that there is no warranty for the work (except to the
95*4882a593Smuzhiyunextent that warranties are provided), that licensees may convey the
96*4882a593Smuzhiyunwork under this License, and how to view a copy of this License.  If
97*4882a593Smuzhiyunthe interface presents a list of user commands or options, such as a
98*4882a593Smuzhiyunmenu, a prominent item in the list meets this criterion.
99*4882a593Smuzhiyun
100*4882a593Smuzhiyun  1. Source Code.
101*4882a593Smuzhiyun
102*4882a593Smuzhiyun  The "source code" for a work means the preferred form of the work
103*4882a593Smuzhiyunfor making modifications to it.  "Object code" means any non-source
104*4882a593Smuzhiyunform of a work.
105*4882a593Smuzhiyun
106*4882a593Smuzhiyun  A "Standard Interface" means an interface that either is an official
107*4882a593Smuzhiyunstandard defined by a recognized standards body, or, in the case of
108*4882a593Smuzhiyuninterfaces specified for a particular programming language, one that
109*4882a593Smuzhiyunis widely used among developers working in that language.
110*4882a593Smuzhiyun
111*4882a593Smuzhiyun  The "System Libraries" of an executable work include anything, other
112*4882a593Smuzhiyunthan the work as a whole, that (a) is included in the normal form of
113*4882a593Smuzhiyunpackaging a Major Component, but which is not part of that Major
114*4882a593SmuzhiyunComponent, and (b) serves only to enable use of the work with that
115*4882a593SmuzhiyunMajor Component, or to implement a Standard Interface for which an
116*4882a593Smuzhiyunimplementation is available to the public in source code form.  A
117*4882a593Smuzhiyun"Major Component", in this context, means a major essential component
118*4882a593Smuzhiyun(kernel, window system, and so on) of the specific operating system
119*4882a593Smuzhiyun(if any) on which the executable work runs, or a compiler used to
120*4882a593Smuzhiyunproduce the work, or an object code interpreter used to run it.
121*4882a593Smuzhiyun
122*4882a593Smuzhiyun  The "Corresponding Source" for a work in object code form means all
123*4882a593Smuzhiyunthe source code needed to generate, install, and (for an executable
124*4882a593Smuzhiyunwork) run the object code and to modify the work, including scripts to
125*4882a593Smuzhiyuncontrol those activities.  However, it does not include the work's
126*4882a593SmuzhiyunSystem Libraries, or general-purpose tools or generally available free
127*4882a593Smuzhiyunprograms which are used unmodified in performing those activities but
128*4882a593Smuzhiyunwhich are not part of the work.  For example, Corresponding Source
129*4882a593Smuzhiyunincludes interface definition files associated with source files for
130*4882a593Smuzhiyunthe work, and the source code for shared libraries and dynamically
131*4882a593Smuzhiyunlinked subprograms that the work is specifically designed to require,
132*4882a593Smuzhiyunsuch as by intimate data communication or control flow between those
133*4882a593Smuzhiyunsubprograms and other parts of the work.
134*4882a593Smuzhiyun
135*4882a593Smuzhiyun  The Corresponding Source need not include anything that users
136*4882a593Smuzhiyuncan regenerate automatically from other parts of the Corresponding
137*4882a593SmuzhiyunSource.
138*4882a593Smuzhiyun
139*4882a593Smuzhiyun  The Corresponding Source for a work in source code form is that
140*4882a593Smuzhiyunsame work.
141*4882a593Smuzhiyun
142*4882a593Smuzhiyun  2. Basic Permissions.
143*4882a593Smuzhiyun
144*4882a593Smuzhiyun  All rights granted under this License are granted for the term of
145*4882a593Smuzhiyuncopyright on the Program, and are irrevocable provided the stated
146*4882a593Smuzhiyunconditions are met.  This License explicitly affirms your unlimited
147*4882a593Smuzhiyunpermission to run the unmodified Program.  The output from running a
148*4882a593Smuzhiyuncovered work is covered by this License only if the output, given its
149*4882a593Smuzhiyuncontent, constitutes a covered work.  This License acknowledges your
150*4882a593Smuzhiyunrights of fair use or other equivalent, as provided by copyright law.
151*4882a593Smuzhiyun
152*4882a593Smuzhiyun  You may make, run and propagate covered works that you do not
153*4882a593Smuzhiyunconvey, without conditions so long as your license otherwise remains
154*4882a593Smuzhiyunin force.  You may convey covered works to others for the sole purpose
155*4882a593Smuzhiyunof having them make modifications exclusively for you, or provide you
156*4882a593Smuzhiyunwith facilities for running those works, provided that you comply with
157*4882a593Smuzhiyunthe terms of this License in conveying all material for which you do
158*4882a593Smuzhiyunnot control copyright.  Those thus making or running the covered works
159*4882a593Smuzhiyunfor you must do so exclusively on your behalf, under your direction
160*4882a593Smuzhiyunand control, on terms that prohibit them from making any copies of
161*4882a593Smuzhiyunyour copyrighted material outside their relationship with you.
162*4882a593Smuzhiyun
163*4882a593Smuzhiyun  Conveying under any other circumstances is permitted solely under
164*4882a593Smuzhiyunthe conditions stated below.  Sublicensing is not allowed; section 10
165*4882a593Smuzhiyunmakes it unnecessary.
166*4882a593Smuzhiyun
167*4882a593Smuzhiyun  3. Protecting Users' Legal Rights From Anti-Circumvention Law.
168*4882a593Smuzhiyun
169*4882a593Smuzhiyun  No covered work shall be deemed part of an effective technological
170*4882a593Smuzhiyunmeasure under any applicable law fulfilling obligations under article
171*4882a593Smuzhiyun11 of the WIPO copyright treaty adopted on 20 December 1996, or
172*4882a593Smuzhiyunsimilar laws prohibiting or restricting circumvention of such
173*4882a593Smuzhiyunmeasures.
174*4882a593Smuzhiyun
175*4882a593Smuzhiyun  When you convey a covered work, you waive any legal power to forbid
176*4882a593Smuzhiyuncircumvention of technological measures to the extent such circumvention
177*4882a593Smuzhiyunis effected by exercising rights under this License with respect to
178*4882a593Smuzhiyunthe covered work, and you disclaim any intention to limit operation or
179*4882a593Smuzhiyunmodification of the work as a means of enforcing, against the work's
180*4882a593Smuzhiyunusers, your or third parties' legal rights to forbid circumvention of
181*4882a593Smuzhiyuntechnological measures.
182*4882a593Smuzhiyun
183*4882a593Smuzhiyun  4. Conveying Verbatim Copies.
184*4882a593Smuzhiyun
185*4882a593Smuzhiyun  You may convey verbatim copies of the Program's source code as you
186*4882a593Smuzhiyunreceive it, in any medium, provided that you conspicuously and
187*4882a593Smuzhiyunappropriately publish on each copy an appropriate copyright notice;
188*4882a593Smuzhiyunkeep intact all notices stating that this License and any
189*4882a593Smuzhiyunnon-permissive terms added in accord with section 7 apply to the code;
190*4882a593Smuzhiyunkeep intact all notices of the absence of any warranty; and give all
191*4882a593Smuzhiyunrecipients a copy of this License along with the Program.
192*4882a593Smuzhiyun
193*4882a593Smuzhiyun  You may charge any price or no price for each copy that you convey,
194*4882a593Smuzhiyunand you may offer support or warranty protection for a fee.
195*4882a593Smuzhiyun
196*4882a593Smuzhiyun  5. Conveying Modified Source Versions.
197*4882a593Smuzhiyun
198*4882a593Smuzhiyun  You may convey a work based on the Program, or the modifications to
199*4882a593Smuzhiyunproduce it from the Program, in the form of source code under the
200*4882a593Smuzhiyunterms of section 4, provided that you also meet all of these conditions:
201*4882a593Smuzhiyun
202*4882a593Smuzhiyun    a) The work must carry prominent notices stating that you modified
203*4882a593Smuzhiyun    it, and giving a relevant date.
204*4882a593Smuzhiyun
205*4882a593Smuzhiyun    b) The work must carry prominent notices stating that it is
206*4882a593Smuzhiyun    released under this License and any conditions added under section
207*4882a593Smuzhiyun    7.  This requirement modifies the requirement in section 4 to
208*4882a593Smuzhiyun    "keep intact all notices".
209*4882a593Smuzhiyun
210*4882a593Smuzhiyun    c) You must license the entire work, as a whole, under this
211*4882a593Smuzhiyun    License to anyone who comes into possession of a copy.  This
212*4882a593Smuzhiyun    License will therefore apply, along with any applicable section 7
213*4882a593Smuzhiyun    additional terms, to the whole of the work, and all its parts,
214*4882a593Smuzhiyun    regardless of how they are packaged.  This License gives no
215*4882a593Smuzhiyun    permission to license the work in any other way, but it does not
216*4882a593Smuzhiyun    invalidate such permission if you have separately received it.
217*4882a593Smuzhiyun
218*4882a593Smuzhiyun    d) If the work has interactive user interfaces, each must display
219*4882a593Smuzhiyun    Appropriate Legal Notices; however, if the Program has interactive
220*4882a593Smuzhiyun    interfaces that do not display Appropriate Legal Notices, your
221*4882a593Smuzhiyun    work need not make them do so.
222*4882a593Smuzhiyun
223*4882a593Smuzhiyun  A compilation of a covered work with other separate and independent
224*4882a593Smuzhiyunworks, which are not by their nature extensions of the covered work,
225*4882a593Smuzhiyunand which are not combined with it such as to form a larger program,
226*4882a593Smuzhiyunin or on a volume of a storage or distribution medium, is called an
227*4882a593Smuzhiyun"aggregate" if the compilation and its resulting copyright are not
228*4882a593Smuzhiyunused to limit the access or legal rights of the compilation's users
229*4882a593Smuzhiyunbeyond what the individual works permit.  Inclusion of a covered work
230*4882a593Smuzhiyunin an aggregate does not cause this License to apply to the other
231*4882a593Smuzhiyunparts of the aggregate.
232*4882a593Smuzhiyun
233*4882a593Smuzhiyun  6. Conveying Non-Source Forms.
234*4882a593Smuzhiyun
235*4882a593Smuzhiyun  You may convey a covered work in object code form under the terms
236*4882a593Smuzhiyunof sections 4 and 5, provided that you also convey the
237*4882a593Smuzhiyunmachine-readable Corresponding Source under the terms of this License,
238*4882a593Smuzhiyunin one of these ways:
239*4882a593Smuzhiyun
240*4882a593Smuzhiyun    a) Convey the object code in, or embodied in, a physical product
241*4882a593Smuzhiyun    (including a physical distribution medium), accompanied by the
242*4882a593Smuzhiyun    Corresponding Source fixed on a durable physical medium
243*4882a593Smuzhiyun    customarily used for software interchange.
244*4882a593Smuzhiyun
245*4882a593Smuzhiyun    b) Convey the object code in, or embodied in, a physical product
246*4882a593Smuzhiyun    (including a physical distribution medium), accompanied by a
247*4882a593Smuzhiyun    written offer, valid for at least three years and valid for as
248*4882a593Smuzhiyun    long as you offer spare parts or customer support for that product
249*4882a593Smuzhiyun    model, to give anyone who possesses the object code either (1) a
250*4882a593Smuzhiyun    copy of the Corresponding Source for all the software in the
251*4882a593Smuzhiyun    product that is covered by this License, on a durable physical
252*4882a593Smuzhiyun    medium customarily used for software interchange, for a price no
253*4882a593Smuzhiyun    more than your reasonable cost of physically performing this
254*4882a593Smuzhiyun    conveying of source, or (2) access to copy the
255*4882a593Smuzhiyun    Corresponding Source from a network server at no charge.
256*4882a593Smuzhiyun
257*4882a593Smuzhiyun    c) Convey individual copies of the object code with a copy of the
258*4882a593Smuzhiyun    written offer to provide the Corresponding Source.  This
259*4882a593Smuzhiyun    alternative is allowed only occasionally and noncommercially, and
260*4882a593Smuzhiyun    only if you received the object code with such an offer, in accord
261*4882a593Smuzhiyun    with subsection 6b.
262*4882a593Smuzhiyun
263*4882a593Smuzhiyun    d) Convey the object code by offering access from a designated
264*4882a593Smuzhiyun    place (gratis or for a charge), and offer equivalent access to the
265*4882a593Smuzhiyun    Corresponding Source in the same way through the same place at no
266*4882a593Smuzhiyun    further charge.  You need not require recipients to copy the
267*4882a593Smuzhiyun    Corresponding Source along with the object code.  If the place to
268*4882a593Smuzhiyun    copy the object code is a network server, the Corresponding Source
269*4882a593Smuzhiyun    may be on a different server (operated by you or a third party)
270*4882a593Smuzhiyun    that supports equivalent copying facilities, provided you maintain
271*4882a593Smuzhiyun    clear directions next to the object code saying where to find the
272*4882a593Smuzhiyun    Corresponding Source.  Regardless of what server hosts the
273*4882a593Smuzhiyun    Corresponding Source, you remain obligated to ensure that it is
274*4882a593Smuzhiyun    available for as long as needed to satisfy these requirements.
275*4882a593Smuzhiyun
276*4882a593Smuzhiyun    e) Convey the object code using peer-to-peer transmission, provided
277*4882a593Smuzhiyun    you inform other peers where the object code and Corresponding
278*4882a593Smuzhiyun    Source of the work are being offered to the general public at no
279*4882a593Smuzhiyun    charge under subsection 6d.
280*4882a593Smuzhiyun
281*4882a593Smuzhiyun  A separable portion of the object code, whose source code is excluded
282*4882a593Smuzhiyunfrom the Corresponding Source as a System Library, need not be
283*4882a593Smuzhiyunincluded in conveying the object code work.
284*4882a593Smuzhiyun
285*4882a593Smuzhiyun  A "User Product" is either (1) a "consumer product", which means any
286*4882a593Smuzhiyuntangible personal property which is normally used for personal, family,
287*4882a593Smuzhiyunor household purposes, or (2) anything designed or sold for incorporation
288*4882a593Smuzhiyuninto a dwelling.  In determining whether a product is a consumer product,
289*4882a593Smuzhiyundoubtful cases shall be resolved in favor of coverage.  For a particular
290*4882a593Smuzhiyunproduct received by a particular user, "normally used" refers to a
291*4882a593Smuzhiyuntypical or common use of that class of product, regardless of the status
292*4882a593Smuzhiyunof the particular user or of the way in which the particular user
293*4882a593Smuzhiyunactually uses, or expects or is expected to use, the product.  A product
294*4882a593Smuzhiyunis a consumer product regardless of whether the product has substantial
295*4882a593Smuzhiyuncommercial, industrial or non-consumer uses, unless such uses represent
296*4882a593Smuzhiyunthe only significant mode of use of the product.
297*4882a593Smuzhiyun
298*4882a593Smuzhiyun  "Installation Information" for a User Product means any methods,
299*4882a593Smuzhiyunprocedures, authorization keys, or other information required to install
300*4882a593Smuzhiyunand execute modified versions of a covered work in that User Product from
301*4882a593Smuzhiyuna modified version of its Corresponding Source.  The information must
302*4882a593Smuzhiyunsuffice to ensure that the continued functioning of the modified object
303*4882a593Smuzhiyuncode is in no case prevented or interfered with solely because
304*4882a593Smuzhiyunmodification has been made.
305*4882a593Smuzhiyun
306*4882a593Smuzhiyun  If you convey an object code work under this section in, or with, or
307*4882a593Smuzhiyunspecifically for use in, a User Product, and the conveying occurs as
308*4882a593Smuzhiyunpart of a transaction in which the right of possession and use of the
309*4882a593SmuzhiyunUser Product is transferred to the recipient in perpetuity or for a
310*4882a593Smuzhiyunfixed term (regardless of how the transaction is characterized), the
311*4882a593SmuzhiyunCorresponding Source conveyed under this section must be accompanied
312*4882a593Smuzhiyunby the Installation Information.  But this requirement does not apply
313*4882a593Smuzhiyunif neither you nor any third party retains the ability to install
314*4882a593Smuzhiyunmodified object code on the User Product (for example, the work has
315*4882a593Smuzhiyunbeen installed in ROM).
316*4882a593Smuzhiyun
317*4882a593Smuzhiyun  The requirement to provide Installation Information does not include a
318*4882a593Smuzhiyunrequirement to continue to provide support service, warranty, or updates
319*4882a593Smuzhiyunfor a work that has been modified or installed by the recipient, or for
320*4882a593Smuzhiyunthe User Product in which it has been modified or installed.  Access to a
321*4882a593Smuzhiyunnetwork may be denied when the modification itself materially and
322*4882a593Smuzhiyunadversely affects the operation of the network or violates the rules and
323*4882a593Smuzhiyunprotocols for communication across the network.
324*4882a593Smuzhiyun
325*4882a593Smuzhiyun  Corresponding Source conveyed, and Installation Information provided,
326*4882a593Smuzhiyunin accord with this section must be in a format that is publicly
327*4882a593Smuzhiyundocumented (and with an implementation available to the public in
328*4882a593Smuzhiyunsource code form), and must require no special password or key for
329*4882a593Smuzhiyununpacking, reading or copying.
330*4882a593Smuzhiyun
331*4882a593Smuzhiyun  7. Additional Terms.
332*4882a593Smuzhiyun
333*4882a593Smuzhiyun  "Additional permissions" are terms that supplement the terms of this
334*4882a593SmuzhiyunLicense by making exceptions from one or more of its conditions.
335*4882a593SmuzhiyunAdditional permissions that are applicable to the entire Program shall
336*4882a593Smuzhiyunbe treated as though they were included in this License, to the extent
337*4882a593Smuzhiyunthat they are valid under applicable law.  If additional permissions
338*4882a593Smuzhiyunapply only to part of the Program, that part may be used separately
339*4882a593Smuzhiyununder those permissions, but the entire Program remains governed by
340*4882a593Smuzhiyunthis License without regard to the additional permissions.
341*4882a593Smuzhiyun
342*4882a593Smuzhiyun  When you convey a copy of a covered work, you may at your option
343*4882a593Smuzhiyunremove any additional permissions from that copy, or from any part of
344*4882a593Smuzhiyunit.  (Additional permissions may be written to require their own
345*4882a593Smuzhiyunremoval in certain cases when you modify the work.)  You may place
346*4882a593Smuzhiyunadditional permissions on material, added by you to a covered work,
347*4882a593Smuzhiyunfor which you have or can give appropriate copyright permission.
348*4882a593Smuzhiyun
349*4882a593Smuzhiyun  Notwithstanding any other provision of this License, for material you
350*4882a593Smuzhiyunadd to a covered work, you may (if authorized by the copyright holders of
351*4882a593Smuzhiyunthat material) supplement the terms of this License with terms:
352*4882a593Smuzhiyun
353*4882a593Smuzhiyun    a) Disclaiming warranty or limiting liability differently from the
354*4882a593Smuzhiyun    terms of sections 15 and 16 of this License; or
355*4882a593Smuzhiyun
356*4882a593Smuzhiyun    b) Requiring preservation of specified reasonable legal notices or
357*4882a593Smuzhiyun    author attributions in that material or in the Appropriate Legal
358*4882a593Smuzhiyun    Notices displayed by works containing it; or
359*4882a593Smuzhiyun
360*4882a593Smuzhiyun    c) Prohibiting misrepresentation of the origin of that material, or
361*4882a593Smuzhiyun    requiring that modified versions of such material be marked in
362*4882a593Smuzhiyun    reasonable ways as different from the original version; or
363*4882a593Smuzhiyun
364*4882a593Smuzhiyun    d) Limiting the use for publicity purposes of names of licensors or
365*4882a593Smuzhiyun    authors of the material; or
366*4882a593Smuzhiyun
367*4882a593Smuzhiyun    e) Declining to grant rights under trademark law for use of some
368*4882a593Smuzhiyun    trade names, trademarks, or service marks; or
369*4882a593Smuzhiyun
370*4882a593Smuzhiyun    f) Requiring indemnification of licensors and authors of that
371*4882a593Smuzhiyun    material by anyone who conveys the material (or modified versions of
372*4882a593Smuzhiyun    it) with contractual assumptions of liability to the recipient, for
373*4882a593Smuzhiyun    any liability that these contractual assumptions directly impose on
374*4882a593Smuzhiyun    those licensors and authors.
375*4882a593Smuzhiyun
376*4882a593Smuzhiyun  All other non-permissive additional terms are considered "further
377*4882a593Smuzhiyunrestrictions" within the meaning of section 10.  If the Program as you
378*4882a593Smuzhiyunreceived it, or any part of it, contains a notice stating that it is
379*4882a593Smuzhiyungoverned by this License along with a term that is a further
380*4882a593Smuzhiyunrestriction, you may remove that term.  If a license document contains
381*4882a593Smuzhiyuna further restriction but permits relicensing or conveying under this
382*4882a593SmuzhiyunLicense, you may add to a covered work material governed by the terms
383*4882a593Smuzhiyunof that license document, provided that the further restriction does
384*4882a593Smuzhiyunnot survive such relicensing or conveying.
385*4882a593Smuzhiyun
386*4882a593Smuzhiyun  If you add terms to a covered work in accord with this section, you
387*4882a593Smuzhiyunmust place, in the relevant source files, a statement of the
388*4882a593Smuzhiyunadditional terms that apply to those files, or a notice indicating
389*4882a593Smuzhiyunwhere to find the applicable terms.
390*4882a593Smuzhiyun
391*4882a593Smuzhiyun  Additional terms, permissive or non-permissive, may be stated in the
392*4882a593Smuzhiyunform of a separately written license, or stated as exceptions;
393*4882a593Smuzhiyunthe above requirements apply either way.
394*4882a593Smuzhiyun
395*4882a593Smuzhiyun  8. Termination.
396*4882a593Smuzhiyun
397*4882a593Smuzhiyun  You may not propagate or modify a covered work except as expressly
398*4882a593Smuzhiyunprovided under this License.  Any attempt otherwise to propagate or
399*4882a593Smuzhiyunmodify it is void, and will automatically terminate your rights under
400*4882a593Smuzhiyunthis License (including any patent licenses granted under the third
401*4882a593Smuzhiyunparagraph of section 11).
402*4882a593Smuzhiyun
403*4882a593Smuzhiyun  However, if you cease all violation of this License, then your
404*4882a593Smuzhiyunlicense from a particular copyright holder is reinstated (a)
405*4882a593Smuzhiyunprovisionally, unless and until the copyright holder explicitly and
406*4882a593Smuzhiyunfinally terminates your license, and (b) permanently, if the copyright
407*4882a593Smuzhiyunholder fails to notify you of the violation by some reasonable means
408*4882a593Smuzhiyunprior to 60 days after the cessation.
409*4882a593Smuzhiyun
410*4882a593Smuzhiyun  Moreover, your license from a particular copyright holder is
411*4882a593Smuzhiyunreinstated permanently if the copyright holder notifies you of the
412*4882a593Smuzhiyunviolation by some reasonable means, this is the first time you have
413*4882a593Smuzhiyunreceived notice of violation of this License (for any work) from that
414*4882a593Smuzhiyuncopyright holder, and you cure the violation prior to 30 days after
415*4882a593Smuzhiyunyour receipt of the notice.
416*4882a593Smuzhiyun
417*4882a593Smuzhiyun  Termination of your rights under this section does not terminate the
418*4882a593Smuzhiyunlicenses of parties who have received copies or rights from you under
419*4882a593Smuzhiyunthis License.  If your rights have been terminated and not permanently
420*4882a593Smuzhiyunreinstated, you do not qualify to receive new licenses for the same
421*4882a593Smuzhiyunmaterial under section 10.
422*4882a593Smuzhiyun
423*4882a593Smuzhiyun  9. Acceptance Not Required for Having Copies.
424*4882a593Smuzhiyun
425*4882a593Smuzhiyun  You are not required to accept this License in order to receive or
426*4882a593Smuzhiyunrun a copy of the Program.  Ancillary propagation of a covered work
427*4882a593Smuzhiyunoccurring solely as a consequence of using peer-to-peer transmission
428*4882a593Smuzhiyunto receive a copy likewise does not require acceptance.  However,
429*4882a593Smuzhiyunnothing other than this License grants you permission to propagate or
430*4882a593Smuzhiyunmodify any covered work.  These actions infringe copyright if you do
431*4882a593Smuzhiyunnot accept this License.  Therefore, by modifying or propagating a
432*4882a593Smuzhiyuncovered work, you indicate your acceptance of this License to do so.
433*4882a593Smuzhiyun
434*4882a593Smuzhiyun  10. Automatic Licensing of Downstream Recipients.
435*4882a593Smuzhiyun
436*4882a593Smuzhiyun  Each time you convey a covered work, the recipient automatically
437*4882a593Smuzhiyunreceives a license from the original licensors, to run, modify and
438*4882a593Smuzhiyunpropagate that work, subject to this License.  You are not responsible
439*4882a593Smuzhiyunfor enforcing compliance by third parties with this License.
440*4882a593Smuzhiyun
441*4882a593Smuzhiyun  An "entity transaction" is a transaction transferring control of an
442*4882a593Smuzhiyunorganization, or substantially all assets of one, or subdividing an
443*4882a593Smuzhiyunorganization, or merging organizations.  If propagation of a covered
444*4882a593Smuzhiyunwork results from an entity transaction, each party to that
445*4882a593Smuzhiyuntransaction who receives a copy of the work also receives whatever
446*4882a593Smuzhiyunlicenses to the work the party's predecessor in interest had or could
447*4882a593Smuzhiyungive under the previous paragraph, plus a right to possession of the
448*4882a593SmuzhiyunCorresponding Source of the work from the predecessor in interest, if
449*4882a593Smuzhiyunthe predecessor has it or can get it with reasonable efforts.
450*4882a593Smuzhiyun
451*4882a593Smuzhiyun  You may not impose any further restrictions on the exercise of the
452*4882a593Smuzhiyunrights granted or affirmed under this License.  For example, you may
453*4882a593Smuzhiyunnot impose a license fee, royalty, or other charge for exercise of
454*4882a593Smuzhiyunrights granted under this License, and you may not initiate litigation
455*4882a593Smuzhiyun(including a cross-claim or counterclaim in a lawsuit) alleging that
456*4882a593Smuzhiyunany patent claim is infringed by making, using, selling, offering for
457*4882a593Smuzhiyunsale, or importing the Program or any portion of it.
458*4882a593Smuzhiyun
459*4882a593Smuzhiyun  11. Patents.
460*4882a593Smuzhiyun
461*4882a593Smuzhiyun  A "contributor" is a copyright holder who authorizes use under this
462*4882a593SmuzhiyunLicense of the Program or a work on which the Program is based.  The
463*4882a593Smuzhiyunwork thus licensed is called the contributor's "contributor version".
464*4882a593Smuzhiyun
465*4882a593Smuzhiyun  A contributor's "essential patent claims" are all patent claims
466*4882a593Smuzhiyunowned or controlled by the contributor, whether already acquired or
467*4882a593Smuzhiyunhereafter acquired, that would be infringed by some manner, permitted
468*4882a593Smuzhiyunby this License, of making, using, or selling its contributor version,
469*4882a593Smuzhiyunbut do not include claims that would be infringed only as a
470*4882a593Smuzhiyunconsequence of further modification of the contributor version.  For
471*4882a593Smuzhiyunpurposes of this definition, "control" includes the right to grant
472*4882a593Smuzhiyunpatent sublicenses in a manner consistent with the requirements of
473*4882a593Smuzhiyunthis License.
474*4882a593Smuzhiyun
475*4882a593Smuzhiyun  Each contributor grants you a non-exclusive, worldwide, royalty-free
476*4882a593Smuzhiyunpatent license under the contributor's essential patent claims, to
477*4882a593Smuzhiyunmake, use, sell, offer for sale, import and otherwise run, modify and
478*4882a593Smuzhiyunpropagate the contents of its contributor version.
479*4882a593Smuzhiyun
480*4882a593Smuzhiyun  In the following three paragraphs, a "patent license" is any express
481*4882a593Smuzhiyunagreement or commitment, however denominated, not to enforce a patent
482*4882a593Smuzhiyun(such as an express permission to practice a patent or covenant not to
483*4882a593Smuzhiyunsue for patent infringement).  To "grant" such a patent license to a
484*4882a593Smuzhiyunparty means to make such an agreement or commitment not to enforce a
485*4882a593Smuzhiyunpatent against the party.
486*4882a593Smuzhiyun
487*4882a593Smuzhiyun  If you convey a covered work, knowingly relying on a patent license,
488*4882a593Smuzhiyunand the Corresponding Source of the work is not available for anyone
489*4882a593Smuzhiyunto copy, free of charge and under the terms of this License, through a
490*4882a593Smuzhiyunpublicly available network server or other readily accessible means,
491*4882a593Smuzhiyunthen you must either (1) cause the Corresponding Source to be so
492*4882a593Smuzhiyunavailable, or (2) arrange to deprive yourself of the benefit of the
493*4882a593Smuzhiyunpatent license for this particular work, or (3) arrange, in a manner
494*4882a593Smuzhiyunconsistent with the requirements of this License, to extend the patent
495*4882a593Smuzhiyunlicense to downstream recipients.  "Knowingly relying" means you have
496*4882a593Smuzhiyunactual knowledge that, but for the patent license, your conveying the
497*4882a593Smuzhiyuncovered work in a country, or your recipient's use of the covered work
498*4882a593Smuzhiyunin a country, would infringe one or more identifiable patents in that
499*4882a593Smuzhiyuncountry that you have reason to believe are valid.
500*4882a593Smuzhiyun
501*4882a593Smuzhiyun  If, pursuant to or in connection with a single transaction or
502*4882a593Smuzhiyunarrangement, you convey, or propagate by procuring conveyance of, a
503*4882a593Smuzhiyuncovered work, and grant a patent license to some of the parties
504*4882a593Smuzhiyunreceiving the covered work authorizing them to use, propagate, modify
505*4882a593Smuzhiyunor convey a specific copy of the covered work, then the patent license
506*4882a593Smuzhiyunyou grant is automatically extended to all recipients of the covered
507*4882a593Smuzhiyunwork and works based on it.
508*4882a593Smuzhiyun
509*4882a593Smuzhiyun  A patent license is "discriminatory" if it does not include within
510*4882a593Smuzhiyunthe scope of its coverage, prohibits the exercise of, or is
511*4882a593Smuzhiyunconditioned on the non-exercise of one or more of the rights that are
512*4882a593Smuzhiyunspecifically granted under this License.  You may not convey a covered
513*4882a593Smuzhiyunwork if you are a party to an arrangement with a third party that is
514*4882a593Smuzhiyunin the business of distributing software, under which you make payment
515*4882a593Smuzhiyunto the third party based on the extent of your activity of conveying
516*4882a593Smuzhiyunthe work, and under which the third party grants, to any of the
517*4882a593Smuzhiyunparties who would receive the covered work from you, a discriminatory
518*4882a593Smuzhiyunpatent license (a) in connection with copies of the covered work
519*4882a593Smuzhiyunconveyed by you (or copies made from those copies), or (b) primarily
520*4882a593Smuzhiyunfor and in connection with specific products or compilations that
521*4882a593Smuzhiyuncontain the covered work, unless you entered into that arrangement,
522*4882a593Smuzhiyunor that patent license was granted, prior to 28 March 2007.
523*4882a593Smuzhiyun
524*4882a593Smuzhiyun  Nothing in this License shall be construed as excluding or limiting
525*4882a593Smuzhiyunany implied license or other defenses to infringement that may
526*4882a593Smuzhiyunotherwise be available to you under applicable patent law.
527*4882a593Smuzhiyun
528*4882a593Smuzhiyun  12. No Surrender of Others' Freedom.
529*4882a593Smuzhiyun
530*4882a593Smuzhiyun  If conditions are imposed on you (whether by court order, agreement or
531*4882a593Smuzhiyunotherwise) that contradict the conditions of this License, they do not
532*4882a593Smuzhiyunexcuse you from the conditions of this License.  If you cannot convey a
533*4882a593Smuzhiyuncovered work so as to satisfy simultaneously your obligations under this
534*4882a593SmuzhiyunLicense and any other pertinent obligations, then as a consequence you may
535*4882a593Smuzhiyunnot convey it at all.  For example, if you agree to terms that obligate you
536*4882a593Smuzhiyunto collect a royalty for further conveying from those to whom you convey
537*4882a593Smuzhiyunthe Program, the only way you could satisfy both those terms and this
538*4882a593SmuzhiyunLicense would be to refrain entirely from conveying the Program.
539*4882a593Smuzhiyun
540*4882a593Smuzhiyun  13. Remote Network Interaction; Use with the GNU General Public License.
541*4882a593Smuzhiyun
542*4882a593Smuzhiyun  Notwithstanding any other provision of this License, if you modify the
543*4882a593SmuzhiyunProgram, your modified version must prominently offer all users
544*4882a593Smuzhiyuninteracting with it remotely through a computer network (if your version
545*4882a593Smuzhiyunsupports such interaction) an opportunity to receive the Corresponding
546*4882a593SmuzhiyunSource of your version by providing access to the Corresponding Source
547*4882a593Smuzhiyunfrom a network server at no charge, through some standard or customary
548*4882a593Smuzhiyunmeans of facilitating copying of software.  This Corresponding Source
549*4882a593Smuzhiyunshall include the Corresponding Source for any work covered by version 3
550*4882a593Smuzhiyunof the GNU General Public License that is incorporated pursuant to the
551*4882a593Smuzhiyunfollowing paragraph.
552*4882a593Smuzhiyun
553*4882a593Smuzhiyun  Notwithstanding any other provision of this License, you have
554*4882a593Smuzhiyunpermission to link or combine any covered work with a work licensed
555*4882a593Smuzhiyununder version 3 of the GNU General Public License into a single
556*4882a593Smuzhiyuncombined work, and to convey the resulting work.  The terms of this
557*4882a593SmuzhiyunLicense will continue to apply to the part which is the covered work,
558*4882a593Smuzhiyunbut the work with which it is combined will remain governed by version
559*4882a593Smuzhiyun3 of the GNU General Public License.
560*4882a593Smuzhiyun
561*4882a593Smuzhiyun  14. Revised Versions of this License.
562*4882a593Smuzhiyun
563*4882a593Smuzhiyun  The Free Software Foundation may publish revised and/or new versions of
564*4882a593Smuzhiyunthe GNU Affero General Public License from time to time.  Such new versions
565*4882a593Smuzhiyunwill be similar in spirit to the present version, but may differ in detail to
566*4882a593Smuzhiyunaddress new problems or concerns.
567*4882a593Smuzhiyun
568*4882a593Smuzhiyun  Each version is given a distinguishing version number.  If the
569*4882a593SmuzhiyunProgram specifies that a certain numbered version of the GNU Affero General
570*4882a593SmuzhiyunPublic License "or any later version" applies to it, you have the
571*4882a593Smuzhiyunoption of following the terms and conditions either of that numbered
572*4882a593Smuzhiyunversion or of any later version published by the Free Software
573*4882a593SmuzhiyunFoundation.  If the Program does not specify a version number of the
574*4882a593SmuzhiyunGNU Affero General Public License, you may choose any version ever published
575*4882a593Smuzhiyunby the Free Software Foundation.
576*4882a593Smuzhiyun
577*4882a593Smuzhiyun  If the Program specifies that a proxy can decide which future
578*4882a593Smuzhiyunversions of the GNU Affero General Public License can be used, that proxy's
579*4882a593Smuzhiyunpublic statement of acceptance of a version permanently authorizes you
580*4882a593Smuzhiyunto choose that version for the Program.
581*4882a593Smuzhiyun
582*4882a593Smuzhiyun  Later license versions may give you additional or different
583*4882a593Smuzhiyunpermissions.  However, no additional obligations are imposed on any
584*4882a593Smuzhiyunauthor or copyright holder as a result of your choosing to follow a
585*4882a593Smuzhiyunlater version.
586*4882a593Smuzhiyun
587*4882a593Smuzhiyun  15. Disclaimer of Warranty.
588*4882a593Smuzhiyun
589*4882a593Smuzhiyun  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
590*4882a593SmuzhiyunAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
591*4882a593SmuzhiyunHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
592*4882a593SmuzhiyunOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
593*4882a593SmuzhiyunTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
594*4882a593SmuzhiyunPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
595*4882a593SmuzhiyunIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
596*4882a593SmuzhiyunALL NECESSARY SERVICING, REPAIR OR CORRECTION.
597*4882a593Smuzhiyun
598*4882a593Smuzhiyun  16. Limitation of Liability.
599*4882a593Smuzhiyun
600*4882a593Smuzhiyun  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
601*4882a593SmuzhiyunWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
602*4882a593SmuzhiyunTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
603*4882a593SmuzhiyunGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
604*4882a593SmuzhiyunUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
605*4882a593SmuzhiyunDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
606*4882a593SmuzhiyunPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
607*4882a593SmuzhiyunEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
608*4882a593SmuzhiyunSUCH DAMAGES.
609*4882a593Smuzhiyun
610*4882a593Smuzhiyun  17. Interpretation of Sections 15 and 16.
611*4882a593Smuzhiyun
612*4882a593Smuzhiyun  If the disclaimer of warranty and limitation of liability provided
613*4882a593Smuzhiyunabove cannot be given local legal effect according to their terms,
614*4882a593Smuzhiyunreviewing courts shall apply local law that most closely approximates
615*4882a593Smuzhiyunan absolute waiver of all civil liability in connection with the
616*4882a593SmuzhiyunProgram, unless a warranty or assumption of liability accompanies a
617*4882a593Smuzhiyuncopy of the Program in return for a fee.
618*4882a593Smuzhiyun
619*4882a593Smuzhiyun                     END OF TERMS AND CONDITIONS
620*4882a593Smuzhiyun
621*4882a593Smuzhiyun            How to Apply These Terms to Your New Programs
622*4882a593Smuzhiyun
623*4882a593Smuzhiyun  If you develop a new program, and you want it to be of the greatest
624*4882a593Smuzhiyunpossible use to the public, the best way to achieve this is to make it
625*4882a593Smuzhiyunfree software which everyone can redistribute and change under these terms.
626*4882a593Smuzhiyun
627*4882a593Smuzhiyun  To do so, attach the following notices to the program.  It is safest
628*4882a593Smuzhiyunto attach them to the start of each source file to most effectively
629*4882a593Smuzhiyunstate the exclusion of warranty; and each file should have at least
630*4882a593Smuzhiyunthe "copyright" line and a pointer to where the full notice is found.
631*4882a593Smuzhiyun
632*4882a593Smuzhiyun    <one line to give the program's name and a brief idea of what it does.>
633*4882a593Smuzhiyun    Copyright (C) <year>  <name of author>
634*4882a593Smuzhiyun
635*4882a593Smuzhiyun    This program is free software: you can redistribute it and/or modify
636*4882a593Smuzhiyun    it under the terms of the GNU Affero General Public License as published by
637*4882a593Smuzhiyun    the Free Software Foundation, either version 3 of the License, or
638*4882a593Smuzhiyun    (at your option) any later version.
639*4882a593Smuzhiyun
640*4882a593Smuzhiyun    This program is distributed in the hope that it will be useful,
641*4882a593Smuzhiyun    but WITHOUT ANY WARRANTY; without even the implied warranty of
642*4882a593Smuzhiyun    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
643*4882a593Smuzhiyun    GNU Affero General Public License for more details.
644*4882a593Smuzhiyun
645*4882a593Smuzhiyun    You should have received a copy of the GNU Affero General Public License
646*4882a593Smuzhiyun    along with this program.  If not, see <http://www.gnu.org/licenses/>.
647*4882a593Smuzhiyun
648*4882a593SmuzhiyunAlso add information on how to contact you by electronic and paper mail.
649*4882a593Smuzhiyun
650*4882a593Smuzhiyun  If your software can interact with users remotely through a computer
651*4882a593Smuzhiyunnetwork, you should also make sure that it provides a way for users to
652*4882a593Smuzhiyunget its source.  For example, if your program is a web application, its
653*4882a593Smuzhiyuninterface could display a "Source" link that leads users to an archive
654*4882a593Smuzhiyunof the code.  There are many ways you could offer source, and different
655*4882a593Smuzhiyunsolutions will be better for different programs; see section 13 for the
656*4882a593Smuzhiyunspecific requirements.
657*4882a593Smuzhiyun
658*4882a593Smuzhiyun  You should also get your employer (if you work as a programmer) or school,
659*4882a593Smuzhiyunif any, to sign a "copyright disclaimer" for the program, if necessary.
660*4882a593SmuzhiyunFor more information on this, and how to apply and follow the GNU AGPL, see
661*4882a593Smuzhiyun<http://www.gnu.org/licenses/>.
662