Hello community, here is the log from the commit of package lightdm for openSUSE:Factory checked in at 2013-10-09 14:18:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lightdm (Old) and /work/SRC/openSUSE:Factory/.lightdm.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "lightdm" Changes: -------- --- /work/SRC/openSUSE:Factory/lightdm/lightdm.changes 2013-10-07 15:49:36.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.lightdm.new/lightdm.changes 2013-10-09 14:18:43.000000000 +0200 @@ -1,0 +2,6 @@ +Wed Oct 9 08:58:20 UTC 2013 - gber@opensuse.org + +- update to version 1.8.0 + - Add regression test for corrupt X authority files + +------------------------------------------------------------------- Old: ---- lightdm-1.7.18.tar.xz New: ---- lightdm-1.8.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lightdm.spec ++++++ --- /var/tmp/diff_new_pack.mbTX7y/_old 2013-10-09 14:18:49.000000000 +0200 +++ /var/tmp/diff_new_pack.mbTX7y/_new 2013-10-09 14:18:49.000000000 +0200 @@ -28,13 +28,13 @@ %endif Name: lightdm -Version: 1.7.18 +Version: 1.8.0 Release: 0 Summary: Lightweight, Cross-desktop Display Manager License: GPL-3.0+ Group: System/X11/Displaymanagers Url: http://www.freedesktop.org/wiki/Software/LightDM -Source0: https://launchpad.net/lightdm/1.7/%{version}/+download/%{name}-%{version}.tar.xz +Source0: https://launchpad.net/lightdm/1.8/%{version}/+download/%{name}-%{version}.tar.xz Source1: %{name}-greeter.pamd Source2: X11-displaymanagers-%{name} Source100: %{name}-rpmlintrc ++++++ lightdm-1.7.18.tar.xz -> lightdm-1.8.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lightdm-1.7.18/Makefile.in new/lightdm-1.8.0/Makefile.in --- old/lightdm-1.7.18/Makefile.in 2013-10-07 00:35:55.000000000 +0200 +++ new/lightdm-1.8.0/Makefile.in 2013-10-09 04:54:25.000000000 +0200 @@ -83,7 +83,7 @@ DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ $(top_srcdir)/configure $(am__configure_deps) \ $(srcdir)/config.h.in NEWS compile config.guess config.sub \ - install-sh missing ltmain.sh + depcomp install-sh missing ltmain.sh ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/gtk-doc.m4 \ $(top_srcdir)/m4/intltool.m4 $(top_srcdir)/m4/introspection.m4 \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lightdm-1.7.18/NEWS new/lightdm-1.8.0/NEWS --- old/lightdm-1.7.18/NEWS 2013-10-07 00:35:05.000000000 +0200 +++ new/lightdm-1.8.0/NEWS 2013-10-09 04:53:51.000000000 +0200 @@ -1,3 +1,7 @@ +Overview of changes in lightdm 1.8.0 + + * Add regression test for corrupt X authority files. + Overview of changes in lightdm 1.7.18 * Set session environment variables for guest sessions (1.7 regression). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lightdm-1.7.18/configure new/lightdm-1.8.0/configure --- old/lightdm-1.7.18/configure 2013-10-07 00:35:52.000000000 +0200 +++ new/lightdm-1.8.0/configure 2013-10-09 04:54:23.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for lightdm 1.7.18. +# Generated by GNU Autoconf 2.69 for lightdm 1.8.0. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -587,8 +587,8 @@ # Identity of this package. PACKAGE_NAME='lightdm' PACKAGE_TARNAME='lightdm' -PACKAGE_VERSION='1.7.18' -PACKAGE_STRING='lightdm 1.7.18' +PACKAGE_VERSION='1.8.0' +PACKAGE_STRING='lightdm 1.8.0' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1464,7 +1464,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 lightdm 1.7.18 to adapt to many kinds of systems. +\`configure' configures lightdm 1.8.0 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1534,7 +1534,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of lightdm 1.7.18:";; + short | recursive ) echo "Configuration of lightdm 1.8.0:";; esac cat <<\_ACEOF @@ -1706,7 +1706,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -lightdm configure 1.7.18 +lightdm configure 1.8.0 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2192,7 +2192,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by lightdm $as_me 1.7.18, which was +It was created by lightdm $as_me 1.8.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3058,7 +3058,7 @@ # Define the identity of the package. PACKAGE='lightdm' - VERSION='1.7.18' + VERSION='1.8.0' cat >>confdefs.h <<_ACEOF @@ -19005,7 +19005,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by lightdm $as_me 1.7.18, which was +This file was extended by lightdm $as_me 1.8.0, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -19071,7 +19071,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -lightdm config.status 1.7.18 +lightdm config.status 1.8.0 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/lightdm-1.7.18/configure.ac new/lightdm-1.8.0/configure.ac --- old/lightdm-1.7.18/configure.ac 2013-10-07 00:33:30.000000000 +0200 +++ new/lightdm-1.8.0/configure.ac 2013-10-09 04:52:59.000000000 +0200 @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(lightdm, 1.7.18) +AC_INIT(lightdm, 1.8.0) AC_CONFIG_MACRO_DIR(m4) AC_CONFIG_HEADER(config.h) AM_INIT_AUTOMAKE([1.11 no-dist-gzip dist-xz foreign]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lightdm-1.7.18/tests/Makefile.am new/lightdm-1.8.0/tests/Makefile.am --- old/lightdm-1.7.18/tests/Makefile.am 2013-10-04 02:07:38.000000000 +0200 +++ new/lightdm-1.8.0/tests/Makefile.am 2013-10-08 22:33:36.000000000 +0200 @@ -56,6 +56,7 @@ test-session-stderr-multi-write \ test-session-stderr-backup \ test-xauthority \ + test-corrupt-xauthority \ test-system-xauthority \ test-user-renamed \ test-user-renamed-invalid \ @@ -311,6 +312,7 @@ scripts/change-authentication.conf \ scripts/cancel-authentication.conf \ scripts/console-kit.conf \ + scripts/corrupt-xauthority.conf \ scripts/crash-authenticate.conf \ scripts/cred-error.conf \ scripts/cred-expired.conf \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lightdm-1.7.18/tests/Makefile.in new/lightdm-1.8.0/tests/Makefile.in --- old/lightdm-1.7.18/tests/Makefile.in 2013-10-07 00:35:57.000000000 +0200 +++ new/lightdm-1.8.0/tests/Makefile.in 2013-10-09 04:54:26.000000000 +0200 @@ -659,8 +659,8 @@ test-xdg-current-desktop test-xdg-seat test-language-env \ test-util-path test-session-stdout test-session-stderr \ test-session-stderr-multi-write test-session-stderr-backup \ - test-xauthority test-system-xauthority test-user-renamed \ - test-user-renamed-invalid test-users-gobject \ + test-xauthority test-corrupt-xauthority test-system-xauthority \ + test-user-renamed test-user-renamed-invalid test-users-gobject \ test-keyboard-layout test-no-keyboard-layout test-language \ test-no-language test-language-no-accounts-service \ test-login-crash-authenticate test-login-gobject \ @@ -784,6 +784,7 @@ scripts/change-authentication.conf \ scripts/cancel-authentication.conf \ scripts/console-kit.conf \ + scripts/corrupt-xauthority.conf \ scripts/crash-authenticate.conf \ scripts/cred-error.conf \ scripts/cred-expired.conf \ @@ -1583,6 +1584,13 @@ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ + "$$tst" $(AM_TESTS_FD_REDIRECT) +test-corrupt-xauthority.log: test-corrupt-xauthority + @p='test-corrupt-xauthority'; \ + b='test-corrupt-xauthority'; \ + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ + --log-file $$b.log --trs-file $$b.trs \ + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) test-system-xauthority.log: test-system-xauthority @p='test-system-xauthority'; \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lightdm-1.7.18/tests/scripts/corrupt-xauthority.conf new/lightdm-1.8.0/tests/scripts/corrupt-xauthority.conf --- old/lightdm-1.7.18/tests/scripts/corrupt-xauthority.conf 1970-01-01 01:00:00.000000000 +0100 +++ new/lightdm-1.8.0/tests/scripts/corrupt-xauthority.conf 2013-10-08 22:33:36.000000000 +0200 @@ -0,0 +1,36 @@ +# +# Check can login if existing corrupt authority present +# + +[SeatDefaults] +autologin-user=corrupt-xauth +user-session=default + +#?RUNNER DAEMON-START + +# X server starts +#?XSERVER-0 START VT=7 + +# Daemon connects when X server is ready +#?*XSERVER-0 INDICATE-READY +#?XSERVER-0 INDICATE-READY +#?XSERVER-0 ACCEPT-CONNECT + +# Session starts +#?SESSION-X-0 START XDG_SEAT=seat0 XDG_VTNR=7 DESKTOP_SESSION=default USER=corrupt-xauth +#?XSERVER-0 ACCEPT-CONNECT +#?SESSION-X-0 CONNECT-XSERVER + +# Check where the X authority is +#?*SESSION-X-0 READ-ENV NAME=XAUTHORITY +#?SESSION-X-0 READ-ENV NAME=XAUTHORITY VALUE=.*/home/corrupt-xauth/.Xauthority + +# Check has correct permissions +#?*SESSION-X-0 CHECK-X-AUTHORITY +#?SESSION-X-0 CHECK-X-AUTHORITY MODE=rw------- + +# Cleanup +#?*STOP-DAEMON +#?SESSION-X-0 TERMINATE SIGNAL=15 +#?XSERVER-0 TERMINATE SIGNAL=15 +#?RUNNER DAEMON-EXIT STATUS=0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lightdm-1.7.18/tests/src/test-runner.c new/lightdm-1.8.0/tests/src/test-runner.c --- old/lightdm-1.7.18/tests/src/test-runner.c 2013-08-24 06:26:23.000000000 +0200 +++ new/lightdm-1.8.0/tests/src/test-runner.c 2013-10-08 22:33:36.000000000 +0200 @@ -2069,6 +2069,8 @@ {"log-pam", "password", TRUE, "Log PAM", NULL, NULL, NULL, NULL, 1030}, /* This account shows multiple prompts on login */ {"multi-prompt", "password", TRUE, "Multi Prompt", NULL, NULL, NULL, NULL, 1031}, + /* This account has an existing corrupt X authority */ + {"corrupt-xauth", "password", TRUE, "Corrupt Xauthority", NULL, NULL, NULL, NULL, 1032}, {NULL, NULL, FALSE, NULL, NULL, NULL, NULL, NULL, 0} }; passwd_data = g_string_new (""); @@ -2123,6 +2125,17 @@ g_key_file_free (dmrc_file); + /* Write corrupt X authority file */ + if (strcmp (users[i].user_name, "corrupt-xauth") == 0) + { + gchar data[1] = { 0xFF }; + + path = g_build_filename (home_dir, users[i].user_name, ".Xauthority", NULL); + g_file_set_contents (path, data, 1, NULL); + chmod (path, S_IRUSR | S_IWUSR); + g_free (path); + } + /* Add passwd file entry */ g_string_append_printf (passwd_data, "%s:%s:%d:%d:%s:%s/home/%s:/bin/sh\n", users[i].user_name, users[i].password, users[i].uid, users[i].uid, users[i].real_name, temp_dir, users[i].user_name); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lightdm-1.7.18/tests/test-corrupt-xauthority new/lightdm-1.8.0/tests/test-corrupt-xauthority --- old/lightdm-1.7.18/tests/test-corrupt-xauthority 1970-01-01 01:00:00.000000000 +0100 +++ new/lightdm-1.8.0/tests/test-corrupt-xauthority 2013-10-08 22:33:36.000000000 +0200 @@ -0,0 +1,2 @@ +#!/bin/sh +./src/dbus-env ./src/test-runner corrupt-xauthority test-gobject-greeter -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org