Blame traceroute.spec

cvsdist ad6606
Summary: Traces the route taken by packets over a TCP/IP network.
cvsdist ad6606
Name: traceroute
cvsdist 391e5e
Version: 1.4a12
cvsdist 18c6c3
Release: 23
cvsdist bd2c38
License: BSD
cvsdist ad6606
Group: Applications/Internet
cvsdist 38be5d
Source: traceroute-1.4a12.tar.bz2
cvsdist ad6606
Patch0: traceroute-1.4a5-fix.patch
cvsdist ad6606
Patch1: traceroute-1.4a5-secfix.patch
cvsdist ad6606
Patch2: traceroute-1.4a5-alpha.patch
cvsdist ad6606
Patch3: traceroute-1.4a5-autoroute.patch
cvsdist ad6606
Patch4: traceroute-1.4a5-autoroute2.patch
cvsdist ad6606
Patch5: traceroute-1.4a5-unaligned.patch
cvsdist ad6606
Patch6: traceroute-1.4a5-llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch.patch
cvsdist ad6606
Patch7: traceroute-1.4a5-fhs.patch
cvsdist ad6606
Patch8: traceroute-1.4a5-sourceroute.patch
cvsdist ad6606
Patch9: traceroute-1.4a5-aliases.patch
cvsdist ad6606
Patch10: traceroute-1.4a5-droproot.patch
cvsdist 4c3209
Patch11: traceroute-1.4a5-bigpacklen.patch
cvsdist 4c3209
Patch12: traceroute-1.4a5-lsrr.patch
cvsdist bd2c38
Patch13: traceroute-1.4a12-sockopt.patch
cvsdist bd2c38
Patch14: traceroute-1.4a12-sockopt2.patch
cvsdist 38be5d
Patch15: traceroute-1.4a12-tos-monitoring.patch
cvsdist 38be5d
Patch16: traceroute-1.4a12-mpls-icmp-02.patch
cvsdist 670ee7
Patch17: traceroute-1.4a12-pie.patch
cvsdist 38be5d
URL: ftp://ftp.ee.lbl.gov/
cvsdist ad6606
Prefix: %{_prefix}
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
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
cvsdist ad6606
%patch0 -p1 -b .fix
cvsdist ad6606
%patch1 -p1 -b .secfix
cvsdist 391e5e
#%patch2 -p1 -b .alpha
cvsdist ad6606
%patch3 -p1 -b .autoroute
cvsdist ad6606
%patch4 -p1 -b .autoroute2
cvsdist 4c3209
%patch5 -p1 -b .unaligned
cvsdist ad6606
%patch6 -p1 -b .hostname
cvsdist ad6606
%patch7 -p1 -b .fhs
cvsdist 391e5e
#%patch8 -p1 -b .sourceroute
cvsdist ad6606
%patch9 -p1 -b .aliases
cvsdist 4c3209
%patch10 -p1 -b .droproot
cvsdist 4c3209
%patch11 -p1 -b .bigpacklen
cvsdist 4c3209
%patch12 -p1 -b .lsrr
cvsdist bd2c38
%patch13 -p1 -b .sockopt
cvsdist bd2c38
%patch14 -p1 -b .sockopt2
cvsdist 38be5d
%patch15 -p1 -b .tos-monitoring
cvsdist 38be5d
%patch16 -p1 -b .mpls-icmp-02
cvsdist 670ee7
%patch17 -p1 -b .pie
cvsdist ad6606
cvsdist ad6606
%build
cvsdist f0ddec
rm -f config.sub
cvsdist f0ddec
cp /usr/share/libtool/config.sub .
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"
cvsdist ad6606
%configure
cvsdist 670ee7
make CCOPT="$CFLAGS"
cvsdist ad6606
cvsdist ad6606
%install
cvsdist ad6606
rm -rf $RPM_BUILD_ROOT
cvsdist 38be5d
mkdir -p ${RPM_BUILD_ROOT}/bin
cvsdist ad6606
mkdir -p ${RPM_BUILD_ROOT}%{_sbindir}
cvsdist ad6606
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man8
cvsdist ad6606
cvsdist ad6606
make DESTDIR=${RPM_BUILD_ROOT} install install-man
cvsdist ad6606
cvsdist 38be5d
ln -s /bin/traceroute ${RPM_BUILD_ROOT}%{_sbindir}
cvsdist 38be5d
cvsdist 38be5d
# remove sugid apps to get proper debuginfo
cvsdist 38be5d
chmod 755 ${RPM_BUILD_ROOT}/bin/*
cvsdist 38be5d
cvsdist ad6606
%clean
cvsdist ad6606
rm -rf $RPM_BUILD_ROOT
cvsdist ad6606
cvsdist ad6606
%files
cvsdist ad6606
%defattr(-,root,root)
cvsdist ad6606
# this is set as 4555 by make install, which I don't really like
cvsdist 38be5d
%attr(4755,root,root)	/bin/traceroute
cvsdist 38be5d
%{_sbindir}/traceroute
cvsdist ad6606
%{_mandir}/man8/*
cvsdist ad6606
cvsdist ad6606
%changelog
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>
cvsdist ad6606
- 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