Accepting request 68037 from GNOME:Factory

Accepted submit request 68037 from user babelworx

OBS-URL: https://build.opensuse.org/request/show/68037
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/accountsservice?expand=0&rev=1
This commit is contained in:
Ruediger Oertel 2011-04-21 11:21:32 +00:00 committed by Git OBS Bridge
commit f0de37e077
6 changed files with 229 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

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

View File

@ -0,0 +1,3 @@
# This is temporary and should not enter Factory!
addFilter(".*suse-dbus-unauthorized-service.*org\.freedesktop\.Accounts.*")
addFilter(".*polkit-unauthorized-privilege.*org\.freedesktop\.accounts.*")

87
accountsservice.changes Normal file
View File

@ -0,0 +1,87 @@
-------------------------------------------------------------------
Mon Apr 11 13:41:00 UTC 2011 - fcrozat@novell.com
- Add pkgconfig(systemd) to BuildRequires and package systemd
configuration file for accountsservice.
-------------------------------------------------------------------
Tue Apr 5 11:18:12 UTC 2011 - fcrozat@novell.com
- Update to version 0.6.8:
+ use same rules for parsing booleans from gdm config as gdm.
-------------------------------------------------------------------
Wed Mar 23 10:25:27 UTC 2011 - fcrozat@novell.com
- 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.
-------------------------------------------------------------------
Thu Mar 3 11:52:55 CET 2011 - vuntz@opensuse.org
- Cleanup for inclusion in Factory.
-------------------------------------------------------------------
Thu Feb 17 18:05:00 UTC 2011 - fcrozat@novell.com
- 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.
-------------------------------------------------------------------
Sat Jan 30 13:12:53 CET 2010 - captain.magnus@opensuse.org
- New package (version 0.4).

112
accountsservice.spec Normal file
View File

@ -0,0 +1,112 @@
#
# spec file for package accountsservice
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: accountsservice
Version: 0.6.8
Release: 1
License: GPLv3+
Summary: D-Bus Service to Manipulate User Account Information
Url: http://www.fedoraproject.org/wiki/Features/UserAccountDialog
Group: System/Daemons
Source: http://mclasen.fedorapeople.org/accounts/%{name}-%{version}.tar.bz2
Source1: %{name}-rpmlintrc
BuildRequires: intltool
BuildRequires: pkgconfig(dbus-glib-1)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(polkit-gobject-1)
BuildRequires: pkgconfig(systemd)
Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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
License: GPLv3+
Summary: D-Bus Service to Manipulate User Account Information -- Client Library
Group: System/Libraries
# Clients do need the server to do something useful
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.
%package devel
License: GPLv3+
Summary: D-Bus Service to Manipulate User Account Information -- Development Files
Group: Development/Libraries/C and C++
Requires: libaccountsservice0 = %{version}
%description devel
The accountsservice server provides a set of D-Bus interfaces for
querying and manipulating user account information.
%lang_package
%prep
%setup -q
%build
%configure --disable-static
make %{?jobs:-j%jobs}
%install
%make_install
%find_lang accounts-service
rm -f %{buildroot}%{_libdir}/*.la
%clean
rm -rf %{buildroot}
%post -n libaccountsservice0 -p /sbin/ldconfig
%postun -n libaccountsservice0 -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING NEWS README
/lib/systemd/system/accounts-daemon.service
%{_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
%defattr(-,root,root,-)
%{_libdir}/*.so.0*
%files devel
%defattr(-,root,root,-)
%{_libdir}/*.so
%{_libdir}/pkgconfig/accountsservice.pc
%{_includedir}/accountsservice-1.0/
%files lang -f accounts-service.lang
%changelog