Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37516060
en ru br
ALT Linux repos
S:5.0-alt1
5.0: 2.4b2-alt4
4.1: 2.4b2-alt4
4.0: 2.4b2-alt3.M40.1
3.0: 2.4b2-alt2

Group :: Security/Networking
RPM: fping

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: fping
Version: 4.0
Release: alt1

Summary: %name - A tool to quickly ping N number of hosts to determine their reachability
Summary(ru_RU.UTF-8): аналог ping для использования в скриптах.
License: BSD with advertising
Group: Security/Networking
Url: http://www.fping.org

Source0: %name-%version.tar.gz
Source1: fping.control

%description
fping is a ping(1) like program which uses the Internet Control Message
Protocol (ICMP) echo request to determine if a host is up. fping is
different from ping in that you can specify any number of hosts on the
command line, or specify a file containing the lists of hosts to ping.
Instead of trying one host until it timeouts or replies, fping will send out
a ping packet and move on to the next host in a round-robin fashion. If a
host replies, it is noted and removed from the list of hosts to check. If a
host does not respond within a certain time limit and/or retry limit it will
be considered unreachable.

%description -l ru_RU.UTF-8
fping это аналог известной утилиты ping(1) использующей протокол ICMP для
определения доступности удаленного хоста. fping создан для использования
в perl и shell скриптах. Поддерживает возможность сканирования диапазона
адресов.

%prep
%setup -q

%build
%configure --enable-safe-limits

%make_build

%install
%make_install install DESTDIR=%buildroot

install -d %buildroot%_controldir
%__sed -e 's|-=BINNAME=-|fping|'  < %SOURCE1 > %buildroot%_controldir/fping
chmod +x %buildroot%_controldir/fping*

%pre
%pre_control fping

%post
%post_control -s restricted fping

%files
%_sbindir/*
%config %_controldir/*
%_man8dir/*
%doc INSTALL CHANGELOG.md COPYING doc/CHANGELOG.pre-v4 doc/README.1992

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin