SHA256
1
0
forked from pool/wtmpdb

57 Commits

Author SHA256 Message Date
08e3d74235 Accepting request 1320664 from Linux-PAM
- Update to version 0.75.0+git20251130.0d8fe7a:
  * wtmpdbd: add method Rotate to interface definition
  * wtmpdb last: fix --present option
  * last -x: apply --since and --until to split entries
  * last -x: show shutdown entries before reboot ones
  * Fix varlink definition for type WtmpdbEntry

OBS-URL: https://build.opensuse.org/request/show/1320664
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wtmpdb?expand=0&rev=25
2025-12-02 12:19:04 +00:00
8fa060bd11 - Update to version 0.75.0+git20251130.0d8fe7a:
* wtmpdbd: add method Rotate to interface definition
  * wtmpdb last: fix --present option
  * last -x: apply --since and --until to split entries
  * last -x: show shutdown entries before reboot ones
  * Fix varlink definition for type WtmpdbEntry

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/wtmpdb?expand=0&rev=58
2025-11-30 17:38:29 +00:00
4b39c2a965 Accepting request 1310007 from Linux-PAM
- Update to version 0.75.0+git20251009.a6f185a:
  * Release version 0.75.0
  * Create table on RW open of empty database
  * Use empty memory table instead of failing to read empty file
  * Factor CREATE TABLE IF NOT EXISTS out of add_entry()

OBS-URL: https://build.opensuse.org/request/show/1310007
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wtmpdb?expand=0&rev=24
2025-10-10 15:07:55 +00:00
9980fea56b - Update to version 0.75.0+git20251009.a6f185a:
* Release version 0.75.0
  * Create table on RW open of empty database
  * Use empty memory table instead of failing to read empty file
  * Factor CREATE TABLE IF NOT EXISTS out of add_entry()

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/wtmpdb?expand=0&rev=56
2025-10-09 13:22:35 +00:00
c44b03182d Accepting request 1276112 from Linux-PAM
- Update to version 0.74.0+git20250509.272b109:
  * libwtmpdb: enhance/unify error messages

- Fix summary of libwtmpdb subpackage

OBS-URL: https://build.opensuse.org/request/show/1276112
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wtmpdb?expand=0&rev=23
2025-05-12 14:45:48 +00:00
f1f218d0f0 - Update to version 0.74.0+git20250509.272b109:
* libwtmpdb: enhance/unify error messages

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/wtmpdb?expand=0&rev=54
2025-05-09 08:16:54 +00:00
b39892c2ba - Fix summary of libwtmpdb subpackage
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/wtmpdb?expand=0&rev=53
2025-05-07 08:43:55 +00:00
9336525509 Accepting request 1273031 from Linux-PAM
- Update to version 0.74.0+git20250424.2e93e77:
  * Release version 0.74.0
  * Fix varlink interface name (rebootmgr vs wtmpdb)
  * import: match login by tty if non-zero pid does not match

OBS-URL: https://build.opensuse.org/request/show/1273031
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wtmpdb?expand=0&rev=22
2025-04-29 14:39:35 +00:00
faa5937aab - Update to version 0.74.0+git20250424.2e93e77:
* Release version 0.74.0
  * Fix varlink interface name (rebootmgr vs wtmpdb)
  * import: match login by tty if non-zero pid does not match

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/wtmpdb?expand=0&rev=51
2025-04-28 06:55:10 +00:00
7e91c55298 Accepting request 1267915 from Linux-PAM
- Update to version 0.73.0+git20250408.edb8638:
  * Release version 0.73.0
  * expand accepted time format options
  * use documented -t short option for last --until
  * hurd: avoid PATH_MAX
  * hurd: compat for lack of CLOCK_BOOTTIME

OBS-URL: https://build.opensuse.org/request/show/1267915
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wtmpdb?expand=0&rev=21
2025-04-09 19:49:39 +00:00
437f4a67c6 - Update to version 0.73.0+git20250408.edb8638:
* Release version 0.73.0
  * expand accepted time format options
  * use documented -t short option for last --until
  * hurd: avoid PATH_MAX
  * hurd: compat for lack of CLOCK_BOOTTIME

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/wtmpdb?expand=0&rev=49
2025-04-08 13:21:35 +00:00
1724b068e7 Accepting request 1250416 from Linux-PAM
- Update to version 0.72.0+git20250305.10803fd:
  * Release version 0.72.0
  * i386: fix integer format length errors
  * Add utmp format importer
  * Fix wtmp database path in documentation
  * test: schedule test logins on correct day
  * rotate: don't throw away microseconds calculating threshold

OBS-URL: https://build.opensuse.org/request/show/1250416
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wtmpdb?expand=0&rev=20
2025-03-06 13:47:57 +00:00
a9fc6eb9ce - Update to version 0.72.0+git20250305.10803fd:
* Release version 0.72.0
  * i386: fix integer format length errors
  * Add utmp format importer
  * Fix wtmp database path in documentation
  * test: schedule test logins on correct day
  * rotate: don't throw away microseconds calculating threshold

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/wtmpdb?expand=0&rev=47
2025-03-05 13:02:14 +00:00
93b482ebcb Accepting request 1244111 from Linux-PAM
- Update to version 0.71.0+git20250206.608632a:
  * Fix expected output of wtmpdb_rotate() test
  * Make header usable from C++

OBS-URL: https://build.opensuse.org/request/show/1244111
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wtmpdb?expand=0&rev=19
2025-02-09 19:00:18 +00:00
a84ea6871b OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/wtmpdb?expand=0&rev=45 2025-02-07 10:30:26 +00:00
616c243de1 Accepting request 1242824 from Linux-PAM
- Update to version 0.71.0+git20250203.86b8442:
  * Release version 0.71.0
  * zero struct tm before calling strptime()
  * Accept classic 'last -N' form for max entries
  * tst-varlink: fix order of error checking
  * CI: use valgrind
  * Run meson test in verbose mode
  * tst-varlink works only if run as root
  * Use meson feature and not combo options
  * Add CI for openSUSE
  * CI: make sure sqlite3 devel is installed

OBS-URL: https://build.opensuse.org/request/show/1242824
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wtmpdb?expand=0&rev=18
2025-02-04 17:09:56 +00:00
11b7c09ed6 - Update to version 0.71.0+git20250203.86b8442:
* Release version 0.71.0
  * zero struct tm before calling strptime()
  * Accept classic 'last -N' form for max entries
  * tst-varlink: fix order of error checking
  * CI: use valgrind
  * Run meson test in verbose mode
  * tst-varlink works only if run as root
  * Use meson feature and not combo options
  * Add CI for openSUSE
  * CI: make sure sqlite3 devel is installed

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/wtmpdb?expand=0&rev=43
2025-02-03 12:49:18 +00:00
0f84754465 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
2025-01-28 13:58:11 +00:00
fbf36f5502 - 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

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/wtmpdb?expand=0&rev=41
2025-01-27 07:32:32 +00:00
ef4fc98e85 Accepting request 1193868 from Linux-PAM
- Update to version 0.13.0+git.20240814:
  * wtmpdb-update-boot service requires dbus

OBS-URL: https://build.opensuse.org/request/show/1193868
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wtmpdb?expand=0&rev=16
2024-08-15 07:57:35 +00:00
ce2ed2593d Accepting request 1189803 from Linux-PAM
- Update to version 0.13.0+git.20240726:
  * Release version 0.13.0
  * Fix variable overflow and check for it (#15)

OBS-URL: https://build.opensuse.org/request/show/1189803
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wtmpdb?expand=0&rev=15
2024-07-30 09:53:17 +00:00
8d56ac3a0a Accepting request 1172655 from Linux-PAM
- Update to version 0.12.0+git.20240508:
  - boot: Query systemd if soft-reboot was done

OBS-URL: https://build.opensuse.org/request/show/1172655
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wtmpdb?expand=0&rev=14
2024-05-09 10:07:51 +00:00
8312b81ddb - Update to version 0.12.0+git.20240508:
- boot: Query systemd if soft-reboot was done

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/wtmpdb?expand=0&rev=35
2024-05-08 08:59:48 +00:00
b75396aae3 Accepting request 1137589 from Linux-PAM
- Update to version 0.11.0
  - last: add support for time-format option

OBS-URL: https://build.opensuse.org/request/show/1137589
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wtmpdb?expand=0&rev=13
2024-01-09 19:48:57 +00:00
0176f774e4 - Update to version 0.11.0
- last: add support for time-format option

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/wtmpdb?expand=0&rev=33
2024-01-08 15:01:12 +00:00
71dcf3fea6 Accepting request 1134046 from Linux-PAM
- Update to version 0.10.0
  - last: support matching for username and/or tty

OBS-URL: https://build.opensuse.org/request/show/1134046
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wtmpdb?expand=0&rev=12
2023-12-20 20:01:07 +00:00
3acf53fda8 - Update to version 0.10.0
- last: support matching for username and/or tty

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/wtmpdb?expand=0&rev=31
2023-12-13 14:24:53 +00:00
181f880827 Accepting request 1120586 from Linux-PAM
- Update to version 0.9.3
  - wtmpdb last: don't print date in the future if there is no
    db entry

OBS-URL: https://build.opensuse.org/request/show/1120586
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wtmpdb?expand=0&rev=11
2023-10-27 20:27:32 +00:00
66a5256547 - Update to version 0.9.3
- wtmpdb last: don't print date in the future if there is no
    db entry

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/wtmpdb?expand=0&rev=29
2023-10-26 13:19:58 +00:00
0ea4c1277f Accepting request 1112164 from Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/1112164
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wtmpdb?expand=0&rev=10
2023-09-21 20:13:05 +00:00
bb96dfa0c5 Accepting request 1112162 from home:schubi2
- Update to version 0.9.2
  - Set busy timeout for DB access: The process is waiting until
    5 seconds for DB connection if the DB is locked by another
    process.

OBS-URL: https://build.opensuse.org/request/show/1112162
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/wtmpdb?expand=0&rev=27
2023-09-19 08:06:50 +00:00
6d67c954b8 Accepting request 1105296 from Linux-PAM
- Fix last.1 manual page reference
- Update to version 0.9.1
  - Fix printf format specifier on 32bit (forwarded request 1105295 from kukuk)

OBS-URL: https://build.opensuse.org/request/show/1105296
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wtmpdb?expand=0&rev=9
2023-08-28 15:10:52 +00:00
a220ccac26 Accepting request 1105295 from home:kukuk:no-utmp
- Fix last.1 manual page reference
- Update to version 0.9.1
  - Fix printf format specifier on 32bit

OBS-URL: https://build.opensuse.org/request/show/1105295
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/wtmpdb?expand=0&rev=25
2023-08-22 15:01:15 +00:00
7029c86116 Accepting request 1104166 from Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/1104166
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wtmpdb?expand=0&rev=8
2023-08-17 17:42:40 +00:00
80cae622a8 Accepting request 1104165 from home:kukuk:no-utmp
- Update to version 0.9.0
  - Try to detect systemctl soft-reboot
  - Many conversation warning/error fixes

OBS-URL: https://build.opensuse.org/request/show/1104165
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/wtmpdb?expand=0&rev=23
2023-08-16 12:24:26 +00:00
b330c0abda Accepting request 1103168 from Linux-PAM
- Update to version 0.8.0
  - wtmpdb boottime: print boot time

- Update to version 0.7.1

OBS-URL: https://build.opensuse.org/request/show/1103168
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wtmpdb?expand=0&rev=7
2023-08-10 13:33:00 +00:00
b6ef746728 - Update to version 0.8.0
- wtmpdb boottime: print boot time
- Update to version 0.7.1

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/wtmpdb?expand=0&rev=21
2023-08-09 14:14:36 +00:00
c450f85a84 Accepting request 1097971 from Linux-PAM
OBS-URL: https://build.opensuse.org/request/show/1097971
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wtmpdb?expand=0&rev=6
2023-07-12 15:26:40 +00:00
bf42cfa7b5 Accepting request 1096335 from home:jengelh:branches:Linux-PAM
- https://en.opensuse.org/SourceUrls
- Use noun phrase for Summary.
- Wrap descriptions at 70 (for yast2 textmode).

OBS-URL: https://build.opensuse.org/request/show/1096335
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/wtmpdb?expand=0&rev=19
2023-07-10 13:33:52 +00:00
1d0f65e726 - Update to ersion 0.7.1
- wtmpdb last: Support "YYYY-MM-DD", "today" and "yesterday" as
    time option

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/wtmpdb?expand=0&rev=18
2023-06-29 12:23:14 +00:00
2643ae6756 Accepting request 1095805 from home:kukuk:no-utmp
- Add last compat symlink and manual page

OBS-URL: https://build.opensuse.org/request/show/1095805
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/wtmpdb?expand=0&rev=17
2023-06-28 12:34:53 +00:00
a10e3c33ee Accepting request 1094677 from Linux-PAM
- Update to version 0.7.0
  - wtmpdb rotate: use sqlite3_bind_* internal
  - wtmpdb last: Implement -x, -d, -i and -w options

OBS-URL: https://build.opensuse.org/request/show/1094677
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wtmpdb?expand=0&rev=5
2023-06-23 19:52:10 +00:00
e4d0e20581 OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/wtmpdb?expand=0&rev=15 2023-06-22 13:42:58 +00:00
337cafa668 OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/wtmpdb?expand=0&rev=14 2023-06-22 13:28:09 +00:00
e7c276f076 OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/wtmpdb?expand=0&rev=13 2023-06-22 13:25:14 +00:00
1086f351f5 - Update to version 0.7.0
- wtmpdb rotate: use sqlite3_bind_* internal
  - wtmpdb last: Implement -x, -d, -i and -w options

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/wtmpdb?expand=0&rev=12
2023-06-21 06:54:55 +00:00
064765ee1d 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
2023-06-14 14:28:34 +00:00
11ef1cb36d Accepting request 1092601 from home:kukuk:no-utmp
- Update to version 0.6.0
  - wtmpdb rotate: move old log entries into wtmpdb_<yyyymmdd>.db

OBS-URL: https://build.opensuse.org/request/show/1092601
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/wtmpdb?expand=0&rev=10
2023-06-12 14:34:58 +00:00
1d6cc80521 Accepting request 1082984 from Linux-PAM
- wtmpdb boot: more accurate calculation of boot time (forwarded request 1082983 from kukuk)

OBS-URL: https://build.opensuse.org/request/show/1082984
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wtmpdb?expand=0&rev=3
2023-04-26 15:26:25 +00:00
afed0a284d Accepting request 1082983 from home:kukuk:cleanup
- wtmpdb boot: more accurate calculation of boot time

OBS-URL: https://build.opensuse.org/request/show/1082983
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/wtmpdb?expand=0&rev=8
2023-04-26 11:34:27 +00:00
723e214431 Accepting request 1082951 from home:kukuk:cleanup
OBS-URL: https://build.opensuse.org/request/show/1082951
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/wtmpdb?expand=0&rev=7
2023-04-26 09:51:55 +00:00
d5a0898070 Accepting request 1082462 from Linux-PAM
- Use Requires(pre) and Requires(post) instead of PreReq

OBS-URL: https://build.opensuse.org/request/show/1082462
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wtmpdb?expand=0&rev=2
2023-04-24 20:31:33 +00:00
5a062f3691 - Use Requires(pre) and Requires(post) instead of PreReq
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/wtmpdb?expand=0&rev=5
2023-04-24 09:48:33 +00:00
659bfb45f1 Accepting request 1081659 from Linux-PAM
wtmpdb replacing wtmp

OBS-URL: https://build.opensuse.org/request/show/1081659
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wtmpdb?expand=0&rev=1
2023-04-22 20:03:13 +00:00
c5ab59eac2 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
2023-04-18 12:11:26 +00:00
d3bccff1ab Accepting request 1076871 from home:kukuk:cleanup
- Update to version 0.2.0
  - pam_lastlog: support PAM_XDISPLAY
  - wtmpdb last: show PAM service on request
  - wtmpdb: log audit records for boot/shutdown

OBS-URL: https://build.opensuse.org/request/show/1076871
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/wtmpdb?expand=0&rev=2
2023-04-03 10:00:10 +00:00
88c46a1bde - Initial package
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/wtmpdb?expand=0&rev=1
2023-03-30 13:15:35 +00:00
7 changed files with 172 additions and 17 deletions

View File

@@ -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.75.0+git%cd.%h</param>
</service>
<service mode="manual" name="recompress">
<param name="file">*.tar</param>

View File

@@ -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">0d8fe7a1803a71e747ccf172e9c6c16af0ce6688</param></service></servicedata>

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6afda1a2ebebdf21d101055c67c0af80fa977b72fa823bd4f693384ae8e23b80
size 34148

View File

@@ -1,3 +1,155 @@
-------------------------------------------------------------------
Sun Nov 30 17:36:17 UTC 2025 - Thorsten Kukuk <kukuk@suse.com>
- Update to version 0.75.0+git20251130.0d8fe7a:
* wtmpdbd: add method Rotate to interface definition
* wtmpdb last: fix --present option
* last -x: apply --since and --until to split entries
* last -x: show shutdown entries before reboot ones
* Fix varlink definition for type WtmpdbEntry
-------------------------------------------------------------------
Thu Oct 09 13:20:48 UTC 2025 - Thorsten Kukuk <kukuk@suse.com>
- Update to version 0.75.0+git20251009.a6f185a:
* Release version 0.75.0
* Create table on RW open of empty database
* Use empty memory table instead of failing to read empty file
* Factor CREATE TABLE IF NOT EXISTS out of add_entry()
-------------------------------------------------------------------
Fri May 09 08:13:11 UTC 2025 - Thorsten Kukuk <kukuk@suse.com>
- Update to version 0.74.0+git20250509.272b109:
* libwtmpdb: enhance/unify error messages
-------------------------------------------------------------------
Wed May 7 08:43:33 UTC 2025 - Thorsten Kukuk <kukuk@suse.com>
- Fix summary of libwtmpdb subpackage
-------------------------------------------------------------------
Mon Apr 28 06:53:09 UTC 2025 - Thorsten Kukuk <kukuk@suse.com>
- Update to version 0.74.0+git20250424.2e93e77:
* Release version 0.74.0
* Fix varlink interface name (rebootmgr vs wtmpdb)
* import: match login by tty if non-zero pid does not match
-------------------------------------------------------------------
Tue Apr 08 13:19:54 UTC 2025 - Thorsten Kukuk <kukuk@suse.com>
- Update to version 0.73.0+git20250408.edb8638:
* Release version 0.73.0
* expand accepted time format options
* use documented -t short option for last --until
* hurd: avoid PATH_MAX
* hurd: compat for lack of CLOCK_BOOTTIME
-------------------------------------------------------------------
Wed Mar 05 12:59:57 UTC 2025 - kukuk@suse.com
- Update to version 0.72.0+git20250305.10803fd:
* Release version 0.72.0
* i386: fix integer format length errors
* Add utmp format importer
* Fix wtmp database path in documentation
* test: schedule test logins on correct day
* rotate: don't throw away microseconds calculating threshold
-------------------------------------------------------------------
Thu Feb 06 10:44:44 UTC 2025 - kukuk@suse.com
- Update to version 0.71.0+git20250206.608632a:
* Fix expected output of wtmpdb_rotate() test
* Make header usable from C++
-------------------------------------------------------------------
Mon Feb 03 12:46:06 UTC 2025 - kukuk@suse.com
- Update to version 0.71.0+git20250203.86b8442:
* Release version 0.71.0
* zero struct tm before calling strptime()
* Accept classic 'last -N' form for max entries
* tst-varlink: fix order of error checking
* CI: use valgrind
* Run meson test in verbose mode
* tst-varlink works only if run as root
* Use meson feature and not combo options
* Add CI for openSUSE
* CI: make sure sqlite3 devel is installed
-------------------------------------------------------------------
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

View File

@@ -1,7 +1,7 @@
#
# spec file for package wtmpdb
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# 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.75.0+git20251130.0d8fe7a
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
@@ -43,7 +43,7 @@ wtmpdb utility creates boot and shutdown entries or formats and
prints the contents of the wtmp database.
%package -n %{lname}
Summary: PAM module to store login and logout of users
Summary: Library to store login and logout of users (wtmpdb)
%description -n %{lname}
The libwtmpdb provides various interfaces to read, write or modify
@@ -62,7 +62,7 @@ the wtmpdb database.
%autosetup
%build
%meson -Dman=true -Dcompat-symlink=true
%meson -Dman=enabled -Dcompat-symlink=true -Dwtmpdbd=enabled
%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}