Hi,
I've been using Courier since 0.29.1, and in 0.35.0 I found that the
"--with-random=/name_of_random_device" option to the main
configure script wasn't putting /name_of_random_device into the build.
I checked the configure scripts in all subdirectories, and found that
the
following is needed:
random128/configure:
1829,1834c1829,1830
< # William fixed bug:
< # Original:
< # withval="$with_random"
< # random="$enableval"
< # Fixed:
< random="$with_random"
---
withval="$with_random"
random="$enableval"
1873d1868
< # William fixed bug: $random_cv_RANDOM should be $random
1875c1870
< #define RANDOM "$random"
---
#define RANDOM "$random_cv_RANDOM"
userdb/configure:
1939,1941d1938
< # William fixed bug:
< # withval="$with_random"
< # random="$enableval"
1981d1977
< # William fixed bug:
1983c1979
< #define RANDOM "$random"
---
#define RANDOM "$userdb_cv_RANDOM"
imap/configure:
1798,1806c1798
< # William added:
< # Check whether --with-random or --without-random was given.
< if test "${with_random+set}" = set; then
< RANDOMV="$with_random"
< else
< RANDOMV="/dev/random"
< fi
<
< #RANDOMV="/dev/random"
---
courier/module.esmtp/configure:
2788,2796c2788
< # William added:
< # Check whether --with-random or --without-random was given.
< if test "${with_random+set}" = set; then
< RANDOMV="$with_random"
< else
< RANDOMV="/dev/random"
< fi
<
< #RANDOMV="/dev/random"
---
I found this while trying an experimental /dev/my_random device
on my Sparc SunOS 5.8 system, but have since installed ANDIrand
( http://www.cosy.sbg.ac.at/~andi/SUNrand/pkg/ )
that emulates the "standard" /dev/random and /dev/urandom devices
found in other systems.
Cheers,
William