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