Accepting request 1092602 from Linux-PAM
- Update to version 0.6.0 - wtmpdb rotate: move old log entries into wtmpdb_<yyyymmdd>.db (forwarded request 1092601 from kukuk) OBS-URL: https://build.opensuse.org/request/show/1092602 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wtmpdb?expand=0&rev=4
This commit is contained in:
commit
064765ee1d
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:89ea371e9a57cfa168635f35a19c1e429f185a9f12b8b564d38130658f5c96fe
|
||||
size 16328
|
3
wtmpdb-0.6.0.tar.xz
Normal file
3
wtmpdb-0.6.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:61e8b379a4595d2f05b4852703d9ac6ef5dc5d9e38b303501de2627079caeab1
|
||||
size 18052
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 7 15:18:21 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
- Update to version 0.6.0
|
||||
- wtmpdb rotate: move old log entries into wtmpdb_<yyyymmdd>.db
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 26 09:11:23 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
@ -5,7 +11,6 @@ Wed Apr 26 09:11:23 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
|
||||
- Use uint64_t instead of usec_t to avoid conflicts
|
||||
- wtmpdb boot: more accurate calculation of boot time
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 24 09:46:56 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
|
12
wtmpdb.spec
12
wtmpdb.spec
@ -18,7 +18,7 @@
|
||||
|
||||
%define lname libwtmpdb0
|
||||
Name: wtmpdb
|
||||
Version: 0.5.0
|
||||
Version: 0.6.0
|
||||
Release: 0
|
||||
Summary: Reports last logged in users and system reboots
|
||||
License: BSD-2-Clause
|
||||
@ -64,21 +64,21 @@ to develop applications that needs to read, write or modify the wtmpdb database.
|
||||
%meson_test
|
||||
|
||||
%pre
|
||||
%service_add_pre wtmpdb-update-boot.service
|
||||
%service_add_pre wtmpdb-update-boot.service wtmpdb-rotate.timer
|
||||
|
||||
%preun
|
||||
%service_del_preun wtmpdb-update-boot.service
|
||||
%service_del_preun wtmpdb-update-boot.service wtmpdb-rotate.timer
|
||||
|
||||
%post
|
||||
%tmpfiles_create wtmpdb.conf
|
||||
%service_add_post wtmpdb-update-boot.service
|
||||
%service_add_post wtmpdb-update-boot.service wtmpdb-rotate.timer
|
||||
pam-config -a --wtmpdb --wtmpdb-skip_if=sshd
|
||||
|
||||
%postun
|
||||
if [ "$1" -eq 0 ]; then
|
||||
pam-config -d --wtmpdb
|
||||
fi
|
||||
%service_del_postun_without_restart wtmpdb-update-boot.service
|
||||
%service_del_postun_without_restart wtmpdb-update-boot.service wtmpdb-rotate.timer
|
||||
|
||||
%post -n %{lname} -p /sbin/ldconfig
|
||||
%postun -n %{lname} -p /sbin/ldconfig
|
||||
@ -87,6 +87,8 @@ fi
|
||||
%license LICENSE
|
||||
%{_bindir}/wtmpdb
|
||||
%{_unitdir}/wtmpdb-update-boot.service
|
||||
%{_unitdir}/wtmpdb-rotate.service
|
||||
%{_unitdir}/wtmpdb-rotate.timer
|
||||
%{_tmpfilesdir}/wtmpdb.conf
|
||||
%{_pam_moduledir}/pam_wtmpdb.so
|
||||
%ghost %{_localstatedir}/lib/wtmpdb
|
||||
|
Loading…
Reference in New Issue
Block a user