Blame SPECS/accountsservice.spec

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