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