Accepting request 202742 from home:sumski:branches:Base:System

Update to 1.7.6
It is a new release, but it resolved over 60 bugs, so maybe worth considering for 13.1.
I've been using snapshots of the master branch in the last weeks, with no spotted regression

OBS-URL: https://build.opensuse.org/request/show/202742
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=135
This commit is contained in:
Cristian Rodríguez 2013-10-09 22:31:02 +00:00 committed by Git OBS Bridge
parent 4d0a71436a
commit 8598d537d8
7 changed files with 355 additions and 168 deletions

View File

@ -1,49 +0,0 @@
From fc600b6a8f0dec5642b45c1026dee24c9adb9bc2 Mon Sep 17 00:00:00 2001
From: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: Wed, 4 Sep 2013 17:53:23 +0100
Subject: [PATCH 1/3] _dbus_babysitter_unref: avoid infinite loop if waitpid()
returns EINTR
If waitpid() failed with EINTR, we'd go back for another go, but
because ret is nonzero, we'd skip the waitpid() and just keep looping.
Also avoid an unnecessary "goto" in favour of a proper loop, to make it
more clearly correct.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=68945
Reviewed-by: Colin Walters <walters@verbum.org>
---
dbus/dbus-spawn.c | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/dbus/dbus-spawn.c b/dbus/dbus-spawn.c
index ef00801..6e42f55 100644
--- a/dbus/dbus-spawn.c
+++ b/dbus/dbus-spawn.c
@@ -308,15 +308,18 @@ _dbus_babysitter_unref (DBusBabysitter *sitter)
if (ret == 0)
kill (sitter->sitter_pid, SIGKILL);
- again:
if (ret == 0)
- ret = waitpid (sitter->sitter_pid, &status, 0);
+ {
+ do
+ {
+ ret = waitpid (sitter->sitter_pid, &status, 0);
+ }
+ while (_DBUS_UNLIKELY (ret < 0 && errno == EINTR));
+ }
if (ret < 0)
{
- if (errno == EINTR)
- goto again;
- else if (errno == ECHILD)
+ if (errno == ECHILD)
_dbus_warn ("Babysitter process not available to be reaped; should not happen\n");
else
_dbus_warn ("Unexpected error %d in waitpid() for babysitter: %s\n",
--
1.8.4

View File

@ -1,3 +1,124 @@
-------------------------------------------------------------------
Wed Oct 9 18:52:01 UTC 2013 - hrvoje.senjan@gmail.com
- Update to 1.7.6
+ Build-time configuration changes:
- Directory change notification via dnotify on Linux is no
longer supported; it hadn't compiled successfully since 2010
in any case. If you don't have inotify (Linux) or kqueue (*BSD),
you will need to send SIGHUP to the dbus-daemon when its
configuration changes. (fdo#33001)
- Compiling with --disable-userdb-cache is no longer supported;
it didn't work since at least 2008, and would lead to an
extremely slow dbus-daemon even it worked.
(fdo#15589,fdo#17133,fdo#66947)
- The DBUS_DISABLE_ASSERTS CMake option didn't actually disable
most assertions. It has been renamed to DBUS_DISABLE_ASSERT
to be consistent with the Autotools build system. (fdo#66142)
- --with-valgrind=auto enables Valgrind instrumentation if and only
if valgrind headers are available. The default is still
--with-valgrind=no. (fdo#56925)
+ Dependencies:
- Platforms with no 64-bit integer type are no longer supported.
(fdo#65429)
- GNU make is now (documented to be) required. (fdo#48277)
- Full test coverage no longer requires dbus-glib, although the
tests do not exercise the shared library (only a static copy)
if dbus-glib is missing. (fdo#68852)
+ Enhancements:
- D-Bus Specification 0.22
- Document GetAdtAuditSessionData() and
GetConnectionSELinuxSecurityContext() (fdo#54445)
- Fix example .service file (fdo#66481)
- Don't claim D-Bus is "low-latency" (lower than what?), just
give factual statements about it supporting async use (fdo#65141)
- Document the contents of .service files, and the fact that
system services' filenames are constrained (fdo#66608)
- Be thread-safe by default on all platforms, even if
dbus_threads_init_default() has not been called. For
compatibility with older libdbus, library users should
continue to call dbus_threads_init_default(): it is
harmless to do so. (fdo#54972)
- Add GetConnectionCredentials() method (fdo#54445)
- New API: dbus_setenv(), a simple wrapper around setenv().
Note that this is not thread-safe. (fdo#39196,)
- Add dbus-send --peer=ADDRESS (connect to a given peer-to-peer
connection, like --address=ADDRESS in previous versions) and
dbus-send --bus=ADDRESS (connect to a given bus, like
dbus-monitor --address=ADDRESS). dbus-send --address still
exists for backwards compatibility, but is no longer documented.
(fdo#48816)
+ Fixes:
- Avoid an infinite busy-loop if a signal interrupts waitpid()
(fdo#68945)
- Clean up memory for parent nodes when objects are unexported
(fdo#60176)
- Make dbus_connection_set_route_peer_messages(x, FALSE) behave
as documented. Previously, it assumed its second
parameter was TRUE. (fdo#69165)
- Escape addresses containing non-ASCII characters correctly
(fdo#53499)
- Document <servicedir> search order correctly (fdo#66994)
- Don't crash on "dbus-send --session / x.y.z" which regressed
in 1.7.4. (fdo#65923)
- If malloc() returns NULL in _dbus_string_init() or similar,
don't free an invalid pointer if the string is later freed
(fdo#65959)
- If malloc() returns NULL in dbus_set_error(), don't va_end()
a va_list that was never va_start()ed (fdo#66300)
- fix build failure with --enable-stats (fdo#66004)
- fix a regression test on platforms with strict alignment
(fdo#67279)
- Avoid calling function parameters "interface" since certain
Windows headers have a namespace-polluting macro of that name
(fdo#66493)
- Assorted Doxygen fixes (fdo#65755)
- Various thread-safety improvements to static variables
(fdo#68610)
- Make "make -j check" work (fdo#68852)
- Fix a NULL pointer dereference on an unlikely error path
(fdo#69327)
- Improve valgrind memory pool tracking (fdo#69326)
- Don't over-allocate memory in dbus-monitor (fdo#69329)
- dbus-monitor can monitor dbus-daemon < 1.5.6 again
(fdo#66107)
+ Unix-specific:
- If accept4() fails with EINVAL, as it can on older Linux
kernels with newer glibc, try accept() instead of going
into a busy-loop. (fdo#69026)
- If socket() or socketpair() fails with EINVAL or EPROTOTYPE,
for instance on Hurd or older Linux with a new glibc, try
without SOCK_CLOEXEC. (fdo#69073)
- Fix a file descriptor leak on an error code path.
(fdo#69182)
- dbus-run-session: clear some unwanted environment variables
(fdo#39196)
- dbus-run-session: compile on FreeBSD (fdo#66197)
- Don't fail the autolaunch test if there is no DISPLAY
(fdo#40352)
- Use dbus-launch from the builddir for testing, not the
installed copy (fdo#37849)
- Fix compilation if writev() is unavailable (fdo#69409)
- Remove broken support for LOCAL_CREDS credentials passing, and
document where each credential-passing scheme is used
(fdo#60340)
- Make autogen.sh work on *BSD by not assuming GNU coreutils
functionality (fdo#35881, fdo#69787)
- dbus-monitor: be portable to NetBSD (fdo#69842)
- dbus-launch: stop using non-portable asprintf (fdo#37849)
- Improve error reporting from the setuid activation helper
(fdo#66728)
+ Internal changes:
- add DBUS_ENABLE_ASSERT, DBUS_ENABLE_CHECKS for less confusing
conditionals (fdo#66142)
- improve verbose-mode output (fdo#63047)
- consolidate Autotools and CMake build (fdo#64875)
- fix various unused variables, unusual build configurations etc.
(fdo#65712, fdo#65990, fdo#66005, fdo#66257, fdo#69165, fdo#69410,
fdo#70218)
- Dropped 0001-_dbus_babysitter_unref-avoid-infinite-loop-if-waitpi.patch,
included in this release
-------------------------------------------------------------------
Mon Oct 7 08:18:23 UTC 2013 - fridrich.strba@suse.com
@ -132,31 +253,31 @@ Changes since 1.5.12
changes to gnome-keyring, use of __secure_getenv() is
deferred.
• CVE-2012-3524: Don't access environment variables (fd.o #52202)
• CVE-2012-3524: Don't access environment variables (fdo#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)
(fdo#51521, Dave Reisner)
• Remove an incorrect assertion from DBusTransport (fd.o #51657,
• Remove an incorrect assertion from DBusTransport (fdo#51657,
Simon McVittie)
• Change how we create /var/lib/dbus so it works under Automake >= 1.11.4
(fd.o #51406, Simon McVittie)
(fdo#51406, Simon McVittie)
• Don't return from dbus_pending_call_set_notify with a lock held on OOM
(fd.o #51032, Simon McVittie)
(fdo#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)
(fdo#34671, Simon McVittie)
• Unix-specific:
· Check for libpthread under CMake on Unix (fd.o #47237, Simon McVittie)
· Check for libpthread under CMake on Unix (fdo#47237, Simon McVittie)
• New requirements
· PTHREAD_MUTEX_RECURSIVE on Unix
@ -196,14 +317,14 @@ Changes since 1.5.12
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)
spec-compliance (fdo#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)
non-root when using OpenBSD install(1) (fdo#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)
(fdo#45896, Simon McVittie)
-------------------------------------------------------------------
Fri Nov 16 12:56:04 UTC 2012 - dimstar@opensuse.org
@ -292,25 +413,25 @@ Wed Mar 28 09:19:14 CEST 2012 - thoenig@suse.de
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)
(fdo#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
invent their own "union of everything" type (fdo#11191, Simon
McVittie)
- Enumerate data files included in the build rather than using
find(1) (fd.o #33840, Simon McVittie)
find(1) (fdo#33840, Simon McVittie)
- Add support for policy rules like
<allow own_prefix="com.example.Service"/> in dbus-daemon
(fd.o #46273, Alban Crequy)
(fdo#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
again on Win32, but not on WinCE (fdo#46049, Simon
McVittie)
- fix duplicate case value when compiling against mingw-w64
(fd.o #47321, Andoni Morales Alastruey)
(fdo#47321, Andoni Morales Alastruey)
-------------------------------------------------------------------
Mon Feb 27 10:18:53 UTC 2012 - vuntz@opensuse.org
@ -419,11 +540,11 @@ Wed Oct 12 00:32:50 CEST 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)
(fdo#39231, fdo#41012; Simon McVittie)
* Add a regression test for fdo#38005 (fdo#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)
a service file entry for activation (fdo#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)
@ -597,48 +718,48 @@ Fri Apr 15 14:35:44 CEST 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)
(fdo#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,
and document it better (fdo#31818, Will Thompson)
• Let the bus daemon implement more than one interface (fdo#33757,
Simon McVittie)
• Optimize _dbus_string_replace_len to reduce waste (fd.o #21261,
• Optimize _dbus_string_replace_len to reduce waste (fdo#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)
(fdo#35114, Simon McVittie)
• Add dbus_type_is_valid as public API (fdo#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)
to unknown interfaces in the bus daemon (fdo#34527, Lennart Poettering)
-------------------------------------------------------------------
Fri Apr 8 16:41:57 CEST 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,
(fdo#32245; Javier Jardón, Simon McVittie)
• Correctly give XDG_DATA_HOME priority over XDG_DATA_DIRS (fdo#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,
in embedded environments (fdo#19997, NB#219964; Simon McVittie)
• Install the documentation, and an index for Devhelp (fdo#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)
booleans when sending them (fdo#16338, NB#223152; Simon McVittie)
• Add UnknownObject, UnknownInterface, UnknownProperty and PropertyReadOnly
errors to dbus-shared.h (fd.o #34527, Lennart Poettering)
errors to dbus-shared.h (fdo#34527, Lennart Poettering)
• Break up a huge conditional in config-parser so gcov can produce coverage
data (fd.o #10887, Simon McVittie)
data (fdo#10887, Simon McVittie)
• List which parts of the Desktop Entry specification are applicable to
.service files (fd.o #19159, Sven Herzberg)
.service files (fdo#19159, Sven Herzberg)
• Don't suppress service activation if two services have the same Exec=
(fd.o #35750, Colin Walters)
(fdo#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)
(fdo#32805, Mark Brand)
-------------------------------------------------------------------
Wed Mar 9 13:23:09 UTC 2011 - coolo@novell.com
@ -651,37 +772,37 @@ Wed Mar 9 13:23:09 UTC 2011 - coolo@novell.com
• 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
which could result in a busy-loop (fdo#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)
• Fix failure to detect abstract socket support (fdo#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)
(fdo#32262, NB#180486)
• Improve some error code paths (fdo#29981, fdo#32264, fdo#32262,
fdo#33128, fdo#33277, fdo#33126, NB#180486)
• Avoid possible symlink attacks in /tmp during compilation (fdo#32854)
• Tidy up dead code (fdo#25306, fdo#33128, fdo#34292, NB#180486)
• Improve gcc malloc annotations (fdo#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,
• Documentation improvements (fdo#11190)
• Avoid readdir_r, which is difficult to use correctly (fdo#8284,
fdo#15922, LP#241619)
• Cope with invalid files in session.d, system.d (fdo#19186,
Debian #230231)
• Don't distribute generated files that embed our builddir (fd.o #30285,
fd.o #34292)
• Don't distribute generated files that embed our builddir (fdo#30285,
fdo#34292)
• Raise the system bus's fd limit to be sufficient for its configuration
(fd.o #33474, LP#381063)
(fdo#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)
with lcov HTML reports and --enable-compiler-coverage (fdo#10887)
• Windows:
· avoid live-lock in Windows CE due to unfair condition variables
• OpenBSD:
· support credentials-passing (fd.o #32542)
· support credentials-passing (fdo#32542)
• Solaris:
· opt-in to thread safety (fd.o #33464)
· opt-in to thread safety (fdo#33464)
-------------------------------------------------------------------
Sun Jan 2 12:54:14 UTC 2011 - javier@opensuse.org

View File

@ -49,7 +49,7 @@ BuildRequires: pkgconfig(libsystemd-login)
BuildRequires: libexpat-devel
BuildRequires: libtool
BuildRequires: pkg-config
Version: 1.7.4
Version: 1.7.6
Release: 0
#
Source0: http://dbus.freedesktop.org/releases/dbus/%{_name}-%{version}.tar.gz
@ -62,8 +62,6 @@ Patch0: dbus-log-deny.patch
Patch1: dbus-do-autolaunch.patch
# PATCH-FIX-OPENSUSE hpj@suse.com bnc#802525 - Avoid clients hanging after move to /run
Patch2: dbus-fall-back-to-old-run-directory.patch
# PATCH-FIX-UPSTREAM 0001-_dbus_babysitter_unref-avoid-infinite-loop-if-waitpi.patch (fdo#68945, bnc#782909)
Patch3: 0001-_dbus_babysitter_unref-avoid-infinite-loop-if-waitpi.patch
%bcond_without selinux
%if %{with selinux}
BuildRequires: libselinux-devel
@ -120,7 +118,6 @@ bus daemon).
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
autoreconf -fi

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f9421a54a15d858f6a394b520c8d8645e484887210d082a83e0f6ead7945549e
size 1872019

3
dbus-1.7.6.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1fb29fdd6dcf21265aaa24d961952067e9c67e67b8b069e5a8b28d785c408707
size 1884542

View File

@ -1,3 +1,124 @@
-------------------------------------------------------------------
Wed Oct 9 18:52:01 UTC 2013 - hrvoje.senjan@gmail.com
- Update to 1.7.6
+ Build-time configuration changes:
- Directory change notification via dnotify on Linux is no
longer supported; it hadn't compiled successfully since 2010
in any case. If you don't have inotify (Linux) or kqueue (*BSD),
you will need to send SIGHUP to the dbus-daemon when its
configuration changes. (fdo#33001)
- Compiling with --disable-userdb-cache is no longer supported;
it didn't work since at least 2008, and would lead to an
extremely slow dbus-daemon even it worked.
(fdo#15589,fdo#17133,fdo#66947)
- The DBUS_DISABLE_ASSERTS CMake option didn't actually disable
most assertions. It has been renamed to DBUS_DISABLE_ASSERT
to be consistent with the Autotools build system. (fdo#66142)
- --with-valgrind=auto enables Valgrind instrumentation if and only
if valgrind headers are available. The default is still
--with-valgrind=no. (fdo#56925)
+ Dependencies:
- Platforms with no 64-bit integer type are no longer supported.
(fdo#65429)
- GNU make is now (documented to be) required. (fdo#48277)
- Full test coverage no longer requires dbus-glib, although the
tests do not exercise the shared library (only a static copy)
if dbus-glib is missing. (fdo#68852)
+ Enhancements:
- D-Bus Specification 0.22
- Document GetAdtAuditSessionData() and
GetConnectionSELinuxSecurityContext() (fdo#54445)
- Fix example .service file (fdo#66481)
- Don't claim D-Bus is "low-latency" (lower than what?), just
give factual statements about it supporting async use (fdo#65141)
- Document the contents of .service files, and the fact that
system services' filenames are constrained (fdo#66608)
- Be thread-safe by default on all platforms, even if
dbus_threads_init_default() has not been called. For
compatibility with older libdbus, library users should
continue to call dbus_threads_init_default(): it is
harmless to do so. (fdo#54972)
- Add GetConnectionCredentials() method (fdo#54445)
- New API: dbus_setenv(), a simple wrapper around setenv().
Note that this is not thread-safe. (fdo#39196,)
- Add dbus-send --peer=ADDRESS (connect to a given peer-to-peer
connection, like --address=ADDRESS in previous versions) and
dbus-send --bus=ADDRESS (connect to a given bus, like
dbus-monitor --address=ADDRESS). dbus-send --address still
exists for backwards compatibility, but is no longer documented.
(fdo#48816)
+ Fixes:
- Avoid an infinite busy-loop if a signal interrupts waitpid()
(fdo#68945)
- Clean up memory for parent nodes when objects are unexported
(fdo#60176)
- Make dbus_connection_set_route_peer_messages(x, FALSE) behave
as documented. Previously, it assumed its second
parameter was TRUE. (fdo#69165)
- Escape addresses containing non-ASCII characters correctly
(fdo#53499)
- Document <servicedir> search order correctly (fdo#66994)
- Don't crash on "dbus-send --session / x.y.z" which regressed
in 1.7.4. (fdo#65923)
- If malloc() returns NULL in _dbus_string_init() or similar,
don't free an invalid pointer if the string is later freed
(fdo#65959)
- If malloc() returns NULL in dbus_set_error(), don't va_end()
a va_list that was never va_start()ed (fdo#66300)
- fix build failure with --enable-stats (fdo#66004)
- fix a regression test on platforms with strict alignment
(fdo#67279)
- Avoid calling function parameters "interface" since certain
Windows headers have a namespace-polluting macro of that name
(fdo#66493)
- Assorted Doxygen fixes (fdo#65755)
- Various thread-safety improvements to static variables
(fdo#68610)
- Make "make -j check" work (fdo#68852)
- Fix a NULL pointer dereference on an unlikely error path
(fdo#69327)
- Improve valgrind memory pool tracking (fdo#69326)
- Don't over-allocate memory in dbus-monitor (fdo#69329)
- dbus-monitor can monitor dbus-daemon < 1.5.6 again
(fdo#66107)
+ Unix-specific:
- If accept4() fails with EINVAL, as it can on older Linux
kernels with newer glibc, try accept() instead of going
into a busy-loop. (fdo#69026)
- If socket() or socketpair() fails with EINVAL or EPROTOTYPE,
for instance on Hurd or older Linux with a new glibc, try
without SOCK_CLOEXEC. (fdo#69073)
- Fix a file descriptor leak on an error code path.
(fdo#69182)
- dbus-run-session: clear some unwanted environment variables
(fdo#39196)
- dbus-run-session: compile on FreeBSD (fdo#66197)
- Don't fail the autolaunch test if there is no DISPLAY
(fdo#40352)
- Use dbus-launch from the builddir for testing, not the
installed copy (fdo#37849)
- Fix compilation if writev() is unavailable (fdo#69409)
- Remove broken support for LOCAL_CREDS credentials passing, and
document where each credential-passing scheme is used
(fdo#60340)
- Make autogen.sh work on *BSD by not assuming GNU coreutils
functionality (fdo#35881, fdo#69787)
- dbus-monitor: be portable to NetBSD (fdo#69842)
- dbus-launch: stop using non-portable asprintf (fdo#37849)
- Improve error reporting from the setuid activation helper
(fdo#66728)
+ Internal changes:
- add DBUS_ENABLE_ASSERT, DBUS_ENABLE_CHECKS for less confusing
conditionals (fdo#66142)
- improve verbose-mode output (fdo#63047)
- consolidate Autotools and CMake build (fdo#64875)
- fix various unused variables, unusual build configurations etc.
(fdo#65712, fdo#65990, fdo#66005, fdo#66257, fdo#69165, fdo#69410,
fdo#70218)
- Dropped 0001-_dbus_babysitter_unref-avoid-infinite-loop-if-waitpi.patch,
included in this release
-------------------------------------------------------------------
Mon Oct 7 08:18:23 UTC 2013 - fridrich.strba@suse.com
@ -132,31 +253,31 @@ Changes since 1.5.12
changes to gnome-keyring, use of __secure_getenv() is
deferred.
• CVE-2012-3524: Don't access environment variables (fd.o #52202)
• CVE-2012-3524: Don't access environment variables (fdo#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)
(fdo#51521, Dave Reisner)
• Remove an incorrect assertion from DBusTransport (fd.o #51657,
• Remove an incorrect assertion from DBusTransport (fdo#51657,
Simon McVittie)
• Change how we create /var/lib/dbus so it works under Automake >= 1.11.4
(fd.o #51406, Simon McVittie)
(fdo#51406, Simon McVittie)
• Don't return from dbus_pending_call_set_notify with a lock held on OOM
(fd.o #51032, Simon McVittie)
(fdo#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)
(fdo#34671, Simon McVittie)
• Unix-specific:
· Check for libpthread under CMake on Unix (fd.o #47237, Simon McVittie)
· Check for libpthread under CMake on Unix (fdo#47237, Simon McVittie)
• New requirements
· PTHREAD_MUTEX_RECURSIVE on Unix
@ -196,14 +317,14 @@ Changes since 1.5.12
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)
spec-compliance (fdo#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)
non-root when using OpenBSD install(1) (fdo#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)
(fdo#45896, Simon McVittie)
-------------------------------------------------------------------
Fri Nov 16 12:56:04 UTC 2012 - dimstar@opensuse.org
@ -292,25 +413,25 @@ Wed Mar 28 09:19:14 CEST 2012 - thoenig@suse.de
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)
(fdo#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
invent their own "union of everything" type (fdo#11191, Simon
McVittie)
- Enumerate data files included in the build rather than using
find(1) (fd.o #33840, Simon McVittie)
find(1) (fdo#33840, Simon McVittie)
- Add support for policy rules like
<allow own_prefix="com.example.Service"/> in dbus-daemon
(fd.o #46273, Alban Crequy)
(fdo#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
again on Win32, but not on WinCE (fdo#46049, Simon
McVittie)
- fix duplicate case value when compiling against mingw-w64
(fd.o #47321, Andoni Morales Alastruey)
(fdo#47321, Andoni Morales Alastruey)
-------------------------------------------------------------------
Mon Feb 27 10:18:53 UTC 2012 - vuntz@opensuse.org
@ -419,11 +540,11 @@ Wed Oct 12 00:32:50 CEST 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)
(fdo#39231, fdo#41012; Simon McVittie)
* Add a regression test for fdo#38005 (fdo#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)
a service file entry for activation (fdo#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)
@ -597,48 +718,48 @@ Fri Apr 15 14:35:44 CEST 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)
(fdo#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,
and document it better (fdo#31818, Will Thompson)
• Let the bus daemon implement more than one interface (fdo#33757,
Simon McVittie)
• Optimize _dbus_string_replace_len to reduce waste (fd.o #21261,
• Optimize _dbus_string_replace_len to reduce waste (fdo#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)
(fdo#35114, Simon McVittie)
• Add dbus_type_is_valid as public API (fdo#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)
to unknown interfaces in the bus daemon (fdo#34527, Lennart Poettering)
-------------------------------------------------------------------
Fri Apr 8 16:41:57 CEST 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,
(fdo#32245; Javier Jardón, Simon McVittie)
• Correctly give XDG_DATA_HOME priority over XDG_DATA_DIRS (fdo#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,
in embedded environments (fdo#19997, NB#219964; Simon McVittie)
• Install the documentation, and an index for Devhelp (fdo#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)
booleans when sending them (fdo#16338, NB#223152; Simon McVittie)
• Add UnknownObject, UnknownInterface, UnknownProperty and PropertyReadOnly
errors to dbus-shared.h (fd.o #34527, Lennart Poettering)
errors to dbus-shared.h (fdo#34527, Lennart Poettering)
• Break up a huge conditional in config-parser so gcov can produce coverage
data (fd.o #10887, Simon McVittie)
data (fdo#10887, Simon McVittie)
• List which parts of the Desktop Entry specification are applicable to
.service files (fd.o #19159, Sven Herzberg)
.service files (fdo#19159, Sven Herzberg)
• Don't suppress service activation if two services have the same Exec=
(fd.o #35750, Colin Walters)
(fdo#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)
(fdo#32805, Mark Brand)
-------------------------------------------------------------------
Wed Mar 9 13:23:09 UTC 2011 - coolo@novell.com
@ -651,37 +772,37 @@ Wed Mar 9 13:23:09 UTC 2011 - coolo@novell.com
• 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
which could result in a busy-loop (fdo#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)
• Fix failure to detect abstract socket support (fdo#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)
(fdo#32262, NB#180486)
• Improve some error code paths (fdo#29981, fdo#32264, fdo#32262,
fdo#33128, fdo#33277, fdo#33126, NB#180486)
• Avoid possible symlink attacks in /tmp during compilation (fdo#32854)
• Tidy up dead code (fdo#25306, fdo#33128, fdo#34292, NB#180486)
• Improve gcc malloc annotations (fdo#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,
• Documentation improvements (fdo#11190)
• Avoid readdir_r, which is difficult to use correctly (fdo#8284,
fdo#15922, LP#241619)
• Cope with invalid files in session.d, system.d (fdo#19186,
Debian #230231)
• Don't distribute generated files that embed our builddir (fd.o #30285,
fd.o #34292)
• Don't distribute generated files that embed our builddir (fdo#30285,
fdo#34292)
• Raise the system bus's fd limit to be sufficient for its configuration
(fd.o #33474, LP#381063)
(fdo#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)
with lcov HTML reports and --enable-compiler-coverage (fdo#10887)
• Windows:
· avoid live-lock in Windows CE due to unfair condition variables
• OpenBSD:
· support credentials-passing (fd.o #32542)
· support credentials-passing (fdo#32542)
• Solaris:
· opt-in to thread safety (fd.o #33464)
· opt-in to thread safety (fdo#33464)
-------------------------------------------------------------------
Sun Jan 2 12:54:14 UTC 2011 - javier@opensuse.org

View File

@ -44,7 +44,7 @@ BuildRequires: pkgconfig(libsystemd-login)
BuildRequires: libexpat-devel
BuildRequires: libtool
BuildRequires: pkg-config
Version: 1.7.4
Version: 1.7.6
Release: 0
#
Source0: http://dbus.freedesktop.org/releases/dbus/%{_name}-%{version}.tar.gz
@ -57,8 +57,6 @@ Patch0: dbus-log-deny.patch
Patch1: dbus-do-autolaunch.patch
# PATCH-FIX-OPENSUSE hpj@suse.com bnc#802525 - Avoid clients hanging after move to /run
Patch2: dbus-fall-back-to-old-run-directory.patch
# PATCH-FIX-UPSTREAM 0001-_dbus_babysitter_unref-avoid-infinite-loop-if-waitpi.patch (fdo#68945, bnc#782909)
Patch3: 0001-_dbus_babysitter_unref-avoid-infinite-loop-if-waitpi.patch
%bcond_without selinux
%if %{with selinux}
BuildRequires: libselinux-devel
@ -108,7 +106,6 @@ bus daemon).
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
autoreconf -fi