[521] | 1 | Summary: Utility to ping multiple hosts at once |
---|
| 2 | Name: fping |
---|
[7114] | 3 | Version: 3.4 |
---|
[521] | 4 | #Release: 0vl0.b2 |
---|
[6428] | 5 | Release: 1%{?_dist_release} |
---|
[521] | 6 | License: distributable |
---|
| 7 | Group: Applications/Internet |
---|
[7114] | 8 | URL: http://fping.org/ |
---|
[521] | 9 | |
---|
[7114] | 10 | Source: http://fping.org/dist/%{name}-%{version}.tar.gz |
---|
[521] | 11 | |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 13 | |
---|
[6428] | 14 | Vendor: Project Vine |
---|
| 15 | Distribution: Vine Linux |
---|
| 16 | Packager: Takemikaduchi |
---|
| 17 | |
---|
[521] | 18 | %description |
---|
| 19 | fping is a ping-like program which uses the Internet Control Message |
---|
| 20 | Protocol (ICMP) echo request to determine if a target host is responding. |
---|
| 21 | |
---|
| 22 | fping is different from ping in that you can specify any number of hosts |
---|
| 23 | on the command line, or specify a file containing the lists of hosts to |
---|
| 24 | ping. Instead of trying one host until it timeouts or replies, fping will |
---|
| 25 | send out a ping packet and move on to the next host in a round-robin fashion. |
---|
| 26 | |
---|
| 27 | If a host replies, it is noted and removed from the list of hosts to check. |
---|
| 28 | If a host does not respond within a certain time limit and/or retry limit it |
---|
| 29 | will be considered unreachable. |
---|
| 30 | |
---|
| 31 | %prep |
---|
[6428] | 32 | %setup -q |
---|
[521] | 33 | |
---|
| 34 | %build |
---|
[6428] | 35 | cp src/Makefile.in src/Makefile.in.orig |
---|
| 36 | sed -i 's|CFLAGS = @CFLAGS@|CFLAGS = @CFLAGS@ -DIPV6|' src/Makefile.in |
---|
[521] | 37 | %configure |
---|
[6428] | 38 | %{__make} %{?_smp_mflags} |
---|
| 39 | %{__mv} -f src/fping fping6 |
---|
[521] | 40 | |
---|
[6428] | 41 | %{__make} distclean |
---|
| 42 | cp src/Makefile.in.orig src/Makefile.in |
---|
| 43 | %configure |
---|
| 44 | %{__make} %{?_smp_mflags} |
---|
[521] | 45 | |
---|
| 46 | %install |
---|
[6428] | 47 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
| 48 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
[521] | 49 | |
---|
[6428] | 50 | %{__install} -m4755 fping6 $RPM_BUILD_ROOT%{_sbindir}/fping6 |
---|
| 51 | |
---|
[521] | 52 | %clean |
---|
[6428] | 53 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
[521] | 54 | |
---|
| 55 | %files |
---|
| 56 | %defattr(-, root, root, 0755) |
---|
| 57 | %doc ChangeLog COPYING README |
---|
| 58 | %doc %{_mandir}/man8/fping.8* |
---|
[6428] | 59 | %attr(4755, root, root) %{_sbindir}/fping |
---|
| 60 | %attr(4755, root, root) %{_sbindir}/fping6 |
---|
[521] | 61 | |
---|
| 62 | %changelog |
---|
[7114] | 63 | * Sun Nov 11 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4-1 |
---|
| 64 | - new upstream release |
---|
| 65 | |
---|
[6428] | 66 | * Mon Jun 25 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2-1 |
---|
| 67 | - update to 3.2 |
---|
| 68 | - remove old patches |
---|
| 69 | |
---|
[521] | 70 | * Sat Aug 16 2008 Shu KONNO <owa@bg.wakwak.com> 2.4-1.b2vl5 |
---|
| 71 | - applied new versioning policy |
---|
| 72 | |
---|
| 73 | * Tue Nov 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4-0vl0.b2 |
---|
| 74 | - initial build for Vine Linux based on DAG package. |
---|
| 75 | |
---|
| 76 | * Tue Feb 15 2005 Ken Tsukahara <ken.tsukahara@tmt-d.co.jp> 2.4-1.b2 |
---|
| 77 | - Flush stdout for each line. |
---|
| 78 | - Fix stdout/stderr confusion in Patch1. |
---|
| 79 | |
---|
| 80 | * Sun Jun 01 2003 Dag Wieers <dag@wieers.com> - 2.4-0.b2 |
---|
| 81 | - Adapted version to new scheme. |
---|
| 82 | |
---|
| 83 | * Mon Feb 17 2003 Dag Wieers <dag@wieers.com> - 2.4b2-0 |
---|
| 84 | - Initial package. (using DAR) |
---|