From ad60ad3528afdeafa5eb9a13a70fea04a0565b0c Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Tue, 30 Nov 2021 12:46:20 -0800 Subject: [PATCH] security/openssh-portable: Fix subtle rc script problem. Invoking 'run_rc_command' taints '$rc_var' with 'keygen' which blocks further processing for something like openssh_oomprotect. Note that openssh_oomprotect is broken in rc.subr until it learns to read a pidfile. --- security/openssh-portable/Makefile | 2 +- security/openssh-portable/files/openssh.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/security/openssh-portable/Makefile b/security/openssh-portable/Makefile index b77a243d16cf..aa173a32ce63 100644 --- a/security/openssh-portable/Makefile +++ b/security/openssh-portable/Makefile @@ -2,7 +2,7 @@ PORTNAME= openssh DISTVERSION= 8.8p1 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= security MASTER_SITES= OPENBSD/OpenSSH/portable diff --git a/security/openssh-portable/files/openssh.in b/security/openssh-portable/files/openssh.in index a8c0043e607a..ee179b28faba 100644 --- a/security/openssh-portable/files/openssh.in +++ b/security/openssh-portable/files/openssh.in @@ -156,7 +156,7 @@ openssh_checks() fi fi - run_rc_command keygen + openssh_keygen openssh_configtest }