> On 22/02/2023 07:48 EET James Brown <jlbrown at bordo.com.au> wrote:
>
>
> > On 22 Feb 2023, at 4:14 pm, Aki Tuomi <aki.tuomi at
open-xchange.com> wrote:
> >
> >
> > > I?ve spent ages on this and am getting really desperate! :-(
> > >
> > > CPPFLAGS=-I/opt/homebrew/Cellar/openssl at 3/3.0.8/include
LDFLAGS=-L/opt/homebrew/opt/openssl at 3/lib ./configure --with-ssl=openssl
--with-mysql
> > > ...
> > > Install prefix . : /usr/local
> > > File offsets ... : 64bit
> > > I/O polling .... : kqueue
> > > I/O notifys .... : kqueue
> > > SSL ............ : yes (OpenSSL)
> > > GSSAPI ......... : no
> > > passdbs ........ : static passwd passwd-file pam checkpassword
sql
> > > : -shadow -bsdauth -ldap
> > > userdbs ........ : static prefetch passwd passwd-file
checkpassword sql
> > >
> > > sudo doveadm pw -l
> > > SHA1 SSHA512 SCRAM-SHA-256 BLF-CRYPT PLAIN HMAC-MD5 OTP SHA512
SHA DES-CRYPT CRYPT SSHA MD5-CRYPT PLAIN-MD4 PLAIN-MD5 SCRAM-SHA-1 CLEAR
CLEARTEXT SSHA256 MD5 PBKDF2 SHA256 CRAM-MD5 PLAIN-TRUNC SMD5 DIGEST-MD5
LDAP-MD5
> > >
> > > How do I get ARGON2I, ARGON2ID in that list?
> > >
> > > Has anybody got Dovecot to work on recent macOS with these
password schemes? Any hints?
> > >
> > > Thanks, James.
> >
> > You need to use --with-sodium when building.
> >
> > Aki
>
> Thanks Aki, that was helpful. When I add that I get:
>
> checking for LIBSODIUM... no
> configure: error: Can't build with libsodium: not found
>
> So I have to tell it where libsodium is.
>
> Tried:
>
> CPPFLAGS=-I/opt/homebrew/Cellar/openssl at 3/3.0.8/include
LDFLAGS=-L/opt/homebrew/opt/openssl at 3/lib
LIBSODIUM_LIBS=-L/opt/homebrew/Cellar/libsodium ./configure --with-ssl=openssl
--with-mysql ?with-sodium
>
>
> But that gives:
>
> configure: WARNING: Libtool does not cope well with whitespace in `pwd`
> checking build system type... Invalid configuration `?-with-sodium':
machine `?-with' not recognized
>
> Location of libsodium:
>
> % locate libsodium
> /opt/homebrew/Cellar/libsodium
> /opt/homebrew/Cellar/libsodium/1.0.18_1
> /opt/homebrew/Cellar/libsodium/1.0.18_1/.brew
> /opt/homebrew/Cellar/libsodium/1.0.18_1/.brew/libsodium.rb
> /opt/homebrew/Cellar/libsodium/1.0.18_1/AUTHORS
> /opt/homebrew/Cellar/libsodium/1.0.18_1/ChangeLog
> /opt/homebrew/Cellar/libsodium/1.0.18_1/INSTALL_RECEIPT.json
> /opt/homebrew/Cellar/libsodium/1.0.18_1/LICENSE
> /opt/homebrew/Cellar/libsodium/1.0.18_1/README.markdown
> /opt/homebrew/Cellar/libsodium/1.0.18_1/include
> /opt/homebrew/Cellar/libsodium/1.0.18_1/include/sodium
> /opt/homebrew/Cellar/libsodium/1.0.18_1/include/sodium/core.h
>
/opt/homebrew/Cellar/libsodium/1.0.18_1/include/sodium/crypto_aead_aes256gcm.h
> ...
> /opt/homebrew/Cellar/libsodium/1.0.18_1/include/sodium/utils.h
> /opt/homebrew/Cellar/libsodium/1.0.18_1/include/sodium/version.h
> /opt/homebrew/Cellar/libsodium/1.0.18_1/include/sodium.h
> /opt/homebrew/Cellar/libsodium/1.0.18_1/lib
> /opt/homebrew/Cellar/libsodium/1.0.18_1/lib/libsodium.23.dylib
> /opt/homebrew/Cellar/libsodium/1.0.18_1/lib/libsodium.a
> /opt/homebrew/Cellar/libsodium/1.0.18_1/lib/libsodium.dylib
> /opt/homebrew/Cellar/libsodium/1.0.18_1/lib/pkgconfig
> /opt/homebrew/Cellar/libsodium/1.0.18_1/lib/pkgconfig/libsodium.pc
> /opt/homebrew/lib/libsodium.23.dylib
> /opt/homebrew/lib/libsodium.a
> /opt/homebrew/lib/libsodium.dylib
> /opt/homebrew/lib/pkgconfig/libsodium.pc
> /opt/homebrew/opt/libsodium
> /opt/homebrew/var/homebrew/linked/libsodium
>
> What do I need to use to stop the:Can't build with libsodium: not found
>
> Sorry these are such stupid questions.
>
> James.
You accidentically used a UTF-8 special dash instead of two normal dashes.
Aki