X-Git-Url: https://granicus.if.org/sourcecode?a=blobdiff_plain;f=strace.spec;h=7ab1bdae1d2ee2d15d97bb060ddcfe61f042d74c;hb=00cc35079eeac6e767d5375edfb9c48e58806c48;hp=ce1f1324603c94a0dea6c7f3d194088ba95f2d91;hpb=7c2ec5713bcf78ef277b80d95e9c740dabe71bc2;p=strace diff --git a/strace.spec b/strace.spec index ce1f1324..7ab1bdae 100644 --- a/strace.spec +++ b/strace.spec @@ -1,14 +1,13 @@ Summary: Tracks and displays system calls associated with a running process Name: strace -Version: 4.5.16 +Version: 4.10 Release: 1%{?dist} License: BSD Group: Development/Debuggers URL: http://sourceforge.net/projects/strace/ -Source0: http://dl.sourceforge.net/strace/%{name}-%{version}.tar.bz2 -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Source: http://downloads.sourceforge.net/strace/%{name}-%{version}.tar.xz -BuildRequires: libaio-devel, libacl-devel +BuildRequires: libacl-devel, libaio-devel, time %define strace64_arches ppc64 sparc64 @@ -49,33 +48,127 @@ The `strace' program in the `strace' package is for 32-bit processes. make %{?_smp_mflags} %install -rm -rf %{buildroot} make DESTDIR=%{buildroot} install # remove unpackaged files from the buildroot rm -f %{buildroot}%{_bindir}/strace-graph +%define copy64 ln +%if 0%{?rhel} +%if 0%{?rhel} < 6 +%endif +%define copy64 cp -p +%endif + %ifarch %{strace64_arches} -ln %{buildroot}%{_bindir}/strace %{buildroot}%{_bindir}/strace64 +%{copy64} %{buildroot}%{_bindir}/strace %{buildroot}%{_bindir}/strace64 %endif -%clean -rm -rf %{buildroot} +%check +make -k check VERBOSE=1 %files -%defattr(-,root,root) -%doc CREDITS ChangeLog COPYRIGHT NEWS PORTING README +%doc CREDITS ChangeLog ChangeLog-CVS COPYING NEWS README %{_bindir}/strace +%{_bindir}/strace-log-merge %{_mandir}/man1/* %ifarch %{strace64_arches} %files -n strace64 -%defattr(-,root,root) %{_bindir}/strace64 %endif - %changelog +* Fri Mar 06 2015 Dmitry V. Levin - 4.10-1 +- New upstream release: + + enhanced ioctl decoding (#902788). + +* Mon Nov 03 2014 Lubomir Rintel - 4.9-3 +- Regenerate ioctl entries with proper kernel headers + +* Mon Aug 18 2014 Fedora Release Engineering - 4.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Fri Aug 15 2014 Dmitry V. Levin - 4.9-1 +- New upstream release: + + fixed build when and conflict (#993384); + + updated CLOCK_* constants (#1088455); + + enabled ppc64le support (#1122323); + + fixed attach to a process on ppc64le (#1129569). + +* Fri Jul 25 2014 Dan Horák - 4.8-5 +- update for ppc64 + +* Sun Jun 08 2014 Fedora Release Engineering - 4.8-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Fri Dec 6 2013 Peter Robinson 4.8-3 +- Fix FTBFS + +* Sun Aug 04 2013 Fedora Release Engineering - 4.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Mon Jun 03 2013 Dmitry V. Levin - 4.8-1 +- New upstream release: + + fixed ERESTARTNOINTR leaking to userspace on ancient kernels (#659382); + + fixed decoding of *xattr syscalls (#885233); + + fixed handling of files with 64-bit inode numbers by 32-bit strace (#912790); + + added aarch64 support (#969858). + +* Fri Feb 15 2013 Fedora Release Engineering - 4.7-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sat Jul 21 2012 Fedora Release Engineering - 4.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Wed May 02 2012 Dmitry V. Levin 4.7-1 +- New upstream release. + + implemented proper handling of real SIGTRAPs (#162774). + +* Sat Jan 14 2012 Fedora Release Engineering - 4.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Mar 14 2011 Dmitry V. Levin - 4.6-1 +- New upstream release. + + fixed a corner case in waitpid handling (#663547). + +* Wed Feb 09 2011 Fedora Release Engineering - 4.5.20-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Tue Apr 13 2010 Roland McGrath - 4.5.20-1 +- New upstream release, work mostly by Andreas Schwab and Dmitry V. Levin. + + fixed potential stack buffer overflow in select decoder (#556678); + + fixed FTBFS (#539044). + +* Wed Oct 21 2009 Roland McGrath - 4.5.19-1 +- New upstream release, work mostly by Dmitry V. Levin + + exit/kill strace with traced process exitcode/signal (#105371); + + fixed build on ARM EABI (#507576); + + fixed display of 32-bit argv array on 64-bit architectures (#519480); + + fixed display of 32-bit fcntl(F_SETLK) on 64-bit architectures (#471169); + + fixed several bugs in strings decoder, including potential heap + memory corruption (#470529, #478324, #511035). + +* Thu Aug 28 2008 Roland McGrath - 4.5.18-1 +- build fix for newer kernel headers (#457291) +- fix CLONE_VFORK handling (#455078) +- Support new Linux/PPC system call subpage_prot and PROT_SAO flag. +- In sigaction system call, display sa_flags value along with SIG_DFL/SIG_IGN. + +* Mon Jul 21 2008 Roland McGrath - 4.5.17-1 +- handle O_CLOEXEC, MSG_CMSG_CLOEXEC (#365781) +- fix biarch stat64 decoding (#222275) +- fix spurious "..." in printing of environment strings (#358241) +- improve prctl decoding (#364401) +- fix hang wait on exited child with exited child (#354261) +- fix biarch fork/vfork (-f) tracing (#447475) +- fix biarch printing of negative argument kill (#430585) +- fix biarch decoding of error return values (#447587) +- fix -f tracing of CLONE_VFORK (#455078) +- fix ia64 register clobberation in -f tracing (#453438) +- print SO_NODEFER, SA_RESETHAND instead of SA_NOMASK, SA_ONESHOT (#455821) +- fix futex argument decoding (#448628, #448629) + * Fri Aug 3 2007 Roland McGrath - 4.5.16-1 - fix multithread issues (#240962, #240961, #247907) - fix spurious SIGSTOP on early interrupt (#240986) @@ -229,7 +322,7 @@ rm -rf %{buildroot} * Thu Jul 17 2003 Roland McGrath 4.4.99-1 - new upstream version, groks more new system calls, PF_INET6 sockets -* Mon Jun 10 2003 Roland McGrath 4.4.98-1 +* Tue Jun 10 2003 Roland McGrath 4.4.98-1 - new upstream version, more fixes (#90754, #91085) * Wed Jun 04 2003 Elliot Lee @@ -322,7 +415,7 @@ rm -rf %{buildroot} * Fri Jan 19 2001 Bill Nottingham - update to CVS, reintegrate ia64 support -* Sat Dec 8 2000 Bernhard Rosenkraenzer +* Fri Dec 8 2000 Bernhard Rosenkraenzer - Get S/390 support into the normal package * Sat Nov 18 2000 Florian La Roche