diff --git a/wtmpdb-0.5.0.tar.xz b/wtmpdb-0.5.0.tar.xz deleted file mode 100644 index 2141231..0000000 --- a/wtmpdb-0.5.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:89ea371e9a57cfa168635f35a19c1e429f185a9f12b8b564d38130658f5c96fe -size 16328 diff --git a/wtmpdb-0.6.0.tar.xz b/wtmpdb-0.6.0.tar.xz new file mode 100644 index 0000000..0be93d1 --- /dev/null +++ b/wtmpdb-0.6.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:61e8b379a4595d2f05b4852703d9ac6ef5dc5d9e38b303501de2627079caeab1 +size 18052 diff --git a/wtmpdb.changes b/wtmpdb.changes index e6292cd..ce7efe7 100644 --- a/wtmpdb.changes +++ b/wtmpdb.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jun 7 15:18:21 UTC 2023 - Thorsten Kukuk + +- Update to version 0.6.0 + - wtmpdb rotate: move old log entries into wtmpdb_.db + ------------------------------------------------------------------- Wed Apr 26 09:11:23 UTC 2023 - Thorsten Kukuk @@ -5,7 +11,6 @@ Wed Apr 26 09:11:23 UTC 2023 - Thorsten Kukuk - 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 diff --git a/wtmpdb.spec b/wtmpdb.spec index 518c7ac..d897e0b 100644 --- a/wtmpdb.spec +++ b/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