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.
This commit is contained in:
Bryan Drewery 2021-11-30 12:46:20 -08:00
parent 6de74fbb4c
commit ad60ad3528
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@
PORTNAME= openssh PORTNAME= openssh
DISTVERSION= 8.8p1 DISTVERSION= 8.8p1
PORTREVISION= 1 PORTREVISION= 2
PORTEPOCH= 1 PORTEPOCH= 1
CATEGORIES= security CATEGORIES= security
MASTER_SITES= OPENBSD/OpenSSH/portable MASTER_SITES= OPENBSD/OpenSSH/portable

View file

@ -156,7 +156,7 @@ openssh_checks()
fi fi
fi fi
run_rc_command keygen openssh_keygen
openssh_configtest openssh_configtest
} }