96571d0cf1
- 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. OBS-URL: https://build.opensuse.org/request/show/225188 OBS-URL: https://build.opensuse.org/package/show/network:utilities/fping?expand=0&rev=22
65 lines
2.1 KiB
RPMSpec
65 lines
2.1 KiB
RPMSpec
#
|
|
# spec file for package fping
|
|
#
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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 http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: fping
|
|
Url: http://www.fping.org
|
|
Version: 3.9
|
|
Release: 0
|
|
Summary: A program to ping multiple hosts
|
|
License: MIT
|
|
Group: Productivity/Networking/Diagnostic
|
|
Source: http://fping.org/dist/%{name}-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%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-ipv6 --enable-ipv4
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%makeinstall
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc ChangeLog COPYING README
|
|
%{_mandir}/man8/fping*.8*
|
|
%{_sbindir}/fping
|
|
%{_sbindir}/fping6
|
|
|
|
%changelog
|