pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/openssh Only use the NetBSD-specific MESSAGE....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b21124ccbcaf
branches:  trunk
changeset: 475624:b21124ccbcaf
user:      reed <reed%pkgsrc.org@localhost>
date:      Fri May 21 23:00:23 2004 +0000

description:
Only use the NetBSD-specific MESSAGE.urandom for NetBSD.

It says to use "pseudo-device   rnd" kernel configuration.

TODO: if the above instructions are fine for other
operating systems with /dev/urandom then add.

diffstat:

 security/openssh/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 9686e2c10422 -r b21124ccbcaf security/openssh/Makefile
--- a/security/openssh/Makefile Fri May 21 22:54:43 2004 +0000
+++ b/security/openssh/Makefile Fri May 21 23:00:23 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.138 2004/05/21 22:54:43 reed Exp $
+# $NetBSD: Makefile,v 1.139 2004/05/21 23:00:23 reed Exp $
 
 DISTNAME=              openssh-3.8.1p1
 PKGNAME=               openssh-3.8.1.1
@@ -112,7 +112,9 @@
 SUPPS=                 moduli
 
 .if exists(/dev/urandom)
+.  if ${OPSYS} == "NetBSD"
 MESSAGE_SRC+=          ${.CURDIR}/MESSAGE.urandom
+.  endif
 .else
 CONFIGURE_ARGS+=       --without-random
 CONFS+=                        ssh_prng_cmds



Home | Main Index | Thread Index | Old Index