Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Apr 2017 09:04:56 -0500
From:      Ryan Frederick <ryanrfrederick@gmail.com>
To:        Andrea Venturoli <ml@netfence.it>
Cc:        ports@freebsd.org
Subject:   Re: net-mgmt/nagios-check_ports outdated
Message-ID:  <7d017783-509b-1353-108e-4bea0748d984@gmail.com>
In-Reply-To: <7500b610-43cd-0b95-54fc-099b1a93f2ee@netfence.it>
References:  <7500b610-43cd-0b95-54fc-099b1a93f2ee@netfence.it>

next in thread | previous in thread | raw e-mail | index | archive | help
On 04/11/2017 04:58 AM, Andrea Venturoli wrote:
> Hello.
>
> I'm writing you as the maintainer of net-mgmt/nagios-check_ports.
>
> This tool seems to lag behind a bit: while it works fine, it will print
> some errors when it "checks the environment".
> I.e.:
>> # /usr/local/libexec/nagios/check_ports -c
>> checking environment ...
>>
>>   OK:    Your operating system is FreeBSD, main release 10.
>>   ERROR: portaudit not found!
>>   ERROR: pkg_version not found at /usr/sbin/pkg_version.
>>          Update information will not be available!
>> /usr/local/libexec/nagios/check_ports: /usr/local/sbin/portaudit: not
>> found
>>   OK:    portaudit database is up to date (Last Update: ).
>>   OK:    jexec found at /usr/sbin/jexec
>>   OK:    /usr/ports/INDEX-10 readable.
>
> As you probably know portaudit is gone in favour of "pkg audit" and
> pkg_version is not "pkg version".
>
> I'm fine with this, I'm only telling you in case you overlooked this;
> anyway the port serves it purpose.
>
>
>
>  bye & Thanks
>     av.

Thanks for pointing out a part I overlooked when I wrote pkg(8) 
functionality into the script. :)

If you would be so kind as to open a PR with this bug I'll get a bugfix 
release put together.

Ryan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7d017783-509b-1353-108e-4bea0748d984>