2007-01-16 00:12:53 +01:00
|
|
|
#
|
2012-02-08 12:27:45 +01:00
|
|
|
# spec file for package fping
|
2007-01-16 00:12:53 +01:00
|
|
|
#
|
2020-06-11 12:04:32 +02:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2007-01-16 00:12:53 +01:00
|
|
|
#
|
2009-06-18 17:24:57 +02:00
|
|
|
# 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.
|
|
|
|
|
2019-03-06 14:00:54 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-16 00:12:53 +01:00
|
|
|
#
|
|
|
|
|
2012-05-21 00:30:56 +02:00
|
|
|
|
2008-02-08 17:57:08 +01:00
|
|
|
Name: fping
|
2020-08-18 16:08:52 +02:00
|
|
|
Version: 5.0
|
2012-02-08 12:27:45 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: A program to ping multiple hosts
|
2011-12-06 18:10:03 +01:00
|
|
|
License: MIT
|
2008-02-08 17:57:08 +01:00
|
|
|
Group: Productivity/Networking/Diagnostic
|
2020-06-11 12:04:32 +02:00
|
|
|
URL: http://www.fping.org
|
2020-06-14 17:43:41 +02:00
|
|
|
Source: http://fping.org/dist/%{name}-%{version}.tar.gz
|
2020-07-13 15:29:02 +02:00
|
|
|
Source2: http://fping.org/dist/%{name}-%{version}.tar.gz.asc
|
|
|
|
Source3: http://david.schweikert.ch/gpg-pubkey.txt#/%{name}.keyring
|
2019-03-06 14:10:48 +01:00
|
|
|
%if 0%{?suse_version} >= 1500
|
2017-12-13 13:08:09 +01:00
|
|
|
Requires(pre): permissions
|
2019-03-06 14:10:48 +01:00
|
|
|
%endif
|
2007-01-16 00:12:53 +01:00
|
|
|
|
|
|
|
%description
|
2008-02-08 17:57:08 +01:00
|
|
|
FPing is a ping-like program that uses the Internet Control Message
|
2007-01-16 00:12:53 +01:00
|
|
|
Protocol (ICMP) echo request to determine if a target host is
|
2008-02-08 17:57:08 +01:00
|
|
|
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
|
2007-01-16 00:12:53 +01:00
|
|
|
targets to ping. Instead of sending pings to one target until it times
|
2008-02-08 17:57:08 +01:00
|
|
|
out or replies, FPing sends a ping packet and moves on to the next
|
|
|
|
target in a round-robin fashion.
|
2007-01-16 00:12:53 +01:00
|
|
|
|
|
|
|
In the default mode, if a target replies, it is noted and removed from
|
2008-02-08 17:57:08 +01:00
|
|
|
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).
|
2007-01-16 00:12:53 +01:00
|
|
|
|
2008-02-08 17:57:08 +01:00
|
|
|
Unlike ping, FPing is meant to be used in scripts. Its output is
|
2007-01-16 00:12:53 +01:00
|
|
|
designed to be easy to parse.
|
|
|
|
|
|
|
|
%prep
|
2013-01-31 07:40:27 +01:00
|
|
|
%setup -q
|
2007-01-16 00:12:53 +01:00
|
|
|
|
|
|
|
%build
|
2020-07-27 11:20:19 +02:00
|
|
|
%configure \
|
|
|
|
--enable-safe-limits
|
2020-07-13 15:29:02 +02:00
|
|
|
%make_build
|
2007-01-16 00:12:53 +01:00
|
|
|
|
|
|
|
%install
|
2020-07-13 15:29:02 +02:00
|
|
|
%make_install
|
2007-01-16 00:12:53 +01:00
|
|
|
|
|
|
|
%files
|
2020-07-13 15:29:02 +02:00
|
|
|
%doc CHANGELOG.md
|
2019-03-06 14:10:48 +01:00
|
|
|
%if 0%{?suse_version} >= 1500
|
|
|
|
%license COPYING
|
2017-12-13 13:08:09 +01:00
|
|
|
%verify(not mode caps) %attr(0755,root,root) %{_sbindir}/fping
|
2019-03-06 14:10:48 +01:00
|
|
|
%else
|
2020-07-13 15:29:02 +02:00
|
|
|
%license COPYING
|
2019-03-06 14:10:48 +01:00
|
|
|
%{_sbindir}/fping
|
|
|
|
%endif
|
2020-07-13 15:29:02 +02:00
|
|
|
%{_mandir}/man8/fping.8%{?ext_man}
|
2007-01-16 00:12:53 +01:00
|
|
|
|
2008-02-08 17:57:08 +01:00
|
|
|
%changelog
|