traceroute-vl.spec 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. Summary: Traces the route taken by packets over a TCP/IP network.
  2. Summary(ja): TCP/IPネットワーク上でパケットがたどる経路をトレースするツール
  3. Name: traceroute
  4. Version: 2.0.12
  5. Release: 1%{?_dist_release}
  6. Epoch: 1
  7. License: GPL
  8. Group: Applications/Internet
  9. URL: http://traceroute.sourceforge.net
  10. Source0: http://dl.sourceforge.net/traceroute/traceroute-%{version}.tar.gz
  11. #Patch0: traceroute-1.0.4-compat.patch
  12. #Patch1: traceroute-1.0.4-trace_stop.patch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. Conflicts: iputils <= 20020927-13vl2
  15. %description
  16. The traceroute utility displays the route used by IP packets on their
  17. way to a specified network (or Internet) host. Traceroute displays
  18. the IP number and host name (if possible) of the machines along the
  19. route taken by the packets. Traceroute is used as a network debugging
  20. tool. If you're having network connectivity problems, traceroute will
  21. show you where the trouble is coming from along the route.
  22. Install traceroute if you need a tool for diagnosing network connectivity
  23. problems.
  24. %prep
  25. %setup -q
  26. #patch0 -p1 -b .compat
  27. #patch1 -p1 -b .trace_stop
  28. %build
  29. make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" LDFLAGS=""
  30. %install
  31. rm -rf $RPM_BUILD_ROOT
  32. install -d $RPM_BUILD_ROOT/bin
  33. install -m755 traceroute/traceroute $RPM_BUILD_ROOT/bin
  34. pushd $RPM_BUILD_ROOT/bin
  35. ln -s traceroute traceroute6
  36. ln -s traceroute tracert
  37. popd
  38. install -d $RPM_BUILD_ROOT%{_mandir}/man8
  39. install -p -m644 traceroute/traceroute.8 $RPM_BUILD_ROOT%{_mandir}/man8
  40. pushd $RPM_BUILD_ROOT%{_mandir}/man8
  41. ln -s traceroute.8 traceroute6.8
  42. popd
  43. %clean
  44. rm -rf %{buildroot}
  45. %files
  46. %defattr(-,root,root)
  47. %doc COPYING README TODO CREDITS
  48. /bin/*
  49. %{_mandir}/man?/*
  50. %changelog
  51. * Wed Apr 15 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1:2.0.12-1
  52. - update to 2.0.12
  53. - spec in utf-8
  54. * Fri Mar 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1:2.0.9-1vl5
  55. - updated to 2.0.9
  56. * Wed Sep 20 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1:1.0.4-0vl1
  57. - replace to new traceroute implementation.
  58. * Tue Oct 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4a12-20vl2
  59. - fix missing traceroute executable
  60. - add real executable file of traceroute to %%files
  61. * Mon Oct 20 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4a12-20vl1
  62. - rebuild with new toolchains
  63. - s/Copyright/License/
  64. - based on Redhat Rawhide 1.4a12-20
  65. * Wed Feb 20 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4a5-18vl4
  66. - rebuild to remove rpmlib dependancy
  67. * Fri Jun 01 2001 <sagami@vinelinux.org>
  68. - 1.4a5-18vl3: quick hack for build failure and install manpage into _mandir
  69. * Mon Oct 16 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  70. - 1.4a5-18vl2
  71. - merged traceroute-1.4a5-security.patch
  72. * Mon Jul 10 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  73. - 1.4a5-18vl1
  74. - modified %patch5 -p1 -> %patch5 -p0
  75. * Mon Feb 7 2000 Jeff Johnson <jbj@redhat.com>
  76. - compress man pages.
  77. * Fri Jan 14 2000 Bill Nottingham <notting@redhat.com>
  78. - add patch for tracing to really long hostnames
  79. * Thu May 27 1999 Richard Henderson <rth@twiddle.net>
  80. - avoid unaligned traps writing into the output data area.
  81. * Fri May 14 1999 Jeff Johnson <jbj@redhat.com>
  82. - fix segfault when host cannot be reached through if (#2819)
  83. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  84. - auto rebuild in the new build environment (release 14)
  85. * Fri Mar 19 1999 Jeff Johnson <jbj@redhat.com>
  86. - strip binaries.
  87. * Sun Feb 07 1999 Preston Brown <pbrown@redhat.com>
  88. - patch added to automatically determine interface to route through
  89. * Fri Jan 22 1999 Jeff Johnson <jbj@redhat.com>
  90. - use %configure
  91. - fix 64 bit problem on alpha (#919)
  92. * Wed Jan 13 1999 Bill Nottingham <notting@redhat.com>
  93. - configure fix for arm
  94. * Mon Apr 27 1998 Prospector System <bugs@redhat.com>
  95. - translations modified for de, fr, tr
  96. * Tue Dec 16 1997 Cristian Gafton <gafton@redhat.com>
  97. - updated the security patch (ouch!). Without the glibc fix, it could be
  98. worthless anyway
  99. * Sat Dec 13 1997 Cristian Gafton <gafton@redhat.com>
  100. - added a security patch fix
  101. * Wed Oct 22 1997 Erik Troan <ewt@redhat.com>
  102. - added fix from Christopher Seawood
  103. * Mon Sep 22 1997 Erik Troan <ewt@redhat.com>
  104. - updated to 1.4a5 for security fixes; release 1 is for RH 4.2, release 2
  105. is against glibc
  106. * Fri Jul 18 1997 Erik Troan <ewt@redhat.com>
  107. - built against glibc