[Bug 266726] security/easy-rsa: executing sed with non-posix "\s" regex

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 30 Sep 2022 14:26:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266726

            Bug ID: 266726
           Summary: security/easy-rsa: executing sed with non-posix "\s"
                    regex
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: mandree@FreeBSD.org
          Reporter: topical@gmx.net
             Flags: maintainer-feedback?(mandree@FreeBSD.org)
          Assignee: mandree@FreeBSD.org

Created attachment 236971
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=236971&action=edit
Fix sed usage

At several instances, "\s" is passed to sed. This regex is non-posix and not
supported by FreeBSD's sed. Since FreeBSD 13 you even get a warning message on
execution.

Replacing "\s" with "[[:space:]]" fixes that (patch attached).

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