Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > 8592429f42c02391f7070ab490ea662d > files > 7

traceroute-1.4a12-5mdk.src.rpm

Summary: Traces the route taken by packets over a TCP/IP network.
Name: traceroute
Version: 1.4a12
Release: 5mdk
License: BSD
Group: Monitoring
URL: http://www.chiark.greenend.org.uk/ucgi/~richard/cvsweb/debfix/packages/traceroute/
Source: ftp://ftp.ee.lbl.gov/traceroute-%{version}.tar.bz2
Patch1: traceroute-1.4a5-secfix.patch.bz2
Patch3: traceroute-1.4a5-autoroute.patch.bz2
Patch4: traceroute-1.4a5-autoroute2.patch.bz2
Patch5: traceroute-1.4a5-unaligned.patch.bz2
Patch18: traceroute-1.4a12-sparcfix.patch.bz2
# (fg) 20001003 This patch fixes traceroute segfault and root exploit
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-root

%description
The traceroute utility displays the route used by IP packets on their
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
show you where the trouble is coming from along the route.

Install traceroute if you need a tool for diagnosing network connectivity
problems.

%prep
%setup -q
%patch1 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p0
%ifarch sparc sparc64
%patch18 -p1 -b .sparc
%endif

%build
export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -DHAVE_IFF_LOOPBACK -DUSE_KERNEL_ROUTING_TABLE"
%configure
make 

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p ${RPM_BUILD_ROOT}/{%{_sbindir},%{_mandir}/man8}

install traceroute ${RPM_BUILD_ROOT}/%{_sbindir}
cp traceroute.8 ${RPM_BUILD_ROOT}/%{_mandir}/man8

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%attr(4755,root,bin)	%{_sbindir}/traceroute
%{_mandir}/man8/traceroute.8.bz2

%changelog
* Sat Nov 14 2004 Stefan van der Eijk <stefan@mandrake.org> 1.4a12-5mdk
- sparc fix from Aurora linux

* Fri Jul 18 2003 Warly <warly@mandrakesoft.com> 1.4a12-4mdk
- rebuild

* Tue May 07 2002 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 1.4a12-3mdk
- Automated rebuild in gcc3.1 environment

* Tue Dec 11 2001 Warly <warly@mandrakesoft.com> 1.4a12-2mdk
- url tag

* Fri Nov  2 2001 Jeff Garzik <jgarzik@mandrakesoft.com> 1.4a12-1mdk
- New version.
- Removed patches 0, 2, 6.

* Tue Oct 03 2000 Francis Galiegue <fg@mandrakesoft.com> 1.4a5-14mdk
- Applied security fix patch

* Mon Jul 31 2000 Francis Galiegue <fg@mandrakesoft.com> 1.4a5-13mdk
- More macros
- let spec-helper do its job

* Fri Jul 21 2000 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.4a5-12mdk
- BM, macros

* Wed Apr 05 2000 John Buswell <johnb@mandrakesoft.com> 1.4a5-11mdk
- fix vendor tag

* Thu Mar 30 2000 John Buswell <johnb@mandrakesoft.com> 1.4a5-10mdk
- fix groups
- spec-helper

* Wed Jan 12 2000 Pixel <pixel@mandrakesoft.com>
- fix build as non-root (removed call to make install, done by hand)

* Thu Nov  4 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
- Fix wrong patch :-\.

* Wed Jul 21 1999 Gregus <gregus@etudiant.net>
- Add fr

* Tue Jul 12 1999 Axalon Bloodstone <axalon@linux-mandrake.com>
- bzip2 manpage

* Thu Jul  8 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>

- Merging with RH patchs :
    * avoid unaligned traps writing into the output data area.
    * 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>
- use %configure
- 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