[Bug 262020] security/ssh-tools: ssh-facts uses unsupported RegEx

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 17 Feb 2022 18:40:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262020

            Bug ID: 262020
           Summary: security/ssh-tools: ssh-facts uses unsupported RegEx
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: 0mp@FreeBSD.org
          Reporter: freebsd@schukraft.org
             Flags: maintainer-feedback?(0mp@FreeBSD.org)
          Assignee: 0mp@FreeBSD.org

The ssh-facts command errors out with

sed: 1: "s/\s*=\s*/=/": RE error: trailing backslash (\)

This happens because FreeBSD sed does not support "\s", so this needs to be
replaced by "[[:space:]]".

See also https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253893

-- 
You are receiving this mail because:
You are the assignee for the bug.