Package: claws-mail
Version: 3.7.9-1
Tags: upstream
User: [email protected]
Usertags: gnutls3
This package links against libgcrypt. Afaict the only gcrypt related
code is this one:
---------------------------
ssl.c:
#include <gcrypt.h>
GCRY_THREAD_OPTION_PTHREAD_IMPL;
[...]
void ssl_init(void)
{
gcry_control (GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread);
---------------------------
Starting with gnutls version 2.12. this should not be necessary
anymore. Quoting its NEWS:
------------------------------
** libgnutls: Added gnutls_global_set_mutex() to allow setting
alternative locking procedures. By default the system available
locking is used. In *NIX pthreads are used and in windows the
critical section API. This follows a different approach than the
previous versions that depended on libgcrypt initialization. The
locks are now set by default in systems that support it. Programs
that used gcry_control() to set thread locks should insert it into
a block of
#if GNUTLS_VERSION_NUMBER <= 0x020b00
gcry_control(...)
#endif
------------------------------
Of course the configure script will also need to changed to only
search for and link against gcrypt if gnutls is << 2.12.
claws-mail currently FTBFS against gnutls 3.0.0 (available in
experimental because it requires libgcrypt-dev without build-depending
on it. This change should fix this issue. Please test.
gnutls 3.0.0 uses nettle instead of gcrypt as crypto backend and
therefore does not depend on libgcrypt11-dev anymore.
cu Andreas
--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]