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