Hi all,

This effectively reinstates what has been nuked[0] by the recent
import.

[0] 
https://cvsweb.openbsd.org/src/usr.sbin/bind/configure.diff?r1=1.15&r2=1.16&f=h

Regards,

Raf

Index: usr.sbin/bind/configure
===================================================================
RCS file: /cvs/src/usr.sbin/bind/configure,v
retrieving revision 1.30
diff -u -p -u -r1.30 configure
--- usr.sbin/bind/configure     7 Jan 2020 19:11:17 -0000       1.30
+++ usr.sbin/bind/configure     8 Jan 2020 21:42:29 -0000
@@ -14200,14 +14200,7 @@ case "$use_randomdev" in
 $as_echo "unspecified" >&6; }
                        as_fn_error $? " need --with-randomdev=PATH or 
--with-randomdev=no" "$LINENO" 5
                esac
-               case "$host" in
-                       *-openbsd*)
-                               devrandom=/dev/arandom
-                               ;;
-                       *)
-                               devrandom=/dev/random
-                               ;;
-               esac
+               devrandom=/dev/random
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $devrandom" >&5
 $as_echo "$devrandom" >&6; }
                as_ac_File=`$as_echo "ac_cv_file_$devrandom" | $as_tr_sh`
Index: usr.sbin/bind/configure.in
===================================================================
RCS file: /cvs/src/usr.sbin/bind/configure.in,v
retrieving revision 1.29
diff -u -p -u -r1.29 configure.in
--- usr.sbin/bind/configure.in  7 Jan 2020 19:11:17 -0000       1.29
+++ usr.sbin/bind/configure.in  8 Jan 2020 21:43:25 -0000
@@ -1061,14 +1061,7 @@ case "$use_randomdev" in
                        AC_MSG_RESULT(unspecified)
                        AC_MSG_ERROR([ need --with-randomdev=PATH or 
--with-randomdev=no])
                esac
-               case "$host" in
-                       *-openbsd*)
-                               devrandom=/dev/arandom
-                               ;;
-                       *)
-                               devrandom=/dev/random
-                               ;;
-               esac
+               devrandom=/dev/random
                AC_MSG_RESULT($devrandom)
                AC_CHECK_FILE($devrandom,
                              AC_DEFINE_UNQUOTED(PATH_RANDOMDEV,

Reply via email to