From 3540bc00c231b0ab2a4bb8d7356d4f072a656f40 Mon Sep 17 00:00:00 2001 From: maya Date: Thu, 19 Jan 2017 03:50:53 +0000 Subject: GC deprecated logic for openssh without /dev/urandom. This option is no longer supported by OpenSSH. --- security/openssh/MESSAGE.urandom | 8 -------- security/openssh/Makefile | 14 ++------------ security/openssh/PLIST | 4 +--- 3 files changed, 3 insertions(+), 23 deletions(-) delete mode 100644 security/openssh/MESSAGE.urandom diff --git a/security/openssh/MESSAGE.urandom b/security/openssh/MESSAGE.urandom deleted file mode 100644 index 52641980c96..00000000000 --- a/security/openssh/MESSAGE.urandom +++ /dev/null @@ -1,8 +0,0 @@ -=========================================================================== -$NetBSD: MESSAGE.urandom,v 1.1 2002/02/05 04:17:31 jlam Exp $ - -You will need a working /dev/urandom. Please make sure you have a kernel -compiled from a config file containing the line: - - pseudo-device rnd -=========================================================================== diff --git a/security/openssh/Makefile b/security/openssh/Makefile index 01e1a66e5f8..89688bfd712 100644 --- a/security/openssh/Makefile +++ b/security/openssh/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.250 2016/12/30 04:43:16 taca Exp $ +# $NetBSD: Makefile,v 1.251 2017/01/19 03:50:53 maya Exp $ DISTNAME= openssh-7.4p1 PKGNAME= ${DISTNAME:S/p1/.1/} @@ -143,17 +143,7 @@ CONFIGURE_ARGS+= --with-xauth=${PREFIX}/bin/xauth CONFS= ssh_config sshd_config moduli -PLIST_VARS+= darwin prng - -.if exists(/dev/urandom) -. if ${OPSYS} == "NetBSD" -MESSAGE_SRC+= ${.CURDIR}/MESSAGE.urandom -. endif -.else -CONFIGURE_ARGS+= --without-random -CONFS+= ssh_prng_cmds -PLIST.prng= yes -.endif +PLIST_VARS+= darwin EGDIR= ${PREFIX}/share/examples/${PKGBASE} diff --git a/security/openssh/PLIST b/security/openssh/PLIST index e18d93a97c3..1c18b8b3e9c 100644 --- a/security/openssh/PLIST +++ b/security/openssh/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.18 2016/03/15 20:54:07 bsiegert Exp $ +@comment $NetBSD: PLIST,v 1.19 2017/01/19 03:50:53 maya Exp $ bin/scp bin/sftp bin/ssh @@ -9,7 +9,6 @@ bin/ssh-keyscan libexec/sftp-server libexec/ssh-keysign libexec/ssh-pkcs11-helper -${PLIST.prng}libexec/ssh-rand-helper man/man1/scp.1 man/man1/sftp.1 man/man1/ssh-add.1 @@ -28,6 +27,5 @@ sbin/sshd share/examples/openssh/moduli ${PLIST.darwin}share/examples/openssh/org.openssh.sshd.sb share/examples/openssh/ssh_config -${PLIST.prng}share/examples/openssh/ssh_prng_cmds ${PLIST.pam}share/examples/openssh/sshd.pam share/examples/openssh/sshd_config -- cgit v1.2.3