Created attachment 199172 [details] ossec-hids-3.1.0_1.diff The patch contains important fix, which allows building packages as non-root user. The goal is to fix the build. Additionally: - new option PGSQL_SC has been added to ossec-hids-*-config ports - improved option descriptions The patch should be applied on ports tree root.
Created attachment 199338 [details] ossec-hids-3.1.0_1.diff Added patch provided in bug #233291.
A commit references this bug: Author: swills Date: Tue Nov 27 01:58:03 UTC 2018 New revision: 485977 URL: https://svnweb.freebsd.org/changeset/ports/485977 Log: security/ossec-hids-local: build fix as user [1] While here: - add new option PGSQL_SC ossec-hids-*-config [1] - improved option descriptions [1] - fix build with GCC-based architectures [2] PR: 233168 [1] PR: 233291 [2] Submitted by: Dominik Lisiak <dominik.lisiak@bemsoft.pl> (maintainer) [1] Submitted by: Piotr Kubaj <pkubaj@anongoth.pl> [2] Approved by: Dominik Lisiak <dominik.lisiak@bemsoft.pl> (maintainer) [2] Changes: head/security/ossec-hids-local/Makefile head/security/ossec-hids-local/files/patch-src_Makefile head/security/ossec-hids-local-config/Makefile head/security/ossec-hids-local-config/files/template-syscheck-pgsql.xml.in head/security/ossec-hids-local-config/opt-logs.mk head/security/ossec-hids-local-config/opt-syscheck.mk
Committed, thanks!