Accepting request 1240437 from Linux-PAM
- 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 - 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 - Update to version 0.50.0+git20250117.a9b48cf: * wtmpdbd.service: secure more * wtmpdb: Implement json output for last (#20) - Update to version 0.50.0+git20250110.cbabeb7: * Harden wtmpdbd.service * libwtmpdb: fallback to sqlite if SELinux blocks varlink socket - 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 (forwarded request 1240436 from kukuk) OBS-URL: https://build.opensuse.org/request/show/1240437 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wtmpdb?expand=0&rev=17
This commit is contained in:
commit
0f84754465
2
_service
2
_service
@ -5,7 +5,7 @@
|
||||
<param name="changesgenerate">enable</param>
|
||||
<param name="filename">wtmpdb</param>
|
||||
<param name="revision">main</param>
|
||||
<param name="versionformat">0.13.0+git.%cd</param>
|
||||
<param name="versionformat">0.70.0+git%cd.%h</param>
|
||||
</service>
|
||||
<service mode="manual" name="recompress">
|
||||
<param name="file">*.tar</param>
|
||||
|
@ -4,4 +4,4 @@
|
||||
</service>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/thkukuk/wtmpdb.git</param>
|
||||
<param name="changesrevision">1855b60ac1c3bda79c091bdb5f621a7f09f1e4d7</param></service></servicedata>
|
||||
<param name="changesrevision">3e409b5b57ef4514bb9955abb69739180bbe0c36</param></service></servicedata>
|
BIN
wtmpdb-0.13.0+git.20240814.tar.xz
(Stored with Git LFS)
BIN
wtmpdb-0.13.0+git.20240814.tar.xz
(Stored with Git LFS)
Binary file not shown.
3
wtmpdb-0.70.0+git20250121.3e409b5.tar.xz
Normal file
3
wtmpdb-0.70.0+git20250121.3e409b5.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6048ad1155a62aa5e9360c857f16cb4ab20b408f7d8a20433dc1436dea911ab4
|
||||
size 31792
|
@ -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
|
||||
|
||||
|
22
wtmpdb.spec
22
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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user