summaryrefslogtreecommitdiff
path: root/security/openssh
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2004-05-21 23:00:23 +0000
committerreed <reed@pkgsrc.org>2004-05-21 23:00:23 +0000
commit8716948130502001ac3c1101bd3886aca3509f16 (patch)
tree72931074a447f0999e418b388f94534b74669de2 /security/openssh
parentf5912042a6d728e264814b225638d6c75d22be24 (diff)
downloadpkgsrc-8716948130502001ac3c1101bd3886aca3509f16.tar.gz
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 (limited to 'security/openssh')
-rw-r--r--security/openssh/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/security/openssh/Makefile b/security/openssh/Makefile
index ab1bea3b4f6..747feab6826 100644
--- a/security/openssh/Makefile
+++ b/security/openssh/Makefile
@@ -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 @@ CONFS= ssh_config sshd_config
SUPPS= moduli
.if exists(/dev/urandom)
+. if ${OPSYS} == "NetBSD"
MESSAGE_SRC+= ${.CURDIR}/MESSAGE.urandom
+. endif
.else
CONFIGURE_ARGS+= --without-random
CONFS+= ssh_prng_cmds