Blame SPECS/systemtap.spec

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