fbc37f4
%{!?with_sqlite: %global with_sqlite 1}
5ed4602
%{!?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
9da5ca9
%{!?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
5a059f5
%{!?with_systemd: %global with_systemd 0%{?fedora} >= 19}
79da85a
%{!?with_emacsvim: %global with_emacsvim 1}
0fc2adf
17e3a21
Name: systemtap
af76171
Version: 2.1
b6a80f6
Release: 0.385.gab733d5%{?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
9da5ca9
#
9da5ca9
# Typical scenarios:
9da5ca9
#
9da5ca9
# stap-client:           systemtap-client
9da5ca9
# stap-server:           systemtap-server
9da5ca9
# local user:            systemtap
9da5ca9
#
9da5ca9
# Unusual scenarios:
9da5ca9
# 
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/
87d9586
#Source: ftp://sourceware.org/pub/%{name}/releases/%{name}-%{version}.tar.gz
b6a80f6
Source: %{name}-%{version}-0.385.gab733d5.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
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
9da5ca9
This package contains/requires the components needed to develop 
9da5ca9
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
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
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
9a28b9d
4041ad6
%configure %{?elfutils_config} %{dyninst_config} %{sqlite_config} %{crash_config} %{docs_config} %{pie_config} %{publican_config} %{rpm_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
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
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
5a059f5
mkdir -p $RPM_BUILD_ROOT/usr/lib/tmpfiles.d
5a059f5
install -m 644 stap-server.conf $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/stap-server.conf
5a059f5
%else
fbc37f4
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/
fbc37f4
install -m 755 initscript/systemtap $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/
cfae4d4
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/systemtap
cfae4d4
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/systemtap/conf.d
cfae4d4
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/systemtap/script.d
fbc37f4
install -m 644 initscript/config.systemtap $RPM_BUILD_ROOT%{_sysconfdir}/systemtap/config
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 || \
4041ad6
  useradd -c "Systemtap Compile Server" -u 155 -g stap-server -d %{_localstatedir}/lib/stap-server -m -r -s /sbin/nologin stap-server 2>/dev/null || \
58e9517
  useradd -c "Systemtap Compile Server" -g stap-server -d %{_localstatedir}/lib/stap-server -m -r -s /sbin/nologin stap-server
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
exit 0
fbc37f4
fbc37f4
%post server
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
58e9517
   runuser -s /bin/sh - stap-server -c %{_libexecdir}/%{name}/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
37ef790
   %{_libexecdir}/%{name}/stap-authorize-cert ~stap-server/.systemtap/ssl/server/stap.cert %{_sysconfdir}/systemtap/ssl/client >/dev/null
37ef790
   %{_libexecdir}/%{name}/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
58e9517
(make -C %{_datadir}/%{name}/runtime/uprobes clean) >/dev/null 2>&1 || true
02c9a3a
(/sbin/rmmod uprobes) >/dev/null 2>&1 || true
bb598bf
bb598bf
%preun
bb598bf
# Ditto
58e9517
(make -C %{_datadir}/%{name}/runtime/uprobes clean) >/dev/null 2>&1 || true
02c9a3a
(/sbin/rmmod uprobes) >/dev/null 2>&1 || true
cfae4d4
9da5ca9
# ------------------------------------------------------------------------
9da5ca9
345da77
%files -f %{name}.lang
9da5ca9
# The master "systemtap" rpm doesn't include any files.
9da5ca9
9da5ca9
%files server -f %{name}.lang
17e3a21
%defattr(-,root,root)
9da5ca9
%{_bindir}/stap-server
9da5ca9
%dir %{_libexecdir}/%{name}
9da5ca9
%{_libexecdir}/%{name}/stap-serverd
9da5ca9
%{_libexecdir}/%{name}/stap-start-server
9da5ca9
%{_libexecdir}/%{name}/stap-stop-server
9da5ca9
%{_libexecdir}/%{name}/stap-gen-cert
9da5ca9
%{_libexecdir}/%{name}/stap-sign-module
37ef790
%{_libexecdir}/%{name}/stap-authorize-cert
582bf21
%{_libexecdir}/%{name}/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
5a059f5
/usr/lib/tmpfiles.d/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
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
9da5ca9
%files devel -f %{name}.lang
17e3a21
%{_bindir}/stap
58e9517
%{_bindir}/stap-prep
bd5a7bb
%{_bindir}/stap-report
4041ad6
%dir %{_datadir}/%{name}
9a28b9d
%{_datadir}/%{name}/runtime
9a28b9d
%{_datadir}/%{name}/tapset
9da5ca9
%{_mandir}/man1/stap.1*
d8f8f7f
%{_mandir}/man7/error*
9da5ca9
%{_mandir}/man7/stappaths.7*
41ddbf9
%{_mandir}/man7/warning*
9da5ca9
%doc README README.unprivileged AUTHORS NEWS COPYING
9a28b9d
%if %{with_bundled_elfutils}
5731edc
%dir %{_libdir}/%{name}
0fc2adf
%{_libdir}/%{name}/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
345da77
%files runtime -f %{name}.lang
f89d042
%defattr(-,root,root)
f55661b
%attr(4110,root,stapusr) %{_bindir}/staprun
345da77
%{_bindir}/stapsh
94f2023
%{_bindir}/stap-merge
bd5a7bb
%{_bindir}/stap-report
4041ad6
%if %{with_dyninst}
4041ad6
%{_bindir}/stapdyn
4041ad6
%endif
5731edc
%dir %{_libexecdir}/%{name}
fbc37f4
%{_libexecdir}/%{name}/stapio
fbc37f4
%{_libexecdir}/%{name}/stap-authorize-cert
a811d54
%if %{with_crash}
5731edc
%dir %{_libdir}/%{name}
a811d54
%{_libdir}/%{name}/staplog.so*
a811d54
%endif
d8f8f7f
%{_mandir}/man7/error*
a811d54
%{_mandir}/man7/stappaths.7*
41ddbf9
%{_mandir}/man7/warning*
bd5a7bb
%{_mandir}/man8/staprun.8*
5ed4602
%doc README README.security AUTHORS NEWS COPYING
17e3a21
0fc2adf
9da5ca9
%files client -f %{name}.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
9da5ca9
%{_bindir}/stap-report
9da5ca9
%{_mandir}/man1/stap.1*
9da5ca9
%{_mandir}/man1/stap-merge.1*
9da5ca9
%{_mandir}/man3/*
d8f8f7f
%{_mandir}/man7/error*
a811d54
%{_mandir}/man7/stappaths.7*
41ddbf9
%{_mandir}/man7/warning*
9da5ca9
%dir %{_datadir}/%{name}
9da5ca9
%{_datadir}/%{name}/tapset
9da5ca9
0fc2adf
cfae4d4
cfae4d4
%files initscript
cfae4d4
%defattr(-,root,root)
79da85a
%if %{with_systemd}
5a059f5
%else
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
5a059f5
%endif
cfae4d4
%dir %{_localstatedir}/cache/systemtap
94f2023
%ghost %{_localstatedir}/run/systemtap
fbc37f4
%doc initscript/README.systemtap
cfae4d4
9da5ca9
9da5ca9
%files sdt-devel -f %{name}.lang
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)
9da5ca9
%dir %{_datadir}/%{name}
9da5ca9
%{_datadir}/%{name}/testsuite
9da5ca9
9da5ca9
9da5ca9
# ------------------------------------------------------------------------
cfae4d4
17e3a21
%changelog
b6a80f6
* Mon Feb 11 2013 Lukas Berk <lberk@redhat.com> - 2.1-0.385.gab733d5
b6a80f6
- Automated weekly rawhide release
b6a80f6
af41005
* Mon Feb 04 2013 Lukas Berk <lberk@redhat.com> - 2.1-0.354.g75c7136
af41005
- Automated weekly rawhide release
af41005
b7409ba
* Mon Feb 04 2013 Lukas Berk <lberk@redhat.com> - 2.1-0.353.g43e1259
b7409ba
- Automated weekly rawhide release
b7409ba
78d1e98
* Mon Jan 28 2013 Lukas Berk <lberk@redhat.com> - 2.1-0.280.gbddba05
78d1e98
- Automated weekly rawhide release
78d1e98
79da85a
* Thu Jan 24 2013 Frank Ch. Eigler <fche@redhat.com> - 2.1-0.244.g2c7281e.2
79da85a
- Merge in .spec file changes from upstream.
79da85a
ab0fa14
* Thu Jan 24 2013 Frank Ch. Eigler <fche@redhat.com> - 2.1-0.244.g2c7281e.1
ab0fa14
- Turn docs back on for rawhide.
ab0fa14
e7909bd
* Mon Jan 21 2013 Lukas Berk <lberk@redhat.com> - 2.1-0.244.g2c7281e
e7909bd
- Automated weekly rawhide release
e7909bd
5d868b5
* Mon Jan 21 2013 Lukas Berk <lberk@redhat.com> - 2.1-0.238.1
5d868b5
- Tweaks to systemd specific portions of spec file
5d868b5
8e94a81
* Mon Jan 21 2013 Lukas Berk <lberk@redhat.com> - 2.1-0.244.g2c7281e
8e94a81
- Automated weekly rawhide release
8e94a81
5a059f5
* Mon Jan 21 2013 Lukas Berk <lberk@redhat.com> - 2.1-0.238
5a059f5
- Added systemd functionality based on 'with_systemd' macro
5a059f5
f1adbf7
* Mon Jan 14 2013 Lukas Berk <lberk@redhat.com> - 2.1-0.204.gc43c0f8
f1adbf7
- Automated weekly rawhide release
f1adbf7
e190a83
* Mon Jan 07 2013 Lukas Berk <lberk@redhat.com> - 2.1-0.198.g4c5d990
e190a83
- Automated weekly rawhide release
e190a83
a21b70f
* Mon Dec 31 2012 Lukas Berk <lberk@redhat.com> - 2.1-0.185.g283159e
a21b70f
- Automated weekly rawhide release
a21b70f
ccbc5fb
* Mon Dec 24 2012 Lukas Berk <lberk@redhat.com> - 2.1-0.184.g6c9f0b7
ccbc5fb
- Automated weekly rawhide release
ccbc5fb
46ef461
* Mon Dec 17 2012 Lukas Berk <lberk@redhat.com> - 2.1-0.160.g63438a7
46ef461
- Automated weekly rawhide release
46ef461
9609c92
* Mon Dec 10 2012 Lukas Berk <lberk@redhat.com> - 2.1-0.141.g541343c
9609c92
- Automated weekly rawhide release
9609c92
acf7048
* Mon Dec 10 2012 Lukas Berk <lberk@redhat.com> - 2.1-0.140.g05e94cf
acf7048
- Automated weekly rawhide release
acf7048
291b190
* Mon Dec 03 2012 Lukas Berk <lberk@redhat.com> - 2.1-0.119.g700d493
291b190
- Automated weekly rawhide release
291b190
cf36b2e
* Mon Nov 26 2012 Lukas Berk <lberk@redhat.com> - 2.1-0.108.g6b378b7
cf36b2e
- Automated weekly rawhide release
cf36b2e
3ed2ecf
* Mon Nov 19 2012 Josh Stone <jistone@redhat.com> - 2.1-0.100.g0f3edcb
3ed2ecf
- New snapshot built against Dyninst 8.0
3ed2ecf
5577b53
* Mon Nov 19 2012 Lukas Berk <lberk@redhat.com> - 2.1-0.97.g6a1a8f4
5577b53
- Automated weekly rawhide release
5577b53
069ab2e
* Mon Nov 12 2012 Lukas Berk <lberk@redhat.com> - 2.1-0.87.gf4b122a
069ab2e
- Automated weekly rawhide release
069ab2e
a3abb47
* Mon Nov 5 2012 Lukas Berk <lberk@redhat.com> - 2.1-0.75.g02bff02
36c87b0
- Automated weekly rawhide release
36c87b0
87d9586
* Mon Oct 29 2012 Josh Stone <jistone@redhat.com> - 2.1-0.56.gf77181e
87d9586
- Semi-automated rawhide release
87d9586
- Restore the commented ftp Source
87d9586
- Rebuild for dyninst ABI bump
87d9586
3a6b411
* Wed Oct 24 2012 Lukas Berk <lberk@redhat.com> - 2.1-0.48.g345f009
3a6b411
- Automated weekly rawhide release
3a6b411
af76171
* Fri Oct 12 2012 Josh Stone <jistone@redhat.com> 2.1-0.1.git3df148c
af76171
- Snapshot git 3df148cb571a6bd4b2b725b7e7e3b419a5dd73b5
af76171
- Disable docs due to bz864730
af76171
4e1f190
* Tue Oct 09 2012 Josh Stone <jistone@redhat.com> - 2.0-1
4e1f190
- Upstream release.
4e1f190
37ef790
* Thu Sep 20 2012 Josh Stone <jistone@redhat.com> 2.0-0.4.gitec12f84
37ef790
- Update to a new snapshot towards 2.0.
37ef790
582bf21
* Fri Aug 31 2012 Lukas Berk <lberk@redhat.com> 2.0-0.3.git10c737f
582bf21
- Correct the location of stap-env
582bf21
58e329e
* Wed Aug 15 2012 Dan HorĂ¡k <dan[at]danny.cz> 2.0-0.2.git10c737f
58e329e
- dyninst not available on s390(x) and arm
58e329e
4041ad6
* Tue Aug 07 2012 Josh Stone <jistone@redhat.com> 2.0-0.1.git10c737f
4041ad6
- Update to a snapshot of the upcoming 2.0 release.
4041ad6
4fb0fa4
* Wed Jul 18 2012 Josh Stone <jistone@redhat.com> - 1.8-5
4fb0fa4
- bz840902 ppc build fix (related to bz837641)
4fb0fa4
5033587
* Fri Jul 13 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.8-4
5033587
- Fix ifarch statement
17dcdfd
- use file based requires for glibc-devel on x86_64 so that we work in koji
5033587
806f00c
* Wed Jul 11 2012 Frank Ch. Eigler <fche@redhat.com> - 1.8-3
806f00c
- PR14348 task_work_add race condition fix
806f00c
26f3284
* Mon Jul 09 2012 Josh Stone <jistone@redhat.com>
26f3284
- bz837641 build fix
26f3284
1908f80
* Sun Jun 17 2012 Frank Ch. Eigler <fche@redhat.com> - 1.8-1
1908f80
- Upstream release.
1908f80
c39c596
* Mon Apr 30 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.7-7
c39c596
- Enable crash support on ARM, cleanup spec
c39c596
95c5ee5
* Thu Apr 19 2012 Karsten Hopp <karsten@redhat.com> - 1.7-6.1
95c5ee5
- rebuild on PPC(64) without crash, publican
95c5ee5
c8dbf1c
* Thu Mar 29 2012 Richard W.M. Jones <rjones@redhat.com> - 1.7-6
c8dbf1c
- Rebuild for rpm soname bump.
c8dbf1c
763072b
* Fri Mar 16 2012 Frank Ch. Eigler <fche@redhat.com> - 1.7-5
763072b
- dbhole advises ARM publican/fop/java is a go for launch.
763072b
Mark Wielaard 6c6476d
* Thu Mar 01 2012 Mark Wielaard <mjw@redhat.com> - 1.7-4
Mark Wielaard 6c6476d
- ARM currently doesn't have publican/fop/java and no prelink.
Mark Wielaard 6c6476d
641d362
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-3
641d362
- Rebuilt for c++ ABI breakage
641d362
39b787b
* Wed Feb 22 2012 Frank Ch. Eigler <fche@redhat.com> - 1.7-2
39b787b
- CVE-2012-0875 (kernel panic when processing malformed DWARF unwind data)
39b787b
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
1908f80
* Tue 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
fe18a23
* Tue 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
a4c5040
* Wed 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
17e3a21
* Wed Jul 19 2005 Will Cohen <wcohen@redhat.com>
17e3a21
- Initial creation of RPM.