fbc37f4
%{!?with_sqlite: %global with_sqlite 1}
616e9e0
%{!?with_docs: %global with_docs 1}
c39c596
# crash is not available
c39c596
%ifarch ppc ppc64 %{sparc}
53f00b1
%{!?with_crash: %global with_crash 0}
53f00b1
%else
a811d54
%{!?with_crash: %global with_crash 1}
53f00b1
%endif
fbc37f4
%{!?with_rpm: %global with_rpm 1}
fbc37f4
%{!?with_bundled_elfutils: %global with_bundled_elfutils 0}
5ed4602
%{!?elfutils_version: %global elfutils_version 0.142}
fbc37f4
%{!?pie_supported: %global pie_supported 1}
fbc37f4
%{!?with_boost: %global with_boost 0}
1908f80
%ifarch ppc ppc64 %{sparc}
1908f80
%{!?with_publican: %global with_publican 0}
1908f80
%else
616e9e0
%{!?with_publican: %global with_publican 1}
1908f80
%endif
37ef790
%if 0%{?rhel}
37ef790
%{!?publican_brand: %global publican_brand RedHat}
37ef790
%else
fbc37f4
%{!?publican_brand: %global publican_brand fedora}
37ef790
%endif
58e329e
%ifnarch s390 s390x %{arm}
37ef790
%{!?with_dyninst: %global with_dyninst 0%{?fedora} >= 18 || 0%{?rhel} >= 7}
58e329e
%else
79da85a
%{!?with_dyninst: %global with_dyninst 0}
58e329e
%endif
fa019a4
%{!?with_systemd: %global with_systemd 0%{?fedora} >= 19 || 0%{?rhel} >= 7}
79da85a
%{!?with_emacsvim: %global with_emacsvim 1}
4c09063
%{!?with_java: %global with_java 1}
0fc2adf
17e3a21
Name: systemtap
fa019a4
Version: 2.4
2cdc05e
Release: 0.25.g3f873e5%{?dist}
1908f80
# for version, see also configure.ac
1908f80
9da5ca9
9da5ca9
# Packaging abstract:
9da5ca9
#
9da5ca9
# systemtap              empty req:-client req:-devel
9da5ca9
# systemtap-server       /usr/bin/stap-server*, req:-devel
9da5ca9
# systemtap-devel        /usr/bin/stap, runtime, tapset, req:kernel-devel
4041ad6
# systemtap-runtime      /usr/bin/staprun, /usr/bin/stapsh, /usr/bin/stapdyn
9da5ca9
# systemtap-client       /usr/bin/stap, samples, docs, tapset(bonus), req:-runtime
9da5ca9
# systemtap-initscript   /etc/init.d/systemtap, req:systemtap
9da5ca9
# systemtap-sdt-devel    /usr/include/sys/sdt.h /usr/bin/dtrace
9da5ca9
# systemtap-testsuite    /usr/share/systemtap/testsuite*, req:systemtap, req:sdt-devel
4c09063
# systemtap-runtime-java libHelperSDT.so, HelperSDT.jar, stapbm, req:-runtime
9da5ca9
#
9da5ca9
# Typical scenarios:
9da5ca9
#
9da5ca9
# stap-client:           systemtap-client
9da5ca9
# stap-server:           systemtap-server
9da5ca9
# local user:            systemtap
9da5ca9
#
9da5ca9
# Unusual scenarios:
fa019a4
#
9da5ca9
# intermediary stap-client for --remote:       systemtap-client (-runtime unused)
9da5ca9
# intermediary stap-server for --use-server:   systemtap-server (-devel unused)
9da5ca9
1908f80
Summary: Programmable system-wide instrumentation system
1908f80
Group: Development/System
1908f80
License: GPLv2+
1908f80
URL: http://sourceware.org/systemtap/
2cdc05e
Source: %{name}-%{version}-0.25.g3f873e5.tar.gz
17e3a21
9da5ca9
# Build*
1908f80
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
1908f80
BuildRequires: gcc-c++
c39c596
BuildRequires: gettext-devel
c39c596
BuildRequires: nss-devel avahi-devel pkgconfig
4041ad6
%if %{with_dyninst}
3ed2ecf
BuildRequires: dyninst-devel >= 8.0
37ef790
BuildRequires: libselinux-devel
4041ad6
%endif
9a28b9d
%if %{with_sqlite}
fe18a23
BuildRequires: sqlite-devel
0fc2adf
%endif
fbc37f4
# Needed for libstd++ < 4.0, without <tr1/memory>
fbc37f4
%if %{with_boost}
fbc37f4
BuildRequires: boost-devel
fbc37f4
%endif
9a28b9d
%if %{with_crash}
4d4e1ff
BuildRequires: crash-devel zlib-devel
4854246
%endif
bb598bf
%if %{with_rpm}
bb598bf
BuildRequires: rpm-devel glibc-headers
bb598bf
%endif
9a28b9d
%if %{with_bundled_elfutils}
17e3a21
Source1: elfutils-%{elfutils_version}.tar.gz
17e3a21
Patch1: elfutils-portability.patch
bb598bf
BuildRequires: m4
fbc37f4
%global setup_elfutils -a1
17e3a21
%else
17e3a21
BuildRequires: elfutils-devel >= %{elfutils_version}
17e3a21
%endif
9a28b9d
%if %{with_docs}
9a28b9d
BuildRequires: /usr/bin/latex /usr/bin/dvips /usr/bin/ps2pdf latex2html
79da85a
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
79da85a
BuildRequires: tex(fullpage.sty) tex(fancybox.sty) tex(bchr7t.tfm)
79da85a
%endif
cfae4d4
# On F10, xmlto's pdf support was broken off into a sub-package,
cfae4d4
# called 'xmlto-tex'.  To avoid a specific F10 BuildReq, we'll do a
cfae4d4
# file-based buildreq on '/usr/share/xmlto/format/fo/pdf'.
1908f80
BuildRequires: xmlto /usr/share/xmlto/format/fo/pdf
fbc37f4
%if %{with_publican}
345da77
BuildRequires: publican
a811d54
BuildRequires: /usr/share/publican/Common_Content/%{publican_brand}/defaults.cfg
fbc37f4
%endif
9a28b9d
%endif
79da85a
%if %{with_emacsvim}
79da85a
BuildRequires: emacs
79da85a
%endif
4c09063
%if %{with_java}
4c09063
BuildRequires: jpackage-utils java-devel
4c09063
%endif
933a489
# A workaround for BZ920216 which requires an X server to build docs
396e027
BuildRequires: /usr/bin/xvfb-run
2396d5c
9da5ca9
# Install requirements
9da5ca9
Requires: systemtap-client = %{version}-%{release}
9da5ca9
Requires: systemtap-devel = %{version}-%{release}
Mark Wielaard fc3b63d
17e3a21
%description
5ed4602
SystemTap is an instrumentation system for systems running Linux.
9da5ca9
Developers can write instrumentation scripts to collect data on
9da5ca9
the operation of the system.  The base systemtap package contains/requires
9da5ca9
the components needed to locally develop and execute systemtap scripts.
9da5ca9
9da5ca9
# ------------------------------------------------------------------------
9da5ca9
9da5ca9
%package server
9da5ca9
Summary: Instrumentation System Server
9da5ca9
Group: Development/System
1908f80
License: GPLv2+
1908f80
URL: http://sourceware.org/systemtap/
9da5ca9
Requires: systemtap-devel = %{version}-%{release}
9da5ca9
# On RHEL[45], /bin/mktemp comes from the 'mktemp' package.  On newer
9da5ca9
# distributions, /bin/mktemp comes from the 'coreutils' package.  To
9da5ca9
# avoid a specific RHEL[45] Requires, we'll do a file-based require.
9da5ca9
Requires: nss /bin/mktemp
9da5ca9
Requires: zip unzip
9da5ca9
Requires(pre): shadow-utils
9da5ca9
Requires(post): chkconfig
9da5ca9
Requires(preun): chkconfig
9da5ca9
Requires(preun): initscripts
9da5ca9
Requires(postun): initscripts
1908f80
BuildRequires: nss-devel avahi-devel
9da5ca9
9da5ca9
%description server
9da5ca9
This is the remote script compilation server component of systemtap.
9da5ca9
It announces itself to nearby clients with avahi (if available), and
9da5ca9
compiles systemtap scripts to kernel objects on their demand.
9da5ca9
9da5ca9
9da5ca9
%package devel
9da5ca9
Summary: Programmable system-wide instrumentation system - development headers, tools
9da5ca9
Group: Development/System
1908f80
License: GPLv2+
1908f80
URL: http://sourceware.org/systemtap/
9da5ca9
Requires: kernel >= 2.6.9-11
9da5ca9
# Alternate kernel packages kernel-PAE-devel et al. have a virtual
9da5ca9
# provide for kernel-devel, so this requirement does the right thing,
9da5ca9
# at least past RHEL4.
9da5ca9
Requires: kernel-devel
1908f80
Requires: gcc make
9da5ca9
# Suggest: kernel-debuginfo
9da5ca9
9da5ca9
%description devel
9da5ca9
This package contains the components needed to compile a systemtap
9da5ca9
script from source form into executable (.ko) forms.  It may be
9da5ca9
installed on a self-contained developer workstation (along with the
9da5ca9
systemtap-client and systemtap-runtime packages), or on a dedicated
9da5ca9
remote server (alongside the systemtap-server package).  It includes
9da5ca9
a copy of the standard tapset library and the runtime library C files.
9da5ca9
17e3a21
f89d042
%package runtime
9da5ca9
Summary: Programmable system-wide instrumentation system - runtime
f89d042
Group: Development/System
1908f80
License: GPLv2+
1908f80
URL: http://sourceware.org/systemtap/
f89d042
Requires: kernel >= 2.6.9-11
9a28b9d
Requires(pre): shadow-utils
f89d042
f89d042
%description runtime
9da5ca9
SystemTap runtime contains the components needed to execute
9da5ca9
a systemtap script that was already compiled into a module
9da5ca9
using a local or remote systemtap-devel installation.
f89d042
9da5ca9
9da5ca9
%package client
9da5ca9
Summary: Programmable system-wide instrumentation system - client
1908f80
Group: Development/System
1908f80
License: GPLv2+
0fc2adf
URL: http://sourceware.org/systemtap/
9da5ca9
Requires: zip unzip
9da5ca9
Requires: systemtap-runtime = %{version}-%{release}
9da5ca9
Requires: coreutils grep sed unzip zip
9da5ca9
Requires: openssh-clients
0fc2adf
9da5ca9
%description client
fa019a4
This package contains/requires the components needed to develop
fa019a4
systemtap scripts, and compile them using a local systemtap-devel
9da5ca9
or a remote systemtap-server installation, then run them using a
9da5ca9
local or remote systemtap-runtime.  It includes script samples and
9da5ca9
documentation, and a copy of the tapset library for reference.
0fc2adf
9da5ca9
9da5ca9
%package initscript
9da5ca9
Summary: Systemtap Initscripts
bd5a7bb
Group: Development/System
1908f80
License: GPLv2+
1908f80
URL: http://sourceware.org/systemtap/
5ed4602
Requires: systemtap = %{version}-%{release}
fbc37f4
Requires(post): chkconfig
fbc37f4
Requires(preun): chkconfig
fbc37f4
Requires(preun): initscripts
fbc37f4
Requires(postun): initscripts
bd5a7bb
9da5ca9
%description initscript
9da5ca9
Sysvinit scripts to launch selected systemtap scripts at system startup.
9da5ca9
bd5a7bb
cfae4d4
%package sdt-devel
cfae4d4
Summary: Static probe support tools
cfae4d4
Group: Development/System
1908f80
License: GPLv2+ and Public Domain
1908f80
URL: http://sourceware.org/systemtap/
cfae4d4
cfae4d4
%description sdt-devel
9da5ca9
This package includes the <sys/sdt.h> header file used for static
9da5ca9
instrumentation compiled into userspace programs and libraries, along
9da5ca9
with the optional dtrace-compatibility preprocessor to process related
9da5ca9
.d files into tracing-macro-laden .h headers.
cfae4d4
9da5ca9
9da5ca9
%package testsuite
9da5ca9
Summary: Instrumentation System Testsuite
cfae4d4
Group: Development/System
1908f80
License: GPLv2+
1908f80
URL: http://sourceware.org/systemtap/
9da5ca9
Requires: systemtap = %{version}-%{release}
9da5ca9
Requires: systemtap-sdt-devel = %{version}-%{release}
1908f80
Requires: systemtap-server = %{version}-%{release}
37ef790
Requires: dejagnu which elfutils grep nc
1908f80
Requires: gcc gcc-c++ make glibc-devel
37ef790
%ifnarch ia64
37ef790
Requires: prelink
37ef790
%endif
1908f80
# testsuite/systemtap.server/client.exp needs avahi
1908f80
Requires: avahi
1908f80
%if %{with_crash}
1908f80
# testsuite/systemtap.base/crash.exp needs crash
1908f80
Requires: crash
1908f80
%endif
a71f27a
%if %{with_java}
a71f27a
Requires: systemtap-runtime-java = %{version}-%{release}
a71f27a
%endif
5033587
%ifarch x86_64
17dcdfd
Requires: /usr/lib/libc.so
4e1f190
# ... and /usr/lib/libgcc_s.so.*
4e1f190
# ... and /usr/lib/libstdc++.so.*
1908f80
%endif
9da5ca9
9da5ca9
%description testsuite
9da5ca9
This package includes the dejagnu-based systemtap stress self-testing
9da5ca9
suite.  This may be used by system administrators to thoroughly check
9da5ca9
systemtap on the current system.
cfae4d4
cfae4d4
4c09063
%if %{with_java}
4c09063
%package runtime-java
4c09063
Summary: Systemtap Java Runtime Support
4c09063
Group: Development/System
4c09063
License: GPLv2+
4c09063
URL: http://sourceware.org/systemtap/
4c09063
Requires: systemtap-runtime = %{version}-%{release}
4c09063
Requires: byteman > 2.0
4c09063
4c09063
%description runtime-java
4c09063
This package includes support files needed to run systemtap scripts
4c09063
that probe Java processes running on the OpenJDK 1.6 and OpenJDK 1.7
4c09063
runtimes using Byteman.
4c09063
%endif
4c09063
4c09063
9da5ca9
# ------------------------------------------------------------------------
9da5ca9
17e3a21
%prep
17e3a21
%setup -q %{?setup_elfutils}
17e3a21
9a28b9d
%if %{with_bundled_elfutils}
17e3a21
cd elfutils-%{elfutils_version}
17e3a21
%patch1 -p1
17e3a21
sleep 1
17e3a21
find . \( -name Makefile.in -o -name aclocal.m4 \) -print | xargs touch
17e3a21
sleep 1
17e3a21
find . \( -name configure -o -name config.h.in \) -print | xargs touch
17e3a21
cd ..
17e3a21
%endif
17e3a21
17e3a21
%build
17e3a21
9a28b9d
%if %{with_bundled_elfutils}
17e3a21
# Build our own copy of elfutils.
fbc37f4
%global elfutils_config --with-elfutils=elfutils-%{elfutils_version}
17e3a21
17e3a21
# We have to prevent the standard dependency generation from identifying
17e3a21
# our private elfutils libraries in our provides and requires.
fbc37f4
%global _use_internal_dependency_generator	0
fbc37f4
%global filter_eulibs() /bin/sh -c "%{1} | sed '/libelf/d;/libdw/d;/libebl/d'"
fbc37f4
%global __find_provides %{filter_eulibs /usr/lib/rpm/find-provides}
fbc37f4
%global __find_requires %{filter_eulibs /usr/lib/rpm/find-requires}
b04ba44
b04ba44
# This will be needed for running stap when not installed, for the test suite.
fbc37f4
%global elfutils_mflags LD_LIBRARY_PATH=`pwd`/lib-elfutils
17e3a21
%endif
17e3a21
4041ad6
# Enable/disable the dyninst pure-userspace backend
4041ad6
%if %{with_dyninst}
4041ad6
%global dyninst_config --with-dyninst
4041ad6
%else
4041ad6
%global dyninst_config --without-dyninst
4041ad6
%endif
4041ad6
9a28b9d
# Enable/disable the sqlite coverage testing support
9a28b9d
%if %{with_sqlite}
fbc37f4
%global sqlite_config --enable-sqlite
9a28b9d
%else
fbc37f4
%global sqlite_config --disable-sqlite
9a28b9d
%endif
9a28b9d
9a28b9d
# Enable/disable the crash extension
9a28b9d
%if %{with_crash}
fbc37f4
%global crash_config --enable-crash
9a28b9d
%else
fbc37f4
%global crash_config --disable-crash
9a28b9d
%endif
9a28b9d
bb598bf
# Enable/disable the code to find and suggest needed rpms
bb598bf
%if %{with_rpm}
fbc37f4
%global rpm_config --with-rpm
bb598bf
%else
fbc37f4
%global rpm_config --without-rpm
bb598bf
%endif
bb598bf
9a28b9d
%if %{with_docs}
fbc37f4
%global docs_config --enable-docs
9a28b9d
%else
fbc37f4
%global docs_config --disable-docs
0fc2adf
%endif
0fc2adf
da32dac
# Enable pie as configure defaults to disabling it
da32dac
%if %{pie_supported}
fbc37f4
%global pie_config --enable-pie
da32dac
%else
fbc37f4
%global pie_config --disable-pie
da32dac
%endif
9a28b9d
fbc37f4
%if %{with_publican}
fbc37f4
%global publican_config --enable-publican --with-publican-brand=%{publican_brand}
bb598bf
%else
fbc37f4
%global publican_config --disable-publican
bb598bf
%endif
bb598bf
4c09063
%if %{with_java}
4c09063
%global java_config --with-java=%{_jvmdir}/java
4c09063
%else
4c09063
%global java_config --without-java
4c09063
%endif
9a28b9d
4c09063
%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}"
fe18a23
make %{?_smp_mflags}
17e3a21
79da85a
%if %{with_emacsvim}
79da85a
%{_emacs_bytecompile} emacs/systemtap-mode.el
79da85a
%endif
79da85a
8d6b47e
%install
1908f80
rm -rf ${RPM_BUILD_ROOT}
8d6b47e
make DESTDIR=$RPM_BUILD_ROOT install
345da77
%find_lang %{name}
8d6b47e
bd5a7bb
# We want the examples in the special doc dir, not the build install dir.
bd5a7bb
# We build it in place and then move it away so it doesn't get installed
bd5a7bb
# twice. rpm can specify itself where the (versioned) docs go with the
bd5a7bb
# %doc directive.
8d6b47e
mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/examples examples
8d6b47e
4d4e1ff
# Fix paths in the example & testsuite scripts
4d4e1ff
find examples testsuite -type f -name '*.stp' -print0 | xargs -0 sed -i -r -e '1s@^#!.+stap@#!%{_bindir}/stap@'
b04ba44
345da77
# To make rpmlint happy, remove any .gitignore files in the testsuite.
345da77
find testsuite -type f -name '.gitignore' -print0 | xargs -0 rm -f
345da77
f55661b
# Because "make install" may install staprun with whatever mode, the
0fc2adf
# post-processing programs rpmbuild runs won't be able to read it.
0fc2adf
# So, we change permissions so that they can read it.  We'll set the
f55661b
# permissions back to 04110 in the %files section below.
0fc2adf
chmod 755 $RPM_BUILD_ROOT%{_bindir}/staprun
0fc2adf
58e9517
#install the useful stap-prep script
58e9517
install -c -m 755 stap-prep $RPM_BUILD_ROOT%{_bindir}/stap-prep
58e9517
0fc2adf
# Copy over the testsuite
0fc2adf
cp -rp testsuite $RPM_BUILD_ROOT%{_datadir}/systemtap
8d6b47e
bd5a7bb
%if %{with_docs}
8d6b47e
# We want the manuals in the special doc dir, not the generic doc install dir.
bd5a7bb
# We build it in place and then move it away so it doesn't get installed
bd5a7bb
# twice. rpm can specify itself where the (versioned) docs go with the
bd5a7bb
# %doc directive.
8d6b47e
mkdir docs.installed
8d6b47e
mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/*.pdf docs.installed/
eb90f4f
mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/tapsets docs.installed/
fbc37f4
%if %{with_publican}
fbc37f4
mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/SystemTap_Beginners_Guide docs.installed/
fbc37f4
%endif
bd5a7bb
%endif
17e3a21
5a059f5
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/stap-server
5a059f5
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/stap-server
43e806f
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/stap-server/.systemtap
5a059f5
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/stap-server
5a059f5
touch $RPM_BUILD_ROOT%{_localstatedir}/log/stap-server/log
5a059f5
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/cache/systemtap
5a059f5
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/systemtap
5a059f5
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
5a059f5
install -m 644 initscript/logrotate.stap-server $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/stap-server
43e806f
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/
43e806f
install -m 755 initscript/systemtap $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/
43e806f
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/systemtap
43e806f
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/systemtap/conf.d
43e806f
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/systemtap/script.d
43e806f
install -m 644 initscript/config.systemtap $RPM_BUILD_ROOT%{_sysconfdir}/systemtap/config
79da85a
%if %{with_systemd}
5a059f5
mkdir -p $RPM_BUILD_ROOT%{_unitdir}
5a059f5
touch $RPM_BUILD_ROOT%{_unitdir}/stap-server.service
5a059f5
install -m 644 stap-server.service $RPM_BUILD_ROOT%{_unitdir}/stap-server.service
a71f27a
mkdir -p $RPM_BUILD_ROOT%{_tmpfilesdir}
a71f27a
install -m 644 stap-server.conf $RPM_BUILD_ROOT%{_tmpfilesdir}/stap-server.conf
5a059f5
%else
fbc37f4
install -m 755 initscript/stap-server $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/
fbc37f4
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/stap-server/conf.d
fbc37f4
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
fbc37f4
install -m 644 initscript/config.stap-server $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/stap-server
5a059f5
%endif
fbc37f4
79da85a
%if %{with_emacsvim}
79da85a
mkdir -p $RPM_BUILD_ROOT%{_emacs_sitelispdir}
79da85a
install -p -m 644 emacs/systemtap-mode.el* $RPM_BUILD_ROOT%{_emacs_sitelispdir}
79da85a
mkdir -p $RPM_BUILD_ROOT%{_emacs_sitestartdir}
79da85a
install -p -m 644 emacs/systemtap-init.el $RPM_BUILD_ROOT%{_emacs_sitestartdir}/systemtap-init.el
79da85a
for subdir in ftdetect ftplugin indent syntax
79da85a
do
79da85a
    mkdir -p $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/$subdir
79da85a
    install -p -m 644 vim/$subdir/*.vim $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/$subdir
79da85a
done
79da85a
%endif
79da85a
79da85a
1908f80
%clean
1908f80
rm -rf ${RPM_BUILD_ROOT}
17e3a21
9a28b9d
%pre runtime
4041ad6
getent group stapusr >/dev/null || groupadd -g 156 -r stapusr 2>/dev/null || groupadd -r stapusr
4041ad6
getent group stapsys >/dev/null || groupadd -g 157 -r stapsys 2>/dev/null || groupadd -r stapsys
4041ad6
getent group stapdev >/dev/null || groupadd -g 158 -r stapdev 2>/dev/null || groupadd -r stapdev
0fc2adf
exit 0
0fc2adf
fbc37f4
%pre server
4041ad6
getent group stap-server >/dev/null || groupadd -g 155 -r stap-server 2>/dev/null || groupadd -r stap-server
58e9517
getent passwd stap-server >/dev/null || \
43e806f
  useradd -c "Systemtap Compile Server" -u 155 -g stap-server -d %{_localstatedir}/lib/stap-server -r -s /sbin/nologin stap-server 2>/dev/null || \
43e806f
  useradd -c "Systemtap Compile Server" -g stap-server -d %{_localstatedir}/lib/stap-server -r -s /sbin/nologin stap-server
43e806f
43e806f
%post server
43e806f
58e9517
test -e ~stap-server && chmod 755 ~stap-server
1908f80
1908f80
if [ ! -f ~stap-server/.systemtap/rc ]; then
1908f80
  mkdir -p ~stap-server/.systemtap
1908f80
  chown stap-server:stap-server ~stap-server/.systemtap
1908f80
  echo "--rlimit-as=614400000 --rlimit-cpu=60 --rlimit-nproc=20 --rlimit-stack=1024000 --rlimit-fsize=51200000" > ~stap-server/.systemtap/rc
1908f80
  chown stap-server:stap-server ~stap-server/.systemtap/rc
1908f80
fi
fbc37f4
58e9517
test -e %{_localstatedir}/log/stap-server/log || {
58e9517
     touch %{_localstatedir}/log/stap-server/log
58e9517
     chmod 664 %{_localstatedir}/log/stap-server/log
58e9517
     chown stap-server:stap-server %{_localstatedir}/log/stap-server/log
58e9517
}
a811d54
# If it does not already exist, as stap-server, generate the certificate
58e9517
# used for signing and for ssl.
58e9517
if test ! -e ~stap-server/.systemtap/ssl/server/stap.cert; then
43e806f
   runuser -s /bin/sh - stap-server -c %{_libexecdir}/systemtap/stap-gen-cert >/dev/null
58e9517
fi
fbc37f4
# Activate the service
79da85a
%if %{with_systemd}
5a059f5
     /bin/systemctl enable stap-server.service >/dev/null 2>&1 || :
5a059f5
     /bin/systemd-tmpfiles --create >/dev/null 2>&1 || :
5a059f5
%else
5a059f5
    /sbin/chkconfig --add stap-server
5a059f5
%endif
fbc37f4
exit 0
fbc37f4
37ef790
%triggerin client -- systemtap-server
37ef790
if test -e ~stap-server/.systemtap/ssl/server/stap.cert; then
37ef790
   # echo Authorizing ssl-peer/trusted-signer certificate for local systemtap-server
43e806f
   %{_libexecdir}/systemtap/stap-authorize-cert ~stap-server/.systemtap/ssl/server/stap.cert %{_sysconfdir}/systemtap/ssl/client >/dev/null
43e806f
   %{_libexecdir}/systemtap/stap-authorize-cert ~stap-server/.systemtap/ssl/server/stap.cert %{_sysconfdir}/systemtap/staprun >/dev/null
37ef790
fi
37ef790
exit 0
37ef790
# XXX: corresponding %triggerun?
37ef790
fbc37f4
%preun server
fbc37f4
# Check that this is the actual deinstallation of the package, as opposed to
fbc37f4
# just removing the old package on upgrade.
fbc37f4
if [ $1 = 0 ] ; then
79da85a
    %if %{with_systemd}
5a059f5
       /bin/systemctl --no-reload disable stap-server.service >/dev/null 2>&1 || :
5a059f5
       /bin/systemctl stop stap-server.service >/dev/null 2>&1 || :
5a059f5
    %else
5a059f5
        /sbin/service stap-server stop >/dev/null 2>&1
5a059f5
    	/sbin/chkconfig --del stap-server
5a059f5
    %endif
fbc37f4
fi
fbc37f4
exit 0
fbc37f4
fbc37f4
%postun server
fbc37f4
# Check whether this is an upgrade of the package.
fbc37f4
# If so, restart the service if it's running
fbc37f4
if [ "$1" -ge "1" ] ; then
79da85a
    %if %{with_systemd}
5a059f5
    	/bin/systemctl restart stap-server.service >/dev/null 2>&1 || :
5a059f5
    %else
5a059f5
        /sbin/service stap-server condrestart >/dev/null 2>&1 || :
5a059f5
    %endif
fbc37f4
fi
fbc37f4
exit 0
fbc37f4
cfae4d4
%post initscript
79da85a
%if %{with_systemd}
5a059f5
    /bin/systemctl enable stap-server.service >/dev/null 2>&1 || :
5a059f5
     /bin/systemd-tmpfiles --create >/dev/null 2>&1 || :
5a059f5
%else
5a059f5
    /sbin/chkconfig --add systemtap
5a059f5
%endif
cfae4d4
exit 0
cfae4d4
cfae4d4
%preun initscript
fbc37f4
# Check that this is the actual deinstallation of the package, as opposed to
fbc37f4
# just removing the old package on upgrade.
fbc37f4
if [ $1 = 0 ] ; then
79da85a
    %if %{with_systemd}
5a059f5
    	/bin/systemctl --no-reload disable stap-server.service >/dev/null 2>&1 || :
5a059f5
	/bin/systemctl stop stap-server.service >/dev/null 2>&1 || :
5a059f5
    %else
5a059f5
        /sbin/service systemtap stop >/dev/null 2>&1
5a059f5
    	/sbin/chkconfig --del systemtap
5a059f5
    %endif
fbc37f4
fi
fbc37f4
exit 0
fbc37f4
fbc37f4
%postun initscript
fbc37f4
# Check whether this is an upgrade of the package.
fbc37f4
# If so, restart the service if it's running
fbc37f4
if [ "$1" -ge "1" ] ; then
79da85a
    %if %{with_systemd}
5a059f5
        /bin/systemctl restart stap-server.service >/dev/null 2>&1 || :
5a059f5
    %else
5a059f5
        /sbin/service systemtap condrestart >/dev/null 2>&1 || :
5a059f5
    %endif
fbc37f4
fi
cfae4d4
exit 0
cfae4d4
bb598bf
%post
bb598bf
# Remove any previously-built uprobes.ko materials
43e806f
(make -C %{_datadir}/systemtap/runtime/uprobes clean) >/dev/null 2>&1 || true
02c9a3a
(/sbin/rmmod uprobes) >/dev/null 2>&1 || true
bb598bf
bb598bf
%preun
bb598bf
# Ditto
43e806f
(make -C %{_datadir}/systemtap/runtime/uprobes clean) >/dev/null 2>&1 || true
02c9a3a
(/sbin/rmmod uprobes) >/dev/null 2>&1 || true
cfae4d4
9da5ca9
# ------------------------------------------------------------------------
9da5ca9
4c09063
%if %{with_java}
4c09063
4c09063
%triggerin runtime-java -- java-1.7.0-openjdk, java-1.6.0-openjdk
4c09063
for f in %{_libexecdir}/systemtap/libHelperSDT_*.so; do
4c09063
    arch=`basename $f | cut -f2 -d_ | cut -f1 -d.`
4c09063
    for archdir in %{_jvmdir}/*openjdk*/jre/lib/${arch}; do
4c09063
        ln -sf %{_libexecdir}/systemtap/libHelperSDT_${arch}.so ${archdir}/libHelperSDT_${arch}.so
4c09063
        ln -sf %{_libexecdir}/systemtap/HelperSDT.jar ${archdir}/../ext/HelperSDT.jar
4c09063
    done
4c09063
done
4c09063
4c09063
%triggerun runtime-java -- java-1.7.0-openjdk, java-1.6.0-openjdk
4c09063
for f in %{_libexecdir}/systemtap/libHelperSDT_*.so; do
4c09063
    arch=`basename $f | cut -f2 -d_ | cut -f1 -d.`
4c09063
    for archdir in %{_jvmdir}/*openjdk*/jre/lib/${arch}; do
4c09063
        rm -f ${archdir}/libHelperSDT_${arch}.so
4c09063
        rm -f ${archdir}/../ext/HelperSDT.jar
4c09063
    done
4c09063
done
4c09063
4c09063
%triggerpostun runtime-java -- java-1.7.0-openjdk, java-1.6.0-openjdk
4c09063
# Restore links for any JDKs remaining after a package removal:
4c09063
for f in %{_libexecdir}/systemtap/libHelperSDT_*.so; do
4c09063
    arch=`basename $f | cut -f2 -d_ | cut -f1 -d.`
4c09063
    for archdir in %{_jvmdir}/*openjdk*/jre/lib/${arch}; do
4c09063
        ln -sf %{_libexecdir}/systemtap/libHelperSDT_${arch}.so ${archdir}/libHelperSDT_${arch}.so
4c09063
        ln -sf %{_libexecdir}/systemtap/HelperSDT.jar ${archdir}/../ext/HelperSDT.jar
4c09063
    done
4c09063
done
4c09063
4c09063
# XXX: analogous support for other types of JRE/JDK??
4c09063
4c09063
%endif
4c09063
4c09063
# ------------------------------------------------------------------------
4c09063
43e806f
%files -f systemtap.lang
9da5ca9
# The master "systemtap" rpm doesn't include any files.
9da5ca9
43e806f
%files server -f systemtap.lang
17e3a21
%defattr(-,root,root)
9da5ca9
%{_bindir}/stap-server
43e806f
%dir %{_libexecdir}/systemtap
43e806f
%{_libexecdir}/systemtap/stap-serverd
43e806f
%{_libexecdir}/systemtap/stap-start-server
43e806f
%{_libexecdir}/systemtap/stap-stop-server
43e806f
%{_libexecdir}/systemtap/stap-gen-cert
43e806f
%{_libexecdir}/systemtap/stap-sign-module
43e806f
%{_libexecdir}/systemtap/stap-authorize-cert
43e806f
%{_libexecdir}/systemtap/stap-env
d8f8f7f
%{_mandir}/man7/error*
9da5ca9
%{_mandir}/man7/stappaths.7*
41ddbf9
%{_mandir}/man7/warning*
9da5ca9
%{_mandir}/man8/stap-server.8*
79da85a
%if %{with_systemd}
5a059f5
%{_unitdir}/stap-server.service
a71f27a
%{_tmpfilesdir}/stap-server.conf
5a059f5
%else
9da5ca9
%{_sysconfdir}/rc.d/init.d/stap-server
9da5ca9
%dir %{_sysconfdir}/stap-server/conf.d
9da5ca9
%config(noreplace) %{_sysconfdir}/sysconfig/stap-server
5d868b5
%endif
5d868b5
%config(noreplace) %{_sysconfdir}/logrotate.d/stap-server
5a059f5
%dir %{_sysconfdir}/stap-server
af76171
%dir %attr(0750,stap-server,stap-server) %{_localstatedir}/lib/stap-server
43e806f
%dir %attr(0700,stap-server,stap-server) %{_localstatedir}/lib/stap-server/.systemtap
9da5ca9
%dir %attr(0755,stap-server,stap-server) %{_localstatedir}/log/stap-server
9da5ca9
%ghost %config(noreplace) %attr(0644,stap-server,stap-server) %{_localstatedir}/log/stap-server/log
9da5ca9
%ghost %attr(0755,stap-server,stap-server) %{_localstatedir}/run/stap-server
9da5ca9
%doc initscript/README.stap-server
9da5ca9
%doc README README.unprivileged AUTHORS NEWS COPYING
17e3a21
17e3a21
43e806f
%files devel -f systemtap.lang
17e3a21
%{_bindir}/stap
58e9517
%{_bindir}/stap-prep
396e027
%{_bindir}/stap-report
43e806f
%dir %{_datadir}/systemtap
43e806f
%{_datadir}/systemtap/runtime
43e806f
%{_datadir}/systemtap/tapset
9da5ca9
%{_mandir}/man1/stap.1*
daf2754
%{_mandir}/man1/stap-prep.1*
396e027
%{_mandir}/man1/stap-report.1*
d8f8f7f
%{_mandir}/man7/error*
9da5ca9
%{_mandir}/man7/stappaths.7*
41ddbf9
%{_mandir}/man7/warning*
9da5ca9
%doc README README.unprivileged AUTHORS NEWS COPYING
4c09063
%if %{with_java}
4c09063
%dir %{_libexecdir}/systemtap
4c09063
%{_libexecdir}/systemtap/libHelperSDT_*.so
4c09063
%endif
9a28b9d
%if %{with_bundled_elfutils}
43e806f
%dir %{_libdir}/systemtap
43e806f
%{_libdir}/systemtap/lib*.so*
17e3a21
%endif
79da85a
%if %{with_emacsvim}
79da85a
%{_emacs_sitelispdir}/*.el*
79da85a
%{_emacs_sitestartdir}/systemtap-init.el
79da85a
%{_datadir}/vim/vimfiles/*/*.vim
79da85a
%endif
17e3a21
4041ad6
43e806f
%files runtime -f systemtap.lang
f89d042
%defattr(-,root,root)
f55661b
%attr(4110,root,stapusr) %{_bindir}/staprun
345da77
%{_bindir}/stapsh
94f2023
%{_bindir}/stap-merge
396e027
%{_bindir}/stap-report
4041ad6
%if %{with_dyninst}
4041ad6
%{_bindir}/stapdyn
4041ad6
%endif
43e806f
%dir %{_libexecdir}/systemtap
43e806f
%{_libexecdir}/systemtap/stapio
43e806f
%{_libexecdir}/systemtap/stap-authorize-cert
a811d54
%if %{with_crash}
43e806f
%dir %{_libdir}/systemtap
43e806f
%{_libdir}/systemtap/staplog.so*
a811d54
%endif
396e027
%{_mandir}/man1/stap-report.1*
d8f8f7f
%{_mandir}/man7/error*
a811d54
%{_mandir}/man7/stappaths.7*
41ddbf9
%{_mandir}/man7/warning*
6a8eae6
%{_mandir}/man8/stapsh.8*
bd5a7bb
%{_mandir}/man8/staprun.8*
6a8eae6
%if %{with_dyninst}
6a8eae6
%{_mandir}/man8/stapdyn.8*
6a8eae6
%endif
5ed4602
%doc README README.security AUTHORS NEWS COPYING
17e3a21
0fc2adf
43e806f
%files client -f systemtap.lang
bd5a7bb
%defattr(-,root,root)
9da5ca9
%doc README README.unprivileged AUTHORS NEWS COPYING examples
9da5ca9
%if %{with_docs}
9da5ca9
%doc docs.installed/*.pdf
9da5ca9
%doc docs.installed/tapsets/*.html
9da5ca9
%if %{with_publican}
9da5ca9
%doc docs.installed/SystemTap_Beginners_Guide
9da5ca9
%endif
9da5ca9
%endif
9da5ca9
%{_bindir}/stap
9da5ca9
%{_bindir}/stap-prep
396e027
%{_bindir}/stap-report
9da5ca9
%{_mandir}/man1/stap.1*
daf2754
%{_mandir}/man1/stap-prep.1*
9da5ca9
%{_mandir}/man1/stap-merge.1*
396e027
%{_mandir}/man1/stap-report.1*
9da5ca9
%{_mandir}/man3/*
d8f8f7f
%{_mandir}/man7/error*
a811d54
%{_mandir}/man7/stappaths.7*
41ddbf9
%{_mandir}/man7/warning*
43e806f
%dir %{_datadir}/systemtap
43e806f
%{_datadir}/systemtap/tapset
9da5ca9
0fc2adf
cfae4d4
cfae4d4
%files initscript
cfae4d4
%defattr(-,root,root)
fbc37f4
%{_sysconfdir}/rc.d/init.d/systemtap
cfae4d4
%dir %{_sysconfdir}/systemtap
cfae4d4
%dir %{_sysconfdir}/systemtap/conf.d
cfae4d4
%dir %{_sysconfdir}/systemtap/script.d
cfae4d4
%config(noreplace) %{_sysconfdir}/systemtap/config
cfae4d4
%dir %{_localstatedir}/cache/systemtap
94f2023
%ghost %{_localstatedir}/run/systemtap
fbc37f4
%doc initscript/README.systemtap
cfae4d4
9da5ca9
4c09063
%files sdt-devel
9da5ca9
%defattr(-,root,root)
9da5ca9
%{_bindir}/dtrace
9da5ca9
%{_includedir}/sys/sdt.h
9da5ca9
%{_includedir}/sys/sdt-config.h
9da5ca9
%{_mandir}/man1/dtrace.1*
9da5ca9
%doc README AUTHORS NEWS COPYING
9da5ca9
9da5ca9
9da5ca9
%files testsuite
9da5ca9
%defattr(-,root,root)
43e806f
%dir %{_datadir}/systemtap
43e806f
%{_datadir}/systemtap/testsuite
9da5ca9
9da5ca9
4c09063
%if %{with_java}
4c09063
%files runtime-java
4c09063
%dir %{_libexecdir}/systemtap
4c09063
%{_libexecdir}/systemtap/libHelperSDT_*.so
4c09063
%{_libexecdir}/systemtap/HelperSDT.jar
4c09063
%{_libexecdir}/systemtap/stapbm
4c09063
%endif
4c09063
4c09063
9da5ca9
# ------------------------------------------------------------------------
cfae4d4
17e3a21
%changelog
2cdc05e
* Mon Aug 19 2013 Lukas Berk <lberk@redhat.com> - 2.4-0.25.g3f873e5
2cdc05e
- Automated weekly rawhide release
2cdc05e
a122a73
* Mon Aug 05 2013 Lukas Berk <lberk@redhat.com> - 2.4-0.19.g03207fd
a122a73
- Automated weekly rawhide release
a122a73
fa019a4
* Mon Jul 29 2013 Lukas Berk <lberk@redhat.com> - 2.4-0.9.geada930
fa019a4
- Automated weekly rawhide release
fa019a4
- Applied spec changes from upstream git
fa019a4
014b0a2
* Thu Jul 25 2013 David Smith <dsmith@redhat.com> - 2.3
014b0a2
- Upstream release.
ef46aad
a60dd6d
* Thu May 16 2013 Frank Ch. Eigler <fche@redhat.com> - 2.2.1-1
a60dd6d
- Upstream release.
a60dd6d
4c09063
* Tue May 14 2013 Frank Ch. Eigler <fche@redhat.com> - 2.2-1
4c09063
- Upstream release.
3563380
c16d504
* Wed Feb 13 2013 Serguei Makarov <smakarov@redhat.com> - 2.1-1
c16d504
- Upstream release.
c16d504
4e1f190
* Tue Oct 09 2012 Josh Stone <jistone@redhat.com> - 2.0-1
4e1f190
- Upstream release.
4e1f190
43e806f
* Fri Jul 13 2012 Peter Robinson <pbrobinson@fedoraproject.org>
5033587
- Fix ifarch statement
17dcdfd
- use file based requires for glibc-devel on x86_64 so that we work in koji
5033587
1908f80
* Sun Jun 17 2012 Frank Ch. Eigler <fche@redhat.com> - 1.8-1
1908f80
- Upstream release.
1908f80
9da5ca9
* Wed Feb 01 2012 Frank Ch. Eigler <fche@redhat.com> - 1.7-1
9da5ca9
- Upstream release.
Mark Wielaard fc3b63d
1908f80
* Fri Jan 13 2012 David Smith <dsmith@redhat.com> - 1.6-2
1908f80
- Fixed /bin/mktemp require.
ce8cb3f
5ed4602
* Mon Jul 25 2011 Stan Cox <scox@redhat.com> - 1.6-1
5ed4602
- Upstream release.
5ed4602
ce2ce13
* Mon May 23 2011 Stan Cox <scox@redhat.com> - 1.5-1
64a1870
- Upstream release.
64a1870
2f20829
* Mon Jan 17 2011 Frank Ch. Eigler <fche@redhat.com> - 1.4-1
2f20829
- Upstream release.
2f20829
a811d54
* Wed Jul 21 2010 Josh Stone <jistone@redhat.com> - 1.3-1
a811d54
- Upstream release.
4e9440b
58e9517
* Mon Mar 22 2010 Frank Ch. Eigler <fche@redhat.com> - 1.2-1
58e9517
- Upstream release.
42cafcb
fbc37f4
* Mon Dec 21 2009 David Smith <dsmith@redhat.com> - 1.1-1
fbc37f4
- Upstream release.
2396d5c
3b30fa9
* Tue Sep 22 2009 Josh Stone <jistone@redhat.com> - 1.0-1
3b30fa9
- Upstream release.
3bb0149
8ba65ec
* Tue Aug  4 2009 Josh Stone <jistone@redhat.com> - 0.9.9-1
8ba65ec
- Upstream release.
bddf56c
bb598bf
* Thu Jun 11 2009 Josh Stone <jistone@redhat.com> - 0.9.8-1
bb598bf
- Upstream release.
bb598bf
c9e0110
* Thu Apr 23 2009 Josh Stone <jistone@redhat.com> - 0.9.7-1
c9e0110
- Upstream release.
c9e0110
da32dac
* Fri Mar 27 2009 Josh Stone <jistone@redhat.com> - 0.9.5-1
da32dac
- Upstream release.
da32dac
da32dac
* Wed Mar 18 2009 Will Cohen <wcohen@redhat.com> - 0.9-2
da32dac
- Add location of man pages.
78ad32e
cfae4d4
* Tue Feb 17 2009 Frank Ch. Eigler <fche@redhat.com> - 0.9-1
cfae4d4
- Upstream release.
cfae4d4
bd5a7bb
* Thu Nov 13 2008 Frank Ch. Eigler <fche@redhat.com> - 0.8-1
bd5a7bb
- Upstream release.
bd5a7bb
8d6b47e
* Tue Jul 15 2008 Frank Ch. Eigler <fche@redhat.com> - 0.7-1
8d6b47e
- Upstream release.
3b7ea67
4d4e1ff
* Fri Feb  1 2008 Frank Ch. Eigler <fche@redhat.com> - 0.6.1-3
8d6b47e
- Add zlib-devel to buildreq; missing from crash-devel
8d6b47e
- Process testsuite .stp files for #!stap->#!/usr/bin/stap
4d4e1ff
4854246
* Fri Jan 18 2008 Frank Ch. Eigler <fche@redhat.com> - 0.6.1-1
4854246
- Add crash-devel buildreq to build staplog.so crash(8) module.
4854246
- Many robustness & functionality improvements:
4854246
4854246
* Wed Dec  5 2007 Will Cohen <wcohen@redhat.com> - 0.6-2
4854246
- Correct Source to point to location contain code.
4854246
0fc2adf
* Thu Aug  9 2007 David Smith <dsmith@redhat.com> - 0.6-1
0fc2adf
- Bumped version, added libcap-devel BuildRequires.
0fc2adf
0fc2adf
* Wed Jul 11 2007 Will Cohen <wcohen@redhat.com> - 0.5.14-2
0fc2adf
- Fix Requires and BuildRequires for sqlite.
0fc2adf
ce2ce13
* Mon Jul  2 2007 Frank Ch. Eigler <fche@redhat.com> - 0.5.14-1
fe18a23
- Many robustness improvements: 1117, 1134, 1305, 1307, 1570, 1806,
fe18a23
  2033, 2116, 2224, 2339, 2341, 2406, 2426, 2438, 2583, 3037,
fe18a23
  3261, 3282, 3331, 3428 3519, 3545, 3625, 3648, 3880, 3888, 3911,
fe18a23
  3952, 3965, 4066, 4071, 4075, 4078, 4081, 4096, 4119, 4122, 4127,
fe18a23
  4146, 4171, 4179, 4183, 4221, 4224, 4254, 4281, 4319, 4323, 4326,
fe18a23
  4329, 4332, 4337, 4415, 4432, 4444, 4445, 4458, 4467, 4470, 4471,
fe18a23
  4518, 4567, 4570, 4579, 4589, 4609, 4664
fe18a23
1c28fdd
* Mon Mar 26 2007 Frank Ch. Eigler <fche@redhat.com> - 0.5.13-1
1c28fdd
- An emergency / preliminary refresh, mainly for compatibility
1c28fdd
  with 2.6.21-pre kernels.
1c28fdd
eedf72b
* Mon Jan  1 2007 Frank Ch. Eigler <fche@redhat.com> - 0.5.12-1
eedf72b
- Many changes, see NEWS file.
eedf72b
f89d042
* Tue Sep 26 2006 David Smith <dsmith@redhat.com> - 0.5.10-1
f89d042
- Added 'systemtap-runtime' subpackage.
f89d042
8b061be
* Wed Jul 19 2006 Roland McGrath <roland@redhat.com> - 0.5.9-1
8b061be
- PRs 2669, 2913
3519dd7
fd6d9a8
* Fri Jun 16 2006 Roland McGrath <roland@redhat.com> - 0.5.8-1
fd6d9a8
- PRs 2627, 2520, 2228, 2645
fd6d9a8
fd6d9a8
* Fri May  5 2006 Frank Ch. Eigler <fche@redhat.com> - 0.5.7-1
fd6d9a8
- PRs 2511 2453 2307 1813 1944 2497 2538 2476 2568 1341 2058 2220 2437
fd6d9a8
  1326 2014 2599 2427 2438 2465 1930 2149 2610 2293 2634 2506 2433
fd6d9a8
1e4c911
* Tue Apr  4 2006 Roland McGrath <roland@redhat.com> - 0.5.5-1
1e4c911
- Many changes, affected PRs include: 2068, 2293, 1989, 2334,
1e4c911
  1304, 2390, 2425, 953.
1e4c911
549a2fb
* Wed Feb  1 2006 Frank Ch. Eigler <fche@redhat.com> - 0.5.4-1
549a2fb
- PRs 1916, 2205, 2142, 2060, 1379
549a2fb
006402e
* Mon Jan 16 2006 Roland McGrath <roland@redhat.com> - 0.5.3-1
006402e
- Many changes, affected PRs include: 2056, 1144, 1379, 2057,
006402e
  2060, 1972, 2140, 2148
006402e
87c34fe
* Mon Dec 19 2005 Roland McGrath <roland@redhat.com> - 0.5.2-1
87c34fe
- Fixed build with gcc 4.1, various tapset changes.
a4c5040
2dc112d
* Wed Dec  7 2005 Roland McGrath <roland@redhat.com> - 0.5.1-1
2dc112d
- elfutils update, build changes
2dc112d
b660568
* Fri Dec 02 2005  Frank Ch. Eigler  <fche@redhat.com> - 0.5-1
b660568
- Many fixes and improvements: 1425, 1536, 1505, 1380, 1329, 1828, 1271,
b660568
  1339, 1340, 1345, 1837, 1917, 1903, 1336, 1868, 1594, 1564, 1276, 1295
b660568
a092a3a
* Mon Oct 31 2005 Roland McGrath <roland@redhat.com> - 0.4.2-1
a092a3a
- Many fixes and improvements: PRs 1344, 1260, 1330, 1295, 1311, 1368,
a092a3a
  1182, 1131, 1332, 1366, 1456, 1271, 1338, 1482, 1477, 1194.
a092a3a
896df58
* Wed Sep 14 2005 Roland McGrath <roland@redhat.com> - 0.4.1-1
896df58
- Many fixes and improvements since 0.2.2; relevant PRs include:
896df58
  1122, 1134, 1155, 1172, 1174, 1175, 1180, 1186, 1187, 1191, 1193, 1195,
896df58
  1197, 1205, 1206, 1209, 1213, 1244, 1257, 1258, 1260, 1265, 1268, 1270,
896df58
  1289, 1292, 1306, 1335, 1257
896df58
13eb83c
* Wed Sep  7 2005 Frank Ch. Eigler <fche@redhat.com>
13eb83c
- Bump version.
13eb83c
ce2ce13
* Tue Aug 16 2005 Frank Ch. Eigler <fche@redhat.com>
a4c5040
- Bump version.
316d91e
8aa81e8
* Wed Aug  3 2005 Martin Hunt <hunt@redhat.com> - 0.2.2-1
8aa81e8
- Add directory /var/cache/systemtap
8aa81e8
- Add stp_check to /usr/libexec/systemtap
8aa81e8
316d91e
* Wed Aug  3 2005 Roland McGrath <roland@redhat.com> - 0.2.1-1
316d91e
- New version 0.2.1, various fixes.
316d91e
b04ba44
* Fri Jul 29 2005 Roland McGrath <roland@redhat.com> - 0.2-1
b04ba44
- New version 0.2, requires elfutils 0.111
2c8d5cd
b04ba44
* Mon Jul 25 2005 Roland McGrath <roland@redhat.com>
17e3a21
- Clean up spec file, build bundled elfutils.
17e3a21
17e3a21
* Thu Jul 21 2005 Martin Hunt <hunt@redhat.com>
17e3a21
- Set Version to use version from autoconf.
17e3a21
- Fix up some of the path names.
17e3a21
- Add Requires and BuildRequires.
17e3a21
ce2ce13
* Tue Jul 19 2005 Will Cohen <wcohen@redhat.com>
17e3a21
- Initial creation of RPM.