Blame SPECS/accountsservice.spec

88f331
%global _hardened_build 1
88f331
88f331
Name:           accountsservice
fe5089
Version:        0.6.50
320391
Release:        6%{?dist}
88f331
Summary:        D-Bus interfaces for querying and manipulating user account information
88f331
License:        GPLv3+
fe5089
URL:            https://www.freedesktop.org/wiki/Software/AccountsService/
fe5089
88f331
#VCS: git:git://git.freedesktop.org/accountsservice
88f331
Source0:        http://www.freedesktop.org/software/accountsservice/accountsservice-%{version}.tar.xz
88f331
88f331
BuildRequires:  glib2-devel
88f331
BuildRequires:  polkit-devel
88f331
BuildRequires:  intltool
88f331
BuildRequires:  systemd-units
88f331
BuildRequires:  systemd-devel
88f331
BuildRequires:  gobject-introspection-devel
88f331
BuildRequires:  gtk-doc
15a511
BuildRequires:  git
88f331
88f331
Requires:       polkit
88f331
Requires:       shadow-utils
88f331
fe5089
Patch0: 0001-lib-don-t-set-loaded-state-until-seat-is-fetched.patch
fe5089
c5bdc0
Patch10001: 0001-data-don-t-send-change-updates-for-login-history.patch
c5bdc0
320391
Patch20001: 0001-daemon-ensure-cache-files-for-system-users-are-proce.patch
320391
fe5089
%description
fe5089
The accountsservice project provides a set of D-Bus interfaces for
fe5089
querying and manipulating user account information and an implementation
fe5089
of these interfaces, based on the useradd, usermod and userdel commands.
88f331
88f331
%package libs
88f331
Summary: Client-side library to talk to accountsservice
88f331
Requires: %{name} = %{version}-%{release}
88f331
88f331
%description libs
88f331
The accountsservice-libs package contains a library that can
88f331
be used by applications that want to interact with the accountsservice
88f331
daemon.
88f331
88f331
%package devel
88f331
Summary: Development files for accountsservice-libs
88f331
Requires: %{name}-libs = %{version}-%{release}
88f331
88f331
%description devel
88f331
The accountsservice-devel package contains headers and other
88f331
files needed to build applications that use accountsservice-libs.
88f331
88f331
88f331
%prep
15a511
%autosetup -S git
88f331
88f331
%build
7f2946
%configure --enable-user-heuristics
88f331
make %{?_smp_mflags}
88f331
88f331
88f331
%install
88f331
make install DESTDIR=$RPM_BUILD_ROOT
88f331
rm $RPM_BUILD_ROOT%{_libdir}/*.la
88f331
rm $RPM_BUILD_ROOT%{_libdir}/*.a
88f331
%find_lang accounts-service
88f331
88f331
88f331
%post libs -p /sbin/ldconfig
88f331
88f331
%postun libs -p /sbin/ldconfig
88f331
88f331
%post
88f331
%systemd_post accounts-daemon.service
88f331
88f331
%preun
88f331
%systemd_preun accounts-daemon.service
88f331
88f331
%postun
88f331
%systemd_postun accounts-daemon.service
88f331
88f331
%files -f accounts-service.lang
88f331
%doc COPYING README AUTHORS
88f331
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.Accounts.conf
88f331
%{_libexecdir}/accounts-daemon
88f331
%{_datadir}/dbus-1/interfaces/org.freedesktop.Accounts.xml
88f331
%{_datadir}/dbus-1/interfaces/org.freedesktop.Accounts.User.xml
88f331
%{_datadir}/dbus-1/system-services/org.freedesktop.Accounts.service
88f331
%{_datadir}/polkit-1/actions/org.freedesktop.accounts.policy
88f331
%dir %{_localstatedir}/lib/AccountsService/
88f331
%dir %{_localstatedir}/lib/AccountsService/users
88f331
%dir %{_localstatedir}/lib/AccountsService/icons
88f331
%{_unitdir}/accounts-daemon.service
88f331
88f331
%files libs
88f331
%{_libdir}/libaccountsservice.so.*
88f331
%{_libdir}/girepository-1.0/AccountsService-1.0.typelib
88f331
88f331
%files devel
88f331
%{_includedir}/accountsservice-1.0
88f331
%{_libdir}/libaccountsservice.so
88f331
%{_libdir}/pkgconfig/accountsservice.pc
88f331
%{_datadir}/gir-1.0/AccountsService-1.0.gir
88f331
%dir %{_datadir}/gtk-doc/html/libaccountsservice
88f331
%{_datadir}/gtk-doc/html/libaccountsservice/*
88f331
88f331
%changelog
320391
* Mon Jun 17 2019 Ray Strode <rstrode@redhat.com> - 0.6.50-6
320391
- Make sure cache file is read for root user
320391
  Resolves: #1741098
320391
721720
* Fri May 10 2019 Ray Strode <rstrode@redhat.com> - 0.6.50-5
c5bdc0
- Don't send change updates for login-history
721720
  Resolves: #1708741
c5bdc0
fe5089
* Thu Jul 19 2018 Ray Strode <rstrode@redhat.com> - 0.6.50-2
fe5089
- Fix user switching
fe5089
  Resolves: #1597350
fe5089
fe5089
* Thu Jul 19 2018 Ray Strode <rstrode@redhat.com> - 0.6.50-1
fe5089
- Update to 0.6.50
fe5089
  Related: #1576538
fe5089
  Related:  1596735
fe5089
  Related:  1602918
fe5089
fe5089
* Fri Jun 01 2018 Richard Hughes <rhughes@redhat.com> - 0.6.49-1
fe5089
- Update to 0.6.49
fe5089
  Resolves: #1576538
fe5089
919a4e
* Wed Feb 14 2018 Ray Strode <rstrode@redhat.com> - 0.6.45-7
919a4e
- Fix bug leading to harmless error in log
919a4e
  Resolves: #1544640
919a4e
919a4e
* Wed Feb 07 2018 Ray Strode <rstrode@redhat.com> - 0.6.45-6
919a4e
- Don't return bogus password expiration policy when
919a4e
  shadow file is unavailable
919a4e
  Resolves: #1530659
919a4e
919a4e
* Tue Jan 30 2018 Ray Strode <rstrode@redhat.com> - 0.6.45-5
919a4e
- Fix other crasher introduced in -3
919a4e
  Resolves: #1532252
919a4e
919a4e
* Fri Nov 03 2017 Ray Strode <rstrode@redhat.com> - 0.6.45-4
baf615
- Fix crasher introduced in -3
baf615
  Related: #1474579, 1509261
baf615
baf615
* Wed Sep 27 2017 Ray Strode <rstrode@redhat.com> - 0.6.45-3
baf615
- Various fixes to increase scalability
baf615
  Related: #1474579
baf615
15a511
* Mon May 15 2017 Ray Strode <rstrode@redhat.com> - 0.6.45-2
15a511
- Don't tread explicitly requested users as cached
15a511
  Fixes UncacheUser operation.
15a511
  Resolves: 1446620
889f5f
  Related: #1432602
889f5f
15a511
* Mon Mar 27 2017 Ray Strode <rstrode@redhat.com> - 0.6.45-1
15a511
- Update to 0.6.45 so password expiration policy is wrapped by libaccountsservice
15a511
  Related: #1424623 #1334464
15a511
15a511
* Mon Mar 27 2017 Ray Strode <rstrode@redhat.com> - 0.6.42-2
15a511
- Update to 0.6.44
15a511
  Related: #1424623
15a511
- export password expiration policy from shadow
15a511
  Resolves: #1334464
15a511
15a511
* Thu Oct 20 2016 Kalev Lember <klember@redhat.com> - 0.6.42-1
15a511
- Update to 0.6.42
15a511
- Resolves: #1424623
889f5f
44ca26
* Tue Sep 06 2016 Ray Strode <rstrode@redhat.com> - 0.6.35-12
44ca26
- hide users with /sbin/nologin shell
44ca26
  Resolves: #1341276
44ca26
44ca26
* Fri Jul 01 2016 Ray Strode <rstrode@redhat.com> - 0.6.35-11
44ca26
- address minor bug in previous patch
44ca26
  Related: #1220904
44ca26
44ca26
- fix memory leak in log handler
44ca26
  Resolves: #1292543
44ca26
44ca26
* Thu Jun 30 2016 Ray Strode <rstrode@redhat.com> - 0.6.35-10
44ca26
- scale to a large number of remote users better
44ca26
  Resolves: #1220904
44ca26
578d4e
* Mon Jun 08 2015 Ray Strode <rstrode@redhat.com> 0.6.35-9
578d4e
- Start after nsswitch and ypbind
578d4e
  Resolves: #1217439
578d4e
578d4e
* Tue Jun 2 2015 Ondrej Holy <oholy@redhat.com> 0.6.35-8
578d4e
- Add asynchronous api for user uncaching
578d4e
  Resolves: #1147999
578d4e
7f2946
* Wed Jan 29 2014 Ray Strode <rstrode@redhat.com> 0.6.35-7
7f2946
- Fix memory leak
7f2946
  Resolves: #1003033
7f2946
7f2946
* Tue Jan 28 2014 Daniel Mach <dmach@redhat.com> - 0.6.35-6
7f2946
- Mass rebuild 2014-01-24
7f2946
7f2946
* Fri Jan 10 2014 Matthias Clasen <mclasen@redhat.com> 0.6.35-5
7f2946
- Consistently call userdel -f
7f2946
Resolves: #1051629
7f2946
7f2946
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.6.35-4
7f2946
- Mass rebuild 2013-12-27
7f2946
7f2946
* Tue Nov 19 2013 Ray Strode <rstrode@redhat.com> 0.6.35-3
7f2946
- Fix up user classification logic to work better with
7f2946
  remote users.
7f2946
  Resolves: #1029195
7f2946
88f331
* Fri Nov  1 2013 Matthias Clasen <mclasen@redhat.com> 0.6.35-2
88f331
- Refuse to delete the root user
88f331
- Resolves: #1002973
88f331
88f331
* Tue Oct 22 2013 Ray Strode <rstrode@redhat.com> 0.6.35-1
88f331
- Update to 0.6.35
88f331
  Resolves: #1019488
88f331
88f331
* Tue Jun 11 2013 Ray Strode <rstrode@redhat.com> 0.6.34-1
88f331
- Update to 0.6.34
88f331
88f331
* Tue Jun 11 2013 Matthias Clasen <mclasen@redhat.com> - 0.6.33-1
88f331
- Update to 0.6.33
88f331
88f331
* Tue May 14 2013 Matthias Clasen <mclasen@redhat.com> - 0.6.32-1
88f331
- Update to 0.6.32
88f331
88f331
* Thu Apr 18 2013 Matthias Clasen <mclasen@redhat.com> - 0.6.31-2
88f331
- Hardened build
88f331
88f331
* Tue Apr 16 2013 Matthias Clasen <mclasen@redhat.com> - 0.6.31-1
88f331
- Update to 0.6.31
88f331
88f331
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.30-2
88f331
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
88f331
88f331
* Wed Jan 16 2013 Richard Hughes <rhughes@redhat.com> - 0.6.30-1
88f331
- Update to 0.6.30
88f331
88f331
* Fri Nov 16 2012 Matthias Clasen <mclasen@redhat.com> - 0.6.26-1
88f331
- Update to 0.6.26
88f331
88f331
* Tue Oct  2 2012 Matthias Clasen <mclasen@redhat.com> - 0.6.25-2
88f331
- Update to 0.6.25
88f331
- Use systemd scriptlets (#856649)
88f331
88f331
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.22-3
88f331
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
88f331
88f331
* Sat Jul 14 2012 Ville Skyttä <ville.skytta@iki.fi> - 0.6.22-2
88f331
- Add ldconfig scriptlets to -libs.
88f331
88f331
* Thu Jun 28 2012 Ray Strode <rstrode@redhat.com> 0.6.22-1
88f331
- Update to 0.6.22.
88f331
- Fixes CVE-2012-2737 - local file disclosure
88f331
  Related:  #832532
88f331
88f331
* Thu May 30 2012 Matthias Clasen <mclasen@redhatcom> 0.6.21-1
88f331
- Update to 0.6.21
88f331
88f331
* Fri May 04 2012 Ray Strode <rstrode@redhat.com> 0.6.20-1
88f331
- Update to 0.6.20. Should fix user list.
88f331
  Related: #814690
88f331
88f331
* Thu May 03 2012 Ray Strode <rstrode@redhat.com> 0.6.19-1
88f331
- Update to 0.6.19
88f331
  Allows user deletion of logged in users
88f331
  Related: #814690
88f331
88f331
* Wed Apr 11 2012 Matthias Clasen <mclsaen@redhat.com> - 0.6.18-1
88f331
- Update to 0.6.18
88f331
88f331
* Tue Mar 27 2012 Ray Strode <rstrode@redhat.com> 0.6.17-1
88f331
- Update to latest release
88f331
88f331
* Sun Mar  4 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 0.6.15-4
88f331
- Fix unitdir with usrmove
88f331
88f331
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.15-3
88f331
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
88f331
88f331
* Tue Nov 29 2011 Matthias Clasen <mclasen@redhat.com> 0.6.15-2
88f331
- Make resetting user icons work
88f331
- Update to 0.6.15
88f331
- Fixes session chooser at login screen when logged into vt
88f331
88f331
* Wed Sep 21 2011 Ray Strode <rstrode@redhat.com> 0.6.14-2
88f331
- Fix wtmp loading so users coming from the network are
88f331
  remembered in the user list in subsequent boots
88f331
88f331
* Wed Sep 21 2011 Ray Strode <rstrode@redhat.com> 0.6.14-1
88f331
- Update to 0.6.14
88f331
88f331
* Sun Sep  4 2011 Matthias Clasen <mclasen@redhat.com> - 0.6.13-3
88f331
- Fix fast user switching
88f331
88f331
* Mon Aug 15 2011 Kalev Lember <kalevlember@gmail.com> - 0.6.13-2
88f331
- Rebuilt for rpm bug #728707
88f331
88f331
* Tue Jul 19 2011 Matthias Clasen <mclasen@redhat.com> - 0.6.13-1
88f331
- Update to 0.6.13
88f331
- Drop ConsoleKit dependency
88f331
88f331
* Mon Jun 06 2011 Ray Strode <rstrode@redhat.com> 0.6.12-1
88f331
- Update to latest release
88f331
88f331
* Wed May 18 2011 Matthias Clasen <mclasen@redhat.com> 0.6.11-1
88f331
- Update to 0.6.11
88f331
88f331
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.3-2
88f331
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
88f331
88f331
* Wed Feb 02 2011 Ray Strode <rstrode@redhat.com> 0.6.3-1
88f331
- Update to 0.6.3
88f331
88f331
* Thu Jan 27 2011 Matthias Clasen <mclasen@redhat.com> 0.6.2-1
88f331
- Update to 0.6.2
88f331
88f331
* Wed Jul 21 2010 Matthias Clasen <mclasen@redhat.com> 0.6.1-1
88f331
- Update to 0.6.1
88f331
- Install systemd unit file
88f331
88f331
* Mon Apr  5 2010 Matthias Clasen <mclasen@redhat.com> 0.6-2
88f331
- Always emit changed signal on icon change
88f331
88f331
* Tue Mar 30 2010 Matthias Clasen <mclasen@redhat.com> 0.6-1
88f331
- Update to 0.6
88f331
88f331
* Mon Mar 22 2010 Matthias Clasen <mclasen@redhat.com> 0.5-1
88f331
- Update to 0.5
88f331
88f331
* Mon Feb 22 2010 Bastien Nocera <bnocera@redhat.com> 0.4-3
88f331
- Fix directory ownership
88f331
88f331
* Mon Feb 22 2010 Bastien Nocera <bnocera@redhat.com> 0.4-2
88f331
- Add missing directories to the filelist
88f331
88f331
* Fri Jan 29 2010 Matthias Clasen <mclasen@redhat.com> 0.4-1
88f331
- Initial packaging, based on work by Richard Hughes