pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: zabbix 5.0.3 in pkgsrc-wip



On Sun, 13 Sep 2020 at 23:12, Juraj Lutter <otis%netbsd.org@localhost> wrote:
>
> Hi,
>
> please try this patch, if you can:
>
> https://pkgsrc-smartos.wilbury.net/patches/NetBSD/patch-src_libs_zbxsysinfo_netbsd_net.c
>
> This should fix the build not only on current, but also on other versions.
> It’s a code taken out of netstat.
>
> The only downside is that it does malloc() that zabbix tries to avoid at run time to
> avoid the situations where the agent would not return any meaningful due to insufficient memory.
>
> Because the zabbix server, agent and proxy shares many of the code (yes, even the code
> that does make sense for agent is compiled into server and proxy and vice versa), this
> patch should be applied to all components.
>
> If successful, we can proceed further to determine what to do and I can work with upstream
> to include this in subsequent updates.

All five zabbix50-* packages in wip build cleanly with the patch
applied where it is needed.  I'll try to carry on the configuration
and see if the server starts; with the default configuration file at
the moment it just exits. I suppose I will have to configure the
database at least.


>
> Thanks
> otis
>
> > On 10 Sep 2020, at 21:56, Chavdar Ivanov <ci4ic4%gmail.com@localhost> wrote:
> >
> > On Thu, 10 Sep 2020 at 20:30, Juraj Lutter <otis%netbsd.org@localhost> wrote:
> >>
> >> Hi,
> >>
> >> I have made a notable progress with zabbix 5.0, it is now in pkgsrc-wip master branch.
> >>
> >> It have been tested on SmartOS and NetBSD 9.0 and it would be nice if more people
> >> can give it a try, so we can progress to import into pkgsrc.
> >>
> >> Any feedback is more than welcome.
> >
> > Casual attempt to build the server under -current (9.99.72 from
> > yesterday) fails (same as the version in sysutils):
> > ....
>


-- 
----


Home | Main Index | Thread Index | Old Index