59 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
fd7be96924 - Update to version 0.13.0+git.20240814:
* wtmpdb-update-boot service requires dbus

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/wtmpdb?expand=0&rev=39
2024-08-14 10:02:16 +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
40b3975ae0 - 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/package/show/Linux-PAM/wtmpdb?expand=0&rev=37
2024-07-26 13:45:21 +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