From owner-freebsd-ports@freebsd.org Tue Apr 11 14:05:00 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CC726D39EA1 for ; Tue, 11 Apr 2017 14:05:00 +0000 (UTC) (envelope-from ryanrfrederick@gmail.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id A9C4BEE7 for ; Tue, 11 Apr 2017 14:05:00 +0000 (UTC) (envelope-from ryanrfrederick@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id A9259D39EA0; Tue, 11 Apr 2017 14:05:00 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A8CF6D39E9F for ; Tue, 11 Apr 2017 14:05:00 +0000 (UTC) (envelope-from ryanrfrederick@gmail.com) Received: from mail-oi0-x22b.google.com (mail-oi0-x22b.google.com [IPv6:2607:f8b0:4003:c06::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6B400EE6 for ; Tue, 11 Apr 2017 14:05:00 +0000 (UTC) (envelope-from ryanrfrederick@gmail.com) Received: by mail-oi0-x22b.google.com with SMTP id b187so184381200oif.0 for ; Tue, 11 Apr 2017 07:05:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=SjH1Tthuh87pfKrg4qnOxCU/NEOmgqpRBkB7X4CNsTQ=; b=GxI0q9z9tYi1xEr4CSVcXISpsDbK11XbZbRXBxX1ceyMqFKoYpPsoWDChJmLL1RYEa /Z647GpsItJ3GlA+RzWCoMU/9FbM6njnNdtRSyZxFjcn7y35c1T0aXwfxHmbeh281Gal XmTag/p3cuuF/4oLH+L99DnD4wfEFSuucH/THQnWJskCAq0PwTaK9AZ0OKUG0kxzucbb 6YV9B0wjs8vlevLKHWt8ErtAROHpI1XfdC38fN88+vC4g3BsflSiLQspcvnEgHPk5AeP XPzpUOZPbR3V9zqls06flU/h7z2ZPvMpbZAbdjEBlNzf/XNOuK6x8Vcr8Bb1FkR50AaT 3aig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=SjH1Tthuh87pfKrg4qnOxCU/NEOmgqpRBkB7X4CNsTQ=; b=s9pTqkVrpWDsF5RTzkQhkmEJRtXmYJd68lDrJeDJGvqMIY6wHnEhzmel2+9YYkemHN hK26014fvp73QbxRX29TBP95jAWpbAymbHIH6QF/GsYos9OqXlxrwymHkOL/ij3orIcM 8YD3EOejC795MQPvBT9SVqIB/GyND5GkSEmVRiwhYIgLNXHCx0cbsl4d+GTNT7F4gCyh DRpl7k/unp2KsudXiqoSDzC7tYBUpI3nd4JRbWi5ce0ltjy5A0aj27ng/9aBcIDazLbk jK5coPR8Z4s97Z06MZoiJ7VPb04+/qLcOmlquIwNV+c8kdj3zoR63zCca5l6kQaITl6C V3vw== X-Gm-Message-State: AFeK/H3MKwibUCjaMM896Jz4tI/61WWevD9HlK8eJX267NFtMS9w0HtQcnZYAEu/mW3GNA== X-Received: by 10.157.15.65 with SMTP id 59mr22882559ott.162.1491919499508; Tue, 11 Apr 2017 07:04:59 -0700 (PDT) Received: from [139.78.2.36] (bofh.it.okstate.edu. [139.78.2.36]) by smtp.googlemail.com with ESMTPSA id e204sm7729204oia.35.2017.04.11.07.04.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Apr 2017 07:04:59 -0700 (PDT) Subject: Re: net-mgmt/nagios-check_ports outdated To: Andrea Venturoli References: <7500b610-43cd-0b95-54fc-099b1a93f2ee@netfence.it> Cc: ports@freebsd.org From: Ryan Frederick Message-ID: <7d017783-509b-1353-108e-4bea0748d984@gmail.com> Date: Tue, 11 Apr 2017 09:04:56 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <7500b610-43cd-0b95-54fc-099b1a93f2ee@netfence.it> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Apr 2017 14:05:00 -0000 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