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