Blame SPECS/systemtap.spec

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