You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
1.7 KiB
64 lines
1.7 KiB
Name: fping
|
|
Version: 2.4b2
|
|
Release: 4%{?dist}
|
|
Summary: Scriptable, parallelized ping-like utility
|
|
Group: Applications/Internet
|
|
License: BSD
|
|
URL: http://www.fping.com/
|
|
Source0: http://www.fping.com/download/%{name}-%{version}_to-ipv6.tar.gz
|
|
Patch0: fping-2.4b2_ipv6-fix.diff
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
%description
|
|
fping is a ping-like program which can determine the accessibility of
|
|
multiple hosts using ICMP echo requests. fping is designed for parallelized
|
|
monitoring of large numbers of systems, and is developed with ease of
|
|
use in scripting in mind.
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{version}_to-ipv6
|
|
%patch0 -p1 -b .ipv6
|
|
|
|
%build
|
|
%configure
|
|
make CFLAGS="-DIPV6 $RPM_OPT_FLAGS"
|
|
mv fping fping6
|
|
|
|
make clean
|
|
make CFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make DESTDIR="$RPM_BUILD_ROOT" install
|
|
install -p -m 4755 fping6 "$RPM_BUILD_ROOT"/%{_sbindir}
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc ChangeLog COPYING README
|
|
%attr(4755,root,root) %{_sbindir}/fping
|
|
%attr(4755,root,root) %{_sbindir}/fping6
|
|
%{_mandir}/man8/*
|
|
|
|
%changelog
|
|
* Wed Jun 01 2005 Chris Ricker <kaboom@oobleck.net> 2.4b2-4%{?dist}
|
|
- Bump release and build
|
|
|
|
* Wed Jun 01 2005 Chris Ricker <kaboom@oobleck.net> 2.4b2-3%{?dist}
|
|
- Add dist tag
|
|
|
|
* Mon May 16 2005 Chris Ricker <kaboom@oobleck.net> 2.4b2-3
|
|
- Simplify doc packaging (Matthias Saou)
|
|
- Simplify clean (Matthias Saou)
|
|
- Don't strip fping6 binary (Matthias Saou)
|
|
- Preserve timestamps
|
|
|
|
* Wed May 11 2005 Chris Ricker <kaboom@oobleck.net> 2.4b2-2
|
|
- Fix URL and Source locations
|
|
|
|
* Wed Mar 23 2005 Chris Ricker <kaboom@oobleck.net> 2.4b2-1
|
|
- Initial package for Fedora
|
|
- IPv6 patches from Herbert Xu (Debian)
|