From 57abdf3eaa424deafda497a4a896328238353e18 Mon Sep 17 00:00:00 2001
From: Laurent Bercot
Date: Sun, 6 Dec 2020 15:32:11 +0000
Subject: Prepare for 0.1.0.0, add --enable-libc-includes configure switch
pwd.h, grp.h and shadow.h will not overwrite the libc headers
by default anymore; you need to explicitly add the switch.
---
doc/index.html | 8 ++++----
doc/libnsss/index.html | 25 ++++++++++++++++++++++---
doc/upgrade.html | 10 ++++++++--
3 files changed, 34 insertions(+), 9 deletions(-)
(limited to 'doc')
diff --git a/doc/index.html b/doc/index.html
index 9c155a1..62b37bd 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -81,11 +81,11 @@ functions.
A POSIX-compliant system with a standard C development environment
GNU make, version 3.81 or later
skalibs version
-2.9.2.1 or later. It's a build-time requirement. It's also a run-time
+2.10.0.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.9.1.0 or later. It's a run-time requirement only, to run
+2.10.0.0 or later. It's a run-time requirement only, to run
the nsssd service (and can be done without if you have a suitable replacement
for s6-ipcserver).
@@ -94,13 +94,13 @@ for s6-ipcserver).
nsss is free software. It is available under the
-ISC license.
+ISC license.
Download
- - The current released version of nsss is 0.0.2.2.
+ - The current released version of nsss is 0.1.0.0.
- Alternatively, you can checkout a copy of the
nsss
git repository:
diff --git a/doc/libnsss/index.html b/doc/libnsss/index.html
index 3514c42..bbe5029 100644
--- a/doc/libnsss/index.html
+++ b/doc/libnsss/index.html
@@ -102,6 +102,17 @@ will automatically be aliased to nsss_all_getpwnam(), and
the other functions will be aliased similarly.
+
+ pwd.h can be found in the nsss/ 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/nsss/pwd.h is
+always installed, but if the option has been given at nsss build time,
+/usr/include/pwd.h is also installed and replaces the
+version provided by the libc.) This also applies to the grp.h
+and shadow.h files.
+
+
If the NSSS_DISABLE_SWITCH macro is defined before inclusion of the
nsss headers, then getpwnam() will be aliased to
@@ -121,9 +132,17 @@ functions will follow the same pattern.
are visible in your header search path.
Use #include <nsss/nsss.h>
To use the standard pwd.h interface, you can
-just #include <pwd.h>, which will work as long
-as the nsss/pwd.h header is accessible in your header
-search path.
+just #include <pwd.h>, which will work:
+
+ - either if the --enable-libc-includes option
+has been given at nsss build time
+ - or if you give the -I/usr/include/nsss option
+to your compiler. (Depending on your standard header location,
+specify that the header search path should include the
+nsss subdirectory of that location.) This is useful when
+the administrator did not want to overwrite the libc-provided
+pwd.h file when they installed nsss.
+
Same thing for grp.h and shadow.h.
If don't want to use the nsss-all implementation of
"try nsss-switch and fall back to nsss-unix if it fails", then
diff --git a/doc/upgrade.html b/doc/upgrade.html
index b0ae772..00fffe3 100644
--- a/doc/upgrade.html
+++ b/doc/upgrade.html
@@ -18,11 +18,17 @@
What has changed in nsss
- in 0.0.2.3
+ in 0.1.0.0
- skalibs dependency bumped to
-2.9.2.1.
+2.10.0.0.
+ s6 optional dependency bumped to
+2.10.0.0.
+ The pwd.h, grp.h and shadow.h header files are
+not installed by default anymore. You now need to explicitly give the
+--enable-libc-includes configure option in order to install them. The
+point of this change is to avoid overwriting libc headers accidentally.
in 0.0.2.2
--
cgit v1.3.1