Blame SPECS/systemtap.spec

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