From 5b3e6348dd921536295352bf3d67679c14c39087 Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Mon, 27 Jan 2020 00:48:51 +0000 Subject: Mon Jan 27 00:48:51 UTC 2020 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. --- source/a/aaa_elflibs/aaa_elflibs.SlackBuild | 2 +- source/a/aaa_elflibs/symlinks-to-tracked-libs | 1 + source/a/shadow/HOME_MODE.xml | 43 +++++++++++++++++++++++++++ source/a/shadow/login.defs | 18 +++++++---- source/a/shadow/shadow.SlackBuild | 7 ++++- 5 files changed, 64 insertions(+), 7 deletions(-) create mode 100644 source/a/shadow/HOME_MODE.xml (limited to 'source/a') diff --git a/source/a/aaa_elflibs/aaa_elflibs.SlackBuild b/source/a/aaa_elflibs/aaa_elflibs.SlackBuild index 8df16ea1..7e7f2cd0 100755 --- a/source/a/aaa_elflibs/aaa_elflibs.SlackBuild +++ b/source/a/aaa_elflibs/aaa_elflibs.SlackBuild @@ -23,7 +23,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=aaa_elflibs VERSION=${VERSION:-15.0} -BUILD=${BUILD:-20} +BUILD=${BUILD:-21} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then diff --git a/source/a/aaa_elflibs/symlinks-to-tracked-libs b/source/a/aaa_elflibs/symlinks-to-tracked-libs index b8960c76..8b6d9b3a 100644 --- a/source/a/aaa_elflibs/symlinks-to-tracked-libs +++ b/source/a/aaa_elflibs/symlinks-to-tracked-libs @@ -11,6 +11,7 @@ /lib/libelf.so.1 /lib/libfuse.so.2 /lib/libgpm.so.2 +/lib/libkeyutils.so.1 /lib/libkrb5support.so.0 /lib/libkrb5.so.3 /lib/libk5crypto.so.3 diff --git a/source/a/shadow/HOME_MODE.xml b/source/a/shadow/HOME_MODE.xml new file mode 100644 index 00000000..c2926d31 --- /dev/null +++ b/source/a/shadow/HOME_MODE.xml @@ -0,0 +1,43 @@ + + + (number) + + + The mode for new home directories. If not specified, + the is used to create the mode. + + + useradd and newusers use this + to set the mode of the home directory they create. + + + diff --git a/source/a/shadow/login.defs b/source/a/shadow/login.defs index 0e137a35..022dd36f 100644 --- a/source/a/shadow/login.defs +++ b/source/a/shadow/login.defs @@ -190,14 +190,22 @@ ERASECHAR 0177 KILLCHAR 025 #ULIMIT 2097152 -# Default initial "umask" value. -# UMASK is also used by useradd and newusers to set the mode of new home -# directories. +# +# Default initial "umask" value used by login(1) on non-PAM enabled systems. +# Default "umask" value for pam_umask(8) on PAM enabled systems. +# UMASK is also used by useradd(8) and newusers(8) to set the mode for new +# home directories if HOME_MODE is not set. # 022 is the default value, but 027, or even 077, could be considered -# better for privacy. There is no One True Answer here: each sysadmin -# must make up her mind. +# for increased privacy. There is no One True Answer here: each sysadmin +# must make up their mind. UMASK 022 +# +# HOME_MODE is used by useradd(8) and newusers(8) to set the mode for new +# home directories. +# If HOME_MODE is not set, the value of UMASK is used to create the mode. +#HOME_MODE 0700 + # # Password aging controls: # 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 \) \ -- cgit v1.2.3