commit:     af815ce4c7a7933c36b36b24c29b655bfec37105
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  2 12:38:57 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug  2 12:38:57 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af815ce4

net-misc/openssh: skip sanity-check for binpkgs

Because of environment saving, we can't allow users to override for binpkgs, so 
just
elide the check there.

Closes: https://bugs.gentoo.org/907892
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/openssh/openssh-9.3_p2.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/net-misc/openssh/openssh-9.3_p2.ebuild 
b/net-misc/openssh/openssh-9.3_p2.ebuild
index e3184f35c252..8e57bfe2061c 100644
--- a/net-misc/openssh/openssh-9.3_p2.ebuild
+++ b/net-misc/openssh/openssh-9.3_p2.ebuild
@@ -100,6 +100,9 @@ pkg_pretend() {
        done
 
        if [[ -n ${enabled_eol_flags} && 
${OPENSSH_EOL_USE_FLAGS_I_KNOW_WHAT_I_AM_DOING} != yes ]]; then
+               # Skip for binary packages entirely because of environment 
saving, bug #907892
+               [[ ${MERGE_TYPE} == binary ]] && return
+
                ewarn "net-misc/openssh does not support 
USE='${enabled_eol_flags%,}' anymore."
                ewarn "The Base system team *STRONGLY* recommends you not rely 
on this functionality,"
                ewarn "since these USE flags required third-party patches that 
often trigger bugs"

Reply via email to