dovecot-2.1: configure: Removed OpenBSD /dev/arandom checking.
dovecot at dovecot.org
dovecot at dovecot.org
Wed Aug 22 17:42:13 EEST 2012
details: http://hg.dovecot.org/dovecot-2.1/rev/3765e8948f1c
changeset: 14676:3765e8948f1c
user: Timo Sirainen <tss at iki.fi>
date: Wed Aug 22 17:42:06 2012 +0300
description:
configure: Removed OpenBSD /dev/arandom checking.
Patch by Brad Smith
"The use of arandom was never a requirement for Dovecot and I had submitted
the use of arandom due to ports policy to do so anyway."
diffstat:
configure.in | 14 +++-----------
1 files changed, 3 insertions(+), 11 deletions(-)
diffs (28 lines):
diff -r c6fe6a77defd -r 3765e8948f1c configure.in
--- a/configure.in Wed Aug 22 15:17:53 2012 +0300
+++ b/configure.in Wed Aug 22 17:42:06 2012 +0300
@@ -951,21 +951,13 @@
AC_DEFINE_UNQUOTED(MEM_ALIGN_SIZE, $mem_align, Required memory alignment)
dnl * find random source
-AC_MSG_CHECKING([for OpenBSD /dev/arandom])
-if test -c /dev/arandom; then
+AC_MSG_CHECKING([for /dev/urandom])
+if test -c /dev/urandom || test -s /dev/urandom; then
AC_MSG_RESULT(yes)
- AC_DEFINE(DEV_URANDOM_PATH, "/dev/arandom", Path to /dev/urandom)
+ AC_DEFINE(DEV_URANDOM_PATH, "/dev/urandom", Path to /dev/urandom)
have_random_source=yes
else
AC_MSG_RESULT(no)
- AC_MSG_CHECKING([for /dev/urandom])
- if test -c /dev/urandom || test -s /dev/urandom; then
- AC_MSG_RESULT(yes)
- AC_DEFINE(DEV_URANDOM_PATH, "/dev/urandom", Path to /dev/urandom)
- have_random_source=yes
- else
- AC_MSG_RESULT(no)
- fi
fi
if test "$have_random_source" != "yes"; then
More information about the dovecot-cvs
mailing list