wok-6.x rev 24952
nagios-plugins: new patch
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 23 14:39:05 2022 +0100 (2022-04-23) |
parents | 08e0172a1a69 |
children | 17a0bbb74ccd |
files | nagios-plugins/receipt nagios-plugins/stuff/patches/check_load.c-2.4.0 |
line diff
1.1 --- a/nagios-plugins/receipt Sat Apr 23 10:41:57 2022 +0100 1.2 +++ b/nagios-plugins/receipt Sat Apr 23 14:39:05 2022 +0100 1.3 @@ -25,7 +25,7 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - ./autogen.sh && 1.8 + ./tools/setup && 1.9 ./configure \ 1.10 --prefix=/usr \ 1.11 --libexecdir=/usr/lib/nagios/plugins \ 1.12 @@ -35,6 +35,7 @@ 1.13 --with-fping-command="/usr/sbin/fping" \ 1.14 --mandir=/usr/share/man \ 1.15 $CONFIGURE_ARGS && 1.16 + patch --strip=0 --input=$stuff/patches/check_load.c-2.4.0 && 1.17 make && 1.18 make install DESTDIR=$DESTDIR && 1.19 make install-root DESTDIR=$DESTDIR
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/nagios-plugins/stuff/patches/check_load.c-2.4.0 Sat Apr 23 14:39:05 2022 +0100 2.3 @@ -0,0 +1,10 @@ 2.4 +--- plugins/check_load.c.original 2.5 ++++ plugins/check_load.c 2.6 +@@ -351,6 +351,7 @@ 2.7 + pid_t kthread_ppid = 0; 2.8 + int procvsz = 0; 2.9 + int procrss = 0; 2.10 ++ int procjid = 0; 2.11 + float procpcpu = 0; 2.12 + char procstat[8]; 2.13 + #ifdef PS_USES_PROCETIME