summaryrefslogtreecommitdiffstats
path: root/source/n
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2020-11-30 20:03:36 +0000
committer Eric Hameleers <alien@slackware.com>2020-12-01 08:59:51 +0100
commit153bd14cd07b76eca2248eb2224a5038969c474d (patch)
tree52ef4ffc8ba46b0fee1b9abf2cfbc63ca65c79ec /source/n
parentec5f74cb449f4175c028cd8bca5592d7672b2e0c (diff)
downloadcurrent-153bd14cd07b76eca2248eb2224a5038969c474d.tar.gz
current-153bd14cd07b76eca2248eb2224a5038969c474d.tar.xz
Mon Nov 30 20:03:36 UTC 202020201130200336
a/kernel-firmware-20201130_7455a36-noarch-1.txz: Upgraded. ap/sudo-1.9.4-x86_64-1.txz: Upgraded. d/python-pip-20.3-x86_64-1.txz: Upgraded. d/rinutils-0.8.0-x86_64-1.txz: Upgraded. l/imagemagick-7.0.10_45-x86_64-1.txz: Upgraded. n/cyrus-sasl-2.1.27-x86_64-5.txz: Rebuilt. rc.saslauthd: start with -a pam -c Rebuilt with --with-ldap and include LDAP_SASLAUTHD documentation. Thanks to voegelas.
Diffstat (limited to 'source/n')
-rwxr-xr-xsource/n/cyrus-sasl/cyrus-sasl.SlackBuild6
-rw-r--r--source/n/cyrus-sasl/rc.saslauthd6
2 files changed, 6 insertions, 6 deletions
diff --git a/source/n/cyrus-sasl/cyrus-sasl.SlackBuild b/source/n/cyrus-sasl/cyrus-sasl.SlackBuild
index 8b355e00b..4bb362058 100755
--- a/source/n/cyrus-sasl/cyrus-sasl.SlackBuild
+++ b/source/n/cyrus-sasl/cyrus-sasl.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=cyrus-sasl
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | cut -f 3- -d - | rev | cut -f 3- -d . | rev)}
-BUILD=${BUILD:-4}
+BUILD=${BUILD:-5}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -86,7 +86,7 @@ CFLAGS="$SLKCFLAGS" \
--enable-login \
--enable-sql \
--disable-anon \
- --without-ldap \
+ --with-ldap \
--without-pgsql \
--with-saslauthd \
--with-mysql=/usr \
@@ -124,6 +124,7 @@ gzip -9 $PKG/usr/man/man?/*.?
mkdir -p $PKG/usr/doc/cyrus-sasl-$VERSION
cp -a \
AUTHORS COPYING* INSTALL NEWS README* \
+ saslauthd/LDAP_SASLAUTHD \
doc \
$PKG/usr/doc/cyrus-sasl-$VERSION
find $PKG/usr/doc/cyrus-sasl-$VERSION -type f -exec chmod 644 {} \+
@@ -135,4 +136,3 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
makepkg -l y -c n $TMP/cyrus-sasl-$(echo $VERSION | tr - _)-$ARCH-$BUILD.txz
-
diff --git a/source/n/cyrus-sasl/rc.saslauthd b/source/n/cyrus-sasl/rc.saslauthd
index 8a01ac65e..0e03710d5 100644
--- a/source/n/cyrus-sasl/rc.saslauthd
+++ b/source/n/cyrus-sasl/rc.saslauthd
@@ -14,9 +14,9 @@
saslauthd_start() {
# If saslauthd is not running, start it:
if [ ! -r /var/state/saslauthd/saslauthd.pid ]; then
- # Use shadow authentication by default on Slackware:
- echo "Starting SASL authentication daemon: /usr/sbin/saslauthd -a shadow"
- /usr/sbin/saslauthd -a shadow
+ # Use PAM authentication with credential caching:
+ echo "Starting SASL authentication daemon: /usr/sbin/saslauthd -a pam -c"
+ /usr/sbin/saslauthd -a pam -c
fi
}