diff --git a/cyrus-sasl-bdb.spec b/cyrus-sasl-bdb.spec index 0d3b7ee..76f14b3 100644 --- a/cyrus-sasl-bdb.spec +++ b/cyrus-sasl-bdb.spec @@ -1,7 +1,7 @@ # # spec file for package cyrus-sasl-bdb # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/cyrus-sasl-saslauthd-bdb.spec b/cyrus-sasl-saslauthd-bdb.spec index f50029a..96f2d5b 100644 --- a/cyrus-sasl-saslauthd-bdb.spec +++ b/cyrus-sasl-saslauthd-bdb.spec @@ -1,7 +1,7 @@ # # spec file for package cyrus-sasl-saslauthd-bdb # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/cyrus-sasl-saslauthd.spec b/cyrus-sasl-saslauthd.spec index 74f7845..62d81a2 100644 --- a/cyrus-sasl-saslauthd.spec +++ b/cyrus-sasl-saslauthd.spec @@ -1,7 +1,7 @@ # # spec file for package cyrus-sasl-saslauthd # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/cyrus-sasl.changes b/cyrus-sasl.changes index f97c315..416cac6 100644 --- a/cyrus-sasl.changes +++ b/cyrus-sasl.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Jan 13 14:58:15 UTC 2022 - Peter Varkoly + +- postfix: sasl authentication with password fails (bsc#1194265) + Add config parameter --with-dblib=gdbm +- Avoid converting of /etc/sasldb2 by every update. Convert + /etc/sasldb2 only if it is a Berkeley DB + ------------------------------------------------------------------- Fri Jan 8 11:32:42 UTC 2021 - Peter Varkoly diff --git a/cyrus-sasl.spec b/cyrus-sasl.spec index e0dcc24..2bb00b5 100644 --- a/cyrus-sasl.spec +++ b/cyrus-sasl.spec @@ -1,7 +1,7 @@ # # spec file for package cyrus-sasl # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -189,6 +189,7 @@ export CFLAGS="%optflags -fno-strict-aliasing" --with-plugindir=%{_libdir}/sasl2 \ --with-configdir=/etc/sasl2/:%{_libdir}/sasl2 \ --with-saslauthd=/run/sasl2/ \ + --with-dblib=gdbm \ --enable-pam \ --enable-sample \ --enable-login \ @@ -216,7 +217,7 @@ find "%buildroot" -type f -name "*.la" -print -delete %pre #Convert password file from berkely into gdbm #In %pre the existing file will be dumped out -if [ -e /etc/sasldb2 ]; then +if /usr/bin/db_verify /etc/sasldb2 &> /dev/null ; then cat < /var/adm/update-scripts/saslpw.awk { split(\$0,b,/\\\00/)