From 46b44d5f433764fb7976da47f449b35d31b04098 Mon Sep 17 00:00:00 2001
From: Laurent Bercot
Date: Sun, 6 Dec 2020 21:07:44 +0000
Subject: Prepare for 0.1.0.0; don't install utmpx.h by default
New --enable-libc-includes configure option to overwrite the
system utmpx.h
---
doc/index.html | 4 ++--
doc/libutmps/index.html | 25 ++++++++++++++++++++++---
doc/upgrade.html | 6 +++++-
3 files changed, 29 insertions(+), 6 deletions(-)
(limited to 'doc')
diff --git a/doc/index.html b/doc/index.html
index 247a9a0..a911019 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -70,13 +70,13 @@ suitable replacement for
utmps is free software. It is available under the
-ISC license.
+ISC license.
Download
- - The current released version of utmps is 0.0.3.3.
+ - The current released version of utmps is 0.1.0.0.
- Alternatively, you can checkout a copy of the
utmps
git repository:
diff --git a/doc/libutmps/index.html b/doc/libutmps/index.html
index f2fb86f..dc41fda 100644
--- a/doc/libutmps/index.html
+++ b/doc/libutmps/index.html
@@ -35,6 +35,17 @@ interface, which in utmps is implemented as a series of thin wrappers
around the utmps library.
+
+ A suitable utmpx.h header can be found in the utmps/
+subdirectory of
+the header installation directory; if the --enable-libc-includes
+option has been given to configure, it can also be found directly
+in that directory. (Example: /usr/include/utmps/utmpz.h is
+always installed, but if the option has been given at nsss build time,
+/usr/include/utmpx.h is also installed and replaces the
+version provided by the libc.)
+
+
Compiling
@@ -42,9 +53,17 @@ around the utmps library.
are visible in your header search path.
- Use #include <utmps/utmps.h>
- To use the standard utmpx.h interface, you can
-just #include <utmpx.h>, which will work as long
-as the utmps/utmpx.h header is accessible in your header
-search path.
+just #include <utmpx.h>, which will work:
+
+ - either if the --enable-libc-includes option
+has been given at utmps build time
+ - or if you give the -I/usr/include/utmps option
+to your compiler. (Depending on your standard header location,
+specify that the header search path should include the
+utmps subdirectory of that location.) This is useful when
+the administrator did not want to overwrite the libc-provided
+utmpx.h file when they installed utmps.
+
Linking
diff --git a/doc/upgrade.html b/doc/upgrade.html
index d700919..a01dfc3 100644
--- a/doc/upgrade.html
+++ b/doc/upgrade.html
@@ -18,13 +18,17 @@
What has changed in utmps
- in 0.0.3.3
+ in 0.1.0.0
- skalibs
dependency bumped to 2.10.0.0.
- s6 run-time
dependency bumped to 2.10.0.0.
+ - The utmpx.h header files is
+not installed by default anymore. You now need to explicitly give the
+--enable-libc-includes configure option in order to install it. The
+point of this change is to avoid overwriting libc headers accidentally.
in 0.0.3.2
--
cgit v1.2.3