pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/fping



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Jan  1 09:24:15 UTC 2026

Modified Files:
        pkgsrc/net/fping: Makefile distinfo
Added Files:
        pkgsrc/net/fping/patches: patch-configure patch-src_fping.c

Log Message:
fping: updated to 5.5

fping 5.5 (2025-12-31)

New features

New option -J / --json for JSON output. See doc/fping-json.md for the JSON schema. This feature is still in alpha and the schema might change in future releases
The -g, --generate option now also supports IPv6 addresses
New option --seqmap-timeout to control the time after which sequence numbers can be used again

Bugfixes and other changes

Fix OpenBSD sprintf() warning
Fix fallback to SO_TIMESTAMP if SO_TIMESTAMPNS is not available
When reading target names from file or standard input, lines longer than the static buffer are no longer interpreted as more than one line
Typo fix in error message when SO_BINDTODEVICE fails
Options --print-tos and --print-ttl now also work for IPv6, and no longer require privileges
Report received ICMPv6 error messages
Suppress duplicate reports in count mode with -q, --quiet or -Q, --squiet
Switch to alpine-based multi-stage Docker build to reduce image size and improve build performance; add OpenContainers-compatible labels
Print receive ping moved to new functions
Avoid unsigned overflow when determining the memory size to save response times on systems where size_t is the same as unsigned int
Document the new minimum value for the -p option
Fix build without IPv6 support
Fix debug build use of dbg_printf in fping.c
Remove MacOS-specific test for -I option
GitHub Actions fixes (thanks @gsnw-sebast)
Fix measurement of time for timed reports (-Q) to start after DNS name resolution.
Updated autoconf from 2.71 to 2.72
Updated automake from 1.16.5 to 1.18.1
Updated libtool from 2.4.6 to 2.5.4
Implemented verification of autotools tarballs in Github actions.
Implemented stricter flag value checking (e.g. -c 10xyz is not accepted anymore).


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/net/fping/Makefile
cvs rdiff -u -r1.23 -r1.24 pkgsrc/net/fping/distinfo
cvs rdiff -u -r0 -r1.3 pkgsrc/net/fping/patches/patch-configure
cvs rdiff -u -r0 -r1.5 pkgsrc/net/fping/patches/patch-src_fping.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/fping/Makefile
diff -u pkgsrc/net/fping/Makefile:1.27 pkgsrc/net/fping/Makefile:1.28
--- pkgsrc/net/fping/Makefile:1.27      Fri Nov 28 12:12:21 2025
+++ pkgsrc/net/fping/Makefile   Thu Jan  1 09:24:15 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.27 2025/11/28 12:12:21 adam Exp $
+# $NetBSD: Makefile,v 1.28 2026/01/01 09:24:15 adam Exp $
 
-DISTNAME=      fping-5.4
+DISTNAME=      fping-5.5
 CATEGORIES=    net
 MASTER_SITES=  http://fping.org/dist/
 

Index: pkgsrc/net/fping/distinfo
diff -u pkgsrc/net/fping/distinfo:1.23 pkgsrc/net/fping/distinfo:1.24
--- pkgsrc/net/fping/distinfo:1.23      Fri Nov 28 12:12:21 2025
+++ pkgsrc/net/fping/distinfo   Thu Jan  1 09:24:15 2026
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.23 2025/11/28 12:12:21 adam Exp $
+$NetBSD: distinfo,v 1.24 2026/01/01 09:24:15 adam Exp $
 
-BLAKE2s (fping-5.4.tar.gz) = bcfd0755764a28a7bdc6ef5bbf52c50609ba76b4613744793375e83d72e8f093
-SHA512 (fping-5.4.tar.gz) = 377032bb1a104fdf7b9cf785808ae2aa23b83e60aab7288096c5a0f27657c1c40da1390f4fe8c7d52a6c3d43b7bf7e84065443b6e7fe73b9e51715623012c6b5
-Size (fping-5.4.tar.gz) = 195770 bytes
+BLAKE2s (fping-5.5.tar.gz) = 21d05aa8b14587e9824243fed17e627c23781a2833a3d05f4fb95fd7b258afe2
+SHA512 (fping-5.5.tar.gz) = 80fddfb9462b4ed7231d96d21340e75a42a4c481b78fd70f4889422eab86405b1e4b2ee25162478f4c35f273d4a6b1ff81309af9f09121c574509bfd73b1afde
+Size (fping-5.5.tar.gz) = 215522 bytes
+SHA1 (patch-configure) = 444ef5b9335cd88378890c8f2fff14fc9faedf4d
+SHA1 (patch-src_fping.c) = b96b02f0e0f056aaa1adb090c652b520a0501fc3

Added files:

Index: pkgsrc/net/fping/patches/patch-configure
diff -u /dev/null pkgsrc/net/fping/patches/patch-configure:1.3
--- /dev/null   Thu Jan  1 09:24:15 2026
+++ pkgsrc/net/fping/patches/patch-configure    Thu Jan  1 09:24:15 2026
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure,v 1.3 2026/01/01 09:24:15 adam Exp $
+
+Portability fix.
+
+--- configure.orig     2026-01-01 09:00:42.191785818 +0000
++++ configure
+@@ -4040,7 +4040,7 @@ fi
+ done
+ 
+ fi
+-if test "x$have_ipv6" == "xyes"
++if test "x$have_ipv6" = "xyes"
+ then :
+ 
+                   for ac_header in netinet/ip6.h

Index: pkgsrc/net/fping/patches/patch-src_fping.c
diff -u /dev/null pkgsrc/net/fping/patches/patch-src_fping.c:1.5
--- /dev/null   Thu Jan  1 09:24:15 2026
+++ pkgsrc/net/fping/patches/patch-src_fping.c  Thu Jan  1 09:24:15 2026
@@ -0,0 +1,20 @@
+$NetBSD: patch-src_fping.c,v 1.5 2026/01/01 09:24:15 adam Exp $
+
+IP_RECVTOS is not available on NetBSD.
+
+--- src/fping.c.orig   2026-01-01 09:15:00.800627716 +0000
++++ src/fping.c
+@@ -712,11 +712,13 @@ int main(int argc, char **argv)
+                 ping_data_size = ICMP_TIMESTAMP_DATA_SIZE;
+             } else if (strstr(optparse_state.optlongname, "print-tos") != NULL) {
+                 print_tos_flag = 1;
++#if defined(IP_RECVTOS)
+                 if (socket4 >= 0 && (socktype4 == SOCK_DGRAM)) {
+                     if (setsockopt(socket4, IPPROTO_IP, IP_RECVTOS, &sock_opt_on, sizeof(sock_opt_on))) {
+                         perror("setsockopt IP_RECVTOS");
+                     }
+                 }
++#endif
+ #if defined(IPV6) && defined(IPV6_RECVTCLASS)
+                 if (socket6 >= 0) {
+                     if (setsockopt(socket6, IPPROTO_IPV6, IPV6_RECVTCLASS, &sock_opt_on, sizeof(sock_opt_on))) {



Home | Main Index | Thread Index | Old Index