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
|
|
|
#
|
2012-02-08 12:27:45 +01:00
|
|
|
# Copyright (c) 2012 SUSE LINUX Products 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
|
|
|
#
|
|
|
|
|
2008-02-08 17:57:08 +01:00
|
|
|
Name: fping
|
2012-02-08 12:27:45 +01:00
|
|
|
Url: http://www.fping.org
|
|
|
|
Version: 3.0
|
|
|
|
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
|
2012-02-08 12:27:45 +01:00
|
|
|
Source: http://fping.org/dist/%{name}-%{version}.tar.gz
|
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
|
2012-02-08 12:27:45 +01:00
|
|
|
%setup
|
2007-01-16 00:12:53 +01:00
|
|
|
|
|
|
|
%build
|
2008-02-08 17:57:08 +01:00
|
|
|
%configure
|
2011-09-20 12:55:24 +02:00
|
|
|
make %{?_smp_mflags}
|
2007-01-16 00:12:53 +01:00
|
|
|
|
|
|
|
%install
|
2008-02-08 17:57:08 +01:00
|
|
|
%makeinstall
|
2007-01-16 00:12:53 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2008-02-08 17:57:08 +01:00
|
|
|
%doc ChangeLog COPYING README
|
2007-01-16 00:12:53 +01:00
|
|
|
%doc %{_mandir}/man8/fping.8.gz
|
2012-02-08 12:27:45 +01:00
|
|
|
%{_sbindir}/fping
|
2007-01-16 00:12:53 +01:00
|
|
|
|
2008-02-08 17:57:08 +01:00
|
|
|
%changelog
|