Blame SPECS/systemtap.spec

c1029b
%{!?with_sqlite: %global with_sqlite 1}
c1029b
%{!?with_docs: %global with_docs 1}
7cdcec
%{!?with_htmldocs: %global with_htmldocs 0}
7cdcec
%{!?with_monitor: %global with_monitor 1}
c1029b
# crash is not available
67cbe3
%ifarch ppc ppc64 %{sparc} aarch64 ppc64le %{mips}
c1029b
%{!?with_crash: %global with_crash 0}
c1029b
%else
c1029b
%{!?with_crash: %global with_crash 1}
c1029b
%endif
c1029b
%{!?with_rpm: %global with_rpm 1}
c1029b
%{!?with_bundled_elfutils: %global with_bundled_elfutils 0}
c1029b
%{!?elfutils_version: %global elfutils_version 0.142}
c1029b
%{!?pie_supported: %global pie_supported 1}
c1029b
%{!?with_boost: %global with_boost 0}
eb15f5
%ifarch %{ix86} x86_64 ppc ppc64
c1029b
%{!?with_dyninst: %global with_dyninst 0%{?fedora} >= 18 || 0%{?rhel} >= 7}
c1029b
%else
c1029b
%{!?with_dyninst: %global with_dyninst 0}
c1029b
%endif
c1029b
%{!?with_systemd: %global with_systemd 0%{?fedora} >= 19 || 0%{?rhel} >= 7}
eb15f5
%{!?with_emacsvim: %global with_emacsvim 0%{?fedora} >= 19 || 0%{?rhel} >= 7}
eb15f5
%{!?with_java: %global with_java 0%{?fedora} >= 19 || 0%{?rhel} >= 7}
c1029b
%{!?with_virthost: %global with_virthost 0%{?fedora} >= 19 || 0%{?rhel} >= 7}
c1029b
%{!?with_virtguest: %global with_virtguest 1}
67cbe3
%{!?with_dracut: %global with_dracut 0%{?fedora} >= 19 || 0%{?rhel} >= 6}
eb15f5
%ifarch x86_64
eb15f5
%{!?with_mokutil: %global with_mokutil 0%{?fedora} >= 18 || 0%{?rhel} >= 7}
eb15f5
%{!?with_openssl: %global with_openssl 0%{?fedora} >= 18 || 0%{?rhel} >= 7}
eb15f5
%else
eb15f5
%{!?with_mokutil: %global with_mokutil 0}
eb15f5
%{!?with_openssl: %global with_openssl 0}
eb15f5
%endif
eb15f5
%{!?with_pyparsing: %global with_pyparsing 0%{?fedora} >= 18 || 0%{?rhel} >= 7}
7cdcec
%{!?with_python3: %global with_python3 0%{?fedora} >= 23}
67cbe3
%{!?with_python2_probes: %global with_python2_probes 1}
67cbe3
%{!?with_python3_probes: %global with_python3_probes 0%{?fedora} >= 23}
c1029b
d956f8
%ifarch ppc64le aarch64
d956f8
%global with_virthost 0
d956f8
%endif
d956f8
c1029b
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 6
c1029b
   %define initdir %{_initddir}
c1029b
%else # RHEL5 doesn't know _initddir
c1029b
   %define initdir %{_initrddir}
c1029b
%endif
c1029b
c1029b
%if %{with_virtguest}
eb15f5
   %if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
eb15f5
      %define udevrulesdir /usr/lib/udev/rules.d
c1029b
   %else
eb15f5
      %if 0%{?rhel} >= 6
eb15f5
         %define udevrulesdir /lib/udev/rules.d
eb15f5
      %else # RHEL5
eb15f5
         %define udevrulesdir /etc/udev/rules.d
eb15f5
      %endif
c1029b
   %endif
c1029b
%endif
c1029b
67cbe3
%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
67cbe3
   %define dracutstap %{_prefix}/lib/dracut/modules.d/99stap
67cbe3
%else
67cbe3
   %define dracutstap %{_prefix}/share/dracut/modules.d/99stap
67cbe3
%endif
67cbe3
67cbe3
%if 0%{?rhel} >= 6
67cbe3
    %define dracutbindir /sbin
67cbe3
%else
67cbe3
    %define dracutbindir %{_bindir}
67cbe3
%endif
f43afa
c1029b
Name: systemtap
67cbe3
Version: 3.1
f981f0
Release: 5%{?dist}
c1029b
# for version, see also configure.ac
c1029b
c1029b
c1029b
# Packaging abstract:
c1029b
#
c1029b
# systemtap              empty req:-client req:-devel
c1029b
# systemtap-server       /usr/bin/stap-server*, req:-devel
c1029b
# systemtap-devel        /usr/bin/stap, runtime, tapset, req:kernel-devel
c1029b
# systemtap-runtime      /usr/bin/staprun, /usr/bin/stapsh, /usr/bin/stapdyn
c1029b
# systemtap-client       /usr/bin/stap, samples, docs, tapset(bonus), req:-runtime
f43afa
# systemtap-initscript   /etc/init.d/systemtap, dracut module, req:systemtap
c1029b
# systemtap-sdt-devel    /usr/include/sys/sdt.h /usr/bin/dtrace
c1029b
# systemtap-testsuite    /usr/share/systemtap/testsuite*, req:systemtap, req:sdt-devel
c1029b
# systemtap-runtime-java libHelperSDT.so, HelperSDT.jar, stapbm, req:-runtime
c1029b
# systemtap-runtime-virthost  /usr/bin/stapvirt, req:libvirt req:libxml2
c1029b
# systemtap-runtime-virtguest udev rules, init scripts/systemd service, req:-runtime
67cbe3
# systemtap-runtime-python2 HelperSDT python2 module, req:-runtime
67cbe3
# systemtap-runtime-python3 HelperSDT python3 module, req:-runtime
c1029b
#
c1029b
# Typical scenarios:
c1029b
#
c1029b
# stap-client:           systemtap-client
c1029b
# stap-server:           systemtap-server
c1029b
# local user:            systemtap
c1029b
#
c1029b
# Unusual scenarios:
c1029b
#
c1029b
# intermediary stap-client for --remote:       systemtap-client (-runtime unused)
c1029b
# intermediary stap-server for --use-server:   systemtap-server (-devel unused)
c1029b
c1029b
Summary: Programmable system-wide instrumentation system
c1029b
Group: Development/System
c1029b
License: GPLv2+
c1029b
URL: http://sourceware.org/systemtap/
c1029b
Source: ftp://sourceware.org/pub/systemtap/releases/systemtap-%{version}.tar.gz
c1029b
c1029b
# Build*
c1029b
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
c1029b
BuildRequires: gcc-c++
c1029b
BuildRequires: gettext-devel
67cbe3
BuildRequires: pkgconfig(nss)
67cbe3
BuildRequires: pkgconfig(avahi-client)
c1029b
%if %{with_dyninst}
c1029b
BuildRequires: dyninst-devel >= 8.0
67cbe3
BuildRequires: pkgconfig(libselinux)
c1029b
%endif
c1029b
%if %{with_sqlite}
c1029b
BuildRequires: sqlite-devel
c1029b
%endif
7cdcec
%if %{with_monitor}
67cbe3
BuildRequires: pkgconfig(json-c)
67cbe3
BuildRequires: pkgconfig(ncurses)
67cbe3
%endif
67cbe3
%if %{with_systemd}
67cbe3
BuildRequires: systemd
7cdcec
%endif
c1029b
# Needed for libstd++ < 4.0, without <tr1/memory>
c1029b
%if %{with_boost}
c1029b
BuildRequires: boost-devel
c1029b
%endif
c1029b
%if %{with_crash}
c1029b
BuildRequires: crash-devel zlib-devel
c1029b
%endif
c1029b
%if %{with_rpm}
67cbe3
BuildRequires: rpm-devel
c1029b
%endif
c1029b
%if %{with_bundled_elfutils}
c1029b
Source1: elfutils-%{elfutils_version}.tar.gz
c1029b
Patch1: elfutils-portability.patch
c1029b
BuildRequires: m4
c1029b
%global setup_elfutils -a1
c1029b
%else
c1029b
BuildRequires: elfutils-devel >= %{elfutils_version}
c1029b
%endif
c1029b
%if %{with_docs}
7cdcec
BuildRequires: /usr/bin/latex /usr/bin/dvips /usr/bin/ps2pdf
c1029b
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
7cdcec
BuildRequires: tex(fullpage.sty) tex(fancybox.sty) tex(bchr7t.tfm) tex(graphicx.sty)
c1029b
%endif
7cdcec
# For the html.sty mentioned in the .tex files, even though latex2html is
7cdcec
# not run during the build, only during manual scripts/update-docs runs:
7cdcec
BuildRequires: latex2html
7cdcec
%if %{with_htmldocs}
c1029b
# On F10, xmlto's pdf support was broken off into a sub-package,
c1029b
# called 'xmlto-tex'.  To avoid a specific F10 BuildReq, we'll do a
c1029b
# file-based buildreq on '/usr/share/xmlto/format/fo/pdf'.
c1029b
BuildRequires: xmlto /usr/share/xmlto/format/fo/pdf
c1029b
%endif
7cdcec
%endif
c1029b
%if %{with_emacsvim}
c1029b
BuildRequires: emacs
c1029b
%endif
c1029b
%if %{with_java}
c1029b
BuildRequires: jpackage-utils java-devel
c1029b
%endif
c1029b
%if %{with_virthost}
67cbe3
# BuildRequires: libvirt-devel >= 1.0.2
67cbe3
BuildRequires: pkgconfig(libvirt)
67cbe3
BuildRequires: pkgconfig(libxml-2.0)
c1029b
%endif
7cdcec
BuildRequires: readline-devel
7cdcec
%if 0%{?rhel} <= 5
67cbe3
BuildRequires: pkgconfig(ncurses)
67cbe3
%endif
67cbe3
%if %{with_python2_probes}
67cbe3
BuildRequires: python-devel
67cbe3
BuildRequires: python-setuptools
67cbe3
%endif
67cbe3
%if %{with_python3_probes}
67cbe3
BuildRequires: python3-devel
67cbe3
BuildRequires: python3-setuptools
7cdcec
%endif
c1029b
67cbe3
Patch10: bz1428120.patch
67cbe3
Patch11: bz1425568.1.patch
67cbe3
Patch12: bz1425568.2.patch
67cbe3
Patch13: bz1431263.1.patch
67cbe3
Patch14: bz1431263.2.patch
67cbe3
Patch15: bz1431263.3.patch
67cbe3
Patch16: bz1431263.4.patch
67cbe3
Patch17: bz1431263.5.patch
67cbe3
Patch18: bz1430828.patch
67cbe3
Patch19: bz1433391.patch
67cbe3
Patch20: bz1436845.patch
440ab2
Patch21: bz1503979.patch
f981f0
Patch22: bz1506230.patch
d956f8
c1029b
# Install requirements
c1029b
Requires: systemtap-client = %{version}-%{release}
c1029b
Requires: systemtap-devel = %{version}-%{release}
c1029b
c1029b
%description
c1029b
SystemTap is an instrumentation system for systems running Linux.
c1029b
Developers can write instrumentation scripts to collect data on
c1029b
the operation of the system.  The base systemtap package contains/requires
c1029b
the components needed to locally develop and execute systemtap scripts.
c1029b
c1029b
# ------------------------------------------------------------------------
c1029b
c1029b
%package server
c1029b
Summary: Instrumentation System Server
c1029b
Group: Development/System
c1029b
License: GPLv2+
c1029b
URL: http://sourceware.org/systemtap/
c1029b
Requires: systemtap-devel = %{version}-%{release}
c1029b
# On RHEL[45], /bin/mktemp comes from the 'mktemp' package.  On newer
c1029b
# distributions, /bin/mktemp comes from the 'coreutils' package.  To
c1029b
# avoid a specific RHEL[45] Requires, we'll do a file-based require.
c1029b
Requires: nss /bin/mktemp
c1029b
Requires: zip unzip
c1029b
Requires(pre): shadow-utils
c1029b
Requires(post): chkconfig
c1029b
Requires(preun): chkconfig
c1029b
Requires(preun): initscripts
c1029b
Requires(postun): initscripts
c1029b
BuildRequires: nss-devel avahi-devel
eb15f5
%if %{with_openssl}
eb15f5
Requires: openssl
eb15f5
%endif
67cbe3
%if %{with_systemd}
67cbe3
Requires: systemd
67cbe3
%endif
c1029b
c1029b
%description server
c1029b
This is the remote script compilation server component of systemtap.
c1029b
It announces itself to nearby clients with avahi (if available), and
c1029b
compiles systemtap scripts to kernel objects on their demand.
c1029b
c1029b
c1029b
%package devel
c1029b
Summary: Programmable system-wide instrumentation system - development headers, tools
c1029b
Group: Development/System
c1029b
License: GPLv2+
c1029b
URL: http://sourceware.org/systemtap/
67cbe3
# The virtual provide 'kernel-devel-uname-r' tries to get the right
67cbe3
# kernel variant  (kernel-PAE, kernel-debug, etc.) devel package
67cbe3
# installed.
67cbe3
Requires: kernel-devel-uname-r
67cbe3
%{?fedora:Suggests: kernel-devel}
c1029b
Requires: gcc make
c1029b
# Suggest: kernel-debuginfo
c1029b
c1029b
%description devel
c1029b
This package contains the components needed to compile a systemtap
c1029b
script from source form into executable (.ko) forms.  It may be
c1029b
installed on a self-contained developer workstation (along with the
c1029b
systemtap-client and systemtap-runtime packages), or on a dedicated
c1029b
remote server (alongside the systemtap-server package).  It includes
c1029b
a copy of the standard tapset library and the runtime library C files.
c1029b
c1029b
c1029b
%package runtime
c1029b
Summary: Programmable system-wide instrumentation system - runtime
c1029b
Group: Development/System
c1029b
License: GPLv2+
c1029b
URL: http://sourceware.org/systemtap/
c1029b
Requires(pre): shadow-utils
c1029b
c1029b
%description runtime
c1029b
SystemTap runtime contains the components needed to execute
c1029b
a systemtap script that was already compiled into a module
c1029b
using a local or remote systemtap-devel installation.
c1029b
c1029b
c1029b
%package client
c1029b
Summary: Programmable system-wide instrumentation system - client
c1029b
Group: Development/System
c1029b
License: GPLv2+
c1029b
URL: http://sourceware.org/systemtap/
c1029b
Requires: zip unzip
c1029b
Requires: systemtap-runtime = %{version}-%{release}
c1029b
Requires: coreutils grep sed unzip zip
c1029b
Requires: openssh-clients
eb15f5
%if %{with_mokutil}
eb15f5
Requires: mokutil
eb15f5
%endif
c1029b
c1029b
%description client
c1029b
This package contains/requires the components needed to develop
c1029b
systemtap scripts, and compile them using a local systemtap-devel
c1029b
or a remote systemtap-server installation, then run them using a
c1029b
local or remote systemtap-runtime.  It includes script samples and
c1029b
documentation, and a copy of the tapset library for reference.
c1029b
c1029b
c1029b
%package initscript
c1029b
Summary: Systemtap Initscripts
c1029b
Group: Development/System
c1029b
License: GPLv2+
c1029b
URL: http://sourceware.org/systemtap/
c1029b
Requires: systemtap = %{version}-%{release}
c1029b
Requires(post): chkconfig
c1029b
Requires(preun): chkconfig
c1029b
Requires(preun): initscripts
c1029b
Requires(postun): initscripts
c1029b
c1029b
%description initscript
f43afa
This package includes a SysVinit script to launch selected systemtap
f43afa
scripts at system startup, along with a dracut module for early
f43afa
boot-time probing if supported.
c1029b
c1029b
c1029b
%package sdt-devel
c1029b
Summary: Static probe support tools
c1029b
Group: Development/System
c1029b
License: GPLv2+ and Public Domain
c1029b
URL: http://sourceware.org/systemtap/
eb15f5
%if %{with_pyparsing}
7cdcec
%if %{with_python3}
7cdcec
Requires: python3-pyparsing
7cdcec
%else
eb15f5
Requires: pyparsing
eb15f5
%endif
7cdcec
%endif
c1029b
c1029b
%description sdt-devel
c1029b
This package includes the <sys/sdt.h> header file used for static
c1029b
instrumentation compiled into userspace programs and libraries, along
c1029b
with the optional dtrace-compatibility preprocessor to process related
c1029b
.d files into tracing-macro-laden .h headers.
c1029b
c1029b
c1029b
%package testsuite
c1029b
Summary: Instrumentation System Testsuite
c1029b
Group: Development/System
c1029b
License: GPLv2+
c1029b
URL: http://sourceware.org/systemtap/
c1029b
Requires: systemtap = %{version}-%{release}
c1029b
Requires: systemtap-sdt-devel = %{version}-%{release}
c1029b
Requires: systemtap-server = %{version}-%{release}
c1029b
Requires: dejagnu which elfutils grep nc
c1029b
Requires: gcc gcc-c++ make glibc-devel
c1029b
# testsuite/systemtap.base/ptrace.exp needs strace
c1029b
Requires: strace
c1029b
# testsuite/systemtap.base/ipaddr.exp needs nc. Unfortunately, the rpm
c1029b
# that provides nc has changed over time (from 'nc' to
c1029b
# 'nmap-ncat'). So, we'll do a file-based require.
c1029b
Requires: /usr/bin/nc
eb15f5
%ifnarch ia64 ppc64le aarch64
7cdcec
%if 0%{?fedora} >= 21 || 0%{?rhel} >= 8
7cdcec
# no prelink
7cdcec
%else
c1029b
Requires: prelink
c1029b
%endif
7cdcec
%endif
c1029b
# testsuite/systemtap.server/client.exp needs avahi
c1029b
Requires: avahi
c1029b
%if %{with_crash}
c1029b
# testsuite/systemtap.base/crash.exp needs crash
c1029b
Requires: crash
c1029b
%endif
c1029b
%if %{with_java}
c1029b
Requires: systemtap-runtime-java = %{version}-%{release}
c1029b
%endif
67cbe3
%if %{with_python2_probes}
67cbe3
Requires: systemtap-runtime-python2 = %{version}-%{release}
67cbe3
%endif
67cbe3
%if %{with_python3_probes}
67cbe3
Requires: systemtap-runtime-python3 = %{version}-%{release}
67cbe3
%endif
c1029b
%ifarch x86_64
c1029b
Requires: /usr/lib/libc.so
c1029b
# ... and /usr/lib/libgcc_s.so.*
c1029b
# ... and /usr/lib/libstdc++.so.*
c1029b
%endif
eb15f5
%if 0%{?fedora} >= 18
eb15f5
Requires: stress
eb15f5
%endif
7cdcec
# The following "meta" files for the systemtap examples run "perf":
7cdcec
#   testsuite/systemtap.examples/hw_watch_addr.meta
7cdcec
#   testsuite/systemtap.examples/memory/hw_watch_sym.meta
7cdcec
Requires: perf
c1029b
c1029b
%description testsuite
c1029b
This package includes the dejagnu-based systemtap stress self-testing
c1029b
suite.  This may be used by system administrators to thoroughly check
c1029b
systemtap on the current system.
c1029b
c1029b
c1029b
%if %{with_java}
c1029b
%package runtime-java
c1029b
Summary: Systemtap Java Runtime Support
c1029b
Group: Development/System
c1029b
License: GPLv2+
c1029b
URL: http://sourceware.org/systemtap/
c1029b
Requires: systemtap-runtime = %{version}-%{release}
c1029b
Requires: byteman > 2.0
eb15f5
Requires: net-tools
c1029b
c1029b
%description runtime-java
c1029b
This package includes support files needed to run systemtap scripts
c1029b
that probe Java processes running on the OpenJDK 1.6 and OpenJDK 1.7
c1029b
runtimes using Byteman.
c1029b
%endif
c1029b
67cbe3
%if %{with_python2_probes}
67cbe3
%package runtime-python2
67cbe3
Summary: Systemtap Python 2 Runtime Support
67cbe3
Group: Development/System
67cbe3
License: GPLv2+
67cbe3
URL: http://sourceware.org/systemtap/
67cbe3
Requires: systemtap-runtime = %{version}-%{release}
67cbe3
67cbe3
%description runtime-python2
67cbe3
This package includes support files needed to run systemtap scripts
67cbe3
that probe python 2 processes.
67cbe3
%endif
67cbe3
67cbe3
%if %{with_python3_probes}
67cbe3
%package runtime-python3
67cbe3
Summary: Systemtap Python 3 Runtime Support
67cbe3
Group: Development/System
67cbe3
License: GPLv2+
67cbe3
URL: http://sourceware.org/systemtap/
67cbe3
Requires: systemtap-runtime = %{version}-%{release}
67cbe3
67cbe3
%description runtime-python3
67cbe3
This package includes support files needed to run systemtap scripts
67cbe3
that probe python 3 processes.
67cbe3
%endif
67cbe3
c1029b
%if %{with_virthost}
c1029b
%package runtime-virthost
c1029b
Summary: Systemtap Cross-VM Instrumentation - host
c1029b
Group: Development/System
c1029b
License: GPLv2+
c1029b
URL: http://sourceware.org/systemtap/
c1029b
Requires: libvirt >= 1.0.2
c1029b
Requires: libxml2
c1029b
c1029b
%description runtime-virthost
c1029b
This package includes the components required to run systemtap scripts
c1029b
inside a libvirt-managed domain from the host without using a network
c1029b
connection.
c1029b
%endif
c1029b
c1029b
%if %{with_virtguest}
c1029b
%package runtime-virtguest
c1029b
Summary: Systemtap Cross-VM Instrumentation - guest
c1029b
Group: Development/System
c1029b
License: GPLv2+
c1029b
URL: http://sourceware.org/systemtap/
c1029b
Requires: systemtap-runtime = %{version}-%{release}
c1029b
%if %{with_systemd}
c1029b
Requires(post): findutils coreutils
c1029b
Requires(preun): grep coreutils
c1029b
Requires(postun): grep coreutils
c1029b
%else
c1029b
Requires(post): chkconfig initscripts
c1029b
Requires(preun): chkconfig initscripts
c1029b
Requires(postun): initscripts
c1029b
%endif
c1029b
c1029b
%description runtime-virtguest
c1029b
This package installs the services necessary on a virtual machine for a
c1029b
systemtap-runtime-virthost machine to execute systemtap scripts.
c1029b
%endif
c1029b
c1029b
# ------------------------------------------------------------------------
c1029b
c1029b
%prep
c1029b
%setup -q %{?setup_elfutils}
c1029b
c1029b
%if %{with_bundled_elfutils}
c1029b
cd elfutils-%{elfutils_version}
c1029b
%patch1 -p1
c1029b
sleep 1
c1029b
find . \( -name Makefile.in -o -name aclocal.m4 \) -print | xargs touch
c1029b
sleep 1
c1029b
find . \( -name configure -o -name config.h.in \) -print | xargs touch
c1029b
cd ..
c1029b
%endif
c1029b
7cdcec
%patch10 -p1
7cdcec
%patch11 -p1
7cdcec
%patch12 -p1
7cdcec
%patch13 -p1
7cdcec
%patch14 -p1
7cdcec
%patch15 -p1
7cdcec
%patch16 -p1
67cbe3
%patch17 -p1
67cbe3
%patch18 -p1
67cbe3
%patch19 -p1
67cbe3
%patch20 -p1
440ab2
%patch21 -p1
f981f0
%patch22 -p1
7cdcec
c1029b
%build
c1029b
c1029b
%if %{with_bundled_elfutils}
c1029b
# Build our own copy of elfutils.
c1029b
%global elfutils_config --with-elfutils=elfutils-%{elfutils_version}
c1029b
c1029b
# We have to prevent the standard dependency generation from identifying
c1029b
# our private elfutils libraries in our provides and requires.
c1029b
%global _use_internal_dependency_generator	0
c1029b
%global filter_eulibs() /bin/sh -c "%{1} | sed '/libelf/d;/libdw/d;/libebl/d'"
c1029b
%global __find_provides %{filter_eulibs /usr/lib/rpm/find-provides}
c1029b
%global __find_requires %{filter_eulibs /usr/lib/rpm/find-requires}
c1029b
c1029b
# This will be needed for running stap when not installed, for the test suite.
c1029b
%global elfutils_mflags LD_LIBRARY_PATH=`pwd`/lib-elfutils
c1029b
%endif
c1029b
c1029b
# Enable/disable the dyninst pure-userspace backend
c1029b
%if %{with_dyninst}
c1029b
%global dyninst_config --with-dyninst
c1029b
%else
c1029b
%global dyninst_config --without-dyninst
c1029b
%endif
c1029b
c1029b
# Enable/disable the sqlite coverage testing support
c1029b
%if %{with_sqlite}
c1029b
%global sqlite_config --enable-sqlite
c1029b
%else
c1029b
%global sqlite_config --disable-sqlite
c1029b
%endif
c1029b
c1029b
# Enable/disable the crash extension
c1029b
%if %{with_crash}
c1029b
%global crash_config --enable-crash
c1029b
%else
c1029b
%global crash_config --disable-crash
c1029b
%endif
c1029b
c1029b
# Enable/disable the code to find and suggest needed rpms
c1029b
%if %{with_rpm}
c1029b
%global rpm_config --with-rpm
c1029b
%else
c1029b
%global rpm_config --without-rpm
c1029b
%endif
c1029b
c1029b
%if %{with_docs}
7cdcec
%if %{with_htmldocs}
7cdcec
%global docs_config --enable-docs --enable-htmldocs
7cdcec
%else
7cdcec
%global docs_config --enable-docs --disable-htmldocs
7cdcec
%endif
c1029b
%else
c1029b
%global docs_config --disable-docs
c1029b
%endif
c1029b
c1029b
# Enable pie as configure defaults to disabling it
c1029b
%if %{pie_supported}
c1029b
%global pie_config --enable-pie
c1029b
%else
c1029b
%global pie_config --disable-pie
c1029b
%endif
c1029b
c1029b
c1029b
%if %{with_java}
c1029b
%global java_config --with-java=%{_jvmdir}/java
c1029b
%else
c1029b
%global java_config --without-java
c1029b
%endif
c1029b
67cbe3
%if %{with_python3}
67cbe3
%global python3_config --with-python3
67cbe3
%else
67cbe3
%global python3_config --without-python3
67cbe3
%endif
67cbe3
%if %{with_python2_probes}
67cbe3
%global python2_probes_config --with-python2-probes
67cbe3
%else
67cbe3
%global python2_probes_config --without-python2-probes
67cbe3
%endif
67cbe3
%if %{with_python3_probes}
67cbe3
%global python3_probes_config --with-python3-probes
67cbe3
%else
67cbe3
%global python3_probes_config --without-python3-probes
67cbe3
%endif
67cbe3
d956f8
%if %{with_virthost}
d956f8
%global virt_config --enable-virt
d956f8
%else
d956f8
%global virt_config --disable-virt
d956f8
%endif
d956f8
d956f8
%if %{with_dracut}
67cbe3
%global dracut_config --with-dracutstap=%{dracutstap} --with-dracutbindir=%{dracutbindir}
d956f8
%else
7cdcec
%global dracut_config %{nil}
d956f8
%endif
d956f8
7cdcec
# We don't ship compileworthy python code, just oddball samples
7cdcec
%global py_auto_byte_compile 0
7cdcec
67cbe3
%configure %{?elfutils_config} %{dyninst_config} %{sqlite_config} %{crash_config} %{docs_config} %{pie_config} %{rpm_config} %{java_config} %{virt_config} %{dracut_config} %{python3_config} %{python2_probes_config} %{python3_probes_config} --disable-silent-rules --with-extra-version="rpm %{version}-%{release}"
c1029b
make %{?_smp_mflags}
c1029b
c1029b
%if %{with_emacsvim}
c1029b
%{_emacs_bytecompile} emacs/systemtap-mode.el
c1029b
%endif
c1029b
c1029b
%install
c1029b
rm -rf ${RPM_BUILD_ROOT}
c1029b
make DESTDIR=$RPM_BUILD_ROOT install
c1029b
%find_lang %{name}
7cdcec
for dir in $(ls -1d $RPM_BUILD_ROOT%{_mandir}/{??,??_??}) ; do
7cdcec
    dir=$(echo $dir | sed -e "s|^$RPM_BUILD_ROOT||")
7cdcec
    lang=$(basename $dir)
7cdcec
    echo "%%lang($lang) $dir/man*/*" >> %{name}.lang
7cdcec
done
c1029b
67cbe3
ln -s %{_datadir}/systemtap/examples
c1029b
7cdcec
# Fix paths in the example scripts.
67cbe3
find $RPM_BUILD_ROOT%{_datadir}/systemtap/examples -type f -name '*.stp' -print0 | xargs -0 sed -i -r -e '1s@^#!.+stap@#!%{_bindir}/stap@'
c1029b
c1029b
# To make rpmlint happy, remove any .gitignore files in the testsuite.
c1029b
find testsuite -type f -name '.gitignore' -print0 | xargs -0 rm -f
c1029b
c1029b
# Because "make install" may install staprun with whatever mode, the
c1029b
# post-processing programs rpmbuild runs won't be able to read it.
c1029b
# So, we change permissions so that they can read it.  We'll set the
c1029b
# permissions back to 04110 in the %files section below.
c1029b
chmod 755 $RPM_BUILD_ROOT%{_bindir}/staprun
c1029b
c1029b
#install the useful stap-prep script
c1029b
install -c -m 755 stap-prep $RPM_BUILD_ROOT%{_bindir}/stap-prep
c1029b
c1029b
# Copy over the testsuite
c1029b
cp -rp testsuite $RPM_BUILD_ROOT%{_datadir}/systemtap
c1029b
c1029b
%if %{with_docs}
c1029b
# We want the manuals in the special doc dir, not the generic doc install dir.
c1029b
# We build it in place and then move it away so it doesn't get installed
c1029b
# twice. rpm can specify itself where the (versioned) docs go with the
c1029b
# %doc directive.
c1029b
mkdir docs.installed
c1029b
mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/*.pdf docs.installed/
7cdcec
%if %{with_htmldocs}
c1029b
mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/tapsets docs.installed/
c1029b
mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/SystemTap_Beginners_Guide docs.installed/
c1029b
%endif
7cdcec
%endif
c1029b
c1029b
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/stap-server
c1029b
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/stap-server
c1029b
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/stap-server/.systemtap
c1029b
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/stap-server
c1029b
touch $RPM_BUILD_ROOT%{_localstatedir}/log/stap-server/log
c1029b
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/cache/systemtap
c1029b
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/systemtap
c1029b
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
c1029b
install -m 644 initscript/logrotate.stap-server $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/stap-server
c1029b
mkdir -p $RPM_BUILD_ROOT%{initdir}
c1029b
install -m 755 initscript/systemtap $RPM_BUILD_ROOT%{initdir}
c1029b
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/systemtap
c1029b
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/systemtap/conf.d
c1029b
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/systemtap/script.d
c1029b
install -m 644 initscript/config.systemtap $RPM_BUILD_ROOT%{_sysconfdir}/systemtap/config
c1029b
%if %{with_systemd}
c1029b
mkdir -p $RPM_BUILD_ROOT%{_unitdir}
c1029b
touch $RPM_BUILD_ROOT%{_unitdir}/stap-server.service
c1029b
install -m 644 stap-server.service $RPM_BUILD_ROOT%{_unitdir}/stap-server.service
c1029b
mkdir -p $RPM_BUILD_ROOT%{_tmpfilesdir}
c1029b
install -m 644 stap-server.conf $RPM_BUILD_ROOT%{_tmpfilesdir}/stap-server.conf
c1029b
%else
c1029b
install -m 755 initscript/stap-server $RPM_BUILD_ROOT%{initdir}
c1029b
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/stap-server/conf.d
c1029b
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
c1029b
install -m 644 initscript/config.stap-server $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/stap-server
c1029b
%endif
c1029b
c1029b
%if %{with_emacsvim}
c1029b
mkdir -p $RPM_BUILD_ROOT%{_emacs_sitelispdir}
c1029b
install -p -m 644 emacs/systemtap-mode.el* $RPM_BUILD_ROOT%{_emacs_sitelispdir}
c1029b
mkdir -p $RPM_BUILD_ROOT%{_emacs_sitestartdir}
c1029b
install -p -m 644 emacs/systemtap-init.el $RPM_BUILD_ROOT%{_emacs_sitestartdir}/systemtap-init.el
c1029b
for subdir in ftdetect ftplugin indent syntax
c1029b
do
c1029b
    mkdir -p $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/$subdir
c1029b
    install -p -m 644 vim/$subdir/*.vim $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/$subdir
c1029b
done
c1029b
%endif
c1029b
c1029b
%if %{with_virtguest}
c1029b
   mkdir -p $RPM_BUILD_ROOT%{udevrulesdir}
c1029b
   %if %{with_systemd}
c1029b
      install -p -m 644 staprun/guest/99-stapsh.rules $RPM_BUILD_ROOT%{udevrulesdir}
c1029b
      mkdir -p $RPM_BUILD_ROOT%{_unitdir}
c1029b
      install -p -m 644 staprun/guest/stapsh@.service $RPM_BUILD_ROOT%{_unitdir}
c1029b
   %else
c1029b
      install -p -m 644 staprun/guest/99-stapsh-init.rules $RPM_BUILD_ROOT%{udevrulesdir}
c1029b
      install -p -m 755 staprun/guest/stapshd $RPM_BUILD_ROOT%{initdir}
c1029b
      mkdir -p $RPM_BUILD_ROOT%{_libexecdir}/systemtap
c1029b
      install -p -m 755 staprun/guest/stapsh-daemon $RPM_BUILD_ROOT%{_libexecdir}/systemtap
c1029b
      mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/modules
c1029b
      # Technically, this is only needed for RHEL5, in which the MODULE_ALIAS is missing, but
c1029b
      # it does no harm in RHEL6 as well
c1029b
      install -p -m 755 staprun/guest/virtio_console.modules $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/modules
c1029b
   %endif
c1029b
%endif
c1029b
f43afa
%if %{with_dracut}
f43afa
   mkdir -p $RPM_BUILD_ROOT%{dracutstap}
f43afa
   install -p -m 755 initscript/99stap/module-setup.sh $RPM_BUILD_ROOT%{dracutstap}
67cbe3
   install -p -m 755 initscript/99stap/install $RPM_BUILD_ROOT%{dracutstap}
67cbe3
   install -p -m 755 initscript/99stap/check $RPM_BUILD_ROOT%{dracutstap}
f43afa
   install -p -m 755 initscript/99stap/start-staprun.sh $RPM_BUILD_ROOT%{dracutstap}
f43afa
   touch $RPM_BUILD_ROOT%{dracutstap}/params.conf
f43afa
%endif
f43afa
c1029b
%clean
c1029b
rm -rf ${RPM_BUILD_ROOT}
c1029b
c1029b
%pre runtime
c1029b
getent group stapusr >/dev/null || groupadd -g 156 -r stapusr 2>/dev/null || groupadd -r stapusr
c1029b
getent group stapsys >/dev/null || groupadd -g 157 -r stapsys 2>/dev/null || groupadd -r stapsys
c1029b
getent group stapdev >/dev/null || groupadd -g 158 -r stapdev 2>/dev/null || groupadd -r stapdev
c1029b
exit 0
c1029b
c1029b
%pre server
c1029b
getent group stap-server >/dev/null || groupadd -g 155 -r stap-server 2>/dev/null || groupadd -r stap-server
c1029b
getent passwd stap-server >/dev/null || \
c1029b
  useradd -c "Systemtap Compile Server" -u 155 -g stap-server -d %{_localstatedir}/lib/stap-server -r -s /sbin/nologin stap-server 2>/dev/null || \
c1029b
  useradd -c "Systemtap Compile Server" -g stap-server -d %{_localstatedir}/lib/stap-server -r -s /sbin/nologin stap-server
c1029b
c1029b
%post server
c1029b
c1029b
# We have some duplication between the %files listings for the
c1029b
# ~stap-server directories and the explicit mkdir/chown/chmod bits
c1029b
# here.  Part of the reason may be that a preexisting stap-server
c1029b
# account may well be placed somewhere other than
c1029b
# %{_localstatedir}/lib/stap-server, but we'd like their permissions
c1029b
# set similarly.
c1029b
c1029b
test -e ~stap-server && chmod 750 ~stap-server
c1029b
c1029b
if [ ! -f ~stap-server/.systemtap/rc ]; then
c1029b
  mkdir -p ~stap-server/.systemtap
c1029b
  chown stap-server:stap-server ~stap-server/.systemtap
eb15f5
  # PR16276: guess at a reasonable number for a default --rlimit-nproc
eb15f5
  numcpu=`/usr/bin/getconf _NPROCESSORS_ONLN`
eb15f5
  if [ -z "$numcpu" -o "$numcpu" -lt 1 ]; then numcpu=1; fi
eb15f5
  nproc=`expr $numcpu \* 30`
eb15f5
  echo "--rlimit-as=614400000 --rlimit-cpu=60 --rlimit-nproc=$nproc --rlimit-stack=1024000 --rlimit-fsize=51200000" > ~stap-server/.systemtap/rc
c1029b
  chown stap-server:stap-server ~stap-server/.systemtap/rc
c1029b
fi
c1029b
c1029b
test -e %{_localstatedir}/log/stap-server/log || {
c1029b
     touch %{_localstatedir}/log/stap-server/log
c1029b
     chmod 644 %{_localstatedir}/log/stap-server/log
c1029b
     chown stap-server:stap-server %{_localstatedir}/log/stap-server/log
c1029b
}
f43afa
# Prepare the service
c1029b
%if %{with_systemd}
f43afa
     # Note, Fedora policy doesn't allow network services enabled by default
f43afa
     # /bin/systemctl enable stap-server.service >/dev/null 2>&1 || :
f43afa
     /bin/systemd-tmpfiles --create %{_tmpfilesdir}/stap-server.conf >/dev/null 2>&1 || :
c1029b
%else
c1029b
    /sbin/chkconfig --add stap-server
c1029b
%endif
c1029b
exit 0
c1029b
c1029b
%triggerin client -- systemtap-server
c1029b
if test -e ~stap-server/.systemtap/ssl/server/stap.cert; then
c1029b
   # echo Authorizing ssl-peer/trusted-signer certificate for local systemtap-server
c1029b
   %{_libexecdir}/systemtap/stap-authorize-cert ~stap-server/.systemtap/ssl/server/stap.cert %{_sysconfdir}/systemtap/ssl/client >/dev/null
c1029b
   %{_libexecdir}/systemtap/stap-authorize-cert ~stap-server/.systemtap/ssl/server/stap.cert %{_sysconfdir}/systemtap/staprun >/dev/null
c1029b
fi
c1029b
exit 0
c1029b
# XXX: corresponding %triggerun?
c1029b
c1029b
%preun server
c1029b
# Check that this is the actual deinstallation of the package, as opposed to
c1029b
# just removing the old package on upgrade.
c1029b
if [ $1 = 0 ] ; then
c1029b
    %if %{with_systemd}
c1029b
       /bin/systemctl --no-reload disable stap-server.service >/dev/null 2>&1 || :
c1029b
       /bin/systemctl stop stap-server.service >/dev/null 2>&1 || :
c1029b
    %else
c1029b
        /sbin/service stap-server stop >/dev/null 2>&1
f43afa
        /sbin/chkconfig --del stap-server
c1029b
    %endif
c1029b
fi
c1029b
exit 0
c1029b
c1029b
%postun server
c1029b
# Check whether this is an upgrade of the package.
c1029b
# If so, restart the service if it's running
c1029b
if [ "$1" -ge "1" ] ; then
c1029b
    %if %{with_systemd}
f43afa
        /bin/systemctl condrestart stap-server.service >/dev/null 2>&1 || :
c1029b
    %else
c1029b
        /sbin/service stap-server condrestart >/dev/null 2>&1 || :
c1029b
    %endif
c1029b
fi
c1029b
exit 0
c1029b
c1029b
%post initscript
c1029b
%if %{with_systemd}
f43afa
    /bin/systemctl enable systemtap.service >/dev/null 2>&1 || :
c1029b
%else
c1029b
    /sbin/chkconfig --add systemtap
c1029b
%endif
c1029b
exit 0
c1029b
c1029b
%preun initscript
c1029b
# Check that this is the actual deinstallation of the package, as opposed to
c1029b
# just removing the old package on upgrade.
c1029b
if [ $1 = 0 ] ; then
c1029b
    %if %{with_systemd}
f43afa
        /bin/systemctl --no-reload disable systemtap.service >/dev/null 2>&1 || :
f43afa
        /bin/systemctl stop systemtap.service >/dev/null 2>&1 || :
c1029b
    %else
c1029b
        /sbin/service systemtap stop >/dev/null 2>&1
f43afa
        /sbin/chkconfig --del systemtap
c1029b
    %endif
c1029b
fi
c1029b
exit 0
c1029b
c1029b
%postun initscript
c1029b
# Check whether this is an upgrade of the package.
c1029b
# If so, restart the service if it's running
c1029b
if [ "$1" -ge "1" ] ; then
c1029b
    %if %{with_systemd}
f43afa
        /bin/systemctl condrestart systemtap.service >/dev/null 2>&1 || :
c1029b
    %else
c1029b
        /sbin/service systemtap condrestart >/dev/null 2>&1 || :
c1029b
    %endif
c1029b
fi
c1029b
exit 0
c1029b
c1029b
%post runtime-virtguest
c1029b
%if %{with_systemd}
c1029b
   # Start services if there are ports present
c1029b
   if [ -d /dev/virtio-ports ]; then
c1029b
      (find /dev/virtio-ports -iname 'org.systemtap.stapsh.[0-9]*' -type l \
c1029b
         | xargs -n 1 basename \
c1029b
         | xargs -n 1 -I {} /bin/systemctl start stapsh@{}.service) >/dev/null 2>&1 || :
c1029b
   fi
c1029b
%else
c1029b
   /sbin/chkconfig --add stapshd
c1029b
   /sbin/chkconfig stapshd on
c1029b
   /sbin/service stapshd start >/dev/null 2>&1 || :
c1029b
%endif
c1029b
exit 0
c1029b
c1029b
%preun runtime-virtguest
c1029b
# Stop service if this is an uninstall rather than an upgrade
c1029b
if [ $1 = 0 ]; then
c1029b
   %if %{with_systemd}
c1029b
      # We need to stop all stapsh services. Because they are instantiated from
c1029b
      # a template service file, we can't simply call disable. We need to find
c1029b
      # all the running ones and stop them all individually
c1029b
      for service in `/bin/systemctl --full | grep stapsh@ | cut -d ' ' -f 1`; do
c1029b
         /bin/systemctl stop $service >/dev/null 2>&1 || :
c1029b
      done
c1029b
   %else
c1029b
      /sbin/service stapshd stop >/dev/null 2>&1
c1029b
      /sbin/chkconfig --del stapshd
c1029b
   %endif
c1029b
fi
c1029b
exit 0
c1029b
c1029b
%postun runtime-virtguest
c1029b
# Restart service if this is an upgrade rather than an uninstall
c1029b
if [ "$1" -ge "1" ]; then
c1029b
   %if %{with_systemd}
c1029b
      # We need to restart all stapsh services. Because they are instantiated from
c1029b
      # a template service file, we can't simply call restart. We need to find
c1029b
      # all the running ones and restart them all individually
c1029b
      for service in `/bin/systemctl --full | grep stapsh@ | cut -d ' ' -f 1`; do
c1029b
         /bin/systemctl condrestart $service >/dev/null 2>&1 || :
c1029b
      done
c1029b
   %else
c1029b
      /sbin/service stapshd condrestart >/dev/null 2>&1
c1029b
   %endif
c1029b
fi
c1029b
exit 0
c1029b
c1029b
%post
c1029b
# Remove any previously-built uprobes.ko materials
c1029b
(make -C %{_datadir}/systemtap/runtime/uprobes clean) >/dev/null 2>&1 || true
c1029b
(/sbin/rmmod uprobes) >/dev/null 2>&1 || true
c1029b
c1029b
%preun
c1029b
# Ditto
c1029b
(make -C %{_datadir}/systemtap/runtime/uprobes clean) >/dev/null 2>&1 || true
c1029b
(/sbin/rmmod uprobes) >/dev/null 2>&1 || true
c1029b
c1029b
# ------------------------------------------------------------------------
c1029b
c1029b
%if %{with_java}
c1029b
d956f8
%triggerin runtime-java -- java-1.8.0-openjdk, java-1.7.0-openjdk, java-1.6.0-openjdk
c1029b
for f in %{_libexecdir}/systemtap/libHelperSDT_*.so; do
d956f8
    %ifarch %{ix86}
7cdcec
	arch=i386
c1029b
    %else
c1029b
        arch=`basename $f | cut -f2 -d_ | cut -f1 -d.`
c1029b
    %endif
c1029b
    for archdir in %{_jvmdir}/*openjdk*/jre/lib/${arch}; do
eb15f5
	 if [ -d ${archdir} ]; then
eb15f5
            ln -sf %{_libexecdir}/systemtap/libHelperSDT_${arch}.so ${archdir}/libHelperSDT_${arch}.so
eb15f5
            ln -sf %{_libexecdir}/systemtap/HelperSDT.jar ${archdir}/../ext/HelperSDT.jar
eb15f5
	 fi
c1029b
    done
c1029b
done
c1029b
d956f8
%triggerun runtime-java -- java-1.8.0-openjdk, java-1.7.0-openjdk, java-1.6.0-openjdk
c1029b
for f in %{_libexecdir}/systemtap/libHelperSDT_*.so; do
d956f8
    %ifarch %{ix86}
7cdcec
	arch=i386
c1029b
    %else
c1029b
        arch=`basename $f | cut -f2 -d_ | cut -f1 -d.`
c1029b
    %endif
c1029b
    for archdir in %{_jvmdir}/*openjdk*/jre/lib/${arch}; do
c1029b
        rm -f ${archdir}/libHelperSDT_${arch}.so
c1029b
        rm -f ${archdir}/../ext/HelperSDT.jar
c1029b
    done
c1029b
done
c1029b
d956f8
%triggerpostun runtime-java -- java-1.8.0-openjdk, java-1.7.0-openjdk, java-1.6.0-openjdk
c1029b
# Restore links for any JDKs remaining after a package removal:
c1029b
for f in %{_libexecdir}/systemtap/libHelperSDT_*.so; do
d956f8
    %ifarch %{ix86}
7cdcec
	arch=i386
c1029b
    %else
c1029b
        arch=`basename $f | cut -f2 -d_ | cut -f1 -d.`
c1029b
    %endif
c1029b
    for archdir in %{_jvmdir}/*openjdk*/jre/lib/${arch}; do
eb15f5
	 if [ -d ${archdir} ]; then
eb15f5
            ln -sf %{_libexecdir}/systemtap/libHelperSDT_${arch}.so ${archdir}/libHelperSDT_${arch}.so
eb15f5
            ln -sf %{_libexecdir}/systemtap/HelperSDT.jar ${archdir}/../ext/HelperSDT.jar
eb15f5
	 fi
c1029b
    done
c1029b
done
c1029b
c1029b
# XXX: analogous support for other types of JRE/JDK??
c1029b
c1029b
%endif
c1029b
c1029b
# ------------------------------------------------------------------------
c1029b
c1029b
%files -f systemtap.lang
c1029b
# The master "systemtap" rpm doesn't include any files.
c1029b
c1029b
%files server -f systemtap.lang
c1029b
%defattr(-,root,root)
c1029b
%{_bindir}/stap-server
c1029b
%dir %{_libexecdir}/systemtap
c1029b
%{_libexecdir}/systemtap/stap-serverd
c1029b
%{_libexecdir}/systemtap/stap-start-server
c1029b
%{_libexecdir}/systemtap/stap-stop-server
c1029b
%{_libexecdir}/systemtap/stap-gen-cert
c1029b
%{_libexecdir}/systemtap/stap-sign-module
c1029b
%{_libexecdir}/systemtap/stap-authorize-cert
c1029b
%{_libexecdir}/systemtap/stap-env
c1029b
%{_mandir}/man7/error*
c1029b
%{_mandir}/man7/stappaths.7*
c1029b
%{_mandir}/man7/warning*
c1029b
%{_mandir}/man8/stap-server.8*
c1029b
%if %{with_systemd}
c1029b
%{_unitdir}/stap-server.service
c1029b
%{_tmpfilesdir}/stap-server.conf
c1029b
%else
c1029b
%{initdir}/stap-server
c1029b
%dir %{_sysconfdir}/stap-server/conf.d
c1029b
%config(noreplace) %{_sysconfdir}/sysconfig/stap-server
c1029b
%endif
c1029b
%config(noreplace) %{_sysconfdir}/logrotate.d/stap-server
c1029b
%dir %{_sysconfdir}/stap-server
c1029b
%dir %attr(0750,stap-server,stap-server) %{_localstatedir}/lib/stap-server
c1029b
%dir %attr(0700,stap-server,stap-server) %{_localstatedir}/lib/stap-server/.systemtap
c1029b
%dir %attr(0755,stap-server,stap-server) %{_localstatedir}/log/stap-server
c1029b
%ghost %config(noreplace) %attr(0644,stap-server,stap-server) %{_localstatedir}/log/stap-server/log
c1029b
%ghost %attr(0755,stap-server,stap-server) %{_localstatedir}/run/stap-server
eb15f5
%doc README README.unprivileged AUTHORS NEWS 
eb15f5
%{!?_licensedir:%global license %%doc}
eb15f5
%license COPYING
c1029b
c1029b
c1029b
%files devel -f systemtap.lang
c1029b
%{_bindir}/stap
c1029b
%{_bindir}/stap-prep
c1029b
%{_bindir}/stap-report
c1029b
%dir %{_datadir}/systemtap
c1029b
%{_datadir}/systemtap/runtime
c1029b
%{_datadir}/systemtap/tapset
c1029b
%{_mandir}/man1/stap.1*
c1029b
%{_mandir}/man1/stap-prep.1*
c1029b
%{_mandir}/man1/stap-report.1*
c1029b
%{_mandir}/man7/error*
c1029b
%{_mandir}/man7/stappaths.7*
c1029b
%{_mandir}/man7/warning*
eb15f5
%doc README README.unprivileged AUTHORS NEWS 
eb15f5
%{!?_licensedir:%global license %%doc}
eb15f5
%license COPYING
c1029b
%if %{with_java}
c1029b
%dir %{_libexecdir}/systemtap
c1029b
%{_libexecdir}/systemtap/libHelperSDT_*.so
c1029b
%endif
c1029b
%if %{with_bundled_elfutils}
c1029b
%dir %{_libdir}/systemtap
c1029b
%{_libdir}/systemtap/lib*.so*
c1029b
%endif
c1029b
%if %{with_emacsvim}
c1029b
%{_emacs_sitelispdir}/*.el*
c1029b
%{_emacs_sitestartdir}/systemtap-init.el
c1029b
%{_datadir}/vim/vimfiles/*/*.vim
c1029b
%endif
67cbe3
# Notice that the stap-resolve-module-function.py file is used by
67cbe3
# *both* the python2 and python3 subrpms.  Both subrpms use that same
67cbe3
# python script to help list python probes.
67cbe3
%if %{with_python3_probes} || %{with_python2_probes}
67cbe3
%{_libexecdir}/systemtap/python/stap-resolve-module-function.py
67cbe3
%exclude %{_libexecdir}/systemtap/python/stap-resolve-module-function.py?
67cbe3
%endif
c1029b
c1029b
c1029b
%files runtime -f systemtap.lang
c1029b
%defattr(-,root,root)
c1029b
%attr(4110,root,stapusr) %{_bindir}/staprun
c1029b
%{_bindir}/stapsh
c1029b
%{_bindir}/stap-merge
c1029b
%{_bindir}/stap-report
c1029b
%if %{with_dyninst}
c1029b
%{_bindir}/stapdyn
c1029b
%endif
c1029b
%dir %{_libexecdir}/systemtap
c1029b
%{_libexecdir}/systemtap/stapio
c1029b
%{_libexecdir}/systemtap/stap-authorize-cert
c1029b
%if %{with_crash}
c1029b
%dir %{_libdir}/systemtap
c1029b
%{_libdir}/systemtap/staplog.so*
c1029b
%endif
c1029b
%{_mandir}/man1/stap-report.1*
c1029b
%{_mandir}/man7/error*
c1029b
%{_mandir}/man7/stappaths.7*
c1029b
%{_mandir}/man7/warning*
c1029b
%{_mandir}/man8/stapsh.8*
c1029b
%{_mandir}/man8/staprun.8*
c1029b
%if %{with_dyninst}
c1029b
%{_mandir}/man8/stapdyn.8*
c1029b
%endif
eb15f5
%doc README README.security AUTHORS NEWS 
eb15f5
%{!?_licensedir:%global license %%doc}
eb15f5
%license COPYING
c1029b
c1029b
c1029b
%files client -f systemtap.lang
c1029b
%defattr(-,root,root)
67cbe3
%doc README README.unprivileged AUTHORS NEWS
67cbe3
%{_datadir}/systemtap/examples
eb15f5
%{!?_licensedir:%global license %%doc}
eb15f5
%license COPYING
c1029b
%if %{with_docs}
c1029b
%doc docs.installed/*.pdf
7cdcec
%if %{with_htmldocs}
c1029b
%doc docs.installed/tapsets/*.html
c1029b
%doc docs.installed/SystemTap_Beginners_Guide
c1029b
%endif
7cdcec
%endif
c1029b
%{_bindir}/stap
c1029b
%{_bindir}/stap-prep
c1029b
%{_bindir}/stap-report
c1029b
%{_mandir}/man1/stap.1*
c1029b
%{_mandir}/man1/stap-prep.1*
c1029b
%{_mandir}/man1/stap-merge.1*
c1029b
%{_mandir}/man1/stap-report.1*
d956f8
%{_mandir}/man1/stapref.1*
c1029b
%{_mandir}/man3/*
c1029b
%{_mandir}/man7/error*
c1029b
%{_mandir}/man7/stappaths.7*
c1029b
%{_mandir}/man7/warning*
c1029b
%dir %{_datadir}/systemtap
c1029b
%{_datadir}/systemtap/tapset
c1029b
c1029b
c1029b
c1029b
%files initscript
c1029b
%defattr(-,root,root)
c1029b
%{initdir}/systemtap
c1029b
%dir %{_sysconfdir}/systemtap
c1029b
%dir %{_sysconfdir}/systemtap/conf.d
c1029b
%dir %{_sysconfdir}/systemtap/script.d
c1029b
%config(noreplace) %{_sysconfdir}/systemtap/config
c1029b
%dir %{_localstatedir}/cache/systemtap
c1029b
%ghost %{_localstatedir}/run/systemtap
f43afa
%{_mandir}/man8/systemtap.8*
f43afa
%if %{with_dracut}
f43afa
   %dir %{dracutstap}
f43afa
   %{dracutstap}/*
f43afa
%endif
c1029b
c1029b
c1029b
%files sdt-devel
c1029b
%defattr(-,root,root)
c1029b
%{_bindir}/dtrace
c1029b
%{_includedir}/sys/sdt.h
c1029b
%{_includedir}/sys/sdt-config.h
c1029b
%{_mandir}/man1/dtrace.1*
eb15f5
%doc README AUTHORS NEWS 
eb15f5
%{!?_licensedir:%global license %%doc}
eb15f5
%license COPYING
c1029b
c1029b
c1029b
%files testsuite
c1029b
%defattr(-,root,root)
c1029b
%dir %{_datadir}/systemtap
c1029b
%{_datadir}/systemtap/testsuite
c1029b
c1029b
c1029b
%if %{with_java}
c1029b
%files runtime-java
c1029b
%dir %{_libexecdir}/systemtap
c1029b
%{_libexecdir}/systemtap/libHelperSDT_*.so
c1029b
%{_libexecdir}/systemtap/HelperSDT.jar
c1029b
%{_libexecdir}/systemtap/stapbm
c1029b
%endif
c1029b
67cbe3
%if %{with_python2_probes}
67cbe3
%files runtime-python2
67cbe3
%{python_sitearch}/HelperSDT
67cbe3
%{python_sitearch}/HelperSDT-*.egg-info
67cbe3
%endif
67cbe3
%if %{with_python3_probes}
67cbe3
%files runtime-python3
67cbe3
%{python3_sitearch}/HelperSDT
67cbe3
%{python3_sitearch}/HelperSDT-*.egg-info
67cbe3
%endif
67cbe3
c1029b
%if %{with_virthost}
c1029b
%files runtime-virthost
c1029b
%{_mandir}/man1/stapvirt.1*
c1029b
%{_bindir}/stapvirt
c1029b
%endif
c1029b
c1029b
%if %{with_virtguest}
c1029b
%files runtime-virtguest
c1029b
%if %{with_systemd}
c1029b
   %{udevrulesdir}/99-stapsh.rules
c1029b
   %{_unitdir}/stapsh@.service
c1029b
%else
c1029b
   %{udevrulesdir}/99-stapsh-init.rules
c1029b
   %dir %{_libexecdir}/systemtap
c1029b
   %{_libexecdir}/systemtap/stapsh-daemon
c1029b
   %{initdir}/stapshd
c1029b
   %{_sysconfdir}/sysconfig/modules/virtio_console.modules
c1029b
%endif
c1029b
%endif
c1029b
c1029b
# ------------------------------------------------------------------------
c1029b
c1029b
# Future new-release entries should be of the form
c1029b
# * DDD MMM DD YYYY YOURNAME <YOUREMAIL> - V-R
c1029b
# - Upstream release, see wiki page below for detailed notes.
c1029b
#   http://sourceware.org/systemtap/wiki/SystemTapReleases
c1029b
67cbe3
# PRERELEASE
c1029b
%changelog
f981f0
* Sun Dec 03 2017 Frank Ch. Eigler <fche@redhat.com> - 3.1-5
f981f0
- rhbz1519860 netdev probe
f981f0
440ab2
* Thu Oct 19 2017 Frank Ch. Eigler <fche@redhat.com> - 3.1-4
440ab2
- rhbz1503979 @min/@max miscalculation
440ab2
67cbe3
* Thu Mar 30 2017 David Smith <dsmith@redhat.com> - 3.1-3
67cbe3
- Added patches for:
67cbe3
- rhbz1425568 task_dentry_path() fix
67cbe3
- rhbz1431263 arm64 hardware breakpoint crash fix
67cbe3
- rhbz1430828 replace task_exe_file() with current_exe_file()
67cbe3
- rhbz1436845 adapt stapdyn to the dyninst 9.3.1 library search model
67cbe3
- rhbz1433391 workaround parser issue in nfs_proc.stp
67cbe3
- rhbz1428120 update lookup_bad_addr()
67cbe3
67cbe3
* Wed Mar 15 2017 Stan Cox <scox@redhat.com> - 3.1-2
67cbe3
- rebuilt
67cbe3
67cbe3
* Fri Feb 17 2017 Frank Ch. Eigler <fche@redhat.com> - 3.1-1
67cbe3
- Upstream release.
67cbe3
7cdcec
* Mon Sep 19 2016 Frank Ch. Eigler <fche@redhat.com> - 3.0-7
7cdcec
- rhbz1376515 ppc64le probe point / parameter value fix
7cdcec
7cdcec
* Wed Aug 24 2016 Frank Ch. Eigler <fche@redhat.com> - 3.0-6
7cdcec
- rhbz1346112 delay tls cert creation redux
7cdcec
7cdcec
* Thu Aug 11 2016 Frank Ch. Eigler <fche@redhat.com> - 3.0-5
7cdcec
- rhbz1312169 stap-prep debuginfo-install improvement
7cdcec
7cdcec
* Tue Aug 09 2016 Frank Ch. Eigler <fche@redhat.com> - 3.0-4
7cdcec
- rhbz1365550 PR19874 alarm(60) in staprun system()
7cdcec
7cdcec
* Thu Jul 21 2016 Frank Ch. Eigler <fche@redhat.com> - 3.0-3
7cdcec
- rhbz1346112 delay tls cert creation
7cdcec
- rhbz1269062 null elevator
7cdcec
- rhbz1337416 'count' tapset variable - autocast/@defined
7cdcec
7cdcec
* Wed May 04 2016 Frank Ch. Eigler <fche@redhat.com> - 3.0-2
7cdcec
- 4 upstream patches for kernel lockdep hygiene, bz1242368
7cdcec
7cdcec
* Tue May 03 2016 Frank Ch. Eigler <fche@redhat.com> - 3.0-1
7cdcec
- Upstream release.
7cdcec
d956f8
* Wed Sep 02 2015 Frank Ch. Eigler <fche@redhat.com> - 2.8-10
d956f8
- rhbz1257399: module-init probes
d956f8
d956f8
* Tue Aug 11 2015 Frank Ch. Eigler <fche@redhat.com> - 2.8-9
d956f8
- rhbz1254856: nfsd tapset fix for kernel functions that went away
d956f8
d956f8
* Tue Aug 11 2015 Frank Ch. Eigler <fche@redhat.com> - 2.8-8
d956f8
- rhbz1252436: timer probes build fix
d956f8
d956f8
* Mon Aug 10 2015 Frank Ch. Eigler <fche@redhat.com> - 2.8-7
d956f8
- rhbz1248159: netfilter probes build fix
d956f8
- disabling docs on ppc64le for bz1252103
d956f8
d956f8
* Wed Jul 22 2015 Frank Ch. Eigler <fche@redhat.com> - 2.8-6
d956f8
- rhbz1242992: cont'd: applying .spec hunk here
d956f8
d956f8
* Tue Jul 21 2015 Frank Ch. Eigler <fche@redhat.com> - 2.8-5
d956f8
- rhbz1242992: java / ppc64
d956f8
d956f8
* Mon Jul  6 2015 Frank Ch. Eigler <fche@redhat.com> - 2.8-3
d956f8
- rhbz1237098: handle symbol-table vs. linkage-name mismatches better
d956f8
- some runtime robustification fixes backported from upstream
d956f8
d956f8
* Wed Jun 17 2015 Frank Ch. Eigler <fche@redhat.com> - 2.8-1
d956f8
- Upstream release
d956f8
d956f8
* Mon May 11 2015 Frank Ch. Eigler <fche@redhat.com> - 2.7-2
d956f8
- Upstream release, incl. rhel6.7 post-release xmltohtml patch
d956f8
- pre-rebase-rebase for aarch64 mass-rebuild
4b5dfb
d956f8
* Wed Dec 10 2014 Frank Ch. Eigler <fche@redhat.com> - 2.6-9
d956f8
- rhbz1212658 (xfs & signing)
4b5dfb
eb15f5
* Wed Dec 10 2014 Frank Ch. Eigler <fche@redhat.com> - 2.6-8
eb15f5
- rhbz1171823 (nfsd svc_fh access)
eb15f5
eb15f5
* Wed Nov 26 2014 Frank Ch. Eigler <fche@redhat.com> - 2.6-7
eb15f5
- rhbz1167652 (stap dracut empty)
eb15f5
eb15f5
* Thu Nov 20 2014 Frank Ch. Eigler <fche@redhat.com> - 2.6-6
eb15f5
- rhbz1164373 (fix ppc64 kprobes via KERNEL_RELOC_SYMBOL)
eb15f5
- rhbz1119335 (document STAP_FIPS_OVERRIDE in staprun.8)
eb15f5
- rhbz1127591 (ppc64 hcall_* tracepoint blacklisting)
eb15f5
eb15f5
* Fri Oct 17 2014 Frank Ch. Eigler <fche@redhat.com> - 2.6-5
eb15f5
- RHBZ1153673 (stap segv during optimization)
eb15f5
eb15f5
* Fri Sep 19 2014 Frank Ch. Eigler <fche@redhat.com> - 2.6-3
eb15f5
- Added probinson's patch BZ1141919 for enabling more ppc64/aarch64 facilities,
eb15f5
  with some staplog.c followup
eb15f5
eb15f5
* Tue Sep 09 2014 Josh Stone <jistone@redhat.com> - 2.6-2
eb15f5
- Backport fix for 1139844
eb15f5
eb15f5
* Fri Sep 05 2014 Josh Stone <jistone@redhat.com> - 2.6-1
eb15f5
- Upstream release, rebased for 1107735
eb15f5
eb15f5
* Wed Aug 27 2014 Josh Stone <jistone@redhat.com> - 2.4-16
eb15f5
- Exclude ppc64le from with_crash (1125693)
c1bac6
eb15f5
* Tue Aug 26 2014 Josh Stone <jistone@redhat.com> - 2.4-15
eb15f5
- Tighten arch lists for prelink and dyninst (1094349, 1125693)
c1bac6
f43afa
* Fri Mar 28 2014 Jonathan Lebon <jlebon@redhat.com> - 2.4-14
f43afa
- Small fix on latest backport fix for dyninst runtime
f43afa
f43afa
* Fri Mar 28 2014 Jonathan Lebon <jlebon@redhat.com> - 2.4-13
f43afa
- Backport fixes for 1051649 (see comments 4 and 5)
f43afa
f43afa
* Thu Mar 06 2014 Jonathan Lebon <jlebon@redhat.com> - 2.4-12
f43afa
- Backport fix for 1073640
f43afa
f43afa
* Wed Feb 12 2014 Jonathan Lebon <jlebon@redhat.com> - 2.4-11
f43afa
- Backport fix for 847285
f43afa
f43afa
* Wed Feb 12 2014 Jonathan Lebon <jlebon@redhat.com> - 2.4-10
f43afa
- Apply spec file patches to this one, not the tarred one
f43afa
- Add missing autoreconf patch for backport feature (1051649)
f43afa
f43afa
* Tue Feb 11 2014 Jonathan Lebon <jlebon@redhat.com> - 2.4-9
f43afa
- Backport fixes for: 1062076, 1020207
f43afa
f43afa
* Tue Jan 28 2014 Daniel Mach <dmach@redhat.com> - 2.4-8
f43afa
- Mass rebuild 2014-01-24
f43afa
f43afa
* Fri Jan 24 2014 Jonathan Lebon <jlebon@redhat.com> - 2.4-7
f43afa
- Backport fix for 1057773
f43afa
f43afa
* Wed Jan 22 2014 Frank Ch. Subbackportmeister Eigler <fche@redhat.com> - 2.4-6
f43afa
- Backport fixes for: 1056687
f43afa
f43afa
* Wed Jan 22 2014 Jonathan Lebon <jlebon@redhat.com> - 2.4-5
f43afa
- Backport fixes for: 1035752, 1035850
f43afa
f43afa
* Tue Jan 21 2014 Jonathan Lebon <jlebon@redhat.com> - 2.4-4
f43afa
- Backport fix for 1055778
f43afa
f43afa
* Fri Jan 17 2014 Jonathan Lebon <jlebon@redhat.com> - 2.4-3
f43afa
- Backport fixes for: 1054962, 1054956, 1054954, 1044429
f43afa
- Backport boot-time probing feature (1051649)
f43afa
f43afa
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.4-2
f43afa
- Mass rebuild 2013-12-27
f43afa
c1029b
* Wed Nov 06 2013 Frank Ch. Eigler <fche@redhat.com> - 2.4-1
c1029b
- Upstream release.
c1029b
c1029b
* Wed Oct 09 2013 Jonathan Lebon <jlebon@redhat.com>
c1029b
- Added runtime-virthost and runtime-virtguest packages.
c1029b
c1029b
* Thu Jul 25 2013 Frank Ch. Eigler <fche@redhat.com> - 2.3-1
c1029b
- Upstream release.
c1029b
c1029b
* Thu May 16 2013 Frank Ch. Eigler <fche@redhat.com> - 2.2.1-1
c1029b
- Upstream release.
c1029b
c1029b
* Tue May 14 2013 Frank Ch. Eigler <fche@redhat.com> - 2.2-1
c1029b
- Upstream release.
c1029b
c1029b
* Wed Feb 13 2013 Serguei Makarov <smakarov@redhat.com> - 2.1-1
c1029b
- Upstream release.
c1029b
c1029b
* Tue Oct 09 2012 Josh Stone <jistone@redhat.com> - 2.0-1
c1029b
- Upstream release.
c1029b
c1029b
* Fri Jul 13 2012 Peter Robinson <pbrobinson@fedoraproject.org>
c1029b
- Fix ifarch statement
c1029b
- use file based requires for glibc-devel on x86_64 so that we work in koji
c1029b
c1029b
* Sun Jun 17 2012 Frank Ch. Eigler <fche@redhat.com> - 1.8-1
c1029b
- Upstream release.
c1029b
c1029b
* Wed Feb 01 2012 Frank Ch. Eigler <fche@redhat.com> - 1.7-1
c1029b
- Upstream release.
c1029b
c1029b
* Fri Jan 13 2012 David Smith <dsmith@redhat.com> - 1.6-2
c1029b
- Fixed /bin/mktemp require.
c1029b
c1029b
* Mon Jul 25 2011 Stan Cox <scox@redhat.com> - 1.6-1
c1029b
- Upstream release.
c1029b
c1029b
* Mon May 23 2011 Stan Cox <scox@redhat.com> - 1.5-1
c1029b
- Upstream release.
c1029b
c1029b
* Mon Jan 17 2011 Frank Ch. Eigler <fche@redhat.com> - 1.4-1
c1029b
- Upstream release.
c1029b
c1029b
* Wed Jul 21 2010 Josh Stone <jistone@redhat.com> - 1.3-1
c1029b
- Upstream release.
c1029b
c1029b
* Mon Mar 22 2010 Frank Ch. Eigler <fche@redhat.com> - 1.2-1
c1029b
- Upstream release.
c1029b
c1029b
* Mon Dec 21 2009 David Smith <dsmith@redhat.com> - 1.1-1
c1029b
- Upstream release.
c1029b
c1029b
* Tue Sep 22 2009 Josh Stone <jistone@redhat.com> - 1.0-1
c1029b
- Upstream release.
c1029b
c1029b
* Tue Aug  4 2009 Josh Stone <jistone@redhat.com> - 0.9.9-1
c1029b
- Upstream release.
c1029b
c1029b
* Thu Jun 11 2009 Josh Stone <jistone@redhat.com> - 0.9.8-1
c1029b
- Upstream release.
c1029b
c1029b
* Thu Apr 23 2009 Josh Stone <jistone@redhat.com> - 0.9.7-1
c1029b
- Upstream release.
c1029b
c1029b
* Fri Mar 27 2009 Josh Stone <jistone@redhat.com> - 0.9.5-1
c1029b
- Upstream release.
c1029b
c1029b
* Wed Mar 18 2009 Will Cohen <wcohen@redhat.com> - 0.9-2
c1029b
- Add location of man pages.
c1029b
c1029b
* Tue Feb 17 2009 Frank Ch. Eigler <fche@redhat.com> - 0.9-1
c1029b
- Upstream release.
c1029b
c1029b
* Thu Nov 13 2008 Frank Ch. Eigler <fche@redhat.com> - 0.8-1
c1029b
- Upstream release.
c1029b
c1029b
* Tue Jul 15 2008 Frank Ch. Eigler <fche@redhat.com> - 0.7-1
c1029b
- Upstream release.
c1029b
c1029b
* Fri Feb  1 2008 Frank Ch. Eigler <fche@redhat.com> - 0.6.1-3
c1029b
- Add zlib-devel to buildreq; missing from crash-devel
c1029b
- Process testsuite .stp files for #!stap->#!/usr/bin/stap
c1029b
c1029b
* Fri Jan 18 2008 Frank Ch. Eigler <fche@redhat.com> - 0.6.1-1
c1029b
- Add crash-devel buildreq to build staplog.so crash(8) module.
c1029b
- Many robustness & functionality improvements:
c1029b
c1029b
* Wed Dec  5 2007 Will Cohen <wcohen@redhat.com> - 0.6-2
c1029b
- Correct Source to point to location contain code.
c1029b
c1029b
* Thu Aug  9 2007 David Smith <dsmith@redhat.com> - 0.6-1
c1029b
- Bumped version, added libcap-devel BuildRequires.
c1029b
c1029b
* Wed Jul 11 2007 Will Cohen <wcohen@redhat.com> - 0.5.14-2
c1029b
- Fix Requires and BuildRequires for sqlite.
c1029b
c1029b
* Mon Jul  2 2007 Frank Ch. Eigler <fche@redhat.com> - 0.5.14-1
c1029b
- Many robustness improvements: 1117, 1134, 1305, 1307, 1570, 1806,
c1029b
  2033, 2116, 2224, 2339, 2341, 2406, 2426, 2438, 2583, 3037,
c1029b
  3261, 3282, 3331, 3428 3519, 3545, 3625, 3648, 3880, 3888, 3911,
c1029b
  3952, 3965, 4066, 4071, 4075, 4078, 4081, 4096, 4119, 4122, 4127,
c1029b
  4146, 4171, 4179, 4183, 4221, 4224, 4254, 4281, 4319, 4323, 4326,
c1029b
  4329, 4332, 4337, 4415, 4432, 4444, 4445, 4458, 4467, 4470, 4471,
c1029b
  4518, 4567, 4570, 4579, 4589, 4609, 4664
c1029b
c1029b
* Mon Mar 26 2007 Frank Ch. Eigler <fche@redhat.com> - 0.5.13-1
c1029b
- An emergency / preliminary refresh, mainly for compatibility
c1029b
  with 2.6.21-pre kernels.
c1029b
c1029b
* Mon Jan  1 2007 Frank Ch. Eigler <fche@redhat.com> - 0.5.12-1
c1029b
- Many changes, see NEWS file.
c1029b
c1029b
* Tue Sep 26 2006 David Smith <dsmith@redhat.com> - 0.5.10-1
c1029b
- Added 'systemtap-runtime' subpackage.
c1029b
c1029b
* Wed Jul 19 2006 Roland McGrath <roland@redhat.com> - 0.5.9-1
c1029b
- PRs 2669, 2913
c1029b
c1029b
* Fri Jun 16 2006 Roland McGrath <roland@redhat.com> - 0.5.8-1
c1029b
- PRs 2627, 2520, 2228, 2645
c1029b
c1029b
* Fri May  5 2006 Frank Ch. Eigler <fche@redhat.com> - 0.5.7-1
c1029b
- PRs 2511 2453 2307 1813 1944 2497 2538 2476 2568 1341 2058 2220 2437
c1029b
  1326 2014 2599 2427 2438 2465 1930 2149 2610 2293 2634 2506 2433
c1029b
c1029b
* Tue Apr  4 2006 Roland McGrath <roland@redhat.com> - 0.5.5-1
c1029b
- Many changes, affected PRs include: 2068, 2293, 1989, 2334,
c1029b
  1304, 2390, 2425, 953.
c1029b
c1029b
* Wed Feb  1 2006 Frank Ch. Eigler <fche@redhat.com> - 0.5.4-1
c1029b
- PRs 1916, 2205, 2142, 2060, 1379
c1029b
c1029b
* Mon Jan 16 2006 Roland McGrath <roland@redhat.com> - 0.5.3-1
c1029b
- Many changes, affected PRs include: 2056, 1144, 1379, 2057,
c1029b
  2060, 1972, 2140, 2148
c1029b
c1029b
* Mon Dec 19 2005 Roland McGrath <roland@redhat.com> - 0.5.2-1
c1029b
- Fixed build with gcc 4.1, various tapset changes.
c1029b
c1029b
* Wed Dec  7 2005 Roland McGrath <roland@redhat.com> - 0.5.1-1
c1029b
- elfutils update, build changes
c1029b
c1029b
* Fri Dec 02 2005  Frank Ch. Eigler  <fche@redhat.com> - 0.5-1
c1029b
- Many fixes and improvements: 1425, 1536, 1505, 1380, 1329, 1828, 1271,
c1029b
  1339, 1340, 1345, 1837, 1917, 1903, 1336, 1868, 1594, 1564, 1276, 1295
c1029b
c1029b
* Mon Oct 31 2005 Roland McGrath <roland@redhat.com> - 0.4.2-1
c1029b
- Many fixes and improvements: PRs 1344, 1260, 1330, 1295, 1311, 1368,
c1029b
  1182, 1131, 1332, 1366, 1456, 1271, 1338, 1482, 1477, 1194.
c1029b
c1029b
* Wed Sep 14 2005 Roland McGrath <roland@redhat.com> - 0.4.1-1
c1029b
- Many fixes and improvements since 0.2.2; relevant PRs include:
c1029b
  1122, 1134, 1155, 1172, 1174, 1175, 1180, 1186, 1187, 1191, 1193, 1195,
c1029b
  1197, 1205, 1206, 1209, 1213, 1244, 1257, 1258, 1260, 1265, 1268, 1270,
c1029b
  1289, 1292, 1306, 1335, 1257
c1029b
c1029b
* Wed Sep  7 2005 Frank Ch. Eigler <fche@redhat.com>
c1029b
- Bump version.
c1029b
c1029b
* Tue Aug 16 2005 Frank Ch. Eigler <fche@redhat.com>
c1029b
- Bump version.
c1029b
c1029b
* Wed Aug  3 2005 Martin Hunt <hunt@redhat.com> - 0.2.2-1
c1029b
- Add directory /var/cache/systemtap
c1029b
- Add stp_check to /usr/libexec/systemtap
c1029b
c1029b
* Wed Aug  3 2005 Roland McGrath <roland@redhat.com> - 0.2.1-1
c1029b
- New version 0.2.1, various fixes.
c1029b
c1029b
* Fri Jul 29 2005 Roland McGrath <roland@redhat.com> - 0.2-1
c1029b
- New version 0.2, requires elfutils 0.111
c1029b
c1029b
* Mon Jul 25 2005 Roland McGrath <roland@redhat.com>
c1029b
- Clean up spec file, build bundled elfutils.
c1029b
c1029b
* Thu Jul 21 2005 Martin Hunt <hunt@redhat.com>
c1029b
- Set Version to use version from autoconf.
c1029b
- Fix up some of the path names.
c1029b
- Add Requires and BuildRequires.
c1029b
c1029b
* Tue Jul 19 2005 Will Cohen <wcohen@redhat.com>
c1029b
- Initial creation of RPM.