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