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