diff --git a/_service b/_service index 2e7a095..8466014 100644 --- a/_service +++ b/_service @@ -5,7 +5,7 @@ enable wtmpdb main - 0.13.0+git.%cd + 0.70.0+git%cd.%h *.tar diff --git a/_servicedata b/_servicedata index 2999080..ac74d8f 100644 --- a/_servicedata +++ b/_servicedata @@ -4,4 +4,4 @@ https://github.com/thkukuk/wtmpdb.git - 1855b60ac1c3bda79c091bdb5f621a7f09f1e4d7 \ No newline at end of file + 3e409b5b57ef4514bb9955abb69739180bbe0c36 \ No newline at end of file diff --git a/wtmpdb-0.13.0+git.20240814.tar.xz b/wtmpdb-0.13.0+git.20240814.tar.xz deleted file mode 100644 index 00b4def..0000000 --- a/wtmpdb-0.13.0+git.20240814.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:def187fec960290b272d441a64548b186f6cb35b510486d5c4c7c771c7a81447 -size 21580 diff --git a/wtmpdb-0.70.0+git20250121.3e409b5.tar.xz b/wtmpdb-0.70.0+git20250121.3e409b5.tar.xz new file mode 100644 index 0000000..6fbe567 --- /dev/null +++ b/wtmpdb-0.70.0+git20250121.3e409b5.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6048ad1155a62aa5e9360c857f16cb4ab20b408f7d8a20433dc1436dea911ab4 +size 31792 diff --git a/wtmpdb.changes b/wtmpdb.changes index 1ed7ccc..05ce808 100644 --- a/wtmpdb.changes +++ b/wtmpdb.changes @@ -1,3 +1,74 @@ +------------------------------------------------------------------- +Tue Jan 21 15:45:20 UTC 2025 - kukuk@suse.com + +- Update to version 0.70.0+git20250121.3e409b5: + * Fix installation of all wtmpdbd man page variants + * Release version 0.70.0 + * Add wtmpdbd.8 manual page + * wtmpdbd: fix printing help text + * wtmpdbd: more fine granular log level filtering + * wtmpdbd: implement varlink_event_loop_with_idle + * wtmpdbd.socket: fix socket descriptor name + * meson: no longer check for v258 sd-varlink function + +------------------------------------------------------------------- +Mon Jan 20 13:52:51 UTC 2025 - kukuk@suse.com + +- Update to version 0.60.0+git20250120.64d23d8: + * Release version 0.60.0 + * Merge reader/write socket to one generic one + * wtmpdbd: add Ping, SetLogLevel and GetEnvironment + +------------------------------------------------------------------- +Fri Jan 17 10:17:17 UTC 2025 - kukuk@suse.com + +- Update to version 0.50.0+git20250117.a9b48cf: + * wtmpdbd.service: secure more + * wtmpdb: Implement json output for last (#20) + +------------------------------------------------------------------- +Thu Jan 16 14:20:26 UTC 2025 - kukuk@suse.com + +- Update to version 0.50.0+git20250110.cbabeb7: + * Harden wtmpdbd.service + * libwtmpdb: fallback to sqlite if SELinux blocks varlink socket + +------------------------------------------------------------------- +Fri Jan 10 13:02:32 UTC 2025 - kukuk@suse.com + +- Update to version 0.50.0+git20250110.12da60f: + * Release version 0.50.0 + * README: add wtmpdbd + * wtmpdbd: Print stopped message + * wtmpdbd.service: preset WTMPDBD_OPTS + * wtmpdbd: don't call listen if started by a socket + * tst-varlink: skip if varlink is not supported + * libwtmpdb: set varlink_is_active to 0 without systemd + * libwtmpdb: always define varlink checks + * wtmpdb: define quiet only if we have systemd + * libwtmpdb: return error if varlink support is missing + * Send sd_notify(STOPPING=1); + * Check if systemd has sd_varlink_server_listen_name() + * wtmpdbd.service: optional read /etc/default/wtmpdbd + * wtmpdbd: simplify creation of varlink sockets + * Set umaks with varlink to 0077, improve error reporting + * wtmpdbd: enable to start via sockets + * libwtmpdb: handle ECONNRESET as wtmpdbd not running + * libwtmpdb: fix crash in varlink if error==NULL + * Install daemon in libexec directory + * tst-get_id: skip if there is no db file + * libwtmpdb: improve error return code + * db path "varlink" will enforce varlink interface + * Add service and socket files + * wmtpdb: call wtmpdb_* functions with NULL as path + * wtmpdbd: add socket activation + * Implement varlink read_all client side + * Make wtmpdbd support compiletime config + * Add daemon using varlink for communication + * Document that openssh is special + * libwtmpdb: create wrapper around sqlite functions + * Make mkdir_p more robust + ------------------------------------------------------------------- Wed Aug 14 09:59:01 UTC 2024 - kukuk@suse.com diff --git a/wtmpdb.spec b/wtmpdb.spec index c550ed6..7f14211 100644 --- a/wtmpdb.spec +++ b/wtmpdb.spec @@ -1,7 +1,7 @@ # # spec file for package wtmpdb # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %define lname libwtmpdb0 Name: wtmpdb -Version: 0.13.0+git.20240814 +Version: 0.70.0+git20250121.3e409b5 Release: 0 Summary: Database for recording the last logged in users and system reboots License: BSD-2-Clause @@ -28,7 +28,7 @@ BuildRequires: docbook5-xsl-stylesheets BuildRequires: meson BuildRequires: pkgconfig BuildRequires: pkgconfig(audit) -BuildRequires: pkgconfig(libsystemd) +BuildRequires: pkgconfig(libsystemd) >= 257 BuildRequires: pkgconfig(pam) BuildRequires: pkgconfig(sqlite3) Requires(post): pam-config @@ -62,7 +62,7 @@ the wtmpdb database. %autosetup %build -%meson -Dman=true -Dcompat-symlink=true +%meson -Dman=true -Dcompat-symlink=true -Dwtmpdbd=true %meson_build %install @@ -74,14 +74,14 @@ echo ".so man8/wtmpdb.8" > %{buildroot}%{_mandir}/man1/last.1 %meson_test %pre -%service_add_pre wtmpdb-update-boot.service wtmpdb-rotate.timer +%service_add_pre wtmpdb-update-boot.service wtmpdb-rotate.timer wtmpdbd.socket %preun -%service_del_preun wtmpdb-update-boot.service wtmpdb-rotate.timer +%service_del_preun wtmpdb-update-boot.service wtmpdb-rotate.timer wtmpdbd.socket %post %tmpfiles_create wtmpdb.conf -%service_add_post wtmpdb-update-boot.service wtmpdb-rotate.timer +%service_add_post wtmpdb-update-boot.service wtmpdb-rotate.timer wtmpdbd.socket pam-config -a --wtmpdb --wtmpdb-skip_if=sshd %postun @@ -89,7 +89,7 @@ if [ "$1" -eq 0 ]; then pam-config -d --wtmpdb fi %service_del_postun_without_restart wtmpdb-update-boot.service -%service_del_postun wtmpdb-rotate.timer +%service_del_postun wtmpdb-rotate.timer wtmpdbd.socket %post -n %{lname} -p /sbin/ldconfig %postun -n %{lname} -p /sbin/ldconfig @@ -98,14 +98,20 @@ fi %license LICENSE %{_bindir}/last %{_bindir}/wtmpdb +%{_libexecdir}/wtmpdbd %{_unitdir}/wtmpdb-update-boot.service %{_unitdir}/wtmpdb-rotate.service %{_unitdir}/wtmpdb-rotate.timer +%{_prefix}/lib/systemd/system/wtmpdbd.service +%{_prefix}/lib/systemd/system/wtmpdbd.socket %{_tmpfilesdir}/wtmpdb.conf %{_pam_moduledir}/pam_wtmpdb.so %ghost %{_localstatedir}/lib/wtmpdb %{_mandir}/man1/last.1%{?ext_man} %{_mandir}/man8/wtmpdb.8%{?ext_man} +%{_mandir}/man8/wtmpdbd.8%{?ext_man} +%{_mandir}/man8/wtmpdbd.service.8%{?ext_man} +%{_mandir}/man8/wtmpdbd.socket.8%{?ext_man} %{_mandir}/man8/pam_wtmpdb.8%{?ext_man} %files -n %{lname}