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"'

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

mercurial