2006-12-19 00:17:52 +01:00
|
|
|
#
|
2011-04-12 12:26:00 +02:00
|
|
|
# spec file for package strace
|
2006-12-19 00:17:52 +01:00
|
|
|
#
|
- updated to 4.7
* Changes in behavior
* strace no longer suspends waitpid until there is a child
for waitpid'ing process to collect status from.
* strace no longer detaches from a tracee which is supposed
to be going to die.
* strace now issues a new message: "+++ exited with EXITCODE +++"
which shows exact moment strace got exit notification,
analogous to existing "+++ killed by SIG +++" message.
* Improvements
* Added x32 personality support (x86_64 architecture).
* Added -y and -P options to print file descriptor paths and
filter by those paths.
* Added -I option to control strace interactivity.
* Allowed -p option to take comma or whitespace-separated list of PIDs.
* Added strace_log_merge script helper to merge timestamped "strace -ff"
log files.
* Implemented decoding of clock_adjtime, get_robust_list, migrate_pages,
preadv, prlimit64, process_vm_readv, process_vm_writev, pwritev,
recvmmsg, recvmsg, rt_tgsigqueueinfo, sendmmsg, setns, set_robust_list,
sched_rr_get_interval, splice, syslog, tee and vmsplice syscalls.
* Enhanced decoding of capget, capset, getrlimit, flistxattr, io_submit,
listxattr, setrlimit and swapon syscalls.
* Implemented decoding of loop and mtd ioctls.
* Added syscall entries for new linux syscalls.
* Added syscall entries for direct socket system calls on powerpc.
* Updated the list of errno constants.
* Updated lists of MSG_*, STA_*, and TCP_* constants.
* Regenerated the list of ioctl names from Linux 3.3.
OBS-URL: https://build.opensuse.org/package/show/devel:tools/strace?expand=0&rev=22
2012-05-03 13:03:48 +02:00
|
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2006-12-19 00:17:52 +01:00
|
|
|
#
|
2008-08-06 01:58:14 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2006-12-19 00:17:52 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: strace
|
- updated to 4.7
* Changes in behavior
* strace no longer suspends waitpid until there is a child
for waitpid'ing process to collect status from.
* strace no longer detaches from a tracee which is supposed
to be going to die.
* strace now issues a new message: "+++ exited with EXITCODE +++"
which shows exact moment strace got exit notification,
analogous to existing "+++ killed by SIG +++" message.
* Improvements
* Added x32 personality support (x86_64 architecture).
* Added -y and -P options to print file descriptor paths and
filter by those paths.
* Added -I option to control strace interactivity.
* Allowed -p option to take comma or whitespace-separated list of PIDs.
* Added strace_log_merge script helper to merge timestamped "strace -ff"
log files.
* Implemented decoding of clock_adjtime, get_robust_list, migrate_pages,
preadv, prlimit64, process_vm_readv, process_vm_writev, pwritev,
recvmmsg, recvmsg, rt_tgsigqueueinfo, sendmmsg, setns, set_robust_list,
sched_rr_get_interval, splice, syslog, tee and vmsplice syscalls.
* Enhanced decoding of capget, capset, getrlimit, flistxattr, io_submit,
listxattr, setrlimit and swapon syscalls.
* Implemented decoding of loop and mtd ioctls.
* Added syscall entries for new linux syscalls.
* Added syscall entries for direct socket system calls on powerpc.
* Updated the list of errno constants.
* Updated lists of MSG_*, STA_*, and TCP_* constants.
* Regenerated the list of ioctl names from Linux 3.3.
OBS-URL: https://build.opensuse.org/package/show/devel:tools/strace?expand=0&rev=22
2012-05-03 13:03:48 +02:00
|
|
|
BuildRequires: libacl-devel
|
|
|
|
BuildRequires: libaio-devel
|
|
|
|
BuildRequires: lksctp-tools-devel
|
2008-11-02 15:45:04 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: strace-64bit
|
|
|
|
%endif
|
|
|
|
#
|
- updated to 4.7
* Changes in behavior
* strace no longer suspends waitpid until there is a child
for waitpid'ing process to collect status from.
* strace no longer detaches from a tracee which is supposed
to be going to die.
* strace now issues a new message: "+++ exited with EXITCODE +++"
which shows exact moment strace got exit notification,
analogous to existing "+++ killed by SIG +++" message.
* Improvements
* Added x32 personality support (x86_64 architecture).
* Added -y and -P options to print file descriptor paths and
filter by those paths.
* Added -I option to control strace interactivity.
* Allowed -p option to take comma or whitespace-separated list of PIDs.
* Added strace_log_merge script helper to merge timestamped "strace -ff"
log files.
* Implemented decoding of clock_adjtime, get_robust_list, migrate_pages,
preadv, prlimit64, process_vm_readv, process_vm_writev, pwritev,
recvmmsg, recvmsg, rt_tgsigqueueinfo, sendmmsg, setns, set_robust_list,
sched_rr_get_interval, splice, syslog, tee and vmsplice syscalls.
* Enhanced decoding of capget, capset, getrlimit, flistxattr, io_submit,
listxattr, setrlimit and swapon syscalls.
* Implemented decoding of loop and mtd ioctls.
* Added syscall entries for new linux syscalls.
* Added syscall entries for direct socket system calls on powerpc.
* Updated the list of errno constants.
* Updated lists of MSG_*, STA_*, and TCP_* constants.
* Regenerated the list of ioctl names from Linux 3.3.
OBS-URL: https://build.opensuse.org/package/show/devel:tools/strace?expand=0&rev=22
2012-05-03 13:03:48 +02:00
|
|
|
Version: 4.7
|
|
|
|
Release: 0
|
2006-12-19 00:17:52 +01:00
|
|
|
Summary: A utility to trace the system calls of a program
|
- updated to 4.7
* Changes in behavior
* strace no longer suspends waitpid until there is a child
for waitpid'ing process to collect status from.
* strace no longer detaches from a tracee which is supposed
to be going to die.
* strace now issues a new message: "+++ exited with EXITCODE +++"
which shows exact moment strace got exit notification,
analogous to existing "+++ killed by SIG +++" message.
* Improvements
* Added x32 personality support (x86_64 architecture).
* Added -y and -P options to print file descriptor paths and
filter by those paths.
* Added -I option to control strace interactivity.
* Allowed -p option to take comma or whitespace-separated list of PIDs.
* Added strace_log_merge script helper to merge timestamped "strace -ff"
log files.
* Implemented decoding of clock_adjtime, get_robust_list, migrate_pages,
preadv, prlimit64, process_vm_readv, process_vm_writev, pwritev,
recvmmsg, recvmsg, rt_tgsigqueueinfo, sendmmsg, setns, set_robust_list,
sched_rr_get_interval, splice, syslog, tee and vmsplice syscalls.
* Enhanced decoding of capget, capset, getrlimit, flistxattr, io_submit,
listxattr, setrlimit and swapon syscalls.
* Implemented decoding of loop and mtd ioctls.
* Added syscall entries for new linux syscalls.
* Added syscall entries for direct socket system calls on powerpc.
* Updated the list of errno constants.
* Updated lists of MSG_*, STA_*, and TCP_* constants.
* Regenerated the list of ioctl names from Linux 3.3.
OBS-URL: https://build.opensuse.org/package/show/devel:tools/strace?expand=0&rev=22
2012-05-03 13:03:48 +02:00
|
|
|
License: BSD-3-Clause
|
|
|
|
Group: Development/Tools/Debuggers
|
|
|
|
Source: http://dl.sourceforge.net/strace/strace-%{version}.tar.xz
|
2010-02-09 22:28:08 +01:00
|
|
|
Source2: baselibs.conf
|
2011-04-12 12:26:00 +02:00
|
|
|
Patch0: strace-%{version}.diff
|
2007-12-03 23:39:40 +01:00
|
|
|
Url: http://sourceforge.net/projects/strace/
|
2006-12-19 00:17:52 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
With strace, you can trace the activity of a program. Information
|
|
|
|
about any system calls the program makes and the signals it receives
|
|
|
|
and processes can be seen. Child processes can also be tracked.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Paul Kranenburg <pk@cs.few.eur.nl>
|
|
|
|
Branko Lankester <branko@hacktic.nl>
|
|
|
|
Rick Sladkey <rs@world.std.com>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2011-04-11 15:32:03 +02:00
|
|
|
%patch0 -p1
|
2006-12-19 00:17:52 +01:00
|
|
|
|
|
|
|
%build
|
2007-01-18 01:47:16 +01:00
|
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
2006-12-19 00:17:52 +01:00
|
|
|
%ifarch alpha
|
|
|
|
CFLAGS="$CFLAGS -ffixed-8"
|
|
|
|
%endif
|
2011-03-17 11:43:47 +01:00
|
|
|
%configure \
|
2010-09-27 16:04:04 +02:00
|
|
|
%ifarch %sparc
|
2011-03-17 11:43:47 +01:00
|
|
|
--host=%_target_platform
|
2010-09-27 16:04:04 +02:00
|
|
|
%endif
|
2011-03-17 12:00:29 +01:00
|
|
|
|
2010-09-27 16:04:04 +02:00
|
|
|
make %{?_smp_mflags}
|
2006-12-19 00:17:52 +01:00
|
|
|
|
2011-10-04 19:47:25 +02:00
|
|
|
# Have to exclude make check for qemu builds, which apparently don't support PTRACE.
|
|
|
|
%if !(0%{?qemu_user_space_build})
|
2011-03-16 11:52:22 +01:00
|
|
|
%check
|
2011-03-16 11:28:29 +01:00
|
|
|
make check
|
2011-10-04 19:47:25 +02:00
|
|
|
%endif
|
2011-03-16 11:28:29 +01:00
|
|
|
|
2006-12-19 00:17:52 +01:00
|
|
|
%install
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc README README-linux NEWS
|
|
|
|
%{_prefix}/bin/strace
|
|
|
|
%{_prefix}/bin/strace-graph
|
2012-05-04 11:13:42 +02:00
|
|
|
%{_prefix}/bin/strace-log-merge
|
2006-12-19 00:17:52 +01:00
|
|
|
%doc %{_mandir}/man1/strace.1.gz
|
|
|
|
|
2007-03-16 14:44:03 +01:00
|
|
|
%changelog
|