summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2021-12-31 19:44:41 +0000
committer Eric Hameleers <alien@slackware.com>2022-01-01 08:59:55 +0100
commita4a4d64170ecf6bf20bb90def93307aa8ebe18c6 (patch)
treece70117a4c33d56ecfb8422f40f7de27add397cc /source
parent3c6da4cd19eebc0665a762b930b092b0f99909d4 (diff)
downloadcurrent-a4a4d64170ecf6bf20bb90def93307aa8ebe18c6.tar.gz
current-a4a4d64170ecf6bf20bb90def93307aa8ebe18c6.tar.xz
Fri Dec 31 19:44:41 UTC 202120211231194441
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.
Diffstat (limited to 'source')
-rw-r--r--source/n/yptools/yp.default6
-rwxr-xr-xsource/n/yptools/yptools.SlackBuild10
2 files changed, 12 insertions, 4 deletions
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