diff options
author | Vladimir Kobal <vlad@prokk.net> | 2019-03-27 13:47:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-27 13:47:25 +0200 |
commit | 786ccc7275b7050f11551c5f288bf83f9f8a58fd (patch) | |
tree | 52e054c31ce80356b8f2781cfb86323638ebea26 | |
parent | b3f690e7c9a759ef3a267766f228c0bcbfc02f4a (diff) |
Update fping version (#5719)
-rwxr-xr-x | collectors/fping.plugin/fping.plugin.in | 8 | ||||
-rwxr-xr-x | packaging/makeself/jobs/50-fping-4.2.install.sh (renamed from packaging/makeself/jobs/50-fping-4.0.install.sh) | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/collectors/fping.plugin/fping.plugin.in b/collectors/fping.plugin/fping.plugin.in index 2c03e418e1..5518194be2 100755 --- a/collectors/fping.plugin/fping.plugin.in +++ b/collectors/fping.plugin/fping.plugin.in @@ -38,14 +38,14 @@ if [ "${1}" = "install" ] run cd /usr/src - if [ -d fping-4.0 ] + if [ -d fping-4.2 ] then - run rm -rf fping-4.0 || exit 1 + run rm -rf fping-4.2 || exit 1 fi - download 'https://github.com/schweikert/fping/releases/download/v4.0/fping-4.0.tar.gz' | run tar -zxvpf - + download 'https://github.com/schweikert/fping/releases/download/v4.2/fping-4.2.tar.gz' | run tar -zxvpf - [ $? -ne 0 ] && exit 1 - run cd fping-4.0 || exit 1 + run cd fping-4.2 || exit 1 run ./configure --prefix=/usr/local run make clean diff --git a/packaging/makeself/jobs/50-fping-4.0.install.sh b/packaging/makeself/jobs/50-fping-4.2.install.sh index 7928f1aa41..b1acfa2e45 100755 --- a/packaging/makeself/jobs/50-fping-4.0.install.sh +++ b/packaging/makeself/jobs/50-fping-4.2.install.sh @@ -3,7 +3,7 @@ . $(dirname "${0}")/../functions.sh "${@}" || exit 1 -fetch "fping-4.0" "https://github.com/schweikert/fping/releases/download/v4.0/fping-4.0.tar.gz" +fetch "fping-4.2" "https://github.com/schweikert/fping/releases/download/v4.2/fping-4.2.tar.gz" export CFLAGS="-static" |