cryptlib/cryptlib.patch

Sat, 03 Oct 2009 16:18:52 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Oct 2009 16:18:52 +0200
changeset 220
a6cd892638c1
permissions
-rw-r--r--

Update version, adjust corresponding buildconf, and correct logic.
1: Make minor corrections and improvements to scripts patch logic.
2: Upgrade to most recent stable release version 3.0.2.
3: Force selection of a single db backend, as multiple ones never
were supported (changing 'with_db<end>' identifiers accordingly.)
4: Unfortunately add gawk requirement although only partly needed.
5: Add openssl::with_threads requirement to solve strange and hard
to debug problems on Solaris leading to connection failures:

'host-dir JobId 0: Error: openssl.c:86 Connect failure: ERR=error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number'

and

'host-dir JobId 40: Fatal error: TLS negotiation failed with FD at "back1.host.com:9102"'

michael@37 1 Index: random/unix.c
michael@37 2 --- random/unix.c.orig 2005-08-23 00:48:20 +0200
michael@37 3 +++ random/unix.c 2005-09-06 20:55:10 +0200
michael@37 4 @@ -24,6 +24,9 @@
michael@37 5 #include <stdio.h>
michael@37 6 #include <string.h>
michael@37 7 #include <time.h>
michael@37 8 +#ifdef __FreeBSD__
michael@37 9 +#include <pthread.h>
michael@37 10 +#endif
michael@37 11 #include "crypt.h"
michael@37 12
michael@37 13 /* Unix and Unix-like systems share the same makefile, make sure that the

mercurial