1 AFFERO GENERAL PUBLIC LICENSE
4 Copyright © 2002 Affero Inc.
5 510 Third Street - Suite 225, San Francisco, CA 94107, USA
7 This license is a modified version of the GNU General Public License
8 copyright (C) 1989, 1991 Free Software Foundation, Inc. made with their
9 permission. Section 2(d) has been added to cover use of software over a
12 Everyone is permitted to copy and distribute verbatim copies of this
13 license document, but changing it is not allowed.
17 The licenses for most software are designed to take away your freedom to
18 share and change it. By contrast, the Affero General Public License is
19 intended to guarantee your freedom to share and change free software--to
20 make sure the software is free for all its users. This Public License
21 applies to most of Affero's software and to any other program whose
22 authors commit to using it. (Some other Affero software is covered by
23 the GNU Library General Public License instead.) You can apply it to
26 When we speak of free software, we are referring to freedom, not price.
27 This General Public License is designed to make sure that you have the
28 freedom to distribute copies of free software (and charge for this
29 service if you wish), that you receive source code or can get it if you
30 want it, that you can change the software or use pieces of it in new
31 free programs; and that you know you can do these things.
33 To protect your rights, we need to make restrictions that forbid anyone
34 to deny you these rights or to ask you to surrender the rights. These
35 restrictions translate to certain responsibilities for you if you
36 distribute copies of the software, or if you modify it.
38 For example, if you distribute copies of such a program, whether gratis
39 or for a fee, you must give the recipients all the rights that you have.
40 You must make sure that they, too, receive or can get the source code.
41 And you must show them these terms so they know their rights.
43 We protect your rights with two steps: (1) copyright the software, and
44 (2) offer you this license which gives you legal permission to copy,
45 distribute and/or modify the software.
47 Also, for each author's protection and ours, we want to make certain
48 that everyone understands that there is no warranty for this free
49 software. If the software is modified by someone else and passed on, we
50 want its recipients to know that what they have is not the original, so
51 that any problems introduced by others will not reflect on the original
54 Finally, any free program is threatened constantly by software patents.
55 We wish to avoid the danger that redistributors of a free program will
56 individually obtain patent licenses, in effect making the program
57 proprietary. To prevent this, we have made it clear that any patent must
58 be licensed for everyone's free use or not licensed at all.
60 The precise terms and conditions for copying, distribution and
63 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
65 0. This License applies to any program or other work which contains a
66 notice placed by the copyright holder saying it may be distributed
67 under the terms of this Affero General Public License. The "Program",
68 below, refers to any such program or work, and a "work based on the
69 Program" means either the Program or any derivative work under
70 copyright law: that is to say, a work containing the Program or a
71 portion of it, either verbatim or with modifications and/or
72 translated into another language. (Hereinafter, translation is
73 included without limitation in the term "modification".) Each
74 licensee is addressed as "you".
76 Activities other than copying, distribution and modification are not
77 covered by this License; they are outside its scope. The act of running
78 the Program is not restricted, and the output from the Program is
79 covered only if its contents constitute a work based on the Program
80 (independent of having been made by running the Program). Whether that
81 is true depends on what the Program does.
83 1. You may copy and distribute verbatim copies of the Program's source
84 code as you receive it, in any medium, provided that you
85 conspicuously and appropriately publish on each copy an appropriate
86 copyright notice and disclaimer of warranty; keep intact all the
87 notices that refer to this License and to the absence of any
88 warranty; and give any other recipients of the Program a copy of this
89 License along with the Program.
91 You may charge a fee for the physical act of transferring a copy, and
92 you may at your option offer warranty protection in exchange for a fee.
94 2. You may modify your copy or copies of the Program or any portion of
95 it, thus forming a work based on the Program, and copy and distribute
96 such modifications or work under the terms of Section 1 above,
97 provided that you also meet all of these conditions:
99 a) You must cause the modified files to carry prominent notices
100 stating that you changed the files and the date of any change.
102 b) You must cause any work that you distribute or publish, that in
103 whole or in part contains or is derived from the Program or any
104 part thereof, to be licensed as a whole at no charge to all third
105 parties under the terms of this License.
107 c) If the modified program normally reads commands interactively when
108 run, you must cause it, when started running for such interactive
109 use in the most ordinary way, to print or display an announcement
110 including an appropriate copyright notice and a notice that there
111 is no warranty (or else, saying that you provide a warranty) and
112 that users may redistribute the program under these conditions,
113 and telling the user how to view a copy of this License.
114 (Exception: if the Program itself is interactive but does not
115 normally print such an announcement, your work based on the
116 Program is not required to print an announcement.)
118 d) If the Program as you received it is intended to interact with
119 users through a computer network and if, in the version you
120 received, any user interacting with the Program was given the
121 opportunity to request transmission to that user of the Program's
122 complete source code, you must not remove that facility from your
123 modified version of the Program or work based on the Program, and
124 must offer an equivalent opportunity for all users interacting
125 with your Program through a computer network to request immediate
126 transmission by HTTP of the complete source code of your modified
127 version or other derivative work.
129 These requirements apply to the modified work as a whole. If
130 identifiable sections of that work are not derived from the Program, and
131 can be reasonably considered independent and separate works in
132 themselves, then this License, and its terms, do not apply to those
133 sections when you distribute them as separate works. But when you
134 distribute the same sections as part of a whole which is a work based on
135 the Program, the distribution of the whole must be on the terms of this
136 License, whose permissions for other licensees extend to the entire
137 whole, and thus to each and every part regardless of who wrote it.
139 Thus, it is not the intent of this section to claim rights or contest
140 your rights to work written entirely by you; rather, the intent is to
141 exercise the right to control the distribution of derivative or
142 collective works based on the Program.
144 In addition, mere aggregation of another work not based on the Program
145 with the Program (or with a work based on the Program) on a volume of a
146 storage or distribution medium does not bring the other work under the
147 scope of this License.
149 3. You may copy and distribute the Program (or a work based on it, under
150 Section 2) in object code or executable form under the terms of
151 Sections 1 and 2 above provided that you also do one of the
154 a) Accompany it with the complete corresponding machine-readable
155 source code, which must be distributed under the terms of Sections
156 1 and 2 above on a medium customarily used for softpware interchange; or,
158 b) Accompany it with a written offer, valid for at least three years,
159 to give any third party, for a charge no more than your cost of
160 physically performing source distribution, a complete
161 machine-readable copy of the corresponding source code, to be
162 distributed under the terms of Sections 1 and 2 above on a medium
163 customarily used for software interchange; or,
165 c) Accompany it with the information you received as to the offer to
166 distribute corresponding source code. (This alternative is allowed
167 only for noncommercial distribution and only if you received the
168 program in object code or executable form with such an offer, in
169 accord with Subsection b above.)
171 The source code for a work means the preferred form of the work for
172 making modifications to it. For an executable work, complete source code
173 means all the source code for all modules it contains, plus any
174 associated interface definition files, plus the scripts used to control
175 compilation and installation of the executable. However, as a special
176 exception, the source code distributed need not include anything that is
177 normally distributed (in either source or binary form) with the major
178 components (compiler, kernel, and so on) of the operating system on
179 which the executable runs, unless that component itself accompanies the
182 If distribution of executable or object code is made by offering access
183 to copy from a designated place, then offering equivalent access to copy
184 the source code from the same place counts as distribution of the source
185 code, even though third parties are not compelled to copy the source
186 along with the object code.
188 4. You may not copy, modify, sublicense, or distribute the Program
189 except as expressly provided under this License. Any attempt
190 otherwise to copy, modify, sublicense or distribute the Program is
191 void, and will automatically terminate your rights under this
192 License. However, parties who have received copies, or rights, from
193 you under this License will not have their licenses terminated so
194 long as such parties remain in full compliance.
196 5. You are not required to accept this License, since you have not
197 signed it. However, nothing else grants you permission to modify or
198 distribute the Program or its derivative works. These actions are
199 prohibited by law if you do not accept this License. Therefore, by
200 modifying or distributing the Program (or any work based on the
201 Program), you indicate your acceptance of this License to do so, and
202 all its terms and conditions for copying, distributing or modifying
203 the Program or works based on it.
205 6. Each time you redistribute the Program (or any work based on the
206 Program), the recipient automatically receives a license from the
207 original licensor to copy, distribute or modify the Program subject
208 to these terms and conditions. You may not impose any further
209 restrictions on the recipients' exercise of the rights granted
210 herein. You are not responsible for enforcing compliance by third
211 parties to this License.
213 7. If, as a consequence of a court judgment or allegation of patent
214 infringement or for any other reason (not limited to patent issues),
215 conditions are imposed on you (whether by court order, agreement or
216 otherwise) that contradict the conditions of this License, they do
217 not excuse you from the conditions of this License. If you cannot
218 distribute so as to satisfy simultaneously your obligations under
219 this License and any other pertinent obligations, then as a
220 consequence you may not distribute the Program at all. For example,
221 if a patent license would not permit royalty-free redistribution of
222 the Program by all those who receive copies directly or indirectly
223 through you, then the only way you could satisfy both it and this
224 License would be to refrain entirely from distribution of the
227 If any portion of this section is held invalid or unenforceable under
228 any particular circumstance, the balance of the section is intended to
229 apply and the section as a whole is intended to apply in other
232 It is not the purpose of this section to induce you to infringe any
233 patents or other property right claims or to contest validity of any
234 such claims; this section has the sole purpose of protecting the
235 integrity of the free software distribution system, which is implemented
236 by public license practices. Many people have made generous
237 contributions to the wide range of software distributed through that
238 system in reliance on consistent application of that system; it is up to
239 the author/donor to decide if he or she is willing to distribute
240 software through any other system and a licensee cannot impose that
243 This section is intended to make thoroughly clear what is believed to be
244 a consequence of the rest of this License.
246 8. If the distribution and/or use of the Program is restricted in
247 certain countries either by patents or by copyrighted interfaces, the
248 original copyright holder who places the Program under this License
249 may add an explicit geographical distribution limitation excluding
250 those countries, so that distribution is permitted only in or among
251 countries not thus excluded. In such case, this License incorporates
252 the limitation as if written in the body of this License.
254 9. Affero Inc. may publish revised and/or new versions of the Affero
255 General Public License from time to time. Such new versions will be
256 similar in spirit to the present version, but may differ in detail to
257 address new problems or concerns.
259 Each version is given a distinguishing version number. If the Program
260 specifies a version number of this License which applies to it and "any
261 later version", you have the option of following the terms and
262 conditions either of that version or of any later version published by
263 Affero, Inc. If the Program does not specify a version number of this
264 License, you may choose any version ever published by Affero, Inc.
266 You may also choose to redistribute modified versions of this program
267 under any version of the Free Software Foundation's GNU General Public
268 License version 3 or higher, so long as that version of the GNU GPL
269 includes terms and conditions substantially equivalent to those of this
272 10. If you wish to incorporate parts of the Program into other free
273 programs whose distribution conditions are different, write to the
274 author to ask for permission. For software which is copyrighted by
275 Affero, Inc., write to us; we sometimes make exceptions for this.
276 Our decision will be guided by the two goals of preserving the free
277 status of all derivatives of our free software and of promoting the
278 sharing and reuse of software generally.
282 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
283 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT
284 WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER
285 PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND,
286 EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
287 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
288 PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
289 PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME
290 THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
292 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
293 WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
294 AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU
295 FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
296 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
297 PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
298 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
299 FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF
300 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF