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.16 |
---|
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 | |
---|
16 | %description |
---|
17 | The traceroute utility displays the route used by IP packets on their |
---|
18 | way to a specified network (or Internet) host. Traceroute displays |
---|
19 | the IP number and host name (if possible) of the machines along the |
---|
20 | route taken by the packets. Traceroute is used as a network debugging |
---|
21 | tool. If you're having network connectivity problems, traceroute will |
---|
22 | show you where the trouble is coming from along the route. |
---|
23 | |
---|
24 | Install traceroute if you need a tool for diagnosing network connectivity |
---|
25 | problems. |
---|
26 | |
---|
27 | %prep |
---|
28 | %setup -q |
---|
29 | #patch0 -p1 -b .compat |
---|
30 | #patch1 -p1 -b .trace_stop |
---|
31 | |
---|
32 | %build |
---|
33 | make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="" |
---|
34 | |
---|
35 | %install |
---|
36 | rm -rf $RPM_BUILD_ROOT |
---|
37 | |
---|
38 | install -d $RPM_BUILD_ROOT/bin |
---|
39 | install -m755 traceroute/traceroute $RPM_BUILD_ROOT/bin |
---|
40 | pushd $RPM_BUILD_ROOT/bin |
---|
41 | ln -s traceroute traceroute6 |
---|
42 | ln -s traceroute tracert |
---|
43 | popd |
---|
44 | |
---|
45 | install -d $RPM_BUILD_ROOT%{_mandir}/man8 |
---|
46 | install -p -m644 traceroute/traceroute.8 $RPM_BUILD_ROOT%{_mandir}/man8 |
---|
47 | pushd $RPM_BUILD_ROOT%{_mandir}/man8 |
---|
48 | ln -s traceroute.8 traceroute6.8 |
---|
49 | popd |
---|
50 | |
---|
51 | %clean |
---|
52 | rm -rf %{buildroot} |
---|
53 | |
---|
54 | %files |
---|
55 | %defattr(-,root,root) |
---|
56 | %doc COPYING README TODO CREDITS |
---|
57 | /bin/* |
---|
58 | %{_mandir}/man?/* |
---|
59 | |
---|
60 | %changelog |
---|
61 | * Wed Nov 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1:2.0.16-1 |
---|
62 | - update to 2.0.12 |
---|
63 | |
---|
64 | * Wed Apr 15 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1:2.0.12-1 |
---|
65 | - update to 2.0.12 |
---|
66 | - spec in utf-8 |
---|
67 | |
---|
68 | * Fri Mar 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1:2.0.9-1vl5 |
---|
69 | - updated to 2.0.9 |
---|
70 | |
---|
71 | * Wed Sep 20 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1:1.0.4-0vl1 |
---|
72 | - replace to new traceroute implementation. |
---|
73 | |
---|
74 | * Tue Oct 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4a12-20vl2 |
---|
75 | - fix missing traceroute executable |
---|
76 | - add real executable file of traceroute to %%files |
---|
77 | |
---|
78 | * Mon Oct 20 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4a12-20vl1 |
---|
79 | - rebuild with new toolchains |
---|
80 | - s/Copyright/License/ |
---|
81 | - based on Redhat Rawhide 1.4a12-20 |
---|
82 | |
---|
83 | * Wed Feb 20 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4a5-18vl4 |
---|
84 | - rebuild to remove rpmlib dependancy |
---|
85 | |
---|
86 | * Fri Jun 01 2001 <sagami@vinelinux.org> |
---|
87 | - 1.4a5-18vl3: quick hack for build failure and install manpage into _mandir |
---|
88 | |
---|
89 | * Mon Oct 16 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org> |
---|
90 | - 1.4a5-18vl2 |
---|
91 | - merged traceroute-1.4a5-security.patch |
---|
92 | |
---|
93 | * Mon Jul 10 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org> |
---|
94 | - 1.4a5-18vl1 |
---|
95 | - modified %patch5 -p1 -> %patch5 -p0 |
---|
96 | |
---|
97 | * Mon Feb 7 2000 Jeff Johnson <jbj@redhat.com> |
---|
98 | - compress man pages. |
---|
99 | |
---|
100 | * Fri Jan 14 2000 Bill Nottingham <notting@redhat.com> |
---|
101 | - add patch for tracing to really long hostnames |
---|
102 | |
---|
103 | * Thu May 27 1999 Richard Henderson <rth@twiddle.net> |
---|
104 | - avoid unaligned traps writing into the output data area. |
---|
105 | |
---|
106 | * Fri May 14 1999 Jeff Johnson <jbj@redhat.com> |
---|
107 | - fix segfault when host cannot be reached through if (#2819) |
---|
108 | |
---|
109 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
---|
110 | - auto rebuild in the new build environment (release 14) |
---|
111 | |
---|
112 | * Fri Mar 19 1999 Jeff Johnson <jbj@redhat.com> |
---|
113 | - strip binaries. |
---|
114 | |
---|
115 | * Sun Feb 07 1999 Preston Brown <pbrown@redhat.com> |
---|
116 | - patch added to automatically determine interface to route through |
---|
117 | |
---|
118 | * Fri Jan 22 1999 Jeff Johnson <jbj@redhat.com> |
---|
119 | - use %configure |
---|
120 | - fix 64 bit problem on alpha (#919) |
---|
121 | |
---|
122 | * Wed Jan 13 1999 Bill Nottingham <notting@redhat.com> |
---|
123 | - configure fix for arm |
---|
124 | |
---|
125 | * Mon Apr 27 1998 Prospector System <bugs@redhat.com> |
---|
126 | - translations modified for de, fr, tr |
---|
127 | |
---|
128 | * Tue Dec 16 1997 Cristian Gafton <gafton@redhat.com> |
---|
129 | - updated the security patch (ouch!). Without the glibc fix, it could be |
---|
130 | worthless anyway |
---|
131 | |
---|
132 | * Sat Dec 13 1997 Cristian Gafton <gafton@redhat.com> |
---|
133 | - added a security patch fix |
---|
134 | |
---|
135 | * Wed Oct 22 1997 Erik Troan <ewt@redhat.com> |
---|
136 | - added fix from Christopher Seawood |
---|
137 | |
---|
138 | * Mon Sep 22 1997 Erik Troan <ewt@redhat.com> |
---|
139 | - updated to 1.4a5 for security fixes; release 1 is for RH 4.2, release 2 |
---|
140 | is against glibc |
---|
141 | |
---|
142 | * Fri Jul 18 1997 Erik Troan <ewt@redhat.com> |
---|
143 | - built against glibc |
---|