Blame traceroute.spec

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