Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/fping fping: updated to 4.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/06925bad05d7
branches:  trunk
changeset: 435700:06925bad05d7
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Jul 12 19:31:03 2020 +0000

description:
fping: updated to 4.3

fping 4.3

New features

Linux unprivileged ping support
Add SIGQUIT summary support similar to ping

Bugfixes and other changes

Corrected long option name of -s to --stats
Do not fail if using fping6 with -6 flag
Fail if interface binding (-I) does not work
Fix using option -4 when fping is compiled IPv4-only
Add Azure pipeline test build
GCC 10 compatibility fixes
Macos build fix
Fix xmt stats in Netdata output
Only increase num_alive if response is not a duplicate
Use line buffering for stdout

diffstat:

 net/fping/Makefile                  |   4 ++--
 net/fping/distinfo                  |  12 ++++++------
 net/fping/patches/patch-src_fping.c |  16 ++++++++--------
 3 files changed, 16 insertions(+), 16 deletions(-)

diffs (56 lines):

diff -r dcc4ff8a34b7 -r 06925bad05d7 net/fping/Makefile
--- a/net/fping/Makefile        Sun Jul 12 17:53:46 2020 +0000
+++ b/net/fping/Makefile        Sun Jul 12 19:31:03 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.21 2020/01/26 17:31:49 rillig Exp $
+# $NetBSD: Makefile,v 1.22 2020/07/12 19:31:03 adam Exp $
 
-DISTNAME=      fping-4.2
+DISTNAME=      fping-4.3
 CATEGORIES=    net
 MASTER_SITES=  http://fping.org/dist/
 
diff -r dcc4ff8a34b7 -r 06925bad05d7 net/fping/distinfo
--- a/net/fping/distinfo        Sun Jul 12 17:53:46 2020 +0000
+++ b/net/fping/distinfo        Sun Jul 12 19:31:03 2020 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.14 2019/02/25 18:08:42 adam Exp $
+$NetBSD: distinfo,v 1.15 2020/07/12 19:31:03 adam Exp $
 
-SHA1 (fping-4.2.tar.gz) = 0a2bef2663d8db112f9787d962d7584e91177d49
-RMD160 (fping-4.2.tar.gz) = 9f28dead5ca7a2f34994e1e72e8540de3454ed45
-SHA512 (fping-4.2.tar.gz) = 2bab34dae539d942eb5e436802e6f74d57c04aa4b782f9adbd6c27830209fdb47707131f20ed966012bcec3d253c9bb3df9033a60b55bfe560af6bb1f572ee8a
-Size (fping-4.2.tar.gz) = 171409 bytes
-SHA1 (patch-src_fping.c) = c8047e60ed9693c2ad9d7f016854ca76933ea4c7
+SHA1 (fping-4.3.tar.gz) = a0f4ec475158f05f7483f31809698c1f31db1af1
+RMD160 (fping-4.3.tar.gz) = 689a93a5ada655fdaf6fc6cc544698959c70e89c
+SHA512 (fping-4.3.tar.gz) = 9304a590a9a914227331d495aae9bce434dbef6768b2efbca15bc3dddbdd2c0b8406402c0fe40f8e83740f35704b7473287ac80f7c638549174c0ec055ea8bcb
+Size (fping-4.3.tar.gz) = 182812 bytes
+SHA1 (patch-src_fping.c) = 45ac53bd4b0596b25e4815c29c65097c8fec4b7a
diff -r dcc4ff8a34b7 -r 06925bad05d7 net/fping/patches/patch-src_fping.c
--- a/net/fping/patches/patch-src_fping.c       Sun Jul 12 17:53:46 2020 +0000
+++ b/net/fping/patches/patch-src_fping.c       Sun Jul 12 19:31:03 2020 +0000
@@ -1,15 +1,15 @@
-$NetBSD: patch-src_fping.c,v 1.1 2017/05/20 11:25:50 adam Exp $
+$NetBSD: patch-src_fping.c,v 1.2 2020/07/12 19:31:03 adam Exp $
 
 Fix for NetBSD-alpha.
 
---- src/fping.c.orig   2017-04-23 16:03:08.000000000 +0000
+--- src/fping.c.orig   2020-07-11 14:27:36.000000000 +0000
 +++ src/fping.c
-@@ -1787,7 +1787,7 @@ int decode_icmp_ipv4(
-     struct icmp* icp;
-     int hlen = 0;
+@@ -1877,7 +1877,7 @@ int decode_icmp_ipv4(
+     if (!using_sock_dgram4) {
+         struct ip* ip = (struct ip*)reply_buf;
  
 -#if defined(__alpha__) && __STDC__ && !defined(__GLIBC__)
 +#if defined(__alpha__) && __STDC__ && !defined(__GLIBC__) && !defined(__NetBSD__)
-     /* The alpha headers are decidedly broken.
-      * Using an ANSI compiler, it provides ip_vhl instead of ip_hl and
-      * ip_v.  So, to get ip_hl, we mask off the bottom four bits.
+         /* The alpha headers are decidedly broken.
+          * Using an ANSI compiler, it provides ip_vhl instead of ip_hl and
+          * ip_v.  So, to get ip_hl, we mask off the bottom four bits.



Home | Main Index | Thread Index | Old Index