Hello community, here is the log from the commit of package lightdm for openSUSE:Factory checked in at 2016-09-30 15:32:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2016-08-05 18:15:22.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.lightdm.new/lightdm.changes 2016-09-30 15:32:18.000000000 +0200 @@ -1,0 +2,42 @@ +Sun Sep 25 10:00:10 UTC 2016 - sor.ale...@meowr.ru + +- Update to version 1.19.4 (changes since 1.19.0): + * Rename "xlocal" seat type to "local". Using "xlocal" will + continue to work but will report a warning. + * Fix memory leaks. + * Fix uninitialised memory errors. + * Use MIR_SERVER_HOST_SOCKET instead of MIR_SOCKET to report + compositor socket to sessions. This used to work but no longer + works in Mir 0.21 + * Allow XMir to run on the xlocal seat using the new + x-server-backend=mir option. + * Use only a single compositor on local seats. + * Fix Mir greeter log filename having "(null)" in the name. + * Copy fcitx/mozc rules so session works when these aren't + installed. + * Revert lxsession change - it caused the AppArmor to fail to + compile. + * Add support for greeters running inside sessions. This is + enabled by setting X-LightDM-Allow-Greeter inside the session + .desktop file. + The session can then use liblightdm to connect one greeter to + the daemon. The communication is done using a socket + (/var/run/lightdm/<user>/greeter-socket) that is accessible to + any process ran by that user. Consider controlling access to + this socket using a MAC system such as AppArmor. + * Report errors for all liblightdm methods. This will require + existing greeters to update their API usage. The ABI is + unchanged. + * Handle EAGAIN correctly when daemons communicate with the + daemon. + * Drop support for mir-container sessions - no-one ever used these. + * Fix in-session greeters not working for greeter logins. + * Fix various issues in new in-session greeter code. + * Fix user list memory management exposed by use of in-session + greeters. + * Fix some spurious warnings in the log. +- Rebase lightdm-sysconfig-support.patch, + lightdm-xauthlocalhostname-support.patch. +- Use tarball signing. + +------------------------------------------------------------------- Old: ---- lightdm-1.19.0.tar.xz New: ---- lightdm-1.19.4.tar.xz lightdm-1.19.4.tar.xz.asc lightdm.keyring ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lightdm.spec ++++++ --- /var/tmp/diff_new_pack.mMFl7h/_old 2016-09-30 15:32:21.000000000 +0200 +++ /var/tmp/diff_new_pack.mMFl7h/_new 2016-09-30 15:32:21.000000000 +0200 @@ -27,22 +27,24 @@ %define typelibname typelib-1_0-LightDM-1 %define rundir /run Name: lightdm -Version: 1.19.0 +Version: 1.19.4 Release: 0 Summary: Lightweight, Cross-desktop Display Manager License: GPL-3.0+ Group: System/X11/Displaymanagers Url: https://freedesktop.org/wiki/Software/LightDM -Source0: https://launchpad.net/lightdm/%{ver_master}/%{version}/+download/%{name}-%{version}.tar.xz -Source1: %{name}-greeter.pamd -Source2: X11-displaymanagers-%{name} -Source3: gdmflexiserver -Source4: 50-suse-defaults.conf -Source5: users.conf +Source: https://launchpad.net/lightdm/%{ver_master}/%{version}/+download/%{name}-%{version}.tar.xz +Source1: https://launchpad.net/lightdm/%{ver_master}/%{version}/+download/%{name}-%{version}.tar.xz.asc +Source2: %{name}.keyring +Source3: %{name}-greeter.pamd +Source4: X11-displaymanagers-%{name} +Source5: gdmflexiserver +Source6: 50-suse-defaults.conf +Source7: users.conf Source100: %{name}-rpmlintrc # PATCH-FEATURE-OPENSUSE lightdm-sysconfig-support.patch g...@opensuse.org -- Adds support for reading configuration options from /etc/sysconfig/displaymanager and /etc/sysconfig/windowmanager Patch0: lightdm-sysconfig-support.patch -# PATCH-FEATURE-OPENSUSE lightdm-xauthlocalhostname-support.patch bnc#796230 g...@opensuse.org -- Set XAUTHLOCALHOSTNAME to the hostname for local logins to avoid issues in the session in case the hostname changes +# PATCH-FEATURE-OPENSUSE lightdm-xauthlocalhostname-support.patch boo#796230 g...@opensuse.org -- Set XAUTHLOCALHOSTNAME to the hostname for local logins to avoid issues in the session in case the hostname changes Patch1: lightdm-xauthlocalhostname-support.patch # PATCH-FEATURE-OPENSUSE lightdm-set-gdmflexiserver-envvar.patch g...@opensuse.org -- Sets the GDMFLEXISERVER environment variable for the gdmflexiserver wrapper Patch2: lightdm-set-gdmflexiserver-envvar.patch @@ -55,7 +57,7 @@ BuildRequires: intltool BuildRequires: libgcrypt-devel BuildRequires: pam-devel -BuildRequires: pkg-config +BuildRequires: pkgconfig BuildRequires: vala BuildRequires: xdm BuildRequires: pkgconfig(Qt5Core) @@ -66,7 +68,7 @@ BuildRequires: pkgconfig(QtGui) BuildRequires: pkgconfig(gio-2.0) >= 2.26 BuildRequires: pkgconfig(gio-unix-2.0) -BuildRequires: pkgconfig(glib-2.0) >= 2.30 +BuildRequires: pkgconfig(glib-2.0) >= 2.44 BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(gtk-doc) @@ -76,11 +78,11 @@ BuildRequires: pkgconfig(xdmcp) Requires: gdmflexiserver # 3rd party greeters don't have to follow -# the same versioning of lightdm +# the same versioning of lightdm. Requires: lightdm-greeter -# uses pam configuration and relies on scripts provided by xdm +# Uses pam configuration and relies on scripts provided by xdm. Requires: xdm -# Migrate users from lxdm to lightdm - we only obsolete up to version 0.5 +# Migrate users from lxdm to lightdm - we only obsolete up to version 0.5. Obsoletes: lxdm < 0.5 Requires(pre): pwdutils Recommends: %{name}-lang @@ -190,7 +192,7 @@ # Configuration is delivered in %%{_datadir}/lightdm/lightdm.conf.d rm %{buildroot}%{_sysconfdir}/lightdm/lightdm.conf -# Upstart configuration is not needed. +# upstart configuration is not needed. rm -rf %{buildroot}%{_sysconfdir}/init/ # There is no guest session support in openSUSE. @@ -220,13 +222,13 @@ install -d %{buildroot}%{_localstatedir}/log/lightdm install -d %{buildroot}%{rundir}/lightdm -install -Dm 0644 -p %{SOURCE1} %{buildroot}%{_sysconfdir}/pam.d/lightdm-greeter -install -Dm 0644 -p %{SOURCE2} %{buildroot}%{_libexecdir}/X11/displaymanagers/lightdm +install -Dpm 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/pam.d/lightdm-greeter +install -Dpm 0644 %{SOURCE4} %{buildroot}%{_libexecdir}/X11/displaymanagers/lightdm -install -Dm 0755 -p %{SOURCE3} %{buildroot}%{_libexecdir}/lightdm/gdmflexiserver +install -Dpm 0755 %{SOURCE5} %{buildroot}%{_libexecdir}/lightdm/gdmflexiserver -install -Dm 0644 -p %{SOURCE4} %{buildroot}%{_datadir}/lightdm/lightdm.conf.d/50-suse-defaults.conf -install -Dm 0644 -p %{SOURCE5} %{buildroot}%{_sysconfdir}/lightdm/users.conf +install -Dpm 0644 %{SOURCE6} %{buildroot}%{_datadir}/lightdm/lightdm.conf.d/50-suse-defaults.conf +install -Dpm 0644 %{SOURCE7} %{buildroot}%{_sysconfdir}/lightdm/users.conf %find_lang %{name} %{?no_lang_C} @@ -287,11 +289,11 @@ %{_datadir}/bash-completion/completions/dm-tool %{_datadir}/bash-completion/completions/lightdm %dir %{_datadir}/xgreeters/ -%ghost %attr(711,lightdm,lightdm) %dir %{rundir}/lightdm -%attr(750,lightdm,lightdm) %dir %{_localstatedir}/log/lightdm -%attr(750,lightdm,lightdm) %dir %{_localstatedir}/lib/lightdm -%attr(750,lightdm,lightdm) %dir %{_localstatedir}/lib/lightdm-data -%ghost %attr(711,root,root) %dir %{_localstatedir}/cache/lightdm +%ghost %attr(711,lightdm,lightdm) %dir %{rundir}/lightdm/ +%attr(750,lightdm,lightdm) %dir %{_localstatedir}/log/lightdm/ +%attr(750,lightdm,lightdm) %dir %{_localstatedir}/lib/lightdm/ +%attr(750,lightdm,lightdm) %dir %{_localstatedir}/lib/lightdm-data/ +%ghost %attr(711,root,root) %dir %{_localstatedir}/cache/lightdm/ %{_mandir}/man1/lightdm.1* %{_mandir}/man1/dm-tool.1* ++++++ lightdm-1.19.0.tar.xz -> lightdm-1.19.4.tar.xz ++++++ ++++ 10962 lines of diff (skipped) ++++++ lightdm-sysconfig-support.patch ++++++ --- /var/tmp/diff_new_pack.mMFl7h/_old 2016-09-30 15:32:21.000000000 +0200 +++ /var/tmp/diff_new_pack.mMFl7h/_new 2016-09-30 15:32:21.000000000 +0200 @@ -1,9 +1,7 @@ -retrieve configuration seetings from sysconfig files +Retrieve configuration seetings from sysconfig files. -Index: lightdm-1.17.3/data/lightdm.conf -=================================================================== ---- lightdm-1.17.3.orig/data/lightdm.conf -+++ lightdm-1.17.3/data/lightdm.conf +--- a/data/lightdm.conf ++++ b/data/lightdm.conf @@ -1,3 +1,30 @@ +# NOTE: settings under /etc/sysconfig take precendence over those below, +# specifically: @@ -35,25 +33,8 @@ # # General configuration # -Index: lightdm-1.17.3/src/Makefile.am -=================================================================== ---- lightdm-1.17.3.orig/src/Makefile.am -+++ lightdm-1.17.3/src/Makefile.am -@@ -71,7 +71,9 @@ lightdm_SOURCES = \ - xdmcp-server.h \ - xdmcp-session.c \ - xdmcp-session.h \ -- xdmcp-session-private.h -+ xdmcp-session-private.h \ -+ opensuse-sysconfig.c \ -+ opensuse-sysconfig.h - - lightdm_CFLAGS = \ - $(WARN_CFLAGS) \ -Index: lightdm-1.17.3/src/lightdm.c -=================================================================== ---- lightdm-1.17.3.orig/src/lightdm.c -+++ lightdm-1.17.3/src/lightdm.c +--- a/src/lightdm.c ++++ b/src/lightdm.c @@ -22,6 +22,7 @@ #include <errno.h> @@ -177,7 +158,7 @@ static void log_cb (const gchar *log_domain, GLogLevelFlags log_level, const gchar *message, gpointer data) { -@@ -1457,6 +1566,9 @@ main (int argc, char **argv) +@@ -1483,6 +1592,9 @@ main (int argc, char **argv) g_warning ("Failed to make cache directory %s: %s", dir, strerror (errno)); g_free (dir); @@ -187,10 +168,21 @@ log_init (); /* Show queued messages once logging is complete */ -Index: lightdm-1.17.3/src/opensuse-sysconfig.c -=================================================================== ---- /dev/null -+++ lightdm-1.17.3/src/opensuse-sysconfig.c +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -75,7 +75,9 @@ lightdm_SOURCES = \ + xdmcp-server.h \ + xdmcp-session.c \ + xdmcp-session.h \ +- xdmcp-session-private.h ++ xdmcp-session-private.h \ ++ opensuse-sysconfig.c \ ++ opensuse-sysconfig.h + + lightdm_CFLAGS = \ + $(WARN_CFLAGS) \ +-- /dev/null ++++ b/src/opensuse-sysconfig.c @@ -0,0 +1,380 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- + * @@ -572,10 +564,8 @@ + return boolean_value; +} + -Index: lightdm-1.17.3/src/opensuse-sysconfig.h -=================================================================== --- /dev/null -+++ lightdm-1.17.3/src/opensuse-sysconfig.h ++++ b/src/opensuse-sysconfig.h @@ -0,0 +1,50 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- + * @@ -627,12 +617,10 @@ +G_END_DECLS + +#endif /* __OPENSUSE_SYSCONFIG_H */ -Index: lightdm-1.17.3/src/seat.c -=================================================================== ---- lightdm-1.17.3.orig/src/seat.c -+++ lightdm-1.17.3/src/seat.c -@@ -1321,6 +1321,14 @@ create_greeter_session (Seat *seat) - greeter_set_pam_services (greeter_session, +--- a/src/seat.c ++++ b/src/seat.c +@@ -1342,6 +1342,14 @@ create_greeter_session (Seat *seat) + greeter_set_pam_services (greeter, seat_get_string_property (seat, "pam-service"), seat_get_string_property (seat, "pam-autologin-service")); + if (config_get_boolean (config_get_instance (), "LightDM", "password-less-login")) @@ -643,10 +631,10 @@ + greeter_set_pam_services (greeter_session, + seat_get_string_property (seat, "pam-service"), + seat_get_string_property (seat, "pam-autologin-service")); - g_signal_connect (greeter_session, GREETER_SIGNAL_CREATE_SESSION, G_CALLBACK (greeter_create_session_cb), seat); - g_signal_connect (greeter_session, GREETER_SIGNAL_START_SESSION, G_CALLBACK (greeter_start_session_cb), seat); + g_signal_connect (greeter, GREETER_SIGNAL_CREATE_SESSION, G_CALLBACK (greeter_create_session_cb), seat); + g_signal_connect (greeter, GREETER_SIGNAL_START_SESSION, G_CALLBACK (greeter_start_session_cb), seat); -@@ -1548,7 +1556,10 @@ seat_switch_to_user (Seat *seat, const g +@@ -1590,7 +1598,10 @@ seat_switch_to_user (Seat *seat, const g /* Attempt to authenticate them */ session = create_user_session (seat, username, FALSE); g_signal_connect (session, SESSION_SIGNAL_AUTHENTICATION_COMPLETE, G_CALLBACK (switch_authentication_complete_cb), seat); ++++++ lightdm-xauthlocalhostname-support.patch ++++++ --- /var/tmp/diff_new_pack.mMFl7h/_old 2016-09-30 15:32:21.000000000 +0200 +++ /var/tmp/diff_new_pack.mMFl7h/_new 2016-09-30 15:32:21.000000000 +0200 @@ -1,43 +1,32 @@ -Set XAUTHLOCALHOSTNAME to the hostname for local logins to avoid issues in the session in case the hostname changes +Set XAUTHLOCALHOSTNAME to the hostname for local logins to avoid issues in the +session in case the hostname changes. -Index: lightdm-1.17.3/src/seat-xlocal.c -=================================================================== ---- lightdm-1.17.3.orig/src/seat-xlocal.c -+++ lightdm-1.17.3/src/seat-xlocal.c -@@ -364,6 +364,7 @@ seat_xlocal_run_script (Seat *seat, Disp +--- a/src/seat-local.c ++++ b/src/seat-local.c +@@ -452,6 +452,7 @@ seat_local_run_script (Seat *seat, Displ path = x_server_local_get_authority_file_path (x_server); process_set_env (script, "DISPLAY", x_server_get_address (X_SERVER (x_server))); process_set_env (script, "XAUTHORITY", path); + process_set_env (script, "XAUTHLOCALHOSTNAME", g_get_host_name ()); } - SEAT_CLASS (seat_xlocal_parent_class)->run_script (seat, display_server, script); -Index: lightdm-1.17.3/src/x-server-local.c -=================================================================== ---- lightdm-1.17.3.orig/src/x-server-local.c -+++ lightdm-1.17.3/src/x-server-local.c -@@ -204,14 +204,15 @@ XServerLocal * - x_server_local_new (void) + SEAT_CLASS (seat_local_parent_class)->run_script (seat, display_server, script); +--- a/src/x-authority.c ++++ b/src/x-authority.c +@@ -70,9 +70,9 @@ x_authority_new_cookie (guint16 family, + XAuthority * + x_authority_new_local_cookie (const gchar *number) { - XServerLocal *self; -- gchar hostname[1024], *number, *name; +- gchar hostname[1024]; + const gchar *hostname; -+ gchar *number, *name; - XAuthority *cookie; - - self = g_object_new (X_SERVER_LOCAL_TYPE, NULL); - - x_server_set_display_number (X_SERVER (self), x_server_local_get_unused_display_number ()); - gethostname (hostname, 1024); + hostname = g_get_host_name (); - number = g_strdup_printf ("%d", x_server_get_display_number (X_SERVER (self))); - cookie = x_authority_new_cookie (XAUTH_FAMILY_LOCAL, (guint8*) hostname, strlen (hostname), number); - x_server_set_authority (X_SERVER (self), cookie); -Index: lightdm-1.17.3/src/x-server.c -=================================================================== ---- lightdm-1.17.3.orig/src/x-server.c -+++ lightdm-1.17.3/src/x-server.c + return x_authority_new_cookie (XAUTH_FAMILY_LOCAL, (guint8 *) hostname, strlen (hostname), number); + } + +--- a/src/x-server.c ++++ b/src/x-server.c @@ -15,6 +15,7 @@ #include "x-server.h" @@ -46,7 +35,7 @@ struct XServerPrivate { -@@ -166,6 +167,8 @@ x_server_connect_session (DisplayServer +@@ -154,6 +155,8 @@ x_server_connect_session (DisplayServer else l_debug (session, "Not setting XDG_VTNR"); ++++++ lightdm.keyring ++++++ pub dsa1024 2009-03-24 [SCA] 4978 51B5 D455 C606 543F 2B93 18EA A189 0F7C 882E uid [ unknown] Robert Ancell <robert.anc...@gmail.com> uid [ unknown] Robert Ancell <robert.anc...@ubuntu.com> uid [ unknown] Robert Ancell <robert.anc...@canonical.com> sub elg2048 2009-03-24 [E] -----BEGIN PGP PUBLIC KEY BLOCK----- mQGiBEnI6yYRBACv3C7LMEU0LHnNqyYGac+B1JZ1QDUaoUZR5lrcCHCFwzVqCYl8 vAduwBNbWhinRaKuCbSuj5i27KjRBJM7p3nmxomnGNL0OwYakSV5xksseKv1+BNz QW7zNj+fONNQ3F7vsmuWsIvNoXzeQCU+4TS2bMJCoKfyqjqUKZiGW90XVwCg48Di OTCHQoG+WwOk8/HDrbd+yhcD/0d5OcVoq9QbitcaU9Ash2NLbffd4pl6BVwx46wJ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