%define rversion 2.4b2 Summary: A utility to ping multiple hosts at once. Name: fping Version: 2.4b2 Release: 7.ker.rhel3 License: Distributable Group: Applications/Internet URL: http://www.fping.com/ Source: http://www.fping.com/download/%{name}-%{rversion}.tar.gz Patch0: fping-ac_fixes.patch Patch1: fping-ipv6.patch Patch2: fping-ipv6-ac.patch BuildRoot: %{_tmppath}/root-%{name}-%{version} Prefix: %{_prefix} 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. %prep %setup -n %{name}-%{rversion} %patch0 -p1 %patch1 -p1 %patch2 -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} -m4750 fping6 %{buildroot}%{_sbindir}/ %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc ChangeLog COPYING README %doc %{_mandir}/man8/* %attr(4750, root, adm) %{_sbindir}/* %changelog * Mon Feb 16 2004 Milan Kerslager 2.4b2-7.ker.rhel3 - rebuild * Thu Dec 18 2003 Milan Kerslager 2.4b2-6_WB3 - rebuild for WhiteBoxLinux 3.0 * 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)