[Bug 256650] ossec-hids-agent-config and ossec-hids-server-config fail creating ossec.conf

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 16 Jun 2021 16:05:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256650

            Bug ID: 256650
           Summary: ossec-hids-agent-config and ossec-hids-server-config
                    fail creating ossec.conf
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: gmelis@mikroskosmos.gr

When running `/usr/local/ossec-hids/bin/config/ossec-conf` to create
ossec.conf, there's an error message about sed and ossec.conf is created with
empty tags.

Applying the following diff solves the problem:

25c25
<     sed '/^\s*$/d'
---
>     sed '/^ *$/d'

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