d6a043f309
Wed Jan 17 2001 Jeff Johnson <jbj@redhat.com> - update to ss001110 - doco fixes (#23844).
155 lines
4.4 KiB
RPMSpec
155 lines
4.4 KiB
RPMSpec
Summary: The ping program for checking to see if network hosts are alive.
|
|
Name: iputils
|
|
Version: 20001110
|
|
Release: 1
|
|
Copyright: BSD
|
|
Group: System Environment/Daemons
|
|
Source0: http://ftp.sunet.se/pub/os/Linux/ip-routing/iputils-ss001110.tar.gz
|
|
Source1: bonding-0.2.tar.gz
|
|
Patch0: ping-deadline.patch
|
|
Patch1: iputils-991024.manfix
|
|
Patch2: iputils-20000418-reverseDNS.patch
|
|
Patch3: iputils-20000418-glibc22.patch
|
|
Patch4: iputils-20000418-doco.patch
|
|
Patch5: iputils-20000418-timetravel.patch
|
|
Patch6: iputils-20000418-speling.patch
|
|
Patch7: iputils-20001007-rh7.patch
|
|
Patch8: iputils-20001007-bug23844.patch
|
|
Patch9: iputils-kernel-2.4.patch
|
|
Prefix: %{_prefix}
|
|
BuildRoot: %{_tmppath}/%{name}-root
|
|
|
|
%description
|
|
The iputils package contains ping, a basic networking tool. The ping
|
|
command sends a series of ICMP protocol ECHO_REQUEST packets to a
|
|
specified network host and can tell you if that machine is alive and
|
|
receiving network traffic.
|
|
|
|
%prep
|
|
%setup -q -n %{name} -a 1
|
|
|
|
rm -f bonding-0.2/ifenslave
|
|
mv -f bonding-0.2/README bonding-0.2/README.ifenslave
|
|
|
|
%patch0 -p1 -b .deadline
|
|
#%patch1 -p1 -b .manfix
|
|
#%patch2 -p1 -b .reverseDNS
|
|
|
|
# XXX hack around <arpa/inet.h> include problem with glibc-2.2
|
|
#%patch3 -p1 -b .glibc22
|
|
|
|
#%patch4 -p1 -b .doco
|
|
#%patch5 -p1 -b .timetravel
|
|
#%patch6 -p1 -b .speling
|
|
|
|
%patch7 -p1 -b .rh7
|
|
%patch8 -p1 -b .bug23844
|
|
%patch9 -p1 -b .kernel-2.4
|
|
|
|
%build
|
|
make
|
|
make ifenslave -C bonding-0.2
|
|
|
|
%install
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_sbindir}
|
|
mkdir -p ${RPM_BUILD_ROOT}/{bin,sbin}
|
|
install -c arping ${RPM_BUILD_ROOT}%{_sbindir}/
|
|
install -c clockdiff ${RPM_BUILD_ROOT}%{_sbindir}/
|
|
%ifos linux
|
|
install -c ping ${RPM_BUILD_ROOT}/bin/
|
|
install -c bonding-0.2/ifenslave ${RPM_BUILD_ROOT}/sbin/
|
|
%else
|
|
install -c ping ${RPM_BUILD_ROOT}%{_sbindir}/
|
|
install -c bonding-0.2/ifenslave ${RPM_BUILD_ROOT}%{_sbindir}/
|
|
%endif
|
|
install -c ping6 ${RPM_BUILD_ROOT}%{_sbindir}/
|
|
install -c rdisc ${RPM_BUILD_ROOT}%{_sbindir}/
|
|
install -c tracepath ${RPM_BUILD_ROOT}%{_sbindir}/
|
|
install -c tracepath6 ${RPM_BUILD_ROOT}%{_sbindir}/
|
|
install -c traceroute6 ${RPM_BUILD_ROOT}%{_sbindir}/
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man8
|
|
install -c arping.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/
|
|
install -c clockdiff.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/
|
|
install -c in.rdisc.8c ${RPM_BUILD_ROOT}%{_mandir}/man8/in.rdisc.8
|
|
install -c ping.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/
|
|
install -c tracepath.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/
|
|
|
|
%clean
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc README RELNOTES bonding*/README.ifenslave
|
|
%{_sbindir}/arping
|
|
%{_sbindir}/clockdiff
|
|
%ifos linux
|
|
%attr(4755,root,root) /bin/ping
|
|
/sbin/ifenslave
|
|
%else
|
|
%attr(4755,root,root) %{_sbindir}/ping
|
|
%{_sbindir}/ifenslave
|
|
%endif
|
|
%{_sbindir}/ping6
|
|
%{_sbindir}/tracepath
|
|
%{_sbindir}/tracepath6
|
|
%{_sbindir}/traceroute6
|
|
%{_sbindir}/rdisc
|
|
%{_mandir}/man8/*
|
|
|
|
%changelog
|
|
* Tue Jan 16 2001 Jeff Johnson <jbj@redhat.com>
|
|
- update to ss001110
|
|
- doco fixes (#23844).
|
|
|
|
* Sun Oct 8 2000 Jeff Johnson <jbj@redhat.com>
|
|
- update to ss001007.
|
|
|
|
* Tue Aug 8 2000 Tim Waugh <twaugh@redhat.com>
|
|
- fix spelling mistake (#15714).
|
|
|
|
* Tue Aug 8 2000 Tim Waugh <twaugh@redhat.com>
|
|
- turn on -U on machines without TSC (#15223).
|
|
|
|
* Tue Aug 1 2000 Jeff Johnson <jbj@redhat.com>
|
|
- better doco patch (#15050).
|
|
|
|
* Tue Jul 25 2000 Jakub Jelinek <jakub@redhat.com>
|
|
- fix include-glibc/ to work with new glibc 2.2 resolver headers
|
|
|
|
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
|
|
- automatic rebuild
|
|
|
|
* Sun Jun 18 2000 Jeff Johnson <jbj@redhat.com>
|
|
- FHS packaging.
|
|
- update to ss000418.
|
|
- perform reverse DNS lookup only once for same input.
|
|
|
|
* Sun Mar 5 2000 Jeff Johnson <jbj@redhat.com>
|
|
- include README.ifenslave doco.
|
|
- "ping -i N" was broke for N >= 3 (#9929).
|
|
- update to ss000121:
|
|
-- clockdiff: preserve raw socket errno.
|
|
-- ping: change error exit code to 1 (used to be 92,93, ...)
|
|
-- ping,ping6: if -w specified, transmit until -c limit is reached.
|
|
-- ping,ping6: exit code non-zero if some packets not received within deadline.
|
|
|
|
* Tue Feb 22 2000 Jeff Johnson <jbj@redhat.com>
|
|
- man page corrections (#9690).
|
|
|
|
* Wed Feb 9 2000 Jeff Johnson <jbj@jbj.org>
|
|
- add ifenslave.
|
|
|
|
* Thu Feb 3 2000 Elliot Lee <sopwith@redhat.com>
|
|
- List /usr/sbin/rdisc in %files list.
|
|
|
|
* Thu Jan 27 2000 Jeff Johnson <jbj@redhat.com>
|
|
- add remaining binaries.
|
|
- casts to remove compilation warnings.
|
|
- terminate if -w deadline is reached exactly (#8724).
|
|
|
|
* Fri Dec 24 1999 Jeff Johnson <jbj@redhat.com>
|
|
- create (only ping for now, traceroute et al soon).
|