Hello community, here is the log from the commit of package dbus-1 checked in at Tue Oct 7 15:54:33 CEST 2008. -------- --- dbus-1/dbus-1.changes 2008-09-03 12:09:57.000000000 +0200 +++ /mounts/work_src_done/STABLE/dbus-1/dbus-1.changes 2008-10-07 10:10:42.858506000 +0200 @@ -1,0 +2,7 @@ +Tue Oct 7 09:48:51 CEST 2008 - thoenig@suse.de + +- Update to D-Bus 1.2.4 +- fix for CVE-2008-3834 (bnc#432901) +- compilation and portability fixes + +------------------------------------------------------------------- dbus-1-x11.changes: same change calling whatdependson for head-i586 Old: ---- dbus-1.2.3.tar.bz2 New: ---- dbus-1.2.4.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dbus-1.spec ++++++ --- /var/tmp/diff_new_pack.rG4249/_old 2008-10-07 15:53:40.000000000 +0200 +++ /var/tmp/diff_new_pack.rG4249/_new 2008-10-07 15:53:40.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package dbus-1 (Version 1.2.3) +# spec file for package dbus-1 (Version 1.2.4) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -34,8 +34,8 @@ %if %{with selinux} BuildRequires: libselinux-devel %endif -Version: 1.2.3 -Release: 9 +Version: 1.2.4 +Release: 1 AutoReqProv: on Source0: dbus-%{version}.tar.bz2 Source1: rc.boot.dbus @@ -277,6 +277,10 @@ %{_datadir}/susehelp %changelog +* Tue Oct 07 2008 thoenig@suse.de +- Update to D-Bus 1.2.4 +- fix for CVE-2008-3834 (bnc#432901) +- compilation and portability fixes * Wed Sep 03 2008 lnussel@suse.de - hook into ConsoleKit for at_console support - only require selinux for > 11.0 ++++++ dbus-1-x11.spec ++++++ --- /var/tmp/diff_new_pack.rG4249/_old 2008-10-07 15:53:40.000000000 +0200 +++ /var/tmp/diff_new_pack.rG4249/_new 2008-10-07 15:53:40.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package dbus-1-x11 (Version 1.2.3) +# spec file for package dbus-1-x11 (Version 1.2.4) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -36,8 +36,8 @@ %if %{with selinux} BuildRequires: libselinux-devel %endif -Version: 1.2.3 -Release: 16 +Version: 1.2.4 +Release: 1 AutoReqProv: on Source0: dbus-%{version}.tar.bz2 Source1: rc.boot.dbus @@ -128,6 +128,10 @@ %{_mandir}/man1/dbus-launch.1* %changelog +* Tue Oct 07 2008 thoenig@suse.de +- Update to D-Bus 1.2.4 +- fix for CVE-2008-3834 (bnc#432901) +- compilation and portability fixes * Wed Sep 03 2008 lnussel@suse.de - hook into ConsoleKit for at_console support - only require selinux for > 11.0 ++++++ dbus-1.2.3.tar.bz2 -> dbus-1.2.4.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/dbus-1.2.3/configure new/dbus-1.2.4/configure --- old/dbus-1.2.3/configure 2008-08-06 21:43:40.000000000 +0200 +++ new/dbus-1.2.4/configure 2008-10-06 23:20:17.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.61 for dbus 1.2.3. +# Generated by GNU Autoconf 2.61 for dbus 1.2.4. # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. @@ -726,8 +726,8 @@ # Identity of this package. PACKAGE_NAME='dbus' PACKAGE_TARNAME='dbus' -PACKAGE_VERSION='1.2.3' -PACKAGE_STRING='dbus 1.2.3' +PACKAGE_VERSION='1.2.4' +PACKAGE_STRING='dbus 1.2.4' PACKAGE_BUGREPORT='' # Factoring default headers for most tests. @@ -1496,7 +1496,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures dbus 1.2.3 to adapt to many kinds of systems. +\`configure' configures dbus 1.2.4 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1571,7 +1571,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of dbus 1.2.3:";; + short | recursive ) echo "Configuration of dbus 1.2.4:";; esac cat <<\_ACEOF @@ -1714,7 +1714,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -dbus configure 1.2.3 +dbus configure 1.2.4 generated by GNU Autoconf 2.61 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, @@ -1728,7 +1728,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by dbus $as_me 1.2.3, which was +It was created by dbus $as_me 1.2.4, which was generated by GNU Autoconf 2.61. Invocation command line was $ $0 $@ @@ -2546,7 +2546,7 @@ # Define the identity of the package. PACKAGE='dbus' - VERSION='1.2.3' + VERSION='1.2.4' cat >>confdefs.h <<_ACEOF @@ -2834,8 +2834,8 @@ DBUS_MAJOR_VERSION=1 DBUS_MINOR_VERSION=2 -DBUS_MICRO_VERSION=3 -DBUS_VERSION=1.2.3 +DBUS_MICRO_VERSION=4 +DBUS_VERSION=1.2.4 @@ -30351,7 +30351,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by dbus $as_me 1.2.3, which was +This file was extended by dbus $as_me 1.2.4, which was generated by GNU Autoconf 2.61. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -30404,7 +30404,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ -dbus config.status 1.2.3 +dbus config.status 1.2.4 configured by $0, generated by GNU Autoconf 2.61, with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/dbus-1.2.3/configure.in new/dbus-1.2.4/configure.in --- old/dbus-1.2.3/configure.in 2008-08-06 21:43:28.000000000 +0200 +++ new/dbus-1.2.4/configure.in 2008-10-06 23:20:00.000000000 +0200 @@ -3,7 +3,7 @@ m4_define([dbus_major_version], [1]) m4_define([dbus_minor_version], [2]) -m4_define([dbus_micro_version], [3]) +m4_define([dbus_micro_version], [4]) m4_define([dbus_version], [dbus_major_version.dbus_minor_version.dbus_micro_version]) AC_INIT(dbus, [dbus_version]) diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/dbus-1.2.3/dbus/dbus-arch-deps.h new/dbus-1.2.4/dbus/dbus-arch-deps.h --- old/dbus-1.2.3/dbus/dbus-arch-deps.h 2008-08-06 21:43:48.000000000 +0200 +++ new/dbus-1.2.4/dbus/dbus-arch-deps.h 2008-10-06 23:20:24.000000000 +0200 @@ -56,11 +56,11 @@ */ #define DBUS_MAJOR_VERSION 1 #define DBUS_MINOR_VERSION 2 -#define DBUS_MICRO_VERSION 3 +#define DBUS_MICRO_VERSION 4 -#define DBUS_VERSION_STRING "1.2.3" +#define DBUS_VERSION_STRING "1.2.4" -#define DBUS_VERSION ((1 << 16) | (2 << 8) | (3)) +#define DBUS_VERSION ((1 << 16) | (2 << 8) | (4)) DBUS_END_DECLS diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/dbus-1.2.3/dbus/dbus-credentials.h new/dbus-1.2.4/dbus/dbus-credentials.h --- old/dbus-1.2.3/dbus/dbus-credentials.h 2008-08-06 19:00:29.000000000 +0200 +++ new/dbus-1.2.4/dbus/dbus-credentials.h 2008-10-01 21:00:57.000000000 +0200 @@ -47,6 +47,9 @@ dbus_uid_t uid); dbus_bool_t _dbus_credentials_add_windows_sid (DBusCredentials *credentials, const char *windows_sid); +dbus_bool_t _dbus_credentials_add_adt_audit_data (DBusCredentials *credentials, + void *audit_data, + dbus_int32_t size); dbus_bool_t _dbus_credentials_include (DBusCredentials *credentials, DBusCredentialType type); dbus_pid_t _dbus_credentials_get_unix_pid (DBusCredentials *credentials); diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/dbus-1.2.3/dbus/dbus-marshal-recursive.c new/dbus-1.2.4/dbus/dbus-marshal-recursive.c --- old/dbus-1.2.3/dbus/dbus-marshal-recursive.c 2008-05-08 16:17:26.000000000 +0200 +++ new/dbus-1.2.4/dbus/dbus-marshal-recursive.c 2008-10-01 21:01:07.000000000 +0200 @@ -1654,7 +1654,7 @@ _dbus_type_to_string (expected), _dbus_string_get_const_data (writer->type_str), writer->type_pos); else - _dbus_warn_check_failed ("Writing an element of type %s, but no value is expected here\n", + _dbus_warn_check_failed ("Writing an element of type %s, but no value is expected here\n" "The overall signature expected here was '%s' and we are on byte %d of that signature.\n", _dbus_type_to_string (sub->container_type), _dbus_string_get_const_data (writer->type_str), writer->type_pos); diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/dbus-1.2.3/dbus/dbus-marshal-validate.c new/dbus-1.2.4/dbus/dbus-marshal-validate.c --- old/dbus-1.2.3/dbus/dbus-marshal-validate.c 2008-05-08 16:17:26.000000000 +0200 +++ new/dbus-1.2.4/dbus/dbus-marshal-validate.c 2008-10-01 21:00:39.000000000 +0200 @@ -247,6 +247,7 @@ } if (last == DBUS_DICT_ENTRY_BEGIN_CHAR && + _dbus_type_is_valid (*p) && !dbus_type_is_basic (*p)) { result = DBUS_INVALID_DICT_KEY_MUST_BE_BASIC_TYPE; diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/dbus-1.2.3/dbus/dbus-marshal-validate-util.c new/dbus-1.2.4/dbus/dbus-marshal-validate-util.c --- old/dbus-1.2.3/dbus/dbus-marshal-validate-util.c 2008-05-08 16:17:26.000000000 +0200 +++ new/dbus-1.2.4/dbus/dbus-marshal-validate-util.c 2008-10-01 21:00:39.000000000 +0200 @@ -228,6 +228,7 @@ "123", ".", "(" + "a{(ii)i}" /* https://bugs.freedesktop.org/show_bug.cgi?id=17803 */ }; /* Signature with reason */ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/dbus-1.2.3/dbus/dbus-sysdeps-unix.c new/dbus-1.2.4/dbus/dbus-sysdeps-unix.c --- old/dbus-1.2.3/dbus/dbus-sysdeps-unix.c 2008-08-06 19:00:29.000000000 +0200 +++ new/dbus-1.2.4/dbus/dbus-sysdeps-unix.c 2008-10-06 23:14:50.000000000 +0200 @@ -79,8 +79,8 @@ #define O_BINARY 0 #endif -#ifndef _AI_ADDRCONFIG -#define _AI_ADDRCONFIG 0 +#ifndef AI_ADDRCONFIG +#define AI_ADDRCONFIG 0 #endif #ifndef HAVE_SOCKLEN_T @@ -1493,7 +1493,11 @@ /* retrieve maximum needed size for buf */ buflen = sysconf (_SC_GETPW_R_SIZE_MAX); - if (buflen <= 0) + /* sysconf actually returns a long, but everything else expects size_t, + * so just recast here. + * https://bugs.freedesktop.org/show_bug.cgi?id=17061 + */ + if ((long) buflen <= 0) buflen = 1024; result = -1; @@ -2224,6 +2228,15 @@ total += bytes_written; } + if (fsync(fd)) + { + dbus_set_error (error, _dbus_error_from_errno (errno), + "Could not synchronize file %s: %s", + tmp_filename_c, _dbus_strerror (errno)); + + goto out; + } + if (!_dbus_close (fd, NULL)) { dbus_set_error (error, _dbus_error_from_errno (errno), diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/dbus-1.2.3/dbus/dbus-sysdeps-util-unix.c new/dbus-1.2.4/dbus/dbus-sysdeps-util-unix.c --- old/dbus-1.2.3/dbus/dbus-sysdeps-util-unix.c 2008-08-06 19:00:29.000000000 +0200 +++ new/dbus-1.2.4/dbus/dbus-sysdeps-util-unix.c 2008-10-01 21:00:29.000000000 +0200 @@ -836,7 +836,11 @@ /* retrieve maximum needed size for buf */ buflen = sysconf (_SC_GETGR_R_SIZE_MAX); - if (buflen <= 0) + /* sysconf actually returns a long, but everything else expects size_t, + * so just recast here. + * https://bugs.freedesktop.org/show_bug.cgi?id=17061 + */ + if ((long) buflen <= 0) buflen = 1024; result = -1; diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/dbus-1.2.3/doc/dbus-faq.html new/dbus-1.2.4/doc/dbus-faq.html --- old/dbus-1.2.3/doc/dbus-faq.html 2008-08-06 21:38:33.000000000 +0200 +++ new/dbus-1.2.4/doc/dbus-faq.html 2008-08-08 20:54:46.000000000 +0200 @@ -1,13 +1,13 @@ <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>D-Bus FAQ</title><meta name="generator" content="DocBook XSL Stylesheets V1.73.2"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="article" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="index"></a>D-Bus FAQ</h2></div><div><div class="authorgroup"><div class="author"><h3 class="author"><span class="firstname">Havoc</span> <span class="surname">Pennington</span></h3><div class="affiliation"><span class="orgname">Red Hat, Inc.<br></span><div class="address"><p><br> ����<code class="email"><<a class="email" href="mailto:hp@pobox.com">hp@pobox.com</a>></code><br> - ��</p></div></div></div><div class="author"><h3 class="author"><span class="firstname">David</span> <span class="othername">A</span> <span class="surname">Wheeler</span></h3></div></div></div><div><p class="releaseinfo">Version 0.3</p></div></div><hr></div><div class="qandaset"><dl><dt>1. <a href="#id436782"> + ��</p></div></div></div><div class="author"><h3 class="author"><span class="firstname">David</span> <span class="othername">A</span> <span class="surname">Wheeler</span></h3></div></div></div><div><p class="releaseinfo">Version 0.3</p></div></div><hr></div><div class="qandaset"><dl><dt>1. <a href="#id287706"> What is D-Bus? - </a></dt><dt>2. <a href="#id435805"> + </a></dt><dt>2. <a href="#id286727"> Is D-Bus stable/finished? - </a></dt><dt>3. <a href="#id435831"> + </a></dt><dt>3. <a href="#id286754"> How is the reference implementation licensed? Can I use it in proprietary applications? - </a></dt><dt>4. <a href="#id435864"> + </a></dt><dt>4. <a href="#id290098"> What is the difference between a bus name, and object path, and an interface? </a></dt><dt>5. <a href="#service"> @@ -39,9 +39,9 @@ How does D-Bus differ from [yet more IPC mechanisms]? </a></dt><dt>18. <a href="#which-ipc"> Which IPC mechanism should I use? - </a></dt><dt>19. <a href="#id475506"> + </a></dt><dt>19. <a href="#id326390"> How can I submit a bug or patch? - </a></dt></dl><table border="0" summary="Q and A Set"><col align="left" width="1%"><tbody><tr class="question"><td align="left" valign="top"><a name="id436782"></a><a name="id436784"></a><p><b>1.</b></p></td><td align="left" valign="top"><p> + </a></dt></dl><table border="0" summary="Q and A Set"><col align="left" width="1%"><tbody><tr class="question"><td align="left" valign="top"><a name="id287706"></a><a name="id287708"></a><p><b>1.</b></p></td><td align="left" valign="top"><p> What is D-Bus? </p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p> This is probably best answered by reading the D-Bus <a class="ulink" href="dbus-tutorial.html" target="_top">tutorial</a> or @@ -52,7 +52,7 @@ Phrased differently, D-Bus is 1) an interprocess communication (IPC) system and 2) some higher-level structure (lifecycle tracking, service activation, security policy) provided by two bus daemons, one systemwide and one per-user-session. - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id435805"></a><a name="id435807"></a><p><b>2.</b></p></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id286727"></a><a name="id286730"></a><p><b>2.</b></p></td><td align="left" valign="top"><p> Is D-Bus stable/finished? </p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p> The low-level library "libdbus" and the protocol specification are considered @@ -62,7 +62,7 @@ have their own release schedules and degree of maturity, not linked to the low-level library and bus daemon release. Check the project page for the binding you're considering to understand that project's policies. - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id435831"></a><a name="id435833"></a><p><b>3.</b></p></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id286754"></a><a name="id286756"></a><p><b>3.</b></p></td><td align="left" valign="top"><p> How is the reference implementation licensed? Can I use it in proprietary applications? </p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p> @@ -77,7 +77,7 @@ use D-Bus</em></span>. If you're going to sue, you have to stop using the software. Read the licenses to determine their meaning, this FAQ entry is not intended to change the meaning or terms of the licenses. - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id435864"></a><a name="id436227"></a><p><b>4.</b></p></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id290098"></a><a name="id290101"></a><p><b>4.</b></p></td><td align="left" valign="top"><p> What is the difference between a bus name, and object path, and an interface? </p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p> @@ -107,7 +107,7 @@ interfaces, such as <code class="literal">org.freedesktop.DBus.Introspectable</code>, <code class="literal">org.freedesktop.BasicTextField</code>, <code class="literal">org.kde.RichTextDocument</code>. - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="service"></a><a name="id435928"></a><p><b>5.</b></p></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="service"></a><a name="id286858"></a><p><b>5.</b></p></td><td align="left" valign="top"><p> What is a "service"? </p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p> A service is a program that can be launched by the bus daemon @@ -120,7 +120,7 @@ In the D-Bus docs we try to use "service" only when talking about programs the bus knows how to launch, i.e. a service always has a .service file. - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="components"></a><a name="id435955"></a><p><b>6.</b></p></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="components"></a><a name="id286885"></a><p><b>6.</b></p></td><td align="left" valign="top"><p> Is D-Bus a "component system"? </p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p> It helps to keep these concepts separate in your mind: @@ -170,7 +170,7 @@ from component/object systems, though perhaps a "plugin" tends to be a bundle of objects with a user-visible name and can be downloaded/packaged as a unit. - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="speed"></a><a name="id436058"></a><p><b>7.</b></p></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="speed"></a><a name="id286988"></a><p><b>7.</b></p></td><td align="left" valign="top"><p> How fast is the D-Bus reference implementation? </p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p> Of course it depends a bit on what you're doing. @@ -198,7 +198,7 @@ enable asynchronous communication and avoid round trips. This is frequently a more important performance issue than throughput. - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="size"></a><a name="id436104"></a><p><b>8.</b></p></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="size"></a><a name="id287034"></a><p><b>8.</b></p></td><td align="left" valign="top"><p> How large is the D-Bus reference implementation? </p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p> A production build (with assertions, unit tests, and verbose logging @@ -207,7 +207,7 @@ A much, much smaller implementation would be possible by omitting out of memory handling, hardcoding a main loop (or always using blocking I/O), skipping validation, and otherwise simplifying things. - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="other-ipc"></a><a name="id474820"></a><p><b>9.</b></p></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="other-ipc"></a><a name="id325703"></a><p><b>9.</b></p></td><td align="left" valign="top"><p> How does D-Bus differ from other interprocess communication or networking protocols? </p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p> @@ -240,7 +240,7 @@ Note: the D-Bus mailing list subscribers are <span class="emphasis"><em>very much not interested</em></span> in debating which IPC system is the One True System. So if you want to discuss that, please use another forum. - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="corba"></a><a name="id474893"></a><p><b>10.</b></p></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="corba"></a><a name="id325776"></a><p><b>10.</b></p></td><td align="left" valign="top"><p> How does D-Bus differ from CORBA? </p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p> Start by reading <a class="xref" href="#other-ipc" title="Question">Q:�9</a>. @@ -292,7 +292,7 @@ </p><p> On a more trivial note, D-Bus involves substantially fewer acronyms than CORBA. - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="xmlrpcsoap"></a><a name="id435575"></a><p><b>11.</b></p></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="xmlrpcsoap"></a><a name="id286250"></a><p><b>11.</b></p></td><td align="left" valign="top"><p> How does D-Bus differ from XML-RPC and SOAP? </p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p> Start by reading <a class="xref" href="#other-ipc" title="Question">Q:�9</a>. @@ -311,7 +311,7 @@ supports lifecycle tracking of other applications connected to the bus. With XML-RPC and SOAP, typically each method call exists in isolation and has its own HTTP connection. - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="dce"></a><a name="id475218"></a><p><b>12.</b></p></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="dce"></a><a name="id326101"></a><p><b>12.</b></p></td><td align="left" valign="top"><p> How does D-Bus differ from DCE? </p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p> Start by reading <a class="xref" href="#other-ipc" title="Question">Q:�9</a>. @@ -324,7 +324,7 @@ a distributed time service. As the name implies, DCE is intended for use in a large, multi-computer distributed application. D-Bus would not be well-suited for this. - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="dcom"></a><a name="id475258"></a><p><b>13.</b></p></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="dcom"></a><a name="id326141"></a><p><b>13.</b></p></td><td align="left" valign="top"><p> How does D-Bus differ from DCOM and COM? </p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p> Start by reading <a class="xref" href="#other-ipc" title="Question">Q:�9</a>. @@ -334,7 +334,7 @@ </p><p> DCOM (distributed COM) is a Windows IPC system designed for use with the COM object system. It's similar in some ways to DCE and CORBA. - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="internet-communications-engine"></a><a name="id475293"></a><p><b>14.</b></p></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="internet-communications-engine"></a><a name="id326177"></a><p><b>14.</b></p></td><td align="left" valign="top"><p> How does D-Bus differ from ZeroC's Internet Communications Engine (Ice) </p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p> Start by reading <a class="xref" href="#other-ipc" title="Question">Q:�9</a>. @@ -344,7 +344,7 @@ on the level of SOAP or CORBA than D-Bus. Ice has a "dual-license" business around it; i.e. you can use it under the GPL, or pay for a proprietary license. - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="inter-client-exchange"></a><a name="id475327"></a><p><b>15.</b></p></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="inter-client-exchange"></a><a name="id326210"></a><p><b>15.</b></p></td><td align="left" valign="top"><p> How does D-Bus differ from Inter-Client Exchange (ICE)? </p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p> <a class="ulink" href="http://www.x.org/X11R6.8.1/docs/ICE/ice.pdf" target="_top">ICE</a> @@ -362,7 +362,7 @@ DCOP and XSMP are the only two widely-used applications of ICE, and both could in principle be replaced by D-Bus. (Though whether GNOME and KDE will bother is an open question.) - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="dcop"></a><a name="id475365"></a><p><b>16.</b></p></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="dcop"></a><a name="id326249"></a><p><b>16.</b></p></td><td align="left" valign="top"><p> How does D-Bus differ from DCOP? </p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p> Start by reading <a class="xref" href="#other-ipc" title="Question">Q:�9</a>. @@ -389,14 +389,14 @@ DCOP's implementation to use D-Bus internally (so that GNOME and KDE would end up using exactly the same bus). See the KDE mailing list archives for some of these discussions. - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="yet-more-ipc"></a><a name="id475424"></a><p><b>17.</b></p></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="yet-more-ipc"></a><a name="id326307"></a><p><b>17.</b></p></td><td align="left" valign="top"><p> How does D-Bus differ from [yet more IPC mechanisms]? </p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p> Start by reading <a class="xref" href="#other-ipc" title="Question">Q:�9</a>. </p><p> There are countless uses of network sockets in the world. <a class="ulink" href="http://www.mbus.org/" target="_top">MBUS</a>, Sun ONC/RPC, Jabber/XMPP, SIP, are some we can think of quickly. - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="which-ipc"></a><a name="id475456"></a><p><b>18.</b></p></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="which-ipc"></a><a name="id326340"></a><p><b>18.</b></p></td><td align="left" valign="top"><p> Which IPC mechanism should I use? </p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p> Start by reading <a class="xref" href="#other-ipc" title="Question">Q:�9</a>. @@ -427,7 +427,7 @@ to search the list archives is probably to use an Internet engine such as Google. On Google, include "site:freedesktop.org" in your search. - </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id475506"></a><a name="id475509"></a><p><b>19.</b></p></td><td align="left" valign="top"><p> + </p></td></tr><tr class="question"><td align="left" valign="top"><a name="id326390"></a><a name="id326392"></a><p><b>19.</b></p></td><td align="left" valign="top"><p> How can I submit a bug or patch? </p></td></tr><tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p> The D-Bus <a class="ulink" href="http://dbus.freedesktop.org" target="_top">web site</a> diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/dbus-1.2.3/doc/dbus-specification.html new/dbus-1.2.4/doc/dbus-specification.html --- old/dbus-1.2.3/doc/dbus-specification.html 2008-08-06 21:38:35.000000000 +0200 +++ new/dbus-1.2.4/doc/dbus-specification.html 2008-08-08 20:54:49.000000000 +0200 @@ -4,7 +4,7 @@ ������������<code class="email"><<a class="email" href="mailto:andersca@codefactory.se">andersca@codefactory.se</a>></code><br> ����������</p></div></div></div><div class="author"><h3 class="author"><span class="firstname">Alexander</span> <span class="surname">Larsson</span></h3><div class="affiliation"><span class="orgname">Red Hat, Inc.<br></span><div class="address"><p><br> ������������<code class="email"><<a class="email" href="mailto:alexl@redhat.com">alexl@redhat.com</a>></code><br> -����������</p></div></div></div></div></div><div><p class="releaseinfo">Version 0.12</p></div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="#introduction">Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="#stability">Protocol and Specification Stability</a></span></dt></dl></dd><dt><span class="sect1"><a href="#message-protocol">Message Protocol</a></span></dt><dd><dl><dt><span class="sect2"><a href="#message-protocol-signatures">Type Signatures</a></span></dt><dt><span class="sect2"><a href="#message-protocol-marshaling">Marshaling (Wire Format)</a></span></dt><dt><span class="sect2"><a href="#message-protocol-messages">Message Format</a></span></dt><dt><span class="sect2"><a href="#message-protocol-names">Valid Names</a></span></dt><dt><span class="sect2"><a href="#message-protocol-types">Message Types</a></span></dt><dt><span class="sect2"><a href="#message-protocol-handling-invalid">Invalid Protocol and Spec Extensions</a></span></dt></dl></dd><dt><span class="sect1"><a href="#auth-protocol">Authentication Protocol</a></span></dt><dd><dl><dt><span class="sect2"><a href="#auth-protocol-overview">Protocol Overview</a></span></dt><dt><span class="sect2"><a href="#auth-nul-byte">Special credentials-passing nul byte</a></span></dt><dt><span class="sect2"><a href="#auth-command-auth">AUTH command</a></span></dt><dt><span class="sect2"><a href="#auth-command-cancel">CANCEL Command</a></span></dt><dt><span class="sect2"><a href="#auth-command-data">DATA Command</a></span></dt><dt><span class="sect2"><a href="#auth-command-begin">BEGIN Command</a></span></dt><dt><span class="sect2"><a href="#auth-command-rejected">REJECTED Command</a></span></dt><dt><span class="sect2"><a href="#auth-command-ok">OK Command</a></span></dt><dt><span class="sect2"><a href="#auth-command-error">ERROR Command</a></span></dt><dt><span class="sect2"><a href="#auth-examples">Authentication examples</a></span></dt><dt><span class="sect2"><a href="#auth-states">Authentication state diagrams</a></span></dt><dt><span class="sect2"><a href="#auth-mechanisms">Authentication mechanisms</a></span></dt></dl></dd><dt><span class="sect1"><a href="#addresses">Server Addresses</a></span></dt><dt><span class="sect1"><a href="#transports">Transports</a></span></dt><dd><dl><dt><span class="sect2"><a href="#transports-unix-domain-sockets">Unix Domain Sockets</a></span></dt></dl></dd><dt><span class="sect1"><a href="#naming-conventions">Naming Conventions</a></span></dt><dt><span class="sect1"><a href="#uuids">UUIDs</a></span></dt><dt><span class="sect1"><a href="#standard-interfaces">Standard Interfaces</a></span></dt><dd><dl><dt><span class="sect2"><a href="#standard-interfaces-peer"><code class="literal">org.freedesktop.DBus.Peer</code></a></span></dt><dt><span class="sect2"><a href="#standard-interfaces-introspectable"><code class="literal">org.freedesktop.DBus.Introspectable</code></a></span></dt><dt><span class="sect2"><a href="#standard-interfaces-properties"><code class="literal">org.freedesktop.DBus.Properties</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="#introspection-format">Introspection Data Format</a></span></dt><dt><span class="sect1"><a href="#message-bus">Message Bus Specification</a></span></dt><dd><dl><dt><span class="sect2"><a href="#message-bus-overview">Message Bus Overview</a></span></dt><dt><span class="sect2"><a href="#message-bus-names">Message Bus Names</a></span></dt><dt><span class="sect2"><a href="#message-bus-routing">Message Bus Message Routing</a></span></dt><dt><span class="sect2"><a href="#message-bus-starting-services">Message Bus Starting Services</a></span></dt><dt><span class="sect2"><a href="#message-bus-types">Well-known Message Bus Instances</a></span></dt><dt><span class="sect2"><a href="#message-bus-messages">Message Bus Messages</a></span></dt></dl></dd><dt><span class="glossary"><a href="#id330172">Glossary</a></span></dt></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="introduction"></a>Introduction</h2></div></div></div><p> +����������</p></div></div></div></div></div><div><p class="releaseinfo">Version 0.12</p></div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="#introduction">Introduction</a></span></dt><dd><dl><dt><span class="sect2"><a href="#stability">Protocol and Specification Stability</a></span></dt></dl></dd><dt><span class="sect1"><a href="#message-protocol">Message Protocol</a></span></dt><dd><dl><dt><span class="sect2"><a href="#message-protocol-signatures">Type Signatures</a></span></dt><dt><span class="sect2"><a href="#message-protocol-marshaling">Marshaling (Wire Format)</a></span></dt><dt><span class="sect2"><a href="#message-protocol-messages">Message Format</a></span></dt><dt><span class="sect2"><a href="#message-protocol-names">Valid Names</a></span></dt><dt><span class="sect2"><a href="#message-protocol-types">Message Types</a></span></dt><dt><span class="sect2"><a href="#message-protocol-handling-invalid">Invalid Protocol and Spec Extensions</a></span></dt></dl></dd><dt><span class="sect1"><a href="#auth-protocol">Authentication Protocol</a></span></dt><dd><dl><dt><span class="sect2"><a href="#auth-protocol-overview">Protocol Overview</a></span></dt><dt><span class="sect2"><a href="#auth-nul-byte">Special credentials-passing nul byte</a></span></dt><dt><span class="sect2"><a href="#auth-command-auth">AUTH command</a></span></dt><dt><span class="sect2"><a href="#auth-command-cancel">CANCEL Command</a></span></dt><dt><span class="sect2"><a href="#auth-command-data">DATA Command</a></span></dt><dt><span class="sect2"><a href="#auth-command-begin">BEGIN Command</a></span></dt><dt><span class="sect2"><a href="#auth-command-rejected">REJECTED Command</a></span></dt><dt><span class="sect2"><a href="#auth-command-ok">OK Command</a></span></dt><dt><span class="sect2"><a href="#auth-command-error">ERROR Command</a></span></dt><dt><span class="sect2"><a href="#auth-examples">Authentication examples</a></span></dt><dt><span class="sect2"><a href="#auth-states">Authentication state diagrams</a></span></dt><dt><span class="sect2"><a href="#auth-mechanisms">Authentication mechanisms</a></span></dt></dl></dd><dt><span class="sect1"><a href="#addresses">Server Addresses</a></span></dt><dt><span class="sect1"><a href="#transports">Transports</a></span></dt><dd><dl><dt><span class="sect2"><a href="#transports-unix-domain-sockets">Unix Domain Sockets</a></span></dt></dl></dd><dt><span class="sect1"><a href="#naming-conventions">Naming Conventions</a></span></dt><dt><span class="sect1"><a href="#uuids">UUIDs</a></span></dt><dt><span class="sect1"><a href="#standard-interfaces">Standard Interfaces</a></span></dt><dd><dl><dt><span class="sect2"><a href="#standard-interfaces-peer"><code class="literal">org.freedesktop.DBus.Peer</code></a></span></dt><dt><span class="sect2"><a href="#standard-interfaces-introspectable"><code class="literal">org.freedesktop.DBus.Introspectable</code></a></span></dt><dt><span class="sect2"><a href="#standard-interfaces-properties"><code class="literal">org.freedesktop.DBus.Properties</code></a></span></dt></dl></dd><dt><span class="sect1"><a href="#introspection-format">Introspection Data Format</a></span></dt><dt><span class="sect1"><a href="#message-bus">Message Bus Specification</a></span></dt><dd><dl><dt><span class="sect2"><a href="#message-bus-overview">Message Bus Overview</a></span></dt><dt><span class="sect2"><a href="#message-bus-names">Message Bus Names</a></span></dt><dt><span class="sect2"><a href="#message-bus-routing">Message Bus Message Routing</a></span></dt><dt><span class="sect2"><a href="#message-bus-starting-services">Message Bus Starting Services</a></span></dt><dt><span class="sect2"><a href="#message-bus-types">Well-known Message Bus Instances</a></span></dt><dt><span class="sect2"><a href="#message-bus-messages">Message Bus Messages</a></span></dt></dl></dd><dt><span class="glossary"><a href="#id342801">Glossary</a></span></dt></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="introduction"></a>Introduction</h2></div></div></div><p> D-Bus is a system for low-latency, low-overhead, easy to use interprocess communication (IPC). In more detail: </p><div class="itemizedlist"><ul type="disc"><li><p> @@ -840,14 +840,14 @@ ERROR feature of the auth protocol is an escape hatch that lets us negotiate extensions or changes to the D-Bus protocol in the future. </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="auth-examples"></a>Authentication examples</h3></div></div></div><p> - </p><div class="figure"><a name="id325985"></a><p class="title"><b>Figure�1.�Example of successful magic cookie authentication</b></p><div class="figure-contents"><pre class="programlisting"> + </p><div class="figure"><a name="id338615"></a><p class="title"><b>Figure�1.�Example of successful magic cookie authentication</b></p><div class="figure-contents"><pre class="programlisting"> (MAGIC_COOKIE is a made up mechanism) C: AUTH MAGIC_COOKIE 3138363935333137393635383634 S: OK 1234deadbeef C: BEGIN </pre></div></div><p><br class="figure-break"> - </p><div class="figure"><a name="id326000"></a><p class="title"><b>Figure�2.�Example of finding out mechanisms then picking one</b></p><div class="figure-contents"><pre class="programlisting"> + </p><div class="figure"><a name="id338630"></a><p class="title"><b>Figure�2.�Example of finding out mechanisms then picking one</b></p><div class="figure-contents"><pre class="programlisting"> C: AUTH S: REJECTED KERBEROS_V4 SKEY C: AUTH SKEY 7ab83f32ee @@ -856,14 +856,14 @@ S: OK 1234deadbeef C: BEGIN </pre></div></div><p><br class="figure-break"> - </p><div class="figure"><a name="id326016"></a><p class="title"><b>Figure�3.�Example of client sends unknown command then falls back to regular auth</b></p><div class="figure-contents"><pre class="programlisting"> + </p><div class="figure"><a name="id338646"></a><p class="title"><b>Figure�3.�Example of client sends unknown command then falls back to regular auth</b></p><div class="figure-contents"><pre class="programlisting"> C: FOOBAR S: ERROR C: AUTH MAGIC_COOKIE 3736343435313230333039 S: OK 1234deadbeef C: BEGIN </pre></div></div><p><br class="figure-break"> - </p><div class="figure"><a name="id326032"></a><p class="title"><b>Figure�4.�Example of server doesn't support initial auth mechanism</b></p><div class="figure-contents"><pre class="programlisting"> + </p><div class="figure"><a name="id338661"></a><p class="title"><b>Figure�4.�Example of server doesn't support initial auth mechanism</b></p><div class="figure-contents"><pre class="programlisting"> C: AUTH MAGIC_COOKIE 3736343435313230333039 S: REJECTED KERBEROS_V4 SKEY C: AUTH SKEY 7ab83f32ee @@ -872,7 +872,7 @@ S: OK 1234deadbeef C: BEGIN </pre></div></div><p><br class="figure-break"> - </p><div class="figure"><a name="id326049"></a><p class="title"><b>Figure�5.�Example of wrong password or the like followed by successful retry</b></p><div class="figure-contents"><pre class="programlisting"> + </p><div class="figure"><a name="id338678"></a><p class="title"><b>Figure�5.�Example of wrong password or the like followed by successful retry</b></p><div class="figure-contents"><pre class="programlisting"> C: AUTH MAGIC_COOKIE 3736343435313230333039 S: REJECTED KERBEROS_V4 SKEY C: AUTH SKEY 7ab83f32ee @@ -885,7 +885,7 @@ S: OK 1234deadbeef C: BEGIN </pre></div></div><p><br class="figure-break"> - </p><div class="figure"><a name="id326067"></a><p class="title"><b>Figure�6.�Example of skey cancelled and restarted</b></p><div class="figure-contents"><pre class="programlisting"> + </p><div class="figure"><a name="id338696"></a><p class="title"><b>Figure�6.�Example of skey cancelled and restarted</b></p><div class="figure-contents"><pre class="programlisting"> C: AUTH MAGIC_COOKIE 3736343435313230333039 S: REJECTED KERBEROS_V4 SKEY C: AUTH SKEY 7ab83f32ee @@ -1163,7 +1163,7 @@ fails, the lock fails. Servers should retry for a reasonable period of time, then they may choose to delete an existing lock to keep users from having to manually delete a stale - lock. <sup>[<a name="id283976" href="#ftn.id283976" class="footnote">1</a>]</sup> + lock. <sup>[<a name="id296370" href="#ftn.id296370" class="footnote">1</a>]</sup> </p></li><li><p> Once the lockfile has been created, the server loads the cookie file. It should then delete any cookies that are old (the @@ -1743,7 +1743,7 @@ must be namespaced using the same mechanism as messages and service names. - </p><div class="figure"><a name="id328572"></a><p class="title"><b>Figure�7.�Example service description file</b></p><div class="figure-contents"><pre class="programlisting"> + </p><div class="figure"><a name="id341201"></a><p class="title"><b>Figure�7.�Example service description file</b></p><div class="figure-contents"><pre class="programlisting"> # Sample service description file [D-BUS Service] Names=org.freedesktop.ConfigurationDatabase;org.gnome.GConf; @@ -1826,7 +1826,7 @@ variable. If that variable is not set, applications should try to connect to the well-known address <code class="literal">unix:path=/var/run/dbus/system_bus_socket</code>. - <sup>[<a name="id328916" href="#ftn.id328916" class="footnote">2</a>]</sup> + <sup>[<a name="id341546" href="#ftn.id341546" class="footnote">2</a>]</sup> </p><p> [FIXME specify location of system bus .service files] </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="message-bus-messages"></a>Message Bus Messages</h3></div></div></div><p> @@ -1993,7 +1993,7 @@ There is also a per-machine ID, described in <a class="xref" href="#standard-interfaces-peer" title="org.freedesktop.DBus.Peer">the section called “<code class="literal">org.freedesktop.DBus.Peer</code>”</a> and returned by org.freedesktop.DBus.Peer.GetMachineId(). For a desktop session bus, the bus ID can be used as a way to uniquely identify a user's session. - </p></div></div></div><div class="glossary"><div class="titlepage"><div><div><h2 class="title"><a name="id330172"></a>Glossary</h2></div></div></div><p> + </p></div></div></div><div class="glossary"><div class="titlepage"><div><div><h2 class="title"><a name="id342801"></a>Glossary</h2></div></div></div><p> This glossary defines some of the terms used in this specification. </p><dl><dt><a name="term-bus-name"></a>Bus Name</dt><dd><p> The message bus maintains an association between names and @@ -2067,10 +2067,10 @@ message bus. This name will never change owner, and will be unique (never reused during the lifetime of the message bus). It will begin with a ':' character. - </p></dd></dl></div><div class="footnotes"><br><hr width="100" align="left"><div class="footnote"><p><sup>[<a name="ftn.id283976" href="#id283976" class="para">1</a>] </sup>Lockfiles are used instead of real file + </p></dd></dl></div><div class="footnotes"><br><hr width="100" align="left"><div class="footnote"><p><sup>[<a name="ftn.id296370" href="#id296370" class="para">1</a>] </sup>Lockfiles are used instead of real file locking <code class="literal">fcntl()</code> because real locking implementations are still flaky on network - filesystems.</p></div><div class="footnote"><p><sup>[<a name="ftn.id328916" href="#id328916" class="para">2</a>] </sup> + filesystems.</p></div><div class="footnote"><p><sup>[<a name="ftn.id341546" href="#id341546" class="para">2</a>] </sup> The D-Bus reference implementation actually honors the <code class="literal">$(localstatedir)</code> configure option for this address, on both client and server side. diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/dbus-1.2.3/doc/dbus-test-plan.html new/dbus-1.2.4/doc/dbus-test-plan.html --- old/dbus-1.2.3/doc/dbus-test-plan.html 2008-08-06 21:38:36.000000000 +0200 +++ new/dbus-1.2.4/doc/dbus-test-plan.html 2008-08-08 20:54:51.000000000 +0200 @@ -38,7 +38,7 @@ Message Builder. The message builder can take a serialized message in string-form and convert it into a raw character string which can then be loaded by the message loader. - </p><div class="figure"><a name="id456836"></a><p class="title"><b>Figure�1.�Example of a message in string form</b></p><div class="figure-contents"><pre class="programlisting"> + </p><div class="figure"><a name="id356952"></a><p class="title"><b>Figure�1.�Example of a message in string form</b></p><div class="figure-contents"><pre class="programlisting"> # Standard org.freedesktop.DBus.Hello message VALID_HEADER @@ -75,7 +75,7 @@ can read authentication sequences from a file and play them back to a dummy server and client to make sure that authentication is working according to the specification. - </p><div class="figure"><a name="id457252"></a><p class="title"><b>Figure�2.�Example of an authentication script</b></p><div class="figure-contents"><pre class="programlisting"> + </p><div class="figure"><a name="id360333"></a><p class="title"><b>Figure�2.�Example of an authentication script</b></p><div class="figure-contents"><pre class="programlisting"> ## this tests a successful auth of type EXTERNAL SERVER diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/dbus-1.2.3/test/data/invalid-service-files-system/org.freedesktop.DBus.TestSuiteNoService.service new/dbus-1.2.4/test/data/invalid-service-files-system/org.freedesktop.DBus.TestSuiteNoService.service --- old/dbus-1.2.3/test/data/invalid-service-files-system/org.freedesktop.DBus.TestSuiteNoService.service 2008-08-06 21:53:10.000000000 +0200 +++ new/dbus-1.2.4/test/data/invalid-service-files-system/org.freedesktop.DBus.TestSuiteNoService.service 2008-10-06 23:51:05.000000000 +0200 @@ -1,4 +1,4 @@ [D-BUS Service] -Exec=/src/jhbuild/checkout/dbus.whatever/test/test-service +Exec=/src/jhbuild/checkout/dbus/test/test-service User=anyrandomuser diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/dbus-1.2.3/test/data/invalid-service-files-system/org.freedesktop.DBus.TestSuiteNoUser.service new/dbus-1.2.4/test/data/invalid-service-files-system/org.freedesktop.DBus.TestSuiteNoUser.service --- old/dbus-1.2.3/test/data/invalid-service-files-system/org.freedesktop.DBus.TestSuiteNoUser.service 2008-08-06 21:53:10.000000000 +0200 +++ new/dbus-1.2.4/test/data/invalid-service-files-system/org.freedesktop.DBus.TestSuiteNoUser.service 2008-10-06 23:51:05.000000000 +0200 @@ -1,4 +1,4 @@ [D-BUS Service] Name=org.freedesktop.DBus.TestSuiteNoUser -Exec=/src/jhbuild/checkout/dbus.whatever/test/test-service +Exec=/src/jhbuild/checkout/dbus/test/test-service diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/dbus-1.2.3/test/data/valid-config-files/debug-allow-all.conf new/dbus-1.2.4/test/data/valid-config-files/debug-allow-all.conf --- old/dbus-1.2.3/test/data/valid-config-files/debug-allow-all.conf 2008-08-06 21:53:10.000000000 +0200 +++ new/dbus-1.2.4/test/data/valid-config-files/debug-allow-all.conf 2008-10-06 23:51:05.000000000 +0200 @@ -5,7 +5,7 @@ <busconfig> <listen>debug-pipe:name=test-server</listen> <listen>unix:tmpdir=/tmp</listen> - <servicedir>/src/jhbuild/checkout/dbus.whatever/test/data/valid-service-files</servicedir> + <servicedir>/src/jhbuild/checkout/dbus/test/data/valid-service-files</servicedir> <policy context="default"> <allow send_interface="*"/> <allow receive_interface="*"/> diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/dbus-1.2.3/test/data/valid-config-files/debug-allow-all-sha1.conf new/dbus-1.2.4/test/data/valid-config-files/debug-allow-all-sha1.conf --- old/dbus-1.2.3/test/data/valid-config-files/debug-allow-all-sha1.conf 2008-08-06 21:53:10.000000000 +0200 +++ new/dbus-1.2.4/test/data/valid-config-files/debug-allow-all-sha1.conf 2008-10-06 23:51:05.000000000 +0200 @@ -5,7 +5,7 @@ <busconfig> <listen>debug-pipe:name=test-server</listen> <listen>unix:tmpdir=/tmp</listen> - <servicedir>/src/jhbuild/checkout/dbus.whatever/test/data/valid-service-files</servicedir> + <servicedir>/src/jhbuild/checkout/dbus/test/data/valid-service-files</servicedir> <auth>DBUS_COOKIE_SHA1</auth> <policy context="default"> <allow send_interface="*"/> diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/dbus-1.2.3/test/data/valid-config-files-system/debug-allow-all-fail.conf new/dbus-1.2.4/test/data/valid-config-files-system/debug-allow-all-fail.conf --- old/dbus-1.2.3/test/data/valid-config-files-system/debug-allow-all-fail.conf 2008-08-06 21:53:10.000000000 +0200 +++ new/dbus-1.2.4/test/data/valid-config-files-system/debug-allow-all-fail.conf 2008-10-06 23:51:05.000000000 +0200 @@ -6,8 +6,8 @@ <listen>debug-pipe:name=test-server</listen> <listen>unix:tmpdir=/tmp</listen> <type>system</type> - <servicehelper>/src/jhbuild/checkout/dbus.whatever/bus/dbus-daemon-launch-helper-test</servicehelper> - <servicedir>/src/jhbuild/checkout/dbus.whatever/test/data/invalid-service-files-system</servicedir> + <servicehelper>/src/jhbuild/checkout/dbus/bus/dbus-daemon-launch-helper-test</servicehelper> + <servicedir>/src/jhbuild/checkout/dbus/test/data/invalid-service-files-system</servicedir> <policy context="default"> <allow send_interface="*"/> <allow receive_interface="*"/> diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/dbus-1.2.3/test/data/valid-config-files-system/debug-allow-all-pass.conf new/dbus-1.2.4/test/data/valid-config-files-system/debug-allow-all-pass.conf --- old/dbus-1.2.3/test/data/valid-config-files-system/debug-allow-all-pass.conf 2008-08-06 21:53:10.000000000 +0200 +++ new/dbus-1.2.4/test/data/valid-config-files-system/debug-allow-all-pass.conf 2008-10-06 23:51:05.000000000 +0200 @@ -6,8 +6,8 @@ <listen>debug-pipe:name=test-server</listen> <listen>unix:tmpdir=/tmp</listen> <type>system</type> - <servicehelper>/src/jhbuild/checkout/dbus.whatever/bus/dbus-daemon-launch-helper-test</servicehelper> - <servicedir>/src/jhbuild/checkout/dbus.whatever/test/data/valid-service-files-system</servicedir> + <servicehelper>/src/jhbuild/checkout/dbus/bus/dbus-daemon-launch-helper-test</servicehelper> + <servicedir>/src/jhbuild/checkout/dbus/test/data/valid-service-files-system</servicedir> <policy context="default"> <allow send_interface="*"/> <allow receive_interface="*"/> diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/dbus-1.2.3/test/data/valid-service-files/org.freedesktop.DBus.TestSuiteEchoService.service new/dbus-1.2.4/test/data/valid-service-files/org.freedesktop.DBus.TestSuiteEchoService.service --- old/dbus-1.2.3/test/data/valid-service-files/org.freedesktop.DBus.TestSuiteEchoService.service 2008-08-06 21:53:10.000000000 +0200 +++ new/dbus-1.2.4/test/data/valid-service-files/org.freedesktop.DBus.TestSuiteEchoService.service 2008-10-06 23:51:05.000000000 +0200 @@ -1,4 +1,4 @@ [D-BUS Service] Name=org.freedesktop.DBus.TestSuiteEchoService -Exec=/src/jhbuild/checkout/dbus.whatever/test/test-service +Exec=/src/jhbuild/checkout/dbus/test/test-service diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/dbus-1.2.3/test/data/valid-service-files/org.freedesktop.DBus.TestSuite.PrivServer.service new/dbus-1.2.4/test/data/valid-service-files/org.freedesktop.DBus.TestSuite.PrivServer.service --- old/dbus-1.2.3/test/data/valid-service-files/org.freedesktop.DBus.TestSuite.PrivServer.service 2008-08-06 21:53:10.000000000 +0200 +++ new/dbus-1.2.4/test/data/valid-service-files/org.freedesktop.DBus.TestSuite.PrivServer.service 2008-10-06 23:51:05.000000000 +0200 @@ -1,4 +1,4 @@ [D-BUS Service] Name=org.freedesktop.DBus.TestSuite.PrivServer -Exec=/src/jhbuild/checkout/dbus.whatever/test/name-test/test-privserver +Exec=/src/jhbuild/checkout/dbus/test/name-test/test-privserver diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/dbus-1.2.3/test/data/valid-service-files/org.freedesktop.DBus.TestSuiteSegfaultService.service new/dbus-1.2.4/test/data/valid-service-files/org.freedesktop.DBus.TestSuiteSegfaultService.service --- old/dbus-1.2.3/test/data/valid-service-files/org.freedesktop.DBus.TestSuiteSegfaultService.service 2008-08-06 21:53:10.000000000 +0200 +++ new/dbus-1.2.4/test/data/valid-service-files/org.freedesktop.DBus.TestSuiteSegfaultService.service 2008-10-06 23:51:05.000000000 +0200 @@ -1,4 +1,4 @@ [D-BUS Service] Name=org.freedesktop.DBus.TestSuiteSegfaultService -Exec=/src/jhbuild/checkout/dbus.whatever/test/test-segfault +Exec=/src/jhbuild/checkout/dbus/test/test-segfault diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/dbus-1.2.3/test/data/valid-service-files/org.freedesktop.DBus.TestSuiteShellEchoServiceFail.service new/dbus-1.2.4/test/data/valid-service-files/org.freedesktop.DBus.TestSuiteShellEchoServiceFail.service --- old/dbus-1.2.3/test/data/valid-service-files/org.freedesktop.DBus.TestSuiteShellEchoServiceFail.service 2008-08-06 21:53:10.000000000 +0200 +++ new/dbus-1.2.4/test/data/valid-service-files/org.freedesktop.DBus.TestSuiteShellEchoServiceFail.service 2008-10-06 23:51:05.000000000 +0200 @@ -1,4 +1,4 @@ [D-BUS Service] Name=org.freedesktop.DBus.TestSuiteShellEchoServiceFail -Exec=/src/jhbuild/checkout/dbus.whatever/test/test-shell-service "this should 'fail' because of an unterminated quote +Exec=/src/jhbuild/checkout/dbus/test/test-shell-service "this should 'fail' because of an unterminated quote diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/dbus-1.2.3/test/data/valid-service-files/org.freedesktop.DBus.TestSuiteShellEchoServiceSuccess.service new/dbus-1.2.4/test/data/valid-service-files/org.freedesktop.DBus.TestSuiteShellEchoServiceSuccess.service --- old/dbus-1.2.3/test/data/valid-service-files/org.freedesktop.DBus.TestSuiteShellEchoServiceSuccess.service 2008-08-06 21:53:10.000000000 +0200 +++ new/dbus-1.2.4/test/data/valid-service-files/org.freedesktop.DBus.TestSuiteShellEchoServiceSuccess.service 2008-10-06 23:51:05.000000000 +0200 @@ -1,4 +1,4 @@ [D-BUS Service] Name=org.freedesktop.DBus.TestSuiteShellEchoServiceSuccess -Exec=/src/jhbuild/checkout/dbus.whatever/test/test-shell-service -test "that" 'we get' back --what "we put in" +Exec=/src/jhbuild/checkout/dbus/test/test-shell-service -test "that" 'we get' back --what "we put in" diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/dbus-1.2.3/test/data/valid-service-files-system/org.freedesktop.DBus.TestSuiteEchoService.service new/dbus-1.2.4/test/data/valid-service-files-system/org.freedesktop.DBus.TestSuiteEchoService.service --- old/dbus-1.2.3/test/data/valid-service-files-system/org.freedesktop.DBus.TestSuiteEchoService.service 2008-08-06 21:53:10.000000000 +0200 +++ new/dbus-1.2.4/test/data/valid-service-files-system/org.freedesktop.DBus.TestSuiteEchoService.service 2008-10-06 23:51:05.000000000 +0200 @@ -1,5 +1,5 @@ [D-BUS Service] Name=org.freedesktop.DBus.TestSuiteEchoService -Exec=/src/jhbuild/checkout/dbus.whatever/test/test-service +Exec=/src/jhbuild/checkout/dbus/test/test-service User=anyrandomuser diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/dbus-1.2.3/test/data/valid-service-files-system/org.freedesktop.DBus.TestSuiteSegfaultService.service new/dbus-1.2.4/test/data/valid-service-files-system/org.freedesktop.DBus.TestSuiteSegfaultService.service --- old/dbus-1.2.3/test/data/valid-service-files-system/org.freedesktop.DBus.TestSuiteSegfaultService.service 2008-08-06 21:53:10.000000000 +0200 +++ new/dbus-1.2.4/test/data/valid-service-files-system/org.freedesktop.DBus.TestSuiteSegfaultService.service 2008-10-06 23:51:05.000000000 +0200 @@ -1,5 +1,5 @@ [D-BUS Service] Name=org.freedesktop.DBus.TestSuiteSegfaultService -Exec=/src/jhbuild/checkout/dbus.whatever/test/test-segfault +Exec=/src/jhbuild/checkout/dbus/test/test-segfault User=anyrandomuser diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/dbus-1.2.3/test/data/valid-service-files-system/org.freedesktop.DBus.TestSuiteShellEchoServiceFail.service new/dbus-1.2.4/test/data/valid-service-files-system/org.freedesktop.DBus.TestSuiteShellEchoServiceFail.service --- old/dbus-1.2.3/test/data/valid-service-files-system/org.freedesktop.DBus.TestSuiteShellEchoServiceFail.service 2008-08-06 21:53:10.000000000 +0200 +++ new/dbus-1.2.4/test/data/valid-service-files-system/org.freedesktop.DBus.TestSuiteShellEchoServiceFail.service 2008-10-06 23:51:05.000000000 +0200 @@ -1,5 +1,5 @@ [D-BUS Service] Name=org.freedesktop.DBus.TestSuiteShellEchoServiceFail -Exec=/src/jhbuild/checkout/dbus.whatever/test/test-shell-service "this should 'fail' because of an unterminated quote +Exec=/src/jhbuild/checkout/dbus/test/test-shell-service "this should 'fail' because of an unterminated quote User=anyrandomuser diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/dbus-1.2.3/test/data/valid-service-files-system/org.freedesktop.DBus.TestSuiteShellEchoServiceSuccess.service new/dbus-1.2.4/test/data/valid-service-files-system/org.freedesktop.DBus.TestSuiteShellEchoServiceSuccess.service --- old/dbus-1.2.3/test/data/valid-service-files-system/org.freedesktop.DBus.TestSuiteShellEchoServiceSuccess.service 2008-08-06 21:53:10.000000000 +0200 +++ new/dbus-1.2.4/test/data/valid-service-files-system/org.freedesktop.DBus.TestSuiteShellEchoServiceSuccess.service 2008-10-06 23:51:05.000000000 +0200 @@ -1,5 +1,5 @@ [D-BUS Service] Name=org.freedesktop.DBus.TestSuiteShellEchoServiceSuccess -Exec=/src/jhbuild/checkout/dbus.whatever/test/test-shell-service -test "that" 'we get' back --what "we put in" +Exec=/src/jhbuild/checkout/dbus/test/test-shell-service -test "that" 'we get' back --what "we put in" User=anyrandomuser ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org