[Bug 275008] security/wazuh-agent: fix ssl=openssl build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 10 Nov 2023 09:36:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275008 Bug ID: 275008 Summary: security/wazuh-agent: fix ssl=openssl 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=246230&action=edit header include fix in Makefile Hi, The native build uses embedded OpenSSL but fails to propagate embedded library include paths before the system paths are merged leading wazuh-agent to build against the headers in /usr/local/include which includes OpenSSL on ssl=openssl* use. for ssl=openssl111 this is not overly harmful since the the headers match the expectations, but for ssl=openssl the faulty headers will cause a linker error eventually. The solution is to enforce OSSEC_CFLAGS early for all the embedded code. The patch includes "makepatch" output for unrelated files. These can obviously 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 -- You are receiving this mail because: You are the assignee for the bug.