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