2004-09-09 13:25:24 +00:00
|
|
|
Summary: Traces the route taken by packets over a TCP/IP network.
|
|
|
|
Name: traceroute
|
2005-11-08 10:13:52 +00:00
|
|
|
Version: 1.0.3
|
|
|
|
Release: 4
|
|
|
|
Epoch: 2
|
|
|
|
License: GPL
|
2004-09-09 13:25:24 +00:00
|
|
|
Group: Applications/Internet
|
2005-11-08 10:13:52 +00:00
|
|
|
Source: ftp://ftp.lst.de/pub/people/okir/traceroute/%{name}-%{version}.tar.bz2
|
|
|
|
Patch0: traceroute-1.0.3-compat.patch
|
2004-09-09 13:25:24 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
The traceroute utility displays the route used by IP packets on their
|
2004-09-09 13:28:23 +00:00
|
|
|
way to a specified network (or Internet) host. Traceroute displays
|
|
|
|
the IP number and host name (if possible) of the machines along the
|
|
|
|
route taken by the packets. Traceroute is used as a network debugging
|
|
|
|
tool. If you're having network connectivity problems, traceroute will
|
2004-09-09 13:25:24 +00:00
|
|
|
show you where the trouble is coming from along the route.
|
|
|
|
|
2005-11-08 10:13:52 +00:00
|
|
|
This is a small traceroute replacement that works without requiring a
|
|
|
|
setuid bit. This implementation relies on a number of features of the
|
|
|
|
2.4 Linux kernel. It also has IPv6 support, and does parallel probes,
|
|
|
|
which makes it a little faster.
|
|
|
|
|
2004-09-09 13:28:23 +00:00
|
|
|
Install traceroute if you need a tool for diagnosing network connectivity
|
|
|
|
problems.
|
|
|
|
|
2004-09-09 13:25:24 +00:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2005-11-08 10:13:52 +00:00
|
|
|
%patch0 -p1 -b .compat
|
2004-09-09 13:25:24 +00:00
|
|
|
|
|
|
|
%build
|
2004-09-09 13:30:56 +00:00
|
|
|
%ifarch s390 s390x
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
|
|
|
|
%else
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS -fpic"
|
|
|
|
%endif
|
|
|
|
export LDFLAGS="-pie"
|
2005-11-08 10:13:52 +00:00
|
|
|
|
2004-09-09 13:30:56 +00:00
|
|
|
make CCOPT="$CFLAGS"
|
2004-09-09 13:25:24 +00:00
|
|
|
|
|
|
|
%install
|
2005-11-08 10:13:52 +00:00
|
|
|
rm -rf %{buildroot}
|
|
|
|
install -m 755 -D %{name} %{buildroot}/bin/%{name}
|
|
|
|
install -m 644 -D %{name}.1 %{buildroot}%{_mandir}/man8/%{name}.8
|
|
|
|
#for IPv6 traceroute - needs change in iputils, supressed for testing
|
|
|
|
ln -sf %{name} %{buildroot}/bin/traceroute6
|
|
|
|
ln -sf %{_mandir}/man8/%{name}.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/%{name}6.8
|
2004-09-09 13:29:36 +00:00
|
|
|
|
2004-09-09 13:25:24 +00:00
|
|
|
%clean
|
2005-11-08 10:13:52 +00:00
|
|
|
rm -rf %{buildroot}
|
2004-09-09 13:25:24 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2005-11-08 10:13:52 +00:00
|
|
|
%doc ChangeLog COPYING.GPL README
|
|
|
|
/bin/traceroute*
|
2004-09-09 13:25:24 +00:00
|
|
|
%{_mandir}/man8/*
|
|
|
|
|
|
|
|
%changelog
|
2005-11-08 10:13:52 +00:00
|
|
|
* Tue Nov 08 2005 Radek Vokal <rvokal@redhat.com> 1.0.3-4
|
|
|
|
- comaptibility patch, use -s and -i options
|
|
|
|
|
|
|
|
* Thu Nov 03 2005 Robert Scheck <redhat@linuxnetz.de> 1.0.3-3
|
|
|
|
- enable working IPv6 support in traceroute
|
|
|
|
- removed old compatibility links, nothing has SUID/SGID
|
|
|
|
- added some documentation files
|
|
|
|
- don't expand rpm macros in %%changelog
|
|
|
|
|
|
|
|
* Wed Nov 02 2005 Xose Vazquez Perez <xose.vazquez@gmail.com> 1.0.3-2
|
|
|
|
- license is GPL
|
|
|
|
- remove S_ISUID from /bin/traceroute
|
|
|
|
- description of this implementation
|
|
|
|
- s/$RPM_BUILD_ROOT/%%{buildroot}
|
|
|
|
- man page needs 0644
|
|
|
|
- link it agains relative paths, it works over NFS
|
|
|
|
|
|
|
|
* Wed Nov 02 2005 Radek Vokal <rvokal@redhat.com> 1.0.3-1
|
|
|
|
- new source
|
|
|
|
|
2005-08-11 11:52:50 +00:00
|
|
|
* Thu Aug 11 2005 Radek Vokal <rvokal@redhat.com> 1.4a12-27
|
|
|
|
- fixed packet size for icmp checksum (#164466)
|
|
|
|
- small buffer-overflow fixies
|
|
|
|
|
2005-03-04 09:49:11 +00:00
|
|
|
* Fri Mar 04 2005 Radek Vokal <rvokal@redhat.com> 1.4a12-26
|
|
|
|
- gcc4 rebuilt
|
|
|
|
|
2005-02-09 13:57:53 +00:00
|
|
|
* Wed Feb 09 2005 Radek Vokal <rvokal@redhat.com> 1.4a12-25
|
|
|
|
- rebuilt
|
|
|
|
- verify icmp checksum only when -I used (#106013)
|
|
|
|
|
2004-10-11 07:54:32 +00:00
|
|
|
* Mon Oct 11 2004 Radek Vokal <rvokal@redhat.com> 1.4a12-24
|
|
|
|
- spec file updated (#135187)
|
|
|
|
|
2004-09-09 13:31:09 +00:00
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 13:30:56 +00:00
|
|
|
* Wed May 12 2004 Phil Knirsch <pknirsch@redhat.com> 1.4a12-22
|
|
|
|
- Enabled PIE for traceroute.
|
|
|
|
|
2004-09-09 13:30:09 +00:00
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 13:29:36 +00:00
|
|
|
* Mon Sep 01 2003 Phil Knirsch <pknirsch@redhat.com> 1.4a12-20.1
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Mon Sep 01 2003 Phil Knirsch <pknirsch@redhat.com> 1.4a12-20
|
|
|
|
- Added patch from Jesper Skriver supplied by Kaj J. Niemi to support
|
|
|
|
draft-ietf-mpls-icmp-02.txt.
|
|
|
|
|
|
|
|
* Thu Aug 28 2003 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
- move debuginfo stuff into proper rpms
|
|
|
|
|
|
|
|
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Tue May 13 2003 Phil Knirsch <pknirsch@redhat.com> 1.4a12-17
|
|
|
|
- Bumped release and rebuilt
|
|
|
|
|
|
|
|
* Tue May 13 2003 Phil Knirsch <pknirsch@redhat.com> 1.4a12-16
|
|
|
|
- Moved binary to /bin and symlink to old /usr/sbin place for compatibility.
|
|
|
|
|
|
|
|
* Mon May 12 2003 Phil Knirsch <pknirsch@redhat.com> 1.4a12-15
|
|
|
|
- Bumped release and rebuilt
|
|
|
|
|
|
|
|
* Mon May 12 2003 Phil Knirsch <pknirsch@redhat.com> 1.4a12-14
|
|
|
|
- Added -t option (#71790).
|
|
|
|
|
|
|
|
* Mon May 12 2003 Phil Knirsch <pknirsch@redhat.com> 1.4a12-13
|
|
|
|
- Bumped release and rebuilt
|
|
|
|
|
|
|
|
* Mon May 12 2003 Phil Knirsch <pknirsch@redhat.com> 1.4a12-12
|
|
|
|
- Switch to bz2 tarball to save space
|
|
|
|
- Added URL tag.
|
|
|
|
|
|
|
|
* Mon May 12 2003 Phil Knirsch <pknirsch@redhat.com> 1.4a12-11
|
|
|
|
- Bumped release and rebuilt
|
|
|
|
|
|
|
|
* Mon May 12 2003 Phil Knirsch <pknirsch@redhat.com> 1.4a12-10
|
|
|
|
- Added symlink to /usr/bin (#18313).
|
|
|
|
|
|
|
|
* Wed Jan 22 2003 Tim Powers <timp@redhat.com> 1.4a12-9
|
2004-09-09 13:29:00 +00:00
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Wed Jan 08 2003 Phil Knirsch <pknirsch@redhat.com> 1.4a12-8
|
|
|
|
- Yet another fix for that bug.
|
|
|
|
|
|
|
|
* Tue Nov 26 2002 Phil Knirsch <pknirsch@redhat.com> 1.4a12-7
|
|
|
|
- Added fix for -i option (#78424).
|
|
|
|
|
|
|
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com> 1.4a12-6
|
2004-09-09 13:28:38 +00:00
|
|
|
- automated rebuild
|
|
|
|
|
2004-09-09 13:28:23 +00:00
|
|
|
* Wed Jun 19 2002 Phil Knirsch <pknirsch@redhat.com> 1.4a12-5
|
|
|
|
- Don't forcibly strip binaries
|
|
|
|
|
|
|
|
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
* Wed Jan 30 2002 Phil Knirsch <pknirsch@redhat.com>
|
|
|
|
- Bumped version number for rebuild
|
2004-09-09 13:28:05 +00:00
|
|
|
|
2004-09-09 13:26:23 +00:00
|
|
|
* Mon Jun 25 2001 Philipp Knirsch <pknirsch@redhat.de>
|
|
|
|
- Updated to 1.4a12
|
|
|
|
|
2004-09-09 13:26:13 +00:00
|
|
|
* Fri Dec 1 2000 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- use RPM_OPT_FLAGS (#21279).
|
|
|
|
|
2004-09-09 13:25:50 +00:00
|
|
|
* Wed Oct 4 2000 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- check max. packet length correctly (#15917).
|
|
|
|
- support LSRR correctly (#16281).
|
|
|
|
|
2004-09-09 13:25:24 +00:00
|
|
|
* Tue Jul 18 2000 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- drop root privileges even earlier (#13466).
|
|
|
|
|
|
|
|
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
|
|
|
- automatic rebuild
|
|
|
|
|
|
|
|
* Mon Jul 10 2000 Preston Brown <pbrown@redhat.com>
|
|
|
|
- bugfix for segfault with source routing (#13466)
|
|
|
|
- fix bug tracerouting thru aliased ethernet addresses (#9351)
|
|
|
|
|
|
|
|
* Sun Jun 18 2000 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- FHS packaging.
|
|
|
|
|
|
|
|
* Fri Apr 28 2000 Bill Nottingham <notting@redhat.com>
|
|
|
|
- fix build with new stricter patch
|
|
|
|
|
|
|
|
* Mon Feb 7 2000 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- compress man pages.
|
|
|
|
|
|
|
|
* Fri Jan 14 2000 Bill Nottingham <notting@redhat.com>
|
|
|
|
- add patch for tracing to really long hostnames
|
|
|
|
|
|
|
|
* Thu May 27 1999 Richard Henderson <rth@twiddle.net>
|
|
|
|
- avoid unaligned traps writing into the output data area.
|
|
|
|
|
|
|
|
* Fri May 14 1999 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- fix segfault when host cannot be reached through if (#2819)
|
|
|
|
|
|
|
|
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- auto rebuild in the new build environment (release 14)
|
|
|
|
|
|
|
|
* Fri Mar 19 1999 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- strip binaries.
|
|
|
|
|
|
|
|
* Sun Feb 07 1999 Preston Brown <pbrown@redhat.com>
|
|
|
|
- patch added to automatically determine interface to route through
|
|
|
|
|
|
|
|
* Fri Jan 22 1999 Jeff Johnson <jbj@redhat.com>
|
2005-11-08 10:13:52 +00:00
|
|
|
- use %%configure
|
2004-09-09 13:25:24 +00:00
|
|
|
- fix 64 bit problem on alpha (#919)
|
|
|
|
|
|
|
|
* Wed Jan 13 1999 Bill Nottingham <notting@redhat.com>
|
|
|
|
- configure fix for arm
|
|
|
|
|
|
|
|
* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
|
|
|
|
- translations modified for de, fr, tr
|
|
|
|
|
|
|
|
* Tue Dec 16 1997 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- updated the security patch (ouch!). Without the glibc fix, it could be
|
|
|
|
worthless anyway
|
|
|
|
|
|
|
|
* Sat Dec 13 1997 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- added a security patch fix
|
|
|
|
|
|
|
|
* Wed Oct 22 1997 Erik Troan <ewt@redhat.com>
|
|
|
|
- added fix from Christopher Seawood
|
|
|
|
|
|
|
|
* Mon Sep 22 1997 Erik Troan <ewt@redhat.com>
|
|
|
|
- updated to 1.4a5 for security fixes; release 1 is for RH 4.2, release 2
|
|
|
|
is against glibc
|
|
|
|
|
|
|
|
* Fri Jul 18 1997 Erik Troan <ewt@redhat.com>
|
|
|
|
- built against glibc
|