Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Nov 2023 09:36:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 275008] security/wazuh-agent: fix ssl=openssl build
Message-ID:  <bug-275008-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275008

            Bug ID: 275008
           Summary: security/wazuh-agent: fix ssl=3Dopenssl build
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: acm@FreeBSD.org
          Reporter: franco@opnsense.org
             Flags: maintainer-feedback?(acm@FreeBSD.org)
          Assignee: acm@FreeBSD.org

Created attachment 246230
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D246230&action=
=3Dedit
header include fix in Makefile

Hi,

The native build uses embedded OpenSSL but fails to propagate embedded libr=
ary
include paths before the system paths are merged leading wazuh-agent to bui=
ld
against the headers in /usr/local/include which includes OpenSSL on
ssl=3Dopenssl* use.  for ssl=3Dopenssl111 this is not overly harmful since =
the the
headers match the expectations, but for ssl=3Dopenssl the faulty headers wi=
ll
cause a linker error eventually.  The solution is to enforce OSSEC_CFLAGS e=
arly
for all the embedded code.

The patch includes "makepatch" output for unrelated files.  These can obvio=
usly
be left out if desired.

Note this is an upstream issue in their Makefile and should probably be
addressed by them as well.


Cheers,
Franco

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275008-7788>