wok rev 24951
nagios-plugins: removed patch
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 23 10:41:57 2022 +0100 (2022-04-23) |
parents | cf5131fd17f5 |
children | afc372dd794f |
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:03:51 2022 +0100 1.2 +++ b/nagios-plugins/receipt Sat Apr 23 10:41:57 2022 +0100 1.3 @@ -12,9 +12,9 @@ 1.4 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/refs/tags/release-$VERSION.tar.gz" 1.5 1.6 SUGGESTED="nagios-plugins-lang" 1.7 -DEPENDS="fping libssl" 1.8 -BUILD_DEPENDS="automake libmysqlclient mysql-dev openldap-dev openssl-dev 1.9 - radiusclient-ng radiusclient-ng-dev" 1.10 +DEPENDS="fping libssl procps" 1.11 +BUILD_DEPENDS="automake file libmysqlclient mysql-dev openldap-dev openssl-dev 1.12 + procps radiusclient-ng radiusclient-ng-dev" 1.13 1.14 current_version() 1.15 { 1.16 @@ -35,7 +35,6 @@ 1.17 --with-fping-command="/usr/sbin/fping" \ 1.18 --mandir=/usr/share/man \ 1.19 $CONFIGURE_ARGS && 1.20 - patch --strip=0 --input=$stuff/patches/check_load.c-2.4.0 && 1.21 make && 1.22 make install DESTDIR=$DESTDIR && 1.23 make install-root DESTDIR=$DESTDIR
2.1 --- a/nagios-plugins/stuff/patches/check_load.c-2.4.0 Sat Apr 23 10:03:51 2022 +0100 2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 2.3 @@ -1,10 +0,0 @@ 2.4 ---- plugins/check_load.c.original 2.5 -+++ plugins/check_load.c 2.6 -@@ -47,6 +47,7 @@ 2.7 - #define LOADAVG_5MIN 1 2.8 - #define LOADAVG_15MIN 2 2.9 - #endif /* !defined LOADAVG_1MIN */ 2.10 -+#define PS_COMMAND "/bin/ps" 2.11 - 2.12 - 2.13 - static int process_arguments (int argc, char **argv);