|
cvsdist |
8688751 |
Summary: Tracks runtime library calls from dynamically linked executables.
|
|
cvsdist |
8688751 |
Name: ltrace
|
|
|
ce39071 |
Version: 0.4
|
|
|
b29b2e1 |
Release: 1.6
|
|
|
eab4703 |
Source: ftp://ftp.debian.org/debian/pool/main/l/ltrace/ltrace_%{version}.orig.tar.gz
|
|
|
ce39071 |
Patch0: ltrace-opt_x.patch
|
|
|
ce39071 |
Patch1: ltrace-testsuite.patch
|
|
|
a1bac0b |
Patch2: ltrace-opd.patch
|
|
|
43ee98e |
Patch3: ltrace-demangle.patch
|
|
|
b29b2e1 |
Patch4: ltrace-e_entry.patch
|
|
|
9288c75 |
License: GPL
|
|
cvsdist |
8688751 |
Group: Development/Debuggers
|
|
|
8e3bf5e |
ExclusiveArch: %{ix86} x86_64 ia64 ppc ppc64 s390 s390x alpha sparc
|
|
cvsdist |
8688751 |
Prefix: %{_prefix}
|
|
|
ce39071 |
Buildroot: %{_tmppath}/%{name}-root
|
|
|
af2d650 |
BuildRequires: elfutils-libelf-devel dejagnu
|
|
cvsdist |
8688751 |
|
|
cvsdist |
8688751 |
%description
|
|
cvsdist |
8688751 |
Ltrace is a debugging program which runs a specified command until the
|
|
cvsdist |
8688751 |
command exits. While the command is executing, ltrace intercepts and
|
|
cvsdist |
8688751 |
records both the dynamic library calls called by the executed process
|
|
cvsdist |
8688751 |
and the signals received by the executed process. Ltrace can also
|
|
cvsdist |
8688751 |
intercept and print system calls executed by the process.
|
|
cvsdist |
8688751 |
|
|
cvsdist |
8688751 |
You should install ltrace if you need a sysadmin tool for tracking the
|
|
cvsdist |
8688751 |
execution of processes.
|
|
cvsdist |
8688751 |
|
|
cvsdist |
8688751 |
%prep
|
|
cvsdist |
8688751 |
%setup -q
|
|
|
ce39071 |
%patch0 -p0
|
|
|
ce39071 |
%patch1 -p0
|
|
|
a1bac0b |
%patch2 -p1
|
|
|
43ee98e |
%patch3 -p2
|
|
|
b29b2e1 |
%patch4 -p1
|
|
|
52f6336 |
sed -i -e 's/-o root -g root//' Makefile.in
|
|
cvsdist |
8688751 |
|
|
cvsdist |
8688751 |
%build
|
|
|
67760f0 |
export CC="gcc`echo $RPM_OPT_FLAGS | sed -n 's/^.*\(-m[36][124]\).*$/ \1/p'`"
|
|
|
43ee98e |
%configure CC="$CC" LDFLAGS="$LDFLAGS -Wl,-z,relro"
|
|
cvsdist |
8688751 |
make
|
|
cvsdist |
8688751 |
|
|
cvsdist |
8688751 |
%install
|
|
|
ce39071 |
make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} docdir=%{_docdir}/ltrace-%{version}/ install
|
|
|
ce39071 |
|
|
|
ce39071 |
%check
|
|
|
ce39071 |
echo ====================TESTING=========================
|
|
|
ce39071 |
make check
|
|
|
ce39071 |
echo ====================TESTING END=====================
|
|
cvsdist |
8688751 |
|
|
cvsdist |
8688751 |
%clean
|
|
cvsdist |
8688751 |
rm -rf $RPM_BUILD_ROOT
|
|
cvsdist |
8688751 |
|
|
cvsdist |
8688751 |
%files
|
|
cvsdist |
8688751 |
%defattr(-,root,root)
|
|
cvsdist |
8688751 |
%doc COPYING README TODO BUGS ChangeLog
|
|
cvsdist |
8688751 |
%{_prefix}/bin/ltrace
|
|
cvsdist |
8688751 |
%{_mandir}/man1/ltrace.1*
|
|
cvsdist |
8688751 |
%config /etc/ltrace.conf
|
|
cvsdist |
8688751 |
|
|
cvsdist |
8688751 |
%changelog
|
|
|
b29b2e1 |
* Thu Jun 1 2006 Petr Machata <pmachata@redhat.com> - 0.4-1.6
|
|
|
b29b2e1 |
- e_entry patch: use elf's e_entry field instead of looking up _start
|
|
|
b29b2e1 |
symbol, which failed on stripped binaries.
|
|
|
b29b2e1 |
|
|
|
43ee98e |
* Tue May 3 2006 Petr Machata <pmachata@redhat.com> - 0.4-1.5
|
|
|
43ee98e |
- Correct a typo that prevented the inclusion of "demangle.h"
|
|
|
43ee98e |
- Adding -Wl,-z,relro
|
|
|
43ee98e |
|
|
|
a1bac0b |
* Mon Apr 24 2006 Petr Machata <pmachata@redhat.com> - 0.4-1.4
|
|
|
a1bac0b |
- turn off opd translation on ia64, GElf already gives us function
|
|
|
a1bac0b |
address.
|
|
|
a1bac0b |
- turn on main-internal test, it should pass now.
|
|
|
a1bac0b |
|
|
|
39ba8c9 |
* Wed Apr 12 2006 Petr Machata <pmachata@redhat.com> - 0.4-1.2
|
|
|
39ba8c9 |
- svn fix for opt_x patch
|
|
|
39ba8c9 |
- patches for testsuite for s390{,x}
|
|
|
39ba8c9 |
- turning off main-internal test. Fails on ia64, needs investigation.
|
|
|
39ba8c9 |
|
|
|
ce39071 |
* Fri Apr 7 2006 Petr Machata <pmachata@redhat.com> - 0.4-1
|
|
|
ce39071 |
- Upstream 0.4
|
|
|
ce39071 |
- opt_x patch: New structure for opt_x list elements, now with
|
|
|
ce39071 |
'found'. Using it in options.c, elf.c.
|
|
|
ce39071 |
- testsuite patch: Automated testsuite for ltrace.
|
|
|
ce39071 |
|
|
|
2eec108 |
* Wed Mar 1 2006 Petr Machata <pmachata@redhat.com> - 0.3.36-4.3
|
|
|
8e3bf5e |
- include %{ix86} to ExclusiveArch, instead of mere i386
|
|
|
8e3bf5e |
|
|
|
8bb274d |
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.3.36-4.2
|
|
|
8bb274d |
- bump again for double-long bug on ppc(64)
|
|
|
8bb274d |
|
|
|
6bd795f |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.3.36-4.1
|
|
|
6bd795f |
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
6bd795f |
|
|
|
c8e65f8 |
* Mon Jan 9 2006 Jakub Jelinek <jakub@redhat.com> 0.3.36-4
|
|
|
c8e65f8 |
- added ppc64 and s390x support (IBM)
|
|
|
c8e65f8 |
- added ia64 support (Ian Wienand)
|
|
|
0bf57fd |
|
|
|
9288c75 |
* Sat Mar 5 2005 Jakub Jelinek <jakub@redhat.com> 0.3.36-3
|
|
|
9288c75 |
- rebuilt with GCC 4
|
|
|
9288c75 |
|
|
|
9288c75 |
* Tue Dec 14 2004 Jakub Jelinek <jakub@redhat.com> 0.3.36-2
|
|
|
a29f3b5 |
- make x86_64 ltrace trace both 32-bit and 64-bit binaries (#141955,
|
|
|
a29f3b5 |
IT#55600)
|
|
|
a29f3b5 |
- fix tracing across execve
|
|
|
a29f3b5 |
- fix printf-style format handling on 64-bit arches
|
|
|
a29f3b5 |
|
|
|
eab4703 |
* Thu Nov 18 2004 Jakub Jelinek <jakub@redhat.com> 0.3.36-1
|
|
|
eab4703 |
- update to 0.3.36
|
|
|
eab4703 |
|
|
|
65e4c9f |
* Mon Oct 11 2004 Jakub Jelinek <jakub@redhat.com> 0.3.35-1
|
|
|
65e4c9f |
- update to 0.3.35
|
|
|
65e4c9f |
- update syscall tables from latest kernel source
|
|
|
65e4c9f |
|
|
cvsdist |
a9ac1c1 |
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
cvsdist |
a9ac1c1 |
- rebuilt
|
|
cvsdist |
a9ac1c1 |
|
|
cvsdist |
0ffa440 |
* Tue Jun 8 2004 Jakub Jelinek <jakub@redhat.com> 0.3.32-3
|
|
cvsdist |
0ffa440 |
- buildreq elfutils-libelf-devel (#124921)
|
|
cvsdist |
0ffa440 |
|
|
cvsdist |
66f0399 |
* Thu Apr 22 2004 Jakub Jelinek <jakub@redhat.com> 0.3.32-2
|
|
cvsdist |
66f0399 |
- fix demangling
|
|
cvsdist |
66f0399 |
|
|
cvsdist |
66f0399 |
* Thu Apr 22 2004 Jakub Jelinek <jakub@redhat.com> 0.3.32-1
|
|
cvsdist |
66f0399 |
- update to 0.3.32
|
|
cvsdist |
66f0399 |
- fix dict.c assertion (#114359)
|
|
cvsdist |
66f0399 |
- x86_64 support
|
|
cvsdist |
66f0399 |
- rewrite elf.[ch] using libelf
|
|
cvsdist |
66f0399 |
- don't rely on st_value of SHN_UNDEF symbols in binaries,
|
|
cvsdist |
66f0399 |
instead walk .rel{,a}.plt and compute the addresses (#115299)
|
|
cvsdist |
66f0399 |
- fix x86-64 support
|
|
cvsdist |
66f0399 |
- some ltrace.conf additions
|
|
cvsdist |
66f0399 |
- some format string printing fixes
|
|
cvsdist |
66f0399 |
|
|
cvsdist |
0fddda6 |
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
cvsdist |
0fddda6 |
- rebuilt
|
|
cvsdist |
0fddda6 |
|
|
cvsdist |
b4d7532 |
* Mon Feb 3 2003 Jakub Jelinek <jakub@redhat.com> 0.3.29-1
|
|
cvsdist |
b4d7532 |
- update to 0.3.29
|
|
cvsdist |
b4d7532 |
|
|
cvsdist |
b4d7532 |
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
cvsdist |
b4d7532 |
- rebuilt
|
|
cvsdist |
b4d7532 |
|
|
cvsdist |
6299e6a |
* Sun Sep 1 2002 Jakub Jelinek <jakub@redhat.com> 0.3.10-12
|
|
cvsdist |
6299e6a |
- add a bunch of missing functions to ltrace.conf
|
|
cvsdist |
6299e6a |
(like strlen, ugh)
|
|
cvsdist |
6299e6a |
|
|
cvsdist |
f9d99cc |
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
cvsdist |
f9d99cc |
- automated rebuild
|
|
cvsdist |
f9d99cc |
|
|
cvsdist |
5d64697 |
* Tue May 28 2002 Phil Knirsch <pknirsch@redhat.com>
|
|
cvsdist |
5d64697 |
- Added the 'official' s390 patch.
|
|
cvsdist |
5d64697 |
|
|
cvsdist |
9290b07 |
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
|
cvsdist |
9290b07 |
- automated rebuild
|
|
cvsdist |
9290b07 |
|
|
cvsdist |
9290b07 |
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
|
cvsdist |
9290b07 |
- automated rebuild
|
|
cvsdist |
9290b07 |
|
|
cvsdist |
996c7ed |
* Fri Jul 20 2001 Jakub Jelinek <jakub@redhat.com>
|
|
cvsdist |
996c7ed |
- fix stale symlink in documentation directory (#47749)
|
|
cvsdist |
996c7ed |
|
|
cvsdist |
c61eec4 |
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
|
|
cvsdist |
c61eec4 |
- Bump release + rebuild.
|
|
cvsdist |
c61eec4 |
|
|
cvsdist |
8688751 |
* Thu Aug 2 2000 Tim Waugh <twaugh@redhat.com>
|
|
cvsdist |
8688751 |
- fix off-by-one problem in checking syscall number
|
|
cvsdist |
8688751 |
|
|
cvsdist |
8688751 |
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
|
cvsdist |
8688751 |
- automatic rebuild
|
|
cvsdist |
8688751 |
|
|
cvsdist |
8688751 |
* Mon Jun 19 2000 Matt Wilson <msw@redhat.com>
|
|
cvsdist |
8688751 |
- rebuilt for next release
|
|
cvsdist |
8688751 |
- patched Makefile.in to take a hint on mandir (patch2)
|
|
cvsdist |
8688751 |
- use %%{_mandir} and %%makeinstall
|
|
cvsdist |
8688751 |
|
|
cvsdist |
8688751 |
* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
|
|
cvsdist |
8688751 |
- fix description
|
|
cvsdist |
8688751 |
|
|
cvsdist |
8688751 |
* Fri Jan 7 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
8688751 |
- update to 0.3.10.
|
|
cvsdist |
8688751 |
- include (but don't apply) sparc patch from Jakub Jellinek.
|
|
cvsdist |
8688751 |
|
|
cvsdist |
8688751 |
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
|
cvsdist |
8688751 |
- auto rebuild in the new build environment (release 2)
|
|
cvsdist |
8688751 |
|
|
cvsdist |
8688751 |
* Fri Mar 12 1999 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
8688751 |
- update to 0.3.6.
|
|
cvsdist |
8688751 |
|
|
cvsdist |
8688751 |
* Mon Sep 21 1998 Preston Brown <pbrown@redhat.com>
|
|
cvsdist |
8688751 |
- upgraded to 0.3.4
|