From 40aafbcda2b0373ba0f2d306141af477e3273fe1 Mon Sep 17 00:00:00 2001
From: Laurent Bercot
Date: Sun, 20 Mar 2022 20:15:03 +0000
Subject: Prepare for 0.1.2.0; add file arg to utmps-wtmpd
Signed-off-by: Laurent Bercot
---
.gitignore | 1 +
INSTALL | 4 ++--
NEWS | 6 ++++++
doc/index.html | 6 +++---
doc/upgrade.html | 9 +++++++++
doc/utmps-wtmpd.html | 8 +++++++-
package/info | 2 +-
src/utmps/utmps-wtmpd.c | 22 ++++++++++++++--------
8 files changed, 43 insertions(+), 15 deletions(-)
diff --git a/.gitignore b/.gitignore
index 29db243..059f39a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@
/libutmps.so.xyzzy
/utmps-utmpd
/utmps-wtmpd
+/utmps-write
diff --git a/INSTALL b/INSTALL
index 48b4463..e9ed615 100644
--- a/INSTALL
+++ b/INSTALL
@@ -6,8 +6,8 @@ Build Instructions
- A POSIX-compliant C development environment
- GNU make version 3.81 or later
- - skalibs version 2.11.1.0 or later: https://skarnet.org/software/skalibs/
- - s6 version 2.11.0.1 or later: https://skarnet.org/software/s6/
+ - skalibs version 2.11.2.0 or later: https://skarnet.org/software/skalibs/
+ - s6 version 2.11.1.0 or later: https://skarnet.org/software/s6/
(this is only a run-time requirement, not a build-time one)
This software will run on any operating system that implements
diff --git a/NEWS b/NEWS
index 0298f9e..1265775 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,11 @@
Changelog for utmps.
+In 0.1.2.0
+----------
+
+ - Make the wtmp file name configurable.
+
+
In 0.1.1.0
----------
diff --git a/doc/index.html b/doc/index.html
index f22082d..80999f4 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -56,11 +56,11 @@ running utmp functions are just clients to this daemon.
A POSIX-compliant system with a standard C development environment
GNU make, version 3.81 or later
skalibs version
-2.11.1.0 or later. It's a build-time requirement. It's also a run-time
+2.11.2.0 or later. It's a build-time requirement. It's also a run-time
requirement if you link against the shared version of the skalibs
library.
s6 version
-2.11.0.1 or later. It's a run-time requirement only, to run
+2.11.1.0 or later. It's a run-time requirement only, to run
the utmpd and wtmpd services (and can be done without if you have a
suitable replacement for
s6-ipcserver).
@@ -76,7 +76,7 @@ suitable replacement for
Download
- - The current released version of utmps is 0.1.1.0.
+ - The current released version of utmps is 0.1.2.0.
- Alternatively, you can checkout a copy of the
utmps
git repository:
diff --git a/doc/upgrade.html b/doc/upgrade.html
index 4495d42..95681a2 100644
--- a/doc/upgrade.html
+++ b/doc/upgrade.html
@@ -18,6 +18,15 @@
What has changed in utmps
+ in 0.1.2.0
+
+
+ - skalibs
+dependency bumped to 2.11.2.0.
+ - s6 run-time
+dependency bumped to 2.11.1.0.
+
+
in 0.1.1.0
diff --git a/doc/utmps-wtmpd.html b/doc/utmps-wtmpd.html
index d8a3b7c..898899f 100644
--- a/doc/utmps-wtmpd.html
+++ b/doc/utmps-wtmpd.html
@@ -34,7 +34,7 @@ a script as a part of a "wtmpd"
on how to run such a service.
The simplest way to do so, for testing purposes, is a command line such as:
-s6-ipcserver .wtmpd-socket utmps-wtmpd
+s6-ipcserver .wtmpd-socket utmps-wtmpd wtmp
while being in the /run/utmps directory.
@@ -74,5 +74,11 @@ utmps-wtmpd and
superserver as this user and group.
+
+ If no argument is given to utmps-wtmpd, wtmp logs will be added to the wtmp
+file in utmps-wtmpd's working directory. If an argument is given, wtmp logs
+will be added to that file instead.
+
+