summaryrefslogtreecommitdiff
path: root/security/openssh
diff options
context:
space:
mode:
authorreed <reed>2004-05-21 23:00:23 +0000
committerreed <reed>2004-05-21 23:00:23 +0000
commit9ff30254fdc368a731d0eb0cd4455c2afb3332e2 (patch)
tree72931074a447f0999e418b388f94534b74669de2 /security/openssh
parenta03afed982aabf7bba8bcaad434ab06f3829531d (diff)
downloadpkgsrc-9ff30254fdc368a731d0eb0cd4455c2afb3332e2.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