auto-import strace-4.3-1 from strace-4.3-1.src.rpm

This commit is contained in:
cvsdist 2004-09-09 12:42:51 +00:00
parent 6afb67f218
commit 40c20297e1
3 changed files with 39 additions and 44 deletions

View File

@ -1 +1 @@
strace-20010119.tar.gz strace-4.3.tar.gz

View File

@ -1 +1 @@
2beded9151146db9f84755005061aef9 strace-20010119.tar.gz 7374eb6a2abc45ece28bb192ee127c56 strace-4.3.tar.gz

View File

@ -1,28 +1,23 @@
%define CVSDATE 20010119
Summary: Tracks and displays system calls associated with a running process. Summary: Tracks and displays system calls associated with a running process.
Name: strace Name: strace
Version: 4.2.%{CVSDATE} Version: 4.3
Release: 7 Release: 1
Copyright: distributable License: BSD
Group: Development/Debuggers Group: Development/Debuggers
URL: http://www.wi.leidenuniv.nl/~wichert/strace URL: http://sourceforge.net/projects/strace/
Source0: strace-%{CVSDATE}.tar.gz Source0: %{name}-%{version}.tar.gz
Patch1: strace-4.2-sparc.patch Patch1: strace-4.2-sparc.patch
Patch2: strace-4.2-module.patch
Patch3: strace-4.2-sparc2.patch Patch3: strace-4.2-sparc2.patch
Patch4: strace-4.2-putmsg.patch Patch4: strace-4.2-putmsg.patch
Patch5: strace-4.2-newsysc.patch #Patch5: strace-4.2-newsysc.patch
Patch6: strace-4.2-getdents64.patch #Patch6: strace-4.2-getdents64.patch
Patch7: strace-4.2-sparc3.patch Patch7: strace-4.2-sparc3.patch
Patch8: strace-4.2-ia64.patch Patch8: strace-4.2.2-s390.patch
Patch9: strace-4.2-sparc4.patch Patch9: strace-4.3-ia64.patch
Patch10: strace-4.2.2-include.patch Patch10: strace-4.2-sparc4.patch
Patch11: strace-4.2-time.patch Patch11: strace-4.2.2-include.patch
Patch12: strace-4.2.20010119-s390.patch
Patch13: strace-4.2.20010119-s390-1.patch
BuildRoot: %{_tmppath}/%{name}-root BuildRoot: %{_tmppath}/%{name}-root
BuildPrereq: autoconf
%description %description
The strace program intercepts and records the system calls called and The strace program intercepts and records the system calls called and
@ -35,54 +30,54 @@ Install strace if you need a tool to track the system calls made and
received by a process. received by a process.
%prep %prep
%setup -q -n strace %setup -q
%patch2 -p1 -b .module
%patch4 -p1 -b .putmsg %patch4 -p1 -b .putmsg
%ifnarch s390
%patch5 -p1 -b .newsysc #%ifnarch s390
%patch6 -p1 -b .getdents64 #%patch5 -p1 -b .newsysc
#%patch6 -p1 -b .getdents64
#%endif
%ifarch s390 s390x
%patch8 -p1 -b .s390
%endif %endif
%ifarch ia64 %ifarch ia64
%patch8 -p1 -b .ia64 %patch9 -p1 -b .ia64
%endif %endif
%ifarch sparc sparc64 %ifarch sparc sparc64
%patch1 -p1 -b .sparc %patch1 -p1 -b .sparc
%patch3 -p1 -b .sparc2 %patch3 -p1 -b .sparc2
%patch7 -p1 -b .sparc3 %patch7 -p1 -b .sparc3
%patch9 -p1 -b .sparc4 %patch10 -p1 -b .sparc4
%endif
%patch10 -p1 -b .incl
%patch11 -p1 -b .time
%ifarch s390 s390x
%patch12 -p1 -b .s390
%patch13 -p1 -b .s390-1
%endif %endif
%patch11 -p1 -b .incl
%build %build
./cvsbuild ./cvsbuild
%configure %configure
make make
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf %{buildroot}
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1 mkdir -p %{buildroot}%{_mandir}/man1
mkdir -p ${RPM_BUILD_ROOT}%{_prefix}/bin mkdir -p %{buildroot}%{_bindir}
%makeinstall man1dir=${RPM_BUILD_ROOT}%{_mandir}/man1 %makeinstall man1dir=%{buildroot}%{_mandir}/man1
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf %{buildroot}
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_prefix}/bin/strace %{_bindir}/strace
%{_mandir}/man1/strace.1* %{_mandir}/man1/*
%changelog %changelog
* Thu Oct 23 2001 Karsten Hopp <karsten@redhat.de> * Wed Jul 18 2001 Preston Brown <pbrown@redhat.com> 4.3-1
- new patch from IBM - new upstream version. Seems to have integrated most new syscalls
- tracing threaded programs is now functional.
* Thu Jul 05 2001 Karsten Hopp <karsten@redhat.de>
- new patch from IBM
* Mon Jun 11 2001 Than Ngo <than@redhat.com> * Mon Jun 11 2001 Than Ngo <than@redhat.com>
- port s390 patches from IBM - port s390 patches from IBM