2002-11-21 Havoc Pennington <hp@redhat.com>
[platform/upstream/dbus.git] / COPYING
1 D-BUS is licensed to you under your choice of the Academic Free
2 License version 1.2, or the GNU General Public License version 2.
3 Both licenses are included here.
4
5                 Academic Free License
6                 Version 1.2
7
8 This Academic Free License applies to any original work of authorship 
9 (the "Original Work") whose owner (the "Licensor") has placed the 
10 following notice immediately following the copyright notice for the 
11 Original Work:
12
13 Licensed under the Academic Free License version 1.2
14
15 Grant of License. Licensor hereby grants to any person obtaining a 
16 copy of the Original Work ("You") a world-wide, royalty-free, 
17 non-exclusive, perpetual, non-sublicenseable license (1) to use, copy, 
18 modify, merge, publish, perform, distribute and/or sell copies of the 
19 Original Work and derivative works thereof, and (2) under patent claims 
20 owned or controlled by the Licensor that are embodied in the Original 
21 Work as furnished by the Licensor, to make, use, sell and offer for 
22 sale the Original Work and derivative works thereof, subject to the 
23 following conditions.
24
25 Attribution Rights. You must retain, in the Source Code of any 
26 Derivative Works that You create, all copyright, patent or trademark 
27 notices from the Source Code of the Original Work, as well as any 
28 notices of licensing and any descriptive text identified therein as an 
29 "Attribution Notice." You must cause the Source Code for any Derivative 
30 Works that You create to carry a prominent Attribution Notice reasonably 
31 calculated to inform recipients that You have modified the Original Work.
32
33 Exclusions from License Grant. Neither the names of Licensor, nor the 
34 names of any contributors to the Original Work, nor any of their 
35 trademarks or service marks, may be used to endorse or promote products 
36 derived from this Original Work without express prior written permission 
37 of the Licensor.
38
39 Warranty and Disclaimer of Warranty. Licensor warrants that the copyright 
40 in and to the Original Work is owned by the Licensor or that the Original 
41 Work is distributed by Licensor under a valid current license from the 
42 copyright owner. Except as expressly stated in the immediately proceeding 
43 sentence, the Original Work is provided under this License on an "AS IS" 
44 BASIS and WITHOUT WARRANTY, either express or implied, including, without 
45 limitation, the warranties of NON-INFRINGEMENT, MERCHANTABILITY or FITNESS 
46 FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY OF THE ORIGINAL 
47 WORK IS WITH YOU. This DISCLAIMER OF WARRANTY constitutes an essential part 
48 of this License. No license to Original Work is granted hereunder except 
49 under this disclaimer.
50
51 Limitation of Liability. Under no circumstances and under no legal theory, 
52 whether in tort (including negligence), contract, or otherwise, shall the 
53 Licensor be liable to any person for any direct, indirect, special, 
54 incidental, or consequential damages of any character arising as a result 
55 of this License or the use of the Original Work including, without 
56 limitation, damages for loss of goodwill, work stoppage, computer failure 
57 or malfunction, or any and all other commercial damages or losses. This 
58 limitation of liability shall not apply to liability for death or personal 
59 injury resulting from Licensor's negligence to the extent applicable law 
60 prohibits such limitation. Some jurisdictions do not allow the exclusion or 
61 limitation of incidental or consequential damages, so this exclusion and 
62 limitation may not apply to You.
63
64 License to Source Code. The term "Source Code" means the preferred form of 
65 the Original Work for making modifications to it and all available 
66 documentation describing how to modify the Original Work. Licensor hereby 
67 agrees to provide a machine-readable copy of the Source Code of the Original 
68 Work along with each copy of the Original Work that Licensor distributes. 
69 Licensor reserves the right to satisfy this obligation by placing a 
70 machine-readable copy of the Source Code in an information repository 
71 reasonably calculated to permit inexpensive and convenient access by You for 
72 as long as Licensor continues to distribute the Original Work, and by 
73 publishing the address of that information repository in a notice immediately 
74 following the copyright notice that applies to the Original Work.
75
76 Mutual Termination for Patent Action. This License shall terminate 
77 automatically and You may no longer exercise any of the rights granted to You 
78 by this License if You file a lawsuit in any court alleging that any OSI 
79 Certified open source software that is licensed under any license containing 
80 this "Mutual Termination for Patent Action" clause infringes any patent 
81 claims that are essential to use that software.
82
83 Right to Use. You may use the Original Work in all ways not otherwise 
84 restricted or conditioned by this License or by law, and Licensor promises 
85 not to interfere with or be responsible for such uses by You.
86
87 This license is Copyright (C) 2002 Lawrence E. Rosen. All rights reserved. 
88 Permission is hereby granted to copy and distribute this license without 
89 modification. This license may not be modified without the express written 
90 permission of its copyright owner.
91
92 -- 
93 END OF ACADEMIC FREE LICENSE. The following is intended to describe the essential 
94 differences between the Academic Free License (AFL) version 1.0 and other 
95 open source licenses:
96
97 The Academic Free License is similar to the BSD, MIT, UoI/NCSA and Apache 
98 licenses in many respects but it is intended to solve a few problems with 
99 those licenses.
100     
101 * The AFL is written so as to make it clear what software is being 
102 licensed (by the inclusion of a statement following the copyright notice 
103 in the software). This way, the license functions better than a template 
104 license. The BSD, MIT and UoI/NCSA licenses apply to unidentified software.
105     
106 * The AFL contains a complete copyright grant to the software. The BSD 
107 and Apache licenses are vague and incomplete in that respect.
108     
109 * The AFL contains a complete patent grant to the software. The BSD, MIT, 
110 UoI/NCSA and Apache licenses rely on an implied patent license and contain 
111 no explicit patent grant.
112     
113 * The AFL makes it clear that no trademark rights are granted to the 
114 licensor's trademarks. The Apache license contains such a provision, but the 
115 BSD, MIT and UoI/NCSA licenses do not.
116     
117 * The AFL includes the warranty by the licensor that it either owns the 
118 copyright or that it is distributing the software under a license. None of 
119 the other licenses contain that warranty. All other warranties are disclaimed, 
120 as is the case for the other licenses.
121
122 * The AFL is itself copyrighted (with the right granted to copy and distribute 
123 without modification). This ensures that the owner of the copyright to the 
124 license will control changes. The Apache license contains a copyright notice, 
125 but the BSD, MIT and UoI/NCSA licenses do not. 
126 --
127 START OF GNU GENERAL PUBLIC LICENSE
128 --
129
130                     GNU GENERAL PUBLIC LICENSE
131                        Version 2, June 1991
132
133  Copyright (C) 1989, 1991 Free Software Foundation, Inc.
134  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
135
136  Everyone is permitted to copy and distribute verbatim copies
137  of this license document, but changing it is not allowed.
138
139                             Preamble
140
141   The licenses for most software are designed to take away your
142 freedom to share and change it.  By contrast, the GNU General Public
143 License is intended to guarantee your freedom to share and change free
144 software--to make sure the software is free for all its users.  This
145 General Public License applies to most of the Free Software
146 Foundation's software and to any other program whose authors commit to
147 using it.  (Some other Free Software Foundation software is covered by
148 the GNU Library General Public License instead.)  You can apply it to
149 your programs, too.
150
151   When we speak of free software, we are referring to freedom, not
152 price.  Our General Public Licenses are designed to make sure that you
153 have the freedom to distribute copies of free software (and charge for
154 this service if you wish), that you receive source code or can get it
155 if you want it, that you can change the software or use pieces of it
156 in new free programs; and that you know you can do these things.
157
158   To protect your rights, we need to make restrictions that forbid
159 anyone to deny you these rights or to ask you to surrender the rights.
160 These restrictions translate to certain responsibilities for you if you
161 distribute copies of the software, or if you modify it.
162
163   For example, if you distribute copies of such a program, whether
164 gratis or for a fee, you must give the recipients all the rights that
165 you have.  You must make sure that they, too, receive or can get the
166 source code.  And you must show them these terms so they know their
167 rights.
168
169   We protect your rights with two steps: (1) copyright the software, and
170 (2) offer you this license which gives you legal permission to copy,
171 distribute and/or modify the software.
172
173   Also, for each author's protection and ours, we want to make certain
174 that everyone understands that there is no warranty for this free
175 software.  If the software is modified by someone else and passed on, we
176 want its recipients to know that what they have is not the original, so
177 that any problems introduced by others will not reflect on the original
178 authors' reputations.
179
180   Finally, any free program is threatened constantly by software
181 patents.  We wish to avoid the danger that redistributors of a free
182 program will individually obtain patent licenses, in effect making the
183 program proprietary.  To prevent this, we have made it clear that any
184 patent must be licensed for everyone's free use or not licensed at all.
185
186   The precise terms and conditions for copying, distribution and
187 modification follow.
188 \f
189                     GNU GENERAL PUBLIC LICENSE
190    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
191
192   0. This License applies to any program or other work which contains
193 a notice placed by the copyright holder saying it may be distributed
194 under the terms of this General Public License.  The "Program", below,
195 refers to any such program or work, and a "work based on the Program"
196 means either the Program or any derivative work under copyright law:
197 that is to say, a work containing the Program or a portion of it,
198 either verbatim or with modifications and/or translated into another
199 language.  (Hereinafter, translation is included without limitation in
200 the term "modification".)  Each licensee is addressed as "you".
201
202 Activities other than copying, distribution and modification are not
203 covered by this License; they are outside its scope.  The act of
204 running the Program is not restricted, and the output from the Program
205 is covered only if its contents constitute a work based on the
206 Program (independent of having been made by running the Program).
207 Whether that is true depends on what the Program does.
208
209   1. You may copy and distribute verbatim copies of the Program's
210 source code as you receive it, in any medium, provided that you
211 conspicuously and appropriately publish on each copy an appropriate
212 copyright notice and disclaimer of warranty; keep intact all the
213 notices that refer to this License and to the absence of any warranty;
214 and give any other recipients of the Program a copy of this License
215 along with the Program.
216
217 You may charge a fee for the physical act of transferring a copy, and
218 you may at your option offer warranty protection in exchange for a fee.
219
220   2. You may modify your copy or copies of the Program or any portion
221 of it, thus forming a work based on the Program, and copy and
222 distribute such modifications or work under the terms of Section 1
223 above, provided that you also meet all of these conditions:
224
225     a) You must cause the modified files to carry prominent notices
226     stating that you changed the files and the date of any change.
227
228     b) You must cause any work that you distribute or publish, that in
229     whole or in part contains or is derived from the Program or any
230     part thereof, to be licensed as a whole at no charge to all third
231     parties under the terms of this License.
232
233     c) If the modified program normally reads commands interactively
234     when run, you must cause it, when started running for such
235     interactive use in the most ordinary way, to print or display an
236     announcement including an appropriate copyright notice and a
237     notice that there is no warranty (or else, saying that you provide
238     a warranty) and that users may redistribute the program under
239     these conditions, and telling the user how to view a copy of this
240     License.  (Exception: if the Program itself is interactive but
241     does not normally print such an announcement, your work based on
242     the Program is not required to print an announcement.)
243 \f
244 These requirements apply to the modified work as a whole.  If
245 identifiable sections of that work are not derived from the Program,
246 and can be reasonably considered independent and separate works in
247 themselves, then this License, and its terms, do not apply to those
248 sections when you distribute them as separate works.  But when you
249 distribute the same sections as part of a whole which is a work based
250 on the Program, the distribution of the whole must be on the terms of
251 this License, whose permissions for other licensees extend to the
252 entire whole, and thus to each and every part regardless of who wrote it.
253
254 Thus, it is not the intent of this section to claim rights or contest
255 your rights to work written entirely by you; rather, the intent is to
256 exercise the right to control the distribution of derivative or
257 collective works based on the Program.
258
259 In addition, mere aggregation of another work not based on the Program
260 with the Program (or with a work based on the Program) on a volume of
261 a storage or distribution medium does not bring the other work under
262 the scope of this License.
263
264   3. You may copy and distribute the Program (or a work based on it,
265 under Section 2) in object code or executable form under the terms of
266 Sections 1 and 2 above provided that you also do one of the following:
267
268     a) Accompany it with the complete corresponding machine-readable
269     source code, which must be distributed under the terms of Sections
270     1 and 2 above on a medium customarily used for software interchange; or,
271
272     b) Accompany it with a written offer, valid for at least three
273     years, to give any third party, for a charge no more than your
274     cost of physically performing source distribution, a complete
275     machine-readable copy of the corresponding source code, to be
276     distributed under the terms of Sections 1 and 2 above on a medium
277     customarily used for software interchange; or,
278
279     c) Accompany it with the information you received as to the offer
280     to distribute corresponding source code.  (This alternative is
281     allowed only for noncommercial distribution and only if you
282     received the program in object code or executable form with such
283     an offer, in accord with Subsection b above.)
284
285 The source code for a work means the preferred form of the work for
286 making modifications to it.  For an executable work, complete source
287 code means all the source code for all modules it contains, plus any
288 associated interface definition files, plus the scripts used to
289 control compilation and installation of the executable.  However, as a
290 special exception, the source code distributed need not include
291 anything that is normally distributed (in either source or binary
292 form) with the major components (compiler, kernel, and so on) of the
293 operating system on which the executable runs, unless that component
294 itself accompanies the executable.
295
296 If distribution of executable or object code is made by offering
297 access to copy from a designated place, then offering equivalent
298 access to copy the source code from the same place counts as
299 distribution of the source code, even though third parties are not
300 compelled to copy the source along with the object code.
301 \f
302   4. You may not copy, modify, sublicense, or distribute the Program
303 except as expressly provided under this License.  Any attempt
304 otherwise to copy, modify, sublicense or distribute the Program is
305 void, and will automatically terminate your rights under this License.
306 However, parties who have received copies, or rights, from you under
307 this License will not have their licenses terminated so long as such
308 parties remain in full compliance.
309
310   5. You are not required to accept this License, since you have not
311 signed it.  However, nothing else grants you permission to modify or
312 distribute the Program or its derivative works.  These actions are
313 prohibited by law if you do not accept this License.  Therefore, by
314 modifying or distributing the Program (or any work based on the
315 Program), you indicate your acceptance of this License to do so, and
316 all its terms and conditions for copying, distributing or modifying
317 the Program or works based on it.
318
319   6. Each time you redistribute the Program (or any work based on the
320 Program), the recipient automatically receives a license from the
321 original licensor to copy, distribute or modify the Program subject to
322 these terms and conditions.  You may not impose any further
323 restrictions on the recipients' exercise of the rights granted herein.
324 You are not responsible for enforcing compliance by third parties to
325 this License.
326
327   7. If, as a consequence of a court judgment or allegation of patent
328 infringement or for any other reason (not limited to patent issues),
329 conditions are imposed on you (whether by court order, agreement or
330 otherwise) that contradict the conditions of this License, they do not
331 excuse you from the conditions of this License.  If you cannot
332 distribute so as to satisfy simultaneously your obligations under this
333 License and any other pertinent obligations, then as a consequence you
334 may not distribute the Program at all.  For example, if a patent
335 license would not permit royalty-free redistribution of the Program by
336 all those who receive copies directly or indirectly through you, then
337 the only way you could satisfy both it and this License would be to
338 refrain entirely from distribution of the Program.
339
340 If any portion of this section is held invalid or unenforceable under
341 any particular circumstance, the balance of the section is intended to
342 apply and the section as a whole is intended to apply in other
343 circumstances.
344
345 It is not the purpose of this section to induce you to infringe any
346 patents or other property right claims or to contest validity of any
347 such claims; this section has the sole purpose of protecting the
348 integrity of the free software distribution system, which is
349 implemented by public license practices.  Many people have made
350 generous contributions to the wide range of software distributed
351 through that system in reliance on consistent application of that
352 system; it is up to the author/donor to decide if he or she is willing
353 to distribute software through any other system and a licensee cannot
354 impose that choice.
355
356 This section is intended to make thoroughly clear what is believed to
357 be a consequence of the rest of this License.
358 \f
359   8. If the distribution and/or use of the Program is restricted in
360 certain countries either by patents or by copyrighted interfaces, the
361 original copyright holder who places the Program under this License
362 may add an explicit geographical distribution limitation excluding
363 those countries, so that distribution is permitted only in or among
364 countries not thus excluded.  In such case, this License incorporates
365 the limitation as if written in the body of this License.
366
367   9. The Free Software Foundation may publish revised and/or new versions
368 of the General Public License from time to time.  Such new versions will
369 be similar in spirit to the present version, but may differ in detail to
370 address new problems or concerns.
371
372 Each version is given a distinguishing version number.  If the Program
373 specifies a version number of this License which applies to it and "any
374 later version", you have the option of following the terms and conditions
375 either of that version or of any later version published by the Free
376 Software Foundation.  If the Program does not specify a version number of
377 this License, you may choose any version ever published by the Free Software
378 Foundation.
379
380   10. If you wish to incorporate parts of the Program into other free
381 programs whose distribution conditions are different, write to the author
382 to ask for permission.  For software which is copyrighted by the Free
383 Software Foundation, write to the Free Software Foundation; we sometimes
384 make exceptions for this.  Our decision will be guided by the two goals
385 of preserving the free status of all derivatives of our free software and
386 of promoting the sharing and reuse of software generally.
387
388                             NO WARRANTY
389
390   11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
391 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
392 OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
393 PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
394 OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
395 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
396 TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
397 PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
398 REPAIR OR CORRECTION.
399
400   12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
401 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
402 REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
403 INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
404 OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
405 TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
406 YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
407 PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
408 POSSIBILITY OF SUCH DAMAGES.
409
410                      END OF TERMS AND CONDITIONS
411 \f
412             How to Apply These Terms to Your New Programs
413
414   If you develop a new program, and you want it to be of the greatest
415 possible use to the public, the best way to achieve this is to make it
416 free software which everyone can redistribute and change under these terms.
417
418   To do so, attach the following notices to the program.  It is safest
419 to attach them to the start of each source file to most effectively
420 convey the exclusion of warranty; and each file should have at least
421 the "copyright" line and a pointer to where the full notice is found.
422
423     <one line to give the program's name and a brief idea of what it does.>
424     Copyright (C) <year>  <name of author>
425
426     This program is free software; you can redistribute it and/or modify
427     it under the terms of the GNU General Public License as published by
428     the Free Software Foundation; either version 2 of the License, or
429     (at your option) any later version.
430
431     This program is distributed in the hope that it will be useful,
432     but WITHOUT ANY WARRANTY; without even the implied warranty of
433     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
434     GNU General Public License for more details.
435
436     You should have received a copy of the GNU General Public License
437     along with this program; if not, write to the Free Software
438     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
439
440
441 Also add information on how to contact you by electronic and paper mail.
442
443 If the program is interactive, make it output a short notice like this
444 when it starts in an interactive mode:
445
446     Gnomovision version 69, Copyright (C) year name of author
447     Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
448     This is free software, and you are welcome to redistribute it
449     under certain conditions; type `show c' for details.
450
451 The hypothetical commands `show w' and `show c' should show the appropriate
452 parts of the General Public License.  Of course, the commands you use may
453 be called something other than `show w' and `show c'; they could even be
454 mouse-clicks or menu items--whatever suits your program.
455
456 You should also get your employer (if you work as a programmer) or your
457 school, if any, to sign a "copyright disclaimer" for the program, if
458 necessary.  Here is a sample; alter the names:
459
460   Yoyodyne, Inc., hereby disclaims all copyright interest in the program
461   `Gnomovision' (which makes passes at compilers) written by James Hacker.
462
463   <signature of Ty Coon>, 1 April 1989
464   Ty Coon, President of Vice
465
466 This General Public License does not permit incorporating your program into
467 proprietary programs.  If your program is a subroutine library, you may
468 consider it more useful to permit linking proprietary applications with the
469 library.  If this is what you want to do, use the GNU Library General
470 Public License instead of this License.