diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2020-02-12 21:51:35 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2020-02-13 08:59:47 +0100 |
commit | a2163e3ab2d184702eeb1c4f7c0c9bed6d178206 (patch) | |
tree | f2bc5e607a5a92c23f502974839e319aaf3d18b2 /source/n | |
parent | 6a63f41b3b49b8f8f86b40166b782d907ccb2538 (diff) | |
download | current-a2163e3ab2d184702eeb1c4f7c0c9bed6d178206.tar.gz |
Wed Feb 12 21:51:35 UTC 202020200212215135
a/aaa_terminfo-6.2-x86_64-1.txz: Upgraded.
d/git-2.25.0-x86_64-2.txz: Rebuilt.
Fixed uncompressed Git.3pm man page. Thanks to Xsane.
d/gnucobol-2.2-x86_64-3.txz: Rebuilt.
Fixed uncompressed man pages. Thanks to Xsane.
l/libarchive-3.4.2-x86_64-1.txz: Upgraded.
This update includes security fixes in the RAR5 reader.
(* Security fix *)
l/ncurses-6.2-x86_64-1.txz: Upgraded.
l/sdl-1.2.15-x86_64-8.txz: Rebuilt.
Added SDL_sound-1.0.3.
n/ModemManager-1.12.6-x86_64-1.txz: Upgraded.
n/NetworkManager-1.22.6-x86_64-2.txz: Rebuilt.
Fixed hardlinked/uncompressed man pages. Thanks to Xsane.
n/dovecot-2.3.9.3-x86_64-1.txz: Upgraded.
testing/packages/PAM/dovecot-2.3.9.3-x86_64-1_pam.txz: Upgraded.
Fixed missing /etc/pam.d/dovecot.
Diffstat (limited to 'source/n')
-rwxr-xr-x | source/n/NetworkManager/NetworkManager.SlackBuild | 6 | ||||
-rw-r--r-- | source/n/dovecot/doinst.sh | 4 | ||||
-rwxr-xr-x | source/n/dovecot/dovecot.SlackBuild | 7 | ||||
-rw-r--r-- | source/n/dovecot/dovecot.pam | 5 |
4 files changed, 19 insertions, 3 deletions
diff --git a/source/n/NetworkManager/NetworkManager.SlackBuild b/source/n/NetworkManager/NetworkManager.SlackBuild index 7aa2d919..5701e2fa 100755 --- a/source/n/NetworkManager/NetworkManager.SlackBuild +++ b/source/n/NetworkManager/NetworkManager.SlackBuild @@ -1,7 +1,7 @@ #!/bin/bash # Copyright 2010, 2011, 2014, 2016 Robby Workman, Northport, Alabama, USA -# Copyright 2013, 2014, 2015, 2016, 2018 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2013, 2014, 2015, 2016, 2018, 2020 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=NetworkManager VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} # Automatically determine the architecture we're building on: MARCH=$( uname -m ) @@ -150,6 +150,8 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ ln -sf nmtui.1 nmtui-connect.1 ln -sf nmtui.1 nmtui-edit.1 ln -sf nmtui.1 nmtui-hostname.1 + cd ../man5 + ln -sf NetworkManager.conf.5 nm-system-settings.conf.5 ) find $PKG/usr/man -type f -exec gzip -9 {} \+ diff --git a/source/n/dovecot/doinst.sh b/source/n/dovecot/doinst.sh index dc2d5700..17a37837 100644 --- a/source/n/dovecot/doinst.sh +++ b/source/n/dovecot/doinst.sh @@ -28,6 +28,10 @@ for file in etc/dovecot/*.conf.new etc/dovecot/*.ext.new etc/dovecot/conf.d/*.co config $file done +if [ -r etc/pam.d/dovecot.new ]; then + config etc/pam.d/dovecot.new +fi + # Make sure that the dovecot user/group (UID 94, GID 94), and the # postdrop user/group (UID 65, GID 95) exist on this system: if ! grep -q "^dovecot:" etc/passwd ; then diff --git a/source/n/dovecot/dovecot.SlackBuild b/source/n/dovecot/dovecot.SlackBuild index ac457aa7..f05b11e1 100755 --- a/source/n/dovecot/dovecot.SlackBuild +++ b/source/n/dovecot/dovecot.SlackBuild @@ -2,7 +2,7 @@ # Copyright 2006, 2010 Alan Hicks, Lizella, GA # Copyright 2013, 2014, 2015, 2016, 2017 Mario Preksavec, Zagreb, Croatia -# Copyright 2017, 2018, 2019 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2017, 2018, 2019, 2020 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -96,6 +96,11 @@ cd $PKGNAM-$VERSION || exit 1 if [ ! -L /lib${LIBDIRSUFFIX}/libpam.so.? ]; then # no PAM # Ship config set up for authentication from /etc/passwd and /etc/shadow. zcat $CWD/dovecot.default.shadow.auth.diff.gz | patch -p1 --verbose || exit 1 +else # Yes, we have PAM: + mkdir -p $PKG/etc/pam.d + cp -a $CWD/dovecot.pam $PKG/etc/pam.d/dovecot.new + chown root:root $PKG/etc/pam.d/dovecot.new + chmod 644 $PKG/etc/pam.d/dovecot.new fi # Since this package installs working config files in /etc/dovecot, there isn't diff --git a/source/n/dovecot/dovecot.pam b/source/n/dovecot/dovecot.pam new file mode 100644 index 00000000..ccb91053 --- /dev/null +++ b/source/n/dovecot/dovecot.pam @@ -0,0 +1,5 @@ +#%PAM-1.0 +auth required pam_nologin.so +auth include system-auth +account include system-auth +session include system-auth |