Bug 221269

Summary: security/ossec-hids-local: database support not compiled in for "local" installation
Product: Ports & Packages Reporter: Dominik Lisiak <dominik.lisiak>
Component: Individual Port(s)Assignee: Brad Davis <brd>
Status: Closed FIXED    
Severity: Affects Some People CC: dominik.lisiak
Priority: --- Keywords: needs-patch, needs-qa
Version: LatestFlags: brd: maintainer-feedback+
koobs: merge-quarterly?
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Proposed patch relative to /usr/ports none

Description Dominik Lisiak 2017-08-06 07:23:47 UTC
There is a bug in 99th line of "security/ossec-hids-server/Makefile":
@cd ${WRKSRC}/src;${MAKE} setlocal;${MAKE} all;${MAKE} build;

The line should be:
@cd ${WRKSRC}/src;${MAKE} setlocal;${MAKE} setdb;${MAKE} all;${MAKE} build;

Although "setdb" makes not much sense for "agent" installation, it is valid for "local" installation. Without this fix the "ossec-dbd" in "local" installation complains about the database support not being compiled in.
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2017-08-06 09:21:53 UTC
Thank you Dominik

If you could include the proposed change as an attachment that would be appreciated
Comment 2 Dominik Lisiak 2017-08-06 11:19:03 UTC
Created attachment 185084 [details]
Proposed patch relative to /usr/ports
Comment 3 Brad Davis freebsd_committer freebsd_triage 2017-08-15 18:25:56 UTC
Dominik, I don't use OSSEC anymore.  Would you be interested in being the MAINATINER?
Comment 4 Dominik Lisiak 2017-08-22 06:52:14 UTC
(In reply to Brad Davis from comment #3)
Yes, I'am interested. I need to do more extensive reading first, but I've read the guide briefly and I think i can fulfill the requirements.
Do you want me to fix this issue and additionally change the MAINTAINER to myself or will you fix it and set the MAINTAINER to me?
Comment 5 commit-hook freebsd_committer freebsd_triage 2018-01-02 01:19:14 UTC
A commit references this bug:

Author: brd
Date: Tue Jan  2 01:18:40 UTC 2018
New revision: 457828
URL: https://svnweb.freebsd.org/changeset/ports/457828

Log:
  Fix database support in ossec-hids-local and pass maintainer to submitter

  PR:		221269
  Submitted by:	Dominik Lisiak <dominik.lisiak@bemsoft.pl>

Changes:
  head/security/ossec-hids-server/Makefile
Comment 6 Brad Davis freebsd_committer freebsd_triage 2018-01-02 01:23:46 UTC
Dominik, Sorry for the delay on this one.. I have committed your patch and assigned you as the maintainer.  I think it is due for an update so if you wanted to start looking into that.. :)