From afe3b35c84076e7216d0137af25322edba859777 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 2 Sep 2020 18:15:21 +0300 Subject: fping: Upgrade 4.4 -> 5.0 Upgrade to release 5.0: - In non-quiet loop and count mode, a line is printed for every lost packet - The returned size in bytes now always excludes the IP header, so if before it reported '84 bytes' e.g. when using 'fping -l', now it reports '64 bytes'. This is to make the reported size consistent with ping(8) from iputils and also with fping when pinging a IPv6 host (which never included the IPv6 header size). - The number of sent pings is only counted when the pings are received or have timed out, ensuring that the loss ratio will be always correct. This makes it possible, for example, to use loop mode (-l) with interval statistics (-Q) and a timeout larger than period, without having the issue that initially some pings would be reported as missing - Improved precision of measurements from 10us to 1us - The reported size of received packets is now always correct on Linux even for packets > 4096 bytes - Travis CI automated testing now also macos testing and additional ubuntu distributions Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- meta-networking/recipes-support/fping/fping_4.4.bb | 24 ---------------------- meta-networking/recipes-support/fping/fping_5.0.bb | 24 ++++++++++++++++++++++ 2 files changed, 24 insertions(+), 24 deletions(-) delete mode 100644 meta-networking/recipes-support/fping/fping_4.4.bb create mode 100644 meta-networking/recipes-support/fping/fping_5.0.bb (limited to 'meta-networking/recipes-support') diff --git a/meta-networking/recipes-support/fping/fping_4.4.bb b/meta-networking/recipes-support/fping/fping_4.4.bb deleted file mode 100644 index 125fdfa70a..0000000000 --- a/meta-networking/recipes-support/fping/fping_4.4.bb +++ /dev/null @@ -1,24 +0,0 @@ -SUMMARY = "sends ICMP ECHO_REQUEST packets to network hosts" -DESCRIPTION = "fping is a ping like program which uses the Internet Control \ -Message Protocol (ICMP) echo request to determine if a target host is \ -responding. fping differs from ping in that you can specify any number of \ -targets on the command line, or specify a file containing the lists of \ -targets to ping. Instead of sending to one target until it times out or \ -replies, fping will send out a ping packet and move on to the next target \ -in a round-robin fashion." -HOMEPAGE = "http://www.fping.org/" -SECTION = "net" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://COPYING;md5=c6170fbadddfcd74f011515291d96901" - -SRC_URI = "http://www.fping.org/dist/fping-${PV}.tar.gz" -SRC_URI[sha256sum] = "9f854b65a52dc7b1749d6743e35d0a6268179d1a724267339fc9a066b2b72d11" - -S = "${WORKDIR}/fping-${PV}" - -inherit autotools - -EXTRA_OECONF = "--enable-ipv4" - -PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" -PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," diff --git a/meta-networking/recipes-support/fping/fping_5.0.bb b/meta-networking/recipes-support/fping/fping_5.0.bb new file mode 100644 index 0000000000..54606e8b64 --- /dev/null +++ b/meta-networking/recipes-support/fping/fping_5.0.bb @@ -0,0 +1,24 @@ +SUMMARY = "sends ICMP ECHO_REQUEST packets to network hosts" +DESCRIPTION = "fping is a ping like program which uses the Internet Control \ +Message Protocol (ICMP) echo request to determine if a target host is \ +responding. fping differs from ping in that you can specify any number of \ +targets on the command line, or specify a file containing the lists of \ +targets to ping. Instead of sending to one target until it times out or \ +replies, fping will send out a ping packet and move on to the next target \ +in a round-robin fashion." +HOMEPAGE = "http://www.fping.org/" +SECTION = "net" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://COPYING;md5=c6170fbadddfcd74f011515291d96901" + +SRC_URI = "http://www.fping.org/dist/fping-${PV}.tar.gz" +SRC_URI[sha256sum] = "ed38c0b9b64686a05d1b3bc1d66066114a492e04e44eef1821d43b1263cd57b8" + +S = "${WORKDIR}/fping-${PV}" + +inherit autotools + +EXTRA_OECONF = "--enable-ipv4" + +PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" +PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," -- cgit v1.2.3-54-g00ecf