Accepting request 1080126 from home:kukuk:cleanup

- Update to version 0.4.0
  - libwtmpdb: Use project version for library version
  - libwtmpdb: Always use _PATH_WTMPDB as fallback

- Skip pam_wtmpdb for sshd

- Update to version 0.3.0
  - pam_wtmpdb: Add skip_if option
  - Add manual pages
  - wtmpdb last: fix wtmp begins timestamp if no matching entry was found
  - wtmpdb last: Add --since and --until options
  - Add compat symlink for "last"
  - wtmpdb last: add --present option
  - wtmpdb last: implement -n/--limit
  - pam_wtmpdb: Try XDG_VTNR if PAM_TTY is not a tty

OBS-URL: https://build.opensuse.org/request/show/1080126
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/wtmpdb?expand=0&rev=3
This commit is contained in:
Thorsten Kukuk 2023-04-18 12:11:26 +00:00 committed by Git OBS Bridge
parent d3bccff1ab
commit c5ab59eac2
4 changed files with 32 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2a7568bf85ae388462a88ecfc9b441b9eba3752321836677241e24345d6c227b
size 12656

3
wtmpdb-0.4.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:25866400e48842224c814848c213297dfa4acfed3b3a5aab8fbbe5d96be147f2
size 16156

View File

@ -1,3 +1,28 @@
-------------------------------------------------------------------
Tue Apr 18 06:21:02 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
- Update to version 0.4.0
- libwtmpdb: Use project version for library version
- libwtmpdb: Always use _PATH_WTMPDB as fallback
-------------------------------------------------------------------
Mon Apr 17 13:28:05 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
- Skip pam_wtmpdb for sshd
-------------------------------------------------------------------
Wed Apr 12 13:28:47 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
- Update to version 0.3.0
- pam_wtmpdb: Add skip_if option
- Add manual pages
- wtmpdb last: fix wtmp begins timestamp if no matching entry was found
- wtmpdb last: Add --since and --until options
- Add compat symlink for "last"
- wtmpdb last: add --present option
- wtmpdb last: implement -n/--limit
- pam_wtmpdb: Try XDG_VTNR if PAM_TTY is not a tty
-------------------------------------------------------------------
Mon Apr 3 09:17:15 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>

View File

@ -18,7 +18,7 @@
%define lname libwtmpdb0
Name: wtmpdb
Version: 0.2.0
Version: 0.4.0
Release: 0
Summary: Reports last logged in users and system reboots
License: BSD-2-Clause
@ -71,7 +71,7 @@ to develop applications that needs to read, write or modify the wtmpdb database.
%post
%tmpfiles_create wtmpdb.conf
%service_add_post wtmpdb-update-boot.service
pam-config -a --wtmpdb
pam-config -a --wtmpdb --wtmpdb-skip_if=sshd
%postun
if [ "$1" -eq 0 ]; then
@ -89,8 +89,8 @@ fi
%{_tmpfilesdir}/wtmpdb.conf
%{_pam_moduledir}/pam_wtmpdb.so
%ghost %{_localstatedir}/lib/wtmpdb
#%{_mandir}/man8/wtmpdb.8%{?ext_man}
#%{_mandir}/man8/pam_wtmpdb.8%{?ext_man}
%{_mandir}/man8/wtmpdb.8%{?ext_man}
%{_mandir}/man8/pam_wtmpdb.8%{?ext_man}
%files -n %{lname}
%license LICENSE