summaryrefslogtreecommitdiff
path: root/source/n
diff options
context:
space:
mode:
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 8b355e00..4bb36205 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 8a01ac65..0e03710d 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
}