Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package accountsservice for openSUSE:Factory checked in at 2022-03-25 21:54:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/accountsservice (Old) and /work/SRC/openSUSE:Factory/.accountsservice.new.1900 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "accountsservice" Fri Mar 25 21:54:26 2022 rev:76 rq:964524 version:22.04.62 Changes: -------- --- /work/SRC/openSUSE:Factory/accountsservice/accountsservice.changes 2022-02-09 20:37:59.254201960 +0100 +++ /work/SRC/openSUSE:Factory/.accountsservice.new.1900/accountsservice.changes 2022-03-25 21:54:31.426269660 +0100 @@ -1,0 +2,96 @@ +Fri Feb 11 23:35:22 UTC 2022 - Bj??rn Lie <bjorn....@gmail.com> + +- Update to version 22.04.62: + + act-user-manager: + - Fix incorrect return types in some finish() functions + - Fix various refcounting bugs + - Make a private function static + - Remove ConsoleKit support + - Watch for the daemon going away and coming back + + act-user: + - Use G_DECLARE_FINAL_TYPE to declare ActUser + - Use stronger hashing methods in make_crypted() if available. + + Add .service file to POTFILES.skip + + Add support to build vala bindings + + build: + - Add missing pkg-config Requires.private dependencies + - Bump minimum version of meson required + - Expose chosen path_wtmp value as a variable + + Check GDBusMessage for INTERACTIVE_AUTHORIZATION flag + + ci: + - Add test stage, reusing the build one + - Cleanup the build stage so that we can define dependencies + just once + + Conditionalize more use of shadow.h + + daemon: + - Allow SystemAccount=false to be set in cache file + - Don't try to add admin users to non existing groups + - Ensure cache files for system users are processed + - Fix error check in save_autologin() + - Remove duplicate "changed" signal emission + - Write GDM custom.conf file if it doesn't exist + + data: + - Don't send change updates for login-history + - Tighten up systemd sandboxing of accounts-daemon.service + + Drop .service file from POTFILES.in + + Fix build with meson 0.60 + + Fix g-i annotation of act_user_get_password_expiration_policy + + libaccountsservice: Expand documentation of ActUser:language + + main: + - Allow cache files to be marked immutable + - Don???t print translation header with `--help` + + meson: Determine project version from date + + Move D-Bus conf file to $(datadir)/dbus-1/system.d + + Never delete the root filesystem when removing users + + NEWS: Drop NEWS file + + po: delete obsolete po/accounts-service.pot + + Remove user heuristics + + Replace empty he.po with an actual translation + + Stop ignoring autotools generated files + + tests: + - Add unit tests for libaccountservice using dbusmock and gir + bindings + - Sync tests with upstream python-dbusmock + + user-classify: Add git to username blacklist + + user: + - Don't overwrite entire GECOS field when setting full name + - Fix double-unref of GDBusMethodInvocation throughout + - Fix indentation error + - Introduce user templates for setting default session etc + - Reject requests to change full name to something including a + comma + - Remove user from extra_admin_groups when demoting them from + admin + - Translate property x-session property name to match the proxy + one + + user-manager: Update users tables on username changes + + Use timestamps instead of (expiration time and last change + time)days + + util: + - Get uid when needed + - Split out helper method for getting admin group IDs + + Updated translations. +- Drop patches fixed upstream: + + accountsservice-read-root-user-cache.patch + + accountsservice-wtmp-io-improvements.patch + + accountsservice-fix-gdm-crash.patch + + ac9b14f1c1bbca413987d0bbfeaad05804107e9a.patch + + accountsservice-fix-gdm-crash.patch +- Note that accountsservice-fix-gdm-crash.patch was not applied + upstream, the issue was fixed in a different way. Upstream + encourages issue reports should the current fix prove to not be + good enough. +- Rebase accountsservice-sysconfig.patch and + harden_accounts-daemon.service.patch +- Drop accountsservice-filter-suse-accounts.patch: The system users + we were filtering are not present on any of today as far as I can + tell, so drop this patch filtering out "common system users" such + as beagleindex, fax and suse-ncc. +- Stop passing systemd=true to meson, no longer recognized, nor + needed. +- Add pkgconfig(vapigen) BuildRequires: New dependency. +- Add fdupes BuildRequires and macro, remove duplicates. +- Add python3-dbusmock and python3-gobject BuildRequires and add a + check section, run meson_test macro. + +------------------------------------------------------------------- Old: ---- ac9b14f1c1bbca413987d0bbfeaad05804107e9a.patch accountsservice-0.6.55.tar.xz accountsservice-filter-suse-accounts.patch accountsservice-fix-gdm-crash.patch accountsservice-read-root-user-cache.patch accountsservice-wtmp-io-improvements.patch New: ---- accountsservice-22.04.62.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ accountsservice.spec ++++++ --- /var/tmp/diff_new_pack.s03WYM/_old 2022-03-25 21:54:32.294270486 +0100 +++ /var/tmp/diff_new_pack.s03WYM/_new 2022-03-25 21:54:32.298270491 +0100 @@ -17,7 +17,7 @@ Name: accountsservice -Version: 0.6.55 +Version: 22.04.62 Release: 0 Summary: D-Bus Service to Manipulate User Account Information License: GPL-3.0-or-later @@ -26,28 +26,21 @@ Source0: https://www.freedesktop.org/software/accountsservice/%{name}-%{version}.tar.xz # WARNING: do not remove/significantly change patch0 without updating the relevant patch in gdm too -# PATCH-FIX-OPENSUSE accountsservice-sysconfig.patch bnc#688071 vu...@opensuse.org -- Read/write autologin configuration from sysconfig, like gdm (see gdm-sysconfig-settings.patch) WAS PATCH-FIX-OPENSUSE -Patch0: accountsservice-sysconfig.patch -# PATCH-FIX-OPENSUSE accountsservice-filter-suse-accounts.patch vu...@opensuse.org -- Filter out some system users that are specific to openSUSE -Patch1: accountsservice-filter-suse-accounts.patch -# PATCH-FIX-UPSTREAM accountsservice-read-root-user-cache.patch bsc#1114292 glfo#accountsservice/accountsservice#65 xw...@suse.com-- read root user cache file WAS PATCH-FIX-UPSTREAM -Patch2: accountsservice-read-root-user-cache.patch -# PATCH-FIX-UPSTREAM accountsservice-wtmp-io-improvements.patch boo#1139487 fezh...@suse.com -- Backports that improve wtmp io performance. -Patch3: accountsservice-wtmp-io-improvements.patch -# PATCH-FIX-UPSTREAM accountsservice-fix-gdm-crash.patch glfo#accountsservice/accountsservice#55 antoine.belv...@opensuse.org -- Prevent gdm crash upon service restart when autologin is enabled -Patch4: accountsservice-fix-gdm-crash.patch +# PATCH-FIX-OPENSUSE accountsservice-sysconfig.patch bnc#688071 vu...@opensuse.org -- Read/write autologin configuration from sysconfig, like gdm (see gdm-sysconfig-settings.patch) +Patch1: accountsservice-sysconfig.patch # PATCH-FIX-OPENSUSE harden_accounts-daemon.service.patch jseg...@suse.com -- For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort -Patch5: harden_accounts-daemon.service.patch -# PATCH-FIX-UPSTREAM ac9b14f1c1bbca413987d0bbfeaad05804107e9a.patch -- Fix build with meson 0.61.0 -Patch6: https://gitlab.freedesktop.org/accountsservice/accountsservice/-/commit/ac9b14f1c1bbca413987d0bbfeaad05804107e9a.patch +Patch2: harden_accounts-daemon.service.patch ## SLE and Leap only patches start at 1000 # PATCH-FEATURE-SLE as-fate318433-prevent-same-account-multi-logins.patch fate#318433 cxi...@suse.com -- prevent multiple simultaneous login. Patch1000: as-fate318433-prevent-same-account-multi-logins.patch +BuildRequires: fdupes BuildRequires: gtk-doc BuildRequires: meson BuildRequires: pkgconfig +BuildRequires: python3-dbusmock +BuildRequires: python3-gobject BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(gio-2.0) >= 2.37.3 BuildRequires: pkgconfig(gio-unix-2.0) @@ -56,6 +49,7 @@ BuildRequires: pkgconfig(libsystemd) >= 186 BuildRequires: pkgconfig(polkit-gobject-1) BuildRequires: pkgconfig(systemd) +BuildRequires: pkgconfig(vapigen) %{?systemd_ordering} %description @@ -102,13 +96,8 @@ %prep %setup -q -%patch0 -p1 %patch1 -p1 %patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 # SLE and Leap patches start at 1000 %if 0%{?sle_version} @@ -117,15 +106,18 @@ %build %meson \ - -Dsystemd=true \ - -Dintrospection=true \ - -Dgtk_doc=true \ + -D introspection=true \ + -D gtk_doc=true \ %{nil} %meson_build %install %meson_install %find_lang accounts-service +%fdupes %{buildroot}%{_datadir}/accountsservice/user-templates + +%check +%meson_test %pre %service_add_pre accounts-daemon.service @@ -144,10 +136,10 @@ %files %license COPYING -%doc NEWS README.md +%doc README.md %{_unitdir}/accounts-daemon.service -%{_sysconfdir}/dbus-1/system.d/org.freedesktop.Accounts.conf %{_libexecdir}/accounts-daemon +%{_datadir}/dbus-1/system.d/org.freedesktop.Accounts.conf %{_datadir}/dbus-1/interfaces/org.freedesktop.Accounts.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.Accounts.User.xml %{_datadir}/dbus-1/system-services/org.freedesktop.Accounts.service @@ -156,6 +148,10 @@ %dir %{_localstatedir}/lib/AccountsService %dir %{_localstatedir}/lib/AccountsService/users %dir %{_localstatedir}/lib/AccountsService/icons +%dir %{_datadir}/accountsservice +%dir %{_datadir}/accountsservice/user-templates +%{_datadir}/accountsservice/user-templates/administrator +%{_datadir}/accountsservice/user-templates/standard %files -n libaccountsservice0 %{_libdir}/*.so.0* @@ -170,6 +166,9 @@ %{_libdir}/pkgconfig/accountsservice.pc %{_includedir}/accountsservice-1.0/ %{_datadir}/gir-1.0/AccountsService-1.0.gir +%dir %{_datadir}/vala/vapi +%{_datadir}/vala/vapi/accountsservice.deps +%{_datadir}/vala/vapi/accountsservice.vapi %files lang -f accounts-service.lang ++++++ accountsservice-0.6.55.tar.xz -> accountsservice-22.04.62.tar.xz ++++++ ++++ 7118 lines of diff (skipped) ++++++ accountsservice-sysconfig.patch ++++++ --- /var/tmp/diff_new_pack.s03WYM/_old 2022-03-25 21:54:32.470270654 +0100 +++ /var/tmp/diff_new_pack.s03WYM/_new 2022-03-25 21:54:32.470270654 +0100 @@ -4,19 +4,19 @@ Use autologin configuration from sysconfig (SUSE-ism) -Index: accountsservice-0.6.55/src/daemon.c +Index: accountsservice-22.04.62/src/daemon.c =================================================================== ---- accountsservice-0.6.55.orig/src/daemon.c 2019-04-23 17:16:09.000000000 +0200 -+++ accountsservice-0.6.55/src/daemon.c 2019-05-30 00:12:49.993056439 +0200 -@@ -47,6 +47,7 @@ - #include "wtmp-helper.h" - #include "daemon.h" +--- accountsservice-22.04.62.orig/src/daemon.c ++++ accountsservice-22.04.62/src/daemon.c +@@ -50,6 +50,7 @@ #include "util.h" + #include "user.h" + #include "accounts-user-generated.h" +#include "gdm-sysconfig.h" #define PATH_PASSWD "/etc/passwd" #define PATH_SHADOW "/etc/shadow" -@@ -582,7 +583,7 @@ reload_autologin_timeout (Daemon *daemon +@@ -581,7 +582,7 @@ reload_autologin_timeout (Daemon *daemon priv->autologin_id = 0; if (!load_autologin (daemon, &name, &enabled, &error)) { @@ -25,7 +25,7 @@ return FALSE; } -@@ -1474,6 +1475,43 @@ daemon_local_check_auth (Daemon +@@ -1508,6 +1509,43 @@ daemon_local_check_auth (Daemon g_object_unref (subject); } @@ -69,7 +69,7 @@ gboolean load_autologin (Daemon *daemon, gchar **name, -@@ -1484,6 +1522,8 @@ load_autologin (Daemon *daemon, +@@ -1518,6 +1556,8 @@ load_autologin (Daemon *daemon, GError *local_error = NULL; g_autofree gchar *string = NULL; @@ -78,19 +78,19 @@ keyfile = g_key_file_new (); if (!g_key_file_load_from_file (keyfile, PATH_GDM_CUSTOM, -@@ -1523,6 +1563,8 @@ save_autologin (Daemon *daemon, - g_autofree gchar *data = NULL; +@@ -1558,6 +1598,8 @@ save_autologin (Daemon *daemon, gboolean result; + g_autoptr(GError) local_error = NULL; + return save_autologin_suse (daemon, name, enabled, error); + keyfile = g_key_file_new (); if (!g_key_file_load_from_file (keyfile, PATH_GDM_CUSTOM, -Index: accountsservice-0.6.55/src/gdm-sysconfig.c +Index: accountsservice-22.04.62/src/gdm-sysconfig.c =================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ accountsservice-0.6.55/src/gdm-sysconfig.c 2019-05-30 00:12:49.993056439 +0200 +--- /dev/null ++++ accountsservice-22.04.62/src/gdm-sysconfig.c @@ -0,0 +1,484 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- + * @@ -576,10 +576,10 @@ + g_strfreev (lines); + return result; +} -Index: accountsservice-0.6.55/src/gdm-sysconfig.h +Index: accountsservice-22.04.62/src/gdm-sysconfig.h =================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ accountsservice-0.6.55/src/gdm-sysconfig.h 2019-05-30 00:12:49.993056439 +0200 +--- /dev/null ++++ accountsservice-22.04.62/src/gdm-sysconfig.h @@ -0,0 +1,43 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- + * @@ -624,11 +624,11 @@ +G_END_DECLS + +#endif /* __GDM_SYSCONFIG_H */ -Index: accountsservice-0.6.55/src/meson.build +Index: accountsservice-22.04.62/src/meson.build =================================================================== ---- accountsservice-0.6.55.orig/src/meson.build 2019-04-23 17:16:09.000000000 +0200 -+++ accountsservice-0.6.55/src/meson.build 2019-05-30 00:12:49.993056439 +0200 -@@ -46,6 +46,8 @@ libaccounts_generated_dep = declare_depe +--- accountsservice-22.04.62.orig/src/meson.build ++++ accountsservice-22.04.62/src/meson.build +@@ -48,6 +48,8 @@ libaccounts_generated_dep = declare_depe ) sources = files( ++++++ harden_accounts-daemon.service.patch ++++++ --- /var/tmp/diff_new_pack.s03WYM/_old 2022-03-25 21:54:32.486270669 +0100 +++ /var/tmp/diff_new_pack.s03WYM/_new 2022-03-25 21:54:32.490270673 +0100 @@ -1,7 +1,7 @@ -Index: accountsservice-0.6.55/data/accounts-daemon.service.in +Index: accountsservice-22.04.62/data/accounts-daemon.service.in =================================================================== ---- accountsservice-0.6.55.orig/data/accounts-daemon.service.in -+++ accountsservice-0.6.55/data/accounts-daemon.service.in +--- accountsservice-22.04.62.orig/data/accounts-daemon.service.in ++++ accountsservice-22.04.62/data/accounts-daemon.service.in @@ -8,6 +8,15 @@ After=nss-user-lookup.target Wants=nss-user-lookup.target