From e3818db45b61f424af2b6c871f917b3eca9e0a975b32294eb77abda24b7473d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 12:37:04 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main fping revision 4fbb90c37accc4335fb0c7a73d4bcdc2 --- .gitattributes | 23 +++ fping-5.1.tar.gz | 3 + fping-5.1.tar.gz.asc | 6 + fping.changes | 391 +++++++++++++++++++++++++++++++++++++++++++ fping.keyring | 42 +++++ fping.spec | 73 ++++++++ 6 files changed, 538 insertions(+) create mode 100644 .gitattributes create mode 100644 fping-5.1.tar.gz create mode 100644 fping-5.1.tar.gz.asc create mode 100644 fping.changes create mode 100644 fping.keyring create mode 100644 fping.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/fping-5.1.tar.gz b/fping-5.1.tar.gz new file mode 100644 index 0000000..fc422f3 --- /dev/null +++ b/fping-5.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1ee5268c063d76646af2b4426052e7d81a42b657e6a77d8e7d3d2e60fd7409fe +size 191224 diff --git a/fping-5.1.tar.gz.asc b/fping-5.1.tar.gz.asc new file mode 100644 index 0000000..c66ffac --- /dev/null +++ b/fping-5.1.tar.gz.asc @@ -0,0 +1,6 @@ +-----BEGIN PGP SIGNATURE----- + +iF0EABECAB0WIQSNHom4+6kgpaYJ8mFaEaIrxaH3NAUCYgAGGAAKCRBaEaIrxaH3 +NHLiAJ9bVoA0IWuG4n7lfNn0+ucrEwzDqACfTu5KTUpwaJwMf2mKMLMEmHGg6k8= +=PII3 +-----END PGP SIGNATURE----- diff --git a/fping.changes b/fping.changes new file mode 100644 index 0000000..ece8415 --- /dev/null +++ b/fping.changes @@ -0,0 +1,391 @@ +------------------------------------------------------------------- +Tue Feb 22 16:12:16 UTC 2022 - Danilo Spinella + +- Update to 5.1: + * Netdata: use host instead name as family label + * Netdata: use formatstring macro PRId64 + * Allow -4 option to be given multiple times + * Documentation fix + * Retain privileges until after privileged setsockopt + * Set bind to source only when option is set + * Fix getnameinfo not called properly for IPv4 + * Documentation updates + +------------------------------------------------------------------- +Wed Oct 7 12:20:48 UTC 2020 - Matthias Gerstner + +- no longer invoke permissions macros for fping. It now uses ICMP_RAW sockets + instead (bsc#1174504). + +------------------------------------------------------------------- +Mon Aug 17 12:40:08 UTC 2020 - Dirk Mueller + +- update to 5.0: + - In non-quiet loop and count mode, a line is printed for every lost packet + 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). + - 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) + - The reported size of received packets is now always correct on Linux even for + packets > 4096 bytes. + +------------------------------------------------------------------- +Sun Jul 26 18:11:49 UTC 2020 - Andreas Stieger + +- fping 4.4: + * Linux unprivileged ping support (ping_group_range) + * Add SIGQUIT summary support similar to ping + * bug fixes +- drop fping-4.2-gcc10-extern.patch, upstream + +------------------------------------------------------------------- +Sun Jul 12 17:22:38 UTC 2020 - Andreas Stieger + +- add upstream signing key and validate source signature + +------------------------------------------------------------------- +Sun Jun 14 15:45:06 UTC 2020 - Lars Vogdt + +- correct download URL (upstream is using .gz instead of bz2) +- refreshed fping-4.2-gcc10-extern.patch + +------------------------------------------------------------------- +Mon Jun 8 12:49:08 UTC 2020 - Kristyna Streitova + +- add fping-4.2-gcc10-extern.patch to fix build with GCC10 + +------------------------------------------------------------------- +Wed Mar 6 13:09:14 UTC 2019 - lars@linux-schulserver.de + +- bzip2 the sources +- package COPYING file instead of INSTALL file +- use permission settings only on SLE-15 and newer + +------------------------------------------------------------------- +Sat Feb 23 06:58:48 UTC 2019 - seanlew@opensuse.org + +- Update to version 4.2 + * Allow decimal numbers for -t -i -p and -Q + * New option -x/--reachable to check # of reachable hosts + * Fix build with --disable-ipv6 (#134) + * Fix hang with '-6' if the binary is named 'fping6' + * Get rid of warning 'timeout -t value' (#142) + +------------------------------------------------------------------- +Thu Sep 20 10:21:39 UTC 2018 - kstreitova@suse.com + +- Update to version 4.1 + * Fix problem when socket fd is 0 + * Fix running on servers with disabled IPv6 + * Allow running "fping -h" or "--help" even when raw socket + can't be opened + * Fix build issue with FreeBSD and IPv6 + +------------------------------------------------------------------- +Wed Dec 13 11:25:53 UTC 2017 - astieger@suse.com + +- fping now has cap_net_raw, fix build in Factory (bsc#1047921) + +------------------------------------------------------------------- +Wed Jun 21 14:52:07 UTC 2017 - tchvatal@suse.com + +- Cleanup a bit with spec-cleaner basically just to use new make_install + macro + +------------------------------------------------------------------- +Thu May 11 10:32:28 UTC 2017 - jengelh@inai.de + +- Do away with %__ macro indirections. + +------------------------------------------------------------------- +Mon May 8 16:33:22 UTC 2017 - liedke@rz.uni-mannheim.de + +- Update to version 4.0 + * feature: Auto-adjust timeout for -c/-C/-l mode to value of -p + * feature: Enforce -t timeout on reply packets, by discarding late + packets (#32) + * feature: Option -d/--rdns now always does a rdns-lookup, even for + names, as '-n' was doing until now + * feature: Keep original name if a hostname is given with -n/--name + * feature: New option -6 to force IPv6 + * feature: New option -4 to force IPv4 + * feature: IPv6 enabled by default + * feature: Long option names for all options + * feature: Unified 'fping' and 'fping6' into one binary (#80) + * feature: fping and fping6 are now unified into one binary. + * bugfix: -i/-p restrictions disabled by default + (enable with --enable-safe-limits) + * bugfix: Default interval -i changed from 25ms to 10ms + * bugfix: Fix compatibility issue with GNU Hurd + * bugfix: A C99 compiler is now required + * bugfix: Option parsing with optparse + * bugfix: New changelog file format + +------------------------------------------------------------------- +Tue Feb 28 13:06:09 UTC 2017 - liedke@rz.uni-mannheim.de + +- Update to version 3.16: + * (feature) Support kernel-timestamping of received packets (#46) + * (feature) Simplify restrictions: only -i >= 1 and -p >= 10 are + enforced now + * (bugfix) Fix option -m to return all IPs of a hostname + * (bugfix) Fix option -H (ttl) for IPv6 + * (bugfix) Fix option -M (don't fragment) for IPv6 + * (bugfix) Fix option -O (ToS) for IPv6 + * (bugfix) Fix compatibility issue with AIX (#69, @blentzgh) + * (bugfix) Fix option -q not suppressing some ICMP error messages (#83) + * (bugfix) Fix option -M expecting an argument, when it shouldn't + * (bugfix) Fix minor issues found by Coverity Scan + +- Update to version 3.15: + * (bugfix) Fix compiler errors on platforms other than Linux (related + to the new -M option, #109) + * Test suite fixes for macOS + +- Update to version 3.14: + * (feature) Ignore network and broadcast for cidrs /31 and /32 + (#102, Martin Topholm) + * (feature) New option '-M' to set the "Don't Fragment" flag + (#91, Don Bowman) + * (feature) New option '-N' to output statistics for netdata + (see: http://my-netdata.io/, #105, Costa Tsaousis) + * (feature) New option '-o' to calculate total outage time (#90, @jgerbeck) + * (bugfix) Exit code should be 2 when the hostname can't be resolved + (fixes #98, reported by @green-fox) + * (bugfix) Fix issue compliling on RHEL/Centos 7 (#95, @jbackman) + * (bugfix) Lower -i limit to 1 instead of 10 + * (bugfix) Improve interval preciseness of -Q reporting + * (bugfix) Fix occasional false positive in -Q reporting (#97) + * (bugfix) Solaris 10 portability fix (#107, Peter Bray) + +------------------------------------------------------------------- +Wed Oct 21 20:35:51 UTC 2015 - zaitor@opensuse.org + +- Update to version 3.13: + + Bugfix: Fix ICMP errors sometimes causing crashes with + fping >= 3.11. + +------------------------------------------------------------------- +Thu Oct 15 22:41:57 UTC 2015 - zaitor@opensuse.org + +- Update to version 3.12: + + Bugfix: Fix fping6 -R (#84). +- Changes from version 3.11: + + Feature: + - New option -R to use random bytes instead of NULLs (#72). + - Small documentation and performance improvements. + + Bugfix: Fix double entries with fping -u and unreachable hosts. + + Internal: Use sockaddr_storage and simplify code, so that we + can one day support both IPv4 and IPv6 with the same binary. + +------------------------------------------------------------------- +Sun May 4 21:13:42 UTC 2014 - zaitor@opensuse.org + +- Update to version 3.10: + + Fix confusing error message with -g and IPv6 addresses (#58). + + Allow option '-f' also for non-root (since setuid privileges + are dropped). + + Do not retry twice DNS lookup on DNS lookup problem. + + Remove support for NIS groups. + + Better document -B backoff-factor and when it can be used (#33) + + More tests added. + +------------------------------------------------------------------- +Sat Mar 8 20:28:18 UTC 2014 - zaitor@opensuse.org + +- Update to version 3.9: + + Fix random output on socket error (#56). + + Support ppc64le architecture by including alpha libtool + version. + + Fix compilation problem on FreeBSD (#57). + + Initial test suite and continous intergration (with + travis-ci.org / coveralls.io). + + Don't output usage information on error. +- Changes from version 3.8: + + Fix segmentation fault introduced in version 3.7 with loop mode + (#55). +- Changes from version 3.7: + + Allow running as non-root on Mac OS X by using non-privileged + ICMP (#7). + + Remove unnecessary IPv6 socket options. + + Fix again compatibility issue with FreeBSD. + + Fix fping hanging forever on permanent sendto failure. + + Fix duplicate echo reply packets causing early stop in count + mode (#53). +- Changes from version 3.6: + + Fix loop issue after 65536 pings (#12). + + Minimum ping data size is now 0. + + Removed setsockopt IPV6_CHECKSUM, which shouldn't be set and + breaks compiling on Solaris. + + Fix wrong min RTT value with -Q option (#51). +- Drop export CFLAGS="%optflags -D_GNU_SOURCE -fwhole-program", it + breaks the build. + +------------------------------------------------------------------- +Sun Aug 18 22:00:36 UTC 2013 - zaitor@opensuse.org + +- Update to version 3.5: + * Fix sprint_tm buffer size crash. + * Addded -D flag to print timestamps. + * Fix fping6 build on OS X 10.8. + * Fix compatibility issue with FreeBSD (#39). + * Fping.spec: fix setuid permissions and provides fping6. + * Re-create configure script with autoconf 2.69 for aarch64 + support (#45). + +------------------------------------------------------------------- +Thu Jan 31 02:07:20 UTC 2013 - crrodriguez@opensuse.org + +- Enable missing ipv6 support +- tweak out CFLAGS. + +------------------------------------------------------------------- +Tue Oct 16 09:52:22 UTC 2012 - puzel@suse.com + +- update to 3.4 + * Revert "Output statistics to stdout instead of stderr", because + it breaks tools assuming the output goes to stderr + +------------------------------------------------------------------- +Mon Aug 20 19:19:20 UTC 2012 - pascal.bleser@opensuse.org + +- update to 3.3: + * Do not output icmp errors with -q (#1) + * Add --enable-ipv4 and --enable-ipv6 options to configure + * Fix removing of unreachable hosts when doing loop (#13 #23) + * Fix -A for fping6 (#14) + * Fix "options inet6" breaking IPv4 name resolution (#17) + * Output statistics to stdout instead of stderr (#9) + * Set default data size to 56 bytes on all architectures (#18) + * Convert man-page source to POD for easier maintenance + * Fix error message on DNS error for IPv6 hosts (#27) + * Fix -n flag in fping6 (#28) + +------------------------------------------------------------------- +Fri Jun 8 10:32:48 UTC 2012 - wojtek@suse.cz + +-Update to 3.2 +* Improve documentation for -g option (G.W. Haywood) + * Performance optimization for big select timeouts (#10, Andrey + * Bondarenko) + * Fix restart of select call after interrupt signal (#8, Boian + * Bonev) + * Fix infinite loop caused by linked list corruption (#11, + * Boian Bonev) + + +------------------------------------------------------------------- +Sun May 20 22:11:17 UTC 2012 - zaitor@opensuse.org + +- Update to version 3.1: + + -g option (generate): exclude network and broadcast address + for cidr ranges. + + do not explicitely check if running as root, to make it + possible to install fping with linux capabilities instead of + making it setuid (setcap cap_net_raw+ep fping). + + ANSI C (C89) compiler now a requirement. + + Portability fixes. + + Reorganized source directory. + + Bugfix: fix timeout issue on Solaris. + + Man-page fixes. + + Added -H option to specify number of hops. + + Output usage information to stdout when called with -h + +------------------------------------------------------------------- +Wed Feb 8 11:19:38 UTC 2012 - puzel@suse.com + +- update to fping-3.0 + * rewritten main loop for improved performance + * -T parameter (select timeout) now obsolete + * Maintenance taken over from unresponsive previous maintainer + * New homepage: www.fping.org +- drop fping-2.4b2-fixwarnings.patch (obsolete) + +------------------------------------------------------------------- +Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de + +- Apply packaging guidelines (remove redundant/obsolete + tags/sections from specfile, etc.) + +------------------------------------------------------------------- +Wed Nov 18 15:39:24 UTC 2009 - puzel@novell.com + +- add ipv6 support (bnc#555691) + +------------------------------------------------------------------- +Fri Feb 8 14:08:50 CET 2008 - lrupp@suse.de + +- convert the Changelog to Unix +- add COPYING, remove INSTALL from docudir +- use macros +- build parallel + +------------------------------------------------------------------- +Wed Jan 25 21:36:00 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Fri May 7 11:30:05 CEST 2004 - hmacht@suse.de + +- Upgrade to version 2.4b2 + +------------------------------------------------------------------- +Thu Apr 22 16:35:26 CEST 2004 - postadal@suse.cz + +- fixed gcc warnings + +------------------------------------------------------------------- +Tue Sep 17 17:34:28 CEST 2002 - ro@suse.de + +- removed bogus self-provides + +------------------------------------------------------------------- +Mon Jun 11 14:58:35 CEST 2001 - schwab@suse.de + +- Fix alignment problem properly. + +------------------------------------------------------------------- +Wed Jul 19 14:13:50 CEST 2000 - schwab@suse.de + +- Fix alignment problem. +- Pass CFLAGS during configure run. + +------------------------------------------------------------------- +Thu Apr 13 14:47:45 CEST 2000 - nadvornik@suse.cz + +- added BuildRoot + +------------------------------------------------------------------- +Sat Feb 12 20:29:40 MET 2000 - grimmer@suse.de + +- added Group tag to spec file +- use version macro in spec file +- added full URL to Source tag +- use _mandir macro in spec file +- added CXXFLAGS to %build section + +------------------------------------------------------------------- +Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de + +- ran old prepare_spec on spec file to switch to new prepare_spec. + +------------------------------------------------------------------- +Thu Apr 22 02:26:53 MEST 1999 - ro@suse.de + +- fixed for alpha + +------------------------------------------------------------------- +Fri Jan 29 12:44:02 MET 1999 - grimmer@suse.de + +- new Package (Version 2.2b1) + diff --git a/fping.keyring b/fping.keyring new file mode 100644 index 0000000..4bc2035 --- /dev/null +++ b/fping.keyring @@ -0,0 +1,42 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v1.0.4g (SunOS) +Comment: For info see http://www.gnupg.org + +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 +l4QAniybfIs5mLY9eP2FWXyOuVVmzZ0L +=2Yp2 +-----END PGP PUBLIC KEY BLOCK----- diff --git a/fping.spec b/fping.spec new file mode 100644 index 0000000..d34963b --- /dev/null +++ b/fping.spec @@ -0,0 +1,73 @@ +# +# spec file for package fping +# +# Copyright (c) 2022 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: fping +Version: 5.1 +Release: 0 +Summary: A program to ping multiple hosts +License: MIT +Group: Productivity/Networking/Diagnostic +URL: http://www.fping.org +Source: http://fping.org/dist/%{name}-%{version}.tar.gz +Source2: http://fping.org/dist/%{name}-%{version}.tar.gz.asc +Source3: http://david.schweikert.ch/gpg-pubkey.txt#/%{name}.keyring +%if 0%{?suse_version} >= 1500 +Requires(pre): permissions +%endif + +%description +FPing is a ping-like program that 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 a list of +targets to ping. Instead of sending pings to one target until it times +out or replies, FPing sends a ping packet and moves on to the next +target in a round-robin fashion. + +In the default mode, if a target replies, it is noted and removed from +the list of targets to check. If a target does not respond within a +certain time limit or retry limit, it is designated as unreachable. +FPing also supports sending a specified number of pings to a target or +looping indefinitely (as in ping). + +Unlike ping, FPing is meant to be used in scripts. Its output is +designed to be easy to parse. + +%prep +%setup -q + +%build +%configure \ + --enable-safe-limits +%make_build + +%install +%make_install + +%files +%doc CHANGELOG.md +%if 0%{?suse_version} >= 1500 +%license COPYING +%verify(not mode caps) %attr(0755,root,root) %{_sbindir}/fping +%else +%license COPYING +%{_sbindir}/fping +%endif +%{_mandir}/man8/fping.8%{?ext_man} + +%changelog