From a4a4d64170ecf6bf20bb90def93307aa8ebe18c6 Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Fri, 31 Dec 2021 19:44:41 +0000 Subject: Fri Dec 31 19:44:41 UTC 2021 a/e2fsprogs-1.46.5-x86_64-1.txz: Upgraded. ap/sqlite-3.37.1-x86_64-1.txz: Upgraded. n/mutt-2.1.5-x86_64-1.txz: Upgraded. n/yptools-4.2.3-x86_64-4.txz: Rebuilt. Added /usr/sbin/yp_dump_binding and /usr/sbin/yptest. Add a hint about adding "nis" in /etc/pam.d/system-auth to /etc/default/yp. --- source/n/yptools/yp.default | 6 ++++++ source/n/yptools/yptools.SlackBuild | 10 ++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) (limited to 'source/n') diff --git a/source/n/yptools/yp.default b/source/n/yptools/yp.default index 539d77532..2cc14d3d3 100644 --- a/source/n/yptools/yp.default +++ b/source/n/yptools/yp.default @@ -1,6 +1,12 @@ # This file can be used to tweak the way YP (NIS) services # are started. # +# IMPORTANT HINT: In order to get NIS clients to function on PAM, you will +# need to find this line in /etc/pam.d/system-auth: +# password sufficient pam_unix.so nullok sha512 shadow minlen=6 try_first_pass use_authtok +# and change it adding nis to the end like this: +# password sufficient pam_unix.so nullok sha512 shadow minlen=6 try_first_pass use_authtok nis +# # Optional arguments to pass ypserv upon startup: #YPSERV_OPTS="" # diff --git a/source/n/yptools/yptools.SlackBuild b/source/n/yptools/yptools.SlackBuild index f357f5be5..8b4765507 100755 --- a/source/n/yptools/yptools.SlackBuild +++ b/source/n/yptools/yptools.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2016, 2017, 2018, 2020 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2016, 2017, 2018, 2020, 2021 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) # Package version number: PKGNAM=yptools VERSION=4.2.3 -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} YPTOOLS=$VERSION YPBINDMT=2.7.2 @@ -108,7 +108,7 @@ mkdir -p $PKG/usr/share/locale/de/LC_MESSAGES cat po/de.gmo > $PKG/usr/share/locale/de/LC_MESSAGES/yp-tools.mo cd src mkdir -p $PKG/usr/bin -cat ypcat > $PKG/usr/bin/ypcat +ocat ypcat > $PKG/usr/bin/ypcat cat ypmatch > $PKG/usr/bin/ypmatch cat yppasswd > $PKG/usr/bin/yppasswd cat ypwhich > $PKG/usr/bin/ypwhich @@ -119,10 +119,12 @@ cat ypwhich > $PKG/usr/bin/ypwhich ln -sf yppasswd ypchfn ln -sf yppasswd ypchsh ) mkdir -p $PKG/usr/sbin +cat yp_dump_binding > $PKG/usr/sbin/yp_dump_binding cat yppoll > $PKG/usr/sbin/yppoll cat ypset > $PKG/usr/sbin/ypset +cat yptest > $PKG/usr/sbin/yptest ( cd $PKG/usr/sbin - chmod 755 yppoll ypset ) + chmod 755 yp_dump_binding yppoll ypset yptest ) cd ../man mkdir -p $PKG/usr/man/man{1,5,8} cat nicknames.5 | gzip -9c > $PKG/usr/man/man5/nicknames.5.gz -- cgit v1.2.3-65-gdbad