Fri May 13 04:49:10 2022 UTC ()
fping: update to 5.1.

fping 5.1 (2022-02-06)
======================

## Bugfixes and other changes

- Use setcap to specify specific files in fping.spec (#232, thanks @zdyxry)
- Netdata: use host instead name as family label (#226, thanks @k0ste)
- Netdata: use formatstring macro PRId64 (#229, thanks @gsnw)
- Allow -4 option to be given multiple times (#215, thanks @normanr)
- Documentation fix (#208, thanks @timgates42)
- Retain privileges until after privileged setsockopt (#200, thanks @simetnicbr)
- Set bind to source only when option is set (#198, thanks @dinoex)
- Update Azure test pipeline (#197, thanks @gsnw)
- Fix getnameinfo not called properly for IPv4 (#227, thanks @aafbsd)
- Fixed wrong timestamp under Free- and OpenBSD and macOS (#217, thanks @gsnw)
- Documentation updates (#240, thanks @auerswal)
- Updated autotools (autoconf 2.71, automake 1.16.5, libtool 2.4.6)

fping 5.0 (2020-08-05)
======================

## Incompatible Changes

- In non-quiet loop and count mode, a line is printed for every lost packet
  (#175, thanks @kbucheli):

  ```
  $ fping -D -c2 8.8.8.8 8.8.8.7
  [1596092373.18423] 8.8.8.8 : [0], 64 bytes, 12.8 ms (12.8 avg, 0% loss)
  [1596092374.18223] 8.8.8.7 : [0], timed out (NaN avg, 100% loss)
  [1596092374.18424] 8.8.8.8 : [1], 64 bytes, 12.3 ms (12.5 avg, 0% loss)
  [1596092375.18344] 8.8.8.7 : [1], timed out (NaN avg, 100% loss)

  8.8.8.8 : xmt/rcv/%loss = 2/2/0%, min/avg/max = 12.3/12.5/12.8
  8.8.8.7 : xmt/rcv/%loss = 2/0/100%
  ```

- 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).

## New features

- 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 (#193)

- Improved precision of measurements from 10us to 1us (#136, thanks @tycho)

## Bugfixes and other changes

- The reported size of received packets is now always correct on Linux even for
  packets > 4096 bytes (#180)

- Travis CI automated testing now also macos testing and additional ubuntu
  distributions (#196)


(wiz)
diff -r1.23 -r1.24 pkgsrc/net/fping/Makefile
diff -r1.18 -r1.19 pkgsrc/net/fping/distinfo

cvs diff -r1.23 -r1.24 pkgsrc/net/fping/Makefile (expand / switch to unified diff)

--- pkgsrc/net/fping/Makefile 2020/08/03 11:51:47 1.23
+++ pkgsrc/net/fping/Makefile 2022/05/13 04:49:10 1.24
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.23 2020/08/03 11:51:47 adam Exp $ 1# $NetBSD: Makefile,v 1.24 2022/05/13 04:49:10 wiz Exp $
2 2
3DISTNAME= fping-4.4 3DISTNAME= fping-5.1
4CATEGORIES= net 4CATEGORIES= net
5MASTER_SITES= http://fping.org/dist/ 5MASTER_SITES= http://fping.org/dist/
6 6
7MAINTAINER= abs@NetBSD.org 7MAINTAINER= abs@NetBSD.org
8HOMEPAGE= https://www.fping.org/ 8HOMEPAGE= https://www.fping.org/
9COMMENT= Quickly ping many hosts w/o flooding the network 9COMMENT= Quickly ping many hosts w/o flooding the network
10 10
11USE_LANGUAGES= c99 11USE_LANGUAGES= c99
12GNU_CONFIGURE= yes 12GNU_CONFIGURE= yes
13 13
14SPECIAL_PERMS+= sbin/fping ${SETUID_ROOT_PERMS} 14SPECIAL_PERMS+= sbin/fping ${SETUID_ROOT_PERMS}
15 15
16CFLAGS.SunOS+= -Dn_time=uint32_t -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ 16CFLAGS.SunOS+= -Dn_time=uint32_t -D_XOPEN_SOURCE=600 -D__EXTENSIONS__

cvs diff -r1.18 -r1.19 pkgsrc/net/fping/distinfo (expand / switch to unified diff)

--- pkgsrc/net/fping/distinfo 2021/10/26 11:05:36 1.18
+++ pkgsrc/net/fping/distinfo 2022/05/13 04:49:10 1.19
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.18 2021/10/26 11:05:36 nia Exp $ 1$NetBSD: distinfo,v 1.19 2022/05/13 04:49:10 wiz Exp $
2 2
3BLAKE2s (fping-4.4.tar.gz) = bcc589fab82d9862cd727e52fec95fa72d89b7dda7af646f24422ce38af7b1d2 3BLAKE2s (fping-5.1.tar.gz) = 5c0a76df0c28b79e030ed4b93762f8f91583d805890473ab47a72fbfe3a72770
4SHA512 (fping-4.4.tar.gz) = 8c9ff78edee10ce8e02a0d6189d4a2d91cc60954740c15730f8f1a17d037ee9f565828fa0dcd47a06f2746328063125704d467939d6280b44d5ac98a65e5acd0 4SHA512 (fping-5.1.tar.gz) = 1a208da8dcd99093d0512af5d85ba5e7b5743ec97993d24c1fe612bb58d93090ac1ba0952f648aa075f16d390a77c4be65e394ae56dbede2a6914e0e8c68e2bd
5Size (fping-4.4.tar.gz) = 182921 bytes 5Size (fping-5.1.tar.gz) = 191224 bytes
6SHA1 (patch-src_fping.c) = 45ac53bd4b0596b25e4815c29c65097c8fec4b7a 6SHA1 (patch-src_fping.c) = 45ac53bd4b0596b25e4815c29c65097c8fec4b7a