strace-vl.spec 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  1. Summary: Tracks and displays system calls associated with a running process.
  2. Summary(ja): 動作中のプロセスと関連するシステムコールの追跡/表示
  3. Name: strace
  4. Version: 4.9
  5. Release: 1%{?_dist_release}
  6. License: BSD
  7. Group: Development/Debuggers
  8. URL: http://sourceforge.net/projects/strace/
  9. Source0: http://downloads.sourceforge.net/strace/%{name}-%{version}.tar.xz
  10. # http://sourceforge.net/p/strace/mailman/message/32937648/
  11. Patch0: strace-4.9-ioctlent.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: libacl-devel
  14. BuildRequires: libaio-devel
  15. BuildRequires: time
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. %define strace64_arches ppc64
  19. %description
  20. The strace program intercepts and records the system calls called and
  21. received by a running process. Strace can print a record of each
  22. system call, its arguments and its return value. Strace is useful for
  23. diagnosing problems and debugging, as well as for instructional
  24. purposes.
  25. Install strace if you need a tool to track the system calls made and
  26. received by a process.
  27. %description -l ja
  28. strace プログラムは動作中のプロセスがコール/受信したたシステムコールを
  29. 検知して記録します。strace は、各システムコールとその引数および戻り値の
  30. 記録を印刷することができます。strace は教育目的だけではなく、障害の診断や
  31. デバッグにおいても役に立ちます。
  32. %ifarch %{strace64_arches}
  33. %package -n strace64
  34. Summary: Tracks and displays system calls associated with a running process.
  35. Summary(ja): 動作中のプロセスと関連するシステムコールの追跡/表示
  36. Group: Development/Debuggers
  37. %description -n strace64
  38. The strace program intercepts and records the system calls called and
  39. received by a running process. Strace can print a record of each
  40. system call, its arguments and its return value. Strace is useful for
  41. diagnosing problems and debugging, as well as for instructional
  42. purposes.
  43. Install strace if you need a tool to track the system calls made and
  44. received by a process.
  45. This package provides the `strace64' program to trace 64-bit processes.
  46. The `strace' program in the `strace' package is for 32-bit processes.
  47. %description -n strace64 -l ja
  48. strace プログラムは動作中のプロセスがコール/受信したたシステムコールを
  49. 検知して記録します。strace は、各システムコールとその引数および戻り値の
  50. 記録を印刷することができます。strace は教育目的だけではなく、障害の診断や
  51. デバッグにおいても役に立ちます。
  52. このパッケージは 64 ビットプロセス用の `strace64' プログラムを提供します。
  53. `strace' パッケージに含まれる `strace' プログラムは 32 ビットプロセス用です。
  54. %endif
  55. %prep
  56. %setup -q
  57. %patch0 -p1
  58. %build
  59. %configure
  60. make %{?_smp_mflags}
  61. %install
  62. rm -rf %{buildroot}
  63. #mkdir -p %{buildroot}%{_mandir}/man1
  64. #mkdir -p %{buildroot}%{_bindir}
  65. make DESTDIR=%{buildroot} install
  66. # remove unpackaged files from the buildroot
  67. rm -f %{buildroot}%{_bindir}/strace-graph
  68. %ifarch %{strace64_arches}
  69. ln %{buildroot}%{_bindir}/strace %{buildroot}%{_bindir}/strace64
  70. %endif
  71. %check
  72. make -k check VERBOSE=1
  73. %clean
  74. rm -rf %{buildroot}
  75. %files
  76. %defattr(-,root,root)
  77. %doc CREDITS ChangeLog ChangeLog-CVS COPYING NEWS README
  78. %{_bindir}/*
  79. %{_mandir}/man1/*
  80. %ifarch %{strace64_arches}
  81. %files -n strace64
  82. %defattr(-,root,root)
  83. %{_bindir}/strace64
  84. %endif
  85. %changelog
  86. * Fri Nov 14 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.9-1
  87. - updated to 4.9
  88. * Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 4.5.20-2
  89. - rebuilt with rpm-4.8.1-3
  90. * Sun May 16 2010 Shu KONNO <owa@bg.wakwak.com> 4.5.20-1
  91. - updated to 4.5.20
  92. * Mon Apr 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 4.5.18-1
  93. - new upstream release
  94. - spec in utf-8
  95. * Mon May 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.5.15-1
  96. - updated to 4.5.15
  97. - rebuilt with new toolchains
  98. * Sun Sep 10 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 4.5.13-1vl2
  99. - change Group to Development/Tools. <BTS:VineLinux:163>
  100. * Sat Nov 12 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.5.13-1vl1
  101. - updated to 4.5.13
  102. - added some documents
  103. - added Japanese summary and description
  104. * Mon Jan 05 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.5.1-1vl1
  105. - rebuild with new toolchains
  106. - based on Fedora 4.5.1-1
  107. * Tue Sep 09 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.99-1vl1
  108. - rebuild with new toolchains
  109. - dropped BuildPreReq: autoconf
  110. - based on Redhat Rawhide 4.4.99-1
  111. * Thu Jul 17 2003 Roland McGrath <roland@redhat.com> 4.4.99-1
  112. - new upstream version, groks more new system calls, PF_INET6 sockets
  113. * Thu Mar 07 2002 Toru Sagami <sagami@vinelinux.org> 4.4-1.2vl3
  114. - kernel24-headers -> kernel-headers >= 2.4.0 for BuildPreReq
  115. * Wed Feb 20 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.4-1.2vl2
  116. - added BuildPreReq: kernel24-headers
  117. * Mon Jan 14 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.4-1.2vl1
  118. - now based on Debian's strace_4.4-1.2 and built for Vine Linux
  119. - rebuilt with kernel24-headers
  120. * Sun Jul 22 2001 Florian La Roche <Florian.LaRoche@redhat.de>
  121. - disable s390 patches, they are already included
  122. * Wed Jul 18 2001 Preston Brown <pbrown@redhat.com> 4.3-1
  123. - new upstream version. Seems to have integrated most new syscalls
  124. - tracing threaded programs is now functional.
  125. * Mon Jun 11 2001 Than Ngo <than@redhat.com>
  126. - port s390 patches from IBM
  127. * Wed May 16 2001 Nalin Dahyabhai <nalin@redhat.com>
  128. - modify new syscall patch to allocate enough heap space in setgroups32()
  129. * Wed Feb 14 2001 Jakub Jelinek <jakub@redhat.com>
  130. - #include <time.h> in addition to <sys/time.h>
  131. * Fri Jan 26 2001 Karsten Hopp <karsten@redhat.com>
  132. - clean up conflicting patches. This happened only
  133. when building on S390
  134. * Fri Jan 19 2001 Bill Nottingham <notting@redhat.com>
  135. - update to CVS, reintegrate ia64 support
  136. * Sat Dec 8 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  137. - Get S/390 support into the normal package
  138. * Sat Nov 18 2000 Florian La Roche <Florian.LaRoche@redhat.de>
  139. - added S/390 patch from IBM, adapting it to not conflict with
  140. IA64 patch
  141. * Sat Aug 19 2000 Jakub Jelinek <jakub@redhat.com>
  142. - doh, actually apply the 2.4 syscalls patch
  143. - make it compile with 2.4.0-test7-pre4+ headers, add
  144. getdents64 and fcntl64
  145. * Thu Aug 3 2000 Jakub Jelinek <jakub@redhat.com>
  146. - add a bunch of new 2.4 syscalls (#14036)
  147. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  148. - automatic rebuild
  149. - excludearch ia64
  150. * Fri Jun 2 2000 Matt Wilson <msw@redhat.com>
  151. - use buildinstall for FHS
  152. * Wed May 24 2000 Jakub Jelinek <jakub@redhat.com>
  153. - make things compile on sparc
  154. - fix sigreturn on sparc
  155. * Fri Mar 31 2000 Bill Nottingham <notting@redhat.com>
  156. - fix stat64 misdef (#10485)
  157. * Tue Mar 21 2000 Michael K. Johnson <johnsonm@redhat.com>
  158. - added ia64 patch
  159. * Thu Feb 03 2000 Cristian Gafton <gafton@redhat.com>
  160. - man pages are compressed
  161. - version 4.2 (why are we keeping all these patches around?)
  162. * Sat Nov 27 1999 Jeff Johnson <jbj@redhat.com>
  163. - update to 4.1 (with sparc socketcall patch).
  164. * Fri Nov 12 1999 Jakub Jelinek <jakub@redhat.com>
  165. - fix socketcall on sparc.
  166. * Thu Sep 02 1999 Cristian Gafton <gafton@redhat.com>
  167. - fix KERN_SECURELVL compile problem
  168. * Tue Aug 31 1999 Cristian Gafton <gafton@redhat.com>
  169. - added alpha patch from HJLu to fix the osf_sigprocmask interpretation
  170. * Sat Jun 12 1999 Jeff Johnson <jbj@redhat.com>
  171. - update to 3.99.1.
  172. * Wed Jun 2 1999 Jeff Johnson <jbj@redhat.com>
  173. - add (the other :-) jj's sparc patch.
  174. * Wed May 26 1999 Jeff Johnson <jbj@redhat.com>
  175. - upgrade to 3.99 in order to
  176. - add new 2.2.x open flags (#2955).
  177. - add new 2.2.x syscalls (#2866).
  178. - strace 3.1 patches carried along for now.
  179. * Sun May 16 1999 Jeff Johnson <jbj@redhat.com>
  180. - don't rely on (broken!) rpm %patch (#2735)
  181. * Tue Apr 06 1999 Preston Brown <pbrown@redhat.com>
  182. - strip binary
  183. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  184. - auto rebuild in the new build environment (release 16)
  185. * Tue Feb 9 1999 Jeff Johnson <jbj@redhat.com>
  186. - vfork est arrive!
  187. * Tue Feb 9 1999 Christopher Blizzard <blizzard@redhat.com>
  188. - Add patch to follow clone() syscalls, too.
  189. * Sun Jan 17 1999 Jeff Johnson <jbj@redhat.com>
  190. - patch to build alpha/sparc with glibc 2.1.
  191. * Thu Dec 03 1998 Cristian Gafton <gafton@redhat.com>
  192. - patch to build on ARM
  193. * Wed Sep 30 1998 Jeff Johnson <jbj@redhat.com>
  194. - fix typo (printf, not tprintf).
  195. * Sat Sep 19 1998 Jeff Johnson <jbj@redhat.com>
  196. - fix compile problem on sparc.
  197. * Tue Aug 18 1998 Cristian Gafton <gafton@redhat.com>
  198. - buildroot
  199. * Mon Jul 20 1998 Cristian Gafton <gafton@redhat.com>
  200. - added the umoven patch from James Youngman <jay@gnu.org>
  201. - fixed build problems on newer glibc releases
  202. * Mon Jun 08 1998 Prospector System <bugs@redhat.com>
  203. - translations modified for de, fr, tr