So, is ossec now working find on freebsd 7.4?
-- Eero 2012/11/20 Eero Volotinen <eero.voloti...@iki.fi>: > 2012/11/20 bujanga <buja...@gmail.com>: >> OSSEC 2.7 does NOT install. >> >> OSSEC 2.6 does install. >> >> On Tue, Nov 20, 2012 at 2:22 PM, Eero Volotinen <eero.voloti...@iki.fi> >> wrote: >>> 2012/11/20 bujanga <buja...@gmail.com>: >>>> Patch has no effect on the FreeBSD 7.x. (OSSEC v 2.6 does install) >>> >>> Does? or does not? >>> >>> Eero > > --- csyslogd.c-new 2012-11-20 22:53:28.000000000 +0000 > +++ csyslogd.c 2012-11-20 22:54:27.000000000 +0000 > @@ -23,6 +23,18 @@ > #include "csyslogd.h" > #include "os_net/os_net.h" > > +#ifndef HAVE_STRNLEN > + size_t strnlen(char *s, size_t maxlen) > + { > + size_t i; > + > + for (i= 0; i < maxlen && *s != '\0'; i++, s++) > + ; > + return i; > + } > +#endif > + > + > > this is required to compile ossec on freebsd 7.4 > > .. > > -- > Eero