Markup fixes for lastlog man pages

Mario Blättermann <[email protected]> Thu, 14 Aug 2025 19:11:02 +0200
Newsgroups org.kernel.vger.util-linux
Message-ID <CAHi0vA9RfPW7zduvkQufPdvwfPB9wdhg21fzZ0tve3W5TK2DTw@mail.gmail.com>
Hello,

while pre-translating the man pages of the upcoming version, I found
some things worth to fix – to get working links in the SEE ALSO
section, and a clickable author's mail address. See the attachment.

Best Regards,
Mario
lastlog.patch (text/x-patch, 5.8 KB)
diff --git a/liblastlog2/man/lastlog2.3.adoc b/liblastlog2/man/lastlog2.3.adoc
index 405bdb2a5..cccd81472 100644
--- a/liblastlog2/man/lastlog2.3.adoc
+++ b/liblastlog2/man/lastlog2.3.adoc
@@ -22,18 +22,18 @@ lastlog2 - Y2038 safe version of lastlog library.
 It's using sqlite3 as database backend. Data is only collected via a PAM module, so that all
 tools can make use of it, without modifying existing packages.
 The output is as compatible as possible with the old lastlog implementation.
-By default the database will be written as `/var/lib/lastlog/lastlog2.db`.
+By default the database will be written as _/var/lib/lastlog/lastlog2.db_.
 The size of the database depends on the amount of users, not how big the biggest UID is.
 
 == AUTHORS
 
-Thorsten Kukuk ([email protected])
+mailto:[email protected][Thorsten Kukuk]
 
 == SEE ALSO
 
 *lastlog2*(3),
-*ll2_new_context(3),
-*ll2_unref_context(3),
+*ll2_new_context*(3),
+*ll2_unref_context*(3),
 *ll2_write_entry*(3),
 *ll2_read_all*(3),
 *ll2_read_entry*(3),
diff --git a/liblastlog2/man/ll2_import_lastlog.3.adoc b/liblastlog2/man/ll2_import_lastlog.3.adoc
index 672a92cd1..36e014c31 100644
--- a/liblastlog2/man/ll2_import_lastlog.3.adoc
+++ b/liblastlog2/man/ll2_import_lastlog.3.adoc
@@ -42,13 +42,13 @@ _error_ should be freed by the caller.
 
 == AUTHORS
 
-Thorsten Kukuk ([email protected])
+mailto:[email protected][Thorsten Kukuk]
 
 == SEE ALSO
 
 *lastlog2*(3),
-*ll2_new_context(3),
-*ll2_unref_context(3),
+*ll2_new_context*(3),
+*ll2_unref_context*(3),
 *ll2_read_all*(3),
 *ll2_write_entry*(3),
 *ll2_read_entry*(3),
diff --git a/liblastlog2/man/ll2_new_context.3.adoc b/liblastlog2/man/ll2_new_context.3.adoc
index 8bb280422..0cabd0327 100644
--- a/liblastlog2/man/ll2_new_context.3.adoc
+++ b/liblastlog2/man/ll2_new_context.3.adoc
@@ -39,12 +39,12 @@ Returns NULL on an error.
 
 == AUTHORS
 
-Thorsten Kukuk ([email protected])
+mailto:[email protected][Thorsten Kukuk]
 
 == SEE ALSO
 
 *lastlog2*(3),
-*ll2_unref_context(3),
+*ll2_unref_context*(3),
 *ll2_read_all*(3),
 *ll2_write_entry*(3),
 *ll2_read_entry*(3),
diff --git a/liblastlog2/man/ll2_read_all.3.adoc b/liblastlog2/man/ll2_read_all.3.adoc
index 26617d617..9da54d72a 100644
--- a/liblastlog2/man/ll2_read_all.3.adoc
+++ b/liblastlog2/man/ll2_read_all.3.adoc
@@ -51,13 +51,13 @@ and can be checked.
 
 == AUTHORS
 
-Thorsten Kukuk ([email protected])
+mailto:[email protected][Thorsten Kukuk]
 
 == SEE ALSO
 
 *lastlog2*(3),
-*ll2_new_context(3),
-*ll2_unref_context(3),
+*ll2_new_context*(3),
+*ll2_unref_context*(3),
 *ll2_write_entry*(3),
 *ll2_read_entry*(3),
 *ll2_update_login_time*(3),
diff --git a/liblastlog2/man/ll2_read_entry.3.adoc b/liblastlog2/man/ll2_read_entry.3.adoc
index 063861284..9eb7ac657 100644
--- a/liblastlog2/man/ll2_read_entry.3.adoc
+++ b/liblastlog2/man/ll2_read_entry.3.adoc
@@ -49,13 +49,13 @@ The evaluated values are returned by _ll_time_, _tty_, _rhost_ and _pam_service_
 
 == AUTHORS
 
-Thorsten Kukuk ([email protected])
+mailto:[email protected][Thorsten Kukuk]
 
 == SEE ALSO
 
 *lastlog2*(3),
-*ll2_new_context(3),
-*ll2_unref_context(3),
+*ll2_new_context*(3),
+*ll2_unref_context*(3),
 *ll2_read_all*(3),
 *ll2_write_entry*(3),
 *ll2_update_login_time*(3),
diff --git a/liblastlog2/man/ll2_remove_entry.3.adoc b/liblastlog2/man/ll2_remove_entry.3.adoc
index 622c3c65f..935e69c76 100644
--- a/liblastlog2/man/ll2_remove_entry.3.adoc
+++ b/liblastlog2/man/ll2_remove_entry.3.adoc
@@ -40,13 +40,13 @@ _error_ should be freed by the caller.
 
 == AUTHORS
 
-Thorsten Kukuk ([email protected])
+mailto:[email protected][Thorsten Kukuk]
 
 == SEE ALSO
 
 *lastlog2*(3),
-*ll2_new_context(3),
-*ll2_unref_context(3),
+*ll2_new_context*(3),
+*ll2_unref_context*(3),
 *ll2_read_all*(3),
 *ll2_write_entry*(3),
 *ll2_read_entry*(3),
diff --git a/liblastlog2/man/ll2_rename_user.3.adoc b/liblastlog2/man/ll2_rename_user.3.adoc
index d3687a9dc..786c0695a 100644
--- a/liblastlog2/man/ll2_rename_user.3.adoc
+++ b/liblastlog2/man/ll2_rename_user.3.adoc
@@ -43,13 +43,13 @@ _error_ should be freed by the caller.
 
 == AUTHORS
 
-Thorsten Kukuk ([email protected])
+mailto:[email protected][Thorsten Kukuk]
 
 == SEE ALSO
 
 *lastlog2*(3),
-*ll2_new_context(3),
-*ll2_unref_context(3),
+*ll2_new_context*(3),
+*ll2_unref_context*(3),
 *ll2_read_all*(3),
 *ll2_write_entry*(3),
 *ll2_read_entry*(3),
diff --git a/liblastlog2/man/ll2_unref_context.3.adoc b/liblastlog2/man/ll2_unref_context.3.adoc
index 937de5974..b8cba2a31 100644
--- a/liblastlog2/man/ll2_unref_context.3.adoc
+++ b/liblastlog2/man/ll2_unref_context.3.adoc
@@ -35,12 +35,12 @@ ll2_unref_context(context);
 
 == AUTHORS
 
-Thorsten Kukuk ([email protected])
+mailto:[email protected][Thorsten Kukuk]
 
 == SEE ALSO
 
 *lastlog2*(3),
-*ll2_new_context(3),
+*ll2_new_context*(3),
 *ll2_read_all*(3),
 *ll2_write_entry*(3),
 *ll2_read_entry*(3),
diff --git a/liblastlog2/man/ll2_update_login_time.3.adoc b/liblastlog2/man/ll2_update_login_time.3.adoc
index 3a7aed589..d58a4a15e 100644
--- a/liblastlog2/man/ll2_update_login_time.3.adoc
+++ b/liblastlog2/man/ll2_update_login_time.3.adoc
@@ -44,13 +44,13 @@ _error_ should be freed by the caller.
 
 == AUTHORS
 
-Thorsten Kukuk ([email protected])
+mailto:[email protected][Thorsten Kukuk]
 
 == SEE ALSO
 
 *lastlog2*(3),
-*ll2_new_context(3),
-*ll2_unref_context(3),
+*ll2_new_context*(3),
+*ll2_unref_context*(3),
 *ll2_read_all*(3),
 *ll2_write_entry*(3),
 *ll2_read_entry*(3),
diff --git a/liblastlog2/man/ll2_write_entry.3.adoc b/liblastlog2/man/ll2_write_entry.3.adoc
index fc8e92b75..f29ce2a66 100644
--- a/liblastlog2/man/ll2_write_entry.3.adoc
+++ b/liblastlog2/man/ll2_write_entry.3.adoc
@@ -47,13 +47,13 @@ _error_ should be freed by the caller.
 
 == AUTHORS
 
-Thorsten Kukuk ([email protected])
+mailto:[email protected][Thorsten Kukuk]
 
 == SEE ALSO
 
 *lastlog2*(3),
-*ll2_new_context(3),
-*ll2_unref_context(3),
+*ll2_new_context*(3),
+*ll2_unref_context*(3),
 *ll2_read_all*(3),
 *ll2_read_entry*(3),
 *ll2_update_login_time*(3),