Subject: what operating systems need security/openssh/MESSAGE.urandom?
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 02/03/2004 20:30:40
What operating systems need security/openssh/MESSAGE.urandom?

That MESSAGE is probably only for NetBSD. Maybe MESSAGE.NetBSD should be
used, but then maybe that is not true for old NetBSD kernels?

Maybe something like:

.if exists(/dev/urandom)
.  if ${OPSYS} == "NetBSD"
MESSAGE_SRC+=           ${.CURDIR}/MESSAGE.urandom
.  endif
.else
CONFIGURE_ARGS+=        --without-random
CONFS+=                 ssh_prng_cmds
PLIST_SRC+=             ${.CURDIR}/PLIST.prng
.endif

The +DISPLAY would be confusing to Linux and maybe other users.

   Jeremy C. Reed
   http://www.reedmedia.net/