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