diff options
author | jlam <jlam@pkgsrc.org> | 2000-07-25 07:29:44 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2000-07-25 07:29:44 +0000 |
commit | cba5a6b2b18a4159ae5648f9bc8e87fc332c1da0 (patch) | |
tree | 5ae88f2c2c0b5d41347a66087066e644a93c8de1 /security | |
parent | a2c8743a063ede4fe682f338247ca69964d8fc9a (diff) | |
download | pkgsrc-cba5a6b2b18a4159ae5648f9bc8e87fc332c1da0.tar.gz |
Address concern raised in pkg/10268, part 3, by telling user how to get
a working /dev/urandom if it's found not to work.
Diffstat (limited to 'security')
-rw-r--r-- | security/openssh/pkg/REQ | 17 |
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 |