Blame SPECS/systemtap.spec

9e3eb6
%{?scl:%scl_package systemtap}
9e3eb6
%global sysconfdir %{?scl:%_root_sysconfdir}%{!?scl:%_sysconfdir}
9e3eb6
9e3eb6
%{!?with_sqlite: %global with_sqlite 1}
9e3eb6
%{!?with_docs: %global with_docs 1}
9e3eb6
# crash is not available
9e3eb6
%ifarch ppc ppc64 %{sparc} aarch64 ppc64le
9e3eb6
%{!?with_crash: %global with_crash 0}
9e3eb6
%else
9e3eb6
%{!?with_crash: %global with_crash 1}
9e3eb6
%endif
9e3eb6
%{!?with_rpm: %global with_rpm 1}
9e3eb6
%{!?with_bundled_elfutils: %global with_bundled_elfutils 0}
9e3eb6
%{!?elfutils_version: %global elfutils_version 0.142}
9e3eb6
%{!?pie_supported: %global pie_supported 1}
9e3eb6
%{!?with_boost: %global with_boost 0}
9e3eb6
%{!?with_dyninst: %global with_dyninst 1}
9e3eb6
%{!?with_emacsvim: %global with_emacsvim 0}
9e3eb6
%{!?with_systemd: %global with_systemd 0} # disable even on rhel7
9e3eb6
%{!?with_emacsvim: %global with_emacsvim 0}
9e3eb6
%{!?with_java: %global with_java 0}
9e3eb6
# don't want to build runtime-virthost for f18 or RHEL5/6
9e3eb6
%{!?with_virthost: %global with_virthost 0}
9e3eb6
%{!?with_virtguest: %global with_virtguest 0}
9e3eb6
%{!?with_dracut: %global with_dracut 0%{?fedora} >= 19 || 0%{?rhel} >= 7}
9e3eb6
%ifarch x86_64
9e3eb6
%{!?with_mokutil: %global with_mokutil 0%{?fedora} >= 18 || 0%{?rhel} >= 7}
9e3eb6
%{!?with_openssl: %global with_openssl 0%{?fedora} >= 18 || 0%{?rhel} >= 7}
9e3eb6
%else
9e3eb6
%{!?with_mokutil: %global with_mokutil 0}
9e3eb6
%{!?with_openssl: %global with_openssl 0}
9e3eb6
%endif
9e3eb6
%{!?with_pyparsing: %global with_pyparsing 0%{?fedora} >= 18 || 0%{?rhel} >= 7}
9e3eb6
9e3eb6
%ifarch ppc64le aarch64
9e3eb6
%global with_virthost 0
9e3eb6
%endif
9e3eb6
9e3eb6
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 6
9e3eb6
   %define initdir %{sysconfdir}/rc.d/init.d
9e3eb6
# not scl-wrapped %{_initdir}
9e3eb6
%else # RHEL5 doesn't know _initddir
9e3eb6
   %define initdir %{_initrddir}
9e3eb6
%endif
9e3eb6
9e3eb6
# note not under /opt/rh... SCL special
9e3eb6
%define dracutlibdir %{_root_prefix}/lib/dracut
9e3eb6
%define dracutstap %{dracutlibdir}/modules.d/99%{scl_prefix}stap
9e3eb6
9e3eb6
Name: %{?scl_prefix}systemtap
9e3eb6
Version: 2.8
9e3eb6
Release: 4%{?dist}
9e3eb6
# for version, see also configure.ac
9e3eb6
9e3eb6
Patch1: rhbz1237098.patch
9e3eb6
Patch2: june-robust.patch
9e3eb6
9e3eb6
# Packaging abstract:
9e3eb6
#
9e3eb6
# systemtap              empty req:-client req:-devel
9e3eb6
# systemtap-server       /usr/bin/stap-server*, req:-devel
9e3eb6
# systemtap-devel        /usr/bin/stap, runtime, tapset, req:kernel-devel
9e3eb6
# systemtap-runtime      /usr/bin/staprun, /usr/bin/stapsh, /usr/bin/stapdyn
9e3eb6
# systemtap-client       /usr/bin/stap, samples, docs, tapset(bonus), req:-runtime
9e3eb6
# systemtap-initscript   /etc/init.d/systemtap, dracut module, req:systemtap
9e3eb6
# systemtap-sdt-devel    /usr/include/sys/sdt.h /usr/bin/dtrace
9e3eb6
# systemtap-testsuite    /usr/share/systemtap/testsuite*, req:systemtap, req:sdt-devel
9e3eb6
# systemtap-runtime-java libHelperSDT.so, HelperSDT.jar, stapbm, req:-runtime
9e3eb6
# systemtap-runtime-virthost  /usr/bin/stapvirt, req:libvirt req:libxml2
9e3eb6
# systemtap-runtime-virtguest udev rules, init scripts/systemd service, req:-runtime
9e3eb6
#
9e3eb6
# Typical scenarios:
9e3eb6
#
9e3eb6
# stap-client:           systemtap-client
9e3eb6
# stap-server:           systemtap-server
9e3eb6
# local user:            systemtap
9e3eb6
#
9e3eb6
# Unusual scenarios:
9e3eb6
#
9e3eb6
# intermediary stap-client for --remote:       systemtap-client (-runtime unused)
9e3eb6
# intermediary stap-server for --use-server:   systemtap-server (-devel unused)
9e3eb6
9e3eb6
Summary: Programmable system-wide instrumentation system
9e3eb6
Group: Development/System
9e3eb6
License: GPLv2+
9e3eb6
URL: http://sourceware.org/systemtap/
9e3eb6
Source: ftp://sourceware.org/pub/systemtap/releases/systemtap-%{version}.tar.gz
9e3eb6
9e3eb6
# Build*
9e3eb6
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
9e3eb6
BuildRequires: gcc-c++
9e3eb6
BuildRequires: gettext-devel
9e3eb6
BuildRequires: nss-devel avahi-devel pkgconfig
9e3eb6
%if %{with_dyninst}
9e3eb6
BuildRequires: %{?scl_prefix}dyninst-devel >= 8.0
9e3eb6
BuildRequires: libselinux-devel
9e3eb6
%endif
9e3eb6
%if %{with_sqlite}
9e3eb6
BuildRequires: sqlite-devel
9e3eb6
%endif
9e3eb6
# Needed for libstd++ < 4.0, without <tr1/memory>
9e3eb6
%if %{with_boost}
9e3eb6
BuildRequires: boost-devel
9e3eb6
%endif
9e3eb6
%if %{with_crash}
9e3eb6
BuildRequires: crash-devel zlib-devel
9e3eb6
%endif
9e3eb6
%if %{with_rpm}
9e3eb6
BuildRequires: rpm-devel glibc-headers
9e3eb6
%endif
9e3eb6
%if %{with_bundled_elfutils}
9e3eb6
Source1: elfutils-%{elfutils_version}.tar.gz
9e3eb6
Patch1: elfutils-portability.patch
9e3eb6
BuildRequires: m4
9e3eb6
%global setup_elfutils -a1
9e3eb6
%else
9e3eb6
BuildRequires: %{?scl_prefix}elfutils-devel >= %{elfutils_version}
9e3eb6
%endif
9e3eb6
%if %{with_docs}
9e3eb6
BuildRequires: /usr/bin/latex /usr/bin/dvips /usr/bin/ps2pdf latex2html
9e3eb6
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
9e3eb6
BuildRequires: tex(fullpage.sty) tex(fancybox.sty) tex(bchr7t.tfm)
9e3eb6
%endif
9e3eb6
# On F10, xmlto's pdf support was broken off into a sub-package,
9e3eb6
# called 'xmlto-tex'.  To avoid a specific F10 BuildReq, we'll do a
9e3eb6
# file-based buildreq on '/usr/share/xmlto/format/fo/pdf'.
9e3eb6
BuildRequires: xmlto /usr/share/xmlto/format/fo/pdf
9e3eb6
%endif
9e3eb6
%{?scl:Requires:%scl_runtime}
9e3eb6
9e3eb6
%if %{with_emacsvim}
9e3eb6
BuildRequires: emacs
9e3eb6
%endif
9e3eb6
9e3eb6
# Install requirements
9e3eb6
Requires: %{?scl_prefix}systemtap-client = %{version}-%{release}
9e3eb6
Requires: %{?scl_prefix}systemtap-devel = %{version}-%{release}
9e3eb6
9e3eb6
%description
9e3eb6
SystemTap is an instrumentation system for systems running Linux.
9e3eb6
Developers can write instrumentation scripts to collect data on
9e3eb6
the operation of the system.  The base systemtap package contains/requires
9e3eb6
the components needed to locally develop and execute systemtap scripts.
9e3eb6
9e3eb6
# ------------------------------------------------------------------------
9e3eb6
9e3eb6
%package server
9e3eb6
Summary: Instrumentation System Server
9e3eb6
Group: Development/System
9e3eb6
License: GPLv2+
9e3eb6
URL: http://sourceware.org/systemtap/
9e3eb6
Requires: %{?scl_prefix}systemtap-devel = %{version}-%{release}
9e3eb6
# On RHEL[45], /bin/mktemp comes from the 'mktemp' package.  On newer
9e3eb6
# distributions, /bin/mktemp comes from the 'coreutils' package.  To
9e3eb6
# avoid a specific RHEL[45] Requires, we'll do a file-based require.
9e3eb6
Requires: nss /bin/mktemp
9e3eb6
Requires: zip unzip
9e3eb6
Requires(pre): shadow-utils
9e3eb6
Requires(post): chkconfig
9e3eb6
Requires(preun): chkconfig
9e3eb6
Requires(preun): initscripts
9e3eb6
Requires(postun): initscripts
9e3eb6
BuildRequires: nss-devel avahi-devel
9e3eb6
%if %{with_openssl}
9e3eb6
Requires: openssl
9e3eb6
%endif
9e3eb6
9e3eb6
%description server
9e3eb6
This is the remote script compilation server component of systemtap.
9e3eb6
It announces itself to nearby clients with avahi (if available), and
9e3eb6
compiles systemtap scripts to kernel objects on their demand.
9e3eb6
9e3eb6
9e3eb6
%package devel
9e3eb6
Summary: Programmable system-wide instrumentation system - development headers, tools
9e3eb6
Group: Development/System
9e3eb6
License: GPLv2+
9e3eb6
URL: http://sourceware.org/systemtap/
9e3eb6
# Alternate kernel packages kernel-PAE-devel et al. have a virtual
9e3eb6
# provide for kernel-devel, so this requirement does the right thing,
9e3eb6
# at least past RHEL4.
9e3eb6
Requires: kernel-devel
9e3eb6
Requires: gcc make
9e3eb6
# Suggest: kernel-debuginfo
9e3eb6
9e3eb6
%description devel
9e3eb6
This package contains the components needed to compile a systemtap
9e3eb6
script from source form into executable (.ko) forms.  It may be
9e3eb6
installed on a self-contained developer workstation (along with the
9e3eb6
systemtap-client and systemtap-runtime packages), or on a dedicated
9e3eb6
remote server (alongside the systemtap-server package).  It includes
9e3eb6
a copy of the standard tapset library and the runtime library C files.
9e3eb6
9e3eb6
9e3eb6
%package runtime
9e3eb6
Summary: Programmable system-wide instrumentation system - runtime
9e3eb6
Group: Development/System
9e3eb6
License: GPLv2+
9e3eb6
URL: http://sourceware.org/systemtap/
9e3eb6
Requires(pre): shadow-utils
9e3eb6
9e3eb6
%description runtime
9e3eb6
SystemTap runtime contains the components needed to execute
9e3eb6
a systemtap script that was already compiled into a module
9e3eb6
using a local or remote systemtap-devel installation.
9e3eb6
9e3eb6
9e3eb6
%package client
9e3eb6
Summary: Programmable system-wide instrumentation system - client
9e3eb6
Group: Development/System
9e3eb6
License: GPLv2+
9e3eb6
URL: http://sourceware.org/systemtap/
9e3eb6
Requires: zip unzip
9e3eb6
Requires: %{?scl_prefix}systemtap-runtime = %{version}-%{release}
9e3eb6
Requires: coreutils grep sed unzip zip
9e3eb6
Requires: openssh-clients
9e3eb6
%if %{with_mokutil}
9e3eb6
Requires: mokutil
9e3eb6
%endif
9e3eb6
9e3eb6
%description client
9e3eb6
This package contains/requires the components needed to develop
9e3eb6
systemtap scripts, and compile them using a local systemtap-devel
9e3eb6
or a remote systemtap-server installation, then run them using a
9e3eb6
local or remote systemtap-runtime.  It includes script samples and
9e3eb6
documentation, and a copy of the tapset library for reference.
9e3eb6
9e3eb6
9e3eb6
%package initscript
9e3eb6
Summary: Systemtap Initscripts
9e3eb6
Group: Development/System
9e3eb6
License: GPLv2+
9e3eb6
URL: http://sourceware.org/systemtap/
9e3eb6
Requires: %{?scl_prefix}systemtap = %{version}-%{release}
9e3eb6
Requires(post): chkconfig
9e3eb6
Requires(preun): chkconfig
9e3eb6
Requires(preun): initscripts
9e3eb6
Requires(postun): initscripts
9e3eb6
9e3eb6
%description initscript
9e3eb6
This package includes a SysVinit script to launch selected systemtap
9e3eb6
scripts at system startup, along with a dracut module for early
9e3eb6
boot-time probing if supported.
9e3eb6
9e3eb6
9e3eb6
%package sdt-devel
9e3eb6
Summary: Static probe support tools
9e3eb6
Group: Development/System
9e3eb6
License: GPLv2+ and Public Domain
9e3eb6
URL: http://sourceware.org/systemtap/
9e3eb6
%if %{with_pyparsing}
9e3eb6
Requires: pyparsing
9e3eb6
%endif
9e3eb6
9e3eb6
%description sdt-devel
9e3eb6
This package includes the <sys/sdt.h> header file used for static
9e3eb6
instrumentation compiled into userspace programs and libraries, along
9e3eb6
with the optional dtrace-compatibility preprocessor to process related
9e3eb6
.d files into tracing-macro-laden .h headers.
9e3eb6
9e3eb6
9e3eb6
%package testsuite
9e3eb6
Summary: Instrumentation System Testsuite
9e3eb6
Group: Development/System
9e3eb6
License: GPLv2+
9e3eb6
URL: http://sourceware.org/systemtap/
9e3eb6
Requires: %{?scl_prefix}systemtap = %{version}-%{release}
9e3eb6
Requires: %{?scl_prefix}systemtap-sdt-devel = %{version}-%{release}
9e3eb6
Requires: %{?scl_prefix}systemtap-server = %{version}-%{release}
9e3eb6
Requires: %{?scl_prefix}elfutils
9e3eb6
Requires: dejagnu which prelink grep nc
9e3eb6
Requires: gcc gcc-c++ make glibc-devel
9e3eb6
# testsuite/systemtap.base/ptrace.exp needs strace
9e3eb6
Requires: strace
9e3eb6
# testsuite/systemtap.base/ipaddr.exp needs nc. Unfortunately, the rpm
9e3eb6
# that provides nc has changed over time (from 'nc' to
9e3eb6
# 'nmap-ncat'). So, we'll do a file-based require.
9e3eb6
Requires: /usr/bin/nc
9e3eb6
%ifnarch ia64 ppc64le aarch64
9e3eb6
Requires: prelink
9e3eb6
%endif
9e3eb6
# testsuite/systemtap.server/client.exp needs avahi
9e3eb6
Requires: avahi
9e3eb6
%if %{with_crash}
9e3eb6
# testsuite/systemtap.base/crash.exp needs crash
9e3eb6
Requires: crash
9e3eb6
%endif
9e3eb6
%ifarch x86_64
9e3eb6
Requires: /usr/lib/libc.so
9e3eb6
# ... and /usr/lib/libgcc_s.so.*
9e3eb6
# ... and /usr/lib/libstdc++.so.*
9e3eb6
%endif
9e3eb6
%if 0%{?fedora} >= 18
9e3eb6
Requires: stress
9e3eb6
%endif
9e3eb6
9e3eb6
%description testsuite
9e3eb6
This package includes the dejagnu-based systemtap stress self-testing
9e3eb6
suite.  This may be used by system administrators to thoroughly check
9e3eb6
systemtap on the current system.
9e3eb6
9e3eb6
# ------------------------------------------------------------------------
9e3eb6
9e3eb6
%prep
9e3eb6
%setup -q -n systemtap-%{version} %{?setup_elfutils}
9e3eb6
%patch1 -p1
9e3eb6
%patch2 -p1
9e3eb6
9e3eb6
%if %{with_bundled_elfutils}
9e3eb6
cd elfutils-%{elfutils_version}
9e3eb6
%patch1 -p2
9e3eb6
9e3eb6
sleep 1
9e3eb6
find . \( -name Makefile.in -o -name aclocal.m4 \) -print | xargs touch
9e3eb6
sleep 1
9e3eb6
find . \( -name configure -o -name config.h.in \) -print | xargs touch
9e3eb6
cd ..
9e3eb6
%endif
9e3eb6
9e3eb6
%build
9e3eb6
9e3eb6
%if %{with_bundled_elfutils}
9e3eb6
# Build our own copy of elfutils.
9e3eb6
%global elfutils_config --with-elfutils=elfutils-%{elfutils_version}
9e3eb6
9e3eb6
# We have to prevent the standard dependency generation from identifying
9e3eb6
# our private elfutils libraries in our provides and requires.
9e3eb6
%global _use_internal_dependency_generator	0
9e3eb6
%global filter_eulibs() /bin/sh -c "%{1} | sed '/libelf/d;/libdw/d;/libebl/d'"
9e3eb6
%global __find_provides %{filter_eulibs /usr/lib/rpm/find-provides}
9e3eb6
%global __find_requires %{filter_eulibs /usr/lib/rpm/find-requires}
9e3eb6
9e3eb6
# This will be needed for running stap when not installed, for the test suite.
9e3eb6
%global elfutils_mflags LD_LIBRARY_PATH=`pwd`/lib-elfutils
9e3eb6
%endif
9e3eb6
9e3eb6
# Enable/disable the dyninst pure-userspace backend
9e3eb6
%if %{with_dyninst}
9e3eb6
%global dyninst_config --with-dyninst
9e3eb6
%else
9e3eb6
%global dyninst_config --without-dyninst
9e3eb6
%endif
9e3eb6
9e3eb6
# Enable/disable the sqlite coverage testing support
9e3eb6
%if %{with_sqlite}
9e3eb6
%global sqlite_config --enable-sqlite
9e3eb6
%else
9e3eb6
%global sqlite_config --disable-sqlite
9e3eb6
%endif
9e3eb6
9e3eb6
# Enable/disable the crash extension
9e3eb6
%if %{with_crash}
9e3eb6
%global crash_config --enable-crash
9e3eb6
%else
9e3eb6
%global crash_config --disable-crash
9e3eb6
%endif
9e3eb6
9e3eb6
# Enable/disable the code to find and suggest needed rpms
9e3eb6
%if %{with_rpm}
9e3eb6
%global rpm_config --with-rpm
9e3eb6
%else
9e3eb6
%global rpm_config --without-rpm
9e3eb6
%endif
9e3eb6
9e3eb6
%if %{with_docs}
9e3eb6
%global docs_config --enable-docs
9e3eb6
%else
9e3eb6
%global docs_config --disable-docs
9e3eb6
%endif
9e3eb6
9e3eb6
# Enable pie as configure defaults to disabling it
9e3eb6
%if %{pie_supported}
9e3eb6
%global pie_config --enable-pie
9e3eb6
%else
9e3eb6
%global pie_config --disable-pie
9e3eb6
%endif
9e3eb6
9e3eb6
9e3eb6
%if %{with_java}
9e3eb6
%global java_config --with-java=%{_jvmdir}/java
9e3eb6
%else
9e3eb6
%global java_config --without-java
9e3eb6
%endif
9e3eb6
9e3eb6
%if %{with_virthost}
9e3eb6
%global virt_config --enable-virt
9e3eb6
%else
9e3eb6
%global virt_config --disable-virt
9e3eb6
%endif
9e3eb6
9e3eb6
#CPPFLAGS="-I%{_includedir}/dyninst %{optflags}"
9e3eb6
CPPFLAGS="-I%{_includedir} -I%{_includedir}/dyninst %{optflags}"
9e3eb6
export CPPFLAGS
9e3eb6
#LDFLAGS="-L%{_libdir}/dyninst"
9e3eb6
LDFLAGS="-L%{_libdir} -L%{_libdir}/dyninst -L%{_libdir}/elfutils"
9e3eb6
export LDFLAGS
9e3eb6
9e3eb6
%if %{with_virthost}
9e3eb6
%global virt_config --enable-virt
9e3eb6
%else
9e3eb6
%global virt_config --disable-virt
9e3eb6
%endif
9e3eb6
9e3eb6
%if %{with_dracut}
9e3eb6
%global dracut_config --with-dracutstap=%{dracutstap}
9e3eb6
%else
9e3eb6
%global dracut_config
9e3eb6
%endif
9e3eb6
9e3eb6
%configure %{?elfutils_config} %{dyninst_config} %{sqlite_config} %{crash_config} %{docs_config} %{pie_config} %{rpm_config} %{java_config} %{virt_config} %{dracut_config} --disable-silent-rules --with-extra-version="%{scl} rpm %{version}-%{release}" have_fop=no
9e3eb6
9e3eb6
make %{?_smp_mflags}
9e3eb6
9e3eb6
%if %{with_emacsvim}
9e3eb6
%{_emacs_bytecompile} emacs/systemtap-mode.el
9e3eb6
%endif
9e3eb6
9e3eb6
%install
9e3eb6
rm -rf ${RPM_BUILD_ROOT}
9e3eb6
make DESTDIR=$RPM_BUILD_ROOT install
9e3eb6
%find_lang systemtap
9e3eb6
9e3eb6
# We want the examples in the special doc dir, not the build install dir.
9e3eb6
# We build it in place and then move it away so it doesn't get installed
9e3eb6
# twice. rpm can specify itself where the (versioned) docs go with the
9e3eb6
# %doc directive.
9e3eb6
mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/examples examples
9e3eb6
9e3eb6
# Fix paths in the example & testsuite scripts
9e3eb6
find examples testsuite -type f -name '*.stp' -print0 | xargs -0 sed -i -r -e '1s@^#!.+stap@#!%{_bindir}/stap@'
9e3eb6
9e3eb6
# To make rpmlint happy, remove any .gitignore files in the testsuite.
9e3eb6
find testsuite -type f -name '.gitignore' -print0 | xargs -0 rm -f
9e3eb6
9e3eb6
# Because "make install" may install staprun with whatever mode, the
9e3eb6
# post-processing programs rpmbuild runs won't be able to read it.
9e3eb6
# So, we change permissions so that they can read it.  We'll set the
9e3eb6
# permissions back to 04110 in the %files section below.
9e3eb6
chmod 755 $RPM_BUILD_ROOT%{_bindir}/staprun
9e3eb6
9e3eb6
#install the useful stap-prep script
9e3eb6
install -c -m 755 stap-prep $RPM_BUILD_ROOT%{_bindir}/stap-prep
9e3eb6
9e3eb6
# Copy over the testsuite
9e3eb6
cp -rp testsuite $RPM_BUILD_ROOT%{_datadir}/systemtap
9e3eb6
9e3eb6
%if %{with_docs}
9e3eb6
# We want the manuals in the special doc dir, not the generic doc install dir.
9e3eb6
# We build it in place and then move it away so it doesn't get installed
9e3eb6
# twice. rpm can specify itself where the (versioned) docs go with the
9e3eb6
# %doc directive.
9e3eb6
mkdir docs.installed
9e3eb6
mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/*.pdf docs.installed/
9e3eb6
mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/tapsets docs.installed/
9e3eb6
mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/SystemTap_Beginners_Guide docs.installed/
9e3eb6
%endif
9e3eb6
9e3eb6
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/stap-server
9e3eb6
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/stap-server
9e3eb6
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/stap-server/.systemtap
9e3eb6
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/stap-server
9e3eb6
touch $RPM_BUILD_ROOT%{_localstatedir}/log/stap-server/log
9e3eb6
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/cache/systemtap
9e3eb6
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/systemtap
9e3eb6
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
9e3eb6
install -m 644 initscript/logrotate.stap-server $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/stap-server
9e3eb6
mkdir -p $RPM_BUILD_ROOT%{sysconfdir}/rc.d/init.d/
9e3eb6
install -m 755 initscript/systemtap $RPM_BUILD_ROOT%{sysconfdir}/rc.d/init.d/%{?scl_prefix}systemtap
9e3eb6
install -m 755 initscript/stap-server $RPM_BUILD_ROOT%{sysconfdir}/rc.d/init.d/%{?scl_prefix}stap-server
9e3eb6
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/systemtap
9e3eb6
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/systemtap/conf.d
9e3eb6
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/systemtap/script.d
9e3eb6
install -m 644 initscript/config.systemtap $RPM_BUILD_ROOT%{_sysconfdir}/systemtap/config
9e3eb6
9e3eb6
%if %{with_systemd}
9e3eb6
mkdir -p $RPM_BUILD_ROOT%{_unitdir}
9e3eb6
touch $RPM_BUILD_ROOT%{_unitdir}/%{?scl_prefix}stap-server.service
9e3eb6
install -m 644 stap-server.service $RPM_BUILD_ROOT%{_unitdir}/%{?scl_prefix}stap-server.service
9e3eb6
mkdir -p $RPM_BUILD_ROOT%{_tmpfilesdir}
9e3eb6
install -m 644 stap-server.conf $RPM_BUILD_ROOT%{_tmpfilesdir}/%{?scl_prefix}stap-server.conf
9e3eb6
%else
9e3eb6
install -m 755 initscript/stap-server $RPM_BUILD_ROOT%{initdir}/%{?scl_prefix}stap-server
9e3eb6
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/stap-server/conf.d
9e3eb6
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
9e3eb6
install -m 644 initscript/config.stap-server $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/stap-server
9e3eb6
%endif
9e3eb6
9e3eb6
%if %{with_emacsvim}
9e3eb6
mkdir -p $RPM_BUILD_ROOT%{_emacs_sitelispdir}
9e3eb6
install -p -m 644 emacs/systemtap-mode.el* $RPM_BUILD_ROOT%{_emacs_sitelispdir}
9e3eb6
mkdir -p $RPM_BUILD_ROOT%{_emacs_sitestartdir}
9e3eb6
install -p -m 644 emacs/systemtap-init.el $RPM_BUILD_ROOT%{_emacs_sitestartdir}/systemtap-init.el
9e3eb6
for subdir in ftdetect ftplugin indent syntax
9e3eb6
do
9e3eb6
    mkdir -p $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/$subdir
9e3eb6
    install -p -m 644 vim/$subdir/*.vim $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/$subdir
9e3eb6
done
9e3eb6
%endif
9e3eb6
9e3eb6
%if %{with_dracut}
9e3eb6
   mkdir -p $RPM_BUILD_ROOT%{dracutstap}
9e3eb6
   install -p -m 755 initscript/99stap/module-setup.sh $RPM_BUILD_ROOT%{dracutstap}
9e3eb6
   install -p -m 755 initscript/99stap/start-staprun.sh $RPM_BUILD_ROOT%{dracutstap}
9e3eb6
   touch $RPM_BUILD_ROOT%{dracutstap}/params.conf
9e3eb6
%endif
9e3eb6
9e3eb6
%clean
9e3eb6
rm -rf ${RPM_BUILD_ROOT}
9e3eb6
9e3eb6
%pre runtime
9e3eb6
getent group stapusr >/dev/null || groupadd -g 156 -r stapusr 2>/dev/null || groupadd -r stapusr
9e3eb6
getent group stapsys >/dev/null || groupadd -g 157 -r stapsys 2>/dev/null || groupadd -r stapsys
9e3eb6
getent group stapdev >/dev/null || groupadd -g 158 -r stapdev 2>/dev/null || groupadd -r stapdev
9e3eb6
exit 0
9e3eb6
9e3eb6
%pre server
9e3eb6
getent group stap-server >/dev/null || groupadd -g 155 -r stap-server 2>/dev/null || groupadd -r stap-server
9e3eb6
getent passwd stap-server >/dev/null || \
9e3eb6
  useradd -c "Systemtap Compile Server" -u 155 -g stap-server -d %{_localstatedir}/lib/stap-server -r -s /sbin/nologin stap-server 2>/dev/null || \
9e3eb6
  useradd -c "Systemtap Compile Server" -g stap-server -d %{_localstatedir}/lib/stap-server -r -s /sbin/nologin stap-server
9e3eb6
9e3eb6
%post server
9e3eb6
9e3eb6
# We have some duplication between the %files listings for the
9e3eb6
# ~stap-server directories and the explicit mkdir/chown/chmod bits
9e3eb6
# here.  Part of the reason may be that a preexisting stap-server
9e3eb6
# account may well be placed somewhere other than
9e3eb6
# %{_localstatedir}/lib/stap-server, but we'd like their permissions
9e3eb6
# set similarly.
9e3eb6
9e3eb6
test -e ~stap-server && chmod 750 ~stap-server
9e3eb6
9e3eb6
if [ ! -f ~stap-server/.systemtap/rc ]; then
9e3eb6
  mkdir -p ~stap-server/.systemtap
9e3eb6
  chown stap-server:stap-server ~stap-server/.systemtap
9e3eb6
  # PR16276: guess at a reasonable number for a default --rlimit-nproc
9e3eb6
  numcpu=`/usr/bin/getconf _NPROCESSORS_ONLN`
9e3eb6
  if [ -z "$numcpu" -o "$numcpu" -lt 1 ]; then numcpu=1; fi
9e3eb6
  nproc=`expr $numcpu \* 30`
9e3eb6
  echo "--rlimit-as=614400000 --rlimit-cpu=60 --rlimit-nproc=$nproc --rlimit-stack=1024000 --rlimit-fsize=51200000" > ~stap-server/.systemtap/rc
9e3eb6
  chown stap-server:stap-server ~stap-server/.systemtap/rc
9e3eb6
fi
9e3eb6
9e3eb6
test -e %{_localstatedir}/log/stap-server/log || {
9e3eb6
     touch %{_localstatedir}/log/stap-server/log
9e3eb6
     chmod 644 %{_localstatedir}/log/stap-server/log
9e3eb6
     chown stap-server:stap-server %{_localstatedir}/log/stap-server/log
9e3eb6
}
9e3eb6
# If it does not already exist, as stap-server, generate the certificate
9e3eb6
# used for signing and for ssl.
9e3eb6
if test ! -e ~stap-server/.systemtap/ssl/server/stap.cert; then
9e3eb6
   runuser -s /bin/sh - stap-server -c %{_libexecdir}/systemtap/stap-gen-cert >/dev/null
9e3eb6
fi
9e3eb6
# Prepare the service
9e3eb6
%if %{with_systemd}
9e3eb6
     # Note, Fedora policy doesn't allow network services enabled by default
9e3eb6
     # /bin/systemctl enable stap-server.service >/dev/null 2>&1 || :
9e3eb6
     /bin/systemd-tmpfiles --create %{_tmpfilesdir}/stap-server.conf >/dev/null 2>&1 || :
9e3eb6
%else
9e3eb6
    /sbin/chkconfig --add %{?scl_prefix}stap-server
9e3eb6
%endif
9e3eb6
exit 0
9e3eb6
9e3eb6
%triggerin client -- systemtap-server
9e3eb6
if test -e ~stap-server/.systemtap/ssl/server/stap.cert; then
9e3eb6
   # echo Authorizing ssl-peer/trusted-signer certificate for local systemtap-server
9e3eb6
   %{_libexecdir}/systemtap/stap-authorize-cert ~stap-server/.systemtap/ssl/server/stap.cert %{_sysconfdir}/systemtap/ssl/client >/dev/null
9e3eb6
   %{_libexecdir}/systemtap/stap-authorize-cert ~stap-server/.systemtap/ssl/server/stap.cert %{_sysconfdir}/systemtap/staprun >/dev/null
9e3eb6
fi
9e3eb6
exit 0
9e3eb6
# XXX: corresponding %triggerun?
9e3eb6
9e3eb6
%preun server
9e3eb6
# Check that this is the actual deinstallation of the package, as opposed to
9e3eb6
# just removing the old package on upgrade.
9e3eb6
if [ $1 = 0 ] ; then
9e3eb6
    %if %{with_systemd}
9e3eb6
       /bin/systemctl --no-reload disable stap-server.service >/dev/null 2>&1 || :
9e3eb6
       /bin/systemctl stop stap-server.service >/dev/null 2>&1 || :
9e3eb6
    %else
9e3eb6
        /sbin/service %{?scl_prefix}stap-server stop >/dev/null 2>&1
9e3eb6
    	/sbin/chkconfig --del %{?scl_prefix}stap-server
9e3eb6
    %endif
9e3eb6
fi
9e3eb6
exit 0
9e3eb6
9e3eb6
%postun server
9e3eb6
# Check whether this is an upgrade of the package.
9e3eb6
# If so, restart the service if it's running
9e3eb6
if [ "$1" -ge "1" ] ; then
9e3eb6
    %if %{with_systemd}
9e3eb6
        /bin/systemctl condrestart stap-server.service >/dev/null 2>&1 || :
9e3eb6
    %else
9e3eb6
        /sbin/service %{?scl_prefix}stap-server condrestart >/dev/null 2>&1 || :
9e3eb6
    %endif
9e3eb6
fi
9e3eb6
exit 0
9e3eb6
9e3eb6
%post initscript
9e3eb6
%if %{with_systemd}
9e3eb6
    /bin/systemctl enable systemtap.service >/dev/null 2>&1 || :
9e3eb6
%else
9e3eb6
    /sbin/chkconfig --add %{?scl_prefix}systemtap
9e3eb6
%endif
9e3eb6
exit 0
9e3eb6
9e3eb6
%preun initscript
9e3eb6
# Check that this is the actual deinstallation of the package, as opposed to
9e3eb6
# just removing the old package on upgrade.
9e3eb6
if [ $1 = 0 ] ; then
9e3eb6
    %if %{with_systemd}
9e3eb6
        /bin/systemctl --no-reload disable systemtap.service >/dev/null 2>&1 || :
9e3eb6
        /bin/systemctl stop systemtap.service >/dev/null 2>&1 || :
9e3eb6
    %else
9e3eb6
        /sbin/service %{?scl_prefix}systemtap stop >/dev/null 2>&1
9e3eb6
    	/sbin/chkconfig --del %{?scl_prefix}systemtap
9e3eb6
    %endif
9e3eb6
fi
9e3eb6
exit 0
9e3eb6
9e3eb6
%postun initscript
9e3eb6
# Check whether this is an upgrade of the package.
9e3eb6
# If so, restart the service if it's running
9e3eb6
if [ "$1" -ge "1" ] ; then
9e3eb6
    %if %{with_systemd}
9e3eb6
        /bin/systemctl condrestart systemtap.service >/dev/null 2>&1 || :
9e3eb6
    %else
9e3eb6
        /sbin/service %{?scl_prefix}systemtap condrestart >/dev/null 2>&1 || :
9e3eb6
    %endif
9e3eb6
fi
9e3eb6
exit 0
9e3eb6
9e3eb6
%post
9e3eb6
# Remove any previously-built uprobes.ko materials
9e3eb6
(make -C %{_datadir}/systemtap/runtime/uprobes clean) >/dev/null 2>&1 || true
9e3eb6
(/sbin/rmmod uprobes) >/dev/null 2>&1 || true
9e3eb6
9e3eb6
%preun
9e3eb6
# Ditto
9e3eb6
(make -C %{_datadir}/systemtap/runtime/uprobes clean) >/dev/null 2>&1 || true
9e3eb6
(/sbin/rmmod uprobes) >/dev/null 2>&1 || true
9e3eb6
9e3eb6
# ------------------------------------------------------------------------
9e3eb6
9e3eb6
%files -f systemtap.lang
9e3eb6
# The master "systemtap" rpm doesn't include any files.
9e3eb6
9e3eb6
%files server -f systemtap.lang
9e3eb6
%defattr(-,root,root)
9e3eb6
%{_bindir}/stap-server
9e3eb6
%dir %{_libexecdir}/systemtap
9e3eb6
%{_libexecdir}/systemtap/stap-serverd
9e3eb6
%{_libexecdir}/systemtap/stap-start-server
9e3eb6
%{_libexecdir}/systemtap/stap-stop-server
9e3eb6
%{_libexecdir}/systemtap/stap-gen-cert
9e3eb6
%{_libexecdir}/systemtap/stap-sign-module
9e3eb6
%{_libexecdir}/systemtap/stap-authorize-cert
9e3eb6
%{_libexecdir}/systemtap/stap-env
9e3eb6
%{_mandir}/man7/stappaths.7*
9e3eb6
%{_mandir}/man7/error*
9e3eb6
%{_mandir}/man7/warning*
9e3eb6
%{_mandir}/man8/stap-server.8*
9e3eb6
9e3eb6
%if %{with_systemd}
9e3eb6
%{_unitdir}/stap-server.service
9e3eb6
%{_tmpfilesdir}/stap-server.conf
9e3eb6
%else
9e3eb6
%{initdir}/%{?scl_prefix}stap-server
9e3eb6
%dir %{_sysconfdir}/stap-server/conf.d
9e3eb6
%config(noreplace) %{_sysconfdir}/sysconfig/stap-server
9e3eb6
%endif
9e3eb6
%config(noreplace) %{_sysconfdir}/logrotate.d/stap-server
9e3eb6
%dir %{_sysconfdir}/stap-server
9e3eb6
%dir %attr(0750,stap-server,stap-server) %{_localstatedir}/lib/stap-server
9e3eb6
%dir %attr(0700,stap-server,stap-server) %{_localstatedir}/lib/stap-server/.systemtap
9e3eb6
%dir %attr(0755,stap-server,stap-server) %{_localstatedir}/log/stap-server
9e3eb6
%ghost %config(noreplace) %attr(0644,stap-server,stap-server) %{_localstatedir}/log/stap-server/log
9e3eb6
%ghost %attr(0755,stap-server,stap-server) %{_localstatedir}/run/stap-server
9e3eb6
%doc README README.unprivileged AUTHORS NEWS 
9e3eb6
%{!?_licensedir:%global license %%doc}
9e3eb6
%license COPYING
9e3eb6
9e3eb6
9e3eb6
%files devel -f systemtap.lang
9e3eb6
%{_bindir}/stap
9e3eb6
%{_bindir}/stap-prep
9e3eb6
%{_bindir}/stap-report
9e3eb6
%dir %{_datadir}/systemtap
9e3eb6
%{_datadir}/systemtap/runtime
9e3eb6
%{_datadir}/systemtap/tapset
9e3eb6
%{_mandir}/man1/stap.1*
9e3eb6
%{_mandir}/man1/stap-prep.1*
9e3eb6
%{_mandir}/man1/stap-report.1*
9e3eb6
%{_mandir}/man7/error*
9e3eb6
%{_mandir}/man7/stappaths.7*
9e3eb6
%{_mandir}/man7/warning*
9e3eb6
%doc README README.unprivileged AUTHORS NEWS 
9e3eb6
%{!?_licensedir:%global license %%doc}
9e3eb6
%license COPYING
9e3eb6
%if %{with_bundled_elfutils}
9e3eb6
%dir %{_libdir}/systemtap
9e3eb6
%{_libdir}/systemtap/lib*.so*
9e3eb6
%endif
9e3eb6
9e3eb6
%if %{with_emacsvim}
9e3eb6
%{_emacs_sitelispdir}/*.el*
9e3eb6
%{_emacs_sitestartdir}/systemtap-init.el
9e3eb6
%{_datadir}/vim/vimfiles/*/*.vim
9e3eb6
%endif
9e3eb6
9e3eb6
%files runtime -f systemtap.lang
9e3eb6
%defattr(-,root,root)
9e3eb6
%attr(4110,root,stapusr) %{_bindir}/staprun
9e3eb6
%{_bindir}/stapsh
9e3eb6
%{_bindir}/stap-merge
9e3eb6
%{_bindir}/stap-report
9e3eb6
%if %{with_dyninst}
9e3eb6
%{_bindir}/stapdyn
9e3eb6
%endif
9e3eb6
%dir %{_libexecdir}/systemtap
9e3eb6
%{_libexecdir}/systemtap/stapio
9e3eb6
%{_libexecdir}/systemtap/stap-env
9e3eb6
%{_libexecdir}/systemtap/stap-authorize-cert
9e3eb6
%if %{with_crash}
9e3eb6
%dir %{_libdir}/systemtap
9e3eb6
%{_libdir}/systemtap/staplog.so*
9e3eb6
%endif
9e3eb6
%{_mandir}/man1/stap-report.1*
9e3eb6
%{_mandir}/man7/error*
9e3eb6
%{_mandir}/man7/stappaths.7*
9e3eb6
%{_mandir}/man7/warning*
9e3eb6
%{_mandir}/man8/stapsh.8*
9e3eb6
%{_mandir}/man8/staprun.8*
9e3eb6
%if %{with_dyninst}
9e3eb6
%{_mandir}/man8/stapdyn.8*
9e3eb6
%endif
9e3eb6
%doc README README.security AUTHORS NEWS 
9e3eb6
%{!?_licensedir:%global license %%doc}
9e3eb6
%license COPYING
9e3eb6
9e3eb6
9e3eb6
%files client -f systemtap.lang
9e3eb6
%defattr(-,root,root)
9e3eb6
%doc README README.unprivileged AUTHORS NEWS examples
9e3eb6
%{!?_licensedir:%global license %%doc}
9e3eb6
%license COPYING
9e3eb6
%if %{with_docs}
9e3eb6
%doc docs.installed/*.pdf
9e3eb6
%doc docs.installed/tapsets/*.html
9e3eb6
%doc docs.installed/SystemTap_Beginners_Guide
9e3eb6
%endif
9e3eb6
%{_bindir}/stap
9e3eb6
%{_bindir}/stap-prep
9e3eb6
%{_bindir}/stap-report
9e3eb6
%{_mandir}/man1/stap.1*
9e3eb6
%{_mandir}/man1/stap-prep.1*
9e3eb6
%{_mandir}/man1/stap-merge.1*
9e3eb6
%{_mandir}/man1/stap-report.1*
9e3eb6
%{_mandir}/man1/stapref.1*
9e3eb6
%{_mandir}/man3/*
9e3eb6
%{_mandir}/man7/error*
9e3eb6
%{_mandir}/man7/stappaths.7*
9e3eb6
%{_mandir}/man7/warning*
9e3eb6
%dir %{_datadir}/systemtap
9e3eb6
%{_datadir}/systemtap/tapset
9e3eb6
9e3eb6
9e3eb6
%files initscript
9e3eb6
%defattr(-,root,root)
9e3eb6
%{sysconfdir}/rc.d/init.d/%{?scl_prefix}systemtap
9e3eb6
%dir %{_sysconfdir}/systemtap
9e3eb6
%dir %{_sysconfdir}/systemtap/conf.d
9e3eb6
%dir %{_sysconfdir}/systemtap/script.d
9e3eb6
%config(noreplace) %{_sysconfdir}/systemtap/config
9e3eb6
%dir %{_localstatedir}/cache/systemtap
9e3eb6
%ghost %{_localstatedir}/run/systemtap
9e3eb6
%{_mandir}/man8/systemtap.8*
9e3eb6
%if %{with_dracut}
9e3eb6
   %dir %{dracutstap}
9e3eb6
   %{dracutstap}/*
9e3eb6
%endif
9e3eb6
9e3eb6
9e3eb6
%files sdt-devel -f systemtap.lang
9e3eb6
%defattr(-,root,root)
9e3eb6
%{_bindir}/dtrace
9e3eb6
%{_includedir}/sys/sdt.h
9e3eb6
%{_includedir}/sys/sdt-config.h
9e3eb6
%{_mandir}/man1/dtrace.1*
9e3eb6
%doc README AUTHORS NEWS 
9e3eb6
%{!?_licensedir:%global license %%doc}
9e3eb6
%license COPYING
9e3eb6
9e3eb6
9e3eb6
%files testsuite
9e3eb6
%defattr(-,root,root)
9e3eb6
%dir %{_datadir}/systemtap
9e3eb6
%{_datadir}/systemtap/testsuite
9e3eb6
9e3eb6
# ------------------------------------------------------------------------
9e3eb6
9e3eb6
# Future new-release entries should be of the form
9e3eb6
# * DDD MMM DD YYYY YOURNAME <YOUREMAIL> - V-R
9e3eb6
# - Upstream release, see wiki page below for detailed notes.
9e3eb6
#   http://sourceware.org/systemtap/wiki/SystemTapReleases
9e3eb6
9e3eb6
%changelog
9e3eb6
* Tue Jul  7 2015 Frank Ch. Eigler <fche@redhat.com> - 2.8-4
9e3eb6
- rhbz1224363 (rebase to upstream 2.8+)
9e3eb6
9e3eb6
* Wed Mar 25 2015 Frank Ch. Eigler <fche@redhat.com> - 2.6-11
9e3eb6
- rhbz1121363 (dracut support)
9e3eb6
9e3eb6
* Fri Feb 13 2015 Frank Ch. Eigler <fche@redhat.com> - 2.6-10
9e3eb6
- rhbz1172781 (nfs3_proc_read_setup tapset)
9e3eb6
- rhbz1128209 (uninstalled stapvirt files found)
9e3eb6
9e3eb6
* Fri Jan 09 2015 Frank Ch. Eigler <fche@redhat.com> - 2.6-9
9e3eb6
- dts3.1 merge from rhel-7.1
9e3eb6
- remove bodies of with_java, with_virtguest, with_virthost conditionals
9e3eb6
9e3eb6
* Wed Dec 10 2014 Frank Ch. Eigler <fche@redhat.com> - 2.6-8
9e3eb6
- rhbz1171823 (nfsd svc_fh access)
9e3eb6
9e3eb6
* Wed Nov 26 2014 Frank Ch. Eigler <fche@redhat.com> - 2.6-7
9e3eb6
- rhbz1167652 (stap dracut empty)
9e3eb6
9e3eb6
* Thu Nov 20 2014 Frank Ch. Eigler <fche@redhat.com> - 2.6-6
9e3eb6
- rhbz1164373 (fix ppc64 kprobes via KERNEL_RELOC_SYMBOL)
9e3eb6
- rhbz1119335 (document STAP_FIPS_OVERRIDE in staprun.8)
9e3eb6
- rhbz1127591 (ppc64 hcall_* tracepoint blacklisting)
9e3eb6
9e3eb6
* Fri Oct 17 2014 Frank Ch. Eigler <fche@redhat.com> - 2.6-5
9e3eb6
- RHBZ1153673 (stap segv during optimization)
9e3eb6
9e3eb6
* Fri Sep 19 2014 Frank Ch. Eigler <fche@redhat.com> - 2.6-3
9e3eb6
- Added probinson's patch BZ1141919 for enabling more ppc64/aarch64 facilities,
9e3eb6
  with some staplog.c followup
9e3eb6
9e3eb6
* Tue Sep 09 2014 Josh Stone <jistone@redhat.com> - 2.6-2
9e3eb6
- Backport fix for 1139844
9e3eb6
9e3eb6
* Fri Sep 05 2014 Josh Stone <jistone@redhat.com> - 2.6-1
9e3eb6
- Upstream release, rebased for 1107735
9e3eb6
9e3eb6
* Wed Aug 27 2014 Josh Stone <jistone@redhat.com> - 2.4-16
9e3eb6
- Exclude ppc64le from with_crash (1125693)
9e3eb6
9e3eb6
* Tue Aug 26 2014 Josh Stone <jistone@redhat.com> - 2.4-15
9e3eb6
- Tighten arch lists for prelink and dyninst (1094349, 1125693)
9e3eb6
9e3eb6
* Fri Mar 28 2014 Jonathan Lebon <jlebon@redhat.com> - 2.4-14
9e3eb6
- Small fix on latest backport fix for dyninst runtime
9e3eb6
9e3eb6
* Fri Mar 28 2014 Jonathan Lebon <jlebon@redhat.com> - 2.4-13
9e3eb6
- Backport fixes for 1051649 (see comments 4 and 5)
9e3eb6
9e3eb6
* Thu Mar 06 2014 Jonathan Lebon <jlebon@redhat.com> - 2.4-12
9e3eb6
- Backport fix for 1073640
9e3eb6
9e3eb6
* Wed Feb 12 2014 Jonathan Lebon <jlebon@redhat.com> - 2.4-11
9e3eb6
- Backport fix for 847285
9e3eb6
9e3eb6
* Wed Feb 12 2014 Jonathan Lebon <jlebon@redhat.com> - 2.4-10
9e3eb6
- Apply spec file patches to this one, not the tarred one
9e3eb6
- Add missing autoreconf patch for backport feature (1051649)
9e3eb6
9e3eb6
* Tue Feb 11 2014 Jonathan Lebon <jlebon@redhat.com> - 2.4-9
9e3eb6
- Backport fixes for: 1062076, 1020207
9e3eb6
9e3eb6
* Tue Jan 28 2014 Daniel Mach <dmach@redhat.com> - 2.4-8
9e3eb6
- Mass rebuild 2014-01-24
9e3eb6
9e3eb6
* Fri Jan 24 2014 Jonathan Lebon <jlebon@redhat.com> - 2.4-7
9e3eb6
- Backport fix for 1057773
9e3eb6
9e3eb6
* Wed Jan 22 2014 Frank Ch. Subbackportmeister Eigler <fche@redhat.com> - 2.4-6
9e3eb6
- Backport fixes for: 1056687
9e3eb6
9e3eb6
* Wed Jan 22 2014 Jonathan Lebon <jlebon@redhat.com> - 2.4-5
9e3eb6
- Backport fixes for: 1035752, 1035850
9e3eb6
9e3eb6
* Tue Jan 21 2014 Jonathan Lebon <jlebon@redhat.com> - 2.4-4
9e3eb6
- Backport fix for 1055778
9e3eb6
9e3eb6
* Fri Jan 17 2014 Jonathan Lebon <jlebon@redhat.com> - 2.4-3
9e3eb6
- Backport fixes for: 1054962, 1054956, 1054954, 1044429
9e3eb6
- Backport boot-time probing feature (1051649)
9e3eb6
9e3eb6
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.4-2
9e3eb6
- Mass rebuild 2013-12-27
9e3eb6
9e3eb6
* Wed Nov 06 2013 Frank Ch. Eigler <fche@redhat.com> - 2.4-1
9e3eb6
- Upstream release.
9e3eb6
9e3eb6
* Wed Oct 09 2013 Jonathan Lebon <jlebon@redhat.com>
9e3eb6
- Added runtime-virthost and runtime-virtguest packages.
9e3eb6
9e3eb6
* Thu Jul 25 2013 Frank Ch. Eigler <fche@redhat.com> - 2.3-1
9e3eb6
- Upstream release.
9e3eb6
9e3eb6
* Thu May 16 2013 Frank Ch. Eigler <fche@redhat.com> - 2.2.1-1
9e3eb6
- Upstream release.
9e3eb6
9e3eb6
* Tue May 14 2013 Frank Ch. Eigler <fche@redhat.com> - 2.2-1
9e3eb6
- Upstream release.
9e3eb6
9e3eb6
* Wed Feb 13 2013 Serguei Makarov <smakarov@redhat.com> - 2.1-1
9e3eb6
- Upstream release.
9e3eb6
9e3eb6
* Tue Oct 09 2012 Josh Stone <jistone@redhat.com> - 2.0-1
9e3eb6
- Upstream release.
9e3eb6
9e3eb6
* Tue Sep 11 2012 William Cohen <wcohen@redhat.com> - 1.8-7
9e3eb6
- rhbz847919 need scl-compatible init scripts
9e3eb6
- Backported fixes:
9e3eb6
- rhbz848459 "groupadd: GID 156 is not unique" while installing systemtap-runtime-1.8-4.el5
9e3eb6
- rhbz848460 sdt.c on systemtap-testsuite cannot be compiled
9e3eb6
- rhbz848461 /usr/libexec/systemtap/stap-authorize-cert: No such file or directory
9e3eb6
9e3eb6
* Wed Sep 5 2012 William Cohen <wcohen@redhat.com> - 1.8-6
9e3eb6
- Backport fix for rhbz853357.
9e3eb6
9e3eb6
* Thu Jul 5 2012 William Cohen <wcohen@redhat.com> - 1.8-5
9e3eb6
- Make compatible with software collections.
9e3eb6
9e3eb6
* Wed Jun 27 2012 Stan Cox <scox@redhat.com> - 1.8-4
9e3eb6
- Backported fix for pr14325
9e3eb6
9e3eb6
* Wed Jun 27 2012 Stan Cox <scox@redhat.com> - 1.8-3
9e3eb6
- No publican in rhel 5.
9e3eb6
9e3eb6
* Wed Jun 27 2012 Stan Cox <scox@redhat.com> - 1.8-2
9e3eb6
- Add s390 to the publican blacklist.
9e3eb6
9e3eb6
* Sun Jun 17 2012 Frank Ch. Eigler <fche@redhat.com> - 1.8-1
9e3eb6
- Upstream release.
9e3eb6
9e3eb6
* Wed Feb 01 2012 Frank Ch. Eigler <fche@redhat.com> - 1.7-1
9e3eb6
- Upstream release.
9e3eb6
9e3eb6
* Fri Jan 13 2012 David Smith <dsmith@redhat.com> - 1.6-2
9e3eb6
- Fixed /bin/mktemp require.
9e3eb6
9e3eb6
* Mon Jul 25 2011 Stan Cox <scox@redhat.com> - 1.6-1
9e3eb6
- Upstream release.
9e3eb6
9e3eb6
* Mon May 23 2011 Stan Cox <scox@redhat.com> - 1.5-1
9e3eb6
- Upstream release.
9e3eb6
9e3eb6
* Mon Jan 17 2011 Frank Ch. Eigler <fche@redhat.com> - 1.4-1
9e3eb6
- Upstream release.
9e3eb6
9e3eb6
* Wed Jul 21 2010 Josh Stone <jistone@redhat.com> - 1.3-1
9e3eb6
- Upstream release.
9e3eb6
9e3eb6
* Mon Mar 22 2010 Frank Ch. Eigler <fche@redhat.com> - 1.2-1
9e3eb6
- Upstream release.
9e3eb6
9e3eb6
* Mon Dec 21 2009 David Smith <dsmith@redhat.com> - 1.1-1
9e3eb6
- Upstream release.
9e3eb6
9e3eb6
* Tue Sep 22 2009 Josh Stone <jistone@redhat.com> - 1.0-1
9e3eb6
- Upstream release.
9e3eb6
9e3eb6
* Tue Aug  4 2009 Josh Stone <jistone@redhat.com> - 0.9.9-1
9e3eb6
- Upstream release.
9e3eb6
9e3eb6
* Thu Jun 11 2009 Josh Stone <jistone@redhat.com> - 0.9.8-1
9e3eb6
- Upstream release.
9e3eb6
9e3eb6
* Thu Apr 23 2009 Josh Stone <jistone@redhat.com> - 0.9.7-1
9e3eb6
- Upstream release.
9e3eb6
9e3eb6
* Fri Mar 27 2009 Josh Stone <jistone@redhat.com> - 0.9.5-1
9e3eb6
- Upstream release.
9e3eb6
9e3eb6
* Wed Mar 18 2009 Will Cohen <wcohen@redhat.com> - 0.9-2
9e3eb6
- Add location of man pages.
9e3eb6
9e3eb6
* Tue Feb 17 2009 Frank Ch. Eigler <fche@redhat.com> - 0.9-1
9e3eb6
- Upstream release.
9e3eb6
9e3eb6
* Thu Nov 13 2008 Frank Ch. Eigler <fche@redhat.com> - 0.8-1
9e3eb6
- Upstream release.
9e3eb6
9e3eb6
* Tue Jul 15 2008 Frank Ch. Eigler <fche@redhat.com> - 0.7-1
9e3eb6
- Upstream release.
9e3eb6
9e3eb6
* Fri Feb  1 2008 Frank Ch. Eigler <fche@redhat.com> - 0.6.1-3
9e3eb6
- Add zlib-devel to buildreq; missing from crash-devel
9e3eb6
- Process testsuite .stp files for #!stap->#!/usr/bin/stap
9e3eb6
9e3eb6
* Fri Jan 18 2008 Frank Ch. Eigler <fche@redhat.com> - 0.6.1-1
9e3eb6
- Add crash-devel buildreq to build staplog.so crash(8) module.
9e3eb6
- Many robustness & functionality improvements:
9e3eb6
9e3eb6
* Wed Dec  5 2007 Will Cohen <wcohen@redhat.com> - 0.6-2
9e3eb6
- Correct Source to point to location contain code.
9e3eb6
9e3eb6
* Thu Aug  9 2007 David Smith <dsmith@redhat.com> - 0.6-1
9e3eb6
- Bumped version, added libcap-devel BuildRequires.
9e3eb6
9e3eb6
* Wed Jul 11 2007 Will Cohen <wcohen@redhat.com> - 0.5.14-2
9e3eb6
- Fix Requires and BuildRequires for sqlite.
9e3eb6
9e3eb6
* Mon Jul  2 2007 Frank Ch. Eigler <fche@redhat.com> - 0.5.14-1
9e3eb6
- Many robustness improvements: 1117, 1134, 1305, 1307, 1570, 1806,
9e3eb6
  2033, 2116, 2224, 2339, 2341, 2406, 2426, 2438, 2583, 3037,
9e3eb6
  3261, 3282, 3331, 3428 3519, 3545, 3625, 3648, 3880, 3888, 3911,
9e3eb6
  3952, 3965, 4066, 4071, 4075, 4078, 4081, 4096, 4119, 4122, 4127,
9e3eb6
  4146, 4171, 4179, 4183, 4221, 4224, 4254, 4281, 4319, 4323, 4326,
9e3eb6
  4329, 4332, 4337, 4415, 4432, 4444, 4445, 4458, 4467, 4470, 4471,
9e3eb6
  4518, 4567, 4570, 4579, 4589, 4609, 4664
9e3eb6
9e3eb6
* Mon Mar 26 2007 Frank Ch. Eigler <fche@redhat.com> - 0.5.13-1
9e3eb6
- An emergency / preliminary refresh, mainly for compatibility
9e3eb6
  with 2.6.21-pre kernels.
9e3eb6
9e3eb6
* Mon Jan  1 2007 Frank Ch. Eigler <fche@redhat.com> - 0.5.12-1
9e3eb6
- Many changes, see NEWS file.
9e3eb6
9e3eb6
* Tue Sep 26 2006 David Smith <dsmith@redhat.com> - 0.5.10-1
9e3eb6
- Added 'systemtap-runtime' subpackage.
9e3eb6
9e3eb6
* Wed Jul 19 2006 Roland McGrath <roland@redhat.com> - 0.5.9-1
9e3eb6
- PRs 2669, 2913
9e3eb6
9e3eb6
* Fri Jun 16 2006 Roland McGrath <roland@redhat.com> - 0.5.8-1
9e3eb6
- PRs 2627, 2520, 2228, 2645
9e3eb6
9e3eb6
* Fri May  5 2006 Frank Ch. Eigler <fche@redhat.com> - 0.5.7-1
9e3eb6
- PRs 2511 2453 2307 1813 1944 2497 2538 2476 2568 1341 2058 2220 2437
9e3eb6
  1326 2014 2599 2427 2438 2465 1930 2149 2610 2293 2634 2506 2433
9e3eb6
9e3eb6
* Tue Apr  4 2006 Roland McGrath <roland@redhat.com> - 0.5.5-1
9e3eb6
- Many changes, affected PRs include: 2068, 2293, 1989, 2334,
9e3eb6
  1304, 2390, 2425, 953.
9e3eb6
9e3eb6
* Wed Feb  1 2006 Frank Ch. Eigler <fche@redhat.com> - 0.5.4-1
9e3eb6
- PRs 1916, 2205, 2142, 2060, 1379
9e3eb6
9e3eb6
* Mon Jan 16 2006 Roland McGrath <roland@redhat.com> - 0.5.3-1
9e3eb6
- Many changes, affected PRs include: 2056, 1144, 1379, 2057,
9e3eb6
  2060, 1972, 2140, 2148
9e3eb6
9e3eb6
* Mon Dec 19 2005 Roland McGrath <roland@redhat.com> - 0.5.2-1
9e3eb6
- Fixed build with gcc 4.1, various tapset changes.
9e3eb6
9e3eb6
* Wed Dec  7 2005 Roland McGrath <roland@redhat.com> - 0.5.1-1
9e3eb6
- elfutils update, build changes
9e3eb6
9e3eb6
* Fri Dec 02 2005  Frank Ch. Eigler  <fche@redhat.com> - 0.5-1
9e3eb6
- Many fixes and improvements: 1425, 1536, 1505, 1380, 1329, 1828, 1271,
9e3eb6
  1339, 1340, 1345, 1837, 1917, 1903, 1336, 1868, 1594, 1564, 1276, 1295
9e3eb6
9e3eb6
* Mon Oct 31 2005 Roland McGrath <roland@redhat.com> - 0.4.2-1
9e3eb6
- Many fixes and improvements: PRs 1344, 1260, 1330, 1295, 1311, 1368,
9e3eb6
  1182, 1131, 1332, 1366, 1456, 1271, 1338, 1482, 1477, 1194.
9e3eb6
9e3eb6
* Wed Sep 14 2005 Roland McGrath <roland@redhat.com> - 0.4.1-1
9e3eb6
- Many fixes and improvements since 0.2.2; relevant PRs include:
9e3eb6
  1122, 1134, 1155, 1172, 1174, 1175, 1180, 1186, 1187, 1191, 1193, 1195,
9e3eb6
  1197, 1205, 1206, 1209, 1213, 1244, 1257, 1258, 1260, 1265, 1268, 1270,
9e3eb6
  1289, 1292, 1306, 1335, 1257
9e3eb6
9e3eb6
* Wed Sep  7 2005 Frank Ch. Eigler <fche@redhat.com>
9e3eb6
- Bump version.
9e3eb6
9e3eb6
* Tue Aug 16 2005 Frank Ch. Eigler <fche@redhat.com>
9e3eb6
- Bump version.
9e3eb6
9e3eb6
* Wed Aug  3 2005 Martin Hunt <hunt@redhat.com> - 0.2.2-1
9e3eb6
- Add directory /var/cache/systemtap
9e3eb6
- Add stp_check to /usr/libexec/systemtap
9e3eb6
9e3eb6
* Wed Aug  3 2005 Roland McGrath <roland@redhat.com> - 0.2.1-1
9e3eb6
- New version 0.2.1, various fixes.
9e3eb6
9e3eb6
* Fri Jul 29 2005 Roland McGrath <roland@redhat.com> - 0.2-1
9e3eb6
- New version 0.2, requires elfutils 0.111
9e3eb6
9e3eb6
* Mon Jul 25 2005 Roland McGrath <roland@redhat.com>
9e3eb6
- Clean up spec file, build bundled elfutils.
9e3eb6
9e3eb6
* Thu Jul 21 2005 Martin Hunt <hunt@redhat.com>
9e3eb6
- Set Version to use version from autoconf.
9e3eb6
- Fix up some of the path names.
9e3eb6
- Add Requires and BuildRequires.
9e3eb6
9e3eb6
* Tue Jul 19 2005 Will Cohen <wcohen@redhat.com>
9e3eb6
- Initial creation of RPM.