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: 5.5
  5. Release: 1%{?_dist_release}
  6. Group: Development/Debuggers
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: LGPL2.1+
  10. URL: https://strace.io/
  11. Source0: https://strace.io/files/%{version}/%{name}-%{version}.tar.xz
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: libacl-devel
  14. BuildRequires: libaio-devel
  15. BuildRequires: time
  16. %define strace64_arches ppc64
  17. %description
  18. The strace program intercepts and records the system calls called and
  19. received by a running process. Strace can print a record of each
  20. system call, its arguments and its return value. Strace is useful for
  21. diagnosing problems and debugging, as well as for instructional
  22. purposes.
  23. Install strace if you need a tool to track the system calls made and
  24. received by a process.
  25. %description -l ja
  26. strace プログラムは動作中のプロセスがコール/受信したたシステムコールを
  27. 検知して記録します。strace は、各システムコールとその引数および戻り値の
  28. 記録を印刷することができます。strace は教育目的だけではなく、障害の診断や
  29. デバッグにおいても役に立ちます。
  30. %ifarch %{strace64_arches}
  31. %package -n strace64
  32. Summary: Tracks and displays system calls associated with a running process.
  33. Summary(ja): 動作中のプロセスと関連するシステムコールの追跡/表示
  34. Group: Development/Debuggers
  35. %description -n strace64
  36. The strace program intercepts and records the system calls called and
  37. received by a running process. Strace can print a record of each
  38. system call, its arguments and its return value. Strace is useful for
  39. diagnosing problems and debugging, as well as for instructional
  40. purposes.
  41. Install strace if you need a tool to track the system calls made and
  42. received by a process.
  43. This package provides the `strace64' program to trace 64-bit processes.
  44. The `strace' program in the `strace' package is for 32-bit processes.
  45. %description -n strace64 -l ja
  46. strace プログラムは動作中のプロセスがコール/受信したたシステムコールを
  47. 検知して記録します。strace は、各システムコールとその引数および戻り値の
  48. 記録を印刷することができます。strace は教育目的だけではなく、障害の診断や
  49. デバッグにおいても役に立ちます。
  50. このパッケージは 64 ビットプロセス用の `strace64' プログラムを提供します。
  51. `strace' パッケージに含まれる `strace' プログラムは 32 ビットプロセス用です。
  52. %endif
  53. %prep
  54. %setup -q
  55. %build
  56. %configure
  57. make %{?_smp_mflags}
  58. %install
  59. rm -rf %{buildroot}
  60. #mkdir -p %{buildroot}%{_mandir}/man1
  61. #mkdir -p %{buildroot}%{_bindir}
  62. make DESTDIR=%{buildroot} install
  63. # remove unpackaged files from the buildroot
  64. rm -f %{buildroot}%{_bindir}/strace-graph
  65. %ifarch %{strace64_arches}
  66. ln %{buildroot}%{_bindir}/strace %{buildroot}%{_bindir}/strace64
  67. %endif
  68. %check
  69. make -k check VERBOSE=1
  70. %clean
  71. rm -rf %{buildroot}
  72. %files
  73. %defattr(-,root,root)
  74. %license COPYING LGPL-2.1-or-later
  75. %doc CREDITS ChangeLog ChangeLog-CVS NEWS README
  76. %{_bindir}/*
  77. %{_mandir}/man1/*
  78. %ifarch %{strace64_arches}
  79. %files -n strace64
  80. %defattr(-,root,root)
  81. %{_bindir}/strace64
  82. %endif
  83. %changelog
  84. * Sat Mar 21 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.5-1
  85. - new upstream release.
  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. * Fri 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