summaryrefslogtreecommitdiff
path: root/security/openssh/pkg
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-01-10 15:10:59 +0000
committertron <tron@pkgsrc.org>2001-01-10 15:10:59 +0000
commit17e236023da264f0ba4589368ed5a59336d8d42c (patch)
tree89dac1aabc2c568cc8c6d463f2c4e96867919c64 /security/openssh/pkg
parentd2a265656a6baee6b1e9b265eb89ff84fb85e95c (diff)
downloadpkgsrc-17e236023da264f0ba4589368ed5a59336d8d42c.tar.gz
Don't check for "/dev/urandom" under Solaris.
Diffstat (limited to 'security/openssh/pkg')
-rw-r--r--security/openssh/pkg/INSTALL11
1 files changed, 7 insertions, 4 deletions
diff --git a/security/openssh/pkg/INSTALL b/security/openssh/pkg/INSTALL
index 3586cf3d142..00cc2b9b35d 100644
--- a/security/openssh/pkg/INSTALL
+++ b/security/openssh/pkg/INSTALL
@@ -1,15 +1,17 @@
#!/bin/sh
#
-# $NetBSD: INSTALL,v 1.2 2000/12/08 08:52:36 wiz Exp $
+# $NetBSD: INSTALL,v 1.3 2001/01/10 15:11:00 tron Exp $
PKGNAME=$1
STAGE=$2
case ${STAGE} in
PRE-INSTALL)
- if ! dd if=/dev/urandom of=/dev/null bs=1 count=1 2>/dev/null >/dev/null
+ if [ "@OPSYS@" != "SunOS" ]
then
- cat << EOF
+ if ! dd if=/dev/urandom of=/dev/null bs=1 count=1 2>/dev/null >/dev/null
+ then
+ cat << EOF
===========================================================================
You need a working /dev/urandom for ${PKGNAME} to work.
@@ -19,7 +21,8 @@ containing the line:
pseudo-device rnd
===========================================================================
EOF
- exit 1
+ exit 1
+ fi
fi
;;
POST-INSTALL)