|
|
e5a588 |
%{!?with_sqlite: %global with_sqlite 0%{?fedora} >= 17 || 0%{?rhel} >= 7}
|
|
|
e5a588 |
# prefer prebuilt docs
|
|
|
e5a588 |
%{!?with_docs: %global with_docs 0}
|
|
|
e5a588 |
%{!?with_htmldocs: %global with_htmldocs 0}
|
|
|
e5a588 |
%{!?with_monitor: %global with_monitor 1}
|
|
|
e5a588 |
# crash is not available
|
|
|
e5a588 |
%ifarch ppc ppc64 %{sparc} %{mips}
|
|
|
e5a588 |
%{!?with_crash: %global with_crash 0}
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
%{!?with_crash: %global with_crash 1}
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%{!?with_rpm: %global with_rpm 1}
|
|
|
e5a588 |
%{!?elfutils_version: %global elfutils_version 0.142}
|
|
|
e5a588 |
%{!?pie_supported: %global pie_supported 1}
|
|
|
e5a588 |
%{!?with_boost: %global with_boost 0}
|
|
|
e5a588 |
%ifarch %{ix86} x86_64 ppc ppc64 ppc64le aarch64
|
|
|
e5a588 |
%{!?with_dyninst: %global with_dyninst 0%{?fedora} >= 18 || 0%{?rhel} >= 7}
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
%{!?with_dyninst: %global with_dyninst 0}
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%{!?with_bpf: %global with_bpf 0%{?fedora} >= 22 || 0%{?rhel} >= 8}
|
|
|
e5a588 |
%{!?with_systemd: %global with_systemd 0%{?fedora} >= 19 || 0%{?rhel} >= 7}
|
|
|
e5a588 |
%{!?with_emacsvim: %global with_emacsvim 0%{?fedora} >= 19 || 0%{?rhel} >= 7}
|
|
|
e5a588 |
%{!?with_java: %global with_java 0%{?fedora} >= 19 || 0%{?rhel} >= 7}
|
|
|
e5a588 |
%{!?with_virthost: %global with_virthost 0%{?fedora} >= 19 || 0%{?rhel} >= 7}
|
|
|
e5a588 |
%{!?with_virtguest: %global with_virtguest 1}
|
|
|
e5a588 |
%{!?with_dracut: %global with_dracut 0%{?fedora} >= 19 || 0%{?rhel} >= 6}
|
|
|
e5a588 |
%ifarch x86_64
|
|
|
e5a588 |
%{!?with_mokutil: %global with_mokutil 0%{?fedora} >= 18 || 0%{?rhel} >= 7}
|
|
|
e5a588 |
%{!?with_openssl: %global with_openssl 0%{?fedora} >= 18 || 0%{?rhel} >= 7}
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
%{!?with_mokutil: %global with_mokutil 0}
|
|
|
e5a588 |
%{!?with_openssl: %global with_openssl 0}
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%{!?with_pyparsing: %global with_pyparsing 0%{?fedora} >= 18 || 0%{?rhel} >= 7}
|
|
|
e5a588 |
%{!?with_python3: %global with_python3 0%{?fedora} >= 23 || 0%{?rhel} > 7}
|
|
|
e5a588 |
%{!?with_python2_probes: %global with_python2_probes (0%{?fedora} <= 28 && 0%{?rhel} <= 7)}
|
|
|
e5a588 |
%{!?with_python3_probes: %global with_python3_probes (0%{?fedora} >= 23 || 0%{?rhel} > 7)}
|
|
|
e5a588 |
%{!?with_httpd: %global with_httpd 0}
|
|
|
e5a588 |
%{!?with_specific_python: %global with_specific_python 0%{?fedora} >= 31}
|
|
|
e5a588 |
|
|
|
e5a588 |
# Virt is supported on these arches, even on el7, but it's not in core EL7
|
|
|
e5a588 |
%if 0%{?rhel} <= 7
|
|
|
e5a588 |
%ifarch ppc64le aarch64
|
|
|
e5a588 |
%global with_virthost 0
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 6
|
|
|
e5a588 |
%define initdir %{_initddir}
|
|
|
e5a588 |
%else # RHEL5 doesn't know _initddir
|
|
|
e5a588 |
%define initdir %{_initrddir}
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
%if %{with_virtguest}
|
|
|
e5a588 |
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
|
|
|
e5a588 |
%define udevrulesdir /usr/lib/udev/rules.d
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
%if 0%{?rhel} >= 6
|
|
|
e5a588 |
%define udevrulesdir /lib/udev/rules.d
|
|
|
e5a588 |
%else # RHEL5
|
|
|
e5a588 |
%define udevrulesdir /etc/udev/rules.d
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
|
|
|
e5a588 |
%define dracutstap %{_prefix}/lib/dracut/modules.d/99stap
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
%define dracutstap %{_prefix}/share/dracut/modules.d/99stap
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
%if 0%{?rhel} == 6 || 0%{?rhel} == 7
|
|
|
e5a588 |
%define dracutbindir /sbin
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
%define dracutbindir %{_bindir}
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
%if 0%{?rhel} == 6
|
|
|
e5a588 |
%{!?_rpmmacrodir: %define _rpmmacrodir /etc/rpm/}
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
%{!?_rpmmacrodir: %define _rpmmacrodir %{_rpmconfigdir}/macros.d}
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
# To avoid testsuite/*/*.stp has shebang which doesn't start with '/'
|
|
|
e5a588 |
%define __brp_mangle_shebangs_exclude_from .stp$
|
|
|
e5a588 |
|
|
|
e5a588 |
Name: systemtap
|
|
|
9c9967 |
Version: 4.3
|
|
|
1e42c9 |
Release: 2%{?release_override}%{?dist}
|
|
|
e5a588 |
# for version, see also configure.ac
|
|
|
e5a588 |
|
|
|
e5a588 |
|
|
|
e5a588 |
# Packaging abstract:
|
|
|
e5a588 |
#
|
|
|
e5a588 |
# systemtap empty req:-client req:-devel
|
|
|
e5a588 |
# systemtap-server /usr/bin/stap-server*, req:-devel
|
|
|
e5a588 |
# systemtap-devel /usr/bin/stap, runtime, tapset, req:kernel-devel
|
|
|
e5a588 |
# systemtap-runtime /usr/bin/staprun, /usr/bin/stapsh, /usr/bin/stapdyn
|
|
|
e5a588 |
# systemtap-client /usr/bin/stap, samples, docs, tapset(bonus), req:-runtime
|
|
|
e5a588 |
# systemtap-initscript /etc/init.d/systemtap, dracut module, req:systemtap
|
|
|
e5a588 |
# systemtap-sdt-devel /usr/include/sys/sdt.h /usr/bin/dtrace
|
|
|
e5a588 |
# systemtap-testsuite /usr/share/systemtap/testsuite*, req:systemtap, req:sdt-devel
|
|
|
e5a588 |
# systemtap-runtime-java libHelperSDT.so, HelperSDT.jar, stapbm, req:-runtime
|
|
|
e5a588 |
# systemtap-runtime-virthost /usr/bin/stapvirt, req:libvirt req:libxml2
|
|
|
e5a588 |
# systemtap-runtime-virtguest udev rules, init scripts/systemd service, req:-runtime
|
|
|
e5a588 |
# systemtap-runtime-python2 HelperSDT python2 module, req:-runtime
|
|
|
e5a588 |
# systemtap-runtime-python3 HelperSDT python3 module, req:-runtime
|
|
|
e5a588 |
#
|
|
|
e5a588 |
# Typical scenarios:
|
|
|
e5a588 |
#
|
|
|
e5a588 |
# stap-client: systemtap-client
|
|
|
e5a588 |
# stap-server: systemtap-server
|
|
|
e5a588 |
# local user: systemtap
|
|
|
e5a588 |
#
|
|
|
e5a588 |
# Unusual scenarios:
|
|
|
e5a588 |
#
|
|
|
e5a588 |
# intermediary stap-client for --remote: systemtap-client (-runtime unused)
|
|
|
e5a588 |
# intermediary stap-server for --use-server: systemtap-server (-devel unused)
|
|
|
e5a588 |
|
|
|
e5a588 |
Summary: Programmable system-wide instrumentation system
|
|
|
e5a588 |
License: GPLv2+
|
|
|
e5a588 |
URL: http://sourceware.org/systemtap/
|
|
|
e5a588 |
Source: ftp://sourceware.org/pub/systemtap/releases/systemtap-%{version}.tar.gz
|
|
|
e5a588 |
|
|
|
1e42c9 |
Patch1: rhbz1847676,1857749.patch
|
|
|
1e42c9 |
Patch2: rhbz1855264.patch
|
|
|
1e42c9 |
|
|
|
e5a588 |
# Build*
|
|
|
e5a588 |
BuildRequires: gcc-c++
|
|
|
e5a588 |
BuildRequires: cpio
|
|
|
e5a588 |
BuildRequires: gettext-devel
|
|
|
e5a588 |
BuildRequires: pkgconfig(nss)
|
|
|
e5a588 |
BuildRequires: pkgconfig(avahi-client)
|
|
|
e5a588 |
%if %{with_dyninst}
|
|
|
e5a588 |
BuildRequires: dyninst-devel >= 10.0
|
|
|
e5a588 |
BuildRequires: pkgconfig(libselinux)
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%if %{with_sqlite}
|
|
|
e5a588 |
BuildRequires: sqlite-devel > 3.7
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%if %{with_monitor}
|
|
|
e5a588 |
BuildRequires: pkgconfig(json-c)
|
|
|
e5a588 |
BuildRequires: pkgconfig(ncurses)
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%if %{with_systemd}
|
|
|
e5a588 |
BuildRequires: systemd
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
# Needed for libstd++ < 4.0, without <tr1/memory>
|
|
|
e5a588 |
%if %{with_boost}
|
|
|
e5a588 |
BuildRequires: boost-devel
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%if %{with_crash}
|
|
|
e5a588 |
BuildRequires: crash-devel zlib-devel
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%if %{with_rpm}
|
|
|
e5a588 |
BuildRequires: rpm-devel
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
BuildRequires: elfutils-devel >= %{elfutils_version}
|
|
|
e5a588 |
%if %{with_docs}
|
|
|
e5a588 |
BuildRequires: /usr/bin/latex /usr/bin/dvips /usr/bin/ps2pdf
|
|
|
e5a588 |
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
|
|
|
e5a588 |
BuildRequires: tex(fullpage.sty) tex(fancybox.sty) tex(bchr7t.tfm) tex(graphicx.sty)
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
# For the html.sty mentioned in the .tex files, even though latex2html is
|
|
|
e5a588 |
# not run during the build, only during manual scripts/update-docs runs:
|
|
|
e5a588 |
BuildRequires: latex2html
|
|
|
e5a588 |
%if %{with_htmldocs}
|
|
|
e5a588 |
# On F10, xmlto's pdf support was broken off into a sub-package,
|
|
|
e5a588 |
# called 'xmlto-tex'. To avoid a specific F10 BuildReq, we'll do a
|
|
|
e5a588 |
# file-based buildreq on '/usr/share/xmlto/format/fo/pdf'.
|
|
|
e5a588 |
BuildRequires: xmlto /usr/share/xmlto/format/fo/pdf
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%if %{with_emacsvim}
|
|
|
e5a588 |
BuildRequires: emacs
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%if %{with_java}
|
|
|
e5a588 |
BuildRequires: jpackage-utils java-devel
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%if %{with_virthost}
|
|
|
e5a588 |
# BuildRequires: libvirt-devel >= 1.0.2
|
|
|
e5a588 |
BuildRequires: pkgconfig(libvirt)
|
|
|
e5a588 |
BuildRequires: pkgconfig(libxml-2.0)
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
BuildRequires: readline-devel
|
|
|
e5a588 |
%if 0%{?rhel} <= 5
|
|
|
e5a588 |
BuildRequires: pkgconfig(ncurses)
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%if %{with_python2_probes}
|
|
|
e5a588 |
BuildRequires: python2-devel
|
|
|
e5a588 |
%if 0%{?fedora} >= 1
|
|
|
e5a588 |
BuildRequires: python2-setuptools
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
BuildRequires: python-setuptools
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%if %{with_python3_probes}
|
|
|
e5a588 |
BuildRequires: python3-devel
|
|
|
e5a588 |
BuildRequires: python3-setuptools
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%if %{with_specific_python}
|
|
|
e5a588 |
BuildRequires: /usr/bin/pathfix.py
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
%if %{with_httpd}
|
|
|
e5a588 |
BuildRequires: libmicrohttpd-devel
|
|
|
e5a588 |
BuildRequires: libuuid-devel
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
# Install requirements
|
|
|
e5a588 |
Requires: systemtap-client = %{version}-%{release}
|
|
|
e5a588 |
Requires: systemtap-devel = %{version}-%{release}
|
|
|
e5a588 |
|
|
|
e5a588 |
%description
|
|
|
e5a588 |
SystemTap is an instrumentation system for systems running Linux.
|
|
|
e5a588 |
Developers can write instrumentation scripts to collect data on
|
|
|
e5a588 |
the operation of the system. The base systemtap package contains/requires
|
|
|
e5a588 |
the components needed to locally develop and execute systemtap scripts.
|
|
|
e5a588 |
|
|
|
e5a588 |
# ------------------------------------------------------------------------
|
|
|
e5a588 |
|
|
|
e5a588 |
%package server
|
|
|
e5a588 |
Summary: Instrumentation System Server
|
|
|
e5a588 |
License: GPLv2+
|
|
|
e5a588 |
URL: http://sourceware.org/systemtap/
|
|
|
e5a588 |
Requires: systemtap-devel = %{version}-%{release}
|
|
|
e5a588 |
Conflicts: systemtap-devel < %{version}-%{release}
|
|
|
e5a588 |
Conflicts: systemtap-runtime < %{version}-%{release}
|
|
|
e5a588 |
Conflicts: systemtap-client < %{version}-%{release}
|
|
|
e5a588 |
Requires: nss coreutils
|
|
|
e5a588 |
Requires: zip unzip
|
|
|
e5a588 |
Requires(pre): shadow-utils
|
|
|
e5a588 |
BuildRequires: nss-devel avahi-devel
|
|
|
e5a588 |
%if %{with_openssl}
|
|
|
e5a588 |
Requires: openssl
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%if %{with_systemd}
|
|
|
e5a588 |
Requires: systemd
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
Requires(post): chkconfig
|
|
|
e5a588 |
Requires(preun): chkconfig
|
|
|
e5a588 |
Requires(preun): initscripts
|
|
|
e5a588 |
Requires(postun): initscripts
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
%description server
|
|
|
e5a588 |
This is the remote script compilation server component of systemtap.
|
|
|
e5a588 |
It announces itself to nearby clients with avahi (if available), and
|
|
|
e5a588 |
compiles systemtap scripts to kernel objects on their demand.
|
|
|
e5a588 |
|
|
|
e5a588 |
|
|
|
e5a588 |
%package devel
|
|
|
e5a588 |
Summary: Programmable system-wide instrumentation system - development headers, tools
|
|
|
e5a588 |
License: GPLv2+
|
|
|
e5a588 |
URL: http://sourceware.org/systemtap/
|
|
|
e5a588 |
|
|
|
e5a588 |
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 20
|
|
|
e5a588 |
Recommends: (kernel-debug-devel if kernel-debug)
|
|
|
e5a588 |
Recommends: (kernel-devel if kernel)
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
Requires: kernel-devel-uname-r
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
Requires: gcc make
|
|
|
e5a588 |
Conflicts: systemtap-client < %{version}-%{release}
|
|
|
e5a588 |
Conflicts: systemtap-server < %{version}-%{release}
|
|
|
e5a588 |
Conflicts: systemtap-runtime < %{version}-%{release}
|
|
|
e5a588 |
# Suggest: kernel-debuginfo
|
|
|
e5a588 |
|
|
|
e5a588 |
%description devel
|
|
|
e5a588 |
This package contains the components needed to compile a systemtap
|
|
|
e5a588 |
script from source form into executable (.ko) forms. It may be
|
|
|
e5a588 |
installed on a self-contained developer workstation (along with the
|
|
|
e5a588 |
systemtap-client and systemtap-runtime packages), or on a dedicated
|
|
|
e5a588 |
remote server (alongside the systemtap-server package). It includes
|
|
|
e5a588 |
a copy of the standard tapset library and the runtime library C files.
|
|
|
e5a588 |
|
|
|
e5a588 |
|
|
|
e5a588 |
%package runtime
|
|
|
e5a588 |
Summary: Programmable system-wide instrumentation system - runtime
|
|
|
e5a588 |
License: GPLv2+
|
|
|
e5a588 |
URL: http://sourceware.org/systemtap/
|
|
|
e5a588 |
Requires(pre): shadow-utils
|
|
|
e5a588 |
Conflicts: systemtap-devel < %{version}-%{release}
|
|
|
e5a588 |
Conflicts: systemtap-server < %{version}-%{release}
|
|
|
e5a588 |
Conflicts: systemtap-client < %{version}-%{release}
|
|
|
e5a588 |
|
|
|
e5a588 |
%description runtime
|
|
|
e5a588 |
SystemTap runtime contains the components needed to execute
|
|
|
e5a588 |
a systemtap script that was already compiled into a module
|
|
|
e5a588 |
using a local or remote systemtap-devel installation.
|
|
|
e5a588 |
|
|
|
e5a588 |
|
|
|
e5a588 |
%package client
|
|
|
e5a588 |
Summary: Programmable system-wide instrumentation system - client
|
|
|
e5a588 |
License: GPLv2+
|
|
|
e5a588 |
URL: http://sourceware.org/systemtap/
|
|
|
e5a588 |
Requires: zip unzip
|
|
|
e5a588 |
Requires: systemtap-runtime = %{version}-%{release}
|
|
|
e5a588 |
Requires: coreutils grep sed unzip zip
|
|
|
e5a588 |
Requires: openssh-clients
|
|
|
e5a588 |
Conflicts: systemtap-devel < %{version}-%{release}
|
|
|
e5a588 |
Conflicts: systemtap-server < %{version}-%{release}
|
|
|
e5a588 |
Conflicts: systemtap-runtime < %{version}-%{release}
|
|
|
e5a588 |
%if %{with_mokutil}
|
|
|
e5a588 |
Requires: mokutil
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
%description client
|
|
|
e5a588 |
This package contains/requires the components needed to develop
|
|
|
e5a588 |
systemtap scripts, and compile them using a local systemtap-devel
|
|
|
e5a588 |
or a remote systemtap-server installation, then run them using a
|
|
|
e5a588 |
local or remote systemtap-runtime. It includes script samples and
|
|
|
e5a588 |
documentation, and a copy of the tapset library for reference.
|
|
|
e5a588 |
|
|
|
e5a588 |
|
|
|
e5a588 |
%package initscript
|
|
|
e5a588 |
Summary: Systemtap Initscripts
|
|
|
e5a588 |
License: GPLv2+
|
|
|
e5a588 |
URL: http://sourceware.org/systemtap/
|
|
|
e5a588 |
Requires: systemtap = %{version}-%{release}
|
|
|
e5a588 |
%if %{with_systemd}
|
|
|
e5a588 |
Requires: systemd
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
Requires(post): chkconfig
|
|
|
e5a588 |
Requires(preun): chkconfig
|
|
|
e5a588 |
Requires(preun): initscripts
|
|
|
e5a588 |
Requires(postun): initscripts
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
%description initscript
|
|
|
e5a588 |
This package includes a SysVinit script to launch selected systemtap
|
|
|
e5a588 |
scripts at system startup, along with a dracut module for early
|
|
|
e5a588 |
boot-time probing if supported.
|
|
|
e5a588 |
|
|
|
e5a588 |
|
|
|
e5a588 |
%package sdt-devel
|
|
|
e5a588 |
Summary: Static probe support tools
|
|
|
e5a588 |
License: GPLv2+ and Public Domain
|
|
|
e5a588 |
URL: http://sourceware.org/systemtap/
|
|
|
e5a588 |
%if %{with_pyparsing}
|
|
|
e5a588 |
%if %{with_python3}
|
|
|
e5a588 |
Requires: python3-pyparsing
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
%if 0%{?rhel} >= 7
|
|
|
e5a588 |
Requires: pyparsing
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
Requires: python2-pyparsing
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
%description sdt-devel
|
|
|
e5a588 |
This package includes the <sys/sdt.h> header file used for static
|
|
|
e5a588 |
instrumentation compiled into userspace programs and libraries, along
|
|
|
e5a588 |
with the optional dtrace-compatibility preprocessor to process related
|
|
|
e5a588 |
.d files into tracing-macro-laden .h headers.
|
|
|
e5a588 |
|
|
|
e5a588 |
|
|
|
e5a588 |
%package testsuite
|
|
|
e5a588 |
Summary: Instrumentation System Testsuite
|
|
|
e5a588 |
License: GPLv2+
|
|
|
e5a588 |
URL: http://sourceware.org/systemtap/
|
|
|
e5a588 |
Requires: systemtap = %{version}-%{release}
|
|
|
e5a588 |
Requires: systemtap-sdt-devel = %{version}-%{release}
|
|
|
e5a588 |
Requires: systemtap-server = %{version}-%{release}
|
|
|
e5a588 |
Requires: dejagnu which elfutils grep nc
|
|
|
e5a588 |
Requires: gcc gcc-c++ make glibc-devel
|
|
|
e5a588 |
# testsuite/systemtap.base/ptrace.exp needs strace
|
|
|
e5a588 |
Requires: strace
|
|
|
e5a588 |
# testsuite/systemtap.base/ipaddr.exp needs nc. Unfortunately, the rpm
|
|
|
e5a588 |
# that provides nc has changed over time (from 'nc' to
|
|
|
e5a588 |
# 'nmap-ncat'). So, we'll do a file-based require.
|
|
|
e5a588 |
Requires: /usr/bin/nc
|
|
|
e5a588 |
%ifnarch ia64 ppc64le aarch64
|
|
|
e5a588 |
%if 0%{?fedora} >= 21 || 0%{?rhel} >= 8
|
|
|
e5a588 |
# no prelink
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
Requires: prelink
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
# testsuite/systemtap.server/client.exp needs avahi
|
|
|
e5a588 |
Requires: avahi
|
|
|
e5a588 |
%if %{with_crash}
|
|
|
e5a588 |
# testsuite/systemtap.base/crash.exp needs crash
|
|
|
e5a588 |
Requires: crash
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%if %{with_java}
|
|
|
e5a588 |
Requires: systemtap-runtime-java = %{version}-%{release}
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%if %{with_python2_probes}
|
|
|
e5a588 |
Requires: systemtap-runtime-python2 = %{version}-%{release}
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%if %{with_python3_probes}
|
|
|
e5a588 |
Requires: systemtap-runtime-python3 = %{version}-%{release}
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%ifarch x86_64
|
|
|
e5a588 |
Requires: /usr/lib/libc.so
|
|
|
e5a588 |
# ... and /usr/lib/libgcc_s.so.*
|
|
|
e5a588 |
# ... and /usr/lib/libstdc++.so.*
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%if 0%{?fedora} >= 18
|
|
|
e5a588 |
Requires: stress
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
# The following "meta" files for the systemtap examples run "perf":
|
|
|
e5a588 |
# testsuite/systemtap.examples/hw_watch_addr.meta
|
|
|
e5a588 |
# testsuite/systemtap.examples/memory/hw_watch_sym.meta
|
|
|
e5a588 |
Requires: perf
|
|
|
e5a588 |
|
|
|
e5a588 |
%description testsuite
|
|
|
e5a588 |
This package includes the dejagnu-based systemtap stress self-testing
|
|
|
e5a588 |
suite. This may be used by system administrators to thoroughly check
|
|
|
e5a588 |
systemtap on the current system.
|
|
|
e5a588 |
|
|
|
e5a588 |
|
|
|
e5a588 |
%if %{with_java}
|
|
|
e5a588 |
%package runtime-java
|
|
|
e5a588 |
Summary: Systemtap Java Runtime Support
|
|
|
e5a588 |
License: GPLv2+
|
|
|
e5a588 |
URL: http://sourceware.org/systemtap/
|
|
|
e5a588 |
Requires: systemtap-runtime = %{version}-%{release}
|
|
|
e5a588 |
Requires: byteman > 2.0
|
|
|
e5a588 |
Requires: iproute
|
|
|
e5a588 |
Requires: java-devel
|
|
|
e5a588 |
|
|
|
e5a588 |
%description runtime-java
|
|
|
e5a588 |
This package includes support files needed to run systemtap scripts
|
|
|
e5a588 |
that probe Java processes running on the OpenJDK runtimes using Byteman.
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
%if %{with_python2_probes}
|
|
|
e5a588 |
%package runtime-python2
|
|
|
e5a588 |
Summary: Systemtap Python 2 Runtime Support
|
|
|
e5a588 |
License: GPLv2+
|
|
|
e5a588 |
URL: http://sourceware.org/systemtap/
|
|
|
e5a588 |
Requires: systemtap-runtime = %{version}-%{release}
|
|
|
e5a588 |
|
|
|
e5a588 |
%description runtime-python2
|
|
|
e5a588 |
This package includes support files needed to run systemtap scripts
|
|
|
e5a588 |
that probe python 2 processes.
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
%if %{with_python3_probes}
|
|
|
e5a588 |
%package runtime-python3
|
|
|
e5a588 |
Summary: Systemtap Python 3 Runtime Support
|
|
|
e5a588 |
License: GPLv2+
|
|
|
e5a588 |
URL: http://sourceware.org/systemtap/
|
|
|
e5a588 |
Requires: systemtap-runtime = %{version}-%{release}
|
|
|
e5a588 |
|
|
|
e5a588 |
%if ! (%{with_python2_probes})
|
|
|
e5a588 |
# Provide an clean upgrade path when the python2 package is removed
|
|
|
e5a588 |
Obsoletes: %{name}-runtime-python2 < %{version}-%{release}
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
%description runtime-python3
|
|
|
e5a588 |
This package includes support files needed to run systemtap scripts
|
|
|
e5a588 |
that probe python 3 processes.
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
%if %{with_python3}
|
|
|
e5a588 |
%package exporter
|
|
|
e5a588 |
Summary: Systemtap-prometheus interoperation mechanism
|
|
|
e5a588 |
License: GPLv2+
|
|
|
e5a588 |
URL: http://sourceware.org/systemtap/
|
|
|
e5a588 |
Requires: systemtap-runtime = %{version}-%{release}
|
|
|
e5a588 |
|
|
|
e5a588 |
%description exporter
|
|
|
e5a588 |
This package includes files for a systemd service that manages
|
|
|
e5a588 |
systemtap sessions and relays prometheus metrics from the sessions
|
|
|
e5a588 |
to remote requesters on demand.
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
%if %{with_virthost}
|
|
|
e5a588 |
%package runtime-virthost
|
|
|
e5a588 |
Summary: Systemtap Cross-VM Instrumentation - host
|
|
|
e5a588 |
License: GPLv2+
|
|
|
e5a588 |
URL: http://sourceware.org/systemtap/
|
|
|
e5a588 |
Requires: libvirt >= 1.0.2
|
|
|
e5a588 |
Requires: libxml2
|
|
|
e5a588 |
|
|
|
e5a588 |
%description runtime-virthost
|
|
|
e5a588 |
This package includes the components required to run systemtap scripts
|
|
|
e5a588 |
inside a libvirt-managed domain from the host without using a network
|
|
|
e5a588 |
connection.
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
%if %{with_virtguest}
|
|
|
e5a588 |
%package runtime-virtguest
|
|
|
e5a588 |
Summary: Systemtap Cross-VM Instrumentation - guest
|
|
|
e5a588 |
License: GPLv2+
|
|
|
e5a588 |
URL: http://sourceware.org/systemtap/
|
|
|
e5a588 |
Requires: systemtap-runtime = %{version}-%{release}
|
|
|
e5a588 |
%if %{with_systemd}
|
|
|
e5a588 |
Requires(post): findutils coreutils
|
|
|
e5a588 |
Requires(preun): grep coreutils
|
|
|
e5a588 |
Requires(postun): grep coreutils
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
Requires(post): chkconfig initscripts
|
|
|
e5a588 |
Requires(preun): chkconfig initscripts
|
|
|
e5a588 |
Requires(postun): initscripts
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
%description runtime-virtguest
|
|
|
e5a588 |
This package installs the services necessary on a virtual machine for a
|
|
|
e5a588 |
systemtap-runtime-virthost machine to execute systemtap scripts.
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
# ------------------------------------------------------------------------
|
|
|
e5a588 |
|
|
|
e5a588 |
%prep
|
|
|
9c9967 |
%setup -q
|
|
|
1e42c9 |
%patch1 -p1
|
|
|
1e42c9 |
%patch2 -p1
|
|
|
e5a588 |
|
|
|
e5a588 |
%build
|
|
|
e5a588 |
|
|
|
e5a588 |
# Enable/disable the dyninst pure-userspace backend
|
|
|
e5a588 |
%if %{with_dyninst}
|
|
|
e5a588 |
%global dyninst_config --with-dyninst
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
%global dyninst_config --without-dyninst
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
# Enable/disable the sqlite coverage testing support
|
|
|
e5a588 |
%if %{with_sqlite}
|
|
|
e5a588 |
%global sqlite_config --enable-sqlite
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
%global sqlite_config --disable-sqlite
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
# Enable/disable the crash extension
|
|
|
e5a588 |
%if %{with_crash}
|
|
|
e5a588 |
%global crash_config --enable-crash
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
%global crash_config --disable-crash
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
# Enable/disable the code to find and suggest needed rpms
|
|
|
e5a588 |
%if %{with_rpm}
|
|
|
e5a588 |
%global rpm_config --with-rpm
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
%global rpm_config --without-rpm
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
%if %{with_docs}
|
|
|
e5a588 |
%if %{with_htmldocs}
|
|
|
e5a588 |
%global docs_config --enable-docs --enable-htmldocs
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
%global docs_config --enable-docs --disable-htmldocs
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
%global docs_config --enable-docs=prebuilt
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
# Enable pie as configure defaults to disabling it
|
|
|
e5a588 |
%if %{pie_supported}
|
|
|
e5a588 |
%global pie_config --enable-pie
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
%global pie_config --disable-pie
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
|
|
|
e5a588 |
%if %{with_java}
|
|
|
e5a588 |
%global java_config --with-java=%{_jvmdir}/java
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
%global java_config --without-java
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
%if %{with_python3}
|
|
|
e5a588 |
%global python3_config --with-python3
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
%global python3_config --without-python3
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%if %{with_python2_probes}
|
|
|
e5a588 |
%global python2_probes_config --with-python2-probes
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
%global python2_probes_config --without-python2-probes
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%if %{with_python3_probes}
|
|
|
e5a588 |
%global python3_probes_config --with-python3-probes
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
%global python3_probes_config --without-python3-probes
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
%if %{with_virthost}
|
|
|
e5a588 |
%global virt_config --enable-virt
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
%global virt_config --disable-virt
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
%if %{with_dracut}
|
|
|
e5a588 |
%global dracut_config --with-dracutstap=%{dracutstap} --with-dracutbindir=%{dracutbindir}
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
%global dracut_config %{nil}
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
%if %{with_httpd}
|
|
|
e5a588 |
%global httpd_config --enable-httpd
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
%global httpd_config --disable-httpd
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
%if %{with_bpf}
|
|
|
e5a588 |
%global bpf_config --with-bpf
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
%global bpf_config --without-bpf
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
# We don't ship compileworthy python code, just oddball samples
|
|
|
e5a588 |
%global py_auto_byte_compile 0
|
|
|
e5a588 |
|
|
|
9c9967 |
%configure %{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}"
|
|
|
e5a588 |
make %{?_smp_mflags}
|
|
|
e5a588 |
|
|
|
9c9967 |
|
|
|
e5a588 |
%install
|
|
|
e5a588 |
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
e5a588 |
%find_lang %{name}
|
|
|
e5a588 |
for dir in $(ls -1d $RPM_BUILD_ROOT%{_mandir}/{??,??_??}) ; do
|
|
|
e5a588 |
dir=$(echo $dir | sed -e "s|^$RPM_BUILD_ROOT||")
|
|
|
e5a588 |
lang=$(basename $dir)
|
|
|
e5a588 |
echo "%%lang($lang) $dir/man*/*" >> %{name}.lang
|
|
|
e5a588 |
done
|
|
|
e5a588 |
|
|
|
e5a588 |
ln -s %{_datadir}/systemtap/examples
|
|
|
e5a588 |
|
|
|
e5a588 |
# Fix paths in the example scripts.
|
|
|
e5a588 |
find $RPM_BUILD_ROOT%{_datadir}/systemtap/examples -type f -name '*.stp' -print0 | xargs -0 sed -i -r -e '1s@^#!.+stap@#!%{_bindir}/stap@'
|
|
|
e5a588 |
|
|
|
e5a588 |
# To make rpmlint happy, remove any .gitignore files in the testsuite.
|
|
|
e5a588 |
find testsuite -type f -name '.gitignore' -print0 | xargs -0 rm -f
|
|
|
e5a588 |
|
|
|
e5a588 |
# Because "make install" may install staprun with whatever mode, the
|
|
|
e5a588 |
# post-processing programs rpmbuild runs won't be able to read it.
|
|
|
e5a588 |
# So, we change permissions so that they can read it. We'll set the
|
|
|
e5a588 |
# permissions back to 04110 in the %files section below.
|
|
|
e5a588 |
chmod 755 $RPM_BUILD_ROOT%{_bindir}/staprun
|
|
|
e5a588 |
|
|
|
e5a588 |
#install the useful stap-prep script
|
|
|
e5a588 |
install -c -m 755 stap-prep $RPM_BUILD_ROOT%{_bindir}/stap-prep
|
|
|
e5a588 |
|
|
|
e5a588 |
# Copy over the testsuite
|
|
|
e5a588 |
cp -rp testsuite $RPM_BUILD_ROOT%{_datadir}/systemtap
|
|
|
e5a588 |
|
|
|
e5a588 |
# We want the manuals in the special doc dir, not the generic doc install dir.
|
|
|
e5a588 |
# We build it in place and then move it away so it doesn't get installed
|
|
|
e5a588 |
# twice. rpm can specify itself where the (versioned) docs go with the
|
|
|
e5a588 |
# %doc directive.
|
|
|
e5a588 |
mkdir docs.installed
|
|
|
e5a588 |
mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/*.pdf docs.installed/
|
|
|
e5a588 |
%if %{with_docs}
|
|
|
e5a588 |
%if %{with_htmldocs}
|
|
|
e5a588 |
mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/tapsets docs.installed/
|
|
|
e5a588 |
mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/SystemTap_Beginners_Guide docs.installed/
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
install -D -m 644 macros.systemtap $RPM_BUILD_ROOT%{_rpmmacrodir}/macros.systemtap
|
|
|
e5a588 |
|
|
|
e5a588 |
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/stap-server
|
|
|
e5a588 |
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/stap-server
|
|
|
e5a588 |
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/stap-server/.systemtap
|
|
|
e5a588 |
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/stap-server
|
|
|
e5a588 |
touch $RPM_BUILD_ROOT%{_localstatedir}/log/stap-server/log
|
|
|
e5a588 |
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/cache/systemtap
|
|
|
e5a588 |
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/systemtap
|
|
|
e5a588 |
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
|
|
|
e5a588 |
install -m 644 initscript/logrotate.stap-server $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/stap-server
|
|
|
e5a588 |
|
|
|
e5a588 |
# If using systemd systemtap.service file, retain the old init script in %{_libexecdir} as a helper.
|
|
|
e5a588 |
%if %{with_systemd}
|
|
|
e5a588 |
mkdir -p $RPM_BUILD_ROOT%{_unitdir}
|
|
|
e5a588 |
touch $RPM_BUILD_ROOT%{_unitdir}/systemtap.service
|
|
|
e5a588 |
install -m 644 initscript/systemtap.service $RPM_BUILD_ROOT%{_unitdir}/systemtap.service
|
|
|
e5a588 |
mkdir -p $RPM_BUILD_ROOT%{_sbindir}
|
|
|
e5a588 |
install -m 755 initscript/systemtap $RPM_BUILD_ROOT%{_sbindir}/systemtap-service
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
mkdir -p $RPM_BUILD_ROOT%{initdir}
|
|
|
e5a588 |
install -m 755 initscript/systemtap $RPM_BUILD_ROOT%{initdir}
|
|
|
e5a588 |
mkdir -p $RPM_BUILD_ROOT%{_sbindir}
|
|
|
e5a588 |
ln -sf %{initdir}/systemtap $RPM_BUILD_ROOT%{_sbindir}/systemtap-service
|
|
|
e5a588 |
# TODO CHECK CORRECTNESS: symlink %{_sbindir}/systemtap-service to %{initdir}/systemtap
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/systemtap
|
|
|
e5a588 |
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/systemtap/conf.d
|
|
|
e5a588 |
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/systemtap/script.d
|
|
|
e5a588 |
install -m 644 initscript/config.systemtap $RPM_BUILD_ROOT%{_sysconfdir}/systemtap/config
|
|
|
e5a588 |
|
|
|
e5a588 |
%if %{with_systemd}
|
|
|
e5a588 |
mkdir -p $RPM_BUILD_ROOT%{_unitdir}
|
|
|
e5a588 |
touch $RPM_BUILD_ROOT%{_unitdir}/stap-server.service
|
|
|
e5a588 |
install -m 644 stap-server.service $RPM_BUILD_ROOT%{_unitdir}/stap-server.service
|
|
|
e5a588 |
mkdir -p $RPM_BUILD_ROOT%{_tmpfilesdir}
|
|
|
e5a588 |
install -m 644 stap-server.conf $RPM_BUILD_ROOT%{_tmpfilesdir}/stap-server.conf
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
install -m 755 initscript/stap-server $RPM_BUILD_ROOT%{initdir}
|
|
|
e5a588 |
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/stap-server/conf.d
|
|
|
e5a588 |
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
|
|
|
e5a588 |
install -m 644 initscript/config.stap-server $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/stap-server
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
%if %{with_emacsvim}
|
|
|
e5a588 |
mkdir -p $RPM_BUILD_ROOT%{_emacs_sitelispdir}
|
|
|
e5a588 |
install -p -m 644 emacs/systemtap-mode.el* $RPM_BUILD_ROOT%{_emacs_sitelispdir}
|
|
|
e5a588 |
mkdir -p $RPM_BUILD_ROOT%{_emacs_sitestartdir}
|
|
|
e5a588 |
install -p -m 644 emacs/systemtap-init.el $RPM_BUILD_ROOT%{_emacs_sitestartdir}/systemtap-init.el
|
|
|
e5a588 |
for subdir in ftdetect ftplugin indent syntax
|
|
|
e5a588 |
do
|
|
|
e5a588 |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/$subdir
|
|
|
e5a588 |
install -p -m 644 vim/$subdir/*.vim $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/$subdir
|
|
|
e5a588 |
done
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
%if %{with_virtguest}
|
|
|
e5a588 |
mkdir -p $RPM_BUILD_ROOT%{udevrulesdir}
|
|
|
e5a588 |
%if %{with_systemd}
|
|
|
e5a588 |
install -p -m 644 staprun/guest/99-stapsh.rules $RPM_BUILD_ROOT%{udevrulesdir}
|
|
|
e5a588 |
mkdir -p $RPM_BUILD_ROOT%{_unitdir}
|
|
|
e5a588 |
install -p -m 644 staprun/guest/stapsh@.service $RPM_BUILD_ROOT%{_unitdir}
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
install -p -m 644 staprun/guest/99-stapsh-init.rules $RPM_BUILD_ROOT%{udevrulesdir}
|
|
|
e5a588 |
install -p -m 755 staprun/guest/stapshd $RPM_BUILD_ROOT%{initdir}
|
|
|
e5a588 |
mkdir -p $RPM_BUILD_ROOT%{_libexecdir}/systemtap
|
|
|
e5a588 |
install -p -m 755 staprun/guest/stapsh-daemon $RPM_BUILD_ROOT%{_libexecdir}/systemtap
|
|
|
e5a588 |
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/modules
|
|
|
e5a588 |
# Technically, this is only needed for RHEL5, in which the MODULE_ALIAS is missing, but
|
|
|
e5a588 |
# it does no harm in RHEL6 as well
|
|
|
e5a588 |
install -p -m 755 staprun/guest/virtio_console.modules $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/modules
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
%if %{with_dracut}
|
|
|
e5a588 |
mkdir -p $RPM_BUILD_ROOT%{dracutstap}
|
|
|
e5a588 |
install -p -m 755 initscript/99stap/module-setup.sh $RPM_BUILD_ROOT%{dracutstap}
|
|
|
e5a588 |
install -p -m 755 initscript/99stap/install $RPM_BUILD_ROOT%{dracutstap}
|
|
|
e5a588 |
install -p -m 755 initscript/99stap/check $RPM_BUILD_ROOT%{dracutstap}
|
|
|
e5a588 |
install -p -m 755 initscript/99stap/start-staprun.sh $RPM_BUILD_ROOT%{dracutstap}
|
|
|
e5a588 |
touch $RPM_BUILD_ROOT%{dracutstap}/params.conf
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
%if %{with_specific_python}
|
|
|
e5a588 |
# Some files got ambiguous python shebangs, we fix them after everything else is done
|
|
|
e5a588 |
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" %{buildroot}%{python3_sitearch} %{buildroot}%{_bindir}/*
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
%pre runtime
|
|
|
e5a588 |
getent group stapusr >/dev/null || groupadd -f -g 156 -r stapusr
|
|
|
e5a588 |
getent group stapsys >/dev/null || groupadd -f -g 157 -r stapsys
|
|
|
e5a588 |
getent group stapdev >/dev/null || groupadd -f -g 158 -r stapdev
|
|
|
e5a588 |
exit 0
|
|
|
e5a588 |
|
|
|
e5a588 |
%pre server
|
|
|
e5a588 |
getent group stap-server >/dev/null || groupadd -f -g 155 -r stap-server
|
|
|
e5a588 |
getent passwd stap-server >/dev/null || \
|
|
|
e5a588 |
useradd -c "Systemtap Compile Server" -u 155 -g stap-server -d %{_localstatedir}/lib/stap-server -r -s /sbin/nologin stap-server 2>/dev/null || \
|
|
|
e5a588 |
useradd -c "Systemtap Compile Server" -g stap-server -d %{_localstatedir}/lib/stap-server -r -s /sbin/nologin stap-server
|
|
|
e5a588 |
|
|
|
e5a588 |
%pre testsuite
|
|
|
e5a588 |
getent passwd stapusr >/dev/null || \
|
|
|
e5a588 |
useradd -c "Systemtap 'stapusr' User" -g stapusr -r -s /sbin/nologin stapusr
|
|
|
e5a588 |
getent passwd stapsys >/dev/null || \
|
|
|
e5a588 |
useradd -c "Systemtap 'stapsys' User" -g stapsys -G stapusr -r -s /sbin/nologin stapsys
|
|
|
e5a588 |
getent passwd stapdev >/dev/null || \
|
|
|
e5a588 |
useradd -c "Systemtap 'stapdev' User" -g stapdev -G stapusr -r -s /sbin/nologin stapdev
|
|
|
e5a588 |
exit 0
|
|
|
e5a588 |
|
|
|
e5a588 |
%post server
|
|
|
e5a588 |
|
|
|
e5a588 |
# We have some duplication between the %files listings for the
|
|
|
e5a588 |
# ~stap-server directories and the explicit mkdir/chown/chmod bits
|
|
|
e5a588 |
# here. Part of the reason may be that a preexisting stap-server
|
|
|
e5a588 |
# account may well be placed somewhere other than
|
|
|
e5a588 |
# %{_localstatedir}/lib/stap-server, but we'd like their permissions
|
|
|
e5a588 |
# set similarly.
|
|
|
e5a588 |
|
|
|
e5a588 |
test -e ~stap-server && chmod 750 ~stap-server
|
|
|
e5a588 |
|
|
|
e5a588 |
if [ ! -f ~stap-server/.systemtap/rc ]; then
|
|
|
e5a588 |
mkdir -p ~stap-server/.systemtap
|
|
|
e5a588 |
chown stap-server:stap-server ~stap-server/.systemtap
|
|
|
e5a588 |
# PR16276: guess at a reasonable number for a default --rlimit-nproc
|
|
|
e5a588 |
numcpu=`/usr/bin/getconf _NPROCESSORS_ONLN`
|
|
|
e5a588 |
if [ -z "$numcpu" -o "$numcpu" -lt 1 ]; then numcpu=1; fi
|
|
|
e5a588 |
nproc=`expr $numcpu \* 30`
|
|
|
e5a588 |
echo "--rlimit-as=614400000 --rlimit-cpu=60 --rlimit-nproc=$nproc --rlimit-stack=1024000 --rlimit-fsize=51200000" > ~stap-server/.systemtap/rc
|
|
|
e5a588 |
chown stap-server:stap-server ~stap-server/.systemtap/rc
|
|
|
e5a588 |
fi
|
|
|
e5a588 |
|
|
|
e5a588 |
test -e %{_localstatedir}/log/stap-server/log || {
|
|
|
e5a588 |
touch %{_localstatedir}/log/stap-server/log
|
|
|
e5a588 |
chmod 644 %{_localstatedir}/log/stap-server/log
|
|
|
e5a588 |
chown stap-server:stap-server %{_localstatedir}/log/stap-server/log
|
|
|
e5a588 |
}
|
|
|
e5a588 |
# Prepare the service
|
|
|
e5a588 |
%if %{with_systemd}
|
|
|
e5a588 |
# Note, Fedora policy doesn't allow network services enabled by default
|
|
|
e5a588 |
# /bin/systemctl enable stap-server.service >/dev/null 2>&1 || :
|
|
|
e5a588 |
/bin/systemd-tmpfiles --create %{_tmpfilesdir}/stap-server.conf >/dev/null 2>&1 || :
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
/sbin/chkconfig --add stap-server
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
exit 0
|
|
|
e5a588 |
|
|
|
e5a588 |
%triggerin client -- systemtap-server
|
|
|
e5a588 |
if test -e ~stap-server/.systemtap/ssl/server/stap.cert; then
|
|
|
e5a588 |
# echo Authorizing ssl-peer/trusted-signer certificate for local systemtap-server
|
|
|
e5a588 |
%{_libexecdir}/systemtap/stap-authorize-cert ~stap-server/.systemtap/ssl/server/stap.cert %{_sysconfdir}/systemtap/ssl/client >/dev/null
|
|
|
e5a588 |
%{_libexecdir}/systemtap/stap-authorize-cert ~stap-server/.systemtap/ssl/server/stap.cert %{_sysconfdir}/systemtap/staprun >/dev/null
|
|
|
e5a588 |
fi
|
|
|
e5a588 |
exit 0
|
|
|
e5a588 |
# XXX: corresponding %triggerun?
|
|
|
e5a588 |
|
|
|
e5a588 |
%preun server
|
|
|
e5a588 |
# Check that this is the actual deinstallation of the package, as opposed to
|
|
|
e5a588 |
# just removing the old package on upgrade.
|
|
|
e5a588 |
if [ $1 = 0 ] ; then
|
|
|
e5a588 |
%if %{with_systemd}
|
|
|
e5a588 |
/bin/systemctl --no-reload disable stap-server.service >/dev/null 2>&1 || :
|
|
|
e5a588 |
/bin/systemctl stop stap-server.service >/dev/null 2>&1 || :
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
/sbin/service stap-server stop >/dev/null 2>&1
|
|
|
e5a588 |
/sbin/chkconfig --del stap-server
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
fi
|
|
|
e5a588 |
exit 0
|
|
|
e5a588 |
|
|
|
e5a588 |
%postun server
|
|
|
e5a588 |
# Check whether this is an upgrade of the package.
|
|
|
e5a588 |
# If so, restart the service if it's running
|
|
|
e5a588 |
if [ "$1" -ge "1" ] ; then
|
|
|
e5a588 |
%if %{with_systemd}
|
|
|
e5a588 |
/bin/systemctl condrestart stap-server.service >/dev/null 2>&1 || :
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
/sbin/service stap-server condrestart >/dev/null 2>&1 || :
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
fi
|
|
|
e5a588 |
exit 0
|
|
|
e5a588 |
|
|
|
e5a588 |
%post initscript
|
|
|
e5a588 |
%if %{with_systemd}
|
|
|
e5a588 |
/bin/systemctl enable systemtap.service >/dev/null 2>&1 || :
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
/sbin/chkconfig --add systemtap
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
exit 0
|
|
|
e5a588 |
|
|
|
e5a588 |
%preun initscript
|
|
|
e5a588 |
# Check that this is the actual deinstallation of the package, as opposed to
|
|
|
e5a588 |
# just removing the old package on upgrade.
|
|
|
e5a588 |
if [ $1 = 0 ] ; then
|
|
|
e5a588 |
%if %{with_systemd}
|
|
|
e5a588 |
/bin/systemctl --no-reload disable systemtap.service >/dev/null 2>&1 || :
|
|
|
e5a588 |
/bin/systemctl stop systemtap.service >/dev/null 2>&1 || :
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
/sbin/service systemtap stop >/dev/null 2>&1
|
|
|
e5a588 |
/sbin/chkconfig --del systemtap
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
fi
|
|
|
e5a588 |
exit 0
|
|
|
e5a588 |
|
|
|
e5a588 |
%postun initscript
|
|
|
e5a588 |
# Check whether this is an upgrade of the package.
|
|
|
e5a588 |
# If so, restart the service if it's running
|
|
|
e5a588 |
if [ "$1" -ge "1" ] ; then
|
|
|
e5a588 |
%if %{with_systemd}
|
|
|
e5a588 |
/bin/systemctl condrestart systemtap.service >/dev/null 2>&1 || :
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
/sbin/service systemtap condrestart >/dev/null 2>&1 || :
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
fi
|
|
|
e5a588 |
exit 0
|
|
|
e5a588 |
|
|
|
e5a588 |
%post runtime-virtguest
|
|
|
e5a588 |
%if %{with_systemd}
|
|
|
e5a588 |
# Start services if there are ports present
|
|
|
e5a588 |
if [ -d /dev/virtio-ports ]; then
|
|
|
e5a588 |
(find /dev/virtio-ports -iname 'org.systemtap.stapsh.[0-9]*' -type l \
|
|
|
e5a588 |
| xargs -n 1 basename \
|
|
|
e5a588 |
| xargs -n 1 -I {} /bin/systemctl start stapsh@{}.service) >/dev/null 2>&1 || :
|
|
|
e5a588 |
fi
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
/sbin/chkconfig --add stapshd
|
|
|
e5a588 |
/sbin/chkconfig stapshd on
|
|
|
e5a588 |
/sbin/service stapshd start >/dev/null 2>&1 || :
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
exit 0
|
|
|
e5a588 |
|
|
|
e5a588 |
%preun runtime-virtguest
|
|
|
e5a588 |
# Stop service if this is an uninstall rather than an upgrade
|
|
|
e5a588 |
if [ $1 = 0 ]; then
|
|
|
e5a588 |
%if %{with_systemd}
|
|
|
e5a588 |
# We need to stop all stapsh services. Because they are instantiated from
|
|
|
e5a588 |
# a template service file, we can't simply call disable. We need to find
|
|
|
e5a588 |
# all the running ones and stop them all individually
|
|
|
e5a588 |
for service in `/bin/systemctl --full | grep stapsh@ | cut -d ' ' -f 1`; do
|
|
|
e5a588 |
/bin/systemctl stop $service >/dev/null 2>&1 || :
|
|
|
e5a588 |
done
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
/sbin/service stapshd stop >/dev/null 2>&1
|
|
|
e5a588 |
/sbin/chkconfig --del stapshd
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
fi
|
|
|
e5a588 |
exit 0
|
|
|
e5a588 |
|
|
|
e5a588 |
%postun runtime-virtguest
|
|
|
e5a588 |
# Restart service if this is an upgrade rather than an uninstall
|
|
|
e5a588 |
if [ "$1" -ge "1" ]; then
|
|
|
e5a588 |
%if %{with_systemd}
|
|
|
e5a588 |
# We need to restart all stapsh services. Because they are instantiated from
|
|
|
e5a588 |
# a template service file, we can't simply call restart. We need to find
|
|
|
e5a588 |
# all the running ones and restart them all individually
|
|
|
e5a588 |
for service in `/bin/systemctl --full | grep stapsh@ | cut -d ' ' -f 1`; do
|
|
|
e5a588 |
/bin/systemctl condrestart $service >/dev/null 2>&1 || :
|
|
|
e5a588 |
done
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
/sbin/service stapshd condrestart >/dev/null 2>&1
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
fi
|
|
|
e5a588 |
exit 0
|
|
|
e5a588 |
|
|
|
e5a588 |
%if %{with_python3}
|
|
|
e5a588 |
%if %{with_systemd}
|
|
|
e5a588 |
%preun exporter
|
|
|
e5a588 |
if [ $1 = 0 ] ; then
|
|
|
e5a588 |
/bin/systemctl stop stap-exporter.service >/dev/null 2>&1 || :
|
|
|
e5a588 |
/bin/systemctl disable stap-exporter.service >/dev/null 2>&1 || :
|
|
|
e5a588 |
fi
|
|
|
e5a588 |
exit 0
|
|
|
e5a588 |
|
|
|
e5a588 |
%postun exporter
|
|
|
e5a588 |
# Restart service if this is an upgrade rather than an uninstall
|
|
|
e5a588 |
if [ "$1" -ge "1" ]; then
|
|
|
e5a588 |
/bin/systemctl condrestart stap-exporter >/dev/null 2>&1 || :
|
|
|
e5a588 |
fi
|
|
|
e5a588 |
exit 0
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
%post
|
|
|
e5a588 |
# Remove any previously-built uprobes.ko materials
|
|
|
e5a588 |
(make -C %{_datadir}/systemtap/runtime/uprobes clean) >/dev/null 2>&1 || true
|
|
|
e5a588 |
(/sbin/rmmod uprobes) >/dev/null 2>&1 || true
|
|
|
e5a588 |
|
|
|
e5a588 |
%preun
|
|
|
e5a588 |
# Ditto
|
|
|
e5a588 |
(make -C %{_datadir}/systemtap/runtime/uprobes clean) >/dev/null 2>&1 || true
|
|
|
e5a588 |
(/sbin/rmmod uprobes) >/dev/null 2>&1 || true
|
|
|
e5a588 |
|
|
|
e5a588 |
# ------------------------------------------------------------------------
|
|
|
e5a588 |
|
|
|
e5a588 |
%if %{with_java}
|
|
|
e5a588 |
|
|
|
e5a588 |
%triggerin runtime-java -- java-1.8.0-openjdk, java-1.7.0-openjdk, java-1.6.0-openjdk
|
|
|
e5a588 |
for f in %{_libexecdir}/systemtap/libHelperSDT_*.so; do
|
|
|
e5a588 |
%ifarch %{ix86}
|
|
|
e5a588 |
arch=i386
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
arch=`basename $f | cut -f2 -d_ | cut -f1 -d.`
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
for archdir in %{_jvmdir}/*openjdk*/jre/lib/${arch}; do
|
|
|
e5a588 |
if [ -d ${archdir} ]; then
|
|
|
e5a588 |
ln -sf %{_libexecdir}/systemtap/libHelperSDT_${arch}.so ${archdir}/libHelperSDT_${arch}.so
|
|
|
e5a588 |
ln -sf %{_libexecdir}/systemtap/HelperSDT.jar ${archdir}/../ext/HelperSDT.jar
|
|
|
e5a588 |
fi
|
|
|
e5a588 |
done
|
|
|
e5a588 |
done
|
|
|
e5a588 |
|
|
|
e5a588 |
%triggerun runtime-java -- java-1.8.0-openjdk, java-1.7.0-openjdk, java-1.6.0-openjdk
|
|
|
e5a588 |
for f in %{_libexecdir}/systemtap/libHelperSDT_*.so; do
|
|
|
e5a588 |
%ifarch %{ix86}
|
|
|
e5a588 |
arch=i386
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
arch=`basename $f | cut -f2 -d_ | cut -f1 -d.`
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
for archdir in %{_jvmdir}/*openjdk*/jre/lib/${arch}; do
|
|
|
e5a588 |
rm -f ${archdir}/libHelperSDT_${arch}.so
|
|
|
e5a588 |
rm -f ${archdir}/../ext/HelperSDT.jar
|
|
|
e5a588 |
done
|
|
|
e5a588 |
done
|
|
|
e5a588 |
|
|
|
e5a588 |
%triggerpostun runtime-java -- java-1.8.0-openjdk, java-1.7.0-openjdk, java-1.6.0-openjdk
|
|
|
e5a588 |
# Restore links for any JDKs remaining after a package removal:
|
|
|
e5a588 |
for f in %{_libexecdir}/systemtap/libHelperSDT_*.so; do
|
|
|
e5a588 |
%ifarch %{ix86}
|
|
|
e5a588 |
arch=i386
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
arch=`basename $f | cut -f2 -d_ | cut -f1 -d.`
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
for archdir in %{_jvmdir}/*openjdk*/jre/lib/${arch}; do
|
|
|
e5a588 |
if [ -d ${archdir} ]; then
|
|
|
e5a588 |
ln -sf %{_libexecdir}/systemtap/libHelperSDT_${arch}.so ${archdir}/libHelperSDT_${arch}.so
|
|
|
e5a588 |
ln -sf %{_libexecdir}/systemtap/HelperSDT.jar ${archdir}/../ext/HelperSDT.jar
|
|
|
e5a588 |
fi
|
|
|
e5a588 |
done
|
|
|
e5a588 |
done
|
|
|
e5a588 |
|
|
|
e5a588 |
# XXX: analogous support for other types of JRE/JDK??
|
|
|
e5a588 |
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
# ------------------------------------------------------------------------
|
|
|
e5a588 |
|
|
|
e5a588 |
%files
|
|
|
e5a588 |
# The master "systemtap" rpm doesn't include any files.
|
|
|
e5a588 |
|
|
|
e5a588 |
%files server -f systemtap.lang
|
|
|
e5a588 |
%{_bindir}/stap-server
|
|
|
e5a588 |
%dir %{_libexecdir}/systemtap
|
|
|
e5a588 |
%{_libexecdir}/systemtap/stap-serverd
|
|
|
e5a588 |
%{_libexecdir}/systemtap/stap-start-server
|
|
|
e5a588 |
%{_libexecdir}/systemtap/stap-stop-server
|
|
|
e5a588 |
%{_libexecdir}/systemtap/stap-gen-cert
|
|
|
e5a588 |
%{_libexecdir}/systemtap/stap-sign-module
|
|
|
e5a588 |
%{_libexecdir}/systemtap/stap-authorize-cert
|
|
|
e5a588 |
%{_libexecdir}/systemtap/stap-env
|
|
|
e5a588 |
%{_mandir}/man7/error*
|
|
|
e5a588 |
%{_mandir}/man7/stappaths.7*
|
|
|
e5a588 |
%{_mandir}/man7/warning*
|
|
|
e5a588 |
%{_mandir}/man8/stap-server.8*
|
|
|
e5a588 |
%if %{with_systemd}
|
|
|
e5a588 |
%{_unitdir}/stap-server.service
|
|
|
e5a588 |
%{_tmpfilesdir}/stap-server.conf
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
%{initdir}/stap-server
|
|
|
e5a588 |
%dir %{_sysconfdir}/stap-server/conf.d
|
|
|
e5a588 |
%config(noreplace) %{_sysconfdir}/sysconfig/stap-server
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%config(noreplace) %{_sysconfdir}/logrotate.d/stap-server
|
|
|
e5a588 |
%dir %{_sysconfdir}/stap-server
|
|
|
e5a588 |
%dir %attr(0750,stap-server,stap-server) %{_localstatedir}/lib/stap-server
|
|
|
e5a588 |
%dir %attr(0700,stap-server,stap-server) %{_localstatedir}/lib/stap-server/.systemtap
|
|
|
e5a588 |
%dir %attr(0755,stap-server,stap-server) %{_localstatedir}/log/stap-server
|
|
|
e5a588 |
%ghost %config(noreplace) %attr(0644,stap-server,stap-server) %{_localstatedir}/log/stap-server/log
|
|
|
e5a588 |
%ghost %attr(0755,stap-server,stap-server) %{_localstatedir}/run/stap-server
|
|
|
e5a588 |
%doc README README.unprivileged AUTHORS NEWS
|
|
|
e5a588 |
%{!?_licensedir:%global license %%doc}
|
|
|
e5a588 |
%license COPYING
|
|
|
e5a588 |
|
|
|
e5a588 |
|
|
|
e5a588 |
%files devel -f systemtap.lang
|
|
|
e5a588 |
%{_bindir}/stap
|
|
|
e5a588 |
%{_bindir}/stap-prep
|
|
|
e5a588 |
%{_bindir}/stap-report
|
|
|
e5a588 |
%dir %{_datadir}/systemtap
|
|
|
e5a588 |
%{_datadir}/systemtap/runtime
|
|
|
e5a588 |
%{_datadir}/systemtap/tapset
|
|
|
e5a588 |
%{_mandir}/man1/stap.1*
|
|
|
e5a588 |
%{_mandir}/man1/stap-prep.1*
|
|
|
e5a588 |
%{_mandir}/man1/stap-report.1*
|
|
|
e5a588 |
%{_mandir}/man7/error*
|
|
|
e5a588 |
%{_mandir}/man7/stappaths.7*
|
|
|
e5a588 |
%{_mandir}/man7/warning*
|
|
|
e5a588 |
%doc README README.unprivileged AUTHORS NEWS
|
|
|
e5a588 |
%{!?_licensedir:%global license %%doc}
|
|
|
e5a588 |
%license COPYING
|
|
|
e5a588 |
%if %{with_java}
|
|
|
e5a588 |
%dir %{_libexecdir}/systemtap
|
|
|
e5a588 |
%{_libexecdir}/systemtap/libHelperSDT_*.so
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%if %{with_emacsvim}
|
|
|
e5a588 |
%{_emacs_sitelispdir}/*.el*
|
|
|
e5a588 |
%{_emacs_sitestartdir}/systemtap-init.el
|
|
|
e5a588 |
%{_datadir}/vim/vimfiles/*/*.vim
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
# Notice that the stap-resolve-module-function.py file is used by
|
|
|
e5a588 |
# *both* the python2 and python3 subrpms. Both subrpms use that same
|
|
|
e5a588 |
# python script to help list python probes.
|
|
|
e5a588 |
%if %{with_python3_probes} || %{with_python2_probes}
|
|
|
e5a588 |
%{_libexecdir}/systemtap/python/stap-resolve-module-function.py
|
|
|
e5a588 |
%exclude %{_libexecdir}/systemtap/python/stap-resolve-module-function.py?
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
|
|
|
e5a588 |
%files runtime -f systemtap.lang
|
|
|
e5a588 |
%attr(4110,root,stapusr) %{_bindir}/staprun
|
|
|
e5a588 |
%{_bindir}/stapsh
|
|
|
e5a588 |
%{_bindir}/stap-merge
|
|
|
e5a588 |
%{_bindir}/stap-report
|
|
|
e5a588 |
%if %{with_dyninst}
|
|
|
e5a588 |
%{_bindir}/stapdyn
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%if %{with_bpf}
|
|
|
e5a588 |
%{_bindir}/stapbpf
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%dir %{_libexecdir}/systemtap
|
|
|
e5a588 |
%{_libexecdir}/systemtap/stapio
|
|
|
e5a588 |
%{_libexecdir}/systemtap/stap-authorize-cert
|
|
|
e5a588 |
%if %{with_crash}
|
|
|
e5a588 |
%dir %{_libdir}/systemtap
|
|
|
e5a588 |
%{_libdir}/systemtap/staplog.so*
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%{_mandir}/man1/stap-report.1*
|
|
|
e5a588 |
%{_mandir}/man7/error*
|
|
|
e5a588 |
%{_mandir}/man7/stappaths.7*
|
|
|
e5a588 |
%{_mandir}/man7/warning*
|
|
|
e5a588 |
%{_mandir}/man8/stapsh.8*
|
|
|
e5a588 |
%{_mandir}/man8/staprun.8*
|
|
|
e5a588 |
%if %{with_dyninst}
|
|
|
e5a588 |
%{_mandir}/man8/stapdyn.8*
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%if %{with_bpf}
|
|
|
e5a588 |
%{_mandir}/man8/stapbpf.8*
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%doc README README.security AUTHORS NEWS
|
|
|
e5a588 |
%{!?_licensedir:%global license %%doc}
|
|
|
e5a588 |
%license COPYING
|
|
|
e5a588 |
|
|
|
e5a588 |
|
|
|
e5a588 |
%files client -f systemtap.lang
|
|
|
e5a588 |
%doc README README.unprivileged AUTHORS NEWS
|
|
|
e5a588 |
%{_datadir}/systemtap/examples
|
|
|
e5a588 |
%{!?_licensedir:%global license %%doc}
|
|
|
e5a588 |
%license COPYING
|
|
|
e5a588 |
%doc docs.installed/*.pdf
|
|
|
e5a588 |
%if %{with_docs}
|
|
|
e5a588 |
%if %{with_htmldocs}
|
|
|
e5a588 |
%doc docs.installed/tapsets/*.html
|
|
|
e5a588 |
%doc docs.installed/SystemTap_Beginners_Guide
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%{_bindir}/stap
|
|
|
e5a588 |
%{_bindir}/stap-prep
|
|
|
e5a588 |
%{_bindir}/stap-report
|
|
|
e5a588 |
%{_mandir}/man1/stap.1*
|
|
|
e5a588 |
%{_mandir}/man1/stap-prep.1*
|
|
|
e5a588 |
%{_mandir}/man1/stap-merge.1*
|
|
|
e5a588 |
%{_mandir}/man1/stap-report.1*
|
|
|
e5a588 |
%{_mandir}/man1/stapref.1*
|
|
|
e5a588 |
%{_mandir}/man3/*
|
|
|
e5a588 |
%{_mandir}/man7/error*
|
|
|
e5a588 |
%{_mandir}/man7/stappaths.7*
|
|
|
e5a588 |
%{_mandir}/man7/warning*
|
|
|
e5a588 |
%dir %{_datadir}/systemtap
|
|
|
e5a588 |
%{_datadir}/systemtap/tapset
|
|
|
e5a588 |
|
|
|
e5a588 |
|
|
|
e5a588 |
|
|
|
e5a588 |
%files initscript
|
|
|
e5a588 |
%if %{with_systemd}
|
|
|
e5a588 |
%{_unitdir}/systemtap.service
|
|
|
e5a588 |
%{_sbindir}/systemtap-service
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
%{initdir}/systemtap
|
|
|
e5a588 |
%{_sbindir}/systemtap-service
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%dir %{_sysconfdir}/systemtap
|
|
|
e5a588 |
%dir %{_sysconfdir}/systemtap/conf.d
|
|
|
e5a588 |
%dir %{_sysconfdir}/systemtap/script.d
|
|
|
e5a588 |
%config(noreplace) %{_sysconfdir}/systemtap/config
|
|
|
e5a588 |
%dir %{_localstatedir}/cache/systemtap
|
|
|
e5a588 |
%ghost %{_localstatedir}/run/systemtap
|
|
|
e5a588 |
%{_mandir}/man8/systemtap-service.8*
|
|
|
e5a588 |
%if %{with_dracut}
|
|
|
e5a588 |
%dir %{dracutstap}
|
|
|
e5a588 |
%{dracutstap}/*
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
|
|
|
e5a588 |
%files sdt-devel
|
|
|
e5a588 |
%{_bindir}/dtrace
|
|
|
e5a588 |
%{_includedir}/sys/sdt.h
|
|
|
e5a588 |
%{_includedir}/sys/sdt-config.h
|
|
|
e5a588 |
%{_mandir}/man1/dtrace.1*
|
|
|
e5a588 |
%{_rpmmacrodir}/macros.systemtap
|
|
|
e5a588 |
%doc README AUTHORS NEWS
|
|
|
e5a588 |
%{!?_licensedir:%global license %%doc}
|
|
|
e5a588 |
%license COPYING
|
|
|
e5a588 |
|
|
|
e5a588 |
|
|
|
e5a588 |
%files testsuite
|
|
|
e5a588 |
%dir %{_datadir}/systemtap
|
|
|
e5a588 |
%{_datadir}/systemtap/testsuite
|
|
|
e5a588 |
|
|
|
e5a588 |
|
|
|
e5a588 |
%if %{with_java}
|
|
|
e5a588 |
%files runtime-java
|
|
|
e5a588 |
%dir %{_libexecdir}/systemtap
|
|
|
e5a588 |
%{_libexecdir}/systemtap/libHelperSDT_*.so
|
|
|
e5a588 |
%{_libexecdir}/systemtap/HelperSDT.jar
|
|
|
e5a588 |
%{_libexecdir}/systemtap/stapbm
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
%if %{with_python2_probes}
|
|
|
e5a588 |
%files runtime-python2
|
|
|
e5a588 |
%{python_sitearch}/HelperSDT
|
|
|
e5a588 |
%{python_sitearch}/HelperSDT-*.egg-info
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%if %{with_python3_probes}
|
|
|
e5a588 |
%files runtime-python3
|
|
|
e5a588 |
%{python3_sitearch}/HelperSDT
|
|
|
e5a588 |
%{python3_sitearch}/HelperSDT-*.egg-info
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
%if %{with_virthost}
|
|
|
e5a588 |
%files runtime-virthost
|
|
|
e5a588 |
%{_mandir}/man1/stapvirt.1*
|
|
|
e5a588 |
%{_bindir}/stapvirt
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
%if %{with_virtguest}
|
|
|
e5a588 |
%files runtime-virtguest
|
|
|
e5a588 |
%if %{with_systemd}
|
|
|
e5a588 |
%{udevrulesdir}/99-stapsh.rules
|
|
|
e5a588 |
%{_unitdir}/stapsh@.service
|
|
|
e5a588 |
%else
|
|
|
e5a588 |
%{udevrulesdir}/99-stapsh-init.rules
|
|
|
e5a588 |
%dir %{_libexecdir}/systemtap
|
|
|
e5a588 |
%{_libexecdir}/systemtap/stapsh-daemon
|
|
|
e5a588 |
%{initdir}/stapshd
|
|
|
e5a588 |
%{_sysconfdir}/sysconfig/modules/virtio_console.modules
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
%if %{with_python3}
|
|
|
e5a588 |
%files exporter
|
|
|
e5a588 |
%{_sysconfdir}/stap-exporter
|
|
|
e5a588 |
%{_sysconfdir}/sysconfig/stap-exporter
|
|
|
e5a588 |
%{_unitdir}/stap-exporter.service
|
|
|
e5a588 |
%{_mandir}/man8/stap-exporter.8*
|
|
|
e5a588 |
%{_sbindir}/stap-exporter
|
|
|
e5a588 |
%endif
|
|
|
e5a588 |
|
|
|
e5a588 |
# ------------------------------------------------------------------------
|
|
|
e5a588 |
|
|
|
e5a588 |
# Future new-release entries should be of the form
|
|
|
e5a588 |
# * DDD MMM DD YYYY YOURNAME <YOUREMAIL> - V-R
|
|
|
e5a588 |
# - Upstream release, see wiki page below for detailed notes.
|
|
|
e5a588 |
# http://sourceware.org/systemtap/wiki/SystemTapReleases
|
|
|
e5a588 |
|
|
|
e5a588 |
# PRERELEASE
|
|
|
e5a588 |
%changelog
|
|
|
1e42c9 |
* Tue Jul 28 2020 Frank Ch. Eigler <fche@redhat.com> - 4.3-2
|
|
|
1e42c9 |
- rhbz1857749: uprobes-inode changes
|
|
|
1e42c9 |
- rhbz1855264: @cast adaptations
|
|
|
1e42c9 |
|
|
|
9c9967 |
* Thu Jun 11 2020 Stan Cox <scox@redhat.com> - 4.3-1
|
|
|
9c9967 |
- rhbz1804319: Upstream release.
|
|
|
9c9967 |
|
|
|
e5a588 |
* Tue Feb 11 2020 Frank Ch. Eigler <fche@redhat.com> - 4.2-6
|
|
|
e5a588 |
- rhbz1795196 cont'd: autoconf fix for kernel change to stack_trace_save_regs
|
|
|
e5a588 |
|
|
|
e5a588 |
* Tue Jan 28 2020 Frank Ch. Eigler <fche@redhat.com> - 4.2-5
|
|
|
e5a588 |
- rhbz1795196: kallsyms vs. elfutils/vmlinuz
|
|
|
e5a588 |
|
|
|
e5a588 |
* Thu Jan 23 2020 Frank Ch. Eigler <fche@redhat.com> - 4.2-4
|
|
|
e5a588 |
- rhbz1788662: check for rcu_is_watching() during prologue
|
|
|
e5a588 |
|
|
|
e5a588 |
* Fri Jan 10 2020 Frank Ch. Eigler <fche@redhat.com> - 4.2-3
|
|
|
e5a588 |
- rhbz1788544: stop bytecompiling systemtap-mode.el
|
|
|
e5a588 |
|
|
|
e5a588 |
* Fri Jan 10 2020 Frank Ch. Eigler <fche@redhat.com> - 4.2-2
|
|
|
e5a588 |
- rhbz1788648: aarch64 sdt.h parse [x0, x1]
|
|
|
e5a588 |
|
|
|
e5a588 |
* Tue Nov 19 2019 Frank Ch. Eigler <fche@redhat.com> - 4.2-1
|
|
|
e5a588 |
- rhbz1744989: Upstream release.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Tue Aug 06 2019 Frank Ch. Eigler <fche@redhat.com> - 4.1-6
|
|
|
e5a588 |
- rhbz1732514: add java-devel prereq to systemtap-runtime-java
|
|
|
e5a588 |
|
|
|
e5a588 |
* Wed Jul 31 2019 Serguei Makarov <smakarov@redhat.com> - 4.1-5
|
|
|
e5a588 |
- rhbz1734973: Fix possible stapbpf segfault with foreach string key iteration.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Mon Jul 29 2019 Frank Ch. Eigler <fche@redhat.com> - 4.1-4
|
|
|
e5a588 |
- rhbz1732173 (arm64 syscall parameters)
|
|
|
e5a588 |
|
|
|
e5a588 |
* Tue Jun 04 2019 Stan Cox <scox@redhat.com> - 4.1-3
|
|
|
e5a588 |
- Rebuilt for dyninst 10.1.0
|
|
|
e5a588 |
|
|
|
e5a588 |
* Tue May 14 2019 Frank Ch. Eigler <fche@redhat.com> - 4.1-2
|
|
|
e5a588 |
- Correct GNU_parameter_ref dwarf feature typo.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Tue May 07 2019 Serguei Makarov <smakarov@redhat.com> - 4.1-1
|
|
|
e5a588 |
- Upstream release.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Mon Dec 17 2018 Frank Ch. Eigler <fche@redhat.com> - 4.0-7
|
|
|
e5a588 |
- rhbz1657909: vfs tapset fixes for $cred
|
|
|
e5a588 |
|
|
|
e5a588 |
* Mon Dec 10 2018 William Cohen <wcohen@redhat.com> - 4.0-6
|
|
|
e5a588 |
- rhbz1657857: Please, backport periodic.stp from current upstream aacee6563.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Fri Dec 07 2018 Frank Ch. Eigler <fche@redhat.com> - 4.0-5
|
|
|
e5a588 |
- rhbz1657186: fix/port nfsd.proc4.[read,commit] tapset aliases
|
|
|
e5a588 |
|
|
|
e5a588 |
* Thu Dec 06 2018 Frank Ch. Eigler <fche@redhat.com> - 4.0-4
|
|
|
e5a588 |
- rhbz1656795: support bdflush syscall
|
|
|
e5a588 |
|
|
|
e5a588 |
* Tue Dec 04 2018 Frank Ch. Eigler <fche@redhat.com> - 4.0-3
|
|
|
e5a588 |
- rhbz1655631: change kernel-devel* deps to Recommends:
|
|
|
e5a588 |
|
|
|
e5a588 |
* Wed Nov 14 2018 Serhei Makarov <smakarov@redhat.com> - 4.0-2
|
|
|
e5a588 |
- rhbz1643997: backported string tapset functionality and bugfixes
|
|
|
e5a588 |
|
|
|
e5a588 |
* Sat Oct 13 2018 Frank Ch. Eigler <fche@redhat.com> - 4.0-1
|
|
|
e5a588 |
- Upstream release.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Thu Aug 30 2018 Frank Ch. Eigler <fche@redhat.com> - 4.0-0.20180830git
|
|
|
e5a588 |
- Enable brp-mangle for python scripts (rhbz1619413).
|
|
|
e5a588 |
|
|
|
e5a588 |
* Fri Aug 10 2018 Frank Ch. Eigler <fche@redhat.com> - 4.0-0.20180810git
|
|
|
e5a588 |
- Automated weekly rawhide release
|
|
|
e5a588 |
- Applied spec changes from upstream git
|
|
|
e5a588 |
|
|
|
e5a588 |
* Mon May 14 2018 Frank Ch. Eigler <fche@redhat.com> - 3.3-0.20180508git9c6ac6cda49e.2
|
|
|
e5a588 |
- respin w/ fixed glibc
|
|
|
e5a588 |
|
|
|
e5a588 |
* Tue May 08 2018 Frank Ch. Eigler <fche@redhat.com> - 3.3-0.20180508git9c6ac6cda49e
|
|
|
e5a588 |
- Automated weekly rawhide release
|
|
|
e5a588 |
- Applied spec changes from upstream git
|
|
|
e5a588 |
|
|
|
e5a588 |
* Thu Apr 19 2018 Mark Wielaard <mjw@fedoraproject.org> - 3.2-11
|
|
|
e5a588 |
- Add rhbz1549063.patch (/bin/env -> /usr/bin/env)
|
|
|
e5a588 |
- Add rhbz1566745.patch (4.15 kernel tapset updates)
|
|
|
e5a588 |
- Enable accidentially disabled Suggests: kernel-devel again.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Wed Apr 18 2018 Mark Wielaard <mjw@fedoraproject.org> - 3.2-10
|
|
|
e5a588 |
- Add unwind-fallback.patch
|
|
|
e5a588 |
- rhbz1566422.patch
|
|
|
e5a588 |
|
|
|
e5a588 |
* Tue Apr 17 2018 Mark Wielaard <mjw@fedoraproject.org> - 3.2-9
|
|
|
e5a588 |
- Add unwind-fallback.patch.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Tue Mar 27 2018 Björn Esser <besser82@fedoraproject.org> - 3.2-8
|
|
|
e5a588 |
- Rebuilt for libjson-c.so.4 (json-c v0.13.1) on fc28
|
|
|
e5a588 |
|
|
|
e5a588 |
* Thu Feb 22 2018 Sergey Avseyev <sergey.avseyev@gmail.com> - 3.2-7
|
|
|
e5a588 |
- rhbz1546563 (backport fix for removed timers in kernel 4.15)
|
|
|
e5a588 |
|
|
|
e5a588 |
* Tue Feb 13 2018 Stan Cox <scox@redhat.com> - 3.2-6
|
|
|
e5a588 |
- rebuilt
|
|
|
e5a588 |
|
|
|
e5a588 |
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.2-5
|
|
|
e5a588 |
- Escape macros in %%changelog
|
|
|
e5a588 |
|
|
|
e5a588 |
* Wed Feb 07 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.2-4
|
|
|
e5a588 |
- Fix very old Requires
|
|
|
e5a588 |
|
|
|
e5a588 |
* Sun Dec 10 2017 Björn Esser <besser82@fedoraproject.org> - 3.2-3
|
|
|
e5a588 |
- Rebuilt for libjson-c.so.3
|
|
|
e5a588 |
|
|
|
e5a588 |
* Fri Oct 20 2017 Frank Ch. Eigler <fche@redhat.com> - 3.2-2
|
|
|
e5a588 |
- rhbz1504009 (dtrace -G -o /dev/null)
|
|
|
e5a588 |
|
|
|
e5a588 |
* Wed Oct 18 2017 Frank Ch. Eigler <fche@redhat.com> - 3.2-1
|
|
|
e5a588 |
- Upstream release.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Fri Aug 11 2017 Igor Gnatenko <ignatenko@redhat.com> - 3.2-0.20170516gitc67d8f274b21
|
|
|
e5a588 |
- Rebuilt after RPM update (â„– 3)
|
|
|
e5a588 |
|
|
|
e5a588 |
* Thu Aug 10 2017 Igor Gnatenko <ignatenko@redhat.com> - 3.2-0.20170515gitc67d8f274b21
|
|
|
e5a588 |
- Rebuilt for RPM soname bump
|
|
|
e5a588 |
|
|
|
e5a588 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2-0.20170514gitc67d8f274b21
|
|
|
e5a588 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
e5a588 |
|
|
|
e5a588 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2-0.20170513gitc67d8f274b21
|
|
|
e5a588 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
e5a588 |
|
|
|
e5a588 |
* Fri May 12 2017 Frank Ch. Eigler <fche@redhat.com> - 3.2-0.20170512gitc67d8f274b21
|
|
|
e5a588 |
- Automated weekly rawhide release
|
|
|
e5a588 |
- Applied spec changes from upstream git
|
|
|
e5a588 |
|
|
|
e5a588 |
* Mon Apr 10 2017 Frank Ch. Eigler <fche@redhat.com> - 3.2-0.20170410gitcbf2583808d6
|
|
|
e5a588 |
- Automated weekly rawhide release
|
|
|
e5a588 |
- Applied spec changes from upstream git
|
|
|
e5a588 |
|
|
|
e5a588 |
* Thu Apr 06 2017 Frank Ch. Eigler <fche@redhat.com> - 3.2-0.20170406git83d186dc7f5c
|
|
|
e5a588 |
- Automated weekly rawhide release
|
|
|
e5a588 |
- Applied spec changes from upstream git
|
|
|
e5a588 |
|
|
|
e5a588 |
* Tue Mar 21 2017 Frank Ch. Eigler <fche@redhat.com> - 3.2-0.20170321git272146660f54
|
|
|
e5a588 |
- Automated weekly rawhide release
|
|
|
e5a588 |
- Applied spec changes from upstream git
|
|
|
e5a588 |
|
|
|
e5a588 |
* Fri Mar 10 2017 Stan Cox <scox@redhat.com> - 3.1-2
|
|
|
e5a588 |
- Rebuild for dyninst 9.3
|
|
|
e5a588 |
|
|
|
e5a588 |
* Fri Feb 17 2017 Frank Ch. Eigler <fche@redhat.com> - 3.1-1
|
|
|
e5a588 |
- Upstream release.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Sun Mar 27 2016 Frank Ch. Eigler <fche@redhat.com> - 3.0-1
|
|
|
e5a588 |
- Upstream release.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Thu Oct 08 2015 Frank Ch. Eigler <fche@redhat.com> - 2.9-1
|
|
|
e5a588 |
- Upstream release.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Wed Jun 17 2015 Abegail Jakop <ajakop@redhat.com> - 2.8-1
|
|
|
e5a588 |
- Upstream release.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Wed Feb 18 2015 Frank Ch. Eigler <fche@redhat.com> - 2.7-1
|
|
|
e5a588 |
- Upstream release.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Fri Sep 05 2014 Josh Stone <jistone@redhat.com> - 2.6-1
|
|
|
e5a588 |
- Upstream release.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Mon Jul 07 2014 Josh Stone <jistone@redhat.com>
|
|
|
e5a588 |
- Flip with_dyninst to an %%ifarch whitelist.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Wed Apr 30 2014 Jonathan Lebon <jlebon@redhat.com> - 2.5-1
|
|
|
e5a588 |
- Upstream release.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Thu Feb 13 2014 Lukas Berk <lberk@redhat.com>
|
|
|
e5a588 |
- Add directory checks for runtime-java sym links
|
|
|
e5a588 |
|
|
|
e5a588 |
* Mon Jan 06 2014 Jonathan Lebon <jlebon@redhat.com>
|
|
|
e5a588 |
- Added dracut module to initscript package
|
|
|
e5a588 |
|
|
|
e5a588 |
* Wed Nov 06 2013 Frank Ch. Eigler <fche@redhat.com> - 2.4-1
|
|
|
e5a588 |
- Upstream release.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Wed Oct 09 2013 Jonathan Lebon <jlebon@redhat.com>
|
|
|
e5a588 |
- Added runtime-virthost and runtime-virtguest packages.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Thu Jul 25 2013 Frank Ch. Eigler <fche@redhat.com> - 2.3-1
|
|
|
e5a588 |
- Upstream release.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Thu May 16 2013 Frank Ch. Eigler <fche@redhat.com> - 2.2.1-1
|
|
|
e5a588 |
- Upstream release.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Tue May 14 2013 Frank Ch. Eigler <fche@redhat.com> - 2.2-1
|
|
|
e5a588 |
- Upstream release.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Wed Feb 13 2013 Serguei Makarov <smakarov@redhat.com> - 2.1-1
|
|
|
e5a588 |
- Upstream release.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Tue Oct 09 2012 Josh Stone <jistone@redhat.com> - 2.0-1
|
|
|
e5a588 |
- Upstream release.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Fri Jul 13 2012 Peter Robinson <pbrobinson@fedoraproject.org>
|
|
|
e5a588 |
- Fix ifarch statement
|
|
|
e5a588 |
- use file based requires for glibc-devel on x86_64 so that we work in koji
|
|
|
e5a588 |
|
|
|
e5a588 |
* Sun Jun 17 2012 Frank Ch. Eigler <fche@redhat.com> - 1.8-1
|
|
|
e5a588 |
- Upstream release.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Wed Feb 01 2012 Frank Ch. Eigler <fche@redhat.com> - 1.7-1
|
|
|
e5a588 |
- Upstream release.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Fri Jan 13 2012 David Smith <dsmith@redhat.com> - 1.6-2
|
|
|
e5a588 |
- Fixed /bin/mktemp require.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Mon Jul 25 2011 Stan Cox <scox@redhat.com> - 1.6-1
|
|
|
e5a588 |
- Upstream release.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Mon May 23 2011 Stan Cox <scox@redhat.com> - 1.5-1
|
|
|
e5a588 |
- Upstream release.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Mon Jan 17 2011 Frank Ch. Eigler <fche@redhat.com> - 1.4-1
|
|
|
e5a588 |
- Upstream release.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Wed Jul 21 2010 Josh Stone <jistone@redhat.com> - 1.3-1
|
|
|
e5a588 |
- Upstream release.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Mon Mar 22 2010 Frank Ch. Eigler <fche@redhat.com> - 1.2-1
|
|
|
e5a588 |
- Upstream release.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Mon Dec 21 2009 David Smith <dsmith@redhat.com> - 1.1-1
|
|
|
e5a588 |
- Upstream release.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Tue Sep 22 2009 Josh Stone <jistone@redhat.com> - 1.0-1
|
|
|
e5a588 |
- Upstream release.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Tue Aug 4 2009 Josh Stone <jistone@redhat.com> - 0.9.9-1
|
|
|
e5a588 |
- Upstream release.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Thu Jun 11 2009 Josh Stone <jistone@redhat.com> - 0.9.8-1
|
|
|
e5a588 |
- Upstream release.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Thu Apr 23 2009 Josh Stone <jistone@redhat.com> - 0.9.7-1
|
|
|
e5a588 |
- Upstream release.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Fri Mar 27 2009 Josh Stone <jistone@redhat.com> - 0.9.5-1
|
|
|
e5a588 |
- Upstream release.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Wed Mar 18 2009 Will Cohen <wcohen@redhat.com> - 0.9-2
|
|
|
e5a588 |
- Add location of man pages.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Tue Feb 17 2009 Frank Ch. Eigler <fche@redhat.com> - 0.9-1
|
|
|
e5a588 |
- Upstream release.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Thu Nov 13 2008 Frank Ch. Eigler <fche@redhat.com> - 0.8-1
|
|
|
e5a588 |
- Upstream release.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Tue Jul 15 2008 Frank Ch. Eigler <fche@redhat.com> - 0.7-1
|
|
|
e5a588 |
- Upstream release.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Fri Feb 1 2008 Frank Ch. Eigler <fche@redhat.com> - 0.6.1-3
|
|
|
e5a588 |
- Add zlib-devel to buildreq; missing from crash-devel
|
|
|
e5a588 |
- Process testsuite .stp files for #!stap->#!/usr/bin/stap
|
|
|
e5a588 |
|
|
|
e5a588 |
* Fri Jan 18 2008 Frank Ch. Eigler <fche@redhat.com> - 0.6.1-1
|
|
|
e5a588 |
- Add crash-devel buildreq to build staplog.so crash(8) module.
|
|
|
e5a588 |
- Many robustness & functionality improvements:
|
|
|
e5a588 |
|
|
|
e5a588 |
* Wed Dec 5 2007 Will Cohen <wcohen@redhat.com> - 0.6-2
|
|
|
e5a588 |
- Correct Source to point to location contain code.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Thu Aug 9 2007 David Smith <dsmith@redhat.com> - 0.6-1
|
|
|
e5a588 |
- Bumped version, added libcap-devel BuildRequires.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Wed Jul 11 2007 Will Cohen <wcohen@redhat.com> - 0.5.14-2
|
|
|
e5a588 |
- Fix Requires and BuildRequires for sqlite.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Mon Jul 2 2007 Frank Ch. Eigler <fche@redhat.com> - 0.5.14-1
|
|
|
e5a588 |
- Many robustness improvements: 1117, 1134, 1305, 1307, 1570, 1806,
|
|
|
e5a588 |
2033, 2116, 2224, 2339, 2341, 2406, 2426, 2438, 2583, 3037,
|
|
|
e5a588 |
3261, 3282, 3331, 3428 3519, 3545, 3625, 3648, 3880, 3888, 3911,
|
|
|
e5a588 |
3952, 3965, 4066, 4071, 4075, 4078, 4081, 4096, 4119, 4122, 4127,
|
|
|
e5a588 |
4146, 4171, 4179, 4183, 4221, 4224, 4254, 4281, 4319, 4323, 4326,
|
|
|
e5a588 |
4329, 4332, 4337, 4415, 4432, 4444, 4445, 4458, 4467, 4470, 4471,
|
|
|
e5a588 |
4518, 4567, 4570, 4579, 4589, 4609, 4664
|
|
|
e5a588 |
|
|
|
e5a588 |
* Mon Mar 26 2007 Frank Ch. Eigler <fche@redhat.com> - 0.5.13-1
|
|
|
e5a588 |
- An emergency / preliminary refresh, mainly for compatibility
|
|
|
e5a588 |
with 2.6.21-pre kernels.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Mon Jan 1 2007 Frank Ch. Eigler <fche@redhat.com> - 0.5.12-1
|
|
|
e5a588 |
- Many changes, see NEWS file.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Tue Sep 26 2006 David Smith <dsmith@redhat.com> - 0.5.10-1
|
|
|
e5a588 |
- Added 'systemtap-runtime' subpackage.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Wed Jul 19 2006 Roland McGrath <roland@redhat.com> - 0.5.9-1
|
|
|
e5a588 |
- PRs 2669, 2913
|
|
|
e5a588 |
|
|
|
e5a588 |
* Fri Jun 16 2006 Roland McGrath <roland@redhat.com> - 0.5.8-1
|
|
|
e5a588 |
- PRs 2627, 2520, 2228, 2645
|
|
|
e5a588 |
|
|
|
e5a588 |
* Fri May 5 2006 Frank Ch. Eigler <fche@redhat.com> - 0.5.7-1
|
|
|
e5a588 |
- PRs 2511 2453 2307 1813 1944 2497 2538 2476 2568 1341 2058 2220 2437
|
|
|
e5a588 |
1326 2014 2599 2427 2438 2465 1930 2149 2610 2293 2634 2506 2433
|
|
|
e5a588 |
|
|
|
e5a588 |
* Tue Apr 4 2006 Roland McGrath <roland@redhat.com> - 0.5.5-1
|
|
|
e5a588 |
- Many changes, affected PRs include: 2068, 2293, 1989, 2334,
|
|
|
e5a588 |
1304, 2390, 2425, 953.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Wed Feb 1 2006 Frank Ch. Eigler <fche@redhat.com> - 0.5.4-1
|
|
|
e5a588 |
- PRs 1916, 2205, 2142, 2060, 1379
|
|
|
e5a588 |
|
|
|
e5a588 |
* Mon Jan 16 2006 Roland McGrath <roland@redhat.com> - 0.5.3-1
|
|
|
e5a588 |
- Many changes, affected PRs include: 2056, 1144, 1379, 2057,
|
|
|
e5a588 |
2060, 1972, 2140, 2148
|
|
|
e5a588 |
|
|
|
e5a588 |
* Mon Dec 19 2005 Roland McGrath <roland@redhat.com> - 0.5.2-1
|
|
|
e5a588 |
- Fixed build with gcc 4.1, various tapset changes.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Wed Dec 7 2005 Roland McGrath <roland@redhat.com> - 0.5.1-1
|
|
|
e5a588 |
- elfutils update, build changes
|
|
|
e5a588 |
|
|
|
e5a588 |
* Fri Dec 02 2005 Frank Ch. Eigler <fche@redhat.com> - 0.5-1
|
|
|
e5a588 |
- Many fixes and improvements: 1425, 1536, 1505, 1380, 1329, 1828, 1271,
|
|
|
e5a588 |
1339, 1340, 1345, 1837, 1917, 1903, 1336, 1868, 1594, 1564, 1276, 1295
|
|
|
e5a588 |
|
|
|
e5a588 |
* Mon Oct 31 2005 Roland McGrath <roland@redhat.com> - 0.4.2-1
|
|
|
e5a588 |
- Many fixes and improvements: PRs 1344, 1260, 1330, 1295, 1311, 1368,
|
|
|
e5a588 |
1182, 1131, 1332, 1366, 1456, 1271, 1338, 1482, 1477, 1194.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Wed Sep 14 2005 Roland McGrath <roland@redhat.com> - 0.4.1-1
|
|
|
e5a588 |
- Many fixes and improvements since 0.2.2; relevant PRs include:
|
|
|
e5a588 |
1122, 1134, 1155, 1172, 1174, 1175, 1180, 1186, 1187, 1191, 1193, 1195,
|
|
|
e5a588 |
1197, 1205, 1206, 1209, 1213, 1244, 1257, 1258, 1260, 1265, 1268, 1270,
|
|
|
e5a588 |
1289, 1292, 1306, 1335, 1257
|
|
|
e5a588 |
|
|
|
e5a588 |
* Wed Sep 7 2005 Frank Ch. Eigler <fche@redhat.com>
|
|
|
e5a588 |
- Bump version.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Tue Aug 16 2005 Frank Ch. Eigler <fche@redhat.com>
|
|
|
e5a588 |
- Bump version.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Wed Aug 3 2005 Martin Hunt <hunt@redhat.com> - 0.2.2-1
|
|
|
e5a588 |
- Add directory /var/cache/systemtap
|
|
|
e5a588 |
- Add stp_check to /usr/libexec/systemtap
|
|
|
e5a588 |
|
|
|
e5a588 |
* Wed Aug 3 2005 Roland McGrath <roland@redhat.com> - 0.2.1-1
|
|
|
e5a588 |
- New version 0.2.1, various fixes.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Fri Jul 29 2005 Roland McGrath <roland@redhat.com> - 0.2-1
|
|
|
e5a588 |
- New version 0.2, requires elfutils 0.111
|
|
|
e5a588 |
|
|
|
e5a588 |
* Mon Jul 25 2005 Roland McGrath <roland@redhat.com>
|
|
|
e5a588 |
- Clean up spec file, build bundled elfutils.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Thu Jul 21 2005 Martin Hunt <hunt@redhat.com>
|
|
|
e5a588 |
- Set Version to use version from autoconf.
|
|
|
e5a588 |
- Fix up some of the path names.
|
|
|
e5a588 |
- Add Requires and BuildRequires.
|
|
|
e5a588 |
|
|
|
e5a588 |
* Tue Jul 19 2005 Will Cohen <wcohen@redhat.com>
|
|
|
e5a588 |
- Initial creation of RPM.
|