Hi team,
I’m trying to build the wazuh-agent FreeBSD port using the FreeBSD ports tree
bundled inside the Wazuh source code.
I executed the following command:
make V=1 -C
./wazuh/build/temp/freebsd-ports-release-13.0.0/security/wazuh-agent package
However, the build fails with the following error:
Makefile:88: *** missing separator. Stop.
Makefile content:
WAZUHPREFIX= /var/ossec
.include <bsd.port.pre.mk> <<----- line 88
post-extract:
.for FILE in ${EXTERNAL_DISTFILES}
@cd ${WRKSRC}/src/external && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS}
${_DISTDIR}/${FILE:S/:wazuh_sources//} ${EXTRACT_AFTER_ARGS}
.endfor
Additional context:
I am performing this build on a Linux x86_64 (AMD64) machine, not on a FreeBSD
host.
I’m using the freebsd-ports-release-13.0.0/security/wazuh-agent directory
generated during the Wazuh build process.
My goal is to produce a FreeBSD package (.pkg) for the wazuh-agent.
I didnt change the Makefile, can anyone help me on this??
Thanks
Saii Varun M R