]> sourceware.org Git - systemtap.git/blob - systemtap.spec
Merge remote-tracking branch 'origin/master' into dsmith/interactive
[systemtap.git] / systemtap.spec
1 %{!?with_sqlite: %global with_sqlite 1}
2 %{!?with_docs: %global with_docs 1}
3 # crash is not available
4 %ifarch ppc ppc64 %{sparc} aarch64 ppc64le
5 %{!?with_crash: %global with_crash 0}
6 %else
7 %{!?with_crash: %global with_crash 1}
8 %endif
9 %{!?with_rpm: %global with_rpm 1}
10 %{!?with_bundled_elfutils: %global with_bundled_elfutils 0}
11 %{!?elfutils_version: %global elfutils_version 0.142}
12 %{!?pie_supported: %global pie_supported 1}
13 %{!?with_boost: %global with_boost 0}
14 %ifarch %{ix86} x86_64 ppc ppc64
15 %{!?with_dyninst: %global with_dyninst 0%{?fedora} >= 18 || 0%{?rhel} >= 7}
16 %else
17 %{!?with_dyninst: %global with_dyninst 0}
18 %endif
19 %{!?with_systemd: %global with_systemd 0%{?fedora} >= 19 || 0%{?rhel} >= 7}
20 %{!?with_emacsvim: %global with_emacsvim 0%{?fedora} >= 19 || 0%{?rhel} >= 7}
21 %{!?with_java: %global with_java 0%{?fedora} >= 19 || 0%{?rhel} >= 7}
22 %{!?with_virthost: %global with_virthost 0%{?fedora} >= 19 || 0%{?rhel} >= 7}
23 %{!?with_virtguest: %global with_virtguest 1}
24 %{!?with_dracut: %global with_dracut 0%{?fedora} >= 19 || 0%{?rhel} >= 7}
25 %ifarch x86_64
26 %{!?with_mokutil: %global with_mokutil 0%{?fedora} >= 18 || 0%{?rhel} >= 7}
27 %{!?with_openssl: %global with_openssl 0%{?fedora} >= 18 || 0%{?rhel} >= 7}
28 %else
29 %{!?with_mokutil: %global with_mokutil 0}
30 %{!?with_openssl: %global with_openssl 0}
31 %endif
32 %{!?with_pyparsing: %global with_pyparsing 0%{?fedora} >= 18 || 0%{?rhel} >= 7}
33 %{!?with_python3: %global with_python3 0%{?fedora} >= 23}
34
35 %ifarch ppc64le aarch64
36 %global with_virthost 0
37 %endif
38
39 %if 0%{?fedora} >= 18 || 0%{?rhel} >= 6
40 %define initdir %{_initddir}
41 %else # RHEL5 doesn't know _initddir
42 %define initdir %{_initrddir}
43 %endif
44
45 %if %{with_virtguest}
46 %if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
47 %define udevrulesdir /usr/lib/udev/rules.d
48 %else
49 %if 0%{?rhel} >= 6
50 %define udevrulesdir /lib/udev/rules.d
51 %else # RHEL5
52 %define udevrulesdir /etc/udev/rules.d
53 %endif
54 %endif
55 %endif
56
57 %define dracutstap %{_prefix}/lib/dracut/modules.d/99stap
58
59 Name: systemtap
60 Version: 3.0
61 Release: 1%{?dist}
62 # for version, see also configure.ac
63
64
65 # Packaging abstract:
66 #
67 # systemtap empty req:-client req:-devel
68 # systemtap-server /usr/bin/stap-server*, req:-devel
69 # systemtap-devel /usr/bin/stap, runtime, tapset, req:kernel-devel
70 # systemtap-runtime /usr/bin/staprun, /usr/bin/stapsh, /usr/bin/stapdyn
71 # systemtap-client /usr/bin/stap, samples, docs, tapset(bonus), req:-runtime
72 # systemtap-initscript /etc/init.d/systemtap, dracut module, req:systemtap
73 # systemtap-sdt-devel /usr/include/sys/sdt.h /usr/bin/dtrace
74 # systemtap-testsuite /usr/share/systemtap/testsuite*, req:systemtap, req:sdt-devel
75 # systemtap-runtime-java libHelperSDT.so, HelperSDT.jar, stapbm, req:-runtime
76 # systemtap-runtime-virthost /usr/bin/stapvirt, req:libvirt req:libxml2
77 # systemtap-runtime-virtguest udev rules, init scripts/systemd service, req:-runtime
78 #
79 # Typical scenarios:
80 #
81 # stap-client: systemtap-client
82 # stap-server: systemtap-server
83 # local user: systemtap
84 #
85 # Unusual scenarios:
86 #
87 # intermediary stap-client for --remote: systemtap-client (-runtime unused)
88 # intermediary stap-server for --use-server: systemtap-server (-devel unused)
89
90 Summary: Programmable system-wide instrumentation system
91 Group: Development/System
92 License: GPLv2+
93 URL: http://sourceware.org/systemtap/
94 Source: ftp://sourceware.org/pub/systemtap/releases/systemtap-%{version}.tar.gz
95
96 # Build*
97 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
98 BuildRequires: gcc-c++
99 BuildRequires: gettext-devel
100 BuildRequires: nss-devel avahi-devel pkgconfig
101 %if %{with_dyninst}
102 BuildRequires: dyninst-devel >= 8.0
103 BuildRequires: libselinux-devel
104 %endif
105 %if %{with_sqlite}
106 BuildRequires: sqlite-devel
107 %endif
108 # Needed for libstd++ < 4.0, without <tr1/memory>
109 %if %{with_boost}
110 BuildRequires: boost-devel
111 %endif
112 %if %{with_crash}
113 BuildRequires: crash-devel zlib-devel
114 %endif
115 %if %{with_rpm}
116 BuildRequires: rpm-devel glibc-headers
117 %endif
118 %if %{with_bundled_elfutils}
119 Source1: elfutils-%{elfutils_version}.tar.gz
120 Patch1: elfutils-portability.patch
121 BuildRequires: m4
122 %global setup_elfutils -a1
123 %else
124 BuildRequires: elfutils-devel >= %{elfutils_version}
125 %endif
126 %if %{with_docs}
127 BuildRequires: /usr/bin/latex /usr/bin/dvips /usr/bin/ps2pdf latex2html
128 %if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
129 BuildRequires: tex(fullpage.sty) tex(fancybox.sty) tex(bchr7t.tfm)
130 %endif
131 # On F10, xmlto's pdf support was broken off into a sub-package,
132 # called 'xmlto-tex'. To avoid a specific F10 BuildReq, we'll do a
133 # file-based buildreq on '/usr/share/xmlto/format/fo/pdf'.
134 BuildRequires: xmlto /usr/share/xmlto/format/fo/pdf
135 %endif
136 %if %{with_emacsvim}
137 BuildRequires: emacs
138 %endif
139 %if %{with_java}
140 BuildRequires: jpackage-utils java-devel
141 %endif
142 %if %{with_virthost}
143 BuildRequires: libvirt-devel >= 1.0.2
144 BuildRequires: libxml2-devel
145 %endif
146 BuildRequires: readline-devel
147 %if 0%{?rhel} <= 5
148 BuildRequires: ncurses-devel
149 %endif
150
151 # Install requirements
152 Requires: systemtap-client = %{version}-%{release}
153 Requires: systemtap-devel = %{version}-%{release}
154
155 %description
156 SystemTap is an instrumentation system for systems running Linux.
157 Developers can write instrumentation scripts to collect data on
158 the operation of the system. The base systemtap package contains/requires
159 the components needed to locally develop and execute systemtap scripts.
160
161 # ------------------------------------------------------------------------
162
163 %package server
164 Summary: Instrumentation System Server
165 Group: Development/System
166 License: GPLv2+
167 URL: http://sourceware.org/systemtap/
168 Requires: systemtap-devel = %{version}-%{release}
169 # On RHEL[45], /bin/mktemp comes from the 'mktemp' package. On newer
170 # distributions, /bin/mktemp comes from the 'coreutils' package. To
171 # avoid a specific RHEL[45] Requires, we'll do a file-based require.
172 Requires: nss /bin/mktemp
173 Requires: zip unzip
174 Requires(pre): shadow-utils
175 Requires(post): chkconfig
176 Requires(preun): chkconfig
177 Requires(preun): initscripts
178 Requires(postun): initscripts
179 BuildRequires: nss-devel avahi-devel
180 %if %{with_openssl}
181 Requires: openssl
182 %endif
183
184 %description server
185 This is the remote script compilation server component of systemtap.
186 It announces itself to nearby clients with avahi (if available), and
187 compiles systemtap scripts to kernel objects on their demand.
188
189
190 %package devel
191 Summary: Programmable system-wide instrumentation system - development headers, tools
192 Group: Development/System
193 License: GPLv2+
194 URL: http://sourceware.org/systemtap/
195 # Alternate kernel packages kernel-PAE-devel et al. have a virtual
196 # provide for kernel-devel, so this requirement does the right thing,
197 # at least past RHEL4.
198 Requires: kernel-devel
199 Requires: gcc make
200 # Suggest: kernel-debuginfo
201
202 %description devel
203 This package contains the components needed to compile a systemtap
204 script from source form into executable (.ko) forms. It may be
205 installed on a self-contained developer workstation (along with the
206 systemtap-client and systemtap-runtime packages), or on a dedicated
207 remote server (alongside the systemtap-server package). It includes
208 a copy of the standard tapset library and the runtime library C files.
209
210
211 %package runtime
212 Summary: Programmable system-wide instrumentation system - runtime
213 Group: Development/System
214 License: GPLv2+
215 URL: http://sourceware.org/systemtap/
216 Requires(pre): shadow-utils
217
218 %description runtime
219 SystemTap runtime contains the components needed to execute
220 a systemtap script that was already compiled into a module
221 using a local or remote systemtap-devel installation.
222
223
224 %package client
225 Summary: Programmable system-wide instrumentation system - client
226 Group: Development/System
227 License: GPLv2+
228 URL: http://sourceware.org/systemtap/
229 Requires: zip unzip
230 Requires: systemtap-runtime = %{version}-%{release}
231 Requires: coreutils grep sed unzip zip
232 Requires: openssh-clients
233 %if %{with_mokutil}
234 Requires: mokutil
235 %endif
236
237 %description client
238 This package contains/requires the components needed to develop
239 systemtap scripts, and compile them using a local systemtap-devel
240 or a remote systemtap-server installation, then run them using a
241 local or remote systemtap-runtime. It includes script samples and
242 documentation, and a copy of the tapset library for reference.
243
244
245 %package initscript
246 Summary: Systemtap Initscripts
247 Group: Development/System
248 License: GPLv2+
249 URL: http://sourceware.org/systemtap/
250 Requires: systemtap = %{version}-%{release}
251 Requires(post): chkconfig
252 Requires(preun): chkconfig
253 Requires(preun): initscripts
254 Requires(postun): initscripts
255
256 %description initscript
257 This package includes a SysVinit script to launch selected systemtap
258 scripts at system startup, along with a dracut module for early
259 boot-time probing if supported.
260
261
262 %package sdt-devel
263 Summary: Static probe support tools
264 Group: Development/System
265 License: GPLv2+ and Public Domain
266 URL: http://sourceware.org/systemtap/
267 %if %{with_pyparsing}
268 %if %{with_python3}
269 Requires: python3-pyparsing
270 %else
271 Requires: pyparsing
272 %endif
273 %endif
274
275 %description sdt-devel
276 This package includes the <sys/sdt.h> header file used for static
277 instrumentation compiled into userspace programs and libraries, along
278 with the optional dtrace-compatibility preprocessor to process related
279 .d files into tracing-macro-laden .h headers.
280
281
282 %package testsuite
283 Summary: Instrumentation System Testsuite
284 Group: Development/System
285 License: GPLv2+
286 URL: http://sourceware.org/systemtap/
287 Requires: systemtap = %{version}-%{release}
288 Requires: systemtap-sdt-devel = %{version}-%{release}
289 Requires: systemtap-server = %{version}-%{release}
290 Requires: dejagnu which elfutils grep nc
291 Requires: gcc gcc-c++ make glibc-devel
292 # testsuite/systemtap.base/ptrace.exp needs strace
293 Requires: strace
294 # testsuite/systemtap.base/ipaddr.exp needs nc. Unfortunately, the rpm
295 # that provides nc has changed over time (from 'nc' to
296 # 'nmap-ncat'). So, we'll do a file-based require.
297 Requires: /usr/bin/nc
298 %ifnarch ia64 ppc64le aarch64
299 %if 0%{?fedora} >= 21 || 0%{?rhel} >= 8
300 # no prelink
301 %else
302 Requires: prelink
303 %endif
304 %endif
305 # testsuite/systemtap.server/client.exp needs avahi
306 Requires: avahi
307 %if %{with_crash}
308 # testsuite/systemtap.base/crash.exp needs crash
309 Requires: crash
310 %endif
311 %if %{with_java}
312 Requires: systemtap-runtime-java = %{version}-%{release}
313 %endif
314 %ifarch x86_64
315 Requires: /usr/lib/libc.so
316 # ... and /usr/lib/libgcc_s.so.*
317 # ... and /usr/lib/libstdc++.so.*
318 %endif
319 %if 0%{?fedora} >= 18
320 Requires: stress
321 %endif
322
323 %description testsuite
324 This package includes the dejagnu-based systemtap stress self-testing
325 suite. This may be used by system administrators to thoroughly check
326 systemtap on the current system.
327
328
329 %if %{with_java}
330 %package runtime-java
331 Summary: Systemtap Java Runtime Support
332 Group: Development/System
333 License: GPLv2+
334 URL: http://sourceware.org/systemtap/
335 Requires: systemtap-runtime = %{version}-%{release}
336 Requires: byteman > 2.0
337 Requires: net-tools
338
339 %description runtime-java
340 This package includes support files needed to run systemtap scripts
341 that probe Java processes running on the OpenJDK 1.6 and OpenJDK 1.7
342 runtimes using Byteman.
343 %endif
344
345 %if %{with_virthost}
346 %package runtime-virthost
347 Summary: Systemtap Cross-VM Instrumentation - host
348 Group: Development/System
349 License: GPLv2+
350 URL: http://sourceware.org/systemtap/
351 Requires: libvirt >= 1.0.2
352 Requires: libxml2
353
354 %description runtime-virthost
355 This package includes the components required to run systemtap scripts
356 inside a libvirt-managed domain from the host without using a network
357 connection.
358 %endif
359
360 %if %{with_virtguest}
361 %package runtime-virtguest
362 Summary: Systemtap Cross-VM Instrumentation - guest
363 Group: Development/System
364 License: GPLv2+
365 URL: http://sourceware.org/systemtap/
366 Requires: systemtap-runtime = %{version}-%{release}
367 %if %{with_systemd}
368 Requires(post): findutils coreutils
369 Requires(preun): grep coreutils
370 Requires(postun): grep coreutils
371 %else
372 Requires(post): chkconfig initscripts
373 Requires(preun): chkconfig initscripts
374 Requires(postun): initscripts
375 %endif
376
377 %description runtime-virtguest
378 This package installs the services necessary on a virtual machine for a
379 systemtap-runtime-virthost machine to execute systemtap scripts.
380 %endif
381
382 # ------------------------------------------------------------------------
383
384 %prep
385 %setup -q %{?setup_elfutils}
386
387 %if %{with_bundled_elfutils}
388 cd elfutils-%{elfutils_version}
389 %patch1 -p1
390 sleep 1
391 find . \( -name Makefile.in -o -name aclocal.m4 \) -print | xargs touch
392 sleep 1
393 find . \( -name configure -o -name config.h.in \) -print | xargs touch
394 cd ..
395 %endif
396
397 %build
398
399 %if %{with_bundled_elfutils}
400 # Build our own copy of elfutils.
401 %global elfutils_config --with-elfutils=elfutils-%{elfutils_version}
402
403 # We have to prevent the standard dependency generation from identifying
404 # our private elfutils libraries in our provides and requires.
405 %global _use_internal_dependency_generator 0
406 %global filter_eulibs() /bin/sh -c "%{1} | sed '/libelf/d;/libdw/d;/libebl/d'"
407 %global __find_provides %{filter_eulibs /usr/lib/rpm/find-provides}
408 %global __find_requires %{filter_eulibs /usr/lib/rpm/find-requires}
409
410 # This will be needed for running stap when not installed, for the test suite.
411 %global elfutils_mflags LD_LIBRARY_PATH=`pwd`/lib-elfutils
412 %endif
413
414 # Enable/disable the dyninst pure-userspace backend
415 %if %{with_dyninst}
416 %global dyninst_config --with-dyninst
417 %else
418 %global dyninst_config --without-dyninst
419 %endif
420
421 # Enable/disable the sqlite coverage testing support
422 %if %{with_sqlite}
423 %global sqlite_config --enable-sqlite
424 %else
425 %global sqlite_config --disable-sqlite
426 %endif
427
428 # Enable/disable the crash extension
429 %if %{with_crash}
430 %global crash_config --enable-crash
431 %else
432 %global crash_config --disable-crash
433 %endif
434
435 # Enable/disable the code to find and suggest needed rpms
436 %if %{with_rpm}
437 %global rpm_config --with-rpm
438 %else
439 %global rpm_config --without-rpm
440 %endif
441
442 %if %{with_docs}
443 %global docs_config --enable-docs
444 %else
445 %global docs_config --disable-docs
446 %endif
447
448 # Enable pie as configure defaults to disabling it
449 %if %{pie_supported}
450 %global pie_config --enable-pie
451 %else
452 %global pie_config --disable-pie
453 %endif
454
455
456 %if %{with_java}
457 %global java_config --with-java=%{_jvmdir}/java
458 %else
459 %global java_config --without-java
460 %endif
461
462 %if %{with_virthost}
463 %global virt_config --enable-virt
464 %else
465 %global virt_config --disable-virt
466 %endif
467
468 %if %{with_dracut}
469 %global dracut_config --with-dracutstap=%{dracutstap}
470 %else
471 %global dracut_config
472 %endif
473
474 %if %{with_python3}
475 %global python3_config --with-python3
476 %else
477 %global python3_config --without-python3
478 %endif
479
480 %configure %{?elfutils_config} %{dyninst_config} %{sqlite_config} %{crash_config} %{docs_config} %{pie_config} %{rpm_config} %{java_config} %{virt_config} %{dracut_config} %{python3_config} --disable-silent-rules --with-extra-version="rpm %{version}-%{release}"
481 make %{?_smp_mflags}
482
483 %if %{with_emacsvim}
484 %{_emacs_bytecompile} emacs/systemtap-mode.el
485 %endif
486
487 %install
488 rm -rf ${RPM_BUILD_ROOT}
489 make DESTDIR=$RPM_BUILD_ROOT install
490 %find_lang %{name}
491
492 # We want the examples in the special doc dir, not the build install dir.
493 # We build it in place and then move it away so it doesn't get installed
494 # twice. rpm can specify itself where the (versioned) docs go with the
495 # %doc directive.
496 mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/examples examples
497
498 # Fix paths in the example & testsuite scripts
499 find examples testsuite -type f -name '*.stp' -print0 | xargs -0 sed -i -r -e '1s@^#!.+stap@#!%{_bindir}/stap@'
500
501 # To make rpmlint happy, remove any .gitignore files in the testsuite.
502 find testsuite -type f -name '.gitignore' -print0 | xargs -0 rm -f
503
504 # Because "make install" may install staprun with whatever mode, the
505 # post-processing programs rpmbuild runs won't be able to read it.
506 # So, we change permissions so that they can read it. We'll set the
507 # permissions back to 04110 in the %files section below.
508 chmod 755 $RPM_BUILD_ROOT%{_bindir}/staprun
509
510 #install the useful stap-prep script
511 install -c -m 755 stap-prep $RPM_BUILD_ROOT%{_bindir}/stap-prep
512
513 # Copy over the testsuite
514 cp -rp testsuite $RPM_BUILD_ROOT%{_datadir}/systemtap
515
516 %if %{with_docs}
517 # We want the manuals in the special doc dir, not the generic doc install dir.
518 # We build it in place and then move it away so it doesn't get installed
519 # twice. rpm can specify itself where the (versioned) docs go with the
520 # %doc directive.
521 mkdir docs.installed
522 mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/*.pdf docs.installed/
523 mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/tapsets docs.installed/
524 mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/SystemTap_Beginners_Guide docs.installed/
525 %endif
526
527 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/stap-server
528 mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/stap-server
529 mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/stap-server/.systemtap
530 mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/stap-server
531 touch $RPM_BUILD_ROOT%{_localstatedir}/log/stap-server/log
532 mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/cache/systemtap
533 mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/systemtap
534 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
535 install -m 644 initscript/logrotate.stap-server $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/stap-server
536 mkdir -p $RPM_BUILD_ROOT%{initdir}
537 install -m 755 initscript/systemtap $RPM_BUILD_ROOT%{initdir}
538 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/systemtap
539 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/systemtap/conf.d
540 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/systemtap/script.d
541 install -m 644 initscript/config.systemtap $RPM_BUILD_ROOT%{_sysconfdir}/systemtap/config
542 %if %{with_systemd}
543 mkdir -p $RPM_BUILD_ROOT%{_unitdir}
544 touch $RPM_BUILD_ROOT%{_unitdir}/stap-server.service
545 install -m 644 stap-server.service $RPM_BUILD_ROOT%{_unitdir}/stap-server.service
546 mkdir -p $RPM_BUILD_ROOT%{_tmpfilesdir}
547 install -m 644 stap-server.conf $RPM_BUILD_ROOT%{_tmpfilesdir}/stap-server.conf
548 %else
549 install -m 755 initscript/stap-server $RPM_BUILD_ROOT%{initdir}
550 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/stap-server/conf.d
551 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
552 install -m 644 initscript/config.stap-server $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/stap-server
553 %endif
554
555 %if %{with_emacsvim}
556 mkdir -p $RPM_BUILD_ROOT%{_emacs_sitelispdir}
557 install -p -m 644 emacs/systemtap-mode.el* $RPM_BUILD_ROOT%{_emacs_sitelispdir}
558 mkdir -p $RPM_BUILD_ROOT%{_emacs_sitestartdir}
559 install -p -m 644 emacs/systemtap-init.el $RPM_BUILD_ROOT%{_emacs_sitestartdir}/systemtap-init.el
560 for subdir in ftdetect ftplugin indent syntax
561 do
562 mkdir -p $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/$subdir
563 install -p -m 644 vim/$subdir/*.vim $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/$subdir
564 done
565 %endif
566
567 %if %{with_virtguest}
568 mkdir -p $RPM_BUILD_ROOT%{udevrulesdir}
569 %if %{with_systemd}
570 install -p -m 644 staprun/guest/99-stapsh.rules $RPM_BUILD_ROOT%{udevrulesdir}
571 mkdir -p $RPM_BUILD_ROOT%{_unitdir}
572 install -p -m 644 staprun/guest/stapsh@.service $RPM_BUILD_ROOT%{_unitdir}
573 %else
574 install -p -m 644 staprun/guest/99-stapsh-init.rules $RPM_BUILD_ROOT%{udevrulesdir}
575 install -p -m 755 staprun/guest/stapshd $RPM_BUILD_ROOT%{initdir}
576 mkdir -p $RPM_BUILD_ROOT%{_libexecdir}/systemtap
577 install -p -m 755 staprun/guest/stapsh-daemon $RPM_BUILD_ROOT%{_libexecdir}/systemtap
578 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/modules
579 # Technically, this is only needed for RHEL5, in which the MODULE_ALIAS is missing, but
580 # it does no harm in RHEL6 as well
581 install -p -m 755 staprun/guest/virtio_console.modules $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/modules
582 %endif
583 %endif
584
585 %if %{with_dracut}
586 mkdir -p $RPM_BUILD_ROOT%{dracutstap}
587 install -p -m 755 initscript/99stap/module-setup.sh $RPM_BUILD_ROOT%{dracutstap}
588 install -p -m 755 initscript/99stap/start-staprun.sh $RPM_BUILD_ROOT%{dracutstap}
589 touch $RPM_BUILD_ROOT%{dracutstap}/params.conf
590 %endif
591
592 %clean
593 rm -rf ${RPM_BUILD_ROOT}
594
595 %pre runtime
596 getent group stapusr >/dev/null || groupadd -g 156 -r stapusr 2>/dev/null || groupadd -r stapusr
597 getent group stapsys >/dev/null || groupadd -g 157 -r stapsys 2>/dev/null || groupadd -r stapsys
598 getent group stapdev >/dev/null || groupadd -g 158 -r stapdev 2>/dev/null || groupadd -r stapdev
599 exit 0
600
601 %pre server
602 getent group stap-server >/dev/null || groupadd -g 155 -r stap-server 2>/dev/null || groupadd -r stap-server
603 getent passwd stap-server >/dev/null || \
604 useradd -c "Systemtap Compile Server" -u 155 -g stap-server -d %{_localstatedir}/lib/stap-server -r -s /sbin/nologin stap-server 2>/dev/null || \
605 useradd -c "Systemtap Compile Server" -g stap-server -d %{_localstatedir}/lib/stap-server -r -s /sbin/nologin stap-server
606
607 %post server
608
609 # We have some duplication between the %files listings for the
610 # ~stap-server directories and the explicit mkdir/chown/chmod bits
611 # here. Part of the reason may be that a preexisting stap-server
612 # account may well be placed somewhere other than
613 # %{_localstatedir}/lib/stap-server, but we'd like their permissions
614 # set similarly.
615
616 test -e ~stap-server && chmod 750 ~stap-server
617
618 if [ ! -f ~stap-server/.systemtap/rc ]; then
619 mkdir -p ~stap-server/.systemtap
620 chown stap-server:stap-server ~stap-server/.systemtap
621 # PR16276: guess at a reasonable number for a default --rlimit-nproc
622 numcpu=`/usr/bin/getconf _NPROCESSORS_ONLN`
623 if [ -z "$numcpu" -o "$numcpu" -lt 1 ]; then numcpu=1; fi
624 nproc=`expr $numcpu \* 30`
625 echo "--rlimit-as=614400000 --rlimit-cpu=60 --rlimit-nproc=$nproc --rlimit-stack=1024000 --rlimit-fsize=51200000" > ~stap-server/.systemtap/rc
626 chown stap-server:stap-server ~stap-server/.systemtap/rc
627 fi
628
629 test -e %{_localstatedir}/log/stap-server/log || {
630 touch %{_localstatedir}/log/stap-server/log
631 chmod 644 %{_localstatedir}/log/stap-server/log
632 chown stap-server:stap-server %{_localstatedir}/log/stap-server/log
633 }
634 # If it does not already exist, as stap-server, generate the certificate
635 # used for signing and for ssl.
636 if test ! -e ~stap-server/.systemtap/ssl/server/stap.cert; then
637 runuser -s /bin/sh - stap-server -c %{_libexecdir}/systemtap/stap-gen-cert >/dev/null
638 fi
639 # Prepare the service
640 %if %{with_systemd}
641 # Note, Fedora policy doesn't allow network services enabled by default
642 # /bin/systemctl enable stap-server.service >/dev/null 2>&1 || :
643 /bin/systemd-tmpfiles --create %{_tmpfilesdir}/stap-server.conf >/dev/null 2>&1 || :
644 %else
645 /sbin/chkconfig --add stap-server
646 %endif
647 exit 0
648
649 %triggerin client -- systemtap-server
650 if test -e ~stap-server/.systemtap/ssl/server/stap.cert; then
651 # echo Authorizing ssl-peer/trusted-signer certificate for local systemtap-server
652 %{_libexecdir}/systemtap/stap-authorize-cert ~stap-server/.systemtap/ssl/server/stap.cert %{_sysconfdir}/systemtap/ssl/client >/dev/null
653 %{_libexecdir}/systemtap/stap-authorize-cert ~stap-server/.systemtap/ssl/server/stap.cert %{_sysconfdir}/systemtap/staprun >/dev/null
654 fi
655 exit 0
656 # XXX: corresponding %triggerun?
657
658 %preun server
659 # Check that this is the actual deinstallation of the package, as opposed to
660 # just removing the old package on upgrade.
661 if [ $1 = 0 ] ; then
662 %if %{with_systemd}
663 /bin/systemctl --no-reload disable stap-server.service >/dev/null 2>&1 || :
664 /bin/systemctl stop stap-server.service >/dev/null 2>&1 || :
665 %else
666 /sbin/service stap-server stop >/dev/null 2>&1
667 /sbin/chkconfig --del stap-server
668 %endif
669 fi
670 exit 0
671
672 %postun server
673 # Check whether this is an upgrade of the package.
674 # If so, restart the service if it's running
675 if [ "$1" -ge "1" ] ; then
676 %if %{with_systemd}
677 /bin/systemctl condrestart stap-server.service >/dev/null 2>&1 || :
678 %else
679 /sbin/service stap-server condrestart >/dev/null 2>&1 || :
680 %endif
681 fi
682 exit 0
683
684 %post initscript
685 %if %{with_systemd}
686 /bin/systemctl enable systemtap.service >/dev/null 2>&1 || :
687 %else
688 /sbin/chkconfig --add systemtap
689 %endif
690 exit 0
691
692 %preun initscript
693 # Check that this is the actual deinstallation of the package, as opposed to
694 # just removing the old package on upgrade.
695 if [ $1 = 0 ] ; then
696 %if %{with_systemd}
697 /bin/systemctl --no-reload disable systemtap.service >/dev/null 2>&1 || :
698 /bin/systemctl stop systemtap.service >/dev/null 2>&1 || :
699 %else
700 /sbin/service systemtap stop >/dev/null 2>&1
701 /sbin/chkconfig --del systemtap
702 %endif
703 fi
704 exit 0
705
706 %postun initscript
707 # Check whether this is an upgrade of the package.
708 # If so, restart the service if it's running
709 if [ "$1" -ge "1" ] ; then
710 %if %{with_systemd}
711 /bin/systemctl condrestart systemtap.service >/dev/null 2>&1 || :
712 %else
713 /sbin/service systemtap condrestart >/dev/null 2>&1 || :
714 %endif
715 fi
716 exit 0
717
718 %post runtime-virtguest
719 %if %{with_systemd}
720 # Start services if there are ports present
721 if [ -d /dev/virtio-ports ]; then
722 (find /dev/virtio-ports -iname 'org.systemtap.stapsh.[0-9]*' -type l \
723 | xargs -n 1 basename \
724 | xargs -n 1 -I {} /bin/systemctl start stapsh@{}.service) >/dev/null 2>&1 || :
725 fi
726 %else
727 /sbin/chkconfig --add stapshd
728 /sbin/chkconfig stapshd on
729 /sbin/service stapshd start >/dev/null 2>&1 || :
730 %endif
731 exit 0
732
733 %preun runtime-virtguest
734 # Stop service if this is an uninstall rather than an upgrade
735 if [ $1 = 0 ]; then
736 %if %{with_systemd}
737 # We need to stop all stapsh services. Because they are instantiated from
738 # a template service file, we can't simply call disable. We need to find
739 # all the running ones and stop them all individually
740 for service in `/bin/systemctl --full | grep stapsh@ | cut -d ' ' -f 1`; do
741 /bin/systemctl stop $service >/dev/null 2>&1 || :
742 done
743 %else
744 /sbin/service stapshd stop >/dev/null 2>&1
745 /sbin/chkconfig --del stapshd
746 %endif
747 fi
748 exit 0
749
750 %postun runtime-virtguest
751 # Restart service if this is an upgrade rather than an uninstall
752 if [ "$1" -ge "1" ]; then
753 %if %{with_systemd}
754 # We need to restart all stapsh services. Because they are instantiated from
755 # a template service file, we can't simply call restart. We need to find
756 # all the running ones and restart them all individually
757 for service in `/bin/systemctl --full | grep stapsh@ | cut -d ' ' -f 1`; do
758 /bin/systemctl condrestart $service >/dev/null 2>&1 || :
759 done
760 %else
761 /sbin/service stapshd condrestart >/dev/null 2>&1
762 %endif
763 fi
764 exit 0
765
766 %post
767 # Remove any previously-built uprobes.ko materials
768 (make -C %{_datadir}/systemtap/runtime/uprobes clean) >/dev/null 2>&1 || true
769 (/sbin/rmmod uprobes) >/dev/null 2>&1 || true
770
771 %preun
772 # Ditto
773 (make -C %{_datadir}/systemtap/runtime/uprobes clean) >/dev/null 2>&1 || true
774 (/sbin/rmmod uprobes) >/dev/null 2>&1 || true
775
776 # ------------------------------------------------------------------------
777
778 %if %{with_java}
779
780 %triggerin runtime-java -- java-1.8.0-openjdk, java-1.7.0-openjdk, java-1.6.0-openjdk
781 for f in %{_libexecdir}/systemtap/libHelperSDT_*.so; do
782 %ifarch %{ix86}
783 arch=i386
784 %else
785 arch=`basename $f | cut -f2 -d_ | cut -f1 -d.`
786 %endif
787 for archdir in %{_jvmdir}/*openjdk*/jre/lib/${arch}; do
788 if [ -d ${archdir} ]; then
789 ln -sf %{_libexecdir}/systemtap/libHelperSDT_${arch}.so ${archdir}/libHelperSDT_${arch}.so
790 ln -sf %{_libexecdir}/systemtap/HelperSDT.jar ${archdir}/../ext/HelperSDT.jar
791 fi
792 done
793 done
794
795 %triggerun runtime-java -- java-1.8.0-openjdk, java-1.7.0-openjdk, java-1.6.0-openjdk
796 for f in %{_libexecdir}/systemtap/libHelperSDT_*.so; do
797 %ifarch %{ix86}
798 arch=i386
799 %else
800 arch=`basename $f | cut -f2 -d_ | cut -f1 -d.`
801 %endif
802 for archdir in %{_jvmdir}/*openjdk*/jre/lib/${arch}; do
803 rm -f ${archdir}/libHelperSDT_${arch}.so
804 rm -f ${archdir}/../ext/HelperSDT.jar
805 done
806 done
807
808 %triggerpostun runtime-java -- java-1.8.0-openjdk, java-1.7.0-openjdk, java-1.6.0-openjdk
809 # Restore links for any JDKs remaining after a package removal:
810 for f in %{_libexecdir}/systemtap/libHelperSDT_*.so; do
811 %ifarch %{ix86}
812 arch=i386
813 %else
814 arch=`basename $f | cut -f2 -d_ | cut -f1 -d.`
815 %endif
816 for archdir in %{_jvmdir}/*openjdk*/jre/lib/${arch}; do
817 if [ -d ${archdir} ]; then
818 ln -sf %{_libexecdir}/systemtap/libHelperSDT_${arch}.so ${archdir}/libHelperSDT_${arch}.so
819 ln -sf %{_libexecdir}/systemtap/HelperSDT.jar ${archdir}/../ext/HelperSDT.jar
820 fi
821 done
822 done
823
824 # XXX: analogous support for other types of JRE/JDK??
825
826 %endif
827
828 # ------------------------------------------------------------------------
829
830 %files -f systemtap.lang
831 # The master "systemtap" rpm doesn't include any files.
832
833 %files server -f systemtap.lang
834 %defattr(-,root,root)
835 %{_bindir}/stap-server
836 %dir %{_libexecdir}/systemtap
837 %{_libexecdir}/systemtap/stap-serverd
838 %{_libexecdir}/systemtap/stap-start-server
839 %{_libexecdir}/systemtap/stap-stop-server
840 %{_libexecdir}/systemtap/stap-gen-cert
841 %{_libexecdir}/systemtap/stap-sign-module
842 %{_libexecdir}/systemtap/stap-authorize-cert
843 %{_libexecdir}/systemtap/stap-env
844 %{_mandir}/man7/error*
845 %{_mandir}/man7/stappaths.7*
846 %{_mandir}/man7/warning*
847 %{_mandir}/man8/stap-server.8*
848 %if %{with_systemd}
849 %{_unitdir}/stap-server.service
850 %{_tmpfilesdir}/stap-server.conf
851 %else
852 %{initdir}/stap-server
853 %dir %{_sysconfdir}/stap-server/conf.d
854 %config(noreplace) %{_sysconfdir}/sysconfig/stap-server
855 %endif
856 %config(noreplace) %{_sysconfdir}/logrotate.d/stap-server
857 %dir %{_sysconfdir}/stap-server
858 %dir %attr(0750,stap-server,stap-server) %{_localstatedir}/lib/stap-server
859 %dir %attr(0700,stap-server,stap-server) %{_localstatedir}/lib/stap-server/.systemtap
860 %dir %attr(0755,stap-server,stap-server) %{_localstatedir}/log/stap-server
861 %ghost %config(noreplace) %attr(0644,stap-server,stap-server) %{_localstatedir}/log/stap-server/log
862 %ghost %attr(0755,stap-server,stap-server) %{_localstatedir}/run/stap-server
863 %doc README README.unprivileged AUTHORS NEWS
864 %{!?_licensedir:%global license %%doc}
865 %license COPYING
866
867
868 %files devel -f systemtap.lang
869 %{_bindir}/stap
870 %{_bindir}/stap-prep
871 %{_bindir}/stap-report
872 %dir %{_datadir}/systemtap
873 %{_datadir}/systemtap/runtime
874 %{_datadir}/systemtap/tapset
875 %{_mandir}/man1/stap.1*
876 %{_mandir}/man1/stap-prep.1*
877 %{_mandir}/man1/stap-report.1*
878 %{_mandir}/man7/error*
879 %{_mandir}/man7/stappaths.7*
880 %{_mandir}/man7/warning*
881 %doc README README.unprivileged AUTHORS NEWS
882 %{!?_licensedir:%global license %%doc}
883 %license COPYING
884 %if %{with_java}
885 %dir %{_libexecdir}/systemtap
886 %{_libexecdir}/systemtap/libHelperSDT_*.so
887 %endif
888 %if %{with_bundled_elfutils}
889 %dir %{_libdir}/systemtap
890 %{_libdir}/systemtap/lib*.so*
891 %endif
892 %if %{with_emacsvim}
893 %{_emacs_sitelispdir}/*.el*
894 %{_emacs_sitestartdir}/systemtap-init.el
895 %{_datadir}/vim/vimfiles/*/*.vim
896 %endif
897
898
899 %files runtime -f systemtap.lang
900 %defattr(-,root,root)
901 %attr(4110,root,stapusr) %{_bindir}/staprun
902 %{_bindir}/stapsh
903 %{_bindir}/stap-merge
904 %{_bindir}/stap-report
905 %if %{with_dyninst}
906 %{_bindir}/stapdyn
907 %endif
908 %dir %{_libexecdir}/systemtap
909 %{_libexecdir}/systemtap/stapio
910 %{_libexecdir}/systemtap/stap-authorize-cert
911 %if %{with_crash}
912 %dir %{_libdir}/systemtap
913 %{_libdir}/systemtap/staplog.so*
914 %endif
915 %{_mandir}/man1/stap-report.1*
916 %{_mandir}/man7/error*
917 %{_mandir}/man7/stappaths.7*
918 %{_mandir}/man7/warning*
919 %{_mandir}/man8/stapsh.8*
920 %{_mandir}/man8/staprun.8*
921 %if %{with_dyninst}
922 %{_mandir}/man8/stapdyn.8*
923 %endif
924 %doc README README.security AUTHORS NEWS
925 %{!?_licensedir:%global license %%doc}
926 %license COPYING
927
928
929 %files client -f systemtap.lang
930 %defattr(-,root,root)
931 %doc README README.unprivileged AUTHORS NEWS examples
932 %{!?_licensedir:%global license %%doc}
933 %license COPYING
934 %if %{with_docs}
935 %doc docs.installed/*.pdf
936 %doc docs.installed/tapsets/*.html
937 %doc docs.installed/SystemTap_Beginners_Guide
938 %endif
939 %{_bindir}/stap
940 %{_bindir}/stap-prep
941 %{_bindir}/stap-report
942 %{_mandir}/man1/stap.1*
943 %{_mandir}/man1/stap-prep.1*
944 %{_mandir}/man1/stap-merge.1*
945 %{_mandir}/man1/stap-report.1*
946 %{_mandir}/man1/stapref.1*
947 %{_mandir}/man3/*
948 %{_mandir}/man7/error*
949 %{_mandir}/man7/stappaths.7*
950 %{_mandir}/man7/warning*
951 %dir %{_datadir}/systemtap
952 %{_datadir}/systemtap/tapset
953
954
955
956 %files initscript
957 %defattr(-,root,root)
958 %{initdir}/systemtap
959 %dir %{_sysconfdir}/systemtap
960 %dir %{_sysconfdir}/systemtap/conf.d
961 %dir %{_sysconfdir}/systemtap/script.d
962 %config(noreplace) %{_sysconfdir}/systemtap/config
963 %dir %{_localstatedir}/cache/systemtap
964 %ghost %{_localstatedir}/run/systemtap
965 %{_mandir}/man8/systemtap.8*
966 %if %{with_dracut}
967 %dir %{dracutstap}
968 %{dracutstap}/*
969 %endif
970
971
972 %files sdt-devel
973 %defattr(-,root,root)
974 %{_bindir}/dtrace
975 %{_includedir}/sys/sdt.h
976 %{_includedir}/sys/sdt-config.h
977 %{_mandir}/man1/dtrace.1*
978 %doc README AUTHORS NEWS
979 %{!?_licensedir:%global license %%doc}
980 %license COPYING
981
982
983 %files testsuite
984 %defattr(-,root,root)
985 %dir %{_datadir}/systemtap
986 %{_datadir}/systemtap/testsuite
987
988
989 %if %{with_java}
990 %files runtime-java
991 %dir %{_libexecdir}/systemtap
992 %{_libexecdir}/systemtap/libHelperSDT_*.so
993 %{_libexecdir}/systemtap/HelperSDT.jar
994 %{_libexecdir}/systemtap/stapbm
995 %endif
996
997 %if %{with_virthost}
998 %files runtime-virthost
999 %{_mandir}/man1/stapvirt.1*
1000 %{_bindir}/stapvirt
1001 %endif
1002
1003 %if %{with_virtguest}
1004 %files runtime-virtguest
1005 %if %{with_systemd}
1006 %{udevrulesdir}/99-stapsh.rules
1007 %{_unitdir}/stapsh@.service
1008 %else
1009 %{udevrulesdir}/99-stapsh-init.rules
1010 %dir %{_libexecdir}/systemtap
1011 %{_libexecdir}/systemtap/stapsh-daemon
1012 %{initdir}/stapshd
1013 %{_sysconfdir}/sysconfig/modules/virtio_console.modules
1014 %endif
1015 %endif
1016
1017 # ------------------------------------------------------------------------
1018
1019 # Future new-release entries should be of the form
1020 # * DDD MMM DD YYYY YOURNAME <YOUREMAIL> - V-R
1021 # - Upstream release, see wiki page below for detailed notes.
1022 # http://sourceware.org/systemtap/wiki/SystemTapReleases
1023
1024 %changelog
1025 * Thu Oct 08 2015 Frank Ch. Eigler <fche@redhat.com> - 2.9-1
1026 - Upstream release.
1027
1028 * Wed Jun 17 2015 Abegail Jakop <ajakop@redhat.com> - 2.8-1
1029 - Upstream release.
1030
1031 * Wed Feb 18 2015 Frank Ch. Eigler <fche@redhat.com> - 2.7-1
1032 - Upstream release.
1033
1034 * Fri Sep 05 2014 Josh Stone <jistone@redhat.com> - 2.6-1
1035 - Upstream release.
1036
1037 * Mon Jul 07 2014 Josh Stone <jistone@redhat.com>
1038 - Flip with_dyninst to an %ifarch whitelist.
1039
1040 * Wed Apr 30 2014 Jonathan Lebon <jlebon@redhat.com> - 2.5-1
1041 - Upstream release.
1042
1043 * Thu Feb 13 2014 Lukas Berk <lberk@redhat.com>
1044 - Add directory checks for runtime-java sym links
1045
1046 * Mon Jan 06 2014 Jonathan Lebon <jlebon@redhat.com>
1047 - Added dracut module to initscript package
1048
1049 * Wed Nov 06 2013 Frank Ch. Eigler <fche@redhat.com> - 2.4-1
1050 - Upstream release.
1051
1052 * Wed Oct 09 2013 Jonathan Lebon <jlebon@redhat.com>
1053 - Added runtime-virthost and runtime-virtguest packages.
1054
1055 * Thu Jul 25 2013 Frank Ch. Eigler <fche@redhat.com> - 2.3-1
1056 - Upstream release.
1057
1058 * Thu May 16 2013 Frank Ch. Eigler <fche@redhat.com> - 2.2.1-1
1059 - Upstream release.
1060
1061 * Tue May 14 2013 Frank Ch. Eigler <fche@redhat.com> - 2.2-1
1062 - Upstream release.
1063
1064 * Wed Feb 13 2013 Serguei Makarov <smakarov@redhat.com> - 2.1-1
1065 - Upstream release.
1066
1067 * Tue Oct 09 2012 Josh Stone <jistone@redhat.com> - 2.0-1
1068 - Upstream release.
1069
1070 * Fri Jul 13 2012 Peter Robinson <pbrobinson@fedoraproject.org>
1071 - Fix ifarch statement
1072 - use file based requires for glibc-devel on x86_64 so that we work in koji
1073
1074 * Sun Jun 17 2012 Frank Ch. Eigler <fche@redhat.com> - 1.8-1
1075 - Upstream release.
1076
1077 * Wed Feb 01 2012 Frank Ch. Eigler <fche@redhat.com> - 1.7-1
1078 - Upstream release.
1079
1080 * Fri Jan 13 2012 David Smith <dsmith@redhat.com> - 1.6-2
1081 - Fixed /bin/mktemp require.
1082
1083 * Mon Jul 25 2011 Stan Cox <scox@redhat.com> - 1.6-1
1084 - Upstream release.
1085
1086 * Mon May 23 2011 Stan Cox <scox@redhat.com> - 1.5-1
1087 - Upstream release.
1088
1089 * Mon Jan 17 2011 Frank Ch. Eigler <fche@redhat.com> - 1.4-1
1090 - Upstream release.
1091
1092 * Wed Jul 21 2010 Josh Stone <jistone@redhat.com> - 1.3-1
1093 - Upstream release.
1094
1095 * Mon Mar 22 2010 Frank Ch. Eigler <fche@redhat.com> - 1.2-1
1096 - Upstream release.
1097
1098 * Mon Dec 21 2009 David Smith <dsmith@redhat.com> - 1.1-1
1099 - Upstream release.
1100
1101 * Tue Sep 22 2009 Josh Stone <jistone@redhat.com> - 1.0-1
1102 - Upstream release.
1103
1104 * Tue Aug 4 2009 Josh Stone <jistone@redhat.com> - 0.9.9-1
1105 - Upstream release.
1106
1107 * Thu Jun 11 2009 Josh Stone <jistone@redhat.com> - 0.9.8-1
1108 - Upstream release.
1109
1110 * Thu Apr 23 2009 Josh Stone <jistone@redhat.com> - 0.9.7-1
1111 - Upstream release.
1112
1113 * Fri Mar 27 2009 Josh Stone <jistone@redhat.com> - 0.9.5-1
1114 - Upstream release.
1115
1116 * Wed Mar 18 2009 Will Cohen <wcohen@redhat.com> - 0.9-2
1117 - Add location of man pages.
1118
1119 * Tue Feb 17 2009 Frank Ch. Eigler <fche@redhat.com> - 0.9-1
1120 - Upstream release.
1121
1122 * Thu Nov 13 2008 Frank Ch. Eigler <fche@redhat.com> - 0.8-1
1123 - Upstream release.
1124
1125 * Tue Jul 15 2008 Frank Ch. Eigler <fche@redhat.com> - 0.7-1
1126 - Upstream release.
1127
1128 * Fri Feb 1 2008 Frank Ch. Eigler <fche@redhat.com> - 0.6.1-3
1129 - Add zlib-devel to buildreq; missing from crash-devel
1130 - Process testsuite .stp files for #!stap->#!/usr/bin/stap
1131
1132 * Fri Jan 18 2008 Frank Ch. Eigler <fche@redhat.com> - 0.6.1-1
1133 - Add crash-devel buildreq to build staplog.so crash(8) module.
1134 - Many robustness & functionality improvements:
1135
1136 * Wed Dec 5 2007 Will Cohen <wcohen@redhat.com> - 0.6-2
1137 - Correct Source to point to location contain code.
1138
1139 * Thu Aug 9 2007 David Smith <dsmith@redhat.com> - 0.6-1
1140 - Bumped version, added libcap-devel BuildRequires.
1141
1142 * Wed Jul 11 2007 Will Cohen <wcohen@redhat.com> - 0.5.14-2
1143 - Fix Requires and BuildRequires for sqlite.
1144
1145 * Mon Jul 2 2007 Frank Ch. Eigler <fche@redhat.com> - 0.5.14-1
1146 - Many robustness improvements: 1117, 1134, 1305, 1307, 1570, 1806,
1147 2033, 2116, 2224, 2339, 2341, 2406, 2426, 2438, 2583, 3037,
1148 3261, 3282, 3331, 3428 3519, 3545, 3625, 3648, 3880, 3888, 3911,
1149 3952, 3965, 4066, 4071, 4075, 4078, 4081, 4096, 4119, 4122, 4127,
1150 4146, 4171, 4179, 4183, 4221, 4224, 4254, 4281, 4319, 4323, 4326,
1151 4329, 4332, 4337, 4415, 4432, 4444, 4445, 4458, 4467, 4470, 4471,
1152 4518, 4567, 4570, 4579, 4589, 4609, 4664
1153
1154 * Mon Mar 26 2007 Frank Ch. Eigler <fche@redhat.com> - 0.5.13-1
1155 - An emergency / preliminary refresh, mainly for compatibility
1156 with 2.6.21-pre kernels.
1157
1158 * Mon Jan 1 2007 Frank Ch. Eigler <fche@redhat.com> - 0.5.12-1
1159 - Many changes, see NEWS file.
1160
1161 * Tue Sep 26 2006 David Smith <dsmith@redhat.com> - 0.5.10-1
1162 - Added 'systemtap-runtime' subpackage.
1163
1164 * Wed Jul 19 2006 Roland McGrath <roland@redhat.com> - 0.5.9-1
1165 - PRs 2669, 2913
1166
1167 * Fri Jun 16 2006 Roland McGrath <roland@redhat.com> - 0.5.8-1
1168 - PRs 2627, 2520, 2228, 2645
1169
1170 * Fri May 5 2006 Frank Ch. Eigler <fche@redhat.com> - 0.5.7-1
1171 - PRs 2511 2453 2307 1813 1944 2497 2538 2476 2568 1341 2058 2220 2437
1172 1326 2014 2599 2427 2438 2465 1930 2149 2610 2293 2634 2506 2433
1173
1174 * Tue Apr 4 2006 Roland McGrath <roland@redhat.com> - 0.5.5-1
1175 - Many changes, affected PRs include: 2068, 2293, 1989, 2334,
1176 1304, 2390, 2425, 953.
1177
1178 * Wed Feb 1 2006 Frank Ch. Eigler <fche@redhat.com> - 0.5.4-1
1179 - PRs 1916, 2205, 2142, 2060, 1379
1180
1181 * Mon Jan 16 2006 Roland McGrath <roland@redhat.com> - 0.5.3-1
1182 - Many changes, affected PRs include: 2056, 1144, 1379, 2057,
1183 2060, 1972, 2140, 2148
1184
1185 * Mon Dec 19 2005 Roland McGrath <roland@redhat.com> - 0.5.2-1
1186 - Fixed build with gcc 4.1, various tapset changes.
1187
1188 * Wed Dec 7 2005 Roland McGrath <roland@redhat.com> - 0.5.1-1
1189 - elfutils update, build changes
1190
1191 * Fri Dec 02 2005 Frank Ch. Eigler <fche@redhat.com> - 0.5-1
1192 - Many fixes and improvements: 1425, 1536, 1505, 1380, 1329, 1828, 1271,
1193 1339, 1340, 1345, 1837, 1917, 1903, 1336, 1868, 1594, 1564, 1276, 1295
1194
1195 * Mon Oct 31 2005 Roland McGrath <roland@redhat.com> - 0.4.2-1
1196 - Many fixes and improvements: PRs 1344, 1260, 1330, 1295, 1311, 1368,
1197 1182, 1131, 1332, 1366, 1456, 1271, 1338, 1482, 1477, 1194.
1198
1199 * Wed Sep 14 2005 Roland McGrath <roland@redhat.com> - 0.4.1-1
1200 - Many fixes and improvements since 0.2.2; relevant PRs include:
1201 1122, 1134, 1155, 1172, 1174, 1175, 1180, 1186, 1187, 1191, 1193, 1195,
1202 1197, 1205, 1206, 1209, 1213, 1244, 1257, 1258, 1260, 1265, 1268, 1270,
1203 1289, 1292, 1306, 1335, 1257
1204
1205 * Wed Sep 7 2005 Frank Ch. Eigler <fche@redhat.com>
1206 - Bump version.
1207
1208 * Tue Aug 16 2005 Frank Ch. Eigler <fche@redhat.com>
1209 - Bump version.
1210
1211 * Wed Aug 3 2005 Martin Hunt <hunt@redhat.com> - 0.2.2-1
1212 - Add directory /var/cache/systemtap
1213 - Add stp_check to /usr/libexec/systemtap
1214
1215 * Wed Aug 3 2005 Roland McGrath <roland@redhat.com> - 0.2.1-1
1216 - New version 0.2.1, various fixes.
1217
1218 * Fri Jul 29 2005 Roland McGrath <roland@redhat.com> - 0.2-1
1219 - New version 0.2, requires elfutils 0.111
1220
1221 * Mon Jul 25 2005 Roland McGrath <roland@redhat.com>
1222 - Clean up spec file, build bundled elfutils.
1223
1224 * Thu Jul 21 2005 Martin Hunt <hunt@redhat.com>
1225 - Set Version to use version from autoconf.
1226 - Fix up some of the path names.
1227 - Add Requires and BuildRequires.
1228
1229 * Tue Jul 19 2005 Will Cohen <wcohen@redhat.com>
1230 - Initial creation of RPM.
This page took 0.089682 seconds and 5 git commands to generate.