- Version 0.5.0
- Import old lastlog data OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/lastlog2?expand=0&rev=15
This commit is contained in:
parent
d713699d47
commit
6b0b96ddd6
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:13682438c8bf1125d1ee587fb93bb55e814de6ae8fdf51743d3d83c1bca59301
|
|
||||||
size 13132
|
|
3
lastlog2-0.5.0.tar.xz
Normal file
3
lastlog2-0.5.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:3fad83503441a64262ffc8eedf2d42145bb91bf8273247a39bf3ef97f0c41571
|
||||||
|
size 13384
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 17 17:16:54 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
|
||||||
|
|
||||||
|
- Version 0.5.0
|
||||||
|
- Import old lastlog data
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Mar 17 13:33:38 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
|
Fri Mar 17 13:33:38 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%define lname liblastlog2-0
|
%define lname liblastlog2-0
|
||||||
Name: lastlog2
|
Name: lastlog2
|
||||||
Version: 0.0.1
|
Version: 0.5.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Reports most recent login of users
|
Summary: Reports most recent login of users
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
@ -61,14 +61,22 @@ to develop applications that needs to read, write or modify the lastlog2 databas
|
|||||||
%check
|
%check
|
||||||
%meson_test
|
%meson_test
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%service_add_pre lastlog2-import.service
|
||||||
|
|
||||||
|
%preun
|
||||||
|
%service_del_preun lastlog2-import.service
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%tmpfiles_create lastlog2.conf
|
%tmpfiles_create lastlog2.conf
|
||||||
|
%service_add_post lastlog2-import.service
|
||||||
pam-config -a --lastlog2
|
pam-config -a --lastlog2
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
if [ "$1" -eq 0 ]; then
|
if [ "$1" -eq 0 ]; then
|
||||||
pam-config -d --lastlog2
|
pam-config -d --lastlog2
|
||||||
fi
|
fi
|
||||||
|
%service_del_postun lastlog2-import.service
|
||||||
|
|
||||||
%post -n %{lname} -p /sbin/ldconfig
|
%post -n %{lname} -p /sbin/ldconfig
|
||||||
%postun -n %{lname} -p /sbin/ldconfig
|
%postun -n %{lname} -p /sbin/ldconfig
|
||||||
@ -76,6 +84,7 @@ fi
|
|||||||
%files
|
%files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_bindir}/lastlog2
|
%{_bindir}/lastlog2
|
||||||
|
%{_unitdir}/lastlog2-import.service
|
||||||
%{_tmpfilesdir}/lastlog2.conf
|
%{_tmpfilesdir}/lastlog2.conf
|
||||||
%{_pam_moduledir}/pam_lastlog2.so
|
%{_pam_moduledir}/pam_lastlog2.so
|
||||||
%ghost %{_localstatedir}/lib/lastlog
|
%ghost %{_localstatedir}/lib/lastlog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user