xref: /OK3568_Linux_fs/yocto/poky/meta/files/common-licenses/AGPL-3.0-or-later (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunGNU AFFERO GENERAL PUBLIC LICENSE
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunVersion 3, 19 November 2007
4*4882a593Smuzhiyun
5*4882a593SmuzhiyunCopyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunEveryone is permitted to copy and distribute verbatim copies of this license
8*4882a593Smuzhiyundocument, but changing it is not allowed.
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunPreamble
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunThe GNU Affero General Public License is a free, copyleft license for software
13*4882a593Smuzhiyunand other kinds of works, specifically designed to ensure cooperation with
14*4882a593Smuzhiyunthe community in the case of network server software.
15*4882a593Smuzhiyun
16*4882a593SmuzhiyunThe licenses for most software and other practical works are designed to take
17*4882a593Smuzhiyunaway your freedom to share and change the works. By contrast, our General
18*4882a593SmuzhiyunPublic Licenses are intended to guarantee your freedom to share and change
19*4882a593Smuzhiyunall versions of a program--to make sure it remains free software for all its
20*4882a593Smuzhiyunusers.
21*4882a593Smuzhiyun
22*4882a593SmuzhiyunWhen we speak of free software, we are referring to freedom, not price. Our
23*4882a593SmuzhiyunGeneral Public Licenses are designed to make sure that you have the freedom
24*4882a593Smuzhiyunto distribute copies of free software (and charge for them if you wish), that
25*4882a593Smuzhiyunyou receive source code or can get it if you want it, that you can change
26*4882a593Smuzhiyunthe software or use pieces of it in new free programs, and that you know you
27*4882a593Smuzhiyuncan do these things.
28*4882a593Smuzhiyun
29*4882a593SmuzhiyunDevelopers that use our General Public Licenses protect your rights with two
30*4882a593Smuzhiyunsteps: (1) assert copyright on the software, and (2) offer you this License
31*4882a593Smuzhiyunwhich gives you legal permission to copy, distribute and/or modify the software.
32*4882a593Smuzhiyun
33*4882a593SmuzhiyunA secondary benefit of defending all users' freedom is that improvements made
34*4882a593Smuzhiyunin alternate versions of the program, if they receive widespread use, become
35*4882a593Smuzhiyunavailable for other developers to incorporate. Many developers of free software
36*4882a593Smuzhiyunare heartened and encouraged by the resulting cooperation. However, in the
37*4882a593Smuzhiyuncase of software used on network servers, this result may fail to come about.
38*4882a593SmuzhiyunThe GNU General Public License permits making a modified version and letting
39*4882a593Smuzhiyunthe public access it on a server without ever releasing its source code to
40*4882a593Smuzhiyunthe public.
41*4882a593Smuzhiyun
42*4882a593SmuzhiyunThe GNU Affero General Public License is designed specifically to ensure that,
43*4882a593Smuzhiyunin such cases, the modified source code becomes available to the community.
44*4882a593SmuzhiyunIt requires the operator of a network server to provide the source code of
45*4882a593Smuzhiyunthe modified version running there to the users of that server. Therefore,
46*4882a593Smuzhiyunpublic use of a modified version, on a publicly accessible server, gives the
47*4882a593Smuzhiyunpublic access to the source code of the modified version.
48*4882a593Smuzhiyun
49*4882a593SmuzhiyunAn older license, called the Affero General Public License and published by
50*4882a593SmuzhiyunAffero, was designed to accomplish similar goals. This is a different license,
51*4882a593Smuzhiyunnot a version of the Affero GPL, but Affero has released a new version of
52*4882a593Smuzhiyunthe Affero GPL which permits relicensing under this license.
53*4882a593Smuzhiyun
54*4882a593SmuzhiyunThe precise terms and conditions for copying, distribution and modification
55*4882a593Smuzhiyunfollow.
56*4882a593Smuzhiyun
57*4882a593SmuzhiyunTERMS AND CONDITIONS
58*4882a593Smuzhiyun
59*4882a593Smuzhiyun   0. Definitions.
60*4882a593Smuzhiyun
61*4882a593Smuzhiyun   "This License" refers to version 3 of the GNU Affero General Public License.
62*4882a593Smuzhiyun
63*4882a593Smuzhiyun"Copyright" also means copyright-like laws that apply to other kinds of works,
64*4882a593Smuzhiyunsuch as semiconductor masks.
65*4882a593Smuzhiyun
66*4882a593Smuzhiyun"The Program" refers to any copyrightable work licensed under this License.
67*4882a593SmuzhiyunEach licensee is addressed as "you". "Licensees" and "recipients" may be individuals
68*4882a593Smuzhiyunor organizations.
69*4882a593Smuzhiyun
70*4882a593SmuzhiyunTo "modify" a work means to copy from or adapt all or part of the work in
71*4882a593Smuzhiyuna fashion requiring copyright permission, other than the making of an exact
72*4882a593Smuzhiyuncopy. The resulting work is called a "modified version" of the earlier work
73*4882a593Smuzhiyunor a work "based on" the earlier work.
74*4882a593Smuzhiyun
75*4882a593SmuzhiyunA "covered work" means either the unmodified Program or a work based on the
76*4882a593SmuzhiyunProgram.
77*4882a593Smuzhiyun
78*4882a593SmuzhiyunTo "propagate" a work means to do anything with it that, without permission,
79*4882a593Smuzhiyunwould make you directly or secondarily liable for infringement under applicable
80*4882a593Smuzhiyuncopyright law, except executing it on a computer or modifying a private copy.
81*4882a593SmuzhiyunPropagation includes copying, distribution (with or without modification),
82*4882a593Smuzhiyunmaking available to the public, and in some countries other activities as
83*4882a593Smuzhiyunwell.
84*4882a593Smuzhiyun
85*4882a593SmuzhiyunTo "convey" a work means any kind of propagation that enables other parties
86*4882a593Smuzhiyunto make or receive copies. Mere interaction with a user through a computer
87*4882a593Smuzhiyunnetwork, with no transfer of a copy, is not conveying.
88*4882a593Smuzhiyun
89*4882a593SmuzhiyunAn interactive user interface displays "Appropriate Legal Notices" to the
90*4882a593Smuzhiyunextent that it includes a convenient and prominently visible feature that
91*4882a593Smuzhiyun(1) displays an appropriate copyright notice, and (2) tells the user that
92*4882a593Smuzhiyunthere is no warranty for the work (except to the extent that warranties are
93*4882a593Smuzhiyunprovided), that licensees may convey the work under this License, and how
94*4882a593Smuzhiyunto view a copy of this License. If the interface presents a list of user commands
95*4882a593Smuzhiyunor options, such as a menu, a prominent item in the list meets this criterion.
96*4882a593Smuzhiyun
97*4882a593Smuzhiyun   1. Source Code.
98*4882a593Smuzhiyun
99*4882a593SmuzhiyunThe "source code" for a work means the preferred form of the work for making
100*4882a593Smuzhiyunmodifications to it. "Object code" means any non-source form of a work.
101*4882a593Smuzhiyun
102*4882a593SmuzhiyunA "Standard Interface" means an interface that either is an official standard
103*4882a593Smuzhiyundefined by a recognized standards body, or, in the case of interfaces specified
104*4882a593Smuzhiyunfor a particular programming language, one that is widely used among developers
105*4882a593Smuzhiyunworking in that language.
106*4882a593Smuzhiyun
107*4882a593SmuzhiyunThe "System Libraries" of an executable work include anything, other than
108*4882a593Smuzhiyunthe work as a whole, that (a) is included in the normal form of packaging
109*4882a593Smuzhiyuna Major Component, but which is not part of that Major Component, and (b)
110*4882a593Smuzhiyunserves only to enable use of the work with that Major Component, or to implement
111*4882a593Smuzhiyuna Standard Interface for which an implementation is available to the public
112*4882a593Smuzhiyunin source code form. A "Major Component", in this context, means a major essential
113*4882a593Smuzhiyuncomponent (kernel, window system, and so on) of the specific operating system
114*4882a593Smuzhiyun(if any) on which the executable work runs, or a compiler used to produce
115*4882a593Smuzhiyunthe work, or an object code interpreter used to run it.
116*4882a593Smuzhiyun
117*4882a593SmuzhiyunThe "Corresponding Source" for a work in object code form means all the source
118*4882a593Smuzhiyuncode needed to generate, install, and (for an executable work) run the object
119*4882a593Smuzhiyuncode and to modify the work, including scripts to control those activities.
120*4882a593SmuzhiyunHowever, it does not include the work's System Libraries, or general-purpose
121*4882a593Smuzhiyuntools or generally available free programs which are used unmodified in performing
122*4882a593Smuzhiyunthose activities but which are not part of the work. For example, Corresponding
123*4882a593SmuzhiyunSource includes interface definition files associated with source files for
124*4882a593Smuzhiyunthe work, and the source code for shared libraries and dynamically linked
125*4882a593Smuzhiyunsubprograms that the work is specifically designed to require, such as by
126*4882a593Smuzhiyunintimate data communication or control flow between those
127*4882a593Smuzhiyun
128*4882a593Smuzhiyun   subprograms and other parts of the work.
129*4882a593Smuzhiyun
130*4882a593SmuzhiyunThe Corresponding Source need not include anything that users can regenerate
131*4882a593Smuzhiyunautomatically from other parts of the Corresponding Source.
132*4882a593Smuzhiyun
133*4882a593Smuzhiyun   The Corresponding Source for a work in source code form is that same work.
134*4882a593Smuzhiyun
135*4882a593Smuzhiyun   2. Basic Permissions.
136*4882a593Smuzhiyun
137*4882a593SmuzhiyunAll rights granted under this License are granted for the term of copyright
138*4882a593Smuzhiyunon the Program, and are irrevocable provided the stated conditions are met.
139*4882a593SmuzhiyunThis License explicitly affirms your unlimited permission to run the unmodified
140*4882a593SmuzhiyunProgram. The output from running a covered work is covered by this License
141*4882a593Smuzhiyunonly if the output, given its content, constitutes a covered work. This License
142*4882a593Smuzhiyunacknowledges your rights of fair use or other equivalent, as provided by copyright
143*4882a593Smuzhiyunlaw.
144*4882a593Smuzhiyun
145*4882a593SmuzhiyunYou may make, run and propagate covered works that you do not convey, without
146*4882a593Smuzhiyunconditions so long as your license otherwise remains in force. You may convey
147*4882a593Smuzhiyuncovered works to others for the sole purpose of having them make modifications
148*4882a593Smuzhiyunexclusively for you, or provide you with facilities for running those works,
149*4882a593Smuzhiyunprovided that you comply with the terms of this License in conveying all material
150*4882a593Smuzhiyunfor which you do not control copyright. Those thus making or running the covered
151*4882a593Smuzhiyunworks for you must do so exclusively on your behalf, under your direction
152*4882a593Smuzhiyunand control, on terms that prohibit them from making any copies of your copyrighted
153*4882a593Smuzhiyunmaterial outside their relationship with you.
154*4882a593Smuzhiyun
155*4882a593SmuzhiyunConveying under any other circumstances is permitted solely under the conditions
156*4882a593Smuzhiyunstated below. Sublicensing is not allowed; section 10 makes it unnecessary.
157*4882a593Smuzhiyun
158*4882a593Smuzhiyun   3. Protecting Users' Legal Rights From Anti-Circumvention Law.
159*4882a593Smuzhiyun
160*4882a593SmuzhiyunNo covered work shall be deemed part of an effective technological measure
161*4882a593Smuzhiyununder any applicable law fulfilling obligations under article 11 of the WIPO
162*4882a593Smuzhiyuncopyright treaty adopted on 20 December 1996, or similar laws prohibiting
163*4882a593Smuzhiyunor restricting circumvention of such measures.
164*4882a593Smuzhiyun
165*4882a593SmuzhiyunWhen you convey a covered work, you waive any legal power to forbid circumvention
166*4882a593Smuzhiyunof technological measures to the extent such circumvention is effected by
167*4882a593Smuzhiyunexercising rights under this License with respect to the covered work, and
168*4882a593Smuzhiyunyou disclaim any intention to limit operation or modification of the work
169*4882a593Smuzhiyunas a means of enforcing, against the work's users, your or third parties'
170*4882a593Smuzhiyunlegal rights to forbid circumvention of technological measures.
171*4882a593Smuzhiyun
172*4882a593Smuzhiyun   4. Conveying Verbatim Copies.
173*4882a593Smuzhiyun
174*4882a593SmuzhiyunYou may convey verbatim copies of the Program's source code as you receive
175*4882a593Smuzhiyunit, in any medium, provided that you conspicuously and appropriately publish
176*4882a593Smuzhiyunon each copy an appropriate copyright notice; keep intact all notices stating
177*4882a593Smuzhiyunthat this License and any non-permissive terms added in accord with section
178*4882a593Smuzhiyun7 apply to the code; keep intact all notices of the absence of any warranty;
179*4882a593Smuzhiyunand give all recipients a copy of this License along with the Program.
180*4882a593Smuzhiyun
181*4882a593SmuzhiyunYou may charge any price or no price for each copy that you convey, and you
182*4882a593Smuzhiyunmay offer support or warranty protection for a fee.
183*4882a593Smuzhiyun
184*4882a593Smuzhiyun   5. Conveying Modified Source Versions.
185*4882a593Smuzhiyun
186*4882a593SmuzhiyunYou may convey a work based on the Program, or the modifications to produce
187*4882a593Smuzhiyunit from the Program, in the form of source code under the terms of section
188*4882a593Smuzhiyun4, provided that you also meet all of these conditions:
189*4882a593Smuzhiyun
190*4882a593Smuzhiyuna) The work must carry prominent notices stating that you modified it, and
191*4882a593Smuzhiyungiving a relevant date.
192*4882a593Smuzhiyun
193*4882a593Smuzhiyunb) The work must carry prominent notices stating that it is released under
194*4882a593Smuzhiyunthis License and any conditions added under section 7. This requirement modifies
195*4882a593Smuzhiyunthe requirement in section 4 to "keep intact all notices".
196*4882a593Smuzhiyun
197*4882a593Smuzhiyunc) You must license the entire work, as a whole, under this License to anyone
198*4882a593Smuzhiyunwho comes into possession of a copy. This License will therefore apply, along
199*4882a593Smuzhiyunwith any applicable section 7 additional terms, to the whole of the work,
200*4882a593Smuzhiyunand all its parts, regardless of how they are packaged. This License gives
201*4882a593Smuzhiyunno permission to license the work in any other way, but it does not invalidate
202*4882a593Smuzhiyunsuch permission if you have separately received it.
203*4882a593Smuzhiyun
204*4882a593Smuzhiyund) If the work has interactive user interfaces, each must display Appropriate
205*4882a593SmuzhiyunLegal Notices; however, if the Program has interactive interfaces that do
206*4882a593Smuzhiyunnot display Appropriate Legal Notices, your work need not make them do so.
207*4882a593Smuzhiyun
208*4882a593SmuzhiyunA compilation of a covered work with other separate and independent works,
209*4882a593Smuzhiyunwhich are not by their nature extensions of the covered work, and which are
210*4882a593Smuzhiyunnot combined with it such as to form a larger program, in or on a volume of
211*4882a593Smuzhiyuna storage or distribution medium, is called an "aggregate" if the compilation
212*4882a593Smuzhiyunand its resulting copyright are not used to limit the access or legal rights
213*4882a593Smuzhiyunof the compilation's users beyond what the individual works permit. Inclusion
214*4882a593Smuzhiyunof a covered work in an aggregate does not cause this License to apply to
215*4882a593Smuzhiyunthe other parts of the aggregate.
216*4882a593Smuzhiyun
217*4882a593Smuzhiyun   6. Conveying Non-Source Forms.
218*4882a593Smuzhiyun
219*4882a593SmuzhiyunYou may convey a covered work in object code form under the terms of sections
220*4882a593Smuzhiyun4 and 5, provided that you also convey the machine-readable Corresponding
221*4882a593SmuzhiyunSource under the terms of this License, in one of these ways:
222*4882a593Smuzhiyun
223*4882a593Smuzhiyuna) Convey the object code in, or embodied in, a physical product (including
224*4882a593Smuzhiyuna physical distribution medium), accompanied by the Corresponding Source fixed
225*4882a593Smuzhiyunon a durable physical medium customarily used for software interchange.
226*4882a593Smuzhiyun
227*4882a593Smuzhiyunb) Convey the object code in, or embodied in, a physical product (including
228*4882a593Smuzhiyuna physical distribution medium), accompanied by a written offer, valid for
229*4882a593Smuzhiyunat least three years and valid for as long as you offer spare parts or customer
230*4882a593Smuzhiyunsupport for that product model, to give anyone who possesses the object code
231*4882a593Smuzhiyuneither (1) a copy of the Corresponding Source for all the software in the
232*4882a593Smuzhiyunproduct that is covered by this License, on a durable physical medium customarily
233*4882a593Smuzhiyunused for software interchange, for a price no more than your reasonable cost
234*4882a593Smuzhiyunof physically performing this conveying of source, or (2) access to copy the
235*4882a593SmuzhiyunCorresponding Source from a network server at no charge.
236*4882a593Smuzhiyun
237*4882a593Smuzhiyunc) Convey individual copies of the object code with a copy of the written
238*4882a593Smuzhiyunoffer to provide the Corresponding Source. This alternative is allowed only
239*4882a593Smuzhiyunoccasionally and noncommercially, and only if you received the object code
240*4882a593Smuzhiyunwith such an offer, in accord with subsection 6b.
241*4882a593Smuzhiyun
242*4882a593Smuzhiyund) Convey the object code by offering access from a designated place (gratis
243*4882a593Smuzhiyunor for a charge), and offer equivalent access to the Corresponding Source
244*4882a593Smuzhiyunin the same way through the same place at no further charge. You need not
245*4882a593Smuzhiyunrequire recipients to copy the Corresponding Source along with the object
246*4882a593Smuzhiyuncode. If the place to copy the object code is a network server, the Corresponding
247*4882a593SmuzhiyunSource may be on a different server (operated by you or a third party) that
248*4882a593Smuzhiyunsupports equivalent copying facilities, provided you maintain clear directions
249*4882a593Smuzhiyunnext to the object code saying where to find the Corresponding Source. Regardless
250*4882a593Smuzhiyunof what server hosts the Corresponding Source, you remain obligated to ensure
251*4882a593Smuzhiyunthat it is available for as long as needed to satisfy these requirements.
252*4882a593Smuzhiyun
253*4882a593Smuzhiyune) Convey the object code using peer-to-peer transmission, provided you inform
254*4882a593Smuzhiyunother peers where the object code and Corresponding Source of the work are
255*4882a593Smuzhiyunbeing offered to the general public at no charge under subsection 6d.
256*4882a593Smuzhiyun
257*4882a593SmuzhiyunA separable portion of the object code, whose source code is excluded from
258*4882a593Smuzhiyunthe Corresponding Source as a System Library, need not be included in conveying
259*4882a593Smuzhiyunthe object code work.
260*4882a593Smuzhiyun
261*4882a593SmuzhiyunA "User Product" is either (1) a "consumer product", which means any tangible
262*4882a593Smuzhiyunpersonal property which is normally used for personal, family, or household
263*4882a593Smuzhiyunpurposes, or (2) anything designed or sold for incorporation into a dwelling.
264*4882a593SmuzhiyunIn determining whether a product is a consumer product, doubtful cases shall
265*4882a593Smuzhiyunbe resolved in favor of coverage. For a particular product received by a particular
266*4882a593Smuzhiyunuser, "normally used" refers to a typical or common use of that class of product,
267*4882a593Smuzhiyunregardless of the status of the particular user or of the way in which the
268*4882a593Smuzhiyunparticular user actually uses, or expects or is expected to use, the product.
269*4882a593SmuzhiyunA product is a consumer product regardless of whether the product has substantial
270*4882a593Smuzhiyuncommercial, industrial or non-consumer uses, unless such uses represent the
271*4882a593Smuzhiyunonly significant mode of use of the product.
272*4882a593Smuzhiyun
273*4882a593Smuzhiyun"Installation Information" for a User Product means any methods, procedures,
274*4882a593Smuzhiyunauthorization keys, or other information required to install and execute modified
275*4882a593Smuzhiyunversions of a covered work in that User Product from a modified version of
276*4882a593Smuzhiyunits Corresponding Source. The information must suffice to ensure that the
277*4882a593Smuzhiyuncontinued functioning of the modified object code is in no case prevented
278*4882a593Smuzhiyunor interfered with solely because modification has been made.
279*4882a593Smuzhiyun
280*4882a593SmuzhiyunIf you convey an object code work under this section in, or with, or specifically
281*4882a593Smuzhiyunfor use in, a User Product, and the conveying occurs as part of a transaction
282*4882a593Smuzhiyunin which the right of possession and use of the User Product is transferred
283*4882a593Smuzhiyunto the recipient in perpetuity or for a fixed term (regardless of how the
284*4882a593Smuzhiyuntransaction is characterized), the Corresponding Source conveyed under this
285*4882a593Smuzhiyunsection must be accompanied by the Installation Information. But this requirement
286*4882a593Smuzhiyundoes not apply if neither you nor any third party retains the ability to install
287*4882a593Smuzhiyunmodified object code on the User Product (for example, the work has been installed
288*4882a593Smuzhiyunin ROM).
289*4882a593Smuzhiyun
290*4882a593SmuzhiyunThe requirement to provide Installation Information does not include a requirement
291*4882a593Smuzhiyunto continue to provide support service, warranty, or updates for a work that
292*4882a593Smuzhiyunhas been modified or installed by the recipient, or for the User Product in
293*4882a593Smuzhiyunwhich it has been modified or installed. Access to a network may be denied
294*4882a593Smuzhiyunwhen the modification itself materially and adversely affects the operation
295*4882a593Smuzhiyunof the network or violates the rules and protocols for communication across
296*4882a593Smuzhiyunthe network.
297*4882a593Smuzhiyun
298*4882a593SmuzhiyunCorresponding Source conveyed, and Installation Information provided, in accord
299*4882a593Smuzhiyunwith this section must be in a format that is publicly documented (and with
300*4882a593Smuzhiyunan implementation available to the public in source code form), and must require
301*4882a593Smuzhiyunno special password or key for unpacking, reading or copying.
302*4882a593Smuzhiyun
303*4882a593Smuzhiyun   7. Additional Terms.
304*4882a593Smuzhiyun
305*4882a593Smuzhiyun"Additional permissions" are terms that supplement the terms of this License
306*4882a593Smuzhiyunby making exceptions from one or more of its conditions. Additional permissions
307*4882a593Smuzhiyunthat are applicable to the entire Program shall be treated as though they
308*4882a593Smuzhiyunwere included in this License, to the extent that they are valid under applicable
309*4882a593Smuzhiyunlaw. If additional permissions apply only to part of the Program, that part
310*4882a593Smuzhiyunmay be used separately under those permissions, but the entire Program remains
311*4882a593Smuzhiyungoverned by this License without regard to the additional permissions.
312*4882a593Smuzhiyun
313*4882a593SmuzhiyunWhen you convey a copy of a covered work, you may at your option remove any
314*4882a593Smuzhiyunadditional permissions from that copy, or from any part of it. (Additional
315*4882a593Smuzhiyunpermissions may be written to require their own removal in certain cases when
316*4882a593Smuzhiyunyou modify the work.) You may place additional permissions on material, added
317*4882a593Smuzhiyunby you to a covered work, for which you have or can give appropriate copyright
318*4882a593Smuzhiyunpermission.
319*4882a593Smuzhiyun
320*4882a593SmuzhiyunNotwithstanding any other provision of this License, for material you add
321*4882a593Smuzhiyunto a covered work, you may (if authorized by the copyright holders of that
322*4882a593Smuzhiyunmaterial) supplement the terms of this License with terms:
323*4882a593Smuzhiyun
324*4882a593Smuzhiyuna) Disclaiming warranty or limiting liability differently from the terms of
325*4882a593Smuzhiyunsections 15 and 16 of this License; or
326*4882a593Smuzhiyun
327*4882a593Smuzhiyunb) Requiring preservation of specified reasonable legal notices or author
328*4882a593Smuzhiyunattributions in that material or in the Appropriate Legal Notices displayed
329*4882a593Smuzhiyunby works containing it; or
330*4882a593Smuzhiyun
331*4882a593Smuzhiyunc) Prohibiting misrepresentation of the origin of that material, or requiring
332*4882a593Smuzhiyunthat modified versions of such material be marked in reasonable ways as different
333*4882a593Smuzhiyunfrom the original version; or
334*4882a593Smuzhiyun
335*4882a593Smuzhiyund) Limiting the use for publicity purposes of names of licensors or authors
336*4882a593Smuzhiyunof the material; or
337*4882a593Smuzhiyun
338*4882a593Smuzhiyune) Declining to grant rights under trademark law for use of some trade names,
339*4882a593Smuzhiyuntrademarks, or service marks; or
340*4882a593Smuzhiyun
341*4882a593Smuzhiyunf) Requiring indemnification of licensors and authors of that material by
342*4882a593Smuzhiyunanyone who conveys the material (or modified versions of it) with contractual
343*4882a593Smuzhiyunassumptions of liability to the recipient, for any liability that these contractual
344*4882a593Smuzhiyunassumptions directly impose on those licensors and authors.
345*4882a593Smuzhiyun
346*4882a593SmuzhiyunAll other non-permissive additional terms are considered "further restrictions"
347*4882a593Smuzhiyunwithin the meaning of section 10. If the Program as you received it, or any
348*4882a593Smuzhiyunpart of it, contains a notice stating that it is governed by this License
349*4882a593Smuzhiyunalong with a term that is a further restriction, you may remove that term.
350*4882a593SmuzhiyunIf a license document contains a further restriction but permits relicensing
351*4882a593Smuzhiyunor conveying under this License, you may add to a covered work material governed
352*4882a593Smuzhiyunby the terms of that license document, provided that the further restriction
353*4882a593Smuzhiyundoes not survive such relicensing or conveying.
354*4882a593Smuzhiyun
355*4882a593SmuzhiyunIf you add terms to a covered work in accord with this section, you must place,
356*4882a593Smuzhiyunin the relevant source files, a statement of the additional terms that apply
357*4882a593Smuzhiyunto those files, or a notice indicating where to find the applicable terms.
358*4882a593Smuzhiyun
359*4882a593SmuzhiyunAdditional terms, permissive or non-permissive, may be stated in the form
360*4882a593Smuzhiyunof a separately written license, or stated as exceptions; the above requirements
361*4882a593Smuzhiyunapply either way.
362*4882a593Smuzhiyun
363*4882a593Smuzhiyun   8. Termination.
364*4882a593Smuzhiyun
365*4882a593SmuzhiyunYou may not propagate or modify a covered work except as expressly provided
366*4882a593Smuzhiyununder this License. Any attempt otherwise to propagate or modify it is void,
367*4882a593Smuzhiyunand will automatically terminate your rights under this License (including
368*4882a593Smuzhiyunany patent licenses granted under the third paragraph of section 11).
369*4882a593Smuzhiyun
370*4882a593SmuzhiyunHowever, if you cease all violation of this License, then your license from
371*4882a593Smuzhiyuna particular copyright holder is reinstated (a) provisionally, unless and
372*4882a593Smuzhiyununtil the copyright holder explicitly and finally terminates your license,
373*4882a593Smuzhiyunand (b) permanently, if the copyright holder fails to notify you of the violation
374*4882a593Smuzhiyunby some reasonable means prior to 60 days after the cessation.
375*4882a593Smuzhiyun
376*4882a593SmuzhiyunMoreover, your license from a particular copyright holder is reinstated permanently
377*4882a593Smuzhiyunif the copyright holder notifies you of the violation by some reasonable means,
378*4882a593Smuzhiyunthis is the first time you have received notice of violation of this License
379*4882a593Smuzhiyun(for any work) from that copyright holder, and you cure the violation prior
380*4882a593Smuzhiyunto 30 days after your receipt of the notice.
381*4882a593Smuzhiyun
382*4882a593SmuzhiyunTermination of your rights under this section does not terminate the licenses
383*4882a593Smuzhiyunof parties who have received copies or rights from you under this License.
384*4882a593SmuzhiyunIf your rights have been terminated and not permanently reinstated, you do
385*4882a593Smuzhiyunnot qualify to receive new licenses for the same material under section 10.
386*4882a593Smuzhiyun
387*4882a593Smuzhiyun   9. Acceptance Not Required for Having Copies.
388*4882a593Smuzhiyun
389*4882a593SmuzhiyunYou are not required to accept this License in order to receive or run a copy
390*4882a593Smuzhiyunof the Program. Ancillary propagation of a covered work occurring solely as
391*4882a593Smuzhiyuna consequence of using peer-to-peer transmission to receive a copy likewise
392*4882a593Smuzhiyundoes not require acceptance. However, nothing other than this License grants
393*4882a593Smuzhiyunyou permission to propagate or modify any covered work. These actions infringe
394*4882a593Smuzhiyuncopyright if you do not accept this License. Therefore, by modifying or propagating
395*4882a593Smuzhiyuna covered work, you indicate your acceptance of this License to do so.
396*4882a593Smuzhiyun
397*4882a593Smuzhiyun   10. Automatic Licensing of Downstream Recipients.
398*4882a593Smuzhiyun
399*4882a593SmuzhiyunEach time you convey a covered work, the recipient automatically receives
400*4882a593Smuzhiyuna license from the original licensors, to run, modify and propagate that work,
401*4882a593Smuzhiyunsubject to this License. You are not responsible for enforcing compliance
402*4882a593Smuzhiyunby third parties with this License.
403*4882a593Smuzhiyun
404*4882a593SmuzhiyunAn "entity transaction" is a transaction transferring control of an organization,
405*4882a593Smuzhiyunor substantially all assets of one, or subdividing an organization, or merging
406*4882a593Smuzhiyunorganizations. If propagation of a covered work results from an entity transaction,
407*4882a593Smuzhiyuneach party to that transaction who receives a copy of the work also receives
408*4882a593Smuzhiyunwhatever licenses to the work the party's predecessor in interest had or could
409*4882a593Smuzhiyungive under the previous paragraph, plus a right to possession of the Corresponding
410*4882a593SmuzhiyunSource of the work from the predecessor in interest, if the predecessor has
411*4882a593Smuzhiyunit or can get it with reasonable efforts.
412*4882a593Smuzhiyun
413*4882a593SmuzhiyunYou may not impose any further restrictions on the exercise of the rights
414*4882a593Smuzhiyungranted or affirmed under this License. For example, you may not impose a
415*4882a593Smuzhiyunlicense fee, royalty, or other charge for exercise of rights granted under
416*4882a593Smuzhiyunthis License, and you may not initiate litigation (including a cross-claim
417*4882a593Smuzhiyunor counterclaim in a lawsuit) alleging that any patent claim is infringed
418*4882a593Smuzhiyunby making, using, selling, offering for sale, or importing the Program or
419*4882a593Smuzhiyunany portion of it.
420*4882a593Smuzhiyun
421*4882a593Smuzhiyun   11. Patents.
422*4882a593Smuzhiyun
423*4882a593SmuzhiyunA "contributor" is a copyright holder who authorizes use under this License
424*4882a593Smuzhiyunof the Program or a work on which the Program is based. The work thus licensed
425*4882a593Smuzhiyunis called the contributor's "contributor version".
426*4882a593Smuzhiyun
427*4882a593SmuzhiyunA contributor's "essential patent claims" are all patent claims owned or controlled
428*4882a593Smuzhiyunby the contributor, whether already acquired or hereafter acquired, that would
429*4882a593Smuzhiyunbe infringed by some manner, permitted by this License, of making, using,
430*4882a593Smuzhiyunor selling its contributor version, but do not include claims that would be
431*4882a593Smuzhiyuninfringed only as a consequence of further modification of the contributor
432*4882a593Smuzhiyunversion. For purposes of this definition, "control" includes the right to
433*4882a593Smuzhiyungrant patent sublicenses in a manner consistent with the requirements of this
434*4882a593SmuzhiyunLicense.
435*4882a593Smuzhiyun
436*4882a593SmuzhiyunEach contributor grants you a non-exclusive, worldwide, royalty-free patent
437*4882a593Smuzhiyunlicense under the contributor's essential patent claims, to make, use, sell,
438*4882a593Smuzhiyunoffer for sale, import and otherwise run, modify and propagate the contents
439*4882a593Smuzhiyunof its contributor version.
440*4882a593Smuzhiyun
441*4882a593SmuzhiyunIn the following three paragraphs, a "patent license" is any express agreement
442*4882a593Smuzhiyunor commitment, however denominated, not to enforce a patent (such as an express
443*4882a593Smuzhiyunpermission to practice a patent or covenant not to sue for patent infringement).
444*4882a593SmuzhiyunTo "grant" such a patent license to a party means to make such an agreement
445*4882a593Smuzhiyunor commitment not to enforce a patent against the party.
446*4882a593Smuzhiyun
447*4882a593SmuzhiyunIf you convey a covered work, knowingly relying on a patent license, and the
448*4882a593SmuzhiyunCorresponding Source of the work is not available for anyone to copy, free
449*4882a593Smuzhiyunof charge and under the terms of this License, through a publicly available
450*4882a593Smuzhiyunnetwork server or other readily accessible means, then you must either (1)
451*4882a593Smuzhiyuncause the Corresponding Source to be so available, or (2) arrange to deprive
452*4882a593Smuzhiyunyourself of the benefit of the patent license for this particular work, or
453*4882a593Smuzhiyun(3) arrange, in a manner consistent with the requirements of this License,
454*4882a593Smuzhiyunto extend the patent
455*4882a593Smuzhiyun
456*4882a593Smuzhiyunlicense to downstream recipients. "Knowingly relying" means you have actual
457*4882a593Smuzhiyunknowledge that, but for the patent license, your conveying the covered work
458*4882a593Smuzhiyunin a country, or your recipient's use of the covered work in a country, would
459*4882a593Smuzhiyuninfringe one or more identifiable patents in that country that you have reason
460*4882a593Smuzhiyunto believe are valid.
461*4882a593Smuzhiyun
462*4882a593SmuzhiyunIf, pursuant to or in connection with a single transaction or arrangement,
463*4882a593Smuzhiyunyou convey, or propagate by procuring conveyance of, a covered work, and grant
464*4882a593Smuzhiyuna patent license to some of the parties receiving the covered work authorizing
465*4882a593Smuzhiyunthem to use, propagate, modify or convey a specific copy of the covered work,
466*4882a593Smuzhiyunthen the patent license you grant is automatically extended to all recipients
467*4882a593Smuzhiyunof the covered work and works based on it.
468*4882a593Smuzhiyun
469*4882a593SmuzhiyunA patent license is "discriminatory" if it does not include within the scope
470*4882a593Smuzhiyunof its coverage, prohibits the exercise of, or is conditioned on the non-exercise
471*4882a593Smuzhiyunof one or more of the rights that are specifically granted under this License.
472*4882a593SmuzhiyunYou may not convey a covered work if you are a party to an arrangement with
473*4882a593Smuzhiyuna third party that is in the business of distributing software, under which
474*4882a593Smuzhiyunyou make payment to the third party based on the extent of your activity of
475*4882a593Smuzhiyunconveying the work, and under which the third party grants, to any of the
476*4882a593Smuzhiyunparties who would receive the covered work from you, a discriminatory patent
477*4882a593Smuzhiyunlicense (a) in connection with copies of the covered work conveyed by you
478*4882a593Smuzhiyun(or copies made from those copies), or (b) primarily for and in connection
479*4882a593Smuzhiyunwith specific products or compilations that contain the covered work, unless
480*4882a593Smuzhiyunyou entered into that arrangement, or that patent license was granted, prior
481*4882a593Smuzhiyunto 28 March 2007.
482*4882a593Smuzhiyun
483*4882a593SmuzhiyunNothing in this License shall be construed as excluding or limiting any implied
484*4882a593Smuzhiyunlicense or other defenses to infringement that may otherwise be available
485*4882a593Smuzhiyunto you under applicable patent law.
486*4882a593Smuzhiyun
487*4882a593Smuzhiyun   12. No Surrender of Others' Freedom.
488*4882a593Smuzhiyun
489*4882a593SmuzhiyunIf conditions are imposed on you (whether by court order, agreement or otherwise)
490*4882a593Smuzhiyunthat contradict the conditions of this License, they do not excuse you from
491*4882a593Smuzhiyunthe conditions of this License. If you cannot convey a covered work so as
492*4882a593Smuzhiyunto satisfy simultaneously your obligations under this License and any other
493*4882a593Smuzhiyunpertinent obligations, then as a consequence you may
494*4882a593Smuzhiyun
495*4882a593Smuzhiyunnot convey it at all. For example, if you agree to terms that obligate you
496*4882a593Smuzhiyunto collect a royalty for further conveying from those to whom you convey the
497*4882a593SmuzhiyunProgram, the only way you could satisfy both those terms and this License
498*4882a593Smuzhiyunwould be to refrain entirely from conveying the Program.
499*4882a593Smuzhiyun
500*4882a593Smuzhiyun   13. Remote Network Interaction; Use with the GNU General Public License.
501*4882a593Smuzhiyun
502*4882a593SmuzhiyunNotwithstanding any other provision of this License, if you modify the Program,
503*4882a593Smuzhiyunyour modified version must prominently offer all users interacting with it
504*4882a593Smuzhiyunremotely through a computer network (if your version supports such interaction)
505*4882a593Smuzhiyunan opportunity to receive the Corresponding Source of your version by providing
506*4882a593Smuzhiyunaccess to the Corresponding Source from a network server at no charge, through
507*4882a593Smuzhiyunsome standard or customary means of facilitating copying of software. This
508*4882a593SmuzhiyunCorresponding Source shall include the Corresponding Source for any work covered
509*4882a593Smuzhiyunby version 3 of the GNU General Public License that is incorporated pursuant
510*4882a593Smuzhiyunto the following paragraph.
511*4882a593Smuzhiyun
512*4882a593SmuzhiyunNotwithstanding any other provision of this License, you have permission to
513*4882a593Smuzhiyunlink or combine any covered work with a work licensed under version 3 of the
514*4882a593SmuzhiyunGNU General Public License into a single combined work, and to convey the
515*4882a593Smuzhiyunresulting work. The terms of this License will continue to apply to the part
516*4882a593Smuzhiyunwhich is the covered work, but the work with which it is combined will remain
517*4882a593Smuzhiyungoverned by version 3 of the GNU General Public License.
518*4882a593Smuzhiyun
519*4882a593Smuzhiyun   14. Revised Versions of this License.
520*4882a593Smuzhiyun
521*4882a593SmuzhiyunThe Free Software Foundation may publish revised and/or new versions of the
522*4882a593SmuzhiyunGNU Affero General Public License from time to time. Such new versions will
523*4882a593Smuzhiyunbe similar in spirit to the present version, but may differ in detail to address
524*4882a593Smuzhiyunnew problems or concerns.
525*4882a593Smuzhiyun
526*4882a593SmuzhiyunEach version is given a distinguishing version number. If the Program specifies
527*4882a593Smuzhiyunthat a certain numbered version of the GNU Affero General Public License "or
528*4882a593Smuzhiyunany later version" applies to it, you have the option of following the terms
529*4882a593Smuzhiyunand conditions either of that numbered version or of any later version published
530*4882a593Smuzhiyunby the Free Software Foundation. If the Program does not specify a version
531*4882a593Smuzhiyunnumber of the GNU Affero General Public License, you may choose any version
532*4882a593Smuzhiyunever published by the Free Software Foundation.
533*4882a593Smuzhiyun
534*4882a593SmuzhiyunIf the Program specifies that a proxy can decide which future versions of
535*4882a593Smuzhiyunthe GNU Affero General Public License can be used, that proxy's public statement
536*4882a593Smuzhiyunof acceptance of a version permanently authorizes you to choose that version
537*4882a593Smuzhiyunfor the Program.
538*4882a593Smuzhiyun
539*4882a593SmuzhiyunLater license versions may give you additional or different permissions. However,
540*4882a593Smuzhiyunno additional obligations are imposed on any author or copyright holder as
541*4882a593Smuzhiyuna result of your choosing to follow a later version.
542*4882a593Smuzhiyun
543*4882a593Smuzhiyun   15. Disclaimer of Warranty.
544*4882a593Smuzhiyun
545*4882a593SmuzhiyunTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE
546*4882a593SmuzhiyunLAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
547*4882a593SmuzhiyunOTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
548*4882a593SmuzhiyunEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
549*4882a593SmuzhiyunOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
550*4882a593SmuzhiyunTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM
551*4882a593SmuzhiyunPROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR
552*4882a593SmuzhiyunCORRECTION.
553*4882a593Smuzhiyun
554*4882a593Smuzhiyun   16. Limitation of Liability.
555*4882a593Smuzhiyun
556*4882a593SmuzhiyunIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL
557*4882a593SmuzhiyunANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM
558*4882a593SmuzhiyunAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,
559*4882a593SmuzhiyunINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO
560*4882a593SmuzhiyunUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
561*4882a593SmuzhiyunINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE
562*4882a593SmuzhiyunPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER
563*4882a593SmuzhiyunPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
564*4882a593Smuzhiyun
565*4882a593Smuzhiyun   17. Interpretation of Sections 15 and 16.
566*4882a593Smuzhiyun
567*4882a593SmuzhiyunIf the disclaimer of warranty and limitation of liability provided above cannot
568*4882a593Smuzhiyunbe given local legal effect according to their terms, reviewing courts shall
569*4882a593Smuzhiyunapply local law that most closely approximates an absolute waiver of all civil
570*4882a593Smuzhiyunliability in connection with the Program, unless a warranty or assumption
571*4882a593Smuzhiyunof liability accompanies a copy of the Program in return for a fee. END OF
572*4882a593SmuzhiyunTERMS AND CONDITIONS
573*4882a593Smuzhiyun
574*4882a593SmuzhiyunHow to Apply These Terms to Your New Programs
575*4882a593Smuzhiyun
576*4882a593SmuzhiyunIf you develop a new program, and you want it to be of the greatest possible
577*4882a593Smuzhiyunuse to the public, the best way to achieve this is to make it free software
578*4882a593Smuzhiyunwhich everyone can redistribute and change under these terms.
579*4882a593Smuzhiyun
580*4882a593SmuzhiyunTo do so, attach the following notices to the program. It is safest to attach
581*4882a593Smuzhiyunthem to the start of each source file to most effectively state the exclusion
582*4882a593Smuzhiyunof warranty; and each file should have at least the "copyright" line and a
583*4882a593Smuzhiyunpointer to where the full notice is found.
584*4882a593Smuzhiyun
585*4882a593Smuzhiyun<one line to give the program's name and a brief idea of what it does.>
586*4882a593Smuzhiyun
587*4882a593SmuzhiyunCopyright (C) <year> <name of author>
588*4882a593Smuzhiyun
589*4882a593SmuzhiyunThis program is free software: you can redistribute it and/or modify it under
590*4882a593Smuzhiyunthe terms of the GNU Affero General Public License as published by the Free
591*4882a593SmuzhiyunSoftware Foundation, either version 3 of the License, or (at your option)
592*4882a593Smuzhiyunany later version.
593*4882a593Smuzhiyun
594*4882a593SmuzhiyunThis program is distributed in the hope that it will be useful, but WITHOUT
595*4882a593SmuzhiyunANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
596*4882a593SmuzhiyunFOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
597*4882a593Smuzhiyundetails.
598*4882a593Smuzhiyun
599*4882a593SmuzhiyunYou should have received a copy of the GNU Affero General Public License along
600*4882a593Smuzhiyunwith this program. If not, see <https://www.gnu.org/licenses/>.
601*4882a593Smuzhiyun
602*4882a593SmuzhiyunAlso add information on how to contact you by electronic and paper mail.
603*4882a593Smuzhiyun
604*4882a593SmuzhiyunIf your software can interact with users remotely through a computer network,
605*4882a593Smuzhiyunyou should also make sure that it provides a way for users to get its source.
606*4882a593SmuzhiyunFor example, if your program is a web application, its interface could display
607*4882a593Smuzhiyuna "Source" link that leads users to an archive of the code. There are many
608*4882a593Smuzhiyunways you could offer source, and different solutions will be better for different
609*4882a593Smuzhiyunprograms; see section 13 for the specific requirements.
610*4882a593Smuzhiyun
611*4882a593SmuzhiyunYou should also get your employer (if you work as a programmer) or school,
612*4882a593Smuzhiyunif any, to sign a "copyright disclaimer" for the program, if necessary. For
613*4882a593Smuzhiyunmore information on this, and how to apply and follow the GNU AGPL, see <https://www.gnu.org/licenses/>.
614