2 messages in net.sourceforge.lists.courier-users[courier-users] --with-random problem...
FromSent OnAttachments
William HueAug 7, 2001 10:10 am 
Sam VarshavchikAug 7, 2001 2:58 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] --with-random problem in some configure scriptsActions...
From:William Hue (will@telus.net)
Date:Aug 7, 2001 10:10:17 am
List:net.sourceforge.lists.courier-users

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"

---

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"

---

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