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. Of course, "portaudit" is gone in favour of "pkg audit" and "pkg_"version is now "pkg version". Again, this doesn't hamper the port's functionality.
Working on a new upstream bugfix release. Will post port tree patch file for commit once the release is ready.
Created attachment 181737 [details] Update patch to 0.7.2 Patch to update the port to 0.7.2
I've made an upstream bugfix release (0.7.2) and have attached a patch for review and commit to the Ports Tree.
testbuilds@work
Would LICENSE=BSD be OK ? Just to pet portlint ?
Btw, testbuilds are fine and I'm replacing the pkg-plist file with: PLIST_FILES=libexec/nagios/check_ports
Yes, LICENSE=BSD or LICENSE=BSD2CLAUSE (script uses 2-Clause) and the pkg-plist replacement are okay.
Committed, thanks!
A commit references this bug: Author: pi Date: Wed Apr 12 19:06:39 UTC 2017 New revision: 438405 URL: https://svnweb.freebsd.org/changeset/ports/438405 Log: net-mgmt/nagios-check_ports: update 0.7.1 -> 0.7.2 - handle newer pkg commands like pkg audit and pkg version - pet portlint with LICENSE PR: 218584 Reported by: ml@netfence.it Submitted by: Ryan Frederick <ryanrfrederick@gmail.com> (maintainer) Changes: head/net-mgmt/nagios-check_ports/Makefile head/net-mgmt/nagios-check_ports/distinfo head/net-mgmt/nagios-check_ports/pkg-plist