# # spec file for package dbus-1 # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: dbus-1 %define _name dbus %define _libname libdbus-1-3 Url: http://dbus.freedesktop.org/ Summary: D-Bus Message Bus System License: GPL-2.0+ or AFL-2.1 Group: System/Daemons # COMMON1-BEGIN BuildRequires: audit-devel BuildRequires: doxygen BuildRequires: libexpat-devel BuildRequires: libtool BuildRequires: pkg-config BuildRequires: update-desktop-files Version: 1.8.18 Release: 1.3 # bug437293 %ifarch ppc64 Obsoletes: dbus-1-64bit %endif # Source0: http://dbus.freedesktop.org/releases/dbus/%{_name}-%{version}.tar.gz Source1: rc.boot.dbus Source2: dbus-1.desktop Source3: dbus_at_console.ck Source4: baselibs.conf Patch0: dbus-log-deny.patch # PATCH-FIX-OPENSUSE coolo@suse.de -- force a feature configure won't accept without x11 in buildrequires Patch1: dbus-do-autolaunch.patch %if 0%{?suse_version} > 1100 %bcond_without selinux %else %bcond_with selinux %endif %if %{with selinux} BuildRequires: libselinux-devel %endif BuildRequires: libcap-ng-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build # COMMON1-END %if 0%{?suse_version} < 1230 PreReq: /sbin/insserv /etc/init.d/boot.localfs %endif PreReq: permissions /usr/sbin/groupadd /usr/sbin/useradd %package -n %{_libname} Summary: Library package for D-Bus Group: Development/Libraries/Other %package -n dbus-1-devel Summary: Developer package for D-Bus Group: Development/Libraries/Other Requires: %{_libname} = %{version} Requires: dbus-1 Requires: glibc-devel %package -n dbus-1-devel-doc Summary: Developer documentation package for D-Bus Group: Development/Libraries/Other Requires: %{name} = %{version} %if 0%{?suse_version} >= 1120 BuildArch: noarch %endif %description D-Bus is a message bus system, a simple way for applications to talk to one another. D-Bus supplies both a system daemon and a per-user-login-session daemon. Also, the message bus is built on top of a general one-to-one message passing framework, which can be used by any two apps to communicate directly (without going through the message bus daemon). %description -n %{_libname} D-Bus is a message bus system, a simple way for applications to talk to one another. D-Bus supplies both a system daemon and a per-user-login-session daemon. Also, the message bus is built on top of a general one-to-one message passing framework, which can be used by any two apps to communicate directly (without going through the message bus daemon). %description -n dbus-1-devel D-Bus is a message bus system, a simple way for applications to talk to one another. D-Bus supplies both a system daemon and a per-user-login-session daemon. Also, the message bus is built on top of a general one-to-one message passing framework, which can be used by any two apps to communicate directly (without going through the message bus daemon). %description -n dbus-1-devel-doc D-Bus is a message bus system, a simple way for applications to talk to one another. D-BUS supplies both a system daemon and a per-user-login-session daemon. Also, the message bus is built on top of a general one-to-one message passing framework, which can be used by any two apps to communicate directly (without going through the message bus daemon). %prep # COMMON2-BEGIN %setup -n %{_name}-%{version} -q %patch0 -p1 %patch1 -p1 %build echo 'HTML_TIMESTAMP=NO' >> Doxyfile.in autoreconf -fi # We use -fpie/-pie for the whole build; this is the recommended way to harden # the build upstream, see discussion in fdo#46570 export CFLAGS="${RPM_OPT_FLAGS} -fno-strict-aliasing -fPIC -fpie" export LDFLAGS="-pie" export CXXFLAGS="${RPM_OPT_FLAGS} -fno-strict-aliasing" %if 0%{?suse_version} > 1000 export CFLAGS="$CFLAGS -fstack-protector" export CXXFLAGS="$CXXFLAGS -fstack-protector" export V=1 %endif %configure \ --disable-static \ --with-pic \ --libexecdir=%{_libdir}/%{name} \ --with-init-scripts=suse \ --enable-inotify \ --enable-libaudit \ --with-system-pid-file=/run/dbus/pid \ --with-system-socket=/run/dbus/system_bus_socket \ --with-console-auth-dir=/run/dbus/at_console/ \ --disable-systemd \ --without-systemdsystemunitdir make %{?_smp_mflags} %install # COMMON2-END make DESTDIR=%{buildroot} install mkdir -p %{buildroot}/etc/init.d install -m 755 %{SOURCE1} %{buildroot}/%{_sysconfdir}/init.d/dbus install -d %{buildroot}/run/dbus mkdir -p %{buildroot}/%{_libdir}/dbus-1/system-services mkdir -p %{buildroot}/%{_datadir}/dbus-1/system-services mkdir -p %{buildroot}/%{_datadir}/dbus-1/interfaces mkdir -p %{buildroot}/%{_libdir}/dbus-1.0/include/ rm -f %{buildroot}/%{_libdir}/*.la # rm -f %{buildroot}%{_bindir}/dbus-launch rm -f %{buildroot}/%{_mandir}/man1/dbus-launch.1* chmod a-x AUTHORS COPYING HACKING NEWS README doc/*.txt doc/file-boilerplate.c doc/TODO # install -d %{buildroot}%{_sysconfdir}/ConsoleKit/run-session.d install -m 755 %{SOURCE3} %{buildroot}%{_sysconfdir}/ConsoleKit/run-session.d mkdir -p %{buildroot}%{_localstatedir}/lib/dbus touch %{buildroot}%{_localstatedir}/lib/dbus/machine-id # Link the /bin/dbus-send binary to /usr/bin/dbus-send. This should be removed once dbus has been fully migrated to /usr # Currently required to make upower work together with systemd mkdir -p %{buildroot}/usr/bin mkdir -p %{buildroot}%{_datadir}/doc/dbus-1-devel-doc %pre /usr/sbin/groupadd -r messagebus 2> /dev/null || : /usr/sbin/useradd -r -s /bin/false -c "User for D-Bus" -d /run/dbus -g messagebus messagebus 2> /dev/null || : %if 0%{?suse_version:1} %preun %{stop_on_removal dbus} %post /usr/bin/dbus-uuidgen --ensure %{insserv_force_if_yast dbus} /sbin/ldconfig if [ ! -e /var/lib/old_run_path ]; then touch /var/lib/old_run_path fi %verifyscript %verify_permissions -e /usr/lib/dbus-1/dbus-daemon-launch-helper %postun %{insserv_cleanup} /sbin/ldconfig %endif %post -n %{_libname} -p /sbin/ldconfig %postun -n %{_libname} -p /sbin/ldconfig %files %defattr(-, root, root) %dir %{_localstatedir}/lib/dbus %dir %{_libdir}/dbus-1 %dir %{_libdir}/dbus-1/system-services %doc AUTHORS COPYING HACKING NEWS README %config(noreplace) %{_sysconfdir}/dbus-1/session.conf %config(noreplace) %{_sysconfdir}/dbus-1/system.conf %{_sysconfdir}/init.d/dbus %{_sysconfdir}/ConsoleKit %{_bindir}/dbus-cleanup-sockets %{_bindir}/dbus-daemon %{_bindir}/dbus-monitor %{_bindir}/dbus-send %{_bindir}/dbus-uuidgen %{_bindir}/dbus-run-session %{_mandir}/man1/dbus-cleanup-sockets.1.* %{_mandir}/man1/dbus-daemon.1.* %{_mandir}/man1/dbus-monitor.1.* %{_mandir}/man1/dbus-send.1.* %{_mandir}/man1/dbus-uuidgen.1.* %{_mandir}/man1/dbus-run-session.1* # See doc/system-activation.txt in source tarball for the rationale # behind these permissions %attr(4750,root,messagebus) %verify(not mode) %{_libdir}/%{name}/dbus-daemon-launch-helper /run/dbus %{_localstatedir}/lib/dbus/machine-id %files -n %{_libname} %defattr(-, root, root) /%{_libdir}/libdbus-1.so.* # Own those directories in the library instead of dbus-1, since dbus users # often ship files there %dir %{_sysconfdir}/dbus-1 %dir %{_sysconfdir}/dbus-1/session.d %dir %{_sysconfdir}/dbus-1/system.d %dir %{_datadir}/dbus-1 %dir %{_datadir}/dbus-1/interfaces %dir %{_datadir}/dbus-1/services %dir %{_datadir}/dbus-1/system-services %files -n dbus-1-devel %defattr(-,root,root) %{_includedir}/* %{_libdir}/libdbus-1.so %dir %{_libdir}/dbus-1.0 %{_libdir}/dbus-1.0/include %{_libdir}/pkgconfig/dbus-1.pc %files -n dbus-1-devel-doc %defattr(-,root,root) %dir %{_datadir}/doc/dbus %{_datadir}/doc/dbus/api/ %doc %{_datadir}/doc/dbus/diagram.* %doc %{_datadir}/doc/dbus/system-activation.txt %doc doc/*.txt doc/file-boilerplate.c doc/TODO %doc %{_datadir}/doc/dbus/dbus-* %doc %{_datadir}/doc/dbus/dbus.devhelp %changelog * Mon May 18 2015 fstrba@suse.com - Update to 1.8.18: * Security hardening: - On Unix platforms, change the default configuration for the session bus to only allow EXTERNAL authentication (secure kernel-mediated credentials-passing), as was already done for the system bus. This avoids falling back to DBUS_COOKIE_SHA1, which relies on strongly unpredictable pseudo-random numbers; under certain circumstances (/dev/urandom unreadable or malloc() returns NULL), dbus could fall back to using rand(), which does not have the desired unpredictability. The fallback to rand() has not been changed in this stable-branch since the necessary code changes for correct error-handling are rather intrusive. If you are using D-Bus over the (unencrypted!) tcp: or nonce-tcp: transport, in conjunction with DBUS_COOKIE_SHA1 and a shared home directory using NFS or similar, you will need to reconfigure the session bus to accept DBUS_COOKIE_SHA1 by commenting out the element. This configuration is not recommended. (bsc#931066, fdo#90414, Simon McVittie) * Other fixes: - Add locking to DBusCounter's reference count and notify function (fdo#89297, Adrian Szyndela) - Ensure that DBusTransport's reference count is protected by the corresponding DBusConnection's lock (fdo#90312, Adrian Szyndela) - On Windows, listen on the same port for IPv4 and IPv6 (previously broken by an endianness mistake), and fix a failure to bind TCP sockets on approximately 1 attempt in 256 (fdo#87999, Ralf Habacker) - Correctly release DBusServer mutex before early-return if we run out of memory while copying authentication mechanisms (fdo#90021, Ralf Habacker) - Correctly initialize all fields of DBusTypeReader (fdo#90021, Ralf Habacker, Simon McVittie) - Fix some missing \n in verbose (debug log) messages (fdo#90021, Ralf Habacker) - Clean up some memory leaks in test code (fdo#90021, Ralf Habacker) * Thu Mar 26 2015 fstrba@suse.com - Sync changes from SLE12 conditionalized for suse_version <= 1315 * Mon Feb 9 2015 fstrba@suse.com - Update to 1.8.16: * Security fixes: - Do not allow non-uid-0 processes to send forged ActivationFailure messages. On Linux systems with systemd activation, this would allow a local denial of service: unprivileged processes could flood the bus with these forged messages, winning the race with the actual service activation and causing an error reply to be sent back when service auto-activation was requested. This does not prevent the real service from being started, so it only works while the real service is not running. (CVE-2015-0245, fdo#88811, bnc#916343; Simon McVittie) * Other fixes: - fix a Windows build failure (fdo#88009, Ralf Habacker) - on Windows, allow up to 8K connections to the dbus-daemon instead of the previous 64, completing a previous fix which only worked under Autotools (fdo#71297, Ralf Habacker) * Tue Jan 6 2015 fstrba@suse.com - Update to 1.8.14 * Security hardening: - Do not allow calls to UpdateActivationEnvironment from uids other than the uid of the dbus-daemon. If a system service installs unsafe security policy rules that allow arbitrary method calls (such as CVE-2014-8148) then this prevents memory consumption and possible privilege escalation via UpdateActivationEnvironment. We believe that in practice, privilege escalation here is avoided by dbus-daemon-launch-helper sanitizing its environment; but it seems better to be safe. - Do not allow calls to UpdateActivationEnvironment or the Stats interface on object paths other than /org/freedesktop/DBus. Some system services install unsafe security policy rules that allow arbitrary method calls to any destination, method and interface with a specified object path; while less bad than allowing arbitrary method calls, these security policies are still harmful, since dbus-daemon normally offers the same API on all object paths and other system services might behave similarly. * Other fixes: - Add missing initialization so GetExtendedTcpTable doesn't crash on Windows Vista SP0 (fdo#77008, Ilya A. Tkachenko) * Tue Nov 25 2014 fstrba@suse.com - Update to 1.8.12: * Fixes: - Partially revert the CVE-2014-3639 patch by increasing the default authentication timeout on the system bus from 5 seconds back to 30 seconds, since this has been reported to cause boot regressions for some users, mostly with parallel boot (systemd) on slower hardware. On fast systems where local users are considered particularly hostile, administrators can return to the 5 second timeout (or any other value in milliseconds) by saving this as /etc/dbus-1/system-local.conf: 5000 (fdo#86431, Simon McVittie) - Add a message in syslog/the Journal when the auth_timeout is exceeded (fdo#86431, Simon McVittie) - Send back an AccessDenied error if the addressed recipient is not allowed to receive a message (and in builds with assertions enabled, don't assert under the same conditions). (fdo#86194, Jacek Bukarewicz) * Mon Nov 10 2014 fstrba@suse.com - Update to 1.8.10: * Security fixes: - Increase dbus-daemon's RLIMIT_NOFILE rlimit to 65536 so that CVE-2014-3636 part A cannot exhaust the system bus' file descriptors, completing the incomplete fix in 1.8.8. (CVE-2014-7824, fd.o #85105; Simon McVittie, Alban Crequy) * Tue Sep 30 2014 fstrba@suse.com - Reformat the spec file using spec-cleaner * Thu Sep 18 2014 fstrba@suse.com - Update baselibs.conf: Provides dbus-1-32bit in lib package * Tue Sep 16 2014 fstrba@suse.com - Update to 1.8.8: + Security fixes: - Do not accept an extra fd in the padding of a cmsg message, which could lead to a 4-byte heap buffer overrun. (CVE-2014-3635, fdo#83622, bnc#896453; Simon McVittie) - Reduce default for maximum Unix file descriptors passed per message from 1024 to 16, preventing a uid with the default maximum number of connections from exhausting the system bus' file descriptors under Linux's default rlimit. Distributors or system administrators with a more restrictive fd limit may wish to reduce these limits further. Additionally, on Linux this prevents a second denial of service in which the dbus-daemon can be made to exceed the maximum number of fds per sendmsg() and disconnect the process that would have received them. (CVE-2014-3636, fdo#82820, bnc#896453; Alban Crequy) - Disconnect connections that still have a fd pending unmarshalling after a new configurable limit, pending_fd_timeout (defaulting to 150 seconds), removing the possibility of creating an abusive connection that cannot be disconnected by setting up a circular reference to a connection's file descriptor. (CVE-2014-3637, fdo#80559, bnc#896453; Alban Crequy) - Reduce default for maximum pending replies per connection from 8192 to 128, mitigating an algorithmic complexity denial-of-service attack (CVE-2014-3638, fdo#81053, bnc#896453; Alban Crequy) - Reduce default for authentication timeout on the system bus from 30 seconds to 5 seconds, avoiding denial of service by using up all unauthenticated connection slots; and when all unauthenticated connection slots are used up, make new connection attempts block instead of disconnecting them. (CVE-2014-3639, fdo#80919, bnc#896453; Alban Crequy) + Other fixes: - Check for libsystemd from systemd >= 209, falling back to the older separate libraries if not found (Umut Tezduyar Lindskog, Simon McVittie) - On Linux, use prctl() to disable core dumps from a test executable that deliberately raises SIGSEGV to test dbus-daemon's handling of that condition (fdo#83772, Simon McVittie) - Fix compilation with --enable-stats (fdo#81043, Gentoo #507232; Alban Crequy) - Improve documentation for running tests on Windows (fdo#41252, Ralf Habacker) * Sat Jul 19 2014 crrodriguez@opensuse.org - Remove all remains of sysvinit compatibility. - Do not force-fed -fstack-protector in CFLAGS, already there and obsoleted by stack-protector-strong in gcc 4.9. - Ensure doxygen never generates timestampted html docs. * Thu Jul 10 2014 fcrozat@suse.com - Update baselibs.conf: Obsoletes dbus-1-32bit in lib package. * Wed Jul 2 2014 fstrba@suse.com - CVE-2014-3532.patch: Add patch for CVE-2014-3532 to fix a denial of service attack (fdo#80163, bnc#885241) * Upstream provided patch by Alban Crequy * Wed Jul 2 2014 fstrba@suse.com - CVE-2014-3533.patch: Add patch for CVE-2014-3533 to fix local denial of service (force system services to exit) (fdo#80469, bnc#885241) * Upstream provided patch by Simon McVittie * Mon Nov 25 2013 hrvoje.senjan@gmail.com - Added 0001-_dbus_babysitter_unref-avoid-infinite-loop-if-waitpi.patch from upstream for resolving fdo#68945, bnc#782909 * Fri Oct 4 2013 hrvoje.senjan@gmail.com - Create /var/lib/old_run_path file in dbus %%post, for we can fix the upgrade path from 12.3 -> 13.1 (bnc#802525) * Sun Jun 23 2013 hrvoje.senjan@gmail.com - Added CVE-2013-2168.patch, fixes referenced vulnerability (bnc#824607) * Mon Feb 18 2013 rmilasan@suse.com - Revert patch: dbus-move-everything-to-run-directory.patch (bnc#802525). * Thu Jan 24 2013 rmilasan@suse.com - Move everything (pid files, lock files, etc.) to /run. add: dbus-move-everything-to-run-directory.patch * Sun Nov 18 2012 hrvoje.senjan@gmail.com - Update to 1.6.8 - remove patch dbus-cve-2012-3524.patch as incorporated upstream Changes since 1.5.12 • Follow up to CVE-2012-3524: The additional hardening work to use __secure_getenv() as a followup to bug #52202 broke certain configurations of gnome-keyring. Given the difficulty of making this work without extensive changes to gnome-keyring, use of __secure_getenv() is deferred. • CVE-2012-3524: Don't access environment variables (fd.o #52202) Thanks to work and input from Colin Walters, Simon McVittie, Geoffrey Thomas, and others. • Detect that users are "at the console" correctly when configured with a non-default path such as --enable-console-auth-dir=/run/console (fd.o #51521, Dave Reisner) • Remove an incorrect assertion from DBusTransport (fd.o #51657, Simon McVittie) • Change how we create /var/lib/dbus so it works under Automake >= 1.11.4 (fd.o #51406, Simon McVittie) • Don't return from dbus_pending_call_set_notify with a lock held on OOM (fd.o #51032, Simon McVittie) • Disconnect "developer mode" (assertions, verbose mode etc.) from Automake maintainer mode. D-Bus developers should now configure with - -enable-developer. Automake maintainer mode is now on by default; distributions can disable it with --disable-maintainer-mode. (fd.o #34671, Simon McVittie) • Unix-specific: · Check for libpthread under CMake on Unix (fd.o #47237, Simon McVittie) • New requirements · PTHREAD_MUTEX_RECURSIVE on Unix · compiler support for 64-bit integers (int64_t or equivalent) • D-Bus Specification v0.19 • New dbus-daemon features · rules allow the service to own names like com.example.Service.Instance3 · optional systemd integration when checking at_console policies · --nopidfile option, mainly for use by systemd · path_namespace and arg0namespace may appear in match rules · eavesdropping is disabled unless the match rule contains eavesdrop=true • New public API · functions to validate various string types (dbus_validate_path() etc.) · dbus_type_is_valid() · DBusBasicValue, a union of every basic type • Bug fixes · removed an unsafe reimplementation of recursive mutexes · dbus-daemon no longer busy-loops if it has far too many file descriptors · dbus-daemon.exe --print-address works on Windows · all the other bug fixes from 1.4.20 • Other major implementation changes · on Linux, dbus-daemon uses epoll if supported, for better scalability · dbus_threads_init() ignores its argument and behaves like dbus_threads_init_default() instead · removed the per-connection link cache, improving dbus-daemon performance • Developer features · optional Valgrind instrumentation (--with-valgrind) · optional Stats interface on the dbus-daemon (--enable-stats) · optionally abort whenever malloc() fails (--enable-embedded-tests and export DBUS_MALLOC_CANNOT_FAIL=1) • Be more careful about monotonic time vs. real time, fixing DBUS_COOKIE_SHA1 spec-compliance (fd.o #48580, David Zeuthen) • Don't use install(1) within the source/build trees, fixing the build as non-root when using OpenBSD install(1) (fd.o #48217, Antoine Jacoutot) • Add missing commas in some tcp and nonce-tcp addresses, and remove an unused duplicate copy of the nonce-tcp transport in Windows builds (fd.o #45896, Simon McVittie) * Fri Nov 16 2012 dimstar@opensuse.org - Enable systemd integration (with_systemd 1): follow the rest of the distribution enabling systemd support. As agreed, systemd is the main supported way for 12.3. * Fri Nov 16 2012 fcrozat@suse.com - Move default home from /var/run/dbus to /run/dbus - Fix useradd invocation: -o is useless without -u and newer versions of pwdutils/shadowutils fail on this now. * Thu Nov 8 2012 tittiatcoke@gmail.com - Link /usr/bin/dbus-send to /bin/dbus-send. Upower uses dbus-send to receive signals from systemd regarding resuming, however looks for the moment in the wrong directory. * Sat Nov 3 2012 crrodriguez@opensuse.org - Fix factory breakage on systemd units directory * Fri Oct 26 2012 coolo@suse.com - remove sysvinit requires from the package - remove %%run_permissions macro * Wed Oct 24 2012 jengelh@inai.de - baselibs: dbus-1-devel-32bit must require libdbus-1-3-32bit * Sun Oct 7 2012 coolo@suse.com - remove libzio build dependency * Mon Aug 27 2012 thoenig@suse.de - dbus-cve-2012-3524.patch: Add patch for CVE-2012-3524 to fix getenv() vulnerability in setuid root binaries (bnc#697105) * Wed Aug 1 2012 idonmez@suse.com - Add pkgconfig(x11) as BuildRequires instead of xorg-x11-devel so we don't depend on Mesa and create a build cycle. * Tue May 15 2012 vuntz@opensuse.org - Move ownership of /etc/dbus-1/{session.d,system.d} and /usr/share/dbus-1/{interfaces,services,system-services} to libdbus-1-3 instead of dbus-1: many dbus users put files there, and it's annoying to force them to own those directories. * Sun Apr 22 2012 alinm.elena@gmail.com - added libdbus-1-3 to build for -32bit... - adeed post and postun sections for libdbus-1-3 * Thu Apr 19 2012 thoenig@suse.de - More news from the dependency hell: Let dbus-1-devel require dbus-1. * Wed Apr 18 2012 thoenig@suse.de - Split dbus-1 into libdbus-1 and dbus-1. * Wed Mar 28 2012 thoenig@suse.de - Update to version 1.5.12: - Add public API to validate various string types: dbus_validate_path(), dbus_validate_interface(), dbus_validate_member(), dbus_validate_error_name(), dbus_validate_bus_name(), dbus_validate_utf8() (fd.o #39549, Simon McVittie) - Turn DBusBasicValue into public API so bindings don't need to invent their own "union of everything" type (fd.o #11191, Simon McVittie) - Enumerate data files included in the build rather than using find(1) (fd.o #33840, Simon McVittie) - Add support for policy rules like in dbus-daemon (fd.o #46273, Alban Crequy) - Windows-specific: - make dbus-daemon.exe --print-address (and --print-pid) work again on Win32, but not on WinCE (fd.o #46049, Simon McVittie) - fix duplicate case value when compiling against mingw-w64 (fd.o #47321, Andoni Morales Alastruey) * Mon Feb 27 2012 vuntz@opensuse.org - Revert my last change completely, and go back to using -fpie in CFLAGS and -pie in LDFLAGS for the whole build: after discussion upstream in fdo#46570, it appears that this is the recommended way to harden the build. * Fri Feb 24 2012 vuntz@opensuse.org - Change the way we pass -fpie/-pie: + Stop changing CFLAGS/LDFLAGS in %%build to add -fpie/-pie. + Add dbus-1-suid_flags.patch: respect SUID_CFLAGS/SUID_LDFLAGS when building the suid binary (dbus-daemon-launch-helper). + Set SUID_CFLAGS to -fPIE and SUID_LDFLAGS to -pie in %%build. * Fri Feb 24 2012 coolo@suse.com - move with_systemd definition into COMMON part to fix dbus-1-x11 * Wed Feb 22 2012 vuntz@opensuse.org - Update to version 1.5.10: + D-Bus Specification 0.19: - Formally define unique connection names and well-known bus names, and document best practices for interface, bus, member and error names, and object paths (fdo#37095) - Document the search path for session and system services on Unix, and where they should be installed by build systems (fdo#21620, fdo#35306) - Document the systemd transport (fdo#35232) + Make dbus_threads_init() use the same built-in threading implementation as dbus_threads_init_default(); the user-specified primitives that it takes as a parameter are now ignored (fdo#43744) + Allow all configured auth mechanisms, not just one (fdo#45106) + Improve cmake build system. + Build tests successfully with older GLib, as found in e.g. Debian 6 (fdo#41219) + Avoid use of deprecated GThread API (fdo#44413) + Build documentation correctly if man2html doesn't support filenames on its command-line (fdo#43875) + Improve test coverage. To get even more coverage, run the tests with DBUS_TEST_SLOW=1 (fdo#38285, fdo#42811) + Reduce the size of the shared library by moving functionality only used by dbus-daemon, tests etc. into their internal library and deleting unused code (fdo#34976, fdo#39759) + Add dbus-daemon --nopidfile option, overriding the configuration, for setups where the default configuration must include to avoid breaking traditional init, but the pid file is in fact unnecessary; use it under systemd to improve startup time a bit (fdo#45520) + Optionally (if configured --with-valgrind) add instrumentation to debug libdbus and associated tools more meaningfully under Valgrind (fdo#37286) + Improve the dbus-send(1) man page (fdo#14005) + Make dbus-protocol.h compatible with C++11 (fdo#46147) + If tests are enabled and DBUS_MALLOC_CANNOT_FAIL is set in the environment, abort on failure to malloc() (like GLib does), to turn runaway memory leaks into a debuggable core-dump if a resource limit is applied (fdo#41048) + Don't crash if realloc() returns NULL in a debug build (fdo#41048) + Unix-specific: - Replace our broken reimplementation of recursive mutexes, which has been broken since 2006, with an ordinary pthreads recursive mutex (fdo#43744) - Use epoll(7) for a more efficient main loop in Linux; equivalent patches welcomed for other OSs' equivalents like kqueue, /dev/poll, or Solaris event ports (fdo#33337) - When running under systemd, use it instead of ConsoleKit to check whether to apply at_console policies (fdo#39609) - Avoid a highly unlikely fd leak (fdo#29881) - Don't close invalid fd -1 if getaddrinfo fails (fdo#37258)   - Don't touch ~/.dbus and ~/.dbus-keyrings when running 'make installcheck' (fdo#41218) - Stop pretending we respect XDG_DATA_DIRS for system services: the launch helper doesn't obey environment variables to avoid privilege escalation attacks, so make the system bus follow the same rules (fdo#21620) + Windows-specific fixes. - Get ready for a switch to systemd: + Add a with_systemd macro, currently set to 0 as the systemd support would introduce a build cycle between dbus-1 and systemd. + Add pkgconfig(libsystemd-daemon) and pkgconfig(libsystemd-login) BuildRequires and pass - -enable-systemd to configure if we build systemd support. * Mon Feb 6 2012 dlovasko@suse.com - fixed bnc#743149 - added position independent flags to compilation and linking(-fpie/-pie) * Wed Oct 12 2011 coolo@suse.com - add patch to enable X11 autolaunch even if configure thinks it can't be done (bnc#707817) * Tue Oct 11 2011 dmueller@suse.de - update to version 1.5.8: * Clean up dead code, and make more warnings fatal in development builds (fd.o #39231, fd.o #41012; Simon McVittie) * Add a regression test for fd.o #38005 (fd.o #39836, Simon McVittie) * Add _DBUS_STATIC_ASSERT and use it to check invariants * Fix a small memory leak, and a failure to report errors, when updating a service file entry for activation (fd.o #39230, Simon McVittie) * Clean up (non-abstract) Unix sockets on bus daemon exit * On systems that use libcap-ng but not systemd, drop supplemental groups when switching to the daemon user (Red Hat #726953, Steve Grubb) * Fri Sep 30 2011 coolo@suse.com - add libtool as buildrequire to make the spec file more reliable * Sun Sep 18 2011 jengelh@medozas.de - Remove redundant tags/sections from specfile (cf. packaging guidelines) * Mon Aug 1 2011 vuntz@opensuse.org - Update to version 1.5.6: + Potentially incompatible (Bustle and similar debugging tools will need changes to work as intended): - Do not allow match rules to "eavesdrop" (receive messages intended for a different recipient) by mistake: eavesdroppers must now opt-in to this behaviour by putting "eavesdrop='true'" in the match rule, which will not have any practical effect on buses where eavesdropping is not allowed (fdo#37890) + Other changes: - D-Bus Specification version 0.18 (fdo#37890, fdo#39450, fdo#38252): . add the "eavesdrop" keyword to match rules . define eavesdropping, unicast messages and broadcast messages . stop claiming that match rules are needed to match unicast messages to you . promote the type system to be a top-level section - Use DBUS_ERROR_OBJECT_PATH_IN_USE if dbus_connection_try_register_object_path or dbus_connection_try_register_fallback fails, not ...ADDRESS_IN_USE, and simplify object-path registration (fdo#38874) - Consistently use atomic operations on everything that is ever manipulated via atomic ops, as was done for changes to DBusConnection's refcount in 1.4.12 (fdo#38005) - Fix a file descriptor leak when connecting to a TCP socket (fdo#37258) - Make "make check" in a clean tree work, by not running tests until test data has been set up (fdo#34405) - The dbus-daemon no longer busy-loops if it has a very large number of file descriptors (fdo#23194) - Refactor message flow through dispatching to avoid locking violations if the bus daemon's message limit is hit; remove the per-connection link cache, which was meant to improve performance, but now reduces it (fdo#34393) - Some cmake fixes - Remove dead code, mainly from DBusString (fdo#38570, fdo#39610) - Stop storing two extra byte order indicators in each D-Bus message (fdo#38287) - Add an optional Stats interface which can be used to get statistics from a running dbus-daemon if enabled at configure time with --enable-stats (fdo#34040) - Fix various typos (fdo#27227, fdo#38284) - Documentation (fdo#36156): . let xsltproc be overridden as usual: ./configure XSLTPROC=myxsltproc . install more documentation automatically, including man2html output . put dbus.devhelp in the right place (it must go in ${htmldir}) - Unix-specific: . look for system services in /lib/dbus-1/system-services in addition to all the other well-known locations; note that this should always be /lib, even on platforms where shared libraries on the root FS would go in /lib64, /lib/x86_64-linux-gnu or similar (fdo#35229) . opt-in to fd passing on Solaris (fdo#33465) - Windows-specific: . fix use of a mutex for autolaunch server detection . don't crash on malloc failure in _dbus_printf_string_upper_bound - Manually create /lib/dbus-1/system-services in %%install so that we can own it. * Fri Jul 1 2011 vuntz@opensuse.org - Update to version 1.5.4: + Security (local denial of service): - Byte-swap foreign-endian messages correctly, preventing a long-standing local DoS if foreign-endian messages are relayed through the dbus-daemon (fdo#38120, deb#629938, no CVE number yet) + New things: - The constant to use for an infinite timeout now has a name, DBUS_TIMEOUT_INFINITE. - If GLib and DBus-GLib are already installed, more tests will be built, providing better coverage.(fdo#34570) + Changes: - Consistently use atomic operations for the DBusConnection's refcount, fixing potential threading problems (fdo#38005) - Don't use -Wl,--gc-sections by default: in practice the size decrease is small (300KiB on x86-64) and it frequently doesn't work in unusual toolchains. (fdo#33466) - Use #!/bin/sh for run-with-tmp-session-bus.sh, making it work on *BSD (fdo#35880) - Use ln -fs to set up dbus for systemd, which should fix reinstallation when not using a DESTDIR (fdo#37870) - Windows-specific changes: . don't try to build dbus-daemon-launch-helper (fdo#37838) - Changes from version 1.5.2: + Notes for distributors: - This version of D-Bus no longer uses -fPIE by default. + Changes: + D-Bus Specification v0.17 . Reserve the extra characters used in signatures by GVariant (fdo#34529) . Define the ObjectManager interface (fdo#34869) + Don't force -fPIE: distributions and libtool know better than we do whether it's desirable (fdo#16621, fdo#27215) + Allow --disable-gc-sections, in case your toolchain offers the -ffunction-sections, -fdata-sections and - Wl,--gc-sections options but they're broken, as seen on Solaris (fdo#33466) + Install dbus-daemon and dbus-daemon-launch-helper in a more normal way (fdo#14512) + Ensure that maintainers upload documentation with the right permissions (fdo#36130) + Don't force users of libdbus to be linked against - lpthread, -lrt (fdo#32827) + Log system-bus activation information to syslog (fdo#35705) + Log messages dropped due to quotas to syslog (fdo#35358) + Make the nonce-tcp transport work on Unix (fdo#34569) + On Unix, if /var/lib/dbus/machine-id cannot be read, try /etc/machine-id (fdo#35228) + In the regression tests, don't report fds as "leaked" if they were open on startup (fdo#35173) + Make dbus-monitor bail out if asked to monitor more than one bus, rather than silently using the last one (fdo#26548) + Clarify documentation (fdo#35182) + Clean up minor dead code and some incorrect error handling (fdo#33128, fdo#29881) + Check that compiler options are supported before using them (fdo#19681) + Windows: . Remove obsolete workaround for winioctl.h (fdo#35083) * Tue Jun 28 2011 aj@suse.de - Fix filelist to own a directory. - Do not package html files twice. * Wed May 18 2011 coolo@novell.com - buildrequire update-desktop-files for mimetypes.prov * Thu May 5 2011 coolo@opensuse.org - switch to download_files service * Wed Apr 20 2011 coolo@opensuse.org - changes license to GPL2+ or AFL 2.1 * Fri Apr 15 2011 thoenig@suse.de - Update to 1.5.0 • D-Bus Specification v0.16 · Add support for path_namespace and arg0namespace in match rules (fd.o #24317, #34870; Will Thompson, David Zeuthen, Simon McVittie) · Make argNpath support object paths, not just object-path-like strings, and document it better (fd.o #31818, Will Thompson) • Let the bus daemon implement more than one interface (fd.o #33757, Simon McVittie) • Optimize _dbus_string_replace_len to reduce waste (fd.o #21261, Roberto Guido) • Require user intervention to compile with missing 64-bit support (fd.o #35114, Simon McVittie) • Add dbus_type_is_valid as public API (fd.o #20496, Simon McVittie) • Raise UnknownObject instead of UnknownMethod for calls to methods on paths that are not part of the object tree, and UnknownInterface for calls to unknown interfaces in the bus daemon (fd.o #34527, Lennart Poettering) * Fri Apr 8 2011 thoenig@suse.de - Update to 1.4.8 • Rename configure.in to configure.ac, and update it to modern conventions (fd.o #32245; Javier Jardón, Simon McVittie) • Correctly give XDG_DATA_HOME priority over XDG_DATA_DIRS (fd.o #34496, Anders Kaseorg) • Prevent X11 autolaunching if $DISPLAY is unset or empty, and add - -disable-x11-autolaunch configure option to prevent it altogether in embedded environments (fd.o #19997, NB#219964; Simon McVittie) • Install the documentation, and an index for Devhelp (fd.o #13495, Debian #454142; Simon McVittie, Matthias Clasen) • If checks are not disabled, check validity of string-like types and booleans when sending them (fd.o #16338, NB#223152; Simon McVittie) • Add UnknownObject, UnknownInterface, UnknownProperty and PropertyReadOnly errors to dbus-shared.h (fd.o #34527, Lennart Poettering) • Break up a huge conditional in config-parser so gcov can produce coverage data (fd.o #10887, Simon McVittie) • List which parts of the Desktop Entry specification are applicable to .service files (fd.o #19159, Sven Herzberg) • Don't suppress service activation if two services have the same Exec= (fd.o #35750, Colin Walters) • Windows: · Avoid the name ELEMENT_TYPE due to namespace-pollution from winioctl.h (Andre Heinecke) · Include _dbus_path_is_absolute in libdbus on Windows, fixing compilation (fd.o #32805, Mark Brand) * Wed Mar 9 2011 coolo@novell.com - Update to 1.4.6 • Remove unfinished changes intended to support GTest-based tests, which were mistakenly included in 1.4.4 - Update to 1.4.4 • Switch back to using even micro versions for stable releases; 1.4.1 should have been called 1.4.2, so skip that version number • Don't leave bad file descriptors being watched when spawning processes, which could result in a busy-loop (fd.o #32992, NB#200248; possibly also LP#656134, LP#680444, LP#713157) • Check for MSG_NOSIGNAL correctly • Fix failure to detect abstract socket support (fd.o #29895) • Make _dbus_system_logv actually exit with DBUS_SYSTEM_LOG_FATAL (fd.o #32262, NB#180486) • Improve some error code paths (fd.o #29981, fd.o #32264, fd.o #32262, fd.o #33128, fd.o #33277, fd.o #33126, NB#180486) • Avoid possible symlink attacks in /tmp during compilation (fd.o #32854) • Tidy up dead code (fd.o #25306, fd.o #33128, fd.o #34292, NB#180486) • Improve gcc malloc annotations (fd.o #32710) • If the system bus is launched via systemd, protect it from the OOM killer • Documentation improvements (fd.o #11190) • Avoid readdir_r, which is difficult to use correctly (fd.o #8284, fd.o #15922, LP#241619) • Cope with invalid files in session.d, system.d (fd.o #19186, Debian #230231) • Don't distribute generated files that embed our builddir (fd.o #30285, fd.o #34292) • Raise the system bus's fd limit to be sufficient for its configuration (fd.o #33474, LP#381063) • Fix syslog string processing • Ignore -Waddress • Remove broken gcov parsing code and --enable-gcov, and replace them with lcov HTML reports and --enable-compiler-coverage (fd.o #10887) • Windows: · avoid live-lock in Windows CE due to unfair condition variables • OpenBSD: · support credentials-passing (fd.o #32542) • Solaris: · opt-in to thread safety (fd.o #33464) * Sun Jan 2 2011 javier@opensuse.org - Update to 1.4.1 + Fix for CVE-2010-4352: sending messages with excessively-nested variants can crash the bus. The existing restriction to 64-levels of nesting previously only applied to the static type signature; now it also applies to dynamic nesting using variants. Thanks to Rémi Denis-Courmont for discoving this issue. + Various bug fixes. + For details, see http://lists.freedesktop.org/archives/dbus/2010-December/013861.html * Mon Nov 8 2010 aj@suse.de - Fix package list, own /lib/systemd directories. * Tue Oct 12 2010 cristian.rodriguez@opensuse.org - ConsoleKit may not be installed on the system, so kill the process at "stop" only if it is running * Fri Sep 24 2010 cristian.rodriguez@opensuse.org - add missimg BuildRequires on libcap-ng-devel so dbus can drop capabilities when needed. * Mon Sep 6 2010 kay.sievers@novell.com - version 1.4.0 - make dbus-uuidgen atomic - fix socket descriptor leak in _dbus_connect_tcp_socket_with_nonce - unconditionally enable D-Bus on systemd boots * Sat Jul 24 2010 kay.sievers@novell.com - update systemd service installation * Tue Jul 13 2010 kay.sievers@novell.com - drop systemd-units * Sat Jul 10 2010 kay.sievers@novell.com - update to 1.3.2 snapshot - New standardized PropertiesChanged signal in the properties interface - Support forking bus services, for compatibility - install systemd service files * Mon Jun 28 2010 jengelh@medozas.de - use %%_smp_mflags * Thu Mar 25 2010 vuntz@opensuse.org - Update to version 1.2.24: + For details, see http://lists.freedesktop.org/archives/dbus/2010-March/012436.html + Highlights: - Fix a critical crasher bug in the syslog code + [bus] While creating a syslog, correctly get pointer data from DBusString + [bus] Don't install a SIGTERM handler + [64 bit printf] Update to use DBUS_PID_FORMAT, print (omitted) + Move dispatching to destination to bus_dispatch_matches() + Dispatch post-activation messages to anyone interested + Build changes. - Changes from version 1.2.22: + For details, see http://lists.freedesktop.org/archives/dbus/2010-March/012395.html + Highlights: - Fix to avoid UI freezes in newer Evolution versions (and any other program that makes synchronous DBus calls from a non-main thread). - Monitor service directories for changes + When handling a watch, return if another thread is doing I/O + Monitor service directories for changes + Sync up UNICODE_VALID with glib, add documentation + Support inotify on older kernels + Handle OOM in reload watch + Refactor _dbus_log_info, _dbus_log_security into _dbus_log_system + Add DBUS_SYSTEM_LOG_FATAL severity + Add _dbus_credentials_to_string_append + Add a prefix to our syslog messages + Make SELinux initialization failure fatal + Don't send an reply for driver messages if one isn't requested + Fix double-free in error case. + Other simple fixes, build fixes. + Explicitly specify in the spec lower-case hex must be used + Use AM_SILENT_RULES if available - Changes from version 1.2.20: + For details, see http://lists.freedesktop.org/archives/dbus/2010-February/012156.html + Fix inotify shutdown + Fix compilation in --disable-selinux case - Changes from version 1.2.18: + For details, see http://lists.freedesktop.org/archives/dbus/2010-February/012150.html + Ignore exit code zero from activated services + Switch to libcap-ng, avoid linking libdbus against libcap[-ng] + Don't drop pending activations when reloading configuration + Update messagebus.in init script to start earlier + Clean up inotify watch handling + Don't crash when reloading if we haven't loaded user database yet + fdo#23502 - corrected wrong verbose-output + Correct timeout handling + dbus-monitor: use unbuffered stdout instead of handling SIGINT + fdo#25697 - Fix memory leak in policy reload + fdo#23977 - dbus-launch --exit-with-session not killing dbus-daemon on SIGINT + Use monotonic clock for _dbus_get_current_time() if it's available. + Make array-printing code easier to follow + Forbid zero serial numbers + Include reason when reporting corrupt messages + Add an accessor for the loader's corruption reason + Print byte arrays as nicely-formatted hex. + Print all-printable-ASCII byte arrays as strings + Build fixes, including fdo#19432, fdo#22788, fdo#22805 * Mon Dec 14 2009 jengelh@medozas.de - add baselibs.conf as a source - package documentation as noarch * Wed Sep 2 2009 mvidner@suse.cz - Implemented /etc/init.d/dbus reload (bnc#503074). * Thu Jul 23 2009 kay.sievers@novell.com - fix %%changelog * Fri Jul 17 2009 meissner@suse.de - added dbus-1-devel to baselibs.conf * Fri Jul 17 2009 kay.sievers@novell.com - fix --libexecdir to be the proper /lib/dbus-1/ directory * Wed Jul 15 2009 kay.sievers@novell.com - update to 1.2.16 release - Avoid race conditions reading message from exited process - Ensure initialized variable in dbus_connection_remove_filter - Don't fail autolaunching if process has SIGCHLD handler - Ensure inotify fd is set close on exec - Make sure a pending call timeout isn't assumed - Allow a pending call to block forever - Don't allocate DBusTimeout for pending call when passed INT_MAX - Update documentation now that INT_MAX means no timeout - Fix issue where timeouts can overflow - Remove 6 hour timeout restriction - Unrestrict session bus timeout * Thu Apr 16 2009 crrodriguez@suse.de - use --disable-static instead of removing static libraries * Thu Apr 2 2009 werner@suse.de - Make boot script smart * Tue Feb 17 2009 thoenig@suse.de - update to D-Bus 1.2.12: - fdo#17969: Don't test for abstract sockets if explicitly disabled - fdo#18064: more efficient validation for fixed-size type arrays - Initialize AVC earlier so we can look up service security contexts - Print serial in dbus-monitor - fdo#15412: Add --address option to dbus-send - fdo#18446: Keep umask for session bus - Fix cross-compiling with autotools. - Some code cleanup and warning fixes; --maintainer-mode now uses -Werror by default - add patch dbus-log-deny.patch: log denies to syslog - drop patch dbus-1.2.10-compile-fix.patch * Mon Jan 26 2009 lnussel@suse.de - remove dbus-1.2.10-permissive.patch - move /lib/libdbus-1.so to /usr * Tue Jan 20 2009 thoenig@suse.de - update to 1.2.10: prepares fix for CVE-2008-4311 (bnc#443307) - fix send_requested_reply="true" allows all non-reply messages - add syslog of denials and config file reloads - system policy cleanup - add patch dbus-1.2.10-compile-fix.patch: 1.2.10 compile fix - add patch dbus-1.2.10-permissive.patch: behave like permissive branch, needs to be dropped as soon as all applications ship with correct configuration files for the system bus - drop patch dbus-do-not-abort-on-check-thoenig-01.patch * Wed Dec 10 2008 dmueller@suse.de - list the machine id as ghost file - fix filelist * Wed Dec 10 2008 olh@suse.de - use Obsoletes: -XXbit only for ppc64 to help solver during distupgrade (bnc#437293) * Mon Nov 3 2008 thoenig@suse.de - Remove dbus-allow-root-access-to-session-bus.patch (bnc#428963). * Thu Oct 30 2008 olh@suse.de - obsolete old -XXbit packages (bnc#437293) * Fri Oct 10 2008 hpj@novell.com - Add dbus-allow-root-access-to-session-bus.patch (bnc#428963). * Tue Oct 7 2008 thoenig@suse.de - Update to D-Bus 1.2.4 - fix for CVE-2008-3834 (bnc#432901) - compilation and portability fixes * Wed Sep 3 2008 lnussel@suse.de - hook into ConsoleKit for at_console support - only require selinux for > 11.0 * Mon Aug 25 2008 prusnak@suse.cz - enabled SELinux support [Fate#303662] * Fri Aug 22 2008 aj@suse.de - Fix init script. * Thu Aug 7 2008 thoenig@suse.de - Update to D-Bus 1.2.3 - Changes: * new UpdateActivationEnvironment bus API (fdo#16669) * Solaris Auditing (ADT) support (fdo#15740) * Various notable bug fixes (fdo#16727, fdo#16294, fdo#15947 fdo#15588 - Remove patches which went upstream (dbus-userdb-typo.patch, dbus-fix-timer-leak-dmueller-01.patch) * Mon Jun 2 2008 thoenig@suse.de - add patch dbus-userdb-typo.patch (bnc#394383) * Wed May 7 2008 thoenig@suse.de - add patch dbus-fix-timer-leak-dmueller-01.patch (bnc#381621) * Thu Apr 24 2008 thoenig@suse.de - %%post: don't use invalid macro - %%post: don't call %%run_ldconfig (deprecated) * Mon Apr 14 2008 thoenig@suse.de - run dbus-uuidgen in %%post * Thu Apr 10 2008 ro@suse.de - added baselibs.conf file to build xxbit packages for multilib support * Tue Apr 8 2008 thoenig@suse.de - Update to D-Bus 1.2.1 - Changes: * compiles under some older versions of glibc * compiles without X support once again * fix stuck server grab if dbus-launch is run in an existing D-Bus X session * various Mac OSX build fixes added * don't use the broken poll call on Mac OSX * better checks for linker flag support should allow D-Bus to link under various linkers * exit_on_disconnect is set after the connection registers with a bus so we don't exit if we get a disconnect during the handshake * dicts now work correctly with dbus-send * inotify backend is now less aggressive * pending calls expire correctly * memleak of uuid when the bus is autolaunched fixed * Wed Feb 27 2008 thoenig@suse.de - Update to D-Bus 1.1.20 - Changes: * system bus activation * TCP address format enhancements * ANONYMOUS mechanism for authentication * autolaunched busses now save their parameters in X11 if possible * inotify is now the default backend for watching configuration file changes * better thread support * bus daemon now generates a globally-unique ID for itself * support for message serialization added * better eavesdropping support now picks up reply messages for debugging * Fixed CVE-2008-0595 * Fixes dbus-launch so the session bus goes away so does D-Bus * Builds against latest gcc/glibc changes * Correctly unref connections without guids during shutdown * API additions: o dbus_connection_set_allow_anonymous() - allow the message stream to begin if the client auths as anonymous o dbus_watch_get_unix_fd() - replaces dbus_watch_get_fd o dbus_watch_get_socket() - replaces dbus_watch_get_fd o dbus_server_get_id() - available to access the unique ID of a particular address o dbus_connection_get_server_id() - available to access the unique ID of a particular address o dbus_message_marshal() - serializes a message into a byte array o dbus_message_demarshal() - de-serializes a byte array into a message * API deprecation: o dbus_watch_get_fd() - had unclear cross-platform semantics * Protocol additions: o Argument path matching of the type arg0path=’/aa/bb/’ is now supported o New error org.freedesktop.DBus.Error.ObjectPathInUse added o ANONYMOUS auth support added o GetAll call added to the properties interface for getting a list of properties an object exports - Add patch dbus-1.1.20-fix-build.patch * Fri Jan 18 2008 thoenig@suse.de - Update to D-Bus 1.1.4 (1.2.0 RC2) - Drop patch dbus-inotify-fix-thoenig-01.patch: Merged upstream * Thu Jan 17 2008 thoenig@suse.de - Add patch dbus-inotify-fix-thoenig-01.patch: Fix inotify support * Wed Jan 16 2008 thoenig@suse.de - Update to D-Bus 1.1.3 - DTD for the introspection format is fixed and uploaded to the servers - Argument path matching of the type arg0path='/aa/bb/' is now supported (see the specification for more information) - New error org.freedesktop.DBus.Error.ObjectPathInUse added Autolaunched busses now save their parameters in X11 if possible making them behave closer to busses launched through the normal mechanisms - inotify is now the default backend for watching configuration file changes - More support for the AIX platform has been added - Numerous bug fixes and performance enhancements * Thu Dec 13 2007 thoenig@suse.de - Fix permissions for activation helper - Use bzip2 for tar ball * Mon Nov 19 2007 thoenig@suse.de - Update to snapshot of D-Bus 1.1.3 (git20071112) - Own /usr/share/dbus-1/system-services - Don't restart on update - Remove dbus-audit-user.patch (upstream) * Fri Oct 19 2007 jpr@suse.de - Correct error in fix for b.n.c 332845, extraneous $DBUS_DAEMON_PID * Fri Oct 19 2007 meissner@suse.de - adjust permissions handling * Fri Oct 12 2007 thoenig@suse.de - Don't use startproc (b.n.c 332845) - Merge D-Bus package from build service * Tue Oct 2 2007 tambet@novell.com - Update to 1.1.2 for system service activation. - Add patches from RedHat: dbus-lsb.patch dbus-audit-user.patch dbus-no-abort.patch * Tue Sep 25 2007 dmueller@suse.de - install a interfaces directory * Fri Aug 10 2007 dmueller@suse.de - package size reduction (31%%) - documentation shouldn't be executable * Mon Jul 30 2007 thoenig@suse.de - Fix path in rc script for both, dbus-daemon and dbus-uuidgen * Sun Jul 29 2007 ro@suse.de - next attempt to fix path for dbus-launch * Sat Jul 28 2007 thoenig@suse.de - Fix location of dbus-1-launch for dbus-1-x11 - Fix dbus-1-devel to own %%{_libdir}/dbus-1.0 * Wed Jul 25 2007 thoenig@suse.de - move D-Bus to / (b.n.c #285472) - remove static libraries * Fri Jul 20 2007 dmueller@suse.de - build against libexpat (#285472) * Tue Jun 19 2007 thoenig@suse.de - Add $local_fs to Required-Start (b.n.c #285472) * Fri Mar 16 2007 dmueller@suse.de - display error messages from dbus-launch * Sun Feb 25 2007 thoenig@suse.de - remove leading whitespace from .changes * Thu Feb 22 2007 thoenig@suse.de - Disable dbus-do-not-abort-on-check-thoenig-01.patch until we hit RC phase. * Mon Feb 19 2007 dmueller@suse.de - fix mis-placed comment marker * Tue Feb 13 2007 dmueller@suse.de - build wih x support for dbus-1-x11 package (#225627) * Wed Dec 13 2006 thoenig@suse.de - move invocation of autoreconf from %%prep to %%build - update to D-Bus 1.0.2 (skipped 1.0.1) - fix security bug CVE-2006-6107 match rules can be removed by apps that did not create them - pthread fix - fix bug where calling dbus_threads_init_default would assert - fix UUID output to match the spec - clear up documentation on UUIDs * Sun Nov 12 2006 thoenig@suse.de - add patch dbus-do-not-abort-on-check-thoenig-01.patch: Do not call _dbus_warn_check_failed() but _dbus_warn() on checks as _dbus_warn_check_failed() always leads to abort(3) * Sat Nov 11 2006 thoenig@suse.de - update to D-Bus 1.0.0 - documents updated with API/ABI guarantees - added missing patch FreeBSD need to run out of the box - dbus-monitor now has a profile mode - AUTHORS file updated with names from the ChangeLog. Thanks to everyone who helped get us here * Thu Nov 9 2006 thoenig@suse.de - start service for D-Bus system bus also in run level 2 (b.n.c [#216805]) * Fri Nov 3 2006 thoenig@suse.de - remove patch dbus-send-do-not-close-shared-connection-thoenig-01.patch (fix is now upstream) - run cleanup-man-pages.sh to clean up Doxygen man page output - cleanup rc script, add invocation of dbus-uuidgen - do not call dbus-uuidgen in %%post - update to D-Bus 0.95 - DBUS_API_SUBJECT_TO_CHANGE no longer needs to be defined when building apps - ./configure checks now work when cross compiling - dbus-uuidgen --ensure is now run in the init script so there is no need to run it in a post script - dbus-uuidgen now writes out to /var/lib/dbus to work with systems that do not have a writable /etc. Packages should install and own the /var/lib/dbus directory - recursive locks are now used when dbus_threads_init_default is called - standard_session_servicedirs tag added to the session.conf under a normal build this specifies these service directories: /usr/local/share/dbus-1/services /usr/share/dbus-1/services $HOME/.local/share/dbus-1/services - fixed crash when a service directory is specified more than once - fixed a crash in *BSD when watching config directories for changes - fixed Irix build by using dirp->__dd_fd to get the file descriptor - cleaned up the LOCAL_CREDS vs CMGCRED credential code so * BSD's don't crash here anymore - dbus_message_iter_get_array_len deprecated - cleanup-man-pages.sh added so packagers can clean up Doxygen man page output from 7 to 2 megs - large documentation improvements - numerous bug fixes * Mon Oct 23 2006 thoenig@suse.de - add patch dbus-send-do-not-close-shared-connection-thoenig-01.patch: Do not call dbus_connection_close() for shared connection. * Sun Oct 15 2006 thoenig@suse.de - do not kill applications using D-Bus on update (b.n.c #210192) - fix 'rcdbus status' to report correctly if D-Bus was not running - run 'dbus-uuidgen --ensure' in %%post section - drop patch dbus-unref-connections-on-close-thoenig-01.patch (fix is upstream) - drop patch dbus-display_DBUS_DAEMONDIR_in_configure.diff (fix is upstream) - drop patch dbus-tools_autobuild.diff (not required any more) - update to D-Bus 0.94 (skipped 0.93) - dbus-uuidgen binary added for future remote machine identification * packagers should call dbus-uuidgen --ensure in their post - GetMachineId peer method added to the bus API - dbus_connection_set_route_peer_messages API added to let the bus send peer messages directly to an app - autolaunch abilities added to dbus-launch with the - -autolaunch flag * This feature allows libdbus to start a session bus if none can be found * This is an internal feature and should not be used by scripts DBUS_SESSION_BUS_ADDRESS is still the correct way to specify a session bus - dbus-launch now prints out a simple key value pairs instead of shell scripts if one of the shell flags aren't used - support DBUS_BLOCK_ON_ABORT env variable to cause blocking waiting for gdb - weak ref are now held for shared connections so the right things happen this fixes some pretty major bugs with the way connections were handled - some refactoring for Windows (doesn't effect Unix) - Solaris build fixes - MacOSX build fixes - Cross compile build fixes. We now assume getpwnam_r is posix and va_lists can be copied by value since we can't check this in a cross compile. If this is not true for a particular target is up to the developer to patch. - dbus_threads_init_default added for initalizing threads without the need for bindings - Filters are now properly removed - dbus_connection_open now holds a hard ref to shared connections - we now print out a warning and do nothing when someone tries to close a shared connection - the --introspect switch has been added to the bus for printing out introspection data without actually running the bus - LOCAL_CREDS socket credentials are now supported for systems which support it such as NetBSD - generalize kqueue support so it works with NetBSD as well as FreeBSD - numerous bug fixes and memory leaks patched * Thu Aug 31 2006 dkukawka@suse.de - added patch dbus-display_DBUS_DAEMONDIR_in_configure.diff to expand the complete path of DBUS_DAEMONDIR (b.n.c. #202854) * Thu Aug 24 2006 thoenig@suse.de - add patch dbus-unref-connections-on-close-thoenig-01.patch: Unref connections on dbus_connection_close (b.n.c. #201164). * Sat Aug 19 2006 thoenig@suse.de - update to D-Bus 0.92 - proper thread locking added to pending calls - threading semantics changed from init early to init before the second thread - correctly error out when an application tries to acquire or release the org.freedesktop.DBus name instead of sending false result codes - kqueue directory watching code can now be used to monitor config file changes on FreeBSD - --with-dbus-daemondir configure switch added so the daemon can be installed separate from the user binaries - Makefiles fixed for cygwin - fixed docs and comments to use the D-Bus spelling instead of D-BUS - many memleaks and bugs fixed * Thu Aug 17 2006 thoenig@suse.de - update to D-Bus 0.92 CVS snapshot 2006-08-17 - don't crash in dbus_pending_call_get_completed if D-Bus connection is used twice in one application - dbus-1-devel-doc: don't package non-existent HTML files * Wed Aug 16 2006 aj@suse.de - Do not use xmlto in BuildRequires. * Tue Aug 1 2006 thoenig@suse.de - split out binings to sparate spec files - string replacement: s/D-BUS/D-Bus - spec file cleanups - remove aaa_base from requires - drop dbus-1-qt (qt-dbus obsoletes dbus-1-qt) - new upstream version 0.91 (skipped 0.90) - remove some lingering bits left over from the bindings split - fix assertion causing D-Bus applications to crash when checks are enabled - fix a timeout bug which would block applications from being auto started - API/ABI freeze for 1.0 - bindings are now split out into seperate packages - listActivatableNames added as a method on the bus - removed deprecated dbus_connection_disconnect (use dbus_connection_close) - shared connections are now unreffed on disconnect - fixed pending calls for threaded enviornments - pending calls get timed out on connection disconnect - dbus_connection_send_with_reply returns TRUE and a NULL pending call if you call it on a connection object which has been disconnected already (it returns FALSE on Out of Memory errors only) - dbus-monitor now correctly catches methods, not just signals - dbus-monitor now prints object paths * Fri Jul 7 2006 adrian@suse.de - fix build for < 10.1 * do not use -fstack-protector - fix build for non-SUSE distros * Tue Jul 4 2006 adrian@suse.de - fix build for 10.1 - remove requires to -%%release which can't work * Mon Jul 3 2006 thoenig@suse.de - call configure with --exec_prefix and --datadir - spec file clean up * Thu Jun 22 2006 thoenig@suse.de - fix build: add freetype2-devel and libpng-devel to dbus-1-qt.spec - add patch: dbus-pending-reply-revert.diff to avoid crashes of multi-threaded applications using libdbus-1. * Tue Jun 20 2006 coolo@suse.de - split out -qt and -qt3 into their own spec files * Mon Jun 12 2006 thoenig@suse.de - new upstream version 0.62 - doc fixes - add support for all data-types for the dbus tools - fix eavesdropping on method calls (dbus-monitor) - fix silent dropping of method calls with interface=NULL - fix console ownership problems in Solaris - fix installation of dbus-signature.h and #include it in dbus/dbus.h - flush the user database cache on config reload - GLib bindings: - fix memory leaks - fix properties in DBusGProxy so that they can be given in any order - add lots of assertions to ensure correct use - remove duplicated code - fix static string pointer uses in GPtrArray-based collections - Python bindings: - remove reference to sys/cdefs.h - Qt4 bindings: - code reorganized - add the dbusidl2cpp, dbuscpp2xml and dbus tools - add example programs (ping-pong, complex ping-pong, listnames, chat) - updat selftests - fix compilation and .moc- and .ui-file processing and cleaning - make central classes derive from QObject - enhance error reporting - many bugfixes - Mono bindings: - minor bugfixes - dbus-gcj_fixes.diff: remove hunk for fastjar - dbus-qt_moc_configure.diff: dropped, now upstream - dbus-qt_compile_fix.diff: dropped, now upstream - dbus-mono-args.diff: dropped, now upstream - dbus-mono-return-null.diff: dropped, now upstream - dbus-pedantic_compile.diff: dropped, now upstream - dbus-reply_pending_limit.diff: dropped, now upstream - add fastjar to requires of dbus-1-mono * Mon Apr 24 2006 thoenig@suse.de - Add patch (dbus-mono-exit-on-disconnect.diff) from Aaron Bockover to extend the API of the mono bindings for exit_on_disconnect() (Novell bug #167824). * Wed Mar 15 2006 thoenig@suse.de - disable dbus-connection-blocks-on-poll.diff as it leads to crashes in applications using dbus_connection_send_with_reply_and_block (). * Mon Mar 6 2006 thoenig@suse.de - add restart_on_update back to %%postun (#143151, #150042) * Fri Mar 3 2006 thoenig@suse.de - Add patch (dbus-connection-blocks-on-poll.diff) in order to fix pending replies being delayed if an application using the bus blocks on another pending reply. (not tracked in upstream bugzilla, only on-list, Novell bug #154916) - Sync patches with dbus-1-mono * Wed Mar 1 2006 thoenig@suse.de - Add patch (dbus-reply_pending_limit.diff) in order to fix the pending replies limit not to be common for all connections. (Freedesktop bug #4200, Novell bug #153733) * Fri Feb 24 2006 aj@suse.de - Sync patches with dbus-1-mono. * Tue Feb 14 2006 ro@suse.de - move all bindings except for glib to dbus-1-mono specfile - remove restart_on_update (only restart on reboot) (#143151) * Fri Feb 3 2006 aj@suse.de - Remove unneeded BuildRequires. * Sun Jan 29 2006 aj@suse.de - Splitup packages dbus-1-qt3-devel, dbus-1-qt-devel (#144857). * Fri Jan 27 2006 mls@suse.de - converted neededforbuild to BuildRequires * Mon Jan 23 2006 thoenig@suse.de - Fixed D-BUS to restart on `rcdbus restart` id session busses are running (closes #127969) * Fri Jan 20 2006 werner@suse.de - Make rc script fully conforming with LSB * Thu Jan 19 2006 meissner@suse.de - Use -fstack-protector. - Added some missing requires to the -devel packages. * Thu Jan 5 2006 thoenig@suse.de - added libxml2-python to Requires of dbus-1-python (closes [#141225]) * Tue Dec 20 2005 dmueller@suse.de - fix Qt4/x86_64 build with Qt 4.1 * Sat Dec 17 2005 thoenig@suse.de - renamed sub package for Qt bindings from dbus-1-qt to dbus-1-qt3 - introducing Qt4 bindings, new package is dbus-1-qt - renamed dbus-qt_compile_fix.diff to dbus-qt3_compile_fix.diff - added -fno-strict-aliasing to CXXFLAGS - modified patch: * removed configure.in parts of dbus-qt3_compile_fix.diff (fixed upstream) - removed patches: * dbus-dnotify_configure-01.diff (fixed upstream) * dbus-dnotify_watchdirs-01.diff (fixed upstream) * Fri Dec 9 2005 ro@suse.de - disable selinux * Tue Nov 22 2005 coolo@suse.de - make libdbus-1-qt self containing lib * Sat Nov 12 2005 thoenig@suse.de - added patches to make dnotify actually work for configuration file changes. We now can add new bus policies at runtime. * dbus-dnotify_configure-01.diff * dbus-dnotify_watchdirs-01.diff * Thu Oct 20 2005 thoenig@suse.de - added -fPIC to CFLAGS * Wed Sep 21 2005 thoenig@suse.de - new upstream version 0.50.2 (skipped some) - removed patches: * dbus-disable_kde_dependency.diff (upstream) * dbus-transaction_fix.diff (upstream) * dbus-session-connect.diff (upstream) * dbus-gcj_fix_for_gcc4_on_x86_64.diff (duplicated, see dbus-gcj_fixes.diff) - modified patch: * dbus-gcj_fixes.diff (removed reference to $BUILD_ROOT in .la) * Sat Sep 17 2005 dmueller@suse.de - make header files compileable with -pedantic * Tue Sep 6 2005 dkukawka@suse.de - fixed return values for rchal start to be LSB conform (#115385) * Sun Sep 4 2005 aj@suse.de - Add check-build.sh script. * Tue Aug 30 2005 thoenig@suse.de - Moved man pages to correct sub-packages (closes #114036) * Tue Aug 30 2005 thoenig@suse.de - Added patch to fix session bus exploit (CAN-2005-0201, closes [#114043]) * Thu Aug 4 2005 thoenig@suse.de - Replaced previous workaround for #98264 with a proper fix * Tue Jul 26 2005 thoenig@suse.de - Reduce timeout for (wrongly assumed?) oom situations from 500ms to 50ms (closes #98264). * Mon Jul 18 2005 thoenig@suse.de - new upstream version 0.35.2 (skipped 0.35 and 0.35.1) - removed patches: * dbus-python_bindings_gcc4_fix.diff (obsolete) * dbus-console-auth-SuSE-01.diff (upstream) - new patches: * dbus-gvalue-utils-fix.diff (function returned random data) * dbus-python_bindings_fix.diff (unititialized variable) * Wed Jun 22 2005 thoenig@suse.de - new upstream version 0.34 - new patch `dbus-console-auth-SuSE-01.diff`: this patch adds the command line option "--with-console-auth-dir" for resmgr integration. * Wed Jun 22 2005 thoenig@suse.de - moved *.la *.a and *.pc files from dbus-1-glib to dbus-1-devel - added dbus-1-glib and glib2-devel to Requires of dbus-1-devel * Thu May 19 2005 adrian@suse.de - fix path to documentation in susehelp desktop file * Mon May 2 2005 lnussel@suse.de - fix init script dbus-daemon-1 -> dbus-daemon - use fastjar only on > 9.3 * Thu Apr 28 2005 thoenig@suse.de - new upstream version 0.33 - fixed typo in 'rc.boot.dbus' * Mon Apr 25 2005 thoenig@suse.de - updated e-mail address in 'rc.boot.dbus' * Thu Apr 21 2005 thoenig@suse.de - updated short description in 'rc.boot.dbus' * Wed Apr 20 2005 thoenig@suse.de - D-BUS 0.33 (CVS 2005-04-19) - ABI changes will affect packages: beagle, gnome, hal, ial, kdebase3, submount, tomboy. A tutorial to fix errors caused by the ABI/API change: http://people.redhat.com/johnp/files/dbus_0.23_to_0.30_porting_quickref.txt - enabled python bindings again. GCC4 fix is provided by dbus-python_bindings_gcc4_fix.diff. This patch is to be dropped once pyrex generates GCC4-clean C code. * Mon Apr 18 2005 ro@suse.de - use "fastjar" instead of "jar" with gcc-4 - disable python bindings for now (generated code is not really gcc-4 compliant) * Wed Mar 16 2005 thoenig@suse.de - applied 'dbus-il-fix.patch' for dbus-1-mono to prevent a crash caused by a change in mono. * Mon Mar 14 2005 schwab@suse.de - Fix name of init script. * Mon Mar 14 2005 thoenig@suse.de - changed init order for hal/dbus/resmgr * Sun Mar 13 2005 thoenig@suse.de - applied `dbus-mono-leak.diff` which fixes memory leaks of the mono bindings. * Sat Mar 12 2005 thoenig@suse.de - new upstream version 0.23.4 * Thu Mar 10 2005 thoenig@suse.de - new upstream version 0.23.3 - removed obsolete patch (python_bindings_x86_64_fix.diff) * Thu Mar 3 2005 dkukawka@suse.de - fixed boot.dbus [see bug# 65775] * Mon Feb 28 2005 thoenig@suse.de - moved files from dbus-1-devel to dbus-1-{glib,java,qt} * Tue Feb 22 2005 thoenig@suse.de - added fix for python bindings to compile on 64 bit - moved {_datadir}/dbus-1 and {_datadir}/dbus-1/services from dbus-1-x11 to dbus-1 package * Mon Feb 21 2005 gekker@suse.de - Fix dbus-1-x11, add directory so dbus-launch will work * Mon Feb 21 2005 adrian@suse.de - avoid kde dependencies to improve our build times. The only thing which does need KDE is the configure script, the bindings itself are pure Qt * Sun Feb 20 2005 thoenig@suse.de - new upstream version 0.23.2 * Sun Feb 20 2005 thoenig@suse.de - new upstream version 0.23.2 * Tue Feb 15 2005 dkukawka@suse.de - update to new version 0.23.1 * Tue Feb 15 2005 dkukawka@suse.de - update to new version 0.23.1 * Fri Feb 4 2005 gekker@suse.de - Use mono-devel-packages in neededforbuild - pass --enable-mono in ./configure - Make sure the symbolic link of dbus-sharp.dll is installed * Thu Feb 3 2005 thoenig@suse.de - fixed assignment of .pc files * dbus-1.pc is now owned by dbus-1-devel * dbus-glib-1.pc is now owned by dbus-1-glib * dbus-sharp.pc is now owned by dbus-1-mono * Thu Feb 3 2005 thoenig@suse.de - fixed assignment of .pc files * dbus-1.pc is now owned by dbus-1-devel * dbus-glib-1.pc is now owned by dbus-1-glib * dbus-sharp.pc is now owned by dbus-1-mono * Thu Feb 3 2005 ro@suse.de - use common macros in pre/post scripts * Fri Jan 28 2005 dkukawka@suse.de - fixed specfile of dbus * Fri Jan 28 2005 dkukawka@suse.de - added aaa_base to requirements - added /etc/init.d/boot.localfs to prereqy * Tue Jan 25 2005 dkukawka@suse.de - cleaned up requirements in spec-file - disabled all unneeded bindings within ./configure to reduce buildtime * Tue Jan 25 2005 dkukawka@suse.de - cleaned up requirements in spec-file * Sun Jan 23 2005 dkukawka@suse.de - fixed libdir directory for x86_64 in mono package * Sun Jan 23 2005 dkukawka@suse.de - fix libdir directory for x86_64 * Thu Jan 20 2005 adrian@suse.de - enable api docu for qt, c# and java - integrate api docu into suse help * Thu Jan 13 2005 dkukawka@suse.de - update to new version [0.23]. For more infos read the Changelog of the src * Thu Jan 13 2005 dkukawka@suse.de - update to new version [0.23]. For more info read the Changelog of the src - changed position in /etc/rc.d/boot.d/, now dbus start depending on boot.localnet (this is a workaround to the /var/run - cleanup is moved from boot.localnet to boot.localfs) * Wed Jan 12 2005 dkukawka@suse.de - changed some in dbus-1-mono.spec * Wed Jan 12 2005 dkukawka@suse.de - changed rc-script: - now dbus start in boot.d - start depends on boot.localfs - changed spec-file, now insserv instead of chkconfig - fixed bug #49410 * Tue Jan 11 2005 ro@suse.de - added /usr/lib/qt3/bin to PATH (for moc) * Mon Jan 10 2005 adrian@suse.de - fix build, qt developer tools aren't in default PATH anymore * Mon Nov 29 2004 dkukawka@suse.de - removed ExclusiveArch, since mono and gtk-sharp for other archs available (thanks to ro@suse.de) * Sun Nov 28 2004 dkukawka@suse.de - moved package to ../done/I386 , package is only for %%ix86, because on other archs we don´t have gtk-sharp - changed requirements [dbus = %%{version}-%%{dbus_release}] * Sun Nov 28 2004 dkukawka@suse.de - init * Thu Nov 25 2004 dkukawka@suse.de - removed automatically deleting of DBUS-user and -group in uninstall-routine - readding dbus-1-python package - changed different due to new automake and python versions - added Requires and BuildRequires * Tue Nov 23 2004 dkukawka@suse.de - added packages [glib, x11] - change different things in packages, removed doupled/conflicting files in packages [base-rpm, devel, gtk, java, qt] - changed different in %%pre, %%preun, %%post, %%postun sections of the spec-file - stop dbus automatically before uninstall - add/remove now dbus automatically to/from system services * Sat Nov 20 2004 dkukawka@suse.de - fixed bug in spec-file * Thu Nov 18 2004 dkukawka@suse.de - removed binding package for Python while automake is fixed ! * Wed Nov 17 2004 dkukawka@suse.de - added binding packages [java, qt, gtk, python] * Fri Nov 5 2004 thoenig@suse.de - dynamic allocation of user id user messagebus - dynamic allocation of group id for group messagebus * Wed Oct 20 2004 thoenig@suse.de - init