2011-04-21 13:21:32 +02:00
#
# spec file for package accountsservice
#
2021-03-15 10:59:36 +01:00
# Copyright (c) 2021 SUSE LLC
2011-04-21 13:21:32 +02:00
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
2019-03-18 19:05:23 +01:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
2011-04-21 13:21:32 +02:00
#
2011-04-21 13:21:46 +02:00
2011-04-21 13:21:32 +02:00
Name : accountsservice
2019-05-31 17:12:31 +02:00
Version : 0.6.55
2011-12-21 05:26:00 +01:00
Release : 0
2011-04-21 13:21:32 +02:00
Summary : D-Bus Service to Manipulate User Account Information
2018-03-09 11:02:05 +01:00
License : GPL-3.0-or-later
2011-04-21 13:21:32 +02:00
Group : System/Daemons
Accepting request 692039 from GNOME:Next
- Drop upstream fixed patches:
+ accountsservice-lib-don-not-set-loaded-state-until-seat-fetched.patch
- Update patches:
+ accountsservice-read-root-user-cache.patch
+ accountsservice-sysconfig.patch
- Redo summaries without em dashes.
- Reduce %systemd_requires to %systemd_ordering:
%service_* can handle the absence.
- Update to version 0.6.54:
+ Fix user state dirs.
- Changes from version 0.6.53:
+ Fix introspection.
- Changes from version 0.6.52:
+ Migrate to meson and gettext (instead of autogoo and intltool).
+ Add code of conduct.
+ Add new session and session type properties (to replace
XSession).
+ Try to handle misbehaving logind a little better.
+ Misc mixes and code modernization.
+ Add new "Saved" property to say whether a cached user is stored
on disk.
- Add accountsservice-upstream-fixes.patch: Add upstream bug fixes
commits, fix build.
- Switch to meson build system, add meson BuildRequires and macros.
- Drop obsolete intltool, gnome-common, vala, xmlto and xsltproc
BuildRequires: No longer needed.
- Replace gobject-introspection-devel with
pkgconfig(gobject-introspection-1.0) and add pkgconfig(dbus-1):
New depdendency.
- Disable the following patches that needs rebase:
+ accountsservice-sysconfig.patch.
+ accountsservice-lib-don-not-set-loaded-state-until-seat-fetched.patch.
+ accountsservice-read-root-user-cache.patch
- Add accountsservice-read-root-user-cache.patch: Read root user
cache file (bsc#1114292 glfo#accountsservice/accountsservice#65).
- Update to version 0.6.50:
+ Fix insufficient path check on user icon files.
+ Fix is-logged-in status for wayland sessions.
+ Fix user enumeration when system accounts are mixed in.
- Drop upstream fixed patches:
+ accountsservice-missing-users-on-gdm-login.patch.
+ accountsservice-lib-treat-session-type-wayland-as-graphical-session.patch
- Add accountsservice-lib-don-not-set-loaded-state-until-seat-fetched.patch:
At the moment we set is-loaded on the user-manager object as soon
as we start fetching the seat, but we should waiting until the seat
is fetched, so that can_switch() will return the correct value if
the caller waited until the loaded signal to use it.
(boo#1100041 fdo#107298)
- Add accountsservice-lib-treat-session-type-wayland-as-graphical-session.patch:
When user session type is wayland, act_user_is_logged_in can
return TRUE if the user is logged in (boo#1095918 fdo#106855).
- Make build verbose to see full command lines.
- Add accountsservice-missing-users-on-gdm-login.patch: Don't abort
loading users when an /etc/shadow entry found missing
(boo#1090003 fdo#106904).
- Update to version 0.6.49:
+ Fix crash on startup from previous compiler warning fix.
- Changes from version 0.6.48:
+ Fix crashes when adding admin user and when user is removed.
+ Performance improvements handling really large wtmp files.
- Changes from version 0.6.47:
+ Fix problem where libaccountsservice users weren't getting
property change updates.
+ Reduce memory usage of cached users in daemon process.
+ Drop premature user-added/user-removed signals that erroneously
get emitted before ListCachedUsers call finishes.
- Update to version 0.6.46:
+ Fix systemd unit file to use default standard output;
+ Performance improvements;
+ Leak fixes;
+ Crash fixes;
+ Support extra groups for admin users;
+ Add policy that allows admins to allow users to change their
own password;
+ Introspection fixes;
+ Elogind support;
+ Decruftification of username blacklist;
+ Updated translations.
- Add:
+ gio-2.0 and gio-unix-2.0 pkgconfig modules BuildRequires to
avoid implicit dependencies.
+ xmlto and xsltproc BuildRequires to enable documentation.
- Drop remove-no-longer-used-system-accounts.patch: fixed upstream.
- Rebase patches:
+ accountsservice-sysconfig.patch and
+ accountsservice-filter-suse-accounts.patch.
- Modernize spec-file by calling spec-cleaner
- Add remove-no-longer-used-system-accounts.patch:
Drop operator, nobody4 and noaccess from the blacklist
(bsc#1063794, fdo#103879).
- Update specfile to build
as-fate318433-prevent-same-account-multi-logins.patch on SLE15.
- Remove redundant %clean section; use %_smp_mflags for build.
- Update to version 0.6.45:
+ Wrap password expiration info in libaccountsservice api.
- Changes from version 0.6.44:
+ Export password expiration info from shadow file.
+ Fix user classification logic.
+ Don't lose track of users when /etc/passwd is reloaded.
- Drop accountsservice-933083-load-root-setting.patch:
fixed upstream (177509 edac45).
- Rebase accountsservice-933083-load-root-setting.patch.
- Update to version 0.6.43:
+ Fix logout times in login-history.
+ Increase performance in large deployments.
+ Memory leak fix.
+ Exclude nologin users from user list.
- Update accountsservice-sysconfig.patch:
Flush the buffer before shut down the GIOChannel, otherwise we
get a truncated setting file. The problem has caused the
switching autologin in gnome-control-center breaking
/etc/sysconfig/displaymanager (bsc#998107).
- Enable as-fate318433-prevent-same-account-multi-logins.patch for
Leap as requested by the Leap Release Manager (boo#994876).
- Remove pkgconfig(libsystemd-daemon). Nowadays
pkgconfig(libsystemd) is enough and replaces all libsystemd-*
libs which are obsolete.
- Update to version 0.6.42:
+ Wtmp fixes on solaris.
+ Allow a user to change his own data even if he's remote.
+ Add way to set password hint independent of password.
+ Conform to modern systemd library naming scheme.
+ Disable GVFS support in service, since it's not needed and has
bad side effects.
- Replace pkgconfig(libsystemd-login) for pkgconfig(libsystemd)
BuildRequires following upstream changes.
- Add as-fate318433-prevent-same-account-multi-logins.patch
(fate#318433):
Prevent multiple simultaneous logins.
- Update to GNOME 3.20 Fate#318572
- Rebased accountsservice-933083-load-root-setting.patch.
- Updated Url.
- Add accountsservice-933083-load-root-setting.patch (bnc#933083)
Load settings of an account which is not 'human' but can still be
able to login to the system. (like 'root')
- Update to version 0.6.40:
+ Support large UIDs better.
+ Don't require X11 display to fetch user with X11 session.
+ Ensure accountsservice doesn't start before NSS works.
- Update to version 0.6.39:
+ Fix ListCachedUsers race at startup.
+ Add new api for uncaching user.
+ Fix memory corruption bug.
+ Build goo changes.
- Pass --enable-user-heuristics to configure to ensure that legacy
users are still shown in GDM facebrowser.
- Update to version 0.6.38:
+ Fix polkit policy for non-desktop cases.
+ Fix for a race when new user appears.
+ Some clearer log and debug messages.
- Update to version 0.6.37:
+ BSD fixes.
- Changes from version 0.6.36:
+ Fixes for deleting users.
+ Leak fix.
+ Change user classification logic.
+ BSD fixes.
- Rebase accountsservice-sysconfig.patch and
accountsservice-filter-suse-accounts.patch.
- Update to version 0.6.35:
+ Handle non-existent users better.
+ Misc bug fixes.
+ Misc clean ups.
+ Emit "changed" signal when account type changes for user.
+ Stop shipping vapi files.
+ Avoid connecting to ConsoleKit on logind systems.
+ Add extension interface.
+ Add --enable-coverage option for gcov support.
- Rebase accountsservice-sysconfig.patch and
accountsservice-filter-suse-accounts.patch.
- Drop accountsservice-remotePW-verification.patch: fixed upstream.
- Add accountsservice-remotePW-verification.patch: treat NULL
shadow entry as "password handled remotely" (bnc#844933,
bgo#708997, fdo#70005).
- Update to version 0.6.34:
+ Try to sanitize automatic login setting when user account is
deleted or disabled (fdo#54506).
+ Fix build.
- Changes from version 0.6.33:
+ Keep track of non-graphical sessions (fdo#65160).
+ Forget obsolete sessions (fdo#65159).
+ Monitor wtmp for changes (fdo#63159).
+ Ignore non-user sessions (fdo#701514).
+ Rework system account handling (fdo#64769).
- Never treat cached users as system accounts.
- Add gdm, gnome-initial-setup users to blacklist.
- Store system-account bit in key file.
- Cache newly-created users explicitly.
- Rebase accountsservice-filter-suse-accounts.patch.
- Update to version 0.6.32:
+ Don't treat remote users as system accounts (fdo#64186).
+ Clean up spawn_with_login_uid error handling (fdo#55067).
+ Quit on SIGINT/SIGTERM (fdo#63869).
+ Make --debug work as expected (fdo#63870).
+ Remove newlines from debug output (fdo#63871).
+ Fix mismatched function signature (fdo#63873).
+ Fix gir/vapi warnings (fdo#63875).
+ Fix documentation warnings (fdo#63880).
- Update to version 0.6.31:
+ Check for logind, not systemd (bgo#62586).
+ Add --enable-admin-group configure option (bgo#62235).
+ Be more aggressive at excluding system accounts (bgo#48178).
+ Fix xsession property notification (bgo#58493).
+ Fix login history variant handling (bgo#58466).
- Rebase accountsservice-sysconfig.patch.
- Update to version 0.6.30:
+ Minor source clean ups.
+ Crasher fix on 32bit systems.
+ Add get_user_by_id.
+ Don't lose sessions list for users at startup.
+ Add API for detecting when accountsservice is unavailable.
- Update to version 0.6.29:
+ Translate D-Bus errors to local errors in libaccountsservice.
+ Fix a wrong property name in the login history support.
- Update to version 0.6.28:
+ Fix act_user_manager_delete_user_finish.
+ Fix handling of LoginTime and LoginHistory properties.
- Changes from version 0.6.27:
+ Fix warnings when the singleton user manager object is
finalized.
+ Generated docs for libaccountsservice.
+ Initialize local_acount to TRUE.
+ Add async api for user creation, caching and deletion.
- Update to version 0.6.26:
+ Require libsystemd-login 186.
+ Protect against deleting root user.
+ Add LoginTime and LoginHistory properties.
+ Fix crash consolekit code.
+ Fix has_multiple_user property after removing user.
- Update to version 0.6.25:
+ Uninitialized variable fix
+ Typo fix
+ Create data dirs just-in-time
+ Ignore closing sessions for is_logged_in test
+ Disable NULL user for delete_user call
+ Updated translations.
- Update to version 0.6.24:
+ add User.Local property for identifying local users.
- Update to version 0.6.23:
+ Fix up some debug output.
+ add new CacheUser and UncacheUser apis.
+ uncache user before deleting user.
- Add the user 'fax' to the exception list (bnc#771177).
- Update to version 0.6.22:
+ Correct CVE-2012-2737, local file disclosure
+ small memory leak fix
+ exclude system accounts from ListCachedUsers
+ make has-multiple-users properly only check non-system users
+ remove icon when deleting user
+ Revert usage of getpwent() as fallback for fgetpwent
+ support consolekit call cancellation to prevent crashes caused
by shortlived sessions
+ ignore built files in .gitignore
+ quiet down build goo nagging
- Drop accountsservice-CVE-2012-2737.patch: fixed upstream.
- Add accountsservice-CVE-2012-2737.patch: fix local file
disclosure flaw. Fix bnc#768807, CVE-2012-2737.
- Add users cyrus, ldap and mailman to the openSUSE specific users
to be excluded (accountsservice-filter-suse-accounts.patch).
Fixes bnc#765487.
- Update to version 0.6.21:
+ Detect old versions of systemd and fall back to ConsoleKit
+ Exclude users without a valid shell
+ Fix log spew
- Update to version 0.6.20:
+ Fix user listing which broke in previous release
- Changes from version 0.6.19:
+ Fix spurious warnings in logs
+ Make userdel succeed even if user is already logged in
+ Exclude users with no shell
+ Exclude "at" user
- Drop accountsservice-filter-more-accounts.patch and
accountsservice-filter-no-shell.patch: fixed upstream.
- Add back accountsservice-filter-more-accounts.patch to filter the
at user.
- Add accountsservice-filter-no-shell.patch to filter users with no
shell, which happens when NIS is setup.
- This should fix bnc#757662.
- Rebase accountsservice-filter-suse-accounts.patch.
- Update to version 0.6.18:
+ Fix systemd configure check
+ Add a few more common system accounts to the blacklist
+ Fix some issues in systemd session handling
- Drop accountsservice-filter-more-accounts.patch: fixed upstream.
- Drop accountsservice-fix-systemd-test-always-evaluating-true.patch:
fixed upstream.
- Add accountsservice-filter-more-accounts.patch: filter out ftp,
games, man and mysql system users too, taken from git.
- Add accountsservice-filter-suse-accounts.patch: filter out some
openSUSE-specific accounts (beagleindex, suse-ncc).
- Add accountsservice-fix-systemd-test-always-evaluating-true.patch
Make it possible to build accountsservice without systemd
(fdo#48190).
- Update to version 0.6.17:
+ Fix user filtering which was broken in 0.6.16
+ Fix double free in user code
- Update to version 0.6.16:
+ Don't filter out users below UID_MIN in login.defs
+ Filter out users with invalid shells
+ Use infinite timeout for ListCachedUsers calls
+ Port to GDBus
+ Add systemd support
+ Build fixes for srcdir != builddir
+ Vala support and introspection fixes
+ PPC32 fixes
+ Updated translations.
- Drop pkgconfig(dbus-glib-1) BuildRequires: dependency is gone
upstream.
- Enable support for systemd session tracking:
+ Note that it will fall back to ConsoleKit at runtime, so it's
fine to build it.
+ Add pkgconfig() BuildRequires: libsystemd-login,
libsystemd-daemon.
- Rebase accountsservice-sysconfig.patch.
- Add vala BuildRequires, which is now needed because of the
gnome-autogen.sh call.
- Fix systemd-related packaging:
+ Use %{?systemd_requires}.
+ Call %service_{add,del}_* macros in scriptlets for
accounts-daemon.service.
- Remove xz BuildRequires now that it comes for free in the build
system.
- Split typelib file into typelib-1_0-AccountsService-1_0
subpackage.
- Add typelib-1_0-AccountsService-1_0 Requires to devel subpackage.
- Update to version 0.6.15:
+ Only accept regular files as icons
+ Don't track non-graphical sessions
+ Fix wtmp handling
+ Fix build on FreeBSD and OpenBSD
- Drop accountsservice-regular-file-for-icon.patch: fixed upstream.
- Add accountsservice-regular-file-for-icon.patch: only use regular
files when setting user icon. Part of bnc#676638.
- Update to version 0.6.14:
+ Ignore extraneous SetAutomaticLogin(false) calls for a user
+ Monitor /etc/gdm/custom.conf for changes in autologin config
+ Fix fast user switching
+ Fix docs to build
+ Updated translations.
- Rebase accountsservice-sysconfig.patch, and add gnome-common
BuildRequires and call to gnome-autogen.sh since it's easier to
rebase the patch without Makefile.in.
- Add gobject-introspection-devel BuildRequires to build
introspection data.
- Add accountsservice-sysconfig.patch: read and write autologin
configuration from sysconfig, as done in gdm. Fix bnc#688071.
- Update to version 0.6.13:
+ Honor aclocal flags environment variable
+ Set log domain so it can be hushed
+ Use wtmp instead of consolekit for determining login frequency
+ Leak and warning fixes
+ Clean up polkit deprecation warnings
+ Add '--' before username to account helper programs
- Add xz BuildRequires because we can't build a package for a
xz-compressed tarball without explicitly specifying that... See
bnc#697467 for more details.
- Update to version 0.6.12:
+ The usual pile of race fixes
- Changes from version 0.6.11:
+ Add API for adding users to the library.
- Drop rpmlintrc as the necessary changes have now been done in
both rpmlint (for suse-dbus-unauthorized-service) and in
polkit-default-privs (for polkit-unauthorized-privilege).
- Update to version 0.6.10:
+ An assortment of race fixes
+ Updated translations
- Changes from version 0.6.9:
+ Add a 'system-account' property to users
- Update download url for tarball.
- Add pkgconfig(systemd) to BuildRequires and package systemd
configuration file for accountsservice.
- Update to version 0.6.8:
+ use same rules for parsing booleans from gdm config as gdm.
- Update to version 0.6.7:
+ Fix call to useradd for normal users
+ Correct free array of groups
+ Updated translations
- Changes from version 0.6.6:
+ Make it possible to disable user icon
+ Drop Supervised user role
+ Use "wheel" instead of "desktop_admin_r" as admin group
since that's what everyone uses for this purpose anyway.
+ Crasher fixes
+ Misc distro integration fixes
+ Updated translations
- Changes from version 0.6.5:
+ No longer return excluded users from cached listings
+ Add a --debug command line option
+ Use proper dbus proxy for settings api in client lib
+ Expose XSession property over bus
- Enforce dependency on main package in library package by changing
Recommends to Requires.
- Add a rpmlintrc to ignore security-related rpmlint warnings that
make the build fail on Factory. This needs to get removed when
entering Factory, though.
- Cleanup for inclusion in Factory.
- Update to version 0.6.4:
- fix typo in HomeDirectory property
- fix bug in asynchronous loading code
- drop some random g_print's
- Changes from version 0.6.3:
+ Add more getters to client library
+ Add an initial cut at a setter api
+ Add XSession property type
- Changes from version 0.6.2:
+ Remove the unused UserChanged signal
+ Add a small client library, based on code from gdm
+ Don't use gnome-common
+ Use the user-administration privilege for autologin changes
- Changes from version 0.6.1:
+ Always emit the changed signal when setting user photo
+ Install systemd unit files
+ Translation updates
- Changes from version 0.6:
+ Always require user-administration privilege when setting a
password or changing a username
+ Allow changing password mode and password even when the
account is locked, and unlock it as a side-effect
+ Use /etc/shadow to store account locking and 'set password at
next login' information and monitor /etc/shadow for changes
+ Set loginuid when runing commands on behalf of a user to
generate proper audit records
+ Drop SetIconData and make SetIconFile copy the file when
appropriate. As a consequence, the service no longer links
against image libraries.
+ Various other robustness and error-handling fixes
- Changes from version 0.5:
+ Make initial user list call work
+ Avoid extraneous commandline parsing
- Package directories used by daemon to store user data:
/var/lib/AccountsService and subdirectories.
- New package (version 0.4).
OBS-URL: https://build.opensuse.org/request/show/692039
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/accountsservice?expand=0&rev=128
2019-04-11 16:48:47 +02:00
URL : https://www.freedesktop.org/wiki/Software/AccountsService/
Source0 : https://www.freedesktop.org/software/accountsservice/%{name} -%{version} .tar.xz
2018-06-13 09:23:28 +02:00
2011-07-22 15:04:29 +02:00
# WARNING: do not remove/significantly change patch0 without updating the relevant patch in gdm too
Accepting request 692039 from GNOME:Next
- Drop upstream fixed patches:
+ accountsservice-lib-don-not-set-loaded-state-until-seat-fetched.patch
- Update patches:
+ accountsservice-read-root-user-cache.patch
+ accountsservice-sysconfig.patch
- Redo summaries without em dashes.
- Reduce %systemd_requires to %systemd_ordering:
%service_* can handle the absence.
- Update to version 0.6.54:
+ Fix user state dirs.
- Changes from version 0.6.53:
+ Fix introspection.
- Changes from version 0.6.52:
+ Migrate to meson and gettext (instead of autogoo and intltool).
+ Add code of conduct.
+ Add new session and session type properties (to replace
XSession).
+ Try to handle misbehaving logind a little better.
+ Misc mixes and code modernization.
+ Add new "Saved" property to say whether a cached user is stored
on disk.
- Add accountsservice-upstream-fixes.patch: Add upstream bug fixes
commits, fix build.
- Switch to meson build system, add meson BuildRequires and macros.
- Drop obsolete intltool, gnome-common, vala, xmlto and xsltproc
BuildRequires: No longer needed.
- Replace gobject-introspection-devel with
pkgconfig(gobject-introspection-1.0) and add pkgconfig(dbus-1):
New depdendency.
- Disable the following patches that needs rebase:
+ accountsservice-sysconfig.patch.
+ accountsservice-lib-don-not-set-loaded-state-until-seat-fetched.patch.
+ accountsservice-read-root-user-cache.patch
- Add accountsservice-read-root-user-cache.patch: Read root user
cache file (bsc#1114292 glfo#accountsservice/accountsservice#65).
- Update to version 0.6.50:
+ Fix insufficient path check on user icon files.
+ Fix is-logged-in status for wayland sessions.
+ Fix user enumeration when system accounts are mixed in.
- Drop upstream fixed patches:
+ accountsservice-missing-users-on-gdm-login.patch.
+ accountsservice-lib-treat-session-type-wayland-as-graphical-session.patch
- Add accountsservice-lib-don-not-set-loaded-state-until-seat-fetched.patch:
At the moment we set is-loaded on the user-manager object as soon
as we start fetching the seat, but we should waiting until the seat
is fetched, so that can_switch() will return the correct value if
the caller waited until the loaded signal to use it.
(boo#1100041 fdo#107298)
- Add accountsservice-lib-treat-session-type-wayland-as-graphical-session.patch:
When user session type is wayland, act_user_is_logged_in can
return TRUE if the user is logged in (boo#1095918 fdo#106855).
- Make build verbose to see full command lines.
- Add accountsservice-missing-users-on-gdm-login.patch: Don't abort
loading users when an /etc/shadow entry found missing
(boo#1090003 fdo#106904).
- Update to version 0.6.49:
+ Fix crash on startup from previous compiler warning fix.
- Changes from version 0.6.48:
+ Fix crashes when adding admin user and when user is removed.
+ Performance improvements handling really large wtmp files.
- Changes from version 0.6.47:
+ Fix problem where libaccountsservice users weren't getting
property change updates.
+ Reduce memory usage of cached users in daemon process.
+ Drop premature user-added/user-removed signals that erroneously
get emitted before ListCachedUsers call finishes.
- Update to version 0.6.46:
+ Fix systemd unit file to use default standard output;
+ Performance improvements;
+ Leak fixes;
+ Crash fixes;
+ Support extra groups for admin users;
+ Add policy that allows admins to allow users to change their
own password;
+ Introspection fixes;
+ Elogind support;
+ Decruftification of username blacklist;
+ Updated translations.
- Add:
+ gio-2.0 and gio-unix-2.0 pkgconfig modules BuildRequires to
avoid implicit dependencies.
+ xmlto and xsltproc BuildRequires to enable documentation.
- Drop remove-no-longer-used-system-accounts.patch: fixed upstream.
- Rebase patches:
+ accountsservice-sysconfig.patch and
+ accountsservice-filter-suse-accounts.patch.
- Modernize spec-file by calling spec-cleaner
- Add remove-no-longer-used-system-accounts.patch:
Drop operator, nobody4 and noaccess from the blacklist
(bsc#1063794, fdo#103879).
- Update specfile to build
as-fate318433-prevent-same-account-multi-logins.patch on SLE15.
- Remove redundant %clean section; use %_smp_mflags for build.
- Update to version 0.6.45:
+ Wrap password expiration info in libaccountsservice api.
- Changes from version 0.6.44:
+ Export password expiration info from shadow file.
+ Fix user classification logic.
+ Don't lose track of users when /etc/passwd is reloaded.
- Drop accountsservice-933083-load-root-setting.patch:
fixed upstream (177509 edac45).
- Rebase accountsservice-933083-load-root-setting.patch.
- Update to version 0.6.43:
+ Fix logout times in login-history.
+ Increase performance in large deployments.
+ Memory leak fix.
+ Exclude nologin users from user list.
- Update accountsservice-sysconfig.patch:
Flush the buffer before shut down the GIOChannel, otherwise we
get a truncated setting file. The problem has caused the
switching autologin in gnome-control-center breaking
/etc/sysconfig/displaymanager (bsc#998107).
- Enable as-fate318433-prevent-same-account-multi-logins.patch for
Leap as requested by the Leap Release Manager (boo#994876).
- Remove pkgconfig(libsystemd-daemon). Nowadays
pkgconfig(libsystemd) is enough and replaces all libsystemd-*
libs which are obsolete.
- Update to version 0.6.42:
+ Wtmp fixes on solaris.
+ Allow a user to change his own data even if he's remote.
+ Add way to set password hint independent of password.
+ Conform to modern systemd library naming scheme.
+ Disable GVFS support in service, since it's not needed and has
bad side effects.
- Replace pkgconfig(libsystemd-login) for pkgconfig(libsystemd)
BuildRequires following upstream changes.
- Add as-fate318433-prevent-same-account-multi-logins.patch
(fate#318433):
Prevent multiple simultaneous logins.
- Update to GNOME 3.20 Fate#318572
- Rebased accountsservice-933083-load-root-setting.patch.
- Updated Url.
- Add accountsservice-933083-load-root-setting.patch (bnc#933083)
Load settings of an account which is not 'human' but can still be
able to login to the system. (like 'root')
- Update to version 0.6.40:
+ Support large UIDs better.
+ Don't require X11 display to fetch user with X11 session.
+ Ensure accountsservice doesn't start before NSS works.
- Update to version 0.6.39:
+ Fix ListCachedUsers race at startup.
+ Add new api for uncaching user.
+ Fix memory corruption bug.
+ Build goo changes.
- Pass --enable-user-heuristics to configure to ensure that legacy
users are still shown in GDM facebrowser.
- Update to version 0.6.38:
+ Fix polkit policy for non-desktop cases.
+ Fix for a race when new user appears.
+ Some clearer log and debug messages.
- Update to version 0.6.37:
+ BSD fixes.
- Changes from version 0.6.36:
+ Fixes for deleting users.
+ Leak fix.
+ Change user classification logic.
+ BSD fixes.
- Rebase accountsservice-sysconfig.patch and
accountsservice-filter-suse-accounts.patch.
- Update to version 0.6.35:
+ Handle non-existent users better.
+ Misc bug fixes.
+ Misc clean ups.
+ Emit "changed" signal when account type changes for user.
+ Stop shipping vapi files.
+ Avoid connecting to ConsoleKit on logind systems.
+ Add extension interface.
+ Add --enable-coverage option for gcov support.
- Rebase accountsservice-sysconfig.patch and
accountsservice-filter-suse-accounts.patch.
- Drop accountsservice-remotePW-verification.patch: fixed upstream.
- Add accountsservice-remotePW-verification.patch: treat NULL
shadow entry as "password handled remotely" (bnc#844933,
bgo#708997, fdo#70005).
- Update to version 0.6.34:
+ Try to sanitize automatic login setting when user account is
deleted or disabled (fdo#54506).
+ Fix build.
- Changes from version 0.6.33:
+ Keep track of non-graphical sessions (fdo#65160).
+ Forget obsolete sessions (fdo#65159).
+ Monitor wtmp for changes (fdo#63159).
+ Ignore non-user sessions (fdo#701514).
+ Rework system account handling (fdo#64769).
- Never treat cached users as system accounts.
- Add gdm, gnome-initial-setup users to blacklist.
- Store system-account bit in key file.
- Cache newly-created users explicitly.
- Rebase accountsservice-filter-suse-accounts.patch.
- Update to version 0.6.32:
+ Don't treat remote users as system accounts (fdo#64186).
+ Clean up spawn_with_login_uid error handling (fdo#55067).
+ Quit on SIGINT/SIGTERM (fdo#63869).
+ Make --debug work as expected (fdo#63870).
+ Remove newlines from debug output (fdo#63871).
+ Fix mismatched function signature (fdo#63873).
+ Fix gir/vapi warnings (fdo#63875).
+ Fix documentation warnings (fdo#63880).
- Update to version 0.6.31:
+ Check for logind, not systemd (bgo#62586).
+ Add --enable-admin-group configure option (bgo#62235).
+ Be more aggressive at excluding system accounts (bgo#48178).
+ Fix xsession property notification (bgo#58493).
+ Fix login history variant handling (bgo#58466).
- Rebase accountsservice-sysconfig.patch.
- Update to version 0.6.30:
+ Minor source clean ups.
+ Crasher fix on 32bit systems.
+ Add get_user_by_id.
+ Don't lose sessions list for users at startup.
+ Add API for detecting when accountsservice is unavailable.
- Update to version 0.6.29:
+ Translate D-Bus errors to local errors in libaccountsservice.
+ Fix a wrong property name in the login history support.
- Update to version 0.6.28:
+ Fix act_user_manager_delete_user_finish.
+ Fix handling of LoginTime and LoginHistory properties.
- Changes from version 0.6.27:
+ Fix warnings when the singleton user manager object is
finalized.
+ Generated docs for libaccountsservice.
+ Initialize local_acount to TRUE.
+ Add async api for user creation, caching and deletion.
- Update to version 0.6.26:
+ Require libsystemd-login 186.
+ Protect against deleting root user.
+ Add LoginTime and LoginHistory properties.
+ Fix crash consolekit code.
+ Fix has_multiple_user property after removing user.
- Update to version 0.6.25:
+ Uninitialized variable fix
+ Typo fix
+ Create data dirs just-in-time
+ Ignore closing sessions for is_logged_in test
+ Disable NULL user for delete_user call
+ Updated translations.
- Update to version 0.6.24:
+ add User.Local property for identifying local users.
- Update to version 0.6.23:
+ Fix up some debug output.
+ add new CacheUser and UncacheUser apis.
+ uncache user before deleting user.
- Add the user 'fax' to the exception list (bnc#771177).
- Update to version 0.6.22:
+ Correct CVE-2012-2737, local file disclosure
+ small memory leak fix
+ exclude system accounts from ListCachedUsers
+ make has-multiple-users properly only check non-system users
+ remove icon when deleting user
+ Revert usage of getpwent() as fallback for fgetpwent
+ support consolekit call cancellation to prevent crashes caused
by shortlived sessions
+ ignore built files in .gitignore
+ quiet down build goo nagging
- Drop accountsservice-CVE-2012-2737.patch: fixed upstream.
- Add accountsservice-CVE-2012-2737.patch: fix local file
disclosure flaw. Fix bnc#768807, CVE-2012-2737.
- Add users cyrus, ldap and mailman to the openSUSE specific users
to be excluded (accountsservice-filter-suse-accounts.patch).
Fixes bnc#765487.
- Update to version 0.6.21:
+ Detect old versions of systemd and fall back to ConsoleKit
+ Exclude users without a valid shell
+ Fix log spew
- Update to version 0.6.20:
+ Fix user listing which broke in previous release
- Changes from version 0.6.19:
+ Fix spurious warnings in logs
+ Make userdel succeed even if user is already logged in
+ Exclude users with no shell
+ Exclude "at" user
- Drop accountsservice-filter-more-accounts.patch and
accountsservice-filter-no-shell.patch: fixed upstream.
- Add back accountsservice-filter-more-accounts.patch to filter the
at user.
- Add accountsservice-filter-no-shell.patch to filter users with no
shell, which happens when NIS is setup.
- This should fix bnc#757662.
- Rebase accountsservice-filter-suse-accounts.patch.
- Update to version 0.6.18:
+ Fix systemd configure check
+ Add a few more common system accounts to the blacklist
+ Fix some issues in systemd session handling
- Drop accountsservice-filter-more-accounts.patch: fixed upstream.
- Drop accountsservice-fix-systemd-test-always-evaluating-true.patch:
fixed upstream.
- Add accountsservice-filter-more-accounts.patch: filter out ftp,
games, man and mysql system users too, taken from git.
- Add accountsservice-filter-suse-accounts.patch: filter out some
openSUSE-specific accounts (beagleindex, suse-ncc).
- Add accountsservice-fix-systemd-test-always-evaluating-true.patch
Make it possible to build accountsservice without systemd
(fdo#48190).
- Update to version 0.6.17:
+ Fix user filtering which was broken in 0.6.16
+ Fix double free in user code
- Update to version 0.6.16:
+ Don't filter out users below UID_MIN in login.defs
+ Filter out users with invalid shells
+ Use infinite timeout for ListCachedUsers calls
+ Port to GDBus
+ Add systemd support
+ Build fixes for srcdir != builddir
+ Vala support and introspection fixes
+ PPC32 fixes
+ Updated translations.
- Drop pkgconfig(dbus-glib-1) BuildRequires: dependency is gone
upstream.
- Enable support for systemd session tracking:
+ Note that it will fall back to ConsoleKit at runtime, so it's
fine to build it.
+ Add pkgconfig() BuildRequires: libsystemd-login,
libsystemd-daemon.
- Rebase accountsservice-sysconfig.patch.
- Add vala BuildRequires, which is now needed because of the
gnome-autogen.sh call.
- Fix systemd-related packaging:
+ Use %{?systemd_requires}.
+ Call %service_{add,del}_* macros in scriptlets for
accounts-daemon.service.
- Remove xz BuildRequires now that it comes for free in the build
system.
- Split typelib file into typelib-1_0-AccountsService-1_0
subpackage.
- Add typelib-1_0-AccountsService-1_0 Requires to devel subpackage.
- Update to version 0.6.15:
+ Only accept regular files as icons
+ Don't track non-graphical sessions
+ Fix wtmp handling
+ Fix build on FreeBSD and OpenBSD
- Drop accountsservice-regular-file-for-icon.patch: fixed upstream.
- Add accountsservice-regular-file-for-icon.patch: only use regular
files when setting user icon. Part of bnc#676638.
- Update to version 0.6.14:
+ Ignore extraneous SetAutomaticLogin(false) calls for a user
+ Monitor /etc/gdm/custom.conf for changes in autologin config
+ Fix fast user switching
+ Fix docs to build
+ Updated translations.
- Rebase accountsservice-sysconfig.patch, and add gnome-common
BuildRequires and call to gnome-autogen.sh since it's easier to
rebase the patch without Makefile.in.
- Add gobject-introspection-devel BuildRequires to build
introspection data.
- Add accountsservice-sysconfig.patch: read and write autologin
configuration from sysconfig, as done in gdm. Fix bnc#688071.
- Update to version 0.6.13:
+ Honor aclocal flags environment variable
+ Set log domain so it can be hushed
+ Use wtmp instead of consolekit for determining login frequency
+ Leak and warning fixes
+ Clean up polkit deprecation warnings
+ Add '--' before username to account helper programs
- Add xz BuildRequires because we can't build a package for a
xz-compressed tarball without explicitly specifying that... See
bnc#697467 for more details.
- Update to version 0.6.12:
+ The usual pile of race fixes
- Changes from version 0.6.11:
+ Add API for adding users to the library.
- Drop rpmlintrc as the necessary changes have now been done in
both rpmlint (for suse-dbus-unauthorized-service) and in
polkit-default-privs (for polkit-unauthorized-privilege).
- Update to version 0.6.10:
+ An assortment of race fixes
+ Updated translations
- Changes from version 0.6.9:
+ Add a 'system-account' property to users
- Update download url for tarball.
- Add pkgconfig(systemd) to BuildRequires and package systemd
configuration file for accountsservice.
- Update to version 0.6.8:
+ use same rules for parsing booleans from gdm config as gdm.
- Update to version 0.6.7:
+ Fix call to useradd for normal users
+ Correct free array of groups
+ Updated translations
- Changes from version 0.6.6:
+ Make it possible to disable user icon
+ Drop Supervised user role
+ Use "wheel" instead of "desktop_admin_r" as admin group
since that's what everyone uses for this purpose anyway.
+ Crasher fixes
+ Misc distro integration fixes
+ Updated translations
- Changes from version 0.6.5:
+ No longer return excluded users from cached listings
+ Add a --debug command line option
+ Use proper dbus proxy for settings api in client lib
+ Expose XSession property over bus
- Enforce dependency on main package in library package by changing
Recommends to Requires.
- Add a rpmlintrc to ignore security-related rpmlint warnings that
make the build fail on Factory. This needs to get removed when
entering Factory, though.
- Cleanup for inclusion in Factory.
- Update to version 0.6.4:
- fix typo in HomeDirectory property
- fix bug in asynchronous loading code
- drop some random g_print's
- Changes from version 0.6.3:
+ Add more getters to client library
+ Add an initial cut at a setter api
+ Add XSession property type
- Changes from version 0.6.2:
+ Remove the unused UserChanged signal
+ Add a small client library, based on code from gdm
+ Don't use gnome-common
+ Use the user-administration privilege for autologin changes
- Changes from version 0.6.1:
+ Always emit the changed signal when setting user photo
+ Install systemd unit files
+ Translation updates
- Changes from version 0.6:
+ Always require user-administration privilege when setting a
password or changing a username
+ Allow changing password mode and password even when the
account is locked, and unlock it as a side-effect
+ Use /etc/shadow to store account locking and 'set password at
next login' information and monitor /etc/shadow for changes
+ Set loginuid when runing commands on behalf of a user to
generate proper audit records
+ Drop SetIconData and make SetIconFile copy the file when
appropriate. As a consequence, the service no longer links
against image libraries.
+ Various other robustness and error-handling fixes
- Changes from version 0.5:
+ Make initial user list call work
+ Avoid extraneous commandline parsing
- Package directories used by daemon to store user data:
/var/lib/AccountsService and subdirectories.
- New package (version 0.4).
OBS-URL: https://build.opensuse.org/request/show/692039
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/accountsservice?expand=0&rev=128
2019-04-11 16:48:47 +02:00
# PATCH-FIX-OPENSUSE accountsservice-sysconfig.patch bnc#688071 vuntz@opensuse.org -- Read/write autologin configuration from sysconfig, like gdm (see gdm-sysconfig-settings.patch) WAS PATCH-FIX-OPENSUSE
2011-07-22 15:04:29 +02:00
Patch0 : accountsservice-sysconfig.patch
2012-04-06 16:09:48 +02:00
# PATCH-FIX-OPENSUSE accountsservice-filter-suse-accounts.patch vuntz@opensuse.org -- Filter out some system users that are specific to openSUSE
2012-05-14 18:34:08 +02:00
Patch1 : accountsservice-filter-suse-accounts.patch
Accepting request 692039 from GNOME:Next
- Drop upstream fixed patches:
+ accountsservice-lib-don-not-set-loaded-state-until-seat-fetched.patch
- Update patches:
+ accountsservice-read-root-user-cache.patch
+ accountsservice-sysconfig.patch
- Redo summaries without em dashes.
- Reduce %systemd_requires to %systemd_ordering:
%service_* can handle the absence.
- Update to version 0.6.54:
+ Fix user state dirs.
- Changes from version 0.6.53:
+ Fix introspection.
- Changes from version 0.6.52:
+ Migrate to meson and gettext (instead of autogoo and intltool).
+ Add code of conduct.
+ Add new session and session type properties (to replace
XSession).
+ Try to handle misbehaving logind a little better.
+ Misc mixes and code modernization.
+ Add new "Saved" property to say whether a cached user is stored
on disk.
- Add accountsservice-upstream-fixes.patch: Add upstream bug fixes
commits, fix build.
- Switch to meson build system, add meson BuildRequires and macros.
- Drop obsolete intltool, gnome-common, vala, xmlto and xsltproc
BuildRequires: No longer needed.
- Replace gobject-introspection-devel with
pkgconfig(gobject-introspection-1.0) and add pkgconfig(dbus-1):
New depdendency.
- Disable the following patches that needs rebase:
+ accountsservice-sysconfig.patch.
+ accountsservice-lib-don-not-set-loaded-state-until-seat-fetched.patch.
+ accountsservice-read-root-user-cache.patch
- Add accountsservice-read-root-user-cache.patch: Read root user
cache file (bsc#1114292 glfo#accountsservice/accountsservice#65).
- Update to version 0.6.50:
+ Fix insufficient path check on user icon files.
+ Fix is-logged-in status for wayland sessions.
+ Fix user enumeration when system accounts are mixed in.
- Drop upstream fixed patches:
+ accountsservice-missing-users-on-gdm-login.patch.
+ accountsservice-lib-treat-session-type-wayland-as-graphical-session.patch
- Add accountsservice-lib-don-not-set-loaded-state-until-seat-fetched.patch:
At the moment we set is-loaded on the user-manager object as soon
as we start fetching the seat, but we should waiting until the seat
is fetched, so that can_switch() will return the correct value if
the caller waited until the loaded signal to use it.
(boo#1100041 fdo#107298)
- Add accountsservice-lib-treat-session-type-wayland-as-graphical-session.patch:
When user session type is wayland, act_user_is_logged_in can
return TRUE if the user is logged in (boo#1095918 fdo#106855).
- Make build verbose to see full command lines.
- Add accountsservice-missing-users-on-gdm-login.patch: Don't abort
loading users when an /etc/shadow entry found missing
(boo#1090003 fdo#106904).
- Update to version 0.6.49:
+ Fix crash on startup from previous compiler warning fix.
- Changes from version 0.6.48:
+ Fix crashes when adding admin user and when user is removed.
+ Performance improvements handling really large wtmp files.
- Changes from version 0.6.47:
+ Fix problem where libaccountsservice users weren't getting
property change updates.
+ Reduce memory usage of cached users in daemon process.
+ Drop premature user-added/user-removed signals that erroneously
get emitted before ListCachedUsers call finishes.
- Update to version 0.6.46:
+ Fix systemd unit file to use default standard output;
+ Performance improvements;
+ Leak fixes;
+ Crash fixes;
+ Support extra groups for admin users;
+ Add policy that allows admins to allow users to change their
own password;
+ Introspection fixes;
+ Elogind support;
+ Decruftification of username blacklist;
+ Updated translations.
- Add:
+ gio-2.0 and gio-unix-2.0 pkgconfig modules BuildRequires to
avoid implicit dependencies.
+ xmlto and xsltproc BuildRequires to enable documentation.
- Drop remove-no-longer-used-system-accounts.patch: fixed upstream.
- Rebase patches:
+ accountsservice-sysconfig.patch and
+ accountsservice-filter-suse-accounts.patch.
- Modernize spec-file by calling spec-cleaner
- Add remove-no-longer-used-system-accounts.patch:
Drop operator, nobody4 and noaccess from the blacklist
(bsc#1063794, fdo#103879).
- Update specfile to build
as-fate318433-prevent-same-account-multi-logins.patch on SLE15.
- Remove redundant %clean section; use %_smp_mflags for build.
- Update to version 0.6.45:
+ Wrap password expiration info in libaccountsservice api.
- Changes from version 0.6.44:
+ Export password expiration info from shadow file.
+ Fix user classification logic.
+ Don't lose track of users when /etc/passwd is reloaded.
- Drop accountsservice-933083-load-root-setting.patch:
fixed upstream (177509 edac45).
- Rebase accountsservice-933083-load-root-setting.patch.
- Update to version 0.6.43:
+ Fix logout times in login-history.
+ Increase performance in large deployments.
+ Memory leak fix.
+ Exclude nologin users from user list.
- Update accountsservice-sysconfig.patch:
Flush the buffer before shut down the GIOChannel, otherwise we
get a truncated setting file. The problem has caused the
switching autologin in gnome-control-center breaking
/etc/sysconfig/displaymanager (bsc#998107).
- Enable as-fate318433-prevent-same-account-multi-logins.patch for
Leap as requested by the Leap Release Manager (boo#994876).
- Remove pkgconfig(libsystemd-daemon). Nowadays
pkgconfig(libsystemd) is enough and replaces all libsystemd-*
libs which are obsolete.
- Update to version 0.6.42:
+ Wtmp fixes on solaris.
+ Allow a user to change his own data even if he's remote.
+ Add way to set password hint independent of password.
+ Conform to modern systemd library naming scheme.
+ Disable GVFS support in service, since it's not needed and has
bad side effects.
- Replace pkgconfig(libsystemd-login) for pkgconfig(libsystemd)
BuildRequires following upstream changes.
- Add as-fate318433-prevent-same-account-multi-logins.patch
(fate#318433):
Prevent multiple simultaneous logins.
- Update to GNOME 3.20 Fate#318572
- Rebased accountsservice-933083-load-root-setting.patch.
- Updated Url.
- Add accountsservice-933083-load-root-setting.patch (bnc#933083)
Load settings of an account which is not 'human' but can still be
able to login to the system. (like 'root')
- Update to version 0.6.40:
+ Support large UIDs better.
+ Don't require X11 display to fetch user with X11 session.
+ Ensure accountsservice doesn't start before NSS works.
- Update to version 0.6.39:
+ Fix ListCachedUsers race at startup.
+ Add new api for uncaching user.
+ Fix memory corruption bug.
+ Build goo changes.
- Pass --enable-user-heuristics to configure to ensure that legacy
users are still shown in GDM facebrowser.
- Update to version 0.6.38:
+ Fix polkit policy for non-desktop cases.
+ Fix for a race when new user appears.
+ Some clearer log and debug messages.
- Update to version 0.6.37:
+ BSD fixes.
- Changes from version 0.6.36:
+ Fixes for deleting users.
+ Leak fix.
+ Change user classification logic.
+ BSD fixes.
- Rebase accountsservice-sysconfig.patch and
accountsservice-filter-suse-accounts.patch.
- Update to version 0.6.35:
+ Handle non-existent users better.
+ Misc bug fixes.
+ Misc clean ups.
+ Emit "changed" signal when account type changes for user.
+ Stop shipping vapi files.
+ Avoid connecting to ConsoleKit on logind systems.
+ Add extension interface.
+ Add --enable-coverage option for gcov support.
- Rebase accountsservice-sysconfig.patch and
accountsservice-filter-suse-accounts.patch.
- Drop accountsservice-remotePW-verification.patch: fixed upstream.
- Add accountsservice-remotePW-verification.patch: treat NULL
shadow entry as "password handled remotely" (bnc#844933,
bgo#708997, fdo#70005).
- Update to version 0.6.34:
+ Try to sanitize automatic login setting when user account is
deleted or disabled (fdo#54506).
+ Fix build.
- Changes from version 0.6.33:
+ Keep track of non-graphical sessions (fdo#65160).
+ Forget obsolete sessions (fdo#65159).
+ Monitor wtmp for changes (fdo#63159).
+ Ignore non-user sessions (fdo#701514).
+ Rework system account handling (fdo#64769).
- Never treat cached users as system accounts.
- Add gdm, gnome-initial-setup users to blacklist.
- Store system-account bit in key file.
- Cache newly-created users explicitly.
- Rebase accountsservice-filter-suse-accounts.patch.
- Update to version 0.6.32:
+ Don't treat remote users as system accounts (fdo#64186).
+ Clean up spawn_with_login_uid error handling (fdo#55067).
+ Quit on SIGINT/SIGTERM (fdo#63869).
+ Make --debug work as expected (fdo#63870).
+ Remove newlines from debug output (fdo#63871).
+ Fix mismatched function signature (fdo#63873).
+ Fix gir/vapi warnings (fdo#63875).
+ Fix documentation warnings (fdo#63880).
- Update to version 0.6.31:
+ Check for logind, not systemd (bgo#62586).
+ Add --enable-admin-group configure option (bgo#62235).
+ Be more aggressive at excluding system accounts (bgo#48178).
+ Fix xsession property notification (bgo#58493).
+ Fix login history variant handling (bgo#58466).
- Rebase accountsservice-sysconfig.patch.
- Update to version 0.6.30:
+ Minor source clean ups.
+ Crasher fix on 32bit systems.
+ Add get_user_by_id.
+ Don't lose sessions list for users at startup.
+ Add API for detecting when accountsservice is unavailable.
- Update to version 0.6.29:
+ Translate D-Bus errors to local errors in libaccountsservice.
+ Fix a wrong property name in the login history support.
- Update to version 0.6.28:
+ Fix act_user_manager_delete_user_finish.
+ Fix handling of LoginTime and LoginHistory properties.
- Changes from version 0.6.27:
+ Fix warnings when the singleton user manager object is
finalized.
+ Generated docs for libaccountsservice.
+ Initialize local_acount to TRUE.
+ Add async api for user creation, caching and deletion.
- Update to version 0.6.26:
+ Require libsystemd-login 186.
+ Protect against deleting root user.
+ Add LoginTime and LoginHistory properties.
+ Fix crash consolekit code.
+ Fix has_multiple_user property after removing user.
- Update to version 0.6.25:
+ Uninitialized variable fix
+ Typo fix
+ Create data dirs just-in-time
+ Ignore closing sessions for is_logged_in test
+ Disable NULL user for delete_user call
+ Updated translations.
- Update to version 0.6.24:
+ add User.Local property for identifying local users.
- Update to version 0.6.23:
+ Fix up some debug output.
+ add new CacheUser and UncacheUser apis.
+ uncache user before deleting user.
- Add the user 'fax' to the exception list (bnc#771177).
- Update to version 0.6.22:
+ Correct CVE-2012-2737, local file disclosure
+ small memory leak fix
+ exclude system accounts from ListCachedUsers
+ make has-multiple-users properly only check non-system users
+ remove icon when deleting user
+ Revert usage of getpwent() as fallback for fgetpwent
+ support consolekit call cancellation to prevent crashes caused
by shortlived sessions
+ ignore built files in .gitignore
+ quiet down build goo nagging
- Drop accountsservice-CVE-2012-2737.patch: fixed upstream.
- Add accountsservice-CVE-2012-2737.patch: fix local file
disclosure flaw. Fix bnc#768807, CVE-2012-2737.
- Add users cyrus, ldap and mailman to the openSUSE specific users
to be excluded (accountsservice-filter-suse-accounts.patch).
Fixes bnc#765487.
- Update to version 0.6.21:
+ Detect old versions of systemd and fall back to ConsoleKit
+ Exclude users without a valid shell
+ Fix log spew
- Update to version 0.6.20:
+ Fix user listing which broke in previous release
- Changes from version 0.6.19:
+ Fix spurious warnings in logs
+ Make userdel succeed even if user is already logged in
+ Exclude users with no shell
+ Exclude "at" user
- Drop accountsservice-filter-more-accounts.patch and
accountsservice-filter-no-shell.patch: fixed upstream.
- Add back accountsservice-filter-more-accounts.patch to filter the
at user.
- Add accountsservice-filter-no-shell.patch to filter users with no
shell, which happens when NIS is setup.
- This should fix bnc#757662.
- Rebase accountsservice-filter-suse-accounts.patch.
- Update to version 0.6.18:
+ Fix systemd configure check
+ Add a few more common system accounts to the blacklist
+ Fix some issues in systemd session handling
- Drop accountsservice-filter-more-accounts.patch: fixed upstream.
- Drop accountsservice-fix-systemd-test-always-evaluating-true.patch:
fixed upstream.
- Add accountsservice-filter-more-accounts.patch: filter out ftp,
games, man and mysql system users too, taken from git.
- Add accountsservice-filter-suse-accounts.patch: filter out some
openSUSE-specific accounts (beagleindex, suse-ncc).
- Add accountsservice-fix-systemd-test-always-evaluating-true.patch
Make it possible to build accountsservice without systemd
(fdo#48190).
- Update to version 0.6.17:
+ Fix user filtering which was broken in 0.6.16
+ Fix double free in user code
- Update to version 0.6.16:
+ Don't filter out users below UID_MIN in login.defs
+ Filter out users with invalid shells
+ Use infinite timeout for ListCachedUsers calls
+ Port to GDBus
+ Add systemd support
+ Build fixes for srcdir != builddir
+ Vala support and introspection fixes
+ PPC32 fixes
+ Updated translations.
- Drop pkgconfig(dbus-glib-1) BuildRequires: dependency is gone
upstream.
- Enable support for systemd session tracking:
+ Note that it will fall back to ConsoleKit at runtime, so it's
fine to build it.
+ Add pkgconfig() BuildRequires: libsystemd-login,
libsystemd-daemon.
- Rebase accountsservice-sysconfig.patch.
- Add vala BuildRequires, which is now needed because of the
gnome-autogen.sh call.
- Fix systemd-related packaging:
+ Use %{?systemd_requires}.
+ Call %service_{add,del}_* macros in scriptlets for
accounts-daemon.service.
- Remove xz BuildRequires now that it comes for free in the build
system.
- Split typelib file into typelib-1_0-AccountsService-1_0
subpackage.
- Add typelib-1_0-AccountsService-1_0 Requires to devel subpackage.
- Update to version 0.6.15:
+ Only accept regular files as icons
+ Don't track non-graphical sessions
+ Fix wtmp handling
+ Fix build on FreeBSD and OpenBSD
- Drop accountsservice-regular-file-for-icon.patch: fixed upstream.
- Add accountsservice-regular-file-for-icon.patch: only use regular
files when setting user icon. Part of bnc#676638.
- Update to version 0.6.14:
+ Ignore extraneous SetAutomaticLogin(false) calls for a user
+ Monitor /etc/gdm/custom.conf for changes in autologin config
+ Fix fast user switching
+ Fix docs to build
+ Updated translations.
- Rebase accountsservice-sysconfig.patch, and add gnome-common
BuildRequires and call to gnome-autogen.sh since it's easier to
rebase the patch without Makefile.in.
- Add gobject-introspection-devel BuildRequires to build
introspection data.
- Add accountsservice-sysconfig.patch: read and write autologin
configuration from sysconfig, as done in gdm. Fix bnc#688071.
- Update to version 0.6.13:
+ Honor aclocal flags environment variable
+ Set log domain so it can be hushed
+ Use wtmp instead of consolekit for determining login frequency
+ Leak and warning fixes
+ Clean up polkit deprecation warnings
+ Add '--' before username to account helper programs
- Add xz BuildRequires because we can't build a package for a
xz-compressed tarball without explicitly specifying that... See
bnc#697467 for more details.
- Update to version 0.6.12:
+ The usual pile of race fixes
- Changes from version 0.6.11:
+ Add API for adding users to the library.
- Drop rpmlintrc as the necessary changes have now been done in
both rpmlint (for suse-dbus-unauthorized-service) and in
polkit-default-privs (for polkit-unauthorized-privilege).
- Update to version 0.6.10:
+ An assortment of race fixes
+ Updated translations
- Changes from version 0.6.9:
+ Add a 'system-account' property to users
- Update download url for tarball.
- Add pkgconfig(systemd) to BuildRequires and package systemd
configuration file for accountsservice.
- Update to version 0.6.8:
+ use same rules for parsing booleans from gdm config as gdm.
- Update to version 0.6.7:
+ Fix call to useradd for normal users
+ Correct free array of groups
+ Updated translations
- Changes from version 0.6.6:
+ Make it possible to disable user icon
+ Drop Supervised user role
+ Use "wheel" instead of "desktop_admin_r" as admin group
since that's what everyone uses for this purpose anyway.
+ Crasher fixes
+ Misc distro integration fixes
+ Updated translations
- Changes from version 0.6.5:
+ No longer return excluded users from cached listings
+ Add a --debug command line option
+ Use proper dbus proxy for settings api in client lib
+ Expose XSession property over bus
- Enforce dependency on main package in library package by changing
Recommends to Requires.
- Add a rpmlintrc to ignore security-related rpmlint warnings that
make the build fail on Factory. This needs to get removed when
entering Factory, though.
- Cleanup for inclusion in Factory.
- Update to version 0.6.4:
- fix typo in HomeDirectory property
- fix bug in asynchronous loading code
- drop some random g_print's
- Changes from version 0.6.3:
+ Add more getters to client library
+ Add an initial cut at a setter api
+ Add XSession property type
- Changes from version 0.6.2:
+ Remove the unused UserChanged signal
+ Add a small client library, based on code from gdm
+ Don't use gnome-common
+ Use the user-administration privilege for autologin changes
- Changes from version 0.6.1:
+ Always emit the changed signal when setting user photo
+ Install systemd unit files
+ Translation updates
- Changes from version 0.6:
+ Always require user-administration privilege when setting a
password or changing a username
+ Allow changing password mode and password even when the
account is locked, and unlock it as a side-effect
+ Use /etc/shadow to store account locking and 'set password at
next login' information and monitor /etc/shadow for changes
+ Set loginuid when runing commands on behalf of a user to
generate proper audit records
+ Drop SetIconData and make SetIconFile copy the file when
appropriate. As a consequence, the service no longer links
against image libraries.
+ Various other robustness and error-handling fixes
- Changes from version 0.5:
+ Make initial user list call work
+ Avoid extraneous commandline parsing
- Package directories used by daemon to store user data:
/var/lib/AccountsService and subdirectories.
- New package (version 0.4).
OBS-URL: https://build.opensuse.org/request/show/692039
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/accountsservice?expand=0&rev=128
2019-04-11 16:48:47 +02:00
# PATCH-FIX-UPSTREAM accountsservice-read-root-user-cache.patch bsc#1114292 glfo#accountsservice/accountsservice#65 xwang@suse.com-- read root user cache file WAS PATCH-FIX-UPSTREAM
Patch2 : accountsservice-read-root-user-cache.patch
2019-09-11 12:13:53 +02:00
# PATCH-FIX-UPSTREAM accountsservice-wtmp-io-improvements.patch boo#1139487 fezhang@suse.com -- Backports that improve wtmp io performance.
Patch3 : accountsservice-wtmp-io-improvements.patch
2021-03-15 10:59:36 +01:00
# PATCH-FIX-UPSTREAM accountsservice-fix-gdm-crash.patch glfo#accountsservice/accountsservice#55 antoine.belvire@opensuse.org -- Prevent gdm crash upon service restart when autologin is enabled
Patch4 : accountsservice-fix-gdm-crash.patch
Accepting request 692039 from GNOME:Next
- Drop upstream fixed patches:
+ accountsservice-lib-don-not-set-loaded-state-until-seat-fetched.patch
- Update patches:
+ accountsservice-read-root-user-cache.patch
+ accountsservice-sysconfig.patch
- Redo summaries without em dashes.
- Reduce %systemd_requires to %systemd_ordering:
%service_* can handle the absence.
- Update to version 0.6.54:
+ Fix user state dirs.
- Changes from version 0.6.53:
+ Fix introspection.
- Changes from version 0.6.52:
+ Migrate to meson and gettext (instead of autogoo and intltool).
+ Add code of conduct.
+ Add new session and session type properties (to replace
XSession).
+ Try to handle misbehaving logind a little better.
+ Misc mixes and code modernization.
+ Add new "Saved" property to say whether a cached user is stored
on disk.
- Add accountsservice-upstream-fixes.patch: Add upstream bug fixes
commits, fix build.
- Switch to meson build system, add meson BuildRequires and macros.
- Drop obsolete intltool, gnome-common, vala, xmlto and xsltproc
BuildRequires: No longer needed.
- Replace gobject-introspection-devel with
pkgconfig(gobject-introspection-1.0) and add pkgconfig(dbus-1):
New depdendency.
- Disable the following patches that needs rebase:
+ accountsservice-sysconfig.patch.
+ accountsservice-lib-don-not-set-loaded-state-until-seat-fetched.patch.
+ accountsservice-read-root-user-cache.patch
- Add accountsservice-read-root-user-cache.patch: Read root user
cache file (bsc#1114292 glfo#accountsservice/accountsservice#65).
- Update to version 0.6.50:
+ Fix insufficient path check on user icon files.
+ Fix is-logged-in status for wayland sessions.
+ Fix user enumeration when system accounts are mixed in.
- Drop upstream fixed patches:
+ accountsservice-missing-users-on-gdm-login.patch.
+ accountsservice-lib-treat-session-type-wayland-as-graphical-session.patch
- Add accountsservice-lib-don-not-set-loaded-state-until-seat-fetched.patch:
At the moment we set is-loaded on the user-manager object as soon
as we start fetching the seat, but we should waiting until the seat
is fetched, so that can_switch() will return the correct value if
the caller waited until the loaded signal to use it.
(boo#1100041 fdo#107298)
- Add accountsservice-lib-treat-session-type-wayland-as-graphical-session.patch:
When user session type is wayland, act_user_is_logged_in can
return TRUE if the user is logged in (boo#1095918 fdo#106855).
- Make build verbose to see full command lines.
- Add accountsservice-missing-users-on-gdm-login.patch: Don't abort
loading users when an /etc/shadow entry found missing
(boo#1090003 fdo#106904).
- Update to version 0.6.49:
+ Fix crash on startup from previous compiler warning fix.
- Changes from version 0.6.48:
+ Fix crashes when adding admin user and when user is removed.
+ Performance improvements handling really large wtmp files.
- Changes from version 0.6.47:
+ Fix problem where libaccountsservice users weren't getting
property change updates.
+ Reduce memory usage of cached users in daemon process.
+ Drop premature user-added/user-removed signals that erroneously
get emitted before ListCachedUsers call finishes.
- Update to version 0.6.46:
+ Fix systemd unit file to use default standard output;
+ Performance improvements;
+ Leak fixes;
+ Crash fixes;
+ Support extra groups for admin users;
+ Add policy that allows admins to allow users to change their
own password;
+ Introspection fixes;
+ Elogind support;
+ Decruftification of username blacklist;
+ Updated translations.
- Add:
+ gio-2.0 and gio-unix-2.0 pkgconfig modules BuildRequires to
avoid implicit dependencies.
+ xmlto and xsltproc BuildRequires to enable documentation.
- Drop remove-no-longer-used-system-accounts.patch: fixed upstream.
- Rebase patches:
+ accountsservice-sysconfig.patch and
+ accountsservice-filter-suse-accounts.patch.
- Modernize spec-file by calling spec-cleaner
- Add remove-no-longer-used-system-accounts.patch:
Drop operator, nobody4 and noaccess from the blacklist
(bsc#1063794, fdo#103879).
- Update specfile to build
as-fate318433-prevent-same-account-multi-logins.patch on SLE15.
- Remove redundant %clean section; use %_smp_mflags for build.
- Update to version 0.6.45:
+ Wrap password expiration info in libaccountsservice api.
- Changes from version 0.6.44:
+ Export password expiration info from shadow file.
+ Fix user classification logic.
+ Don't lose track of users when /etc/passwd is reloaded.
- Drop accountsservice-933083-load-root-setting.patch:
fixed upstream (177509 edac45).
- Rebase accountsservice-933083-load-root-setting.patch.
- Update to version 0.6.43:
+ Fix logout times in login-history.
+ Increase performance in large deployments.
+ Memory leak fix.
+ Exclude nologin users from user list.
- Update accountsservice-sysconfig.patch:
Flush the buffer before shut down the GIOChannel, otherwise we
get a truncated setting file. The problem has caused the
switching autologin in gnome-control-center breaking
/etc/sysconfig/displaymanager (bsc#998107).
- Enable as-fate318433-prevent-same-account-multi-logins.patch for
Leap as requested by the Leap Release Manager (boo#994876).
- Remove pkgconfig(libsystemd-daemon). Nowadays
pkgconfig(libsystemd) is enough and replaces all libsystemd-*
libs which are obsolete.
- Update to version 0.6.42:
+ Wtmp fixes on solaris.
+ Allow a user to change his own data even if he's remote.
+ Add way to set password hint independent of password.
+ Conform to modern systemd library naming scheme.
+ Disable GVFS support in service, since it's not needed and has
bad side effects.
- Replace pkgconfig(libsystemd-login) for pkgconfig(libsystemd)
BuildRequires following upstream changes.
- Add as-fate318433-prevent-same-account-multi-logins.patch
(fate#318433):
Prevent multiple simultaneous logins.
- Update to GNOME 3.20 Fate#318572
- Rebased accountsservice-933083-load-root-setting.patch.
- Updated Url.
- Add accountsservice-933083-load-root-setting.patch (bnc#933083)
Load settings of an account which is not 'human' but can still be
able to login to the system. (like 'root')
- Update to version 0.6.40:
+ Support large UIDs better.
+ Don't require X11 display to fetch user with X11 session.
+ Ensure accountsservice doesn't start before NSS works.
- Update to version 0.6.39:
+ Fix ListCachedUsers race at startup.
+ Add new api for uncaching user.
+ Fix memory corruption bug.
+ Build goo changes.
- Pass --enable-user-heuristics to configure to ensure that legacy
users are still shown in GDM facebrowser.
- Update to version 0.6.38:
+ Fix polkit policy for non-desktop cases.
+ Fix for a race when new user appears.
+ Some clearer log and debug messages.
- Update to version 0.6.37:
+ BSD fixes.
- Changes from version 0.6.36:
+ Fixes for deleting users.
+ Leak fix.
+ Change user classification logic.
+ BSD fixes.
- Rebase accountsservice-sysconfig.patch and
accountsservice-filter-suse-accounts.patch.
- Update to version 0.6.35:
+ Handle non-existent users better.
+ Misc bug fixes.
+ Misc clean ups.
+ Emit "changed" signal when account type changes for user.
+ Stop shipping vapi files.
+ Avoid connecting to ConsoleKit on logind systems.
+ Add extension interface.
+ Add --enable-coverage option for gcov support.
- Rebase accountsservice-sysconfig.patch and
accountsservice-filter-suse-accounts.patch.
- Drop accountsservice-remotePW-verification.patch: fixed upstream.
- Add accountsservice-remotePW-verification.patch: treat NULL
shadow entry as "password handled remotely" (bnc#844933,
bgo#708997, fdo#70005).
- Update to version 0.6.34:
+ Try to sanitize automatic login setting when user account is
deleted or disabled (fdo#54506).
+ Fix build.
- Changes from version 0.6.33:
+ Keep track of non-graphical sessions (fdo#65160).
+ Forget obsolete sessions (fdo#65159).
+ Monitor wtmp for changes (fdo#63159).
+ Ignore non-user sessions (fdo#701514).
+ Rework system account handling (fdo#64769).
- Never treat cached users as system accounts.
- Add gdm, gnome-initial-setup users to blacklist.
- Store system-account bit in key file.
- Cache newly-created users explicitly.
- Rebase accountsservice-filter-suse-accounts.patch.
- Update to version 0.6.32:
+ Don't treat remote users as system accounts (fdo#64186).
+ Clean up spawn_with_login_uid error handling (fdo#55067).
+ Quit on SIGINT/SIGTERM (fdo#63869).
+ Make --debug work as expected (fdo#63870).
+ Remove newlines from debug output (fdo#63871).
+ Fix mismatched function signature (fdo#63873).
+ Fix gir/vapi warnings (fdo#63875).
+ Fix documentation warnings (fdo#63880).
- Update to version 0.6.31:
+ Check for logind, not systemd (bgo#62586).
+ Add --enable-admin-group configure option (bgo#62235).
+ Be more aggressive at excluding system accounts (bgo#48178).
+ Fix xsession property notification (bgo#58493).
+ Fix login history variant handling (bgo#58466).
- Rebase accountsservice-sysconfig.patch.
- Update to version 0.6.30:
+ Minor source clean ups.
+ Crasher fix on 32bit systems.
+ Add get_user_by_id.
+ Don't lose sessions list for users at startup.
+ Add API for detecting when accountsservice is unavailable.
- Update to version 0.6.29:
+ Translate D-Bus errors to local errors in libaccountsservice.
+ Fix a wrong property name in the login history support.
- Update to version 0.6.28:
+ Fix act_user_manager_delete_user_finish.
+ Fix handling of LoginTime and LoginHistory properties.
- Changes from version 0.6.27:
+ Fix warnings when the singleton user manager object is
finalized.
+ Generated docs for libaccountsservice.
+ Initialize local_acount to TRUE.
+ Add async api for user creation, caching and deletion.
- Update to version 0.6.26:
+ Require libsystemd-login 186.
+ Protect against deleting root user.
+ Add LoginTime and LoginHistory properties.
+ Fix crash consolekit code.
+ Fix has_multiple_user property after removing user.
- Update to version 0.6.25:
+ Uninitialized variable fix
+ Typo fix
+ Create data dirs just-in-time
+ Ignore closing sessions for is_logged_in test
+ Disable NULL user for delete_user call
+ Updated translations.
- Update to version 0.6.24:
+ add User.Local property for identifying local users.
- Update to version 0.6.23:
+ Fix up some debug output.
+ add new CacheUser and UncacheUser apis.
+ uncache user before deleting user.
- Add the user 'fax' to the exception list (bnc#771177).
- Update to version 0.6.22:
+ Correct CVE-2012-2737, local file disclosure
+ small memory leak fix
+ exclude system accounts from ListCachedUsers
+ make has-multiple-users properly only check non-system users
+ remove icon when deleting user
+ Revert usage of getpwent() as fallback for fgetpwent
+ support consolekit call cancellation to prevent crashes caused
by shortlived sessions
+ ignore built files in .gitignore
+ quiet down build goo nagging
- Drop accountsservice-CVE-2012-2737.patch: fixed upstream.
- Add accountsservice-CVE-2012-2737.patch: fix local file
disclosure flaw. Fix bnc#768807, CVE-2012-2737.
- Add users cyrus, ldap and mailman to the openSUSE specific users
to be excluded (accountsservice-filter-suse-accounts.patch).
Fixes bnc#765487.
- Update to version 0.6.21:
+ Detect old versions of systemd and fall back to ConsoleKit
+ Exclude users without a valid shell
+ Fix log spew
- Update to version 0.6.20:
+ Fix user listing which broke in previous release
- Changes from version 0.6.19:
+ Fix spurious warnings in logs
+ Make userdel succeed even if user is already logged in
+ Exclude users with no shell
+ Exclude "at" user
- Drop accountsservice-filter-more-accounts.patch and
accountsservice-filter-no-shell.patch: fixed upstream.
- Add back accountsservice-filter-more-accounts.patch to filter the
at user.
- Add accountsservice-filter-no-shell.patch to filter users with no
shell, which happens when NIS is setup.
- This should fix bnc#757662.
- Rebase accountsservice-filter-suse-accounts.patch.
- Update to version 0.6.18:
+ Fix systemd configure check
+ Add a few more common system accounts to the blacklist
+ Fix some issues in systemd session handling
- Drop accountsservice-filter-more-accounts.patch: fixed upstream.
- Drop accountsservice-fix-systemd-test-always-evaluating-true.patch:
fixed upstream.
- Add accountsservice-filter-more-accounts.patch: filter out ftp,
games, man and mysql system users too, taken from git.
- Add accountsservice-filter-suse-accounts.patch: filter out some
openSUSE-specific accounts (beagleindex, suse-ncc).
- Add accountsservice-fix-systemd-test-always-evaluating-true.patch
Make it possible to build accountsservice without systemd
(fdo#48190).
- Update to version 0.6.17:
+ Fix user filtering which was broken in 0.6.16
+ Fix double free in user code
- Update to version 0.6.16:
+ Don't filter out users below UID_MIN in login.defs
+ Filter out users with invalid shells
+ Use infinite timeout for ListCachedUsers calls
+ Port to GDBus
+ Add systemd support
+ Build fixes for srcdir != builddir
+ Vala support and introspection fixes
+ PPC32 fixes
+ Updated translations.
- Drop pkgconfig(dbus-glib-1) BuildRequires: dependency is gone
upstream.
- Enable support for systemd session tracking:
+ Note that it will fall back to ConsoleKit at runtime, so it's
fine to build it.
+ Add pkgconfig() BuildRequires: libsystemd-login,
libsystemd-daemon.
- Rebase accountsservice-sysconfig.patch.
- Add vala BuildRequires, which is now needed because of the
gnome-autogen.sh call.
- Fix systemd-related packaging:
+ Use %{?systemd_requires}.
+ Call %service_{add,del}_* macros in scriptlets for
accounts-daemon.service.
- Remove xz BuildRequires now that it comes for free in the build
system.
- Split typelib file into typelib-1_0-AccountsService-1_0
subpackage.
- Add typelib-1_0-AccountsService-1_0 Requires to devel subpackage.
- Update to version 0.6.15:
+ Only accept regular files as icons
+ Don't track non-graphical sessions
+ Fix wtmp handling
+ Fix build on FreeBSD and OpenBSD
- Drop accountsservice-regular-file-for-icon.patch: fixed upstream.
- Add accountsservice-regular-file-for-icon.patch: only use regular
files when setting user icon. Part of bnc#676638.
- Update to version 0.6.14:
+ Ignore extraneous SetAutomaticLogin(false) calls for a user
+ Monitor /etc/gdm/custom.conf for changes in autologin config
+ Fix fast user switching
+ Fix docs to build
+ Updated translations.
- Rebase accountsservice-sysconfig.patch, and add gnome-common
BuildRequires and call to gnome-autogen.sh since it's easier to
rebase the patch without Makefile.in.
- Add gobject-introspection-devel BuildRequires to build
introspection data.
- Add accountsservice-sysconfig.patch: read and write autologin
configuration from sysconfig, as done in gdm. Fix bnc#688071.
- Update to version 0.6.13:
+ Honor aclocal flags environment variable
+ Set log domain so it can be hushed
+ Use wtmp instead of consolekit for determining login frequency
+ Leak and warning fixes
+ Clean up polkit deprecation warnings
+ Add '--' before username to account helper programs
- Add xz BuildRequires because we can't build a package for a
xz-compressed tarball without explicitly specifying that... See
bnc#697467 for more details.
- Update to version 0.6.12:
+ The usual pile of race fixes
- Changes from version 0.6.11:
+ Add API for adding users to the library.
- Drop rpmlintrc as the necessary changes have now been done in
both rpmlint (for suse-dbus-unauthorized-service) and in
polkit-default-privs (for polkit-unauthorized-privilege).
- Update to version 0.6.10:
+ An assortment of race fixes
+ Updated translations
- Changes from version 0.6.9:
+ Add a 'system-account' property to users
- Update download url for tarball.
- Add pkgconfig(systemd) to BuildRequires and package systemd
configuration file for accountsservice.
- Update to version 0.6.8:
+ use same rules for parsing booleans from gdm config as gdm.
- Update to version 0.6.7:
+ Fix call to useradd for normal users
+ Correct free array of groups
+ Updated translations
- Changes from version 0.6.6:
+ Make it possible to disable user icon
+ Drop Supervised user role
+ Use "wheel" instead of "desktop_admin_r" as admin group
since that's what everyone uses for this purpose anyway.
+ Crasher fixes
+ Misc distro integration fixes
+ Updated translations
- Changes from version 0.6.5:
+ No longer return excluded users from cached listings
+ Add a --debug command line option
+ Use proper dbus proxy for settings api in client lib
+ Expose XSession property over bus
- Enforce dependency on main package in library package by changing
Recommends to Requires.
- Add a rpmlintrc to ignore security-related rpmlint warnings that
make the build fail on Factory. This needs to get removed when
entering Factory, though.
- Cleanup for inclusion in Factory.
- Update to version 0.6.4:
- fix typo in HomeDirectory property
- fix bug in asynchronous loading code
- drop some random g_print's
- Changes from version 0.6.3:
+ Add more getters to client library
+ Add an initial cut at a setter api
+ Add XSession property type
- Changes from version 0.6.2:
+ Remove the unused UserChanged signal
+ Add a small client library, based on code from gdm
+ Don't use gnome-common
+ Use the user-administration privilege for autologin changes
- Changes from version 0.6.1:
+ Always emit the changed signal when setting user photo
+ Install systemd unit files
+ Translation updates
- Changes from version 0.6:
+ Always require user-administration privilege when setting a
password or changing a username
+ Allow changing password mode and password even when the
account is locked, and unlock it as a side-effect
+ Use /etc/shadow to store account locking and 'set password at
next login' information and monitor /etc/shadow for changes
+ Set loginuid when runing commands on behalf of a user to
generate proper audit records
+ Drop SetIconData and make SetIconFile copy the file when
appropriate. As a consequence, the service no longer links
against image libraries.
+ Various other robustness and error-handling fixes
- Changes from version 0.5:
+ Make initial user list call work
+ Avoid extraneous commandline parsing
- Package directories used by daemon to store user data:
/var/lib/AccountsService and subdirectories.
- New package (version 0.4).
OBS-URL: https://build.opensuse.org/request/show/692039
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/accountsservice?expand=0&rev=128
2019-04-11 16:48:47 +02:00
2020-04-15 20:17:55 +02:00
## SLE and Leap only patches start at 1000
2016-08-03 14:55:27 +02:00
# PATCH-FEATURE-SLE as-fate318433-prevent-same-account-multi-logins.patch fate#318433 cxiong@suse.com -- prevent multiple simultaneous login.
2018-05-14 13:01:53 +02:00
Patch1000 : as-fate318433-prevent-same-account-multi-logins.patch
2021-07-28 10:20:17 +02:00
Patch1001 : harden_accounts-daemon.service.patch
2018-06-13 09:23:28 +02:00
Accepting request 692039 from GNOME:Next
- Drop upstream fixed patches:
+ accountsservice-lib-don-not-set-loaded-state-until-seat-fetched.patch
- Update patches:
+ accountsservice-read-root-user-cache.patch
+ accountsservice-sysconfig.patch
- Redo summaries without em dashes.
- Reduce %systemd_requires to %systemd_ordering:
%service_* can handle the absence.
- Update to version 0.6.54:
+ Fix user state dirs.
- Changes from version 0.6.53:
+ Fix introspection.
- Changes from version 0.6.52:
+ Migrate to meson and gettext (instead of autogoo and intltool).
+ Add code of conduct.
+ Add new session and session type properties (to replace
XSession).
+ Try to handle misbehaving logind a little better.
+ Misc mixes and code modernization.
+ Add new "Saved" property to say whether a cached user is stored
on disk.
- Add accountsservice-upstream-fixes.patch: Add upstream bug fixes
commits, fix build.
- Switch to meson build system, add meson BuildRequires and macros.
- Drop obsolete intltool, gnome-common, vala, xmlto and xsltproc
BuildRequires: No longer needed.
- Replace gobject-introspection-devel with
pkgconfig(gobject-introspection-1.0) and add pkgconfig(dbus-1):
New depdendency.
- Disable the following patches that needs rebase:
+ accountsservice-sysconfig.patch.
+ accountsservice-lib-don-not-set-loaded-state-until-seat-fetched.patch.
+ accountsservice-read-root-user-cache.patch
- Add accountsservice-read-root-user-cache.patch: Read root user
cache file (bsc#1114292 glfo#accountsservice/accountsservice#65).
- Update to version 0.6.50:
+ Fix insufficient path check on user icon files.
+ Fix is-logged-in status for wayland sessions.
+ Fix user enumeration when system accounts are mixed in.
- Drop upstream fixed patches:
+ accountsservice-missing-users-on-gdm-login.patch.
+ accountsservice-lib-treat-session-type-wayland-as-graphical-session.patch
- Add accountsservice-lib-don-not-set-loaded-state-until-seat-fetched.patch:
At the moment we set is-loaded on the user-manager object as soon
as we start fetching the seat, but we should waiting until the seat
is fetched, so that can_switch() will return the correct value if
the caller waited until the loaded signal to use it.
(boo#1100041 fdo#107298)
- Add accountsservice-lib-treat-session-type-wayland-as-graphical-session.patch:
When user session type is wayland, act_user_is_logged_in can
return TRUE if the user is logged in (boo#1095918 fdo#106855).
- Make build verbose to see full command lines.
- Add accountsservice-missing-users-on-gdm-login.patch: Don't abort
loading users when an /etc/shadow entry found missing
(boo#1090003 fdo#106904).
- Update to version 0.6.49:
+ Fix crash on startup from previous compiler warning fix.
- Changes from version 0.6.48:
+ Fix crashes when adding admin user and when user is removed.
+ Performance improvements handling really large wtmp files.
- Changes from version 0.6.47:
+ Fix problem where libaccountsservice users weren't getting
property change updates.
+ Reduce memory usage of cached users in daemon process.
+ Drop premature user-added/user-removed signals that erroneously
get emitted before ListCachedUsers call finishes.
- Update to version 0.6.46:
+ Fix systemd unit file to use default standard output;
+ Performance improvements;
+ Leak fixes;
+ Crash fixes;
+ Support extra groups for admin users;
+ Add policy that allows admins to allow users to change their
own password;
+ Introspection fixes;
+ Elogind support;
+ Decruftification of username blacklist;
+ Updated translations.
- Add:
+ gio-2.0 and gio-unix-2.0 pkgconfig modules BuildRequires to
avoid implicit dependencies.
+ xmlto and xsltproc BuildRequires to enable documentation.
- Drop remove-no-longer-used-system-accounts.patch: fixed upstream.
- Rebase patches:
+ accountsservice-sysconfig.patch and
+ accountsservice-filter-suse-accounts.patch.
- Modernize spec-file by calling spec-cleaner
- Add remove-no-longer-used-system-accounts.patch:
Drop operator, nobody4 and noaccess from the blacklist
(bsc#1063794, fdo#103879).
- Update specfile to build
as-fate318433-prevent-same-account-multi-logins.patch on SLE15.
- Remove redundant %clean section; use %_smp_mflags for build.
- Update to version 0.6.45:
+ Wrap password expiration info in libaccountsservice api.
- Changes from version 0.6.44:
+ Export password expiration info from shadow file.
+ Fix user classification logic.
+ Don't lose track of users when /etc/passwd is reloaded.
- Drop accountsservice-933083-load-root-setting.patch:
fixed upstream (177509 edac45).
- Rebase accountsservice-933083-load-root-setting.patch.
- Update to version 0.6.43:
+ Fix logout times in login-history.
+ Increase performance in large deployments.
+ Memory leak fix.
+ Exclude nologin users from user list.
- Update accountsservice-sysconfig.patch:
Flush the buffer before shut down the GIOChannel, otherwise we
get a truncated setting file. The problem has caused the
switching autologin in gnome-control-center breaking
/etc/sysconfig/displaymanager (bsc#998107).
- Enable as-fate318433-prevent-same-account-multi-logins.patch for
Leap as requested by the Leap Release Manager (boo#994876).
- Remove pkgconfig(libsystemd-daemon). Nowadays
pkgconfig(libsystemd) is enough and replaces all libsystemd-*
libs which are obsolete.
- Update to version 0.6.42:
+ Wtmp fixes on solaris.
+ Allow a user to change his own data even if he's remote.
+ Add way to set password hint independent of password.
+ Conform to modern systemd library naming scheme.
+ Disable GVFS support in service, since it's not needed and has
bad side effects.
- Replace pkgconfig(libsystemd-login) for pkgconfig(libsystemd)
BuildRequires following upstream changes.
- Add as-fate318433-prevent-same-account-multi-logins.patch
(fate#318433):
Prevent multiple simultaneous logins.
- Update to GNOME 3.20 Fate#318572
- Rebased accountsservice-933083-load-root-setting.patch.
- Updated Url.
- Add accountsservice-933083-load-root-setting.patch (bnc#933083)
Load settings of an account which is not 'human' but can still be
able to login to the system. (like 'root')
- Update to version 0.6.40:
+ Support large UIDs better.
+ Don't require X11 display to fetch user with X11 session.
+ Ensure accountsservice doesn't start before NSS works.
- Update to version 0.6.39:
+ Fix ListCachedUsers race at startup.
+ Add new api for uncaching user.
+ Fix memory corruption bug.
+ Build goo changes.
- Pass --enable-user-heuristics to configure to ensure that legacy
users are still shown in GDM facebrowser.
- Update to version 0.6.38:
+ Fix polkit policy for non-desktop cases.
+ Fix for a race when new user appears.
+ Some clearer log and debug messages.
- Update to version 0.6.37:
+ BSD fixes.
- Changes from version 0.6.36:
+ Fixes for deleting users.
+ Leak fix.
+ Change user classification logic.
+ BSD fixes.
- Rebase accountsservice-sysconfig.patch and
accountsservice-filter-suse-accounts.patch.
- Update to version 0.6.35:
+ Handle non-existent users better.
+ Misc bug fixes.
+ Misc clean ups.
+ Emit "changed" signal when account type changes for user.
+ Stop shipping vapi files.
+ Avoid connecting to ConsoleKit on logind systems.
+ Add extension interface.
+ Add --enable-coverage option for gcov support.
- Rebase accountsservice-sysconfig.patch and
accountsservice-filter-suse-accounts.patch.
- Drop accountsservice-remotePW-verification.patch: fixed upstream.
- Add accountsservice-remotePW-verification.patch: treat NULL
shadow entry as "password handled remotely" (bnc#844933,
bgo#708997, fdo#70005).
- Update to version 0.6.34:
+ Try to sanitize automatic login setting when user account is
deleted or disabled (fdo#54506).
+ Fix build.
- Changes from version 0.6.33:
+ Keep track of non-graphical sessions (fdo#65160).
+ Forget obsolete sessions (fdo#65159).
+ Monitor wtmp for changes (fdo#63159).
+ Ignore non-user sessions (fdo#701514).
+ Rework system account handling (fdo#64769).
- Never treat cached users as system accounts.
- Add gdm, gnome-initial-setup users to blacklist.
- Store system-account bit in key file.
- Cache newly-created users explicitly.
- Rebase accountsservice-filter-suse-accounts.patch.
- Update to version 0.6.32:
+ Don't treat remote users as system accounts (fdo#64186).
+ Clean up spawn_with_login_uid error handling (fdo#55067).
+ Quit on SIGINT/SIGTERM (fdo#63869).
+ Make --debug work as expected (fdo#63870).
+ Remove newlines from debug output (fdo#63871).
+ Fix mismatched function signature (fdo#63873).
+ Fix gir/vapi warnings (fdo#63875).
+ Fix documentation warnings (fdo#63880).
- Update to version 0.6.31:
+ Check for logind, not systemd (bgo#62586).
+ Add --enable-admin-group configure option (bgo#62235).
+ Be more aggressive at excluding system accounts (bgo#48178).
+ Fix xsession property notification (bgo#58493).
+ Fix login history variant handling (bgo#58466).
- Rebase accountsservice-sysconfig.patch.
- Update to version 0.6.30:
+ Minor source clean ups.
+ Crasher fix on 32bit systems.
+ Add get_user_by_id.
+ Don't lose sessions list for users at startup.
+ Add API for detecting when accountsservice is unavailable.
- Update to version 0.6.29:
+ Translate D-Bus errors to local errors in libaccountsservice.
+ Fix a wrong property name in the login history support.
- Update to version 0.6.28:
+ Fix act_user_manager_delete_user_finish.
+ Fix handling of LoginTime and LoginHistory properties.
- Changes from version 0.6.27:
+ Fix warnings when the singleton user manager object is
finalized.
+ Generated docs for libaccountsservice.
+ Initialize local_acount to TRUE.
+ Add async api for user creation, caching and deletion.
- Update to version 0.6.26:
+ Require libsystemd-login 186.
+ Protect against deleting root user.
+ Add LoginTime and LoginHistory properties.
+ Fix crash consolekit code.
+ Fix has_multiple_user property after removing user.
- Update to version 0.6.25:
+ Uninitialized variable fix
+ Typo fix
+ Create data dirs just-in-time
+ Ignore closing sessions for is_logged_in test
+ Disable NULL user for delete_user call
+ Updated translations.
- Update to version 0.6.24:
+ add User.Local property for identifying local users.
- Update to version 0.6.23:
+ Fix up some debug output.
+ add new CacheUser and UncacheUser apis.
+ uncache user before deleting user.
- Add the user 'fax' to the exception list (bnc#771177).
- Update to version 0.6.22:
+ Correct CVE-2012-2737, local file disclosure
+ small memory leak fix
+ exclude system accounts from ListCachedUsers
+ make has-multiple-users properly only check non-system users
+ remove icon when deleting user
+ Revert usage of getpwent() as fallback for fgetpwent
+ support consolekit call cancellation to prevent crashes caused
by shortlived sessions
+ ignore built files in .gitignore
+ quiet down build goo nagging
- Drop accountsservice-CVE-2012-2737.patch: fixed upstream.
- Add accountsservice-CVE-2012-2737.patch: fix local file
disclosure flaw. Fix bnc#768807, CVE-2012-2737.
- Add users cyrus, ldap and mailman to the openSUSE specific users
to be excluded (accountsservice-filter-suse-accounts.patch).
Fixes bnc#765487.
- Update to version 0.6.21:
+ Detect old versions of systemd and fall back to ConsoleKit
+ Exclude users without a valid shell
+ Fix log spew
- Update to version 0.6.20:
+ Fix user listing which broke in previous release
- Changes from version 0.6.19:
+ Fix spurious warnings in logs
+ Make userdel succeed even if user is already logged in
+ Exclude users with no shell
+ Exclude "at" user
- Drop accountsservice-filter-more-accounts.patch and
accountsservice-filter-no-shell.patch: fixed upstream.
- Add back accountsservice-filter-more-accounts.patch to filter the
at user.
- Add accountsservice-filter-no-shell.patch to filter users with no
shell, which happens when NIS is setup.
- This should fix bnc#757662.
- Rebase accountsservice-filter-suse-accounts.patch.
- Update to version 0.6.18:
+ Fix systemd configure check
+ Add a few more common system accounts to the blacklist
+ Fix some issues in systemd session handling
- Drop accountsservice-filter-more-accounts.patch: fixed upstream.
- Drop accountsservice-fix-systemd-test-always-evaluating-true.patch:
fixed upstream.
- Add accountsservice-filter-more-accounts.patch: filter out ftp,
games, man and mysql system users too, taken from git.
- Add accountsservice-filter-suse-accounts.patch: filter out some
openSUSE-specific accounts (beagleindex, suse-ncc).
- Add accountsservice-fix-systemd-test-always-evaluating-true.patch
Make it possible to build accountsservice without systemd
(fdo#48190).
- Update to version 0.6.17:
+ Fix user filtering which was broken in 0.6.16
+ Fix double free in user code
- Update to version 0.6.16:
+ Don't filter out users below UID_MIN in login.defs
+ Filter out users with invalid shells
+ Use infinite timeout for ListCachedUsers calls
+ Port to GDBus
+ Add systemd support
+ Build fixes for srcdir != builddir
+ Vala support and introspection fixes
+ PPC32 fixes
+ Updated translations.
- Drop pkgconfig(dbus-glib-1) BuildRequires: dependency is gone
upstream.
- Enable support for systemd session tracking:
+ Note that it will fall back to ConsoleKit at runtime, so it's
fine to build it.
+ Add pkgconfig() BuildRequires: libsystemd-login,
libsystemd-daemon.
- Rebase accountsservice-sysconfig.patch.
- Add vala BuildRequires, which is now needed because of the
gnome-autogen.sh call.
- Fix systemd-related packaging:
+ Use %{?systemd_requires}.
+ Call %service_{add,del}_* macros in scriptlets for
accounts-daemon.service.
- Remove xz BuildRequires now that it comes for free in the build
system.
- Split typelib file into typelib-1_0-AccountsService-1_0
subpackage.
- Add typelib-1_0-AccountsService-1_0 Requires to devel subpackage.
- Update to version 0.6.15:
+ Only accept regular files as icons
+ Don't track non-graphical sessions
+ Fix wtmp handling
+ Fix build on FreeBSD and OpenBSD
- Drop accountsservice-regular-file-for-icon.patch: fixed upstream.
- Add accountsservice-regular-file-for-icon.patch: only use regular
files when setting user icon. Part of bnc#676638.
- Update to version 0.6.14:
+ Ignore extraneous SetAutomaticLogin(false) calls for a user
+ Monitor /etc/gdm/custom.conf for changes in autologin config
+ Fix fast user switching
+ Fix docs to build
+ Updated translations.
- Rebase accountsservice-sysconfig.patch, and add gnome-common
BuildRequires and call to gnome-autogen.sh since it's easier to
rebase the patch without Makefile.in.
- Add gobject-introspection-devel BuildRequires to build
introspection data.
- Add accountsservice-sysconfig.patch: read and write autologin
configuration from sysconfig, as done in gdm. Fix bnc#688071.
- Update to version 0.6.13:
+ Honor aclocal flags environment variable
+ Set log domain so it can be hushed
+ Use wtmp instead of consolekit for determining login frequency
+ Leak and warning fixes
+ Clean up polkit deprecation warnings
+ Add '--' before username to account helper programs
- Add xz BuildRequires because we can't build a package for a
xz-compressed tarball without explicitly specifying that... See
bnc#697467 for more details.
- Update to version 0.6.12:
+ The usual pile of race fixes
- Changes from version 0.6.11:
+ Add API for adding users to the library.
- Drop rpmlintrc as the necessary changes have now been done in
both rpmlint (for suse-dbus-unauthorized-service) and in
polkit-default-privs (for polkit-unauthorized-privilege).
- Update to version 0.6.10:
+ An assortment of race fixes
+ Updated translations
- Changes from version 0.6.9:
+ Add a 'system-account' property to users
- Update download url for tarball.
- Add pkgconfig(systemd) to BuildRequires and package systemd
configuration file for accountsservice.
- Update to version 0.6.8:
+ use same rules for parsing booleans from gdm config as gdm.
- Update to version 0.6.7:
+ Fix call to useradd for normal users
+ Correct free array of groups
+ Updated translations
- Changes from version 0.6.6:
+ Make it possible to disable user icon
+ Drop Supervised user role
+ Use "wheel" instead of "desktop_admin_r" as admin group
since that's what everyone uses for this purpose anyway.
+ Crasher fixes
+ Misc distro integration fixes
+ Updated translations
- Changes from version 0.6.5:
+ No longer return excluded users from cached listings
+ Add a --debug command line option
+ Use proper dbus proxy for settings api in client lib
+ Expose XSession property over bus
- Enforce dependency on main package in library package by changing
Recommends to Requires.
- Add a rpmlintrc to ignore security-related rpmlint warnings that
make the build fail on Factory. This needs to get removed when
entering Factory, though.
- Cleanup for inclusion in Factory.
- Update to version 0.6.4:
- fix typo in HomeDirectory property
- fix bug in asynchronous loading code
- drop some random g_print's
- Changes from version 0.6.3:
+ Add more getters to client library
+ Add an initial cut at a setter api
+ Add XSession property type
- Changes from version 0.6.2:
+ Remove the unused UserChanged signal
+ Add a small client library, based on code from gdm
+ Don't use gnome-common
+ Use the user-administration privilege for autologin changes
- Changes from version 0.6.1:
+ Always emit the changed signal when setting user photo
+ Install systemd unit files
+ Translation updates
- Changes from version 0.6:
+ Always require user-administration privilege when setting a
password or changing a username
+ Allow changing password mode and password even when the
account is locked, and unlock it as a side-effect
+ Use /etc/shadow to store account locking and 'set password at
next login' information and monitor /etc/shadow for changes
+ Set loginuid when runing commands on behalf of a user to
generate proper audit records
+ Drop SetIconData and make SetIconFile copy the file when
appropriate. As a consequence, the service no longer links
against image libraries.
+ Various other robustness and error-handling fixes
- Changes from version 0.5:
+ Make initial user list call work
+ Avoid extraneous commandline parsing
- Package directories used by daemon to store user data:
/var/lib/AccountsService and subdirectories.
- New package (version 0.4).
OBS-URL: https://build.opensuse.org/request/show/692039
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/accountsservice?expand=0&rev=128
2019-04-11 16:48:47 +02:00
BuildRequires : gtk-doc
BuildRequires : meson
2018-03-09 11:02:05 +01:00
BuildRequires : pkgconfig
Accepting request 692039 from GNOME:Next
- Drop upstream fixed patches:
+ accountsservice-lib-don-not-set-loaded-state-until-seat-fetched.patch
- Update patches:
+ accountsservice-read-root-user-cache.patch
+ accountsservice-sysconfig.patch
- Redo summaries without em dashes.
- Reduce %systemd_requires to %systemd_ordering:
%service_* can handle the absence.
- Update to version 0.6.54:
+ Fix user state dirs.
- Changes from version 0.6.53:
+ Fix introspection.
- Changes from version 0.6.52:
+ Migrate to meson and gettext (instead of autogoo and intltool).
+ Add code of conduct.
+ Add new session and session type properties (to replace
XSession).
+ Try to handle misbehaving logind a little better.
+ Misc mixes and code modernization.
+ Add new "Saved" property to say whether a cached user is stored
on disk.
- Add accountsservice-upstream-fixes.patch: Add upstream bug fixes
commits, fix build.
- Switch to meson build system, add meson BuildRequires and macros.
- Drop obsolete intltool, gnome-common, vala, xmlto and xsltproc
BuildRequires: No longer needed.
- Replace gobject-introspection-devel with
pkgconfig(gobject-introspection-1.0) and add pkgconfig(dbus-1):
New depdendency.
- Disable the following patches that needs rebase:
+ accountsservice-sysconfig.patch.
+ accountsservice-lib-don-not-set-loaded-state-until-seat-fetched.patch.
+ accountsservice-read-root-user-cache.patch
- Add accountsservice-read-root-user-cache.patch: Read root user
cache file (bsc#1114292 glfo#accountsservice/accountsservice#65).
- Update to version 0.6.50:
+ Fix insufficient path check on user icon files.
+ Fix is-logged-in status for wayland sessions.
+ Fix user enumeration when system accounts are mixed in.
- Drop upstream fixed patches:
+ accountsservice-missing-users-on-gdm-login.patch.
+ accountsservice-lib-treat-session-type-wayland-as-graphical-session.patch
- Add accountsservice-lib-don-not-set-loaded-state-until-seat-fetched.patch:
At the moment we set is-loaded on the user-manager object as soon
as we start fetching the seat, but we should waiting until the seat
is fetched, so that can_switch() will return the correct value if
the caller waited until the loaded signal to use it.
(boo#1100041 fdo#107298)
- Add accountsservice-lib-treat-session-type-wayland-as-graphical-session.patch:
When user session type is wayland, act_user_is_logged_in can
return TRUE if the user is logged in (boo#1095918 fdo#106855).
- Make build verbose to see full command lines.
- Add accountsservice-missing-users-on-gdm-login.patch: Don't abort
loading users when an /etc/shadow entry found missing
(boo#1090003 fdo#106904).
- Update to version 0.6.49:
+ Fix crash on startup from previous compiler warning fix.
- Changes from version 0.6.48:
+ Fix crashes when adding admin user and when user is removed.
+ Performance improvements handling really large wtmp files.
- Changes from version 0.6.47:
+ Fix problem where libaccountsservice users weren't getting
property change updates.
+ Reduce memory usage of cached users in daemon process.
+ Drop premature user-added/user-removed signals that erroneously
get emitted before ListCachedUsers call finishes.
- Update to version 0.6.46:
+ Fix systemd unit file to use default standard output;
+ Performance improvements;
+ Leak fixes;
+ Crash fixes;
+ Support extra groups for admin users;
+ Add policy that allows admins to allow users to change their
own password;
+ Introspection fixes;
+ Elogind support;
+ Decruftification of username blacklist;
+ Updated translations.
- Add:
+ gio-2.0 and gio-unix-2.0 pkgconfig modules BuildRequires to
avoid implicit dependencies.
+ xmlto and xsltproc BuildRequires to enable documentation.
- Drop remove-no-longer-used-system-accounts.patch: fixed upstream.
- Rebase patches:
+ accountsservice-sysconfig.patch and
+ accountsservice-filter-suse-accounts.patch.
- Modernize spec-file by calling spec-cleaner
- Add remove-no-longer-used-system-accounts.patch:
Drop operator, nobody4 and noaccess from the blacklist
(bsc#1063794, fdo#103879).
- Update specfile to build
as-fate318433-prevent-same-account-multi-logins.patch on SLE15.
- Remove redundant %clean section; use %_smp_mflags for build.
- Update to version 0.6.45:
+ Wrap password expiration info in libaccountsservice api.
- Changes from version 0.6.44:
+ Export password expiration info from shadow file.
+ Fix user classification logic.
+ Don't lose track of users when /etc/passwd is reloaded.
- Drop accountsservice-933083-load-root-setting.patch:
fixed upstream (177509 edac45).
- Rebase accountsservice-933083-load-root-setting.patch.
- Update to version 0.6.43:
+ Fix logout times in login-history.
+ Increase performance in large deployments.
+ Memory leak fix.
+ Exclude nologin users from user list.
- Update accountsservice-sysconfig.patch:
Flush the buffer before shut down the GIOChannel, otherwise we
get a truncated setting file. The problem has caused the
switching autologin in gnome-control-center breaking
/etc/sysconfig/displaymanager (bsc#998107).
- Enable as-fate318433-prevent-same-account-multi-logins.patch for
Leap as requested by the Leap Release Manager (boo#994876).
- Remove pkgconfig(libsystemd-daemon). Nowadays
pkgconfig(libsystemd) is enough and replaces all libsystemd-*
libs which are obsolete.
- Update to version 0.6.42:
+ Wtmp fixes on solaris.
+ Allow a user to change his own data even if he's remote.
+ Add way to set password hint independent of password.
+ Conform to modern systemd library naming scheme.
+ Disable GVFS support in service, since it's not needed and has
bad side effects.
- Replace pkgconfig(libsystemd-login) for pkgconfig(libsystemd)
BuildRequires following upstream changes.
- Add as-fate318433-prevent-same-account-multi-logins.patch
(fate#318433):
Prevent multiple simultaneous logins.
- Update to GNOME 3.20 Fate#318572
- Rebased accountsservice-933083-load-root-setting.patch.
- Updated Url.
- Add accountsservice-933083-load-root-setting.patch (bnc#933083)
Load settings of an account which is not 'human' but can still be
able to login to the system. (like 'root')
- Update to version 0.6.40:
+ Support large UIDs better.
+ Don't require X11 display to fetch user with X11 session.
+ Ensure accountsservice doesn't start before NSS works.
- Update to version 0.6.39:
+ Fix ListCachedUsers race at startup.
+ Add new api for uncaching user.
+ Fix memory corruption bug.
+ Build goo changes.
- Pass --enable-user-heuristics to configure to ensure that legacy
users are still shown in GDM facebrowser.
- Update to version 0.6.38:
+ Fix polkit policy for non-desktop cases.
+ Fix for a race when new user appears.
+ Some clearer log and debug messages.
- Update to version 0.6.37:
+ BSD fixes.
- Changes from version 0.6.36:
+ Fixes for deleting users.
+ Leak fix.
+ Change user classification logic.
+ BSD fixes.
- Rebase accountsservice-sysconfig.patch and
accountsservice-filter-suse-accounts.patch.
- Update to version 0.6.35:
+ Handle non-existent users better.
+ Misc bug fixes.
+ Misc clean ups.
+ Emit "changed" signal when account type changes for user.
+ Stop shipping vapi files.
+ Avoid connecting to ConsoleKit on logind systems.
+ Add extension interface.
+ Add --enable-coverage option for gcov support.
- Rebase accountsservice-sysconfig.patch and
accountsservice-filter-suse-accounts.patch.
- Drop accountsservice-remotePW-verification.patch: fixed upstream.
- Add accountsservice-remotePW-verification.patch: treat NULL
shadow entry as "password handled remotely" (bnc#844933,
bgo#708997, fdo#70005).
- Update to version 0.6.34:
+ Try to sanitize automatic login setting when user account is
deleted or disabled (fdo#54506).
+ Fix build.
- Changes from version 0.6.33:
+ Keep track of non-graphical sessions (fdo#65160).
+ Forget obsolete sessions (fdo#65159).
+ Monitor wtmp for changes (fdo#63159).
+ Ignore non-user sessions (fdo#701514).
+ Rework system account handling (fdo#64769).
- Never treat cached users as system accounts.
- Add gdm, gnome-initial-setup users to blacklist.
- Store system-account bit in key file.
- Cache newly-created users explicitly.
- Rebase accountsservice-filter-suse-accounts.patch.
- Update to version 0.6.32:
+ Don't treat remote users as system accounts (fdo#64186).
+ Clean up spawn_with_login_uid error handling (fdo#55067).
+ Quit on SIGINT/SIGTERM (fdo#63869).
+ Make --debug work as expected (fdo#63870).
+ Remove newlines from debug output (fdo#63871).
+ Fix mismatched function signature (fdo#63873).
+ Fix gir/vapi warnings (fdo#63875).
+ Fix documentation warnings (fdo#63880).
- Update to version 0.6.31:
+ Check for logind, not systemd (bgo#62586).
+ Add --enable-admin-group configure option (bgo#62235).
+ Be more aggressive at excluding system accounts (bgo#48178).
+ Fix xsession property notification (bgo#58493).
+ Fix login history variant handling (bgo#58466).
- Rebase accountsservice-sysconfig.patch.
- Update to version 0.6.30:
+ Minor source clean ups.
+ Crasher fix on 32bit systems.
+ Add get_user_by_id.
+ Don't lose sessions list for users at startup.
+ Add API for detecting when accountsservice is unavailable.
- Update to version 0.6.29:
+ Translate D-Bus errors to local errors in libaccountsservice.
+ Fix a wrong property name in the login history support.
- Update to version 0.6.28:
+ Fix act_user_manager_delete_user_finish.
+ Fix handling of LoginTime and LoginHistory properties.
- Changes from version 0.6.27:
+ Fix warnings when the singleton user manager object is
finalized.
+ Generated docs for libaccountsservice.
+ Initialize local_acount to TRUE.
+ Add async api for user creation, caching and deletion.
- Update to version 0.6.26:
+ Require libsystemd-login 186.
+ Protect against deleting root user.
+ Add LoginTime and LoginHistory properties.
+ Fix crash consolekit code.
+ Fix has_multiple_user property after removing user.
- Update to version 0.6.25:
+ Uninitialized variable fix
+ Typo fix
+ Create data dirs just-in-time
+ Ignore closing sessions for is_logged_in test
+ Disable NULL user for delete_user call
+ Updated translations.
- Update to version 0.6.24:
+ add User.Local property for identifying local users.
- Update to version 0.6.23:
+ Fix up some debug output.
+ add new CacheUser and UncacheUser apis.
+ uncache user before deleting user.
- Add the user 'fax' to the exception list (bnc#771177).
- Update to version 0.6.22:
+ Correct CVE-2012-2737, local file disclosure
+ small memory leak fix
+ exclude system accounts from ListCachedUsers
+ make has-multiple-users properly only check non-system users
+ remove icon when deleting user
+ Revert usage of getpwent() as fallback for fgetpwent
+ support consolekit call cancellation to prevent crashes caused
by shortlived sessions
+ ignore built files in .gitignore
+ quiet down build goo nagging
- Drop accountsservice-CVE-2012-2737.patch: fixed upstream.
- Add accountsservice-CVE-2012-2737.patch: fix local file
disclosure flaw. Fix bnc#768807, CVE-2012-2737.
- Add users cyrus, ldap and mailman to the openSUSE specific users
to be excluded (accountsservice-filter-suse-accounts.patch).
Fixes bnc#765487.
- Update to version 0.6.21:
+ Detect old versions of systemd and fall back to ConsoleKit
+ Exclude users without a valid shell
+ Fix log spew
- Update to version 0.6.20:
+ Fix user listing which broke in previous release
- Changes from version 0.6.19:
+ Fix spurious warnings in logs
+ Make userdel succeed even if user is already logged in
+ Exclude users with no shell
+ Exclude "at" user
- Drop accountsservice-filter-more-accounts.patch and
accountsservice-filter-no-shell.patch: fixed upstream.
- Add back accountsservice-filter-more-accounts.patch to filter the
at user.
- Add accountsservice-filter-no-shell.patch to filter users with no
shell, which happens when NIS is setup.
- This should fix bnc#757662.
- Rebase accountsservice-filter-suse-accounts.patch.
- Update to version 0.6.18:
+ Fix systemd configure check
+ Add a few more common system accounts to the blacklist
+ Fix some issues in systemd session handling
- Drop accountsservice-filter-more-accounts.patch: fixed upstream.
- Drop accountsservice-fix-systemd-test-always-evaluating-true.patch:
fixed upstream.
- Add accountsservice-filter-more-accounts.patch: filter out ftp,
games, man and mysql system users too, taken from git.
- Add accountsservice-filter-suse-accounts.patch: filter out some
openSUSE-specific accounts (beagleindex, suse-ncc).
- Add accountsservice-fix-systemd-test-always-evaluating-true.patch
Make it possible to build accountsservice without systemd
(fdo#48190).
- Update to version 0.6.17:
+ Fix user filtering which was broken in 0.6.16
+ Fix double free in user code
- Update to version 0.6.16:
+ Don't filter out users below UID_MIN in login.defs
+ Filter out users with invalid shells
+ Use infinite timeout for ListCachedUsers calls
+ Port to GDBus
+ Add systemd support
+ Build fixes for srcdir != builddir
+ Vala support and introspection fixes
+ PPC32 fixes
+ Updated translations.
- Drop pkgconfig(dbus-glib-1) BuildRequires: dependency is gone
upstream.
- Enable support for systemd session tracking:
+ Note that it will fall back to ConsoleKit at runtime, so it's
fine to build it.
+ Add pkgconfig() BuildRequires: libsystemd-login,
libsystemd-daemon.
- Rebase accountsservice-sysconfig.patch.
- Add vala BuildRequires, which is now needed because of the
gnome-autogen.sh call.
- Fix systemd-related packaging:
+ Use %{?systemd_requires}.
+ Call %service_{add,del}_* macros in scriptlets for
accounts-daemon.service.
- Remove xz BuildRequires now that it comes for free in the build
system.
- Split typelib file into typelib-1_0-AccountsService-1_0
subpackage.
- Add typelib-1_0-AccountsService-1_0 Requires to devel subpackage.
- Update to version 0.6.15:
+ Only accept regular files as icons
+ Don't track non-graphical sessions
+ Fix wtmp handling
+ Fix build on FreeBSD and OpenBSD
- Drop accountsservice-regular-file-for-icon.patch: fixed upstream.
- Add accountsservice-regular-file-for-icon.patch: only use regular
files when setting user icon. Part of bnc#676638.
- Update to version 0.6.14:
+ Ignore extraneous SetAutomaticLogin(false) calls for a user
+ Monitor /etc/gdm/custom.conf for changes in autologin config
+ Fix fast user switching
+ Fix docs to build
+ Updated translations.
- Rebase accountsservice-sysconfig.patch, and add gnome-common
BuildRequires and call to gnome-autogen.sh since it's easier to
rebase the patch without Makefile.in.
- Add gobject-introspection-devel BuildRequires to build
introspection data.
- Add accountsservice-sysconfig.patch: read and write autologin
configuration from sysconfig, as done in gdm. Fix bnc#688071.
- Update to version 0.6.13:
+ Honor aclocal flags environment variable
+ Set log domain so it can be hushed
+ Use wtmp instead of consolekit for determining login frequency
+ Leak and warning fixes
+ Clean up polkit deprecation warnings
+ Add '--' before username to account helper programs
- Add xz BuildRequires because we can't build a package for a
xz-compressed tarball without explicitly specifying that... See
bnc#697467 for more details.
- Update to version 0.6.12:
+ The usual pile of race fixes
- Changes from version 0.6.11:
+ Add API for adding users to the library.
- Drop rpmlintrc as the necessary changes have now been done in
both rpmlint (for suse-dbus-unauthorized-service) and in
polkit-default-privs (for polkit-unauthorized-privilege).
- Update to version 0.6.10:
+ An assortment of race fixes
+ Updated translations
- Changes from version 0.6.9:
+ Add a 'system-account' property to users
- Update download url for tarball.
- Add pkgconfig(systemd) to BuildRequires and package systemd
configuration file for accountsservice.
- Update to version 0.6.8:
+ use same rules for parsing booleans from gdm config as gdm.
- Update to version 0.6.7:
+ Fix call to useradd for normal users
+ Correct free array of groups
+ Updated translations
- Changes from version 0.6.6:
+ Make it possible to disable user icon
+ Drop Supervised user role
+ Use "wheel" instead of "desktop_admin_r" as admin group
since that's what everyone uses for this purpose anyway.
+ Crasher fixes
+ Misc distro integration fixes
+ Updated translations
- Changes from version 0.6.5:
+ No longer return excluded users from cached listings
+ Add a --debug command line option
+ Use proper dbus proxy for settings api in client lib
+ Expose XSession property over bus
- Enforce dependency on main package in library package by changing
Recommends to Requires.
- Add a rpmlintrc to ignore security-related rpmlint warnings that
make the build fail on Factory. This needs to get removed when
entering Factory, though.
- Cleanup for inclusion in Factory.
- Update to version 0.6.4:
- fix typo in HomeDirectory property
- fix bug in asynchronous loading code
- drop some random g_print's
- Changes from version 0.6.3:
+ Add more getters to client library
+ Add an initial cut at a setter api
+ Add XSession property type
- Changes from version 0.6.2:
+ Remove the unused UserChanged signal
+ Add a small client library, based on code from gdm
+ Don't use gnome-common
+ Use the user-administration privilege for autologin changes
- Changes from version 0.6.1:
+ Always emit the changed signal when setting user photo
+ Install systemd unit files
+ Translation updates
- Changes from version 0.6:
+ Always require user-administration privilege when setting a
password or changing a username
+ Allow changing password mode and password even when the
account is locked, and unlock it as a side-effect
+ Use /etc/shadow to store account locking and 'set password at
next login' information and monitor /etc/shadow for changes
+ Set loginuid when runing commands on behalf of a user to
generate proper audit records
+ Drop SetIconData and make SetIconFile copy the file when
appropriate. As a consequence, the service no longer links
against image libraries.
+ Various other robustness and error-handling fixes
- Changes from version 0.5:
+ Make initial user list call work
+ Avoid extraneous commandline parsing
- Package directories used by daemon to store user data:
/var/lib/AccountsService and subdirectories.
- New package (version 0.4).
OBS-URL: https://build.opensuse.org/request/show/692039
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/accountsservice?expand=0&rev=128
2019-04-11 16:48:47 +02:00
BuildRequires : pkgconfig(dbus-1)
2018-05-14 13:01:53 +02:00
BuildRequires : pkgconfig(gio-2.0) >= 2.37.3
BuildRequires : pkgconfig(gio-unix-2.0)
BuildRequires : pkgconfig(glib-2.0) >= 2.44
Accepting request 692039 from GNOME:Next
- Drop upstream fixed patches:
+ accountsservice-lib-don-not-set-loaded-state-until-seat-fetched.patch
- Update patches:
+ accountsservice-read-root-user-cache.patch
+ accountsservice-sysconfig.patch
- Redo summaries without em dashes.
- Reduce %systemd_requires to %systemd_ordering:
%service_* can handle the absence.
- Update to version 0.6.54:
+ Fix user state dirs.
- Changes from version 0.6.53:
+ Fix introspection.
- Changes from version 0.6.52:
+ Migrate to meson and gettext (instead of autogoo and intltool).
+ Add code of conduct.
+ Add new session and session type properties (to replace
XSession).
+ Try to handle misbehaving logind a little better.
+ Misc mixes and code modernization.
+ Add new "Saved" property to say whether a cached user is stored
on disk.
- Add accountsservice-upstream-fixes.patch: Add upstream bug fixes
commits, fix build.
- Switch to meson build system, add meson BuildRequires and macros.
- Drop obsolete intltool, gnome-common, vala, xmlto and xsltproc
BuildRequires: No longer needed.
- Replace gobject-introspection-devel with
pkgconfig(gobject-introspection-1.0) and add pkgconfig(dbus-1):
New depdendency.
- Disable the following patches that needs rebase:
+ accountsservice-sysconfig.patch.
+ accountsservice-lib-don-not-set-loaded-state-until-seat-fetched.patch.
+ accountsservice-read-root-user-cache.patch
- Add accountsservice-read-root-user-cache.patch: Read root user
cache file (bsc#1114292 glfo#accountsservice/accountsservice#65).
- Update to version 0.6.50:
+ Fix insufficient path check on user icon files.
+ Fix is-logged-in status for wayland sessions.
+ Fix user enumeration when system accounts are mixed in.
- Drop upstream fixed patches:
+ accountsservice-missing-users-on-gdm-login.patch.
+ accountsservice-lib-treat-session-type-wayland-as-graphical-session.patch
- Add accountsservice-lib-don-not-set-loaded-state-until-seat-fetched.patch:
At the moment we set is-loaded on the user-manager object as soon
as we start fetching the seat, but we should waiting until the seat
is fetched, so that can_switch() will return the correct value if
the caller waited until the loaded signal to use it.
(boo#1100041 fdo#107298)
- Add accountsservice-lib-treat-session-type-wayland-as-graphical-session.patch:
When user session type is wayland, act_user_is_logged_in can
return TRUE if the user is logged in (boo#1095918 fdo#106855).
- Make build verbose to see full command lines.
- Add accountsservice-missing-users-on-gdm-login.patch: Don't abort
loading users when an /etc/shadow entry found missing
(boo#1090003 fdo#106904).
- Update to version 0.6.49:
+ Fix crash on startup from previous compiler warning fix.
- Changes from version 0.6.48:
+ Fix crashes when adding admin user and when user is removed.
+ Performance improvements handling really large wtmp files.
- Changes from version 0.6.47:
+ Fix problem where libaccountsservice users weren't getting
property change updates.
+ Reduce memory usage of cached users in daemon process.
+ Drop premature user-added/user-removed signals that erroneously
get emitted before ListCachedUsers call finishes.
- Update to version 0.6.46:
+ Fix systemd unit file to use default standard output;
+ Performance improvements;
+ Leak fixes;
+ Crash fixes;
+ Support extra groups for admin users;
+ Add policy that allows admins to allow users to change their
own password;
+ Introspection fixes;
+ Elogind support;
+ Decruftification of username blacklist;
+ Updated translations.
- Add:
+ gio-2.0 and gio-unix-2.0 pkgconfig modules BuildRequires to
avoid implicit dependencies.
+ xmlto and xsltproc BuildRequires to enable documentation.
- Drop remove-no-longer-used-system-accounts.patch: fixed upstream.
- Rebase patches:
+ accountsservice-sysconfig.patch and
+ accountsservice-filter-suse-accounts.patch.
- Modernize spec-file by calling spec-cleaner
- Add remove-no-longer-used-system-accounts.patch:
Drop operator, nobody4 and noaccess from the blacklist
(bsc#1063794, fdo#103879).
- Update specfile to build
as-fate318433-prevent-same-account-multi-logins.patch on SLE15.
- Remove redundant %clean section; use %_smp_mflags for build.
- Update to version 0.6.45:
+ Wrap password expiration info in libaccountsservice api.
- Changes from version 0.6.44:
+ Export password expiration info from shadow file.
+ Fix user classification logic.
+ Don't lose track of users when /etc/passwd is reloaded.
- Drop accountsservice-933083-load-root-setting.patch:
fixed upstream (177509 edac45).
- Rebase accountsservice-933083-load-root-setting.patch.
- Update to version 0.6.43:
+ Fix logout times in login-history.
+ Increase performance in large deployments.
+ Memory leak fix.
+ Exclude nologin users from user list.
- Update accountsservice-sysconfig.patch:
Flush the buffer before shut down the GIOChannel, otherwise we
get a truncated setting file. The problem has caused the
switching autologin in gnome-control-center breaking
/etc/sysconfig/displaymanager (bsc#998107).
- Enable as-fate318433-prevent-same-account-multi-logins.patch for
Leap as requested by the Leap Release Manager (boo#994876).
- Remove pkgconfig(libsystemd-daemon). Nowadays
pkgconfig(libsystemd) is enough and replaces all libsystemd-*
libs which are obsolete.
- Update to version 0.6.42:
+ Wtmp fixes on solaris.
+ Allow a user to change his own data even if he's remote.
+ Add way to set password hint independent of password.
+ Conform to modern systemd library naming scheme.
+ Disable GVFS support in service, since it's not needed and has
bad side effects.
- Replace pkgconfig(libsystemd-login) for pkgconfig(libsystemd)
BuildRequires following upstream changes.
- Add as-fate318433-prevent-same-account-multi-logins.patch
(fate#318433):
Prevent multiple simultaneous logins.
- Update to GNOME 3.20 Fate#318572
- Rebased accountsservice-933083-load-root-setting.patch.
- Updated Url.
- Add accountsservice-933083-load-root-setting.patch (bnc#933083)
Load settings of an account which is not 'human' but can still be
able to login to the system. (like 'root')
- Update to version 0.6.40:
+ Support large UIDs better.
+ Don't require X11 display to fetch user with X11 session.
+ Ensure accountsservice doesn't start before NSS works.
- Update to version 0.6.39:
+ Fix ListCachedUsers race at startup.
+ Add new api for uncaching user.
+ Fix memory corruption bug.
+ Build goo changes.
- Pass --enable-user-heuristics to configure to ensure that legacy
users are still shown in GDM facebrowser.
- Update to version 0.6.38:
+ Fix polkit policy for non-desktop cases.
+ Fix for a race when new user appears.
+ Some clearer log and debug messages.
- Update to version 0.6.37:
+ BSD fixes.
- Changes from version 0.6.36:
+ Fixes for deleting users.
+ Leak fix.
+ Change user classification logic.
+ BSD fixes.
- Rebase accountsservice-sysconfig.patch and
accountsservice-filter-suse-accounts.patch.
- Update to version 0.6.35:
+ Handle non-existent users better.
+ Misc bug fixes.
+ Misc clean ups.
+ Emit "changed" signal when account type changes for user.
+ Stop shipping vapi files.
+ Avoid connecting to ConsoleKit on logind systems.
+ Add extension interface.
+ Add --enable-coverage option for gcov support.
- Rebase accountsservice-sysconfig.patch and
accountsservice-filter-suse-accounts.patch.
- Drop accountsservice-remotePW-verification.patch: fixed upstream.
- Add accountsservice-remotePW-verification.patch: treat NULL
shadow entry as "password handled remotely" (bnc#844933,
bgo#708997, fdo#70005).
- Update to version 0.6.34:
+ Try to sanitize automatic login setting when user account is
deleted or disabled (fdo#54506).
+ Fix build.
- Changes from version 0.6.33:
+ Keep track of non-graphical sessions (fdo#65160).
+ Forget obsolete sessions (fdo#65159).
+ Monitor wtmp for changes (fdo#63159).
+ Ignore non-user sessions (fdo#701514).
+ Rework system account handling (fdo#64769).
- Never treat cached users as system accounts.
- Add gdm, gnome-initial-setup users to blacklist.
- Store system-account bit in key file.
- Cache newly-created users explicitly.
- Rebase accountsservice-filter-suse-accounts.patch.
- Update to version 0.6.32:
+ Don't treat remote users as system accounts (fdo#64186).
+ Clean up spawn_with_login_uid error handling (fdo#55067).
+ Quit on SIGINT/SIGTERM (fdo#63869).
+ Make --debug work as expected (fdo#63870).
+ Remove newlines from debug output (fdo#63871).
+ Fix mismatched function signature (fdo#63873).
+ Fix gir/vapi warnings (fdo#63875).
+ Fix documentation warnings (fdo#63880).
- Update to version 0.6.31:
+ Check for logind, not systemd (bgo#62586).
+ Add --enable-admin-group configure option (bgo#62235).
+ Be more aggressive at excluding system accounts (bgo#48178).
+ Fix xsession property notification (bgo#58493).
+ Fix login history variant handling (bgo#58466).
- Rebase accountsservice-sysconfig.patch.
- Update to version 0.6.30:
+ Minor source clean ups.
+ Crasher fix on 32bit systems.
+ Add get_user_by_id.
+ Don't lose sessions list for users at startup.
+ Add API for detecting when accountsservice is unavailable.
- Update to version 0.6.29:
+ Translate D-Bus errors to local errors in libaccountsservice.
+ Fix a wrong property name in the login history support.
- Update to version 0.6.28:
+ Fix act_user_manager_delete_user_finish.
+ Fix handling of LoginTime and LoginHistory properties.
- Changes from version 0.6.27:
+ Fix warnings when the singleton user manager object is
finalized.
+ Generated docs for libaccountsservice.
+ Initialize local_acount to TRUE.
+ Add async api for user creation, caching and deletion.
- Update to version 0.6.26:
+ Require libsystemd-login 186.
+ Protect against deleting root user.
+ Add LoginTime and LoginHistory properties.
+ Fix crash consolekit code.
+ Fix has_multiple_user property after removing user.
- Update to version 0.6.25:
+ Uninitialized variable fix
+ Typo fix
+ Create data dirs just-in-time
+ Ignore closing sessions for is_logged_in test
+ Disable NULL user for delete_user call
+ Updated translations.
- Update to version 0.6.24:
+ add User.Local property for identifying local users.
- Update to version 0.6.23:
+ Fix up some debug output.
+ add new CacheUser and UncacheUser apis.
+ uncache user before deleting user.
- Add the user 'fax' to the exception list (bnc#771177).
- Update to version 0.6.22:
+ Correct CVE-2012-2737, local file disclosure
+ small memory leak fix
+ exclude system accounts from ListCachedUsers
+ make has-multiple-users properly only check non-system users
+ remove icon when deleting user
+ Revert usage of getpwent() as fallback for fgetpwent
+ support consolekit call cancellation to prevent crashes caused
by shortlived sessions
+ ignore built files in .gitignore
+ quiet down build goo nagging
- Drop accountsservice-CVE-2012-2737.patch: fixed upstream.
- Add accountsservice-CVE-2012-2737.patch: fix local file
disclosure flaw. Fix bnc#768807, CVE-2012-2737.
- Add users cyrus, ldap and mailman to the openSUSE specific users
to be excluded (accountsservice-filter-suse-accounts.patch).
Fixes bnc#765487.
- Update to version 0.6.21:
+ Detect old versions of systemd and fall back to ConsoleKit
+ Exclude users without a valid shell
+ Fix log spew
- Update to version 0.6.20:
+ Fix user listing which broke in previous release
- Changes from version 0.6.19:
+ Fix spurious warnings in logs
+ Make userdel succeed even if user is already logged in
+ Exclude users with no shell
+ Exclude "at" user
- Drop accountsservice-filter-more-accounts.patch and
accountsservice-filter-no-shell.patch: fixed upstream.
- Add back accountsservice-filter-more-accounts.patch to filter the
at user.
- Add accountsservice-filter-no-shell.patch to filter users with no
shell, which happens when NIS is setup.
- This should fix bnc#757662.
- Rebase accountsservice-filter-suse-accounts.patch.
- Update to version 0.6.18:
+ Fix systemd configure check
+ Add a few more common system accounts to the blacklist
+ Fix some issues in systemd session handling
- Drop accountsservice-filter-more-accounts.patch: fixed upstream.
- Drop accountsservice-fix-systemd-test-always-evaluating-true.patch:
fixed upstream.
- Add accountsservice-filter-more-accounts.patch: filter out ftp,
games, man and mysql system users too, taken from git.
- Add accountsservice-filter-suse-accounts.patch: filter out some
openSUSE-specific accounts (beagleindex, suse-ncc).
- Add accountsservice-fix-systemd-test-always-evaluating-true.patch
Make it possible to build accountsservice without systemd
(fdo#48190).
- Update to version 0.6.17:
+ Fix user filtering which was broken in 0.6.16
+ Fix double free in user code
- Update to version 0.6.16:
+ Don't filter out users below UID_MIN in login.defs
+ Filter out users with invalid shells
+ Use infinite timeout for ListCachedUsers calls
+ Port to GDBus
+ Add systemd support
+ Build fixes for srcdir != builddir
+ Vala support and introspection fixes
+ PPC32 fixes
+ Updated translations.
- Drop pkgconfig(dbus-glib-1) BuildRequires: dependency is gone
upstream.
- Enable support for systemd session tracking:
+ Note that it will fall back to ConsoleKit at runtime, so it's
fine to build it.
+ Add pkgconfig() BuildRequires: libsystemd-login,
libsystemd-daemon.
- Rebase accountsservice-sysconfig.patch.
- Add vala BuildRequires, which is now needed because of the
gnome-autogen.sh call.
- Fix systemd-related packaging:
+ Use %{?systemd_requires}.
+ Call %service_{add,del}_* macros in scriptlets for
accounts-daemon.service.
- Remove xz BuildRequires now that it comes for free in the build
system.
- Split typelib file into typelib-1_0-AccountsService-1_0
subpackage.
- Add typelib-1_0-AccountsService-1_0 Requires to devel subpackage.
- Update to version 0.6.15:
+ Only accept regular files as icons
+ Don't track non-graphical sessions
+ Fix wtmp handling
+ Fix build on FreeBSD and OpenBSD
- Drop accountsservice-regular-file-for-icon.patch: fixed upstream.
- Add accountsservice-regular-file-for-icon.patch: only use regular
files when setting user icon. Part of bnc#676638.
- Update to version 0.6.14:
+ Ignore extraneous SetAutomaticLogin(false) calls for a user
+ Monitor /etc/gdm/custom.conf for changes in autologin config
+ Fix fast user switching
+ Fix docs to build
+ Updated translations.
- Rebase accountsservice-sysconfig.patch, and add gnome-common
BuildRequires and call to gnome-autogen.sh since it's easier to
rebase the patch without Makefile.in.
- Add gobject-introspection-devel BuildRequires to build
introspection data.
- Add accountsservice-sysconfig.patch: read and write autologin
configuration from sysconfig, as done in gdm. Fix bnc#688071.
- Update to version 0.6.13:
+ Honor aclocal flags environment variable
+ Set log domain so it can be hushed
+ Use wtmp instead of consolekit for determining login frequency
+ Leak and warning fixes
+ Clean up polkit deprecation warnings
+ Add '--' before username to account helper programs
- Add xz BuildRequires because we can't build a package for a
xz-compressed tarball without explicitly specifying that... See
bnc#697467 for more details.
- Update to version 0.6.12:
+ The usual pile of race fixes
- Changes from version 0.6.11:
+ Add API for adding users to the library.
- Drop rpmlintrc as the necessary changes have now been done in
both rpmlint (for suse-dbus-unauthorized-service) and in
polkit-default-privs (for polkit-unauthorized-privilege).
- Update to version 0.6.10:
+ An assortment of race fixes
+ Updated translations
- Changes from version 0.6.9:
+ Add a 'system-account' property to users
- Update download url for tarball.
- Add pkgconfig(systemd) to BuildRequires and package systemd
configuration file for accountsservice.
- Update to version 0.6.8:
+ use same rules for parsing booleans from gdm config as gdm.
- Update to version 0.6.7:
+ Fix call to useradd for normal users
+ Correct free array of groups
+ Updated translations
- Changes from version 0.6.6:
+ Make it possible to disable user icon
+ Drop Supervised user role
+ Use "wheel" instead of "desktop_admin_r" as admin group
since that's what everyone uses for this purpose anyway.
+ Crasher fixes
+ Misc distro integration fixes
+ Updated translations
- Changes from version 0.6.5:
+ No longer return excluded users from cached listings
+ Add a --debug command line option
+ Use proper dbus proxy for settings api in client lib
+ Expose XSession property over bus
- Enforce dependency on main package in library package by changing
Recommends to Requires.
- Add a rpmlintrc to ignore security-related rpmlint warnings that
make the build fail on Factory. This needs to get removed when
entering Factory, though.
- Cleanup for inclusion in Factory.
- Update to version 0.6.4:
- fix typo in HomeDirectory property
- fix bug in asynchronous loading code
- drop some random g_print's
- Changes from version 0.6.3:
+ Add more getters to client library
+ Add an initial cut at a setter api
+ Add XSession property type
- Changes from version 0.6.2:
+ Remove the unused UserChanged signal
+ Add a small client library, based on code from gdm
+ Don't use gnome-common
+ Use the user-administration privilege for autologin changes
- Changes from version 0.6.1:
+ Always emit the changed signal when setting user photo
+ Install systemd unit files
+ Translation updates
- Changes from version 0.6:
+ Always require user-administration privilege when setting a
password or changing a username
+ Allow changing password mode and password even when the
account is locked, and unlock it as a side-effect
+ Use /etc/shadow to store account locking and 'set password at
next login' information and monitor /etc/shadow for changes
+ Set loginuid when runing commands on behalf of a user to
generate proper audit records
+ Drop SetIconData and make SetIconFile copy the file when
appropriate. As a consequence, the service no longer links
against image libraries.
+ Various other robustness and error-handling fixes
- Changes from version 0.5:
+ Make initial user list call work
+ Avoid extraneous commandline parsing
- Package directories used by daemon to store user data:
/var/lib/AccountsService and subdirectories.
- New package (version 0.4).
OBS-URL: https://build.opensuse.org/request/show/692039
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/accountsservice?expand=0&rev=128
2019-04-11 16:48:47 +02:00
BuildRequires : pkgconfig(gobject-introspection-1.0)
2016-06-19 11:58:44 +02:00
BuildRequires : pkgconfig(libsystemd) >= 186
2011-04-21 13:21:32 +02:00
BuildRequires : pkgconfig(polkit-gobject-1)
BuildRequires : pkgconfig(systemd)
2019-03-18 19:05:23 +01:00
%{?systemd_ordering}
2011-04-21 13:21:32 +02:00
%description
The accountsservice server provides a set of D-Bus interfaces for
querying and manipulating user account information.
The implementation is based on the useradd, usermod and userdel
commands.
%package -n libaccountsservice0
2019-03-18 19:05:23 +01:00
Summary : Client library for the user account information manipulation D-Bus service
2011-04-21 13:21:32 +02:00
# Clients do need the server to do something useful
2017-02-22 21:38:43 +01:00
Group : System/Libraries
2011-04-21 13:21:32 +02:00
Requires : %{name}
%description -n libaccountsservice0
The accountsservice server provides a set of D-Bus interfaces for
querying and manipulating user account information.
This package provides a client library for the service.
2011-12-12 16:53:25 +01:00
%package -n typelib-1_0-AccountsService-1_0
2019-03-18 19:05:23 +01:00
Summary : Introspection bindings for the user account information manipulation service
2011-12-12 16:53:25 +01:00
Group : System/Libraries
%description -n typelib-1_0-AccountsService-1_0
The accountsservice server provides a set of D-Bus interfaces for
querying and manipulating user account information.
2011-12-21 05:26:00 +01:00
This package provides the GObject Introspection bindings for the
client library.
2011-12-12 16:53:25 +01:00
2011-04-21 13:21:32 +02:00
%package devel
2019-03-18 19:05:23 +01:00
Summary : Header files for the user account information manipulation service
2011-04-21 13:21:32 +02:00
Group : Development/Libraries/C and C++
Requires : libaccountsservice0 = %{version}
2011-12-12 16:53:25 +01:00
Requires : typelib-1_0-AccountsService-1_0 = %{version}
2011-04-21 13:21:32 +02:00
%description devel
The accountsservice server provides a set of D-Bus interfaces for
querying and manipulating user account information.
%lang_package
2018-03-09 11:02:05 +01:00
2011-04-21 13:21:32 +02:00
%prep
%setup -q
2011-07-22 15:04:29 +02:00
%patch0 -p1
2012-04-25 13:59:42 +02:00
%patch1 -p1
Accepting request 692039 from GNOME:Next
- Drop upstream fixed patches:
+ accountsservice-lib-don-not-set-loaded-state-until-seat-fetched.patch
- Update patches:
+ accountsservice-read-root-user-cache.patch
+ accountsservice-sysconfig.patch
- Redo summaries without em dashes.
- Reduce %systemd_requires to %systemd_ordering:
%service_* can handle the absence.
- Update to version 0.6.54:
+ Fix user state dirs.
- Changes from version 0.6.53:
+ Fix introspection.
- Changes from version 0.6.52:
+ Migrate to meson and gettext (instead of autogoo and intltool).
+ Add code of conduct.
+ Add new session and session type properties (to replace
XSession).
+ Try to handle misbehaving logind a little better.
+ Misc mixes and code modernization.
+ Add new "Saved" property to say whether a cached user is stored
on disk.
- Add accountsservice-upstream-fixes.patch: Add upstream bug fixes
commits, fix build.
- Switch to meson build system, add meson BuildRequires and macros.
- Drop obsolete intltool, gnome-common, vala, xmlto and xsltproc
BuildRequires: No longer needed.
- Replace gobject-introspection-devel with
pkgconfig(gobject-introspection-1.0) and add pkgconfig(dbus-1):
New depdendency.
- Disable the following patches that needs rebase:
+ accountsservice-sysconfig.patch.
+ accountsservice-lib-don-not-set-loaded-state-until-seat-fetched.patch.
+ accountsservice-read-root-user-cache.patch
- Add accountsservice-read-root-user-cache.patch: Read root user
cache file (bsc#1114292 glfo#accountsservice/accountsservice#65).
- Update to version 0.6.50:
+ Fix insufficient path check on user icon files.
+ Fix is-logged-in status for wayland sessions.
+ Fix user enumeration when system accounts are mixed in.
- Drop upstream fixed patches:
+ accountsservice-missing-users-on-gdm-login.patch.
+ accountsservice-lib-treat-session-type-wayland-as-graphical-session.patch
- Add accountsservice-lib-don-not-set-loaded-state-until-seat-fetched.patch:
At the moment we set is-loaded on the user-manager object as soon
as we start fetching the seat, but we should waiting until the seat
is fetched, so that can_switch() will return the correct value if
the caller waited until the loaded signal to use it.
(boo#1100041 fdo#107298)
- Add accountsservice-lib-treat-session-type-wayland-as-graphical-session.patch:
When user session type is wayland, act_user_is_logged_in can
return TRUE if the user is logged in (boo#1095918 fdo#106855).
- Make build verbose to see full command lines.
- Add accountsservice-missing-users-on-gdm-login.patch: Don't abort
loading users when an /etc/shadow entry found missing
(boo#1090003 fdo#106904).
- Update to version 0.6.49:
+ Fix crash on startup from previous compiler warning fix.
- Changes from version 0.6.48:
+ Fix crashes when adding admin user and when user is removed.
+ Performance improvements handling really large wtmp files.
- Changes from version 0.6.47:
+ Fix problem where libaccountsservice users weren't getting
property change updates.
+ Reduce memory usage of cached users in daemon process.
+ Drop premature user-added/user-removed signals that erroneously
get emitted before ListCachedUsers call finishes.
- Update to version 0.6.46:
+ Fix systemd unit file to use default standard output;
+ Performance improvements;
+ Leak fixes;
+ Crash fixes;
+ Support extra groups for admin users;
+ Add policy that allows admins to allow users to change their
own password;
+ Introspection fixes;
+ Elogind support;
+ Decruftification of username blacklist;
+ Updated translations.
- Add:
+ gio-2.0 and gio-unix-2.0 pkgconfig modules BuildRequires to
avoid implicit dependencies.
+ xmlto and xsltproc BuildRequires to enable documentation.
- Drop remove-no-longer-used-system-accounts.patch: fixed upstream.
- Rebase patches:
+ accountsservice-sysconfig.patch and
+ accountsservice-filter-suse-accounts.patch.
- Modernize spec-file by calling spec-cleaner
- Add remove-no-longer-used-system-accounts.patch:
Drop operator, nobody4 and noaccess from the blacklist
(bsc#1063794, fdo#103879).
- Update specfile to build
as-fate318433-prevent-same-account-multi-logins.patch on SLE15.
- Remove redundant %clean section; use %_smp_mflags for build.
- Update to version 0.6.45:
+ Wrap password expiration info in libaccountsservice api.
- Changes from version 0.6.44:
+ Export password expiration info from shadow file.
+ Fix user classification logic.
+ Don't lose track of users when /etc/passwd is reloaded.
- Drop accountsservice-933083-load-root-setting.patch:
fixed upstream (177509 edac45).
- Rebase accountsservice-933083-load-root-setting.patch.
- Update to version 0.6.43:
+ Fix logout times in login-history.
+ Increase performance in large deployments.
+ Memory leak fix.
+ Exclude nologin users from user list.
- Update accountsservice-sysconfig.patch:
Flush the buffer before shut down the GIOChannel, otherwise we
get a truncated setting file. The problem has caused the
switching autologin in gnome-control-center breaking
/etc/sysconfig/displaymanager (bsc#998107).
- Enable as-fate318433-prevent-same-account-multi-logins.patch for
Leap as requested by the Leap Release Manager (boo#994876).
- Remove pkgconfig(libsystemd-daemon). Nowadays
pkgconfig(libsystemd) is enough and replaces all libsystemd-*
libs which are obsolete.
- Update to version 0.6.42:
+ Wtmp fixes on solaris.
+ Allow a user to change his own data even if he's remote.
+ Add way to set password hint independent of password.
+ Conform to modern systemd library naming scheme.
+ Disable GVFS support in service, since it's not needed and has
bad side effects.
- Replace pkgconfig(libsystemd-login) for pkgconfig(libsystemd)
BuildRequires following upstream changes.
- Add as-fate318433-prevent-same-account-multi-logins.patch
(fate#318433):
Prevent multiple simultaneous logins.
- Update to GNOME 3.20 Fate#318572
- Rebased accountsservice-933083-load-root-setting.patch.
- Updated Url.
- Add accountsservice-933083-load-root-setting.patch (bnc#933083)
Load settings of an account which is not 'human' but can still be
able to login to the system. (like 'root')
- Update to version 0.6.40:
+ Support large UIDs better.
+ Don't require X11 display to fetch user with X11 session.
+ Ensure accountsservice doesn't start before NSS works.
- Update to version 0.6.39:
+ Fix ListCachedUsers race at startup.
+ Add new api for uncaching user.
+ Fix memory corruption bug.
+ Build goo changes.
- Pass --enable-user-heuristics to configure to ensure that legacy
users are still shown in GDM facebrowser.
- Update to version 0.6.38:
+ Fix polkit policy for non-desktop cases.
+ Fix for a race when new user appears.
+ Some clearer log and debug messages.
- Update to version 0.6.37:
+ BSD fixes.
- Changes from version 0.6.36:
+ Fixes for deleting users.
+ Leak fix.
+ Change user classification logic.
+ BSD fixes.
- Rebase accountsservice-sysconfig.patch and
accountsservice-filter-suse-accounts.patch.
- Update to version 0.6.35:
+ Handle non-existent users better.
+ Misc bug fixes.
+ Misc clean ups.
+ Emit "changed" signal when account type changes for user.
+ Stop shipping vapi files.
+ Avoid connecting to ConsoleKit on logind systems.
+ Add extension interface.
+ Add --enable-coverage option for gcov support.
- Rebase accountsservice-sysconfig.patch and
accountsservice-filter-suse-accounts.patch.
- Drop accountsservice-remotePW-verification.patch: fixed upstream.
- Add accountsservice-remotePW-verification.patch: treat NULL
shadow entry as "password handled remotely" (bnc#844933,
bgo#708997, fdo#70005).
- Update to version 0.6.34:
+ Try to sanitize automatic login setting when user account is
deleted or disabled (fdo#54506).
+ Fix build.
- Changes from version 0.6.33:
+ Keep track of non-graphical sessions (fdo#65160).
+ Forget obsolete sessions (fdo#65159).
+ Monitor wtmp for changes (fdo#63159).
+ Ignore non-user sessions (fdo#701514).
+ Rework system account handling (fdo#64769).
- Never treat cached users as system accounts.
- Add gdm, gnome-initial-setup users to blacklist.
- Store system-account bit in key file.
- Cache newly-created users explicitly.
- Rebase accountsservice-filter-suse-accounts.patch.
- Update to version 0.6.32:
+ Don't treat remote users as system accounts (fdo#64186).
+ Clean up spawn_with_login_uid error handling (fdo#55067).
+ Quit on SIGINT/SIGTERM (fdo#63869).
+ Make --debug work as expected (fdo#63870).
+ Remove newlines from debug output (fdo#63871).
+ Fix mismatched function signature (fdo#63873).
+ Fix gir/vapi warnings (fdo#63875).
+ Fix documentation warnings (fdo#63880).
- Update to version 0.6.31:
+ Check for logind, not systemd (bgo#62586).
+ Add --enable-admin-group configure option (bgo#62235).
+ Be more aggressive at excluding system accounts (bgo#48178).
+ Fix xsession property notification (bgo#58493).
+ Fix login history variant handling (bgo#58466).
- Rebase accountsservice-sysconfig.patch.
- Update to version 0.6.30:
+ Minor source clean ups.
+ Crasher fix on 32bit systems.
+ Add get_user_by_id.
+ Don't lose sessions list for users at startup.
+ Add API for detecting when accountsservice is unavailable.
- Update to version 0.6.29:
+ Translate D-Bus errors to local errors in libaccountsservice.
+ Fix a wrong property name in the login history support.
- Update to version 0.6.28:
+ Fix act_user_manager_delete_user_finish.
+ Fix handling of LoginTime and LoginHistory properties.
- Changes from version 0.6.27:
+ Fix warnings when the singleton user manager object is
finalized.
+ Generated docs for libaccountsservice.
+ Initialize local_acount to TRUE.
+ Add async api for user creation, caching and deletion.
- Update to version 0.6.26:
+ Require libsystemd-login 186.
+ Protect against deleting root user.
+ Add LoginTime and LoginHistory properties.
+ Fix crash consolekit code.
+ Fix has_multiple_user property after removing user.
- Update to version 0.6.25:
+ Uninitialized variable fix
+ Typo fix
+ Create data dirs just-in-time
+ Ignore closing sessions for is_logged_in test
+ Disable NULL user for delete_user call
+ Updated translations.
- Update to version 0.6.24:
+ add User.Local property for identifying local users.
- Update to version 0.6.23:
+ Fix up some debug output.
+ add new CacheUser and UncacheUser apis.
+ uncache user before deleting user.
- Add the user 'fax' to the exception list (bnc#771177).
- Update to version 0.6.22:
+ Correct CVE-2012-2737, local file disclosure
+ small memory leak fix
+ exclude system accounts from ListCachedUsers
+ make has-multiple-users properly only check non-system users
+ remove icon when deleting user
+ Revert usage of getpwent() as fallback for fgetpwent
+ support consolekit call cancellation to prevent crashes caused
by shortlived sessions
+ ignore built files in .gitignore
+ quiet down build goo nagging
- Drop accountsservice-CVE-2012-2737.patch: fixed upstream.
- Add accountsservice-CVE-2012-2737.patch: fix local file
disclosure flaw. Fix bnc#768807, CVE-2012-2737.
- Add users cyrus, ldap and mailman to the openSUSE specific users
to be excluded (accountsservice-filter-suse-accounts.patch).
Fixes bnc#765487.
- Update to version 0.6.21:
+ Detect old versions of systemd and fall back to ConsoleKit
+ Exclude users without a valid shell
+ Fix log spew
- Update to version 0.6.20:
+ Fix user listing which broke in previous release
- Changes from version 0.6.19:
+ Fix spurious warnings in logs
+ Make userdel succeed even if user is already logged in
+ Exclude users with no shell
+ Exclude "at" user
- Drop accountsservice-filter-more-accounts.patch and
accountsservice-filter-no-shell.patch: fixed upstream.
- Add back accountsservice-filter-more-accounts.patch to filter the
at user.
- Add accountsservice-filter-no-shell.patch to filter users with no
shell, which happens when NIS is setup.
- This should fix bnc#757662.
- Rebase accountsservice-filter-suse-accounts.patch.
- Update to version 0.6.18:
+ Fix systemd configure check
+ Add a few more common system accounts to the blacklist
+ Fix some issues in systemd session handling
- Drop accountsservice-filter-more-accounts.patch: fixed upstream.
- Drop accountsservice-fix-systemd-test-always-evaluating-true.patch:
fixed upstream.
- Add accountsservice-filter-more-accounts.patch: filter out ftp,
games, man and mysql system users too, taken from git.
- Add accountsservice-filter-suse-accounts.patch: filter out some
openSUSE-specific accounts (beagleindex, suse-ncc).
- Add accountsservice-fix-systemd-test-always-evaluating-true.patch
Make it possible to build accountsservice without systemd
(fdo#48190).
- Update to version 0.6.17:
+ Fix user filtering which was broken in 0.6.16
+ Fix double free in user code
- Update to version 0.6.16:
+ Don't filter out users below UID_MIN in login.defs
+ Filter out users with invalid shells
+ Use infinite timeout for ListCachedUsers calls
+ Port to GDBus
+ Add systemd support
+ Build fixes for srcdir != builddir
+ Vala support and introspection fixes
+ PPC32 fixes
+ Updated translations.
- Drop pkgconfig(dbus-glib-1) BuildRequires: dependency is gone
upstream.
- Enable support for systemd session tracking:
+ Note that it will fall back to ConsoleKit at runtime, so it's
fine to build it.
+ Add pkgconfig() BuildRequires: libsystemd-login,
libsystemd-daemon.
- Rebase accountsservice-sysconfig.patch.
- Add vala BuildRequires, which is now needed because of the
gnome-autogen.sh call.
- Fix systemd-related packaging:
+ Use %{?systemd_requires}.
+ Call %service_{add,del}_* macros in scriptlets for
accounts-daemon.service.
- Remove xz BuildRequires now that it comes for free in the build
system.
- Split typelib file into typelib-1_0-AccountsService-1_0
subpackage.
- Add typelib-1_0-AccountsService-1_0 Requires to devel subpackage.
- Update to version 0.6.15:
+ Only accept regular files as icons
+ Don't track non-graphical sessions
+ Fix wtmp handling
+ Fix build on FreeBSD and OpenBSD
- Drop accountsservice-regular-file-for-icon.patch: fixed upstream.
- Add accountsservice-regular-file-for-icon.patch: only use regular
files when setting user icon. Part of bnc#676638.
- Update to version 0.6.14:
+ Ignore extraneous SetAutomaticLogin(false) calls for a user
+ Monitor /etc/gdm/custom.conf for changes in autologin config
+ Fix fast user switching
+ Fix docs to build
+ Updated translations.
- Rebase accountsservice-sysconfig.patch, and add gnome-common
BuildRequires and call to gnome-autogen.sh since it's easier to
rebase the patch without Makefile.in.
- Add gobject-introspection-devel BuildRequires to build
introspection data.
- Add accountsservice-sysconfig.patch: read and write autologin
configuration from sysconfig, as done in gdm. Fix bnc#688071.
- Update to version 0.6.13:
+ Honor aclocal flags environment variable
+ Set log domain so it can be hushed
+ Use wtmp instead of consolekit for determining login frequency
+ Leak and warning fixes
+ Clean up polkit deprecation warnings
+ Add '--' before username to account helper programs
- Add xz BuildRequires because we can't build a package for a
xz-compressed tarball without explicitly specifying that... See
bnc#697467 for more details.
- Update to version 0.6.12:
+ The usual pile of race fixes
- Changes from version 0.6.11:
+ Add API for adding users to the library.
- Drop rpmlintrc as the necessary changes have now been done in
both rpmlint (for suse-dbus-unauthorized-service) and in
polkit-default-privs (for polkit-unauthorized-privilege).
- Update to version 0.6.10:
+ An assortment of race fixes
+ Updated translations
- Changes from version 0.6.9:
+ Add a 'system-account' property to users
- Update download url for tarball.
- Add pkgconfig(systemd) to BuildRequires and package systemd
configuration file for accountsservice.
- Update to version 0.6.8:
+ use same rules for parsing booleans from gdm config as gdm.
- Update to version 0.6.7:
+ Fix call to useradd for normal users
+ Correct free array of groups
+ Updated translations
- Changes from version 0.6.6:
+ Make it possible to disable user icon
+ Drop Supervised user role
+ Use "wheel" instead of "desktop_admin_r" as admin group
since that's what everyone uses for this purpose anyway.
+ Crasher fixes
+ Misc distro integration fixes
+ Updated translations
- Changes from version 0.6.5:
+ No longer return excluded users from cached listings
+ Add a --debug command line option
+ Use proper dbus proxy for settings api in client lib
+ Expose XSession property over bus
- Enforce dependency on main package in library package by changing
Recommends to Requires.
- Add a rpmlintrc to ignore security-related rpmlint warnings that
make the build fail on Factory. This needs to get removed when
entering Factory, though.
- Cleanup for inclusion in Factory.
- Update to version 0.6.4:
- fix typo in HomeDirectory property
- fix bug in asynchronous loading code
- drop some random g_print's
- Changes from version 0.6.3:
+ Add more getters to client library
+ Add an initial cut at a setter api
+ Add XSession property type
- Changes from version 0.6.2:
+ Remove the unused UserChanged signal
+ Add a small client library, based on code from gdm
+ Don't use gnome-common
+ Use the user-administration privilege for autologin changes
- Changes from version 0.6.1:
+ Always emit the changed signal when setting user photo
+ Install systemd unit files
+ Translation updates
- Changes from version 0.6:
+ Always require user-administration privilege when setting a
password or changing a username
+ Allow changing password mode and password even when the
account is locked, and unlock it as a side-effect
+ Use /etc/shadow to store account locking and 'set password at
next login' information and monitor /etc/shadow for changes
+ Set loginuid when runing commands on behalf of a user to
generate proper audit records
+ Drop SetIconData and make SetIconFile copy the file when
appropriate. As a consequence, the service no longer links
against image libraries.
+ Various other robustness and error-handling fixes
- Changes from version 0.5:
+ Make initial user list call work
+ Avoid extraneous commandline parsing
- Package directories used by daemon to store user data:
/var/lib/AccountsService and subdirectories.
- New package (version 0.4).
OBS-URL: https://build.opensuse.org/request/show/692039
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/accountsservice?expand=0&rev=128
2019-04-11 16:48:47 +02:00
%patch2 -p1
2019-09-11 12:13:53 +02:00
%patch3 -p1
2021-03-15 10:59:36 +01:00
%patch4 -p1
2021-07-28 10:20:17 +02:00
%patch1001 -p1
2019-05-31 17:12:31 +02:00
2020-04-15 20:17:55 +02:00
# SLE and Leap patches start at 1000
%if 0%{?sle_version}
2018-05-14 13:01:53 +02:00
%patch1000 -p1
2016-08-03 14:55:27 +02:00
%endif
2011-04-21 13:21:32 +02:00
%build
Accepting request 692039 from GNOME:Next
- Drop upstream fixed patches:
+ accountsservice-lib-don-not-set-loaded-state-until-seat-fetched.patch
- Update patches:
+ accountsservice-read-root-user-cache.patch
+ accountsservice-sysconfig.patch
- Redo summaries without em dashes.
- Reduce %systemd_requires to %systemd_ordering:
%service_* can handle the absence.
- Update to version 0.6.54:
+ Fix user state dirs.
- Changes from version 0.6.53:
+ Fix introspection.
- Changes from version 0.6.52:
+ Migrate to meson and gettext (instead of autogoo and intltool).
+ Add code of conduct.
+ Add new session and session type properties (to replace
XSession).
+ Try to handle misbehaving logind a little better.
+ Misc mixes and code modernization.
+ Add new "Saved" property to say whether a cached user is stored
on disk.
- Add accountsservice-upstream-fixes.patch: Add upstream bug fixes
commits, fix build.
- Switch to meson build system, add meson BuildRequires and macros.
- Drop obsolete intltool, gnome-common, vala, xmlto and xsltproc
BuildRequires: No longer needed.
- Replace gobject-introspection-devel with
pkgconfig(gobject-introspection-1.0) and add pkgconfig(dbus-1):
New depdendency.
- Disable the following patches that needs rebase:
+ accountsservice-sysconfig.patch.
+ accountsservice-lib-don-not-set-loaded-state-until-seat-fetched.patch.
+ accountsservice-read-root-user-cache.patch
- Add accountsservice-read-root-user-cache.patch: Read root user
cache file (bsc#1114292 glfo#accountsservice/accountsservice#65).
- Update to version 0.6.50:
+ Fix insufficient path check on user icon files.
+ Fix is-logged-in status for wayland sessions.
+ Fix user enumeration when system accounts are mixed in.
- Drop upstream fixed patches:
+ accountsservice-missing-users-on-gdm-login.patch.
+ accountsservice-lib-treat-session-type-wayland-as-graphical-session.patch
- Add accountsservice-lib-don-not-set-loaded-state-until-seat-fetched.patch:
At the moment we set is-loaded on the user-manager object as soon
as we start fetching the seat, but we should waiting until the seat
is fetched, so that can_switch() will return the correct value if
the caller waited until the loaded signal to use it.
(boo#1100041 fdo#107298)
- Add accountsservice-lib-treat-session-type-wayland-as-graphical-session.patch:
When user session type is wayland, act_user_is_logged_in can
return TRUE if the user is logged in (boo#1095918 fdo#106855).
- Make build verbose to see full command lines.
- Add accountsservice-missing-users-on-gdm-login.patch: Don't abort
loading users when an /etc/shadow entry found missing
(boo#1090003 fdo#106904).
- Update to version 0.6.49:
+ Fix crash on startup from previous compiler warning fix.
- Changes from version 0.6.48:
+ Fix crashes when adding admin user and when user is removed.
+ Performance improvements handling really large wtmp files.
- Changes from version 0.6.47:
+ Fix problem where libaccountsservice users weren't getting
property change updates.
+ Reduce memory usage of cached users in daemon process.
+ Drop premature user-added/user-removed signals that erroneously
get emitted before ListCachedUsers call finishes.
- Update to version 0.6.46:
+ Fix systemd unit file to use default standard output;
+ Performance improvements;
+ Leak fixes;
+ Crash fixes;
+ Support extra groups for admin users;
+ Add policy that allows admins to allow users to change their
own password;
+ Introspection fixes;
+ Elogind support;
+ Decruftification of username blacklist;
+ Updated translations.
- Add:
+ gio-2.0 and gio-unix-2.0 pkgconfig modules BuildRequires to
avoid implicit dependencies.
+ xmlto and xsltproc BuildRequires to enable documentation.
- Drop remove-no-longer-used-system-accounts.patch: fixed upstream.
- Rebase patches:
+ accountsservice-sysconfig.patch and
+ accountsservice-filter-suse-accounts.patch.
- Modernize spec-file by calling spec-cleaner
- Add remove-no-longer-used-system-accounts.patch:
Drop operator, nobody4 and noaccess from the blacklist
(bsc#1063794, fdo#103879).
- Update specfile to build
as-fate318433-prevent-same-account-multi-logins.patch on SLE15.
- Remove redundant %clean section; use %_smp_mflags for build.
- Update to version 0.6.45:
+ Wrap password expiration info in libaccountsservice api.
- Changes from version 0.6.44:
+ Export password expiration info from shadow file.
+ Fix user classification logic.
+ Don't lose track of users when /etc/passwd is reloaded.
- Drop accountsservice-933083-load-root-setting.patch:
fixed upstream (177509 edac45).
- Rebase accountsservice-933083-load-root-setting.patch.
- Update to version 0.6.43:
+ Fix logout times in login-history.
+ Increase performance in large deployments.
+ Memory leak fix.
+ Exclude nologin users from user list.
- Update accountsservice-sysconfig.patch:
Flush the buffer before shut down the GIOChannel, otherwise we
get a truncated setting file. The problem has caused the
switching autologin in gnome-control-center breaking
/etc/sysconfig/displaymanager (bsc#998107).
- Enable as-fate318433-prevent-same-account-multi-logins.patch for
Leap as requested by the Leap Release Manager (boo#994876).
- Remove pkgconfig(libsystemd-daemon). Nowadays
pkgconfig(libsystemd) is enough and replaces all libsystemd-*
libs which are obsolete.
- Update to version 0.6.42:
+ Wtmp fixes on solaris.
+ Allow a user to change his own data even if he's remote.
+ Add way to set password hint independent of password.
+ Conform to modern systemd library naming scheme.
+ Disable GVFS support in service, since it's not needed and has
bad side effects.
- Replace pkgconfig(libsystemd-login) for pkgconfig(libsystemd)
BuildRequires following upstream changes.
- Add as-fate318433-prevent-same-account-multi-logins.patch
(fate#318433):
Prevent multiple simultaneous logins.
- Update to GNOME 3.20 Fate#318572
- Rebased accountsservice-933083-load-root-setting.patch.
- Updated Url.
- Add accountsservice-933083-load-root-setting.patch (bnc#933083)
Load settings of an account which is not 'human' but can still be
able to login to the system. (like 'root')
- Update to version 0.6.40:
+ Support large UIDs better.
+ Don't require X11 display to fetch user with X11 session.
+ Ensure accountsservice doesn't start before NSS works.
- Update to version 0.6.39:
+ Fix ListCachedUsers race at startup.
+ Add new api for uncaching user.
+ Fix memory corruption bug.
+ Build goo changes.
- Pass --enable-user-heuristics to configure to ensure that legacy
users are still shown in GDM facebrowser.
- Update to version 0.6.38:
+ Fix polkit policy for non-desktop cases.
+ Fix for a race when new user appears.
+ Some clearer log and debug messages.
- Update to version 0.6.37:
+ BSD fixes.
- Changes from version 0.6.36:
+ Fixes for deleting users.
+ Leak fix.
+ Change user classification logic.
+ BSD fixes.
- Rebase accountsservice-sysconfig.patch and
accountsservice-filter-suse-accounts.patch.
- Update to version 0.6.35:
+ Handle non-existent users better.
+ Misc bug fixes.
+ Misc clean ups.
+ Emit "changed" signal when account type changes for user.
+ Stop shipping vapi files.
+ Avoid connecting to ConsoleKit on logind systems.
+ Add extension interface.
+ Add --enable-coverage option for gcov support.
- Rebase accountsservice-sysconfig.patch and
accountsservice-filter-suse-accounts.patch.
- Drop accountsservice-remotePW-verification.patch: fixed upstream.
- Add accountsservice-remotePW-verification.patch: treat NULL
shadow entry as "password handled remotely" (bnc#844933,
bgo#708997, fdo#70005).
- Update to version 0.6.34:
+ Try to sanitize automatic login setting when user account is
deleted or disabled (fdo#54506).
+ Fix build.
- Changes from version 0.6.33:
+ Keep track of non-graphical sessions (fdo#65160).
+ Forget obsolete sessions (fdo#65159).
+ Monitor wtmp for changes (fdo#63159).
+ Ignore non-user sessions (fdo#701514).
+ Rework system account handling (fdo#64769).
- Never treat cached users as system accounts.
- Add gdm, gnome-initial-setup users to blacklist.
- Store system-account bit in key file.
- Cache newly-created users explicitly.
- Rebase accountsservice-filter-suse-accounts.patch.
- Update to version 0.6.32:
+ Don't treat remote users as system accounts (fdo#64186).
+ Clean up spawn_with_login_uid error handling (fdo#55067).
+ Quit on SIGINT/SIGTERM (fdo#63869).
+ Make --debug work as expected (fdo#63870).
+ Remove newlines from debug output (fdo#63871).
+ Fix mismatched function signature (fdo#63873).
+ Fix gir/vapi warnings (fdo#63875).
+ Fix documentation warnings (fdo#63880).
- Update to version 0.6.31:
+ Check for logind, not systemd (bgo#62586).
+ Add --enable-admin-group configure option (bgo#62235).
+ Be more aggressive at excluding system accounts (bgo#48178).
+ Fix xsession property notification (bgo#58493).
+ Fix login history variant handling (bgo#58466).
- Rebase accountsservice-sysconfig.patch.
- Update to version 0.6.30:
+ Minor source clean ups.
+ Crasher fix on 32bit systems.
+ Add get_user_by_id.
+ Don't lose sessions list for users at startup.
+ Add API for detecting when accountsservice is unavailable.
- Update to version 0.6.29:
+ Translate D-Bus errors to local errors in libaccountsservice.
+ Fix a wrong property name in the login history support.
- Update to version 0.6.28:
+ Fix act_user_manager_delete_user_finish.
+ Fix handling of LoginTime and LoginHistory properties.
- Changes from version 0.6.27:
+ Fix warnings when the singleton user manager object is
finalized.
+ Generated docs for libaccountsservice.
+ Initialize local_acount to TRUE.
+ Add async api for user creation, caching and deletion.
- Update to version 0.6.26:
+ Require libsystemd-login 186.
+ Protect against deleting root user.
+ Add LoginTime and LoginHistory properties.
+ Fix crash consolekit code.
+ Fix has_multiple_user property after removing user.
- Update to version 0.6.25:
+ Uninitialized variable fix
+ Typo fix
+ Create data dirs just-in-time
+ Ignore closing sessions for is_logged_in test
+ Disable NULL user for delete_user call
+ Updated translations.
- Update to version 0.6.24:
+ add User.Local property for identifying local users.
- Update to version 0.6.23:
+ Fix up some debug output.
+ add new CacheUser and UncacheUser apis.
+ uncache user before deleting user.
- Add the user 'fax' to the exception list (bnc#771177).
- Update to version 0.6.22:
+ Correct CVE-2012-2737, local file disclosure
+ small memory leak fix
+ exclude system accounts from ListCachedUsers
+ make has-multiple-users properly only check non-system users
+ remove icon when deleting user
+ Revert usage of getpwent() as fallback for fgetpwent
+ support consolekit call cancellation to prevent crashes caused
by shortlived sessions
+ ignore built files in .gitignore
+ quiet down build goo nagging
- Drop accountsservice-CVE-2012-2737.patch: fixed upstream.
- Add accountsservice-CVE-2012-2737.patch: fix local file
disclosure flaw. Fix bnc#768807, CVE-2012-2737.
- Add users cyrus, ldap and mailman to the openSUSE specific users
to be excluded (accountsservice-filter-suse-accounts.patch).
Fixes bnc#765487.
- Update to version 0.6.21:
+ Detect old versions of systemd and fall back to ConsoleKit
+ Exclude users without a valid shell
+ Fix log spew
- Update to version 0.6.20:
+ Fix user listing which broke in previous release
- Changes from version 0.6.19:
+ Fix spurious warnings in logs
+ Make userdel succeed even if user is already logged in
+ Exclude users with no shell
+ Exclude "at" user
- Drop accountsservice-filter-more-accounts.patch and
accountsservice-filter-no-shell.patch: fixed upstream.
- Add back accountsservice-filter-more-accounts.patch to filter the
at user.
- Add accountsservice-filter-no-shell.patch to filter users with no
shell, which happens when NIS is setup.
- This should fix bnc#757662.
- Rebase accountsservice-filter-suse-accounts.patch.
- Update to version 0.6.18:
+ Fix systemd configure check
+ Add a few more common system accounts to the blacklist
+ Fix some issues in systemd session handling
- Drop accountsservice-filter-more-accounts.patch: fixed upstream.
- Drop accountsservice-fix-systemd-test-always-evaluating-true.patch:
fixed upstream.
- Add accountsservice-filter-more-accounts.patch: filter out ftp,
games, man and mysql system users too, taken from git.
- Add accountsservice-filter-suse-accounts.patch: filter out some
openSUSE-specific accounts (beagleindex, suse-ncc).
- Add accountsservice-fix-systemd-test-always-evaluating-true.patch
Make it possible to build accountsservice without systemd
(fdo#48190).
- Update to version 0.6.17:
+ Fix user filtering which was broken in 0.6.16
+ Fix double free in user code
- Update to version 0.6.16:
+ Don't filter out users below UID_MIN in login.defs
+ Filter out users with invalid shells
+ Use infinite timeout for ListCachedUsers calls
+ Port to GDBus
+ Add systemd support
+ Build fixes for srcdir != builddir
+ Vala support and introspection fixes
+ PPC32 fixes
+ Updated translations.
- Drop pkgconfig(dbus-glib-1) BuildRequires: dependency is gone
upstream.
- Enable support for systemd session tracking:
+ Note that it will fall back to ConsoleKit at runtime, so it's
fine to build it.
+ Add pkgconfig() BuildRequires: libsystemd-login,
libsystemd-daemon.
- Rebase accountsservice-sysconfig.patch.
- Add vala BuildRequires, which is now needed because of the
gnome-autogen.sh call.
- Fix systemd-related packaging:
+ Use %{?systemd_requires}.
+ Call %service_{add,del}_* macros in scriptlets for
accounts-daemon.service.
- Remove xz BuildRequires now that it comes for free in the build
system.
- Split typelib file into typelib-1_0-AccountsService-1_0
subpackage.
- Add typelib-1_0-AccountsService-1_0 Requires to devel subpackage.
- Update to version 0.6.15:
+ Only accept regular files as icons
+ Don't track non-graphical sessions
+ Fix wtmp handling
+ Fix build on FreeBSD and OpenBSD
- Drop accountsservice-regular-file-for-icon.patch: fixed upstream.
- Add accountsservice-regular-file-for-icon.patch: only use regular
files when setting user icon. Part of bnc#676638.
- Update to version 0.6.14:
+ Ignore extraneous SetAutomaticLogin(false) calls for a user
+ Monitor /etc/gdm/custom.conf for changes in autologin config
+ Fix fast user switching
+ Fix docs to build
+ Updated translations.
- Rebase accountsservice-sysconfig.patch, and add gnome-common
BuildRequires and call to gnome-autogen.sh since it's easier to
rebase the patch without Makefile.in.
- Add gobject-introspection-devel BuildRequires to build
introspection data.
- Add accountsservice-sysconfig.patch: read and write autologin
configuration from sysconfig, as done in gdm. Fix bnc#688071.
- Update to version 0.6.13:
+ Honor aclocal flags environment variable
+ Set log domain so it can be hushed
+ Use wtmp instead of consolekit for determining login frequency
+ Leak and warning fixes
+ Clean up polkit deprecation warnings
+ Add '--' before username to account helper programs
- Add xz BuildRequires because we can't build a package for a
xz-compressed tarball without explicitly specifying that... See
bnc#697467 for more details.
- Update to version 0.6.12:
+ The usual pile of race fixes
- Changes from version 0.6.11:
+ Add API for adding users to the library.
- Drop rpmlintrc as the necessary changes have now been done in
both rpmlint (for suse-dbus-unauthorized-service) and in
polkit-default-privs (for polkit-unauthorized-privilege).
- Update to version 0.6.10:
+ An assortment of race fixes
+ Updated translations
- Changes from version 0.6.9:
+ Add a 'system-account' property to users
- Update download url for tarball.
- Add pkgconfig(systemd) to BuildRequires and package systemd
configuration file for accountsservice.
- Update to version 0.6.8:
+ use same rules for parsing booleans from gdm config as gdm.
- Update to version 0.6.7:
+ Fix call to useradd for normal users
+ Correct free array of groups
+ Updated translations
- Changes from version 0.6.6:
+ Make it possible to disable user icon
+ Drop Supervised user role
+ Use "wheel" instead of "desktop_admin_r" as admin group
since that's what everyone uses for this purpose anyway.
+ Crasher fixes
+ Misc distro integration fixes
+ Updated translations
- Changes from version 0.6.5:
+ No longer return excluded users from cached listings
+ Add a --debug command line option
+ Use proper dbus proxy for settings api in client lib
+ Expose XSession property over bus
- Enforce dependency on main package in library package by changing
Recommends to Requires.
- Add a rpmlintrc to ignore security-related rpmlint warnings that
make the build fail on Factory. This needs to get removed when
entering Factory, though.
- Cleanup for inclusion in Factory.
- Update to version 0.6.4:
- fix typo in HomeDirectory property
- fix bug in asynchronous loading code
- drop some random g_print's
- Changes from version 0.6.3:
+ Add more getters to client library
+ Add an initial cut at a setter api
+ Add XSession property type
- Changes from version 0.6.2:
+ Remove the unused UserChanged signal
+ Add a small client library, based on code from gdm
+ Don't use gnome-common
+ Use the user-administration privilege for autologin changes
- Changes from version 0.6.1:
+ Always emit the changed signal when setting user photo
+ Install systemd unit files
+ Translation updates
- Changes from version 0.6:
+ Always require user-administration privilege when setting a
password or changing a username
+ Allow changing password mode and password even when the
account is locked, and unlock it as a side-effect
+ Use /etc/shadow to store account locking and 'set password at
next login' information and monitor /etc/shadow for changes
+ Set loginuid when runing commands on behalf of a user to
generate proper audit records
+ Drop SetIconData and make SetIconFile copy the file when
appropriate. As a consequence, the service no longer links
against image libraries.
+ Various other robustness and error-handling fixes
- Changes from version 0.5:
+ Make initial user list call work
+ Avoid extraneous commandline parsing
- Package directories used by daemon to store user data:
/var/lib/AccountsService and subdirectories.
- New package (version 0.4).
OBS-URL: https://build.opensuse.org/request/show/692039
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/accountsservice?expand=0&rev=128
2019-04-11 16:48:47 +02:00
%meson \
-Duser-heuristics=true \
-Dsystemd=true \
-Dintrospection=true \
-Dgtk_doc=true \
%{nil}
%meson_build
2011-04-21 13:21:32 +02:00
%install
Accepting request 692039 from GNOME:Next
- Drop upstream fixed patches:
+ accountsservice-lib-don-not-set-loaded-state-until-seat-fetched.patch
- Update patches:
+ accountsservice-read-root-user-cache.patch
+ accountsservice-sysconfig.patch
- Redo summaries without em dashes.
- Reduce %systemd_requires to %systemd_ordering:
%service_* can handle the absence.
- Update to version 0.6.54:
+ Fix user state dirs.
- Changes from version 0.6.53:
+ Fix introspection.
- Changes from version 0.6.52:
+ Migrate to meson and gettext (instead of autogoo and intltool).
+ Add code of conduct.
+ Add new session and session type properties (to replace
XSession).
+ Try to handle misbehaving logind a little better.
+ Misc mixes and code modernization.
+ Add new "Saved" property to say whether a cached user is stored
on disk.
- Add accountsservice-upstream-fixes.patch: Add upstream bug fixes
commits, fix build.
- Switch to meson build system, add meson BuildRequires and macros.
- Drop obsolete intltool, gnome-common, vala, xmlto and xsltproc
BuildRequires: No longer needed.
- Replace gobject-introspection-devel with
pkgconfig(gobject-introspection-1.0) and add pkgconfig(dbus-1):
New depdendency.
- Disable the following patches that needs rebase:
+ accountsservice-sysconfig.patch.
+ accountsservice-lib-don-not-set-loaded-state-until-seat-fetched.patch.
+ accountsservice-read-root-user-cache.patch
- Add accountsservice-read-root-user-cache.patch: Read root user
cache file (bsc#1114292 glfo#accountsservice/accountsservice#65).
- Update to version 0.6.50:
+ Fix insufficient path check on user icon files.
+ Fix is-logged-in status for wayland sessions.
+ Fix user enumeration when system accounts are mixed in.
- Drop upstream fixed patches:
+ accountsservice-missing-users-on-gdm-login.patch.
+ accountsservice-lib-treat-session-type-wayland-as-graphical-session.patch
- Add accountsservice-lib-don-not-set-loaded-state-until-seat-fetched.patch:
At the moment we set is-loaded on the user-manager object as soon
as we start fetching the seat, but we should waiting until the seat
is fetched, so that can_switch() will return the correct value if
the caller waited until the loaded signal to use it.
(boo#1100041 fdo#107298)
- Add accountsservice-lib-treat-session-type-wayland-as-graphical-session.patch:
When user session type is wayland, act_user_is_logged_in can
return TRUE if the user is logged in (boo#1095918 fdo#106855).
- Make build verbose to see full command lines.
- Add accountsservice-missing-users-on-gdm-login.patch: Don't abort
loading users when an /etc/shadow entry found missing
(boo#1090003 fdo#106904).
- Update to version 0.6.49:
+ Fix crash on startup from previous compiler warning fix.
- Changes from version 0.6.48:
+ Fix crashes when adding admin user and when user is removed.
+ Performance improvements handling really large wtmp files.
- Changes from version 0.6.47:
+ Fix problem where libaccountsservice users weren't getting
property change updates.
+ Reduce memory usage of cached users in daemon process.
+ Drop premature user-added/user-removed signals that erroneously
get emitted before ListCachedUsers call finishes.
- Update to version 0.6.46:
+ Fix systemd unit file to use default standard output;
+ Performance improvements;
+ Leak fixes;
+ Crash fixes;
+ Support extra groups for admin users;
+ Add policy that allows admins to allow users to change their
own password;
+ Introspection fixes;
+ Elogind support;
+ Decruftification of username blacklist;
+ Updated translations.
- Add:
+ gio-2.0 and gio-unix-2.0 pkgconfig modules BuildRequires to
avoid implicit dependencies.
+ xmlto and xsltproc BuildRequires to enable documentation.
- Drop remove-no-longer-used-system-accounts.patch: fixed upstream.
- Rebase patches:
+ accountsservice-sysconfig.patch and
+ accountsservice-filter-suse-accounts.patch.
- Modernize spec-file by calling spec-cleaner
- Add remove-no-longer-used-system-accounts.patch:
Drop operator, nobody4 and noaccess from the blacklist
(bsc#1063794, fdo#103879).
- Update specfile to build
as-fate318433-prevent-same-account-multi-logins.patch on SLE15.
- Remove redundant %clean section; use %_smp_mflags for build.
- Update to version 0.6.45:
+ Wrap password expiration info in libaccountsservice api.
- Changes from version 0.6.44:
+ Export password expiration info from shadow file.
+ Fix user classification logic.
+ Don't lose track of users when /etc/passwd is reloaded.
- Drop accountsservice-933083-load-root-setting.patch:
fixed upstream (177509 edac45).
- Rebase accountsservice-933083-load-root-setting.patch.
- Update to version 0.6.43:
+ Fix logout times in login-history.
+ Increase performance in large deployments.
+ Memory leak fix.
+ Exclude nologin users from user list.
- Update accountsservice-sysconfig.patch:
Flush the buffer before shut down the GIOChannel, otherwise we
get a truncated setting file. The problem has caused the
switching autologin in gnome-control-center breaking
/etc/sysconfig/displaymanager (bsc#998107).
- Enable as-fate318433-prevent-same-account-multi-logins.patch for
Leap as requested by the Leap Release Manager (boo#994876).
- Remove pkgconfig(libsystemd-daemon). Nowadays
pkgconfig(libsystemd) is enough and replaces all libsystemd-*
libs which are obsolete.
- Update to version 0.6.42:
+ Wtmp fixes on solaris.
+ Allow a user to change his own data even if he's remote.
+ Add way to set password hint independent of password.
+ Conform to modern systemd library naming scheme.
+ Disable GVFS support in service, since it's not needed and has
bad side effects.
- Replace pkgconfig(libsystemd-login) for pkgconfig(libsystemd)
BuildRequires following upstream changes.
- Add as-fate318433-prevent-same-account-multi-logins.patch
(fate#318433):
Prevent multiple simultaneous logins.
- Update to GNOME 3.20 Fate#318572
- Rebased accountsservice-933083-load-root-setting.patch.
- Updated Url.
- Add accountsservice-933083-load-root-setting.patch (bnc#933083)
Load settings of an account which is not 'human' but can still be
able to login to the system. (like 'root')
- Update to version 0.6.40:
+ Support large UIDs better.
+ Don't require X11 display to fetch user with X11 session.
+ Ensure accountsservice doesn't start before NSS works.
- Update to version 0.6.39:
+ Fix ListCachedUsers race at startup.
+ Add new api for uncaching user.
+ Fix memory corruption bug.
+ Build goo changes.
- Pass --enable-user-heuristics to configure to ensure that legacy
users are still shown in GDM facebrowser.
- Update to version 0.6.38:
+ Fix polkit policy for non-desktop cases.
+ Fix for a race when new user appears.
+ Some clearer log and debug messages.
- Update to version 0.6.37:
+ BSD fixes.
- Changes from version 0.6.36:
+ Fixes for deleting users.
+ Leak fix.
+ Change user classification logic.
+ BSD fixes.
- Rebase accountsservice-sysconfig.patch and
accountsservice-filter-suse-accounts.patch.
- Update to version 0.6.35:
+ Handle non-existent users better.
+ Misc bug fixes.
+ Misc clean ups.
+ Emit "changed" signal when account type changes for user.
+ Stop shipping vapi files.
+ Avoid connecting to ConsoleKit on logind systems.
+ Add extension interface.
+ Add --enable-coverage option for gcov support.
- Rebase accountsservice-sysconfig.patch and
accountsservice-filter-suse-accounts.patch.
- Drop accountsservice-remotePW-verification.patch: fixed upstream.
- Add accountsservice-remotePW-verification.patch: treat NULL
shadow entry as "password handled remotely" (bnc#844933,
bgo#708997, fdo#70005).
- Update to version 0.6.34:
+ Try to sanitize automatic login setting when user account is
deleted or disabled (fdo#54506).
+ Fix build.
- Changes from version 0.6.33:
+ Keep track of non-graphical sessions (fdo#65160).
+ Forget obsolete sessions (fdo#65159).
+ Monitor wtmp for changes (fdo#63159).
+ Ignore non-user sessions (fdo#701514).
+ Rework system account handling (fdo#64769).
- Never treat cached users as system accounts.
- Add gdm, gnome-initial-setup users to blacklist.
- Store system-account bit in key file.
- Cache newly-created users explicitly.
- Rebase accountsservice-filter-suse-accounts.patch.
- Update to version 0.6.32:
+ Don't treat remote users as system accounts (fdo#64186).
+ Clean up spawn_with_login_uid error handling (fdo#55067).
+ Quit on SIGINT/SIGTERM (fdo#63869).
+ Make --debug work as expected (fdo#63870).
+ Remove newlines from debug output (fdo#63871).
+ Fix mismatched function signature (fdo#63873).
+ Fix gir/vapi warnings (fdo#63875).
+ Fix documentation warnings (fdo#63880).
- Update to version 0.6.31:
+ Check for logind, not systemd (bgo#62586).
+ Add --enable-admin-group configure option (bgo#62235).
+ Be more aggressive at excluding system accounts (bgo#48178).
+ Fix xsession property notification (bgo#58493).
+ Fix login history variant handling (bgo#58466).
- Rebase accountsservice-sysconfig.patch.
- Update to version 0.6.30:
+ Minor source clean ups.
+ Crasher fix on 32bit systems.
+ Add get_user_by_id.
+ Don't lose sessions list for users at startup.
+ Add API for detecting when accountsservice is unavailable.
- Update to version 0.6.29:
+ Translate D-Bus errors to local errors in libaccountsservice.
+ Fix a wrong property name in the login history support.
- Update to version 0.6.28:
+ Fix act_user_manager_delete_user_finish.
+ Fix handling of LoginTime and LoginHistory properties.
- Changes from version 0.6.27:
+ Fix warnings when the singleton user manager object is
finalized.
+ Generated docs for libaccountsservice.
+ Initialize local_acount to TRUE.
+ Add async api for user creation, caching and deletion.
- Update to version 0.6.26:
+ Require libsystemd-login 186.
+ Protect against deleting root user.
+ Add LoginTime and LoginHistory properties.
+ Fix crash consolekit code.
+ Fix has_multiple_user property after removing user.
- Update to version 0.6.25:
+ Uninitialized variable fix
+ Typo fix
+ Create data dirs just-in-time
+ Ignore closing sessions for is_logged_in test
+ Disable NULL user for delete_user call
+ Updated translations.
- Update to version 0.6.24:
+ add User.Local property for identifying local users.
- Update to version 0.6.23:
+ Fix up some debug output.
+ add new CacheUser and UncacheUser apis.
+ uncache user before deleting user.
- Add the user 'fax' to the exception list (bnc#771177).
- Update to version 0.6.22:
+ Correct CVE-2012-2737, local file disclosure
+ small memory leak fix
+ exclude system accounts from ListCachedUsers
+ make has-multiple-users properly only check non-system users
+ remove icon when deleting user
+ Revert usage of getpwent() as fallback for fgetpwent
+ support consolekit call cancellation to prevent crashes caused
by shortlived sessions
+ ignore built files in .gitignore
+ quiet down build goo nagging
- Drop accountsservice-CVE-2012-2737.patch: fixed upstream.
- Add accountsservice-CVE-2012-2737.patch: fix local file
disclosure flaw. Fix bnc#768807, CVE-2012-2737.
- Add users cyrus, ldap and mailman to the openSUSE specific users
to be excluded (accountsservice-filter-suse-accounts.patch).
Fixes bnc#765487.
- Update to version 0.6.21:
+ Detect old versions of systemd and fall back to ConsoleKit
+ Exclude users without a valid shell
+ Fix log spew
- Update to version 0.6.20:
+ Fix user listing which broke in previous release
- Changes from version 0.6.19:
+ Fix spurious warnings in logs
+ Make userdel succeed even if user is already logged in
+ Exclude users with no shell
+ Exclude "at" user
- Drop accountsservice-filter-more-accounts.patch and
accountsservice-filter-no-shell.patch: fixed upstream.
- Add back accountsservice-filter-more-accounts.patch to filter the
at user.
- Add accountsservice-filter-no-shell.patch to filter users with no
shell, which happens when NIS is setup.
- This should fix bnc#757662.
- Rebase accountsservice-filter-suse-accounts.patch.
- Update to version 0.6.18:
+ Fix systemd configure check
+ Add a few more common system accounts to the blacklist
+ Fix some issues in systemd session handling
- Drop accountsservice-filter-more-accounts.patch: fixed upstream.
- Drop accountsservice-fix-systemd-test-always-evaluating-true.patch:
fixed upstream.
- Add accountsservice-filter-more-accounts.patch: filter out ftp,
games, man and mysql system users too, taken from git.
- Add accountsservice-filter-suse-accounts.patch: filter out some
openSUSE-specific accounts (beagleindex, suse-ncc).
- Add accountsservice-fix-systemd-test-always-evaluating-true.patch
Make it possible to build accountsservice without systemd
(fdo#48190).
- Update to version 0.6.17:
+ Fix user filtering which was broken in 0.6.16
+ Fix double free in user code
- Update to version 0.6.16:
+ Don't filter out users below UID_MIN in login.defs
+ Filter out users with invalid shells
+ Use infinite timeout for ListCachedUsers calls
+ Port to GDBus
+ Add systemd support
+ Build fixes for srcdir != builddir
+ Vala support and introspection fixes
+ PPC32 fixes
+ Updated translations.
- Drop pkgconfig(dbus-glib-1) BuildRequires: dependency is gone
upstream.
- Enable support for systemd session tracking:
+ Note that it will fall back to ConsoleKit at runtime, so it's
fine to build it.
+ Add pkgconfig() BuildRequires: libsystemd-login,
libsystemd-daemon.
- Rebase accountsservice-sysconfig.patch.
- Add vala BuildRequires, which is now needed because of the
gnome-autogen.sh call.
- Fix systemd-related packaging:
+ Use %{?systemd_requires}.
+ Call %service_{add,del}_* macros in scriptlets for
accounts-daemon.service.
- Remove xz BuildRequires now that it comes for free in the build
system.
- Split typelib file into typelib-1_0-AccountsService-1_0
subpackage.
- Add typelib-1_0-AccountsService-1_0 Requires to devel subpackage.
- Update to version 0.6.15:
+ Only accept regular files as icons
+ Don't track non-graphical sessions
+ Fix wtmp handling
+ Fix build on FreeBSD and OpenBSD
- Drop accountsservice-regular-file-for-icon.patch: fixed upstream.
- Add accountsservice-regular-file-for-icon.patch: only use regular
files when setting user icon. Part of bnc#676638.
- Update to version 0.6.14:
+ Ignore extraneous SetAutomaticLogin(false) calls for a user
+ Monitor /etc/gdm/custom.conf for changes in autologin config
+ Fix fast user switching
+ Fix docs to build
+ Updated translations.
- Rebase accountsservice-sysconfig.patch, and add gnome-common
BuildRequires and call to gnome-autogen.sh since it's easier to
rebase the patch without Makefile.in.
- Add gobject-introspection-devel BuildRequires to build
introspection data.
- Add accountsservice-sysconfig.patch: read and write autologin
configuration from sysconfig, as done in gdm. Fix bnc#688071.
- Update to version 0.6.13:
+ Honor aclocal flags environment variable
+ Set log domain so it can be hushed
+ Use wtmp instead of consolekit for determining login frequency
+ Leak and warning fixes
+ Clean up polkit deprecation warnings
+ Add '--' before username to account helper programs
- Add xz BuildRequires because we can't build a package for a
xz-compressed tarball without explicitly specifying that... See
bnc#697467 for more details.
- Update to version 0.6.12:
+ The usual pile of race fixes
- Changes from version 0.6.11:
+ Add API for adding users to the library.
- Drop rpmlintrc as the necessary changes have now been done in
both rpmlint (for suse-dbus-unauthorized-service) and in
polkit-default-privs (for polkit-unauthorized-privilege).
- Update to version 0.6.10:
+ An assortment of race fixes
+ Updated translations
- Changes from version 0.6.9:
+ Add a 'system-account' property to users
- Update download url for tarball.
- Add pkgconfig(systemd) to BuildRequires and package systemd
configuration file for accountsservice.
- Update to version 0.6.8:
+ use same rules for parsing booleans from gdm config as gdm.
- Update to version 0.6.7:
+ Fix call to useradd for normal users
+ Correct free array of groups
+ Updated translations
- Changes from version 0.6.6:
+ Make it possible to disable user icon
+ Drop Supervised user role
+ Use "wheel" instead of "desktop_admin_r" as admin group
since that's what everyone uses for this purpose anyway.
+ Crasher fixes
+ Misc distro integration fixes
+ Updated translations
- Changes from version 0.6.5:
+ No longer return excluded users from cached listings
+ Add a --debug command line option
+ Use proper dbus proxy for settings api in client lib
+ Expose XSession property over bus
- Enforce dependency on main package in library package by changing
Recommends to Requires.
- Add a rpmlintrc to ignore security-related rpmlint warnings that
make the build fail on Factory. This needs to get removed when
entering Factory, though.
- Cleanup for inclusion in Factory.
- Update to version 0.6.4:
- fix typo in HomeDirectory property
- fix bug in asynchronous loading code
- drop some random g_print's
- Changes from version 0.6.3:
+ Add more getters to client library
+ Add an initial cut at a setter api
+ Add XSession property type
- Changes from version 0.6.2:
+ Remove the unused UserChanged signal
+ Add a small client library, based on code from gdm
+ Don't use gnome-common
+ Use the user-administration privilege for autologin changes
- Changes from version 0.6.1:
+ Always emit the changed signal when setting user photo
+ Install systemd unit files
+ Translation updates
- Changes from version 0.6:
+ Always require user-administration privilege when setting a
password or changing a username
+ Allow changing password mode and password even when the
account is locked, and unlock it as a side-effect
+ Use /etc/shadow to store account locking and 'set password at
next login' information and monitor /etc/shadow for changes
+ Set loginuid when runing commands on behalf of a user to
generate proper audit records
+ Drop SetIconData and make SetIconFile copy the file when
appropriate. As a consequence, the service no longer links
against image libraries.
+ Various other robustness and error-handling fixes
- Changes from version 0.5:
+ Make initial user list call work
+ Avoid extraneous commandline parsing
- Package directories used by daemon to store user data:
/var/lib/AccountsService and subdirectories.
- New package (version 0.4).
OBS-URL: https://build.opensuse.org/request/show/692039
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/accountsservice?expand=0&rev=128
2019-04-11 16:48:47 +02:00
%meson_install
2011-04-21 13:21:32 +02:00
%find_lang accounts-service
2012-02-28 00:11:29 +01:00
%pre
%service_add_pre accounts-daemon.service
%post
%service_add_post accounts-daemon.service
%preun
%service_del_preun accounts-daemon.service
%postun
%service_del_postun accounts-daemon.service
2011-04-21 13:21:32 +02:00
%post -n libaccountsservice0 -p /sbin/ldconfig
%postun -n libaccountsservice0 -p /sbin/ldconfig
%files
2018-03-09 11:02:05 +01:00
%license COPYING
Accepting request 692039 from GNOME:Next
- Drop upstream fixed patches:
+ accountsservice-lib-don-not-set-loaded-state-until-seat-fetched.patch
- Update patches:
+ accountsservice-read-root-user-cache.patch
+ accountsservice-sysconfig.patch
- Redo summaries without em dashes.
- Reduce %systemd_requires to %systemd_ordering:
%service_* can handle the absence.
- Update to version 0.6.54:
+ Fix user state dirs.
- Changes from version 0.6.53:
+ Fix introspection.
- Changes from version 0.6.52:
+ Migrate to meson and gettext (instead of autogoo and intltool).
+ Add code of conduct.
+ Add new session and session type properties (to replace
XSession).
+ Try to handle misbehaving logind a little better.
+ Misc mixes and code modernization.
+ Add new "Saved" property to say whether a cached user is stored
on disk.
- Add accountsservice-upstream-fixes.patch: Add upstream bug fixes
commits, fix build.
- Switch to meson build system, add meson BuildRequires and macros.
- Drop obsolete intltool, gnome-common, vala, xmlto and xsltproc
BuildRequires: No longer needed.
- Replace gobject-introspection-devel with
pkgconfig(gobject-introspection-1.0) and add pkgconfig(dbus-1):
New depdendency.
- Disable the following patches that needs rebase:
+ accountsservice-sysconfig.patch.
+ accountsservice-lib-don-not-set-loaded-state-until-seat-fetched.patch.
+ accountsservice-read-root-user-cache.patch
- Add accountsservice-read-root-user-cache.patch: Read root user
cache file (bsc#1114292 glfo#accountsservice/accountsservice#65).
- Update to version 0.6.50:
+ Fix insufficient path check on user icon files.
+ Fix is-logged-in status for wayland sessions.
+ Fix user enumeration when system accounts are mixed in.
- Drop upstream fixed patches:
+ accountsservice-missing-users-on-gdm-login.patch.
+ accountsservice-lib-treat-session-type-wayland-as-graphical-session.patch
- Add accountsservice-lib-don-not-set-loaded-state-until-seat-fetched.patch:
At the moment we set is-loaded on the user-manager object as soon
as we start fetching the seat, but we should waiting until the seat
is fetched, so that can_switch() will return the correct value if
the caller waited until the loaded signal to use it.
(boo#1100041 fdo#107298)
- Add accountsservice-lib-treat-session-type-wayland-as-graphical-session.patch:
When user session type is wayland, act_user_is_logged_in can
return TRUE if the user is logged in (boo#1095918 fdo#106855).
- Make build verbose to see full command lines.
- Add accountsservice-missing-users-on-gdm-login.patch: Don't abort
loading users when an /etc/shadow entry found missing
(boo#1090003 fdo#106904).
- Update to version 0.6.49:
+ Fix crash on startup from previous compiler warning fix.
- Changes from version 0.6.48:
+ Fix crashes when adding admin user and when user is removed.
+ Performance improvements handling really large wtmp files.
- Changes from version 0.6.47:
+ Fix problem where libaccountsservice users weren't getting
property change updates.
+ Reduce memory usage of cached users in daemon process.
+ Drop premature user-added/user-removed signals that erroneously
get emitted before ListCachedUsers call finishes.
- Update to version 0.6.46:
+ Fix systemd unit file to use default standard output;
+ Performance improvements;
+ Leak fixes;
+ Crash fixes;
+ Support extra groups for admin users;
+ Add policy that allows admins to allow users to change their
own password;
+ Introspection fixes;
+ Elogind support;
+ Decruftification of username blacklist;
+ Updated translations.
- Add:
+ gio-2.0 and gio-unix-2.0 pkgconfig modules BuildRequires to
avoid implicit dependencies.
+ xmlto and xsltproc BuildRequires to enable documentation.
- Drop remove-no-longer-used-system-accounts.patch: fixed upstream.
- Rebase patches:
+ accountsservice-sysconfig.patch and
+ accountsservice-filter-suse-accounts.patch.
- Modernize spec-file by calling spec-cleaner
- Add remove-no-longer-used-system-accounts.patch:
Drop operator, nobody4 and noaccess from the blacklist
(bsc#1063794, fdo#103879).
- Update specfile to build
as-fate318433-prevent-same-account-multi-logins.patch on SLE15.
- Remove redundant %clean section; use %_smp_mflags for build.
- Update to version 0.6.45:
+ Wrap password expiration info in libaccountsservice api.
- Changes from version 0.6.44:
+ Export password expiration info from shadow file.
+ Fix user classification logic.
+ Don't lose track of users when /etc/passwd is reloaded.
- Drop accountsservice-933083-load-root-setting.patch:
fixed upstream (177509 edac45).
- Rebase accountsservice-933083-load-root-setting.patch.
- Update to version 0.6.43:
+ Fix logout times in login-history.
+ Increase performance in large deployments.
+ Memory leak fix.
+ Exclude nologin users from user list.
- Update accountsservice-sysconfig.patch:
Flush the buffer before shut down the GIOChannel, otherwise we
get a truncated setting file. The problem has caused the
switching autologin in gnome-control-center breaking
/etc/sysconfig/displaymanager (bsc#998107).
- Enable as-fate318433-prevent-same-account-multi-logins.patch for
Leap as requested by the Leap Release Manager (boo#994876).
- Remove pkgconfig(libsystemd-daemon). Nowadays
pkgconfig(libsystemd) is enough and replaces all libsystemd-*
libs which are obsolete.
- Update to version 0.6.42:
+ Wtmp fixes on solaris.
+ Allow a user to change his own data even if he's remote.
+ Add way to set password hint independent of password.
+ Conform to modern systemd library naming scheme.
+ Disable GVFS support in service, since it's not needed and has
bad side effects.
- Replace pkgconfig(libsystemd-login) for pkgconfig(libsystemd)
BuildRequires following upstream changes.
- Add as-fate318433-prevent-same-account-multi-logins.patch
(fate#318433):
Prevent multiple simultaneous logins.
- Update to GNOME 3.20 Fate#318572
- Rebased accountsservice-933083-load-root-setting.patch.
- Updated Url.
- Add accountsservice-933083-load-root-setting.patch (bnc#933083)
Load settings of an account which is not 'human' but can still be
able to login to the system. (like 'root')
- Update to version 0.6.40:
+ Support large UIDs better.
+ Don't require X11 display to fetch user with X11 session.
+ Ensure accountsservice doesn't start before NSS works.
- Update to version 0.6.39:
+ Fix ListCachedUsers race at startup.
+ Add new api for uncaching user.
+ Fix memory corruption bug.
+ Build goo changes.
- Pass --enable-user-heuristics to configure to ensure that legacy
users are still shown in GDM facebrowser.
- Update to version 0.6.38:
+ Fix polkit policy for non-desktop cases.
+ Fix for a race when new user appears.
+ Some clearer log and debug messages.
- Update to version 0.6.37:
+ BSD fixes.
- Changes from version 0.6.36:
+ Fixes for deleting users.
+ Leak fix.
+ Change user classification logic.
+ BSD fixes.
- Rebase accountsservice-sysconfig.patch and
accountsservice-filter-suse-accounts.patch.
- Update to version 0.6.35:
+ Handle non-existent users better.
+ Misc bug fixes.
+ Misc clean ups.
+ Emit "changed" signal when account type changes for user.
+ Stop shipping vapi files.
+ Avoid connecting to ConsoleKit on logind systems.
+ Add extension interface.
+ Add --enable-coverage option for gcov support.
- Rebase accountsservice-sysconfig.patch and
accountsservice-filter-suse-accounts.patch.
- Drop accountsservice-remotePW-verification.patch: fixed upstream.
- Add accountsservice-remotePW-verification.patch: treat NULL
shadow entry as "password handled remotely" (bnc#844933,
bgo#708997, fdo#70005).
- Update to version 0.6.34:
+ Try to sanitize automatic login setting when user account is
deleted or disabled (fdo#54506).
+ Fix build.
- Changes from version 0.6.33:
+ Keep track of non-graphical sessions (fdo#65160).
+ Forget obsolete sessions (fdo#65159).
+ Monitor wtmp for changes (fdo#63159).
+ Ignore non-user sessions (fdo#701514).
+ Rework system account handling (fdo#64769).
- Never treat cached users as system accounts.
- Add gdm, gnome-initial-setup users to blacklist.
- Store system-account bit in key file.
- Cache newly-created users explicitly.
- Rebase accountsservice-filter-suse-accounts.patch.
- Update to version 0.6.32:
+ Don't treat remote users as system accounts (fdo#64186).
+ Clean up spawn_with_login_uid error handling (fdo#55067).
+ Quit on SIGINT/SIGTERM (fdo#63869).
+ Make --debug work as expected (fdo#63870).
+ Remove newlines from debug output (fdo#63871).
+ Fix mismatched function signature (fdo#63873).
+ Fix gir/vapi warnings (fdo#63875).
+ Fix documentation warnings (fdo#63880).
- Update to version 0.6.31:
+ Check for logind, not systemd (bgo#62586).
+ Add --enable-admin-group configure option (bgo#62235).
+ Be more aggressive at excluding system accounts (bgo#48178).
+ Fix xsession property notification (bgo#58493).
+ Fix login history variant handling (bgo#58466).
- Rebase accountsservice-sysconfig.patch.
- Update to version 0.6.30:
+ Minor source clean ups.
+ Crasher fix on 32bit systems.
+ Add get_user_by_id.
+ Don't lose sessions list for users at startup.
+ Add API for detecting when accountsservice is unavailable.
- Update to version 0.6.29:
+ Translate D-Bus errors to local errors in libaccountsservice.
+ Fix a wrong property name in the login history support.
- Update to version 0.6.28:
+ Fix act_user_manager_delete_user_finish.
+ Fix handling of LoginTime and LoginHistory properties.
- Changes from version 0.6.27:
+ Fix warnings when the singleton user manager object is
finalized.
+ Generated docs for libaccountsservice.
+ Initialize local_acount to TRUE.
+ Add async api for user creation, caching and deletion.
- Update to version 0.6.26:
+ Require libsystemd-login 186.
+ Protect against deleting root user.
+ Add LoginTime and LoginHistory properties.
+ Fix crash consolekit code.
+ Fix has_multiple_user property after removing user.
- Update to version 0.6.25:
+ Uninitialized variable fix
+ Typo fix
+ Create data dirs just-in-time
+ Ignore closing sessions for is_logged_in test
+ Disable NULL user for delete_user call
+ Updated translations.
- Update to version 0.6.24:
+ add User.Local property for identifying local users.
- Update to version 0.6.23:
+ Fix up some debug output.
+ add new CacheUser and UncacheUser apis.
+ uncache user before deleting user.
- Add the user 'fax' to the exception list (bnc#771177).
- Update to version 0.6.22:
+ Correct CVE-2012-2737, local file disclosure
+ small memory leak fix
+ exclude system accounts from ListCachedUsers
+ make has-multiple-users properly only check non-system users
+ remove icon when deleting user
+ Revert usage of getpwent() as fallback for fgetpwent
+ support consolekit call cancellation to prevent crashes caused
by shortlived sessions
+ ignore built files in .gitignore
+ quiet down build goo nagging
- Drop accountsservice-CVE-2012-2737.patch: fixed upstream.
- Add accountsservice-CVE-2012-2737.patch: fix local file
disclosure flaw. Fix bnc#768807, CVE-2012-2737.
- Add users cyrus, ldap and mailman to the openSUSE specific users
to be excluded (accountsservice-filter-suse-accounts.patch).
Fixes bnc#765487.
- Update to version 0.6.21:
+ Detect old versions of systemd and fall back to ConsoleKit
+ Exclude users without a valid shell
+ Fix log spew
- Update to version 0.6.20:
+ Fix user listing which broke in previous release
- Changes from version 0.6.19:
+ Fix spurious warnings in logs
+ Make userdel succeed even if user is already logged in
+ Exclude users with no shell
+ Exclude "at" user
- Drop accountsservice-filter-more-accounts.patch and
accountsservice-filter-no-shell.patch: fixed upstream.
- Add back accountsservice-filter-more-accounts.patch to filter the
at user.
- Add accountsservice-filter-no-shell.patch to filter users with no
shell, which happens when NIS is setup.
- This should fix bnc#757662.
- Rebase accountsservice-filter-suse-accounts.patch.
- Update to version 0.6.18:
+ Fix systemd configure check
+ Add a few more common system accounts to the blacklist
+ Fix some issues in systemd session handling
- Drop accountsservice-filter-more-accounts.patch: fixed upstream.
- Drop accountsservice-fix-systemd-test-always-evaluating-true.patch:
fixed upstream.
- Add accountsservice-filter-more-accounts.patch: filter out ftp,
games, man and mysql system users too, taken from git.
- Add accountsservice-filter-suse-accounts.patch: filter out some
openSUSE-specific accounts (beagleindex, suse-ncc).
- Add accountsservice-fix-systemd-test-always-evaluating-true.patch
Make it possible to build accountsservice without systemd
(fdo#48190).
- Update to version 0.6.17:
+ Fix user filtering which was broken in 0.6.16
+ Fix double free in user code
- Update to version 0.6.16:
+ Don't filter out users below UID_MIN in login.defs
+ Filter out users with invalid shells
+ Use infinite timeout for ListCachedUsers calls
+ Port to GDBus
+ Add systemd support
+ Build fixes for srcdir != builddir
+ Vala support and introspection fixes
+ PPC32 fixes
+ Updated translations.
- Drop pkgconfig(dbus-glib-1) BuildRequires: dependency is gone
upstream.
- Enable support for systemd session tracking:
+ Note that it will fall back to ConsoleKit at runtime, so it's
fine to build it.
+ Add pkgconfig() BuildRequires: libsystemd-login,
libsystemd-daemon.
- Rebase accountsservice-sysconfig.patch.
- Add vala BuildRequires, which is now needed because of the
gnome-autogen.sh call.
- Fix systemd-related packaging:
+ Use %{?systemd_requires}.
+ Call %service_{add,del}_* macros in scriptlets for
accounts-daemon.service.
- Remove xz BuildRequires now that it comes for free in the build
system.
- Split typelib file into typelib-1_0-AccountsService-1_0
subpackage.
- Add typelib-1_0-AccountsService-1_0 Requires to devel subpackage.
- Update to version 0.6.15:
+ Only accept regular files as icons
+ Don't track non-graphical sessions
+ Fix wtmp handling
+ Fix build on FreeBSD and OpenBSD
- Drop accountsservice-regular-file-for-icon.patch: fixed upstream.
- Add accountsservice-regular-file-for-icon.patch: only use regular
files when setting user icon. Part of bnc#676638.
- Update to version 0.6.14:
+ Ignore extraneous SetAutomaticLogin(false) calls for a user
+ Monitor /etc/gdm/custom.conf for changes in autologin config
+ Fix fast user switching
+ Fix docs to build
+ Updated translations.
- Rebase accountsservice-sysconfig.patch, and add gnome-common
BuildRequires and call to gnome-autogen.sh since it's easier to
rebase the patch without Makefile.in.
- Add gobject-introspection-devel BuildRequires to build
introspection data.
- Add accountsservice-sysconfig.patch: read and write autologin
configuration from sysconfig, as done in gdm. Fix bnc#688071.
- Update to version 0.6.13:
+ Honor aclocal flags environment variable
+ Set log domain so it can be hushed
+ Use wtmp instead of consolekit for determining login frequency
+ Leak and warning fixes
+ Clean up polkit deprecation warnings
+ Add '--' before username to account helper programs
- Add xz BuildRequires because we can't build a package for a
xz-compressed tarball without explicitly specifying that... See
bnc#697467 for more details.
- Update to version 0.6.12:
+ The usual pile of race fixes
- Changes from version 0.6.11:
+ Add API for adding users to the library.
- Drop rpmlintrc as the necessary changes have now been done in
both rpmlint (for suse-dbus-unauthorized-service) and in
polkit-default-privs (for polkit-unauthorized-privilege).
- Update to version 0.6.10:
+ An assortment of race fixes
+ Updated translations
- Changes from version 0.6.9:
+ Add a 'system-account' property to users
- Update download url for tarball.
- Add pkgconfig(systemd) to BuildRequires and package systemd
configuration file for accountsservice.
- Update to version 0.6.8:
+ use same rules for parsing booleans from gdm config as gdm.
- Update to version 0.6.7:
+ Fix call to useradd for normal users
+ Correct free array of groups
+ Updated translations
- Changes from version 0.6.6:
+ Make it possible to disable user icon
+ Drop Supervised user role
+ Use "wheel" instead of "desktop_admin_r" as admin group
since that's what everyone uses for this purpose anyway.
+ Crasher fixes
+ Misc distro integration fixes
+ Updated translations
- Changes from version 0.6.5:
+ No longer return excluded users from cached listings
+ Add a --debug command line option
+ Use proper dbus proxy for settings api in client lib
+ Expose XSession property over bus
- Enforce dependency on main package in library package by changing
Recommends to Requires.
- Add a rpmlintrc to ignore security-related rpmlint warnings that
make the build fail on Factory. This needs to get removed when
entering Factory, though.
- Cleanup for inclusion in Factory.
- Update to version 0.6.4:
- fix typo in HomeDirectory property
- fix bug in asynchronous loading code
- drop some random g_print's
- Changes from version 0.6.3:
+ Add more getters to client library
+ Add an initial cut at a setter api
+ Add XSession property type
- Changes from version 0.6.2:
+ Remove the unused UserChanged signal
+ Add a small client library, based on code from gdm
+ Don't use gnome-common
+ Use the user-administration privilege for autologin changes
- Changes from version 0.6.1:
+ Always emit the changed signal when setting user photo
+ Install systemd unit files
+ Translation updates
- Changes from version 0.6:
+ Always require user-administration privilege when setting a
password or changing a username
+ Allow changing password mode and password even when the
account is locked, and unlock it as a side-effect
+ Use /etc/shadow to store account locking and 'set password at
next login' information and monitor /etc/shadow for changes
+ Set loginuid when runing commands on behalf of a user to
generate proper audit records
+ Drop SetIconData and make SetIconFile copy the file when
appropriate. As a consequence, the service no longer links
against image libraries.
+ Various other robustness and error-handling fixes
- Changes from version 0.5:
+ Make initial user list call work
+ Avoid extraneous commandline parsing
- Package directories used by daemon to store user data:
/var/lib/AccountsService and subdirectories.
- New package (version 0.4).
OBS-URL: https://build.opensuse.org/request/show/692039
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/accountsservice?expand=0&rev=128
2019-04-11 16:48:47 +02:00
%doc NEWS README.md
2012-02-28 00:11:29 +01:00
%{_unitdir} /accounts-daemon.service
2011-04-21 13:21:32 +02:00
%{_sysconfdir} /dbus-1/system.d/org.freedesktop.Accounts.conf
%{_libexecdir} /accounts-daemon
%{_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
%{_datadir} /polkit-1/actions/org.freedesktop.accounts.policy
# Directories where the server stores user data
%dir %{_localstatedir} /lib/AccountsService
%dir %{_localstatedir} /lib/AccountsService/users
%dir %{_localstatedir} /lib/AccountsService/icons
%files -n libaccountsservice0
%{_libdir} /*.so.0*
2011-12-12 16:53:25 +01:00
%files -n typelib-1_0-AccountsService-1_0
2011-09-05 10:14:23 +02:00
%{_libdir} /girepository-1.0/AccountsService-1.0.typelib
2011-04-21 13:21:32 +02:00
%files devel
2018-05-14 13:01:53 +02:00
%doc AUTHORS TODO
2012-11-20 14:12:27 +01:00
%doc %{_datadir} /gtk-doc/html/lib%{name} /
2011-04-21 13:21:32 +02:00
%{_libdir} /*.so
%{_libdir} /pkgconfig/accountsservice.pc
%{_includedir} /accountsservice-1.0/
2011-09-05 10:14:23 +02:00
%{_datadir} /gir-1.0/AccountsService-1.0.gir
2011-04-21 13:21:32 +02:00
%files lang -f accounts-service.lang
%changelog