# $Id: fping.spec 1833 2004-08-02 23:22:28Z dag $ # Authority: dag # Upstream: Thomas Dzubin %define real_version 2.4b2 Summary: Utility to ping multiple hosts at once Name: fping Version: 2.4 Release: 1.b2.dm6 License: distributable Group: Applications/Internet URL: http://www.fping.com/ Packager: Dag Wieers Vendor: Dag Apt Repository, http://dag.wieers.com/apt/ Source: http://www.fping.com/download/fping-%{real_version}.tar.gz Patch0: fping-ac_fixes.patch Patch1: fping-ipv6.patch Patch2: fping-ipv6-ac.patch Patch3: fping-2.4b2-fflush.patch Patch4: fping-2.4b2-specify_interface.patch Patch5: fping-2.4b2-no_hosts_alive_exit.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: autoconf, automake %description fping is a ping-like program which uses the Internet Control Message Protocol (ICMP) echo request to determine if a target host is responding. 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. This release includes a patch to implement an option to allow specifying the network interface to be used ('-I' option). %prep %setup -n %{name}-%{real_version} %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %{__aclocal} %{__autoconf} %{__autoheader} %{__automake} --add-missing %build %configure %{__make} %{?_smp_mflags} %{__mv} -f fping fping6 %configure --disable-ipv6 %{__make} %{?_smp_mflags} %install %{__rm} -rf %{buildroot} %makeinstall %{__install} -D -m4750 fping6 %{buildroot}%{_sbindir}/fping6 %{__ln_s} -f fping.8 %{buildroot}%{_mandir}/man8/fping6.8 %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc ChangeLog COPYING README %doc %{_mandir}/man8/fping.8* %doc %{_mandir}/man8/fping6.8* %attr(4750, root, adm) %{_sbindir}/fping %attr(4750, root, adm) %{_sbindir}/fping6 %changelog * Fri Jan 26 2007 Durval Menezes 2.4-1.b2.dm6 - Implemented "specify interface" (-I) option - Implemented "NO hosts reachable" exit code (5) * Tue Feb 15 2005 Ken Tsukahara 2.4-1.b2 - Flush stdout for each line. - Fix stdout/stderr confusion in Patch1. * Sun Jun 01 2003 Dag Wieers - 2.4-0.b2 - Adapted version to new scheme. * Mon Feb 17 2003 Dag Wieers - 2.4b2-0 - Initial package. (using DAR)