summaryrefslogtreecommitdiff
path: root/source/a/shadow/shadow.SlackBuild
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2020-01-27 00:48:51 +0000
committerEric Hameleers <alien@slackware.com>2020-01-27 08:59:48 +0100
commit5b3e6348dd921536295352bf3d67679c14c39087 (patch)
tree9befb67346877e293b5ee06c0299d469bd2918b2 /source/a/shadow/shadow.SlackBuild
parentd2819b80a087624588330565e96333d8c83ae9ba (diff)
downloadcurrent-5b3e6348dd921536295352bf3d67679c14c39087.tar.gz
Mon Jan 27 00:48:51 UTC 202020200127004851
a/aaa_elflibs-15.0-x86_64-21.txz: Rebuilt. Upgraded: libisl.so.22.0.1. Added: libkeyutils.so.1.9. a/kernel-generic-5.4.15-x86_64-1.txz: Upgraded. a/kernel-huge-5.4.15-x86_64-1.txz: Upgraded. a/kernel-modules-5.4.15-x86_64-1.txz: Upgraded. a/pciutils-3.6.4-x86_64-1.txz: Upgraded. a/shadow-4.8.1-x86_64-1.txz: Upgraded. d/check-0.14.0-x86_64-1.txz: Upgraded. d/kernel-headers-5.4.15-x86-1.txz: Upgraded. d/make-4.2.1-x86_64-5.txz: Rebuilt. Drop back to make-4.2.1 since make-4.3 is breaking a few builds. We'll revisit it later after sources have caught up to it or regressions have been patched upstream. d/python-pip-20.0.2-x86_64-1.txz: Upgraded. k/kernel-source-5.4.15-noarch-1.txz: Upgraded. l/imagemagick-7.0.9_18-x86_64-1.txz: Upgraded. l/python-packaging-20.1-x86_64-1.txz: Upgraded. n/php-7.4.2-x86_64-3.txz: Rebuilt. php.ini: Added extension=gd and extension=zip. Thanks to avian. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'source/a/shadow/shadow.SlackBuild')
-rwxr-xr-xsource/a/shadow/shadow.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/a/shadow/shadow.SlackBuild b/source/a/shadow/shadow.SlackBuild
index d3fd6d14..4264a24d 100755
--- a/source/a/shadow/shadow.SlackBuild
+++ b/source/a/shadow/shadow.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=shadow
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -82,6 +82,11 @@ zcat $CWD/shadow.CVE-2005-4890.relax.diff.gz | patch -p1 --verbose || exit 1
# short version up to the first '.' on the login prompt:
zcat $CWD/shadow.login.display.short.hostname.diff.gz | patch -p1 --verbose || exit 1
+# Add missing file:
+if [ ! -r man/login.defs.d/HOME_MODE.xml ]; then
+ zcat $CWD/HOME_MODE.xml.gz > man/login.defs.d/HOME_MODE.xml
+fi
+
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \