Hello community, here is the log from the commit of package dbus-1 for openSUSE:Factory checked in at 2015-12-09 19:33:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dbus-1 (Old) and /work/SRC/openSUSE:Factory/.dbus-1.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dbus-1" Changes: -------- --- /work/SRC/openSUSE:Factory/dbus-1/dbus-1-x11.changes 2015-12-03 13:28:39.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.dbus-1.new/dbus-1-x11.changes 2015-12-09 19:33:12.000000000 +0100 @@ -1,0 +2,16 @@ +Thu Dec 3 14:48:58 UTC 2015 - [email protected] + +- Update to 1.10.6 + * Fixes: + - On Unix when running tests as root, don't assert that root + and the dbus-daemon user can still call + UpdateActivationEnvironment; assert that those privileged + users can call BecomeMonitor instead (fdo#93036, Simon + McVittie) + - On Windows, fix a memory leak in the autolaunch transport + (fdo#92899, Simon McVittie) + - On Windows Autotools builds, don't run tests that rely on + dbus-run-session and other Unix-specifics (fdo#92899, Simon + McVittie) + +------------------------------------------------------------------- dbus-1.changes: same change Old: ---- dbus-1.10.4.tar.gz New: ---- dbus-1.10.6.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dbus-1-x11.spec ++++++ --- /var/tmp/diff_new_pack.84VRY0/_old 2015-12-09 19:33:14.000000000 +0100 +++ /var/tmp/diff_new_pack.84VRY0/_new 2015-12-09 19:33:14.000000000 +0100 @@ -27,7 +27,7 @@ Url: http://dbus.freedesktop.org/ # COMMON1-BEGIN # COMMON1-BEGIN -Version: 1.10.4 +Version: 1.10.6 Release: 0 Source0: http://dbus.freedesktop.org/releases/dbus/%{_name}-%{version}.tar.gz Source2: dbus-1.desktop ++++++ dbus-1.spec ++++++ --- /var/tmp/diff_new_pack.84VRY0/_old 2015-12-09 19:33:14.000000000 +0100 +++ /var/tmp/diff_new_pack.84VRY0/_new 2015-12-09 19:33:14.000000000 +0100 @@ -28,7 +28,7 @@ Url: http://dbus.freedesktop.org/ # WARNING don't use cosmetic beautifiers. it will break the specs after calling pre_checkin script. we don't need to be pretty, but efficient # COMMON1-BEGIN -Version: 1.10.4 +Version: 1.10.6 Release: 0 Source0: http://dbus.freedesktop.org/releases/dbus/%{_name}-%{version}.tar.gz Source2: dbus-1.desktop ++++++ dbus-1.10.4.tar.gz -> dbus-1.10.6.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dbus-1.10.4/NEWS new/dbus-1.10.6/NEWS --- old/dbus-1.10.4/NEWS 2015-11-17 22:40:20.000000000 +0100 +++ new/dbus-1.10.6/NEWS 2015-12-01 19:18:47.000000000 +0100 @@ -1,3 +1,21 @@ +D-Bus 1.10.6 (2015-12-01) +== + +The “marzipan beetles” release. + +Fixes: + +• On Unix when running tests as root, don't assert that root and + the dbus-daemon user can still call UpdateActivationEnvironment; + assert that those privileged users can call BecomeMonitor instead + (fd.o #93036, Simon McVittie) + +• On Windows, fix a memory leak in the autolaunch transport (fd.o #92899, + Simon McVittie) + +• On Windows Autotools builds, don't run tests that rely on + dbus-run-session and other Unix-specifics (fd.o #92899, Simon McVittie) + D-Bus 1.10.4 (2015-11-17) == diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dbus-1.10.4/configure new/dbus-1.10.6/configure --- old/dbus-1.10.4/configure 2015-11-17 22:41:20.000000000 +0100 +++ new/dbus-1.10.6/configure 2015-12-01 19:19:30.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for dbus 1.10.4. +# Generated by GNU Autoconf 2.69 for dbus 1.10.6. # # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=dbus>. # @@ -591,8 +591,8 @@ # Identity of this package. PACKAGE_NAME='dbus' PACKAGE_TARNAME='dbus' -PACKAGE_VERSION='1.10.4' -PACKAGE_STRING='dbus 1.10.4' +PACKAGE_VERSION='1.10.6' +PACKAGE_STRING='dbus 1.10.6' PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=dbus' PACKAGE_URL='' @@ -1547,7 +1547,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures dbus 1.10.4 to adapt to many kinds of systems. +\`configure' configures dbus 1.10.6 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1622,7 +1622,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of dbus 1.10.4:";; + short | recursive ) echo "Configuration of dbus 1.10.6:";; esac cat <<\_ACEOF @@ -1829,7 +1829,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -dbus configure 1.10.4 +dbus configure 1.10.6 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2605,7 +2605,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by dbus $as_me 1.10.4, which was +It was created by dbus $as_me 1.10.6, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3548,7 +3548,7 @@ # Define the identity of the package. PACKAGE='dbus' - VERSION='1.10.4' + VERSION='1.10.6' cat >>confdefs.h <<_ACEOF @@ -3848,7 +3848,7 @@ ## increment any time the source changes; set to ## 0 if you increment CURRENT -LT_REVISION=5 +LT_REVISION=6 ## increment if any interfaces have been added; set to 0 ## if any interfaces have been changed or removed. removal has @@ -3863,8 +3863,8 @@ DBUS_MAJOR_VERSION=1 DBUS_MINOR_VERSION=10 -DBUS_MICRO_VERSION=4 -DBUS_VERSION=1.10.4 +DBUS_MICRO_VERSION=6 +DBUS_VERSION=1.10.6 @@ -24075,7 +24075,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by dbus $as_me 1.10.4, which was +This file was extended by dbus $as_me 1.10.6, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -24141,7 +24141,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -dbus config.status 1.10.4 +dbus config.status 1.10.6 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dbus-1.10.4/configure.ac new/dbus-1.10.6/configure.ac --- old/dbus-1.10.4/configure.ac 2015-11-17 22:29:19.000000000 +0100 +++ new/dbus-1.10.6/configure.ac 2015-12-01 19:19:08.000000000 +0100 @@ -3,7 +3,7 @@ m4_define([dbus_major_version], [1]) m4_define([dbus_minor_version], [10]) -m4_define([dbus_micro_version], [4]) +m4_define([dbus_micro_version], [6]) m4_define([dbus_version], [dbus_major_version.dbus_minor_version.dbus_micro_version]) AC_INIT([dbus],[dbus_version],[https://bugs.freedesktop.org/enter_bug.cgi?product=dbus],[dbus]) @@ -38,7 +38,7 @@ ## increment any time the source changes; set to ## 0 if you increment CURRENT -LT_REVISION=5 +LT_REVISION=6 ## increment if any interfaces have been added; set to 0 ## if any interfaces have been changed or removed. removal has diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dbus-1.10.4/dbus/dbus-sysdeps-win.c new/dbus-1.10.6/dbus/dbus-sysdeps-win.c --- old/dbus-1.10.4/dbus/dbus-sysdeps-win.c 2015-11-17 21:28:51.000000000 +0100 +++ new/dbus-1.10.6/dbus/dbus-sysdeps-win.c 2015-11-23 22:53:42.000000000 +0100 @@ -3199,6 +3199,7 @@ _DBUS_ASSERT_ERROR_IS_SET (error); _dbus_global_unlock (mutex); + _dbus_string_free (&shm_name); return retval; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dbus-1.10.4/doc/Makefile.in new/dbus-1.10.6/doc/Makefile.in --- old/dbus-1.10.4/doc/Makefile.in 2015-11-17 22:41:20.000000000 +0100 +++ new/dbus-1.10.6/doc/Makefile.in 2015-12-01 19:19:29.000000000 +0100 @@ -722,8 +722,8 @@ maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -@DBUS_DOXYGEN_DOCS_ENABLED_FALSE@install-data-local: @DBUS_DOXYGEN_DOCS_ENABLED_FALSE@uninstall-local: +@DBUS_DOXYGEN_DOCS_ENABLED_FALSE@install-data-local: clean: clean-am clean-am: clean-generic clean-libtool clean-local mostlyclean-am diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dbus-1.10.4/test/name-test/Makefile.am new/dbus-1.10.6/test/name-test/Makefile.am --- old/dbus-1.10.4/test/name-test/Makefile.am 2015-09-30 16:48:40.000000000 +0200 +++ new/dbus-1.10.6/test/name-test/Makefile.am 2015-11-23 22:47:51.000000000 +0100 @@ -15,7 +15,10 @@ ## note that TESTS has special meaning (stuff to use in make check) ## so if adding tests not to be run in make check, don't add them to ## TESTS +TESTS = + if DBUS_ENABLE_EMBEDDED_TESTS +if DBUS_UNIX AM_TESTS_ENVIRONMENT = \ export DBUS_TOP_BUILDDIR=@abs_top_builddir@; \ export DBUS_TOP_SRCDIR=@abs_top_srcdir@; \ @@ -25,9 +28,11 @@ export XDG_RUNTIME_DIR=@abs_top_builddir@/test/XDG_RUNTIME_DIR; \ $(NULL) -TESTS=run-test.sh run-test-systemserver.sh -else -TESTS= +TESTS += \ + run-test.sh \ + run-test-systemserver.sh \ + $(NULL) +endif endif EXTRA_DIST=run-test.sh run-test-systemserver.sh test-wait-for-echo.py test-activation-forking.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dbus-1.10.4/test/name-test/Makefile.in new/dbus-1.10.6/test/name-test/Makefile.in --- old/dbus-1.10.4/test/name-test/Makefile.in 2015-11-17 22:41:21.000000000 +0100 +++ new/dbus-1.10.6/test/name-test/Makefile.in 2015-12-01 19:19:29.000000000 +0100 @@ -88,8 +88,12 @@ POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ -@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@TESTS = run-test.sh \ -@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@ run-test-systemserver.sh +TESTS = $(am__EXEEXT_1) +@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@@DBUS_UNIX_TRUE@am__append_1 = \ +@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@@DBUS_UNIX_TRUE@ run-test.sh \ +@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@@DBUS_UNIX_TRUE@ run-test-systemserver.sh \ +@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@@DBUS_UNIX_TRUE@ $(NULL) + @DBUS_ENABLE_EMBEDDED_TESTS_TRUE@noinst_PROGRAMS = test-pending-call-dispatch$(EXEEXT) \ @DBUS_ENABLE_EMBEDDED_TESTS_TRUE@ test-pending-call-timeout$(EXEEXT) \ @DBUS_ENABLE_EMBEDDED_TESTS_TRUE@ test-threads-init$(EXEEXT) \ @@ -400,6 +404,9 @@ bases=`echo $$bases` RECHECK_LOGS = $(TEST_LOGS) AM_RECURSIVE_TARGETS = check recheck +@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@@DBUS_UNIX_TRUE@am__EXEEXT_1 = \ +@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@@DBUS_UNIX_TRUE@ run-test.sh \ +@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@@DBUS_UNIX_TRUE@ run-test-systemserver.sh TEST_SUITE_LOG = test-suite.log am__test_logs1 = $(TESTS:=.log) am__test_logs2 = $(am__test_logs1:@[email protected]=.log) @@ -647,14 +654,14 @@ TEST_EXTENSIONS = .sh SH_LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) $(top_srcdir)/build-aux/tap-driver.sh SH_LOG_COMPILER = $(SHELL) -@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@AM_TESTS_ENVIRONMENT = \ -@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@ export DBUS_TOP_BUILDDIR=@abs_top_builddir@; \ -@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@ export DBUS_TOP_SRCDIR=@abs_top_srcdir@; \ -@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@ export PYTHON=@PYTHON@; \ -@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@ export DBUS_TEST_DATA=@abs_top_builddir@/test/data; \ -@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@ export DBUS_TEST_DAEMON=@abs_top_builddir@/bus/dbus-daemon$(EXEEXT); \ -@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@ export XDG_RUNTIME_DIR=@abs_top_builddir@/test/XDG_RUNTIME_DIR; \ -@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@ $(NULL) +@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@@DBUS_UNIX_TRUE@AM_TESTS_ENVIRONMENT = \ +@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@@DBUS_UNIX_TRUE@ export DBUS_TOP_BUILDDIR=@abs_top_builddir@; \ +@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@@DBUS_UNIX_TRUE@ export DBUS_TOP_SRCDIR=@abs_top_srcdir@; \ +@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@@DBUS_UNIX_TRUE@ export PYTHON=@PYTHON@; \ +@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@@DBUS_UNIX_TRUE@ export DBUS_TEST_DATA=@abs_top_builddir@/test/data; \ +@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@@DBUS_UNIX_TRUE@ export DBUS_TEST_DAEMON=@abs_top_builddir@/bus/dbus-daemon$(EXEEXT); \ +@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@@DBUS_UNIX_TRUE@ export XDG_RUNTIME_DIR=@abs_top_builddir@/test/XDG_RUNTIME_DIR; \ +@DBUS_ENABLE_EMBEDDED_TESTS_TRUE@@DBUS_UNIX_TRUE@ $(NULL) EXTRA_DIST = run-test.sh run-test-systemserver.sh test-wait-for-echo.py test-activation-forking.py @DBUS_ENABLE_EMBEDDED_TESTS_TRUE@test_pending_call_dispatch_LDADD = $(top_builddir)/dbus/libdbus-1.la diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dbus-1.10.4/test/uid-permissions.c new/dbus-1.10.6/test/uid-permissions.c --- old/dbus-1.10.4/test/uid-permissions.c 2015-09-30 16:48:40.000000000 +0200 +++ new/dbus-1.10.6/test/uid-permissions.c 2015-11-23 22:47:51.000000000 +0100 @@ -141,6 +141,71 @@ } static void +test_monitor (Fixture *f, + gconstpointer context) +{ + const Config *config = context; + DBusMessage *m; + DBusPendingCall *pc; + DBusMessageIter args_iter; + DBusMessageIter arr_iter; + dbus_uint32_t no_flags = 0; + + if (f->skip) + return; + + m = dbus_message_new_method_call (DBUS_SERVICE_DBUS, + DBUS_PATH_DBUS, DBUS_INTERFACE_MONITORING, "BecomeMonitor"); + + if (m == NULL) + g_error ("OOM"); + + dbus_message_iter_init_append (m, &args_iter); + + /* Append an empty as (string array). */ + if (!dbus_message_iter_open_container (&args_iter, DBUS_TYPE_ARRAY, + "s", &arr_iter) || + !dbus_message_iter_close_container (&args_iter, &arr_iter) || + !dbus_message_iter_append_basic (&args_iter, + DBUS_TYPE_UINT32, &no_flags)) + g_error ("OOM"); + + if (!dbus_connection_send_with_reply (f->conn, m, &pc, + DBUS_TIMEOUT_USE_DEFAULT) || + pc == NULL) + g_error ("OOM"); + + dbus_message_unref (m); + m = NULL; + + if (dbus_pending_call_get_completed (pc)) + test_pending_call_store_reply (pc, &m); + else if (!dbus_pending_call_set_notify (pc, test_pending_call_store_reply, + &m, NULL)) + g_error ("OOM"); + + while (m == NULL) + test_main_context_iterate (f->ctx, TRUE); + + if (config->expect_success) + { + /* it succeeds */ + g_assert_cmpint (dbus_message_get_type (m), ==, + DBUS_MESSAGE_TYPE_METHOD_RETURN); + } + else + { + /* it fails, yielding an error message with one string argument */ + g_assert_cmpint (dbus_message_get_type (m), ==, DBUS_MESSAGE_TYPE_ERROR); + g_assert_cmpstr (dbus_message_get_error_name (m), ==, + DBUS_ERROR_ACCESS_DENIED); + g_assert_cmpstr (dbus_message_get_signature (m), ==, "s"); + } + + dbus_message_unref (m); +} + +static void teardown (Fixture *f, gconstpointer context G_GNUC_UNUSED) { @@ -188,12 +253,22 @@ { test_init (&argc, &argv); - g_test_add ("/uid-permissions/uae/root", Fixture, &root_ok_config, - setup, test_uae, teardown); - g_test_add ("/uid-permissions/uae/messagebus", Fixture, &messagebus_ok_config, - setup, test_uae, teardown); + /* UpdateActivationEnvironment used to be allowed by dbus-daemon for root + * and messagebus but not for other users (although system.conf forbids it + * for everyone, and it's useless). It is now hard-coded to fail on a + * system bus for everyone, so don't assert that root and messagebus + * may call it; continue to assert that it is denied for unprivileged + * users though. */ g_test_add ("/uid-permissions/uae/other", Fixture, &other_fail_config, setup, test_uae, teardown); + /* BecomeMonitor has the behaviour that UAE used to have. */ + g_test_add ("/uid-permissions/monitor/root", Fixture, &root_ok_config, + setup, test_monitor, teardown); + g_test_add ("/uid-permissions/monitor/messagebus", Fixture, &messagebus_ok_config, + setup, test_monitor, teardown); + g_test_add ("/uid-permissions/monitor/other", Fixture, &other_fail_config, + setup, test_monitor, teardown); + return g_test_run (); }
