diff options
Diffstat (limited to 'patches')
-rw-r--r-- | patches/packages/util-linux-2.37.4-x86_64-2_slack15.0.txt (renamed from patches/packages/util-linux-2.37.4-x86_64-1_slack15.0.txt) | 0 | ||||
-rw-r--r-- | patches/source/util-linux/doinst.sh | 2 | ||||
-rwxr-xr-x | patches/source/util-linux/util-linux.SlackBuild | 10 |
3 files changed, 9 insertions, 3 deletions
diff --git a/patches/packages/util-linux-2.37.4-x86_64-1_slack15.0.txt b/patches/packages/util-linux-2.37.4-x86_64-2_slack15.0.txt index 7e4aa7b72..7e4aa7b72 100644 --- a/patches/packages/util-linux-2.37.4-x86_64-1_slack15.0.txt +++ b/patches/packages/util-linux-2.37.4-x86_64-2_slack15.0.txt diff --git a/patches/source/util-linux/doinst.sh b/patches/source/util-linux/doinst.sh index 8277c0e65..3d3ca6d2a 100644 --- a/patches/source/util-linux/doinst.sh +++ b/patches/source/util-linux/doinst.sh @@ -22,7 +22,7 @@ config etc/rc.d/rc.serial.new config etc/rc.d/rc.setterm.new config etc/serial.conf.new -for configfile in chfn.new chsh.new login.new runuser.new runuser-l.new su.new su-l.new ; do +for configfile in chfn.new chsh.new login.new remote.new runuser.new runuser-l.new su.new su-l.new ; do if [ -r etc/pam.d/$configfile ]; then config etc/pam.d/$configfile fi diff --git a/patches/source/util-linux/util-linux.SlackBuild b/patches/source/util-linux/util-linux.SlackBuild index 1564d4c19..114fd3490 100755 --- a/patches/source/util-linux/util-linux.SlackBuild +++ b/patches/source/util-linux/util-linux.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2008, 2009, 2010, 2011, 2012, 2013, 2015, 2017, 2018, 2020, 2021, 2022 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2008, 2009, 2010, 2011, 2012, 2013, 2015, 2017, 2018, 2020, 2021, 2022, 2023 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=util-linux VERSION=${VERSION:-$(echo util-linux*.tar.xz | cut -d - -f 3 | rev | cut -f 3- -d . | rev)} -BUILD=${BUILD:-1_slack15.0} +BUILD=${BUILD:-2_slack15.0} ADJTIMEXVERS=1.29 SETSERIALVERS=2.17 @@ -93,6 +93,12 @@ if [ -L /lib${LIBDIRSUFFIX}/libpam.so.? ]; then for file in $CWD/pam.d/* ; do cp -a ${file} $PKG/etc/pam.d/ done + # In case someone is using the '-h' option to /bin/login, we will require + # another copy of /etc/pam.d/login called /etc/pam.d/remote. Make this copy + # if it doesn't exist already: + if [ ! -r $PKG/etc/pam.d/remote ]; then + cp -a $PKG/etc/pam.d/login $PKG/etc/pam.d/remote + fi if [ "$SHIP_SU" = "YES" ]; then # Add su default file to ensure using ENV_SUPATH with 'su': mkdir -p $PKG/etc/default |