summaryrefslogtreecommitdiff
path: root/net/fping
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2020-07-12 19:31:03 +0000
committeradam <adam@pkgsrc.org>2020-07-12 19:31:03 +0000
commit43597435a32302b5dc29f037f07c8cf3c15da45f (patch)
tree59c98b7ab66402975acf02a8dccd57d43484c501 /net/fping
parent647eca449f76ea43b62f34510e45b42346026705 (diff)
downloadpkgsrc-43597435a32302b5dc29f037f07c8cf3c15da45f.tar.gz
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 (limited to 'net/fping')
-rw-r--r--net/fping/Makefile4
-rw-r--r--net/fping/distinfo12
-rw-r--r--net/fping/patches/patch-src_fping.c16
3 files changed, 16 insertions, 16 deletions
diff --git a/net/fping/Makefile b/net/fping/Makefile
index fca0200a73d..373fdc27418 100644
--- a/net/fping/Makefile
+++ b/net/fping/Makefile
@@ -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 --git a/net/fping/distinfo b/net/fping/distinfo
index 83241ba6451..9d518647885 100644
--- a/net/fping/distinfo
+++ b/net/fping/distinfo
@@ -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 --git a/net/fping/patches/patch-src_fping.c b/net/fping/patches/patch-src_fping.c
index 0f5f2a5d4f9..0b110ced258 100644
--- a/net/fping/patches/patch-src_fping.c
+++ b/net/fping/patches/patch-src_fping.c
@@ -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.