summaryrefslogtreecommitdiffstats
path: root/source/n/dovecot
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2020-03-19 01:45:30 +0000
committer Eric Hameleers <alien@slackware.com>2020-03-19 08:59:27 +0100
commit9e2e1c45f763349b9e37c5786147a9edf97f9e2d (patch)
treea17267a829ac19ea8a8403a47d8e9d6c25f72e27 /source/n/dovecot
parent89ee2f977872d767227c47aae6e94d01038bb9a0 (diff)
downloadcurrent-9e2e1c45f763349b9e37c5786147a9edf97f9e2d.tar.gz
current-9e2e1c45f763349b9e37c5786147a9edf97f9e2d.tar.xz
Thu Mar 19 01:45:30 UTC 202020200319014530
Don't bother with 5.4.26 folks, just wait for the next one. Trust me. a/tcsh-6.22.02-x86_64-2.txz: Rebuilt. Fixed merging history from multiple shells. Thanks to jmccue. a/xz-5.2.5-x86_64-1.txz: Upgraded. d/git-2.25.2-x86_64-1.txz: Upgraded. l/glibmm-2.64.1-x86_64-1.txz: Upgraded. n/bind-9.16.1-x86_64-1.txz: Upgraded. n/dovecot-2.3.10-x86_64-2.txz: Rebuilt. x/libinput-1.15.4-x86_64-1.txz: Upgraded. x/mesa-20.0.2-x86_64-1.txz: Upgraded. testing/packages/PAM/dovecot-2.3.10-x86_64-2_pam.txz: Rebuilt. Recompiled using --with-pam. Thanks to HQuest.
Diffstat (limited to 'source/n/dovecot')
-rwxr-xr-xsource/n/dovecot/dovecot.SlackBuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/n/dovecot/dovecot.SlackBuild b/source/n/dovecot/dovecot.SlackBuild
index f05b11e1a..7993a195e 100755
--- a/source/n/dovecot/dovecot.SlackBuild
+++ b/source/n/dovecot/dovecot.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=dovecot
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -96,11 +96,13 @@ 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
+ PAM_OPTIONS="--without-pam"
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
+ PAM_OPTIONS="--with-pam"
fi
# Since this package installs working config files in /etc/dovecot, there isn't
@@ -126,7 +128,7 @@ LDFLAGS="-ldl" \
--docdir=/usr/doc/$PKGNAM-$VERSION \
--mandir=/usr/man \
--with-notify=inotify \
- --without-pam \
+ $PAM_OPTIONS \
--with-ldap=plugin \
--with-lucene \
--with-mysql \