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
commita6877657ccd753fe71a89ac1ae735801d0abde23 (patch)
tree72931074a447f0999e418b388f94534b74669de2 /security/openssh
parentec087dd4e3053a9f9f87580fca6fba1cfbd42590 (diff)
downloadpkgsrc-a6877657ccd753fe71a89ac1ae735801d0abde23.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