summaryrefslogtreecommitdiff
path: root/security/openssh/pkg/REQ
diff options
context:
space:
mode:
Diffstat (limited to 'security/openssh/pkg/REQ')
-rw-r--r--security/openssh/pkg/REQ17
1 files changed, 12 insertions, 5 deletions
diff --git a/security/openssh/pkg/REQ b/security/openssh/pkg/REQ
index 421069641cc..91205d56cd6 100644
--- a/security/openssh/pkg/REQ
+++ b/security/openssh/pkg/REQ
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: REQ,v 1.1 2000/01/27 17:13:02 hubertf Exp $
+# $NetBSD: REQ,v 1.2 2000/07/25 07:29:44 jlam Exp $
#
PKG=$1
@@ -11,11 +11,18 @@ then
exit 0
fi
-if ! dd if=/dev/urandom of=/dev/null bs=1 count=1 2>/dev/null >/dev/null ;
+if ! dd if=/dev/urandom of=/dev/null bs=1 count=1 2>/dev/null >/dev/null
then
- echo ""
- echo "Need working /dev/urandom for this package to work!"
- echo ""
+ cat << EOF
+===========================================================================
+You need a working /dev/urandom for ${PKG} to work.
+
+Please make sure you have a kernel compiled from a config file
+containing the line:
+
+ pseudo-device rnd
+===========================================================================
+EOF
exit 1
fi