Update fping version (#5719)
Vladimir Kobal committed
Mar 27, 2019 at 13:47 UTC
786ccc7275b7050f11551c5f288bf83f9f8a58fd
2 files changed
+5
-5
collectors/fping.plugin/fping.plugin.in
+4
-4
@@ -38,14 +38,14 @@ if [ "${1}" = "install" ]
38
39
run cd /usr/src
40
41
- if [ -d fping-4.0 ]
41
+ if [ -d fping-4.2 ]
42
then
43
- run rm -rf fping-4.0 || exit 1
43
+ run rm -rf fping-4.2 || exit 1
44
fi
45
46
- download 'https://github.com/schweikert/fping/releases/download/v4.0/fping-4.0.tar.gz' | run tar -zxvpf -
46
+ download 'https://github.com/schweikert/fping/releases/download/v4.2/fping-4.2.tar.gz' | run tar -zxvpf -
47
[ $? -ne 0 ] && exit 1
48
- run cd fping-4.0 || exit 1
48
+ run cd fping-4.2 || exit 1
49
50
run ./configure --prefix=/usr/local
51
run make clean
packaging/makeself/jobs/50-fping-4.2.install.sh
renamed
+1
-1
@@ -3,7 +3,7 @@
3
4
. $(dirname "${0}")/../functions.sh "${@}" || exit 1
5
6
-fetch "fping-4.0" "https://github.com/schweikert/fping/releases/download/v4.0/fping-4.0.tar.gz"
6
+fetch "fping-4.2" "https://github.com/schweikert/fping/releases/download/v4.2/fping-4.2.tar.gz"
7
8
export CFLAGS="-static"
9