From 86b0b6c8d30ef4f3ec156514c625ba1f05a0a62d Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 1 Aug 2018 20:59:32 +0000 Subject: Add nsss support --- NEWS | 1 + configure | 11 +++++++++++ doc/upgrade.html | 1 + package/deps.mak | 4 ++-- src/minidentd/deps-exe/minidentd | 2 ++ 5 files changed, 17 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 8b78408..12e675d 100644 --- a/NEWS +++ b/NEWS @@ -4,6 +4,7 @@ In 2.3.0.3 ---------- - Compatibility with skalibs-2.7.0.0. + - Optional nsss support added. In 2.3.0.2 diff --git a/configure b/configure index 2e692cc..7331583 100755 --- a/configure +++ b/configure @@ -44,6 +44,7 @@ Optional features: --enable-slashpackage[=ROOT] assume /package installation at ROOT [disabled] --enable-absolute-paths do not rely on PATH to access this package's binaries, hardcode absolute BINDIR/foobar paths instead [disabled] + --enable-nsss use the nsss library for user information [disabled] SSL support: --enable-ssl=libressl|bearssl build SSL tools, w/ libtls or bearssl implementation [disabled] @@ -150,6 +151,7 @@ static=true allpic=detect slashpackage=false abspath=false +usensss=false sproot= home= exthome= @@ -192,6 +194,8 @@ for arg ; do --disable-slashpackage) sproot= ; slashpackage=false ;; --enable-absolute-paths|--enable-absolute-paths=yes) abspath=true ;; --disable-absolute-paths|--enable-absolute-paths=no) abspath=false ;; + --enable-nsss|--enable-nsss=yes) usensss=true ;; + --disable-nsss|--enable-nsss=no) usensss=false ;; --enable-ssl=libressl) ssl=tls ;; --enable-ssl=bearssl) ssl=bearssl ;; --disable-ssl|--enable-ssl=none) ssl= ;; @@ -437,6 +441,13 @@ if $allpic ; then else echo "STATIC_LIBS_ARE_PIC :=" fi +if $usensss ; then + echo "LIBNSSS := -lnsss" + echo "MAYBEPTHREAD_LIB := -lpthread" +else + echo "LIBNSSS :=" + echo "MAYBEPTHREAD_LIB :=" +fi if test -n $ssl ; then echo "SSL_IMPL := $ssl" else diff --git a/doc/upgrade.html b/doc/upgrade.html index d32b68e..2206c0c 100644 --- a/doc/upgrade.html +++ b/doc/upgrade.html @@ -21,6 +21,7 @@

in 2.3.0.3