diff options
author | psykose <alice@ayaya.dev> | 2023-07-22 15:39:34 +0000 |
---|---|---|
committer | psykose <alice@ayaya.dev> | 2023-07-22 15:39:34 +0000 |
commit | db5a8839cc748d70befe7544dba2411d4ae30fbb (patch) | |
tree | eba6c1fcfef8bcfded56300d06e2c14a692f583b | |
parent | e01aa1045e37298498f5aa1af0ffb7daaa830d6f (diff) |
main/nagios-plugins: fix path to mailq/sudo
exim/opensmtpd have theirs in sbin, so it's still broken for that. the
script in question sets a bunch of PATH values but hardcodes the binary
location anyway...
would have to rewrite it to find things by name instead
closes #15124
-rw-r--r-- | main/nagios-plugins/APKBUILD | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/main/nagios-plugins/APKBUILD b/main/nagios-plugins/APKBUILD index 5b68cf02477..c1ccdee7e36 100644 --- a/main/nagios-plugins/APKBUILD +++ b/main/nagios-plugins/APKBUILD @@ -4,7 +4,7 @@ # Maintainer: Jeff Bilyk <jbilyk@gmail.com> pkgname=nagios-plugins pkgver=2.4.5 -pkgrel=0 +pkgrel=1 pkgdesc="Plugins for Nagios to check services on hosts" url="https://nagios-plugins.org/" arch="all" @@ -61,6 +61,8 @@ build() { --libexecdir="/$_plugins_dir" \ --localstatedir=/var/nagios \ --with-ipv6 \ + --with-mailq-command=/usr/bin/mailq \ + --with-sudo-command=/usr/bin/sudo \ --with-ps-command="/bin/busybox ps -o stat,pid,ppid,vsz,rss,comm,args" \ --with-ps-format="%s %d %d %s %s %s %n" \ --with-ps-varlist="procstat,&procpid,&procppid,&procvsz,&procrss,procprog,&pos" \ |