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
|
|
|
#
|
2017-03-05 21:12:52 +01:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
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.
|
|
|
|
|
2008-02-08 17:57:08 +01:00
|
|
|
# Please submit bugfixes or comments via http://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
|
2017-05-11 04:33:59 +02:00
|
|
|
Version: 4.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
|
2017-06-23 02:55:55 +02:00
|
|
|
Url: http://www.fping.org
|
2012-02-08 12:27:45 +01:00
|
|
|
Source: http://fping.org/dist/%{name}-%{version}.tar.gz
|
2017-12-13 13:08:09 +01:00
|
|
|
Requires(pre): permissions
|
2008-02-08 17:57:08 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
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
|
2017-05-11 04:33:59 +02:00
|
|
|
%configure
|
2011-09-20 12:55:24 +02:00
|
|
|
make %{?_smp_mflags}
|
2007-01-16 00:12:53 +01:00
|
|
|
|
|
|
|
%install
|
2017-06-23 02:55:55 +02:00
|
|
|
%make_install
|
2007-01-16 00:12:53 +01:00
|
|
|
|
2017-12-13 13:08:09 +01:00
|
|
|
%post
|
|
|
|
%set_permissions %{_sbindir}/fping
|
|
|
|
|
|
|
|
%verifyscript
|
|
|
|
%verify_permissions -e %{_sbindir}/fping
|
|
|
|
|
2007-01-16 00:12:53 +01:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2017-05-11 04:33:59 +02:00
|
|
|
%doc CHANGELOG.md INSTALL
|
2017-06-23 02:55:55 +02:00
|
|
|
%{_mandir}/man8/fping.8%{ext_man}
|
2017-12-13 13:08:09 +01:00
|
|
|
%verify(not mode caps) %attr(0755,root,root) %{_sbindir}/fping
|
2007-01-16 00:12:53 +01:00
|
|
|
|
2008-02-08 17:57:08 +01:00
|
|
|
%changelog
|