auto-import changelog data from mtr-0.49-6.src.rpm

Wed Aug 07 2002 Phil Knirsch <pknirsch@redhat.com> 0.49-6
- Desktop file fixes (#69550).
Fri Jun 21 2002 Tim Powers <timp@redhat.com>
- 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.
This commit is contained in:
cvsdist 2004-09-09 08:51:18 +00:00
parent b3ac9b39bc
commit 709e33c917
3 changed files with 45 additions and 8 deletions

View File

@ -1,12 +1,14 @@
Summary: A network diagnostic tool. Summary: A network diagnostic tool.
Name: mtr Name: mtr
Version: 0.49 Version: 0.49
Release: 1 Release: 6
Serial: 1 Serial: 2
Group: Applications/Internet Group: Applications/Internet
License: GPL License: GPL
URL: http://www.BitWizard.nl/mtr URL: http://www.BitWizard.nl/mtr
Source: ftp://ftp.bitwizard.nl/mtr/%{name}-%{version}.tar.gz Source: ftp://ftp.bitwizard.nl/mtr/%{name}-%{version}.tar.gz
Source1: xmtr.consolehelper
Source2: xmtr.pam
Patch0: %{name}-0.41-dest.patch Patch0: %{name}-0.41-dest.patch
Patch1: %{name}-0.44-nogtk.patch Patch1: %{name}-0.44-nogtk.patch
Buildroot: %{_tmppath}/%{name}-%{version}-root Buildroot: %{_tmppath}/%{name}-%{version}-root
@ -32,6 +34,8 @@ diagnostic tool.
%setup -q %setup -q
%patch0 -p1 -b .dest %patch0 -p1 -b .dest
#%patch1 -p1 -b .nogtk #%patch1 -p1 -b .nogtk
aclocal
automake -a
autoconf autoconf
%configure %configure
@ -40,7 +44,7 @@ autoconf
make && mv mtr xmtr && make distclean make && mv mtr xmtr && make distclean
# mmm, broken configure script # mmm, broken configure script
export GTK_CONFIG=/dev/null export GTK_CONFIG=/dev/null
%configure %configure
make make
@ -52,18 +56,25 @@ make DESTDIR=$RPM_BUILD_ROOT install
install -m 4755 xmtr $RPM_BUILD_ROOT/usr/X11R6/bin install -m 4755 xmtr $RPM_BUILD_ROOT/usr/X11R6/bin
install -m 644 img/mtr_icon.xpm $RPM_BUILD_ROOT/usr/share/pixmaps install -m 644 img/mtr_icon.xpm $RPM_BUILD_ROOT/usr/share/pixmaps
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
ln -s ../sbin/mtr $RPM_BUILD_ROOT/usr/bin/mtr ln -s ../sbin/mtr $RPM_BUILD_ROOT/usr/bin/mtr
mkdir -p %{buildroot}/etc/X11/applnk/Internet mkdir -p %{buildroot}/%{_datadir}/applications
cat > %{buildroot}/etc/X11/applnk/Internet/xmtr.desktop <<EOF cat > %{buildroot}/%{_datadir}/applications/net-xmtr.desktop <<EOF
[Desktop Entry] [Desktop Entry]
Name=Traceroute Name=Traceroute
Type=Application Type=Application
Comment=%{summary} Comment=Traces packets between two network hosts
Exec=xmtr Exec=xmtr
Terminal=false Terminal=false
Icon=/usr/share/pixmaps/mtr_icon.xpm Icon=/usr/share/pixmaps/mtr_icon.xpm
Encoding=UTF-8
X-Desktop-File-Install-Version=0.2
Categories=X-Red-Hat-Base;System;Application;
EOF EOF
%clean %clean
@ -78,11 +89,28 @@ if [ -d $RPM_BUILD_ROOT ]; then rm -r $RPM_BUILD_ROOT; fi
%files gtk %files gtk
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS COPYING FORMATS INSTALL NEWS README SECURITY TODO %doc AUTHORS COPYING FORMATS INSTALL NEWS README SECURITY TODO
%config(missingok) /etc/X11/applnk/Internet/xmtr.desktop %config(missingok) %{_datadir}/applications/net-xmtr.desktop
%attr(0755,root,root) /usr/X11R6/bin/xmtr %attr(0755,root,root) /usr/X11R6/bin/xmtr
/usr/share/pixmaps/mtr_icon.xpm %{_sysconfdir}/pam.d/*
%{_sysconfdir}/security/console.apps/*
%{_datadir}/pixmaps/mtr_icon.xpm
%changelog %changelog
* Wed Aug 07 2002 Phil Knirsch <pknirsch@redhat.com> 0.49-6
- Desktop file fixes (#69550).
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
- 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.
* Fri Mar 08 2002 Florian La Roche <Florian.LaRoche@redhat.de> * Fri Mar 08 2002 Florian La Roche <Florian.LaRoche@redhat.de>
- 0.49 update - 0.49 update

3
xmtr.consolehelper Normal file
View File

@ -0,0 +1,3 @@
USER=root
PROGRAM=/usr/X11R6/bin/xmtr
SESSION=true

6
xmtr.pam Normal file
View File

@ -0,0 +1,6 @@
#%PAM-1.0
auth sufficient /lib/security/pam_rootok.so
auth required /lib/security/pam_stack.so service=system-auth
session required /lib/security/pam_permit.so
session optional /lib/security/pam_xauth.so
account required /lib/security/pam_permit.so