2004-09-09 08:51:06 +00:00
|
|
|
Summary: A network diagnostic tool.
|
2004-09-09 08:50:01 +00:00
|
|
|
Name: mtr
|
2005-02-09 17:23:38 +00:00
|
|
|
Version: 0.69
|
2005-10-07 11:52:21 +00:00
|
|
|
Release: 5
|
2004-09-09 08:52:17 +00:00
|
|
|
Epoch: 2
|
2004-09-09 08:50:01 +00:00
|
|
|
Group: Applications/Internet
|
|
|
|
License: GPL
|
|
|
|
URL: http://www.BitWizard.nl/mtr
|
2004-09-09 08:50:42 +00:00
|
|
|
Source: ftp://ftp.bitwizard.nl/mtr/%{name}-%{version}.tar.gz
|
2004-09-09 08:51:18 +00:00
|
|
|
Source1: xmtr.consolehelper
|
|
|
|
Source2: xmtr.pam
|
2004-09-09 08:54:58 +00:00
|
|
|
Patch0: mtr-0.49-s390x.patch
|
2005-02-09 17:23:38 +00:00
|
|
|
Patch1: mtr-0.69-CVE-2002-0497.patch
|
2005-09-05 15:05:20 +00:00
|
|
|
Patch2: mtr-0.69-format.patch
|
2005-09-05 15:18:51 +00:00
|
|
|
Patch3: mtr-0.69-address.patch
|
2004-09-09 08:55:56 +00:00
|
|
|
BuildRequires: ncurses-devel libtermcap-devel
|
2005-02-10 15:46:25 +00:00
|
|
|
BuildRequires: automake, gtk2-devel
|
2004-09-09 08:54:58 +00:00
|
|
|
|
2004-09-09 08:50:01 +00:00
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
2004-09-09 08:51:06 +00:00
|
|
|
Mtr is a network diagnostic tool that combines ping and traceroute
|
|
|
|
into one program. Mtr provides two interfaces: an ncurses interface,
|
|
|
|
useful for using Mtr from a telnet session; and a GTK+ interface for X
|
|
|
|
(provided in the mtr-gtk package).
|
2004-09-09 08:50:01 +00:00
|
|
|
|
|
|
|
%package gtk
|
2004-09-09 08:51:06 +00:00
|
|
|
Summary: The GTK+ interface for mtr.
|
2004-09-09 08:50:01 +00:00
|
|
|
Group: Applications/Internet
|
2004-09-09 08:55:56 +00:00
|
|
|
Requires: mtr = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: usermode >= 1.37
|
2004-09-09 08:50:01 +00:00
|
|
|
|
|
|
|
%description gtk
|
2004-09-09 08:51:06 +00:00
|
|
|
The mtr-gtk package provides the GTK+ interface for the mtr network
|
|
|
|
diagnostic tool.
|
2004-09-09 08:50:01 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2004-09-09 08:52:17 +00:00
|
|
|
%patch0 -p1 -b .s390x
|
2005-02-09 17:23:38 +00:00
|
|
|
%patch1 -p1 -b .CVE-2002-0497
|
2005-09-05 15:05:20 +00:00
|
|
|
%patch2 -p1 -b .format
|
2005-09-05 15:18:51 +00:00
|
|
|
%patch3 -p1 -b .address
|
2004-09-09 08:51:18 +00:00
|
|
|
aclocal
|
|
|
|
automake -a
|
2004-09-09 08:50:03 +00:00
|
|
|
autoconf
|
2004-09-09 08:50:01 +00:00
|
|
|
|
|
|
|
%build
|
2005-02-10 15:46:25 +00:00
|
|
|
%configure --enable-gtk2 --enable-ipv6
|
2004-09-09 08:50:01 +00:00
|
|
|
make && mv mtr xmtr && make distclean
|
2004-09-09 08:54:58 +00:00
|
|
|
%configure --without-gtk --enable-ipv6
|
2004-09-09 08:55:56 +00:00
|
|
|
make %{?_smp_mflags}
|
2004-09-09 08:50:01 +00:00
|
|
|
|
|
|
|
%install
|
2004-09-09 08:55:56 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2004-09-09 08:50:01 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/{X11R6/bin,bin,sbin,share/pixmaps}
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8
|
2004-10-18 11:54:52 +00:00
|
|
|
install -m 0755 mtr $RPM_BUILD_ROOT%{_sbindir}/mtr
|
2004-09-09 08:50:22 +00:00
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
2004-09-09 08:50:01 +00:00
|
|
|
|
2004-10-18 11:54:52 +00:00
|
|
|
install -m 0755 xmtr $RPM_BUILD_ROOT/usr/X11R6/bin
|
2004-09-09 08:50:01 +00:00
|
|
|
install -m 644 img/mtr_icon.xpm $RPM_BUILD_ROOT/usr/share/pixmaps
|
2004-09-09 08:51:18 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/security/console.apps
|
|
|
|
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/%{_sysconfdir}/security/console.apps/xmtr
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/pam.d
|
|
|
|
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/xmtr
|
2004-09-09 08:51:56 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
|
|
|
|
ln -fs consolehelper $RPM_BUILD_ROOT/%{_bindir}/xmtr
|
2004-09-09 08:50:01 +00:00
|
|
|
|
2004-09-09 08:55:56 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
|
|
|
|
cat > $RPM_BUILD_ROOT/%{_datadir}/applications/net-xmtr.desktop <<EOF
|
2004-09-09 08:50:01 +00:00
|
|
|
[Desktop Entry]
|
|
|
|
Name=Traceroute
|
|
|
|
Type=Application
|
2004-09-09 08:51:18 +00:00
|
|
|
Comment=Traces packets between two network hosts
|
2004-09-09 08:50:01 +00:00
|
|
|
Exec=xmtr
|
|
|
|
Terminal=false
|
2004-09-09 08:55:08 +00:00
|
|
|
Icon=mtr_icon.xpm
|
2004-09-09 08:51:18 +00:00
|
|
|
Encoding=UTF-8
|
|
|
|
X-Desktop-File-Install-Version=0.2
|
|
|
|
Categories=X-Red-Hat-Base;System;Application;
|
2004-09-09 08:50:01 +00:00
|
|
|
EOF
|
|
|
|
|
|
|
|
%clean
|
2004-09-09 08:55:56 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2004-09-09 08:50:01 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2004-09-09 08:55:56 +00:00
|
|
|
%doc AUTHORS COPYING FORMATS NEWS README SECURITY
|
2004-09-09 08:50:01 +00:00
|
|
|
%attr(0755,root,root) %{_sbindir}/mtr
|
|
|
|
%{_mandir}/*/*
|
|
|
|
|
|
|
|
%files gtk
|
|
|
|
%defattr(-,root,root)
|
2004-09-09 08:51:18 +00:00
|
|
|
%config(missingok) %{_datadir}/applications/net-xmtr.desktop
|
2004-09-09 08:50:01 +00:00
|
|
|
%attr(0755,root,root) /usr/X11R6/bin/xmtr
|
2004-09-09 08:51:56 +00:00
|
|
|
%{_bindir}/xmtr
|
2004-09-09 08:51:18 +00:00
|
|
|
%{_sysconfdir}/pam.d/*
|
|
|
|
%{_sysconfdir}/security/console.apps/*
|
|
|
|
%{_datadir}/pixmaps/mtr_icon.xpm
|
2004-09-09 08:50:01 +00:00
|
|
|
|
|
|
|
%changelog
|
2005-10-07 11:52:21 +00:00
|
|
|
* Fri Oct 7 2005 Tomas Mraz <tmraz@redhat.com> 2:0.69-5
|
|
|
|
- use include instead of pam_stack in pam config
|
|
|
|
|
2005-09-05 15:05:20 +00:00
|
|
|
* Mon Sep 05 2005 Phil Knirsch <pknirsch@redhat.com> 2:0.69-4
|
|
|
|
- Made the output, especially for reports much more readable (#147865)
|
2005-09-05 15:18:51 +00:00
|
|
|
- Fixed --address option (#162029)
|
2005-09-05 15:05:20 +00:00
|
|
|
|
2005-03-02 16:25:38 +00:00
|
|
|
* Wed Mar 02 2005 Phil Knirsch <pknirsch@redhat.com> 2:0.69-3
|
|
|
|
- bump release and rebuild with gcc 4
|
|
|
|
|
2005-02-10 15:46:25 +00:00
|
|
|
* Thu Feb 10 2005 Karsten Hopp <karsten@redhat.de> 2:0.69-2
|
|
|
|
- build with --enable-gtk2 (John Thacker)
|
|
|
|
|
2005-02-09 17:23:38 +00:00
|
|
|
* Wed Feb 09 2005 Phil Knirsch <pknirsch@redhat.com> 2:0.69-1
|
|
|
|
- Updated to mtr-0.69
|
|
|
|
- Dropped quite a few patches
|
|
|
|
- Forewardported the CVE patch
|
|
|
|
|
2004-10-18 13:12:46 +00:00
|
|
|
* Mon Oct 18 2004 Phil Knirsch <pknirsch@redhat.com> 2:0.54-10
|
|
|
|
- rebuilt
|
|
|
|
|
2004-10-06 15:56:44 +00:00
|
|
|
* Wed Oct 06 2004 Phil Knirsch <pknirsch@redhat.com> 2:0.54-9
|
|
|
|
- Add CVE patch for security reasons (#129386)
|
|
|
|
- Add patch to fix broken --address option (#132628)
|
|
|
|
- Add patch to fix broken reverse DNS lookups for ipv6 (#134532)
|
|
|
|
|
2004-09-09 08:55:56 +00:00
|
|
|
* Tue Aug 24 2004 Warren Togami <wtogami@redhat.com> 2:0.54-8
|
|
|
|
- #121705 and other spec cleanups
|
|
|
|
- remove redundant documentation
|
|
|
|
|
2004-09-09 08:55:47 +00:00
|
|
|
* Thu Jul 01 2004 Phil Knirsch <pknirsch@redhat.com> 0.54-7
|
|
|
|
- Fixed broken behaviour with resolver SERVFAIL results (#125392)
|
|
|
|
- Added ncurses-devel libtermcap-devel as BuildPreReq (#124553)
|
|
|
|
- Added gtk+ Requires for mtr-gtk package (#121705)
|
|
|
|
|
2004-09-09 08:55:17 +00:00
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 08:55:08 +00:00
|
|
|
* Wed Apr 21 2004 Phil Knirsch <pknirsch@redhat.com> 0.54-5
|
|
|
|
- Removed absolute path for Icon in desktop file (#120170)
|
|
|
|
|
2004-09-09 08:54:58 +00:00
|
|
|
* Mon Feb 16 2004 Phil Knirsch <pknirsch@redhat.com>
|
|
|
|
- Added IPv6 patch from ftp://ftp.kame.net/pub/kame/misc/mtr-054-*
|
|
|
|
- Enabled IPv6 in mtr.
|
|
|
|
- Included fix from Robert Scheck to make GTK optional in configure.
|
|
|
|
|
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Wed Feb 04 2004 Phil Knirsch <pknirsch@redhat.com> 0.54-2
|
|
|
|
- Fix to build on current tree.
|
|
|
|
|
2004-09-09 08:53:46 +00:00
|
|
|
* Sat Oct 18 2003 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
- update to 0.54
|
|
|
|
|
2004-09-09 08:53:31 +00:00
|
|
|
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 08:52:17 +00:00
|
|
|
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Fri Nov 29 2002 Phil Knirsch <pknirsch@redhat.com> 0.52-1
|
|
|
|
- Update to latest upstream version (0.52).
|
|
|
|
|
|
|
|
* Tue Nov 12 2002 Nalin Dahyabhai <nalin@redhat.com> 0.49-9
|
|
|
|
- Remove absolute paths from the PAM configuration, ensuring that the modules
|
|
|
|
for the right arch get used on multilib systems.
|
|
|
|
- Remove Icon:.
|
|
|
|
|
|
|
|
* Tue Sep 24 2002 Bernhard Rosenkraenzer <bero@redhat.com> 0.49-7a
|
|
|
|
- Fix build on s390x
|
|
|
|
|
2004-09-09 08:51:56 +00:00
|
|
|
* Mon Aug 19 2002 Phil Knirsch <pknirsch@redhat.com> 0.49-7
|
|
|
|
- Fixed consolehelper support.
|
|
|
|
|
2004-09-09 08:51:18 +00:00
|
|
|
* Wed Aug 07 2002 Phil Knirsch <pknirsch@redhat.com> 0.49-6
|
|
|
|
- Desktop file fixes (#69550).
|
|
|
|
|
2004-09-09 08:51:56 +00:00
|
|
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com> 0.49-5
|
2004-09-09 08:51:18 +00:00
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
* Tue Jun 18 2002 Phil Knirsch <pknirsch@redhat.com> 0.49-4
|
|
|
|
- Added consolehelper support to xmtr.
|
|
|
|
|
|
|
|
* Sun May 26 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
* Wed May 22 2002 Phil Knirsch <pknirsch@redhat.com> 0.49-2
|
|
|
|
- Fixed autoFOO problems.
|
|
|
|
|
2004-09-09 08:51:06 +00:00
|
|
|
* Fri Mar 08 2002 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
- 0.49 update
|
|
|
|
|
2004-09-09 08:50:42 +00:00
|
|
|
* Thu Mar 07 2002 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
- 0.48 update
|
|
|
|
|
2004-09-09 08:50:22 +00:00
|
|
|
* Mon Jun 25 2001 Preston Brown <pbrown@redhat.com>
|
|
|
|
- 0.44 bugfix release
|
|
|
|
- fix display of icon in .desktop entry
|
|
|
|
|
2004-09-09 08:50:20 +00:00
|
|
|
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- Bump release + rebuild.
|
|
|
|
|
2004-09-09 08:50:12 +00:00
|
|
|
* Mon Feb 12 2001 Preston Brown <pbrown@redhat.com>
|
|
|
|
- don't advertise gtk support in non-gtk binary (#27172)
|
|
|
|
|
2004-09-09 08:50:03 +00:00
|
|
|
* Fri Oct 20 2000 Bill Nottingham <notting@redhat.com>
|
|
|
|
- fix autoconf check for resolver functions
|
|
|
|
|
2004-09-09 08:50:01 +00:00
|
|
|
* Fri Jul 21 2000 Bill Nottingham <notting@redhat.com>
|
|
|
|
- fix group
|
|
|
|
|
|
|
|
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
|
|
|
- automatic rebuild
|
|
|
|
|
|
|
|
* Thu Jul 6 2000 Bill Nottingham <notting@redhat.com>
|
|
|
|
- fix setuid bit
|
|
|
|
- remove symlink
|
|
|
|
- force build of non-gtk version
|
|
|
|
|
|
|
|
* Mon Jun 19 2000 Preston Brown <pbrown@redhat.com>
|
|
|
|
- disable SUID bits
|
|
|
|
- desktop entry
|
|
|
|
|
|
|
|
* Mon Jun 19 2000 Than Ngo <than@redhat.de>
|
|
|
|
- FHS fixes
|
|
|
|
|
|
|
|
* Fri May 26 2000 Preston Brown <pbrown@redhat.com>
|
|
|
|
- adopted for Winston
|
|
|
|
|
|
|
|
* Thu Aug 19 1999 Ryan Weaver <ryanw@infohwy.com>
|
|
|
|
[mtr-0.41-1]
|
|
|
|
- Added afr's patch to allow disabeling of gtk without Robn's hack.
|
|
|
|
- Made report mode report the newly added extra resolution.
|
|
|
|
|
|
|
|
* Wed Aug 18 1999 Ryan Weaver <ryanw@infohwy.com>
|
|
|
|
- renamed mtr-gtk to xmtr
|
|
|
|
- added symlink from /usr/bin/mtr to /usr/sbin/mtr
|
|
|
|
|
|
|
|
[mtr-0.40-1]
|
|
|
|
- Fixed some problems with HPUX and SunOS.
|
|
|
|
- Included Olav Kvittem's patch to do packetsize option.
|
|
|
|
- Made the timekeeping in micro seconds.
|
|
|
|
|
|
|
|
* Wed Jun 10 1999 Ryan Weaver <ryanw@infohwy.com>
|
|
|
|
[mtr-0.39-1]
|
|
|
|
- Updated to version 0.39.
|
|
|
|
|
|
|
|
* Wed Jun 9 1999 Ryan Weaver <ryanw@infohwy.com>
|
|
|
|
[mtr-0.38-1]
|
|
|
|
- Updated to version 0.38.
|
|
|
|
|
|
|
|
* Thu Apr 15 1999 Ryan Weaver <ryanw@infohwy.com>
|
|
|
|
[mtr-0.37-2]
|
|
|
|
- Changed RPM headers to conform to Red Hat Contrib|Net specs.
|
|
|
|
|
|
|
|
* Mon Apr 12 1999 Ryan Weaver <ryanw@infohwy.com>
|
|
|
|
[mtr-0.37-1]
|
|
|
|
- v0.37
|
|
|
|
- Added Bill Bogstad's "show the local host & time" patch.
|
|
|
|
- Added R. Sparks' show-last-ping patch, submitted by Philip Kizer.
|
|
|
|
|
|
|
|
- v0.36
|
|
|
|
- Added Craigs change-the-interval-on-the-fly patch.
|
|
|
|
- Added Moritz Barsnick's "do something sensible if host not found"
|
|
|
|
patch.
|
|
|
|
- Some cleanup of both Craigs and Moritz' patches.
|
|
|
|
|
|
|
|
* Wed Apr 7 1999 Ryan Weaver <ryanw@infohwy.com>
|
|
|
|
[mtr-0.35-1]
|
|
|
|
- v0.35
|
|
|
|
- Added Craig Milo Rogers pause/resume for GTK patch.
|
|
|
|
- Added Craig Milo Rogers cleanup of "reset". (restart at the beginning)
|
|
|
|
- Net_open used to send a first packet. After that the display-driver
|
|
|
|
got a chance to distort the timing by taking its time to initialize.
|
|
|
|
|
|
|
|
* Mon Apr 5 1999 Ryan Weaver <ryanw@infohwy.com>
|
|
|
|
[mtr-0.34-1]
|
|
|
|
- v0.34
|
|
|
|
- Added Matt's nifty "use the icmp unreachables to do the timing" patch.
|
|
|
|
- Added Steve Kann's pause/resume patch.
|
|
|
|
|
|
|
|
* Wed Mar 10 1999 Ryan Weaver <ryanw@infohwy.com>
|
|
|
|
[mtr-0.33-1]
|
|
|
|
- v0.33
|
|
|
|
- Fixed the Linux glibc resolver problems.
|
|
|
|
- Fixed the off-by-one problem with -c option.
|
|
|
|
|
|
|
|
* Mon Mar 8 1999 Ryan Weaver <ryanw@infohwy.com>
|
|
|
|
[mtr-0.32-1]
|
|
|
|
- v0.32
|
|
|
|
- Fixed the FreeBSD bug detection stuff.
|
|
|
|
|
|
|
|
* Fri Mar 5 1999 Ryan Weaver <ryanw@infohwy.com>
|
|
|
|
[mtr-0.31-1]
|
|
|
|
- v0.31
|
|
|
|
- Fixed a few documentation issues. -- Matt
|
|
|
|
- Changed the autoconf stuff to find the resolver library on
|
|
|
|
Solaris. -- REW
|
|
|
|
- Cleaned up the autoconf.in file a bit. -- Matt.
|
|
|
|
|
|
|
|
* Thu Mar 4 1999 Ryan Weaver <ryanw@infohwy.com>
|
|
|
|
[mtr-0.30-1]
|
|
|
|
- Build gtk version against gtk+-1.2.0
|
|
|
|
- v0.30
|
|
|
|
- Fixed a typo in the changelog (NEWS) entry for 0.27. :-)
|
|
|
|
- added use of "MTR_OPTIONS" environment variable for defaults.
|