On Wed, Dec 19, 2018 at 01:19:31AM +0000, Stuart Henderson wrote:
> On 2018/12/12 10:45, Paul Irofti wrote:
> > Hi,
> > 
> > Here is an updated port that I would like to import.
> > 
> > This contains many fixes, mostly permissions tweaking but also an rc
> > script, and wrappers for the inotify fiasco. It has been tested in
> > production since before release and all seems to be running fine.
> > 
> > OK?
> 
> The wrappers fail to install for me (permission denied). But they
> shouldn't really be necessary anyway - does the attached version work
> for you? It uses -Wl,-rpath to hopefully fix up library paths instead,
> and I passed CFLAGS across (you successfully removed upstreams
> hardcoded values but didn't use ports ones, so it was building
> without any -O flags).
> 
> The UIDs need an update to free spots in infrastructure/db/user.list.
> I haven't done that in the attached file to ease your testing, but
> that will need doing before commit.
> 
> (There are some other tweaks to make - hardcoded /usr/local in a couple
> of places, and I think some chunks of patch are probably not needed -
> but I don't think those are blockers and can be done after it's in tree).

Hi Stuart,

Thank you very much for the fixes. I have updated the tarbal you sent to
include the necessary PLIST changes: removing the wrappers and updating
the user and group IDs.

Here is also a patch for the user.list

Is it ok to import the port now? I will take care of the rest of the
fixes suggested by you and Dan afterwards.

Thanks,
Paul


Index: infrastructure/db/user.list
===================================================================
RCS file: /cvs/ports/infrastructure/db/user.list,v
retrieving revision 1.334
diff -u -p -u -p -r1.334 user.list
--- infrastructure/db/user.list 18 Dec 2018 19:28:52 -0000      1.334
+++ infrastructure/db/user.list 20 Dec 2018 12:59:44 -0000
@@ -335,3 +335,6 @@ id  user            group           port options
 824 _traccar           _traccar        geo/traccar
 825 _go-ipfs           _go-ipfs        net/go-ipfs
 826 _telegraf          _telegraf       sysutils/telegraf
+827 _ossec             _ossec          security/ossec-hids
+828 _ossecm            _ossec          security/ossec-hids
+829 _ossecr            _ossec          security/ossec-hids

Attachment: ossec-hids.tgz
Description: application/tar-gz

Reply via email to