aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpsykose <alice@ayaya.dev>2023-07-22 15:39:34 +0000
committerpsykose <alice@ayaya.dev>2023-07-22 15:39:34 +0000
commitdb5a8839cc748d70befe7544dba2411d4ae30fbb (patch)
treeeba6c1fcfef8bcfded56300d06e2c14a692f583b
parente01aa1045e37298498f5aa1af0ffb7daaa830d6f (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/APKBUILD4
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" \