From cb33f3c61e3e9e8b2204c2a1288d9168291fbabb Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 12 Sep 2024 00:12:35 +0000 Subject: Prepare for 0.2.0.5 ; fix ftms and support more defs in headers Signed-off-by: Laurent Bercot --- COPYING | 2 +- INSTALL | 4 ++-- NEWS | 6 ++++++ doc/index.html | 6 +++--- doc/upgrade.html | 9 +++++++++ package/info | 2 +- src/include/nsss/grp.h | 8 ++++---- src/include/nsss/shadow.h | 2 ++ 8 files changed, 28 insertions(+), 11 deletions(-) diff --git a/COPYING b/COPYING index 1631a79..ce2bdb1 100644 --- a/COPYING +++ b/COPYING @@ -1,4 +1,4 @@ -Copyright (c) 2018-2023 Laurent Bercot +Copyright (c) 2018-2024 Laurent Bercot Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above diff --git a/INSTALL b/INSTALL index c30b34a..f0586f9 100644 --- a/INSTALL +++ b/INSTALL @@ -6,9 +6,9 @@ Build Instructions - A POSIX-compliant C development environment - GNU make version 3.81 or later - - skalibs version 2.14.0.0 or later: https://skarnet.org/software/skalibs/ + - skalibs version 2.14.3.0 or later: https://skarnet.org/software/skalibs/ - To run the test suite and the nsssd-* programs: - s6 version 2.12.0.0 or later: https://skarnet.org/software/s6/ + s6 version 2.13.0.1 or later: https://skarnet.org/software/s6/ This software will run on any operating system that implements POSIX.1-2008, available at: diff --git a/NEWS b/NEWS index a3d84a0..6729928 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,11 @@ Changelog for nsss. +In 0.2.0.5 +---------- + + - Bugfixes. + + In 0.2.0.4 ---------- diff --git a/doc/index.html b/doc/index.html index e0b596b..94c80b8 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.14.0.0 or later. It's a build-time requirement. It's also a run-time +2.14.3.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.12.0.0 or later. It's a run-time requirement only, to run +2.13.0.1 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).
  • @@ -100,7 +100,7 @@ for s6-ipcserver). Download
      -
    • The current released version of nsss is 0.2.0.4.
    • +
    • The current released version of nsss is 0.2.0.5.
    • Alternatively, you can checkout a copy of the nsss git repository: diff --git a/doc/upgrade.html b/doc/upgrade.html index 5c9a94b..1c888c7 100644 --- a/doc/upgrade.html +++ b/doc/upgrade.html @@ -18,6 +18,15 @@

      What has changed in nsss

      +

      In 0.2.0.5

      + +
        +
      • skalibs +dependency bumped to 2.14.3.0.
      • +
      • s6 run-time +dependency bumped to 2.13.0.1.
      • +
      +

      In 0.2.0.4

        diff --git a/package/info b/package/info index 22e540c..b239c3b 100644 --- a/package/info +++ b/package/info @@ -1,4 +1,4 @@ package=nsss -version=0.2.0.4 +version=0.2.0.5 category=admin package_macro_name=NSSS diff --git a/src/include/nsss/grp.h b/src/include/nsss/grp.h index 8e16467..001a98e 100644 --- a/src/include/nsss/grp.h +++ b/src/include/nsss/grp.h @@ -20,7 +20,7 @@ extern "C" { #define getgrnam nsss_unix_getgrnam #define getgrnam_r nsss_unix_getgrnam_r -#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) +#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) || defined(_DEFAULT_SOURCE) # define getgrouplist nsss_unix_getgrouplist #endif @@ -38,7 +38,7 @@ extern "C" { #define getgrnam nsss_switch_getgrnam #define getgrnam_r nsss_switch_getgrnam_r -#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) +#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) || defined(_DEFAULT_SOURCE) # define getgrouplist nsss_switch_getgrouplist #endif @@ -55,7 +55,7 @@ extern "C" { #define getgrnam nsss_all_getgrnam #define getgrnam_r nsss_all_getgrnam_r -#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) +#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) || defined(_DEFAULT_SOURCE) # define getgrouplist nsss_all_getgrouplist #endif @@ -69,7 +69,7 @@ extern "C" { do not conflict with nsss operation. */ -#if defined(__GNU__) && (defined(_BSD_SOURCE) || defined(_DEFAULT_SOURCE)) +#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) || defined(_DEFAULT_SOURCE) #include extern int setgroups (size_t, gid_t const *) ; extern int initgroups (char const *, gid_t) ; diff --git a/src/include/nsss/shadow.h b/src/include/nsss/shadow.h index 5665fc8..dc20d5e 100644 --- a/src/include/nsss/shadow.h +++ b/src/include/nsss/shadow.h @@ -51,6 +51,8 @@ extern "C" { do not conflict with nsss operation. */ +#define SHADOW "/etc/shadow" + #include extern struct spwd *fgetspent (FILE *) ; -- cgit 1.4.1