aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpsykose <alice@ayaya.dev>2023-05-25 12:46:23 +0000
committerpsykose <alice@ayaya.dev>2023-05-25 14:47:06 +0200
commit587feece808f1499cbdc700589931557d4c33f7d (patch)
tree34dae870942e29e986b1acabfeb94c61aaae0e04
parentb23cb8d844cb5346aa30321dfe4128b6fc0f5fc5 (diff)
main/nagios-plugins: fixup ps-command/ps-format
this is hacky and ignores the values in %s instead, but currently it fails to part and is unusable, so this is better than nothing ref #14942
-rw-r--r--main/nagios-plugins/APKBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/nagios-plugins/APKBUILD b/main/nagios-plugins/APKBUILD
index 3d5a83c8b6c..aa5fd5365dc 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.4
-pkgrel=0
+pkgrel=1
pkgdesc="Plugins for Nagios to check services on hosts"
url="https://nagios-plugins.org/"
arch="all"
@@ -61,8 +61,8 @@ build() {
--libexecdir="/$_plugins_dir" \
--localstatedir=/var/nagios \
--with-ipv6 \
- --with-ps-command="/bin/ps -o stat,pid,ppid,vsz,rss,comm,args" \
- --with-ps-format="%s %d %d %d %d %s %n" \
+ --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" \
--with-ps-cols=7 \
--with-ping-command="/bin/ping -c %d %s" \