12
0

Accepting request 120972 from GNOME:Factory

Update to 0.6.20 (forwarded request 116468 from vuntz)

OBS-URL: https://build.opensuse.org/request/show/120972
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/accountsservice?expand=0&rev=20
This commit is contained in:
Stephan Kulow
2012-05-15 15:40:06 +00:00
committed by Git OBS Bridge
6 changed files with 18 additions and 67 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:190153d5c2a24e324afd2d89dbeee22e833341fbe7155f9dd805b24a8273c6d1
size 329212

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e8af6860fd1909ed6493957cb51303e8133bdfe73e952e5580ad97c1874af3b4
size 329736

View File

@@ -1,24 +0,0 @@
From 9bbea12e0592530349c0b07669430186cfeed5a1 Mon Sep 17 00:00:00 2001
From: Vincent Untz <vuntz@gnome.org>
Date: Wed, 18 Apr 2012 08:55:50 +0200
Subject: [PATCH] daemon: Also exclude "at" user
---
src/daemon.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/daemon.c b/src/daemon.c
index d186ab6..0103632 100644
--- a/src/daemon.c
+++ b/src/daemon.c
@@ -79,6 +79,7 @@ static const char *default_excludes[] = {
"ftp",
"games",
"man",
+ "at",
NULL
};
--
1.7.9.2

View File

@@ -1,32 +0,0 @@
From dc95009e692071f56a194b6b1466c9a2b284feee Mon Sep 17 00:00:00 2001
From: Vincent Untz <vuntz@gnome.org>
Date: Wed, 18 Apr 2012 08:57:11 +0200
Subject: [PATCH] daemon: Exclude users with no shell
The NIS entry in /etc/passwd seems to be:
+::::::
We obviously don't want a user with no shell to be visible, so use this
more generic solution.
---
src/daemon.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/daemon.c b/src/daemon.c
index d186ab6..be98de7 100644
--- a/src/daemon.c
+++ b/src/daemon.c
@@ -163,8 +163,8 @@ daemon_local_user_is_excluded (Daemon *daemon, const gchar *username, const gcha
char *basename, *nologin_basename, *false_basename;
int ret;
- if (shell == NULL) {
- return FALSE;
+ if (shell == NULL || shell[0] == '\0') {
+ return TRUE;
}
ret = FALSE;
--
1.7.9.2

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Fri May 4 21:03:16 UTC 2012 - dimstar@opensuse.org
- 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.
-------------------------------------------------------------------
Mon Apr 23 07:57:30 UTC 2012 - vuntz@opensuse.org

View File

@@ -17,7 +17,7 @@
Name: accountsservice
Version: 0.6.18
Version: 0.6.20
Release: 0
Summary: D-Bus Service to Manipulate User Account Information
License: GPL-3.0+
@@ -27,12 +27,8 @@ Source: http://www.freedesktop.org/software/accountsservice/%{name}-%{ve
# WARNING: do not remove/significantly change patch0 without updating the relevant patch in gdm too
# PATCH-FIX-OPENSUSE accountsservice-sysconfig.patch bnc#688071 vuntz@opensuse.org -- Read/write autologin configuration from sysconfig, like gdm (see gdm-sysconfig-settings.patch)
Patch0: accountsservice-sysconfig.patch
# PATCH-FIX-UPSTREAM accountsservice-filter-more-accounts.patch fdo#48178 vuntz@opensuse.org -- Filter out more system users (at)
Patch1: accountsservice-filter-more-accounts.patch
# PATCH-FIX-UPSTREAM accountsservice-filter-no-shell.patch fdo#48859 vuntz@opensuse.org -- Filter out users with no shell (which happens when NIS is setup)
Patch2: accountsservice-filter-no-shell.patch
# PATCH-FIX-OPENSUSE accountsservice-filter-suse-accounts.patch vuntz@opensuse.org -- Filter out some system users that are specific to openSUSE
Patch3: accountsservice-filter-suse-accounts.patch
Patch1: accountsservice-filter-suse-accounts.patch
# needed for patch0
BuildRequires: gnome-common
BuildRequires: gobject-introspection-devel
@@ -93,8 +89,6 @@ querying and manipulating user account information.
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
# needed for patch0