Update to pcp-5.2.0 community sources
This commit is contained in:
parent
299eabbaa4
commit
002915bc00
352
pcp.spec
352
pcp.spec
@ -1,6 +1,6 @@
|
|||||||
Name: pcp
|
Name: pcp
|
||||||
Version: 5.1.1
|
Version: 5.2.0
|
||||||
Release: 4%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: System-level performance monitoring and performance management
|
Summary: System-level performance monitoring and performance management
|
||||||
License: GPLv2+ and LGPLv2+ and CC-BY
|
License: GPLv2+ and LGPLv2+ and CC-BY
|
||||||
URL: https://pcp.io
|
URL: https://pcp.io
|
||||||
@ -201,6 +201,10 @@ Obsoletes: pcp-webapi-debuginfo < 5.0.0
|
|||||||
Obsoletes: pcp-webapi < 5.0.0
|
Obsoletes: pcp-webapi < 5.0.0
|
||||||
Provides: pcp-webapi
|
Provides: pcp-webapi
|
||||||
|
|
||||||
|
# PCP discovery service now provided by pmfind
|
||||||
|
Obsoletes: pcp-manager-debuginfo < 5.2.0
|
||||||
|
Obsoletes: pcp-manager < 5.2.0
|
||||||
|
|
||||||
# https://fedoraproject.org/wiki/Packaging "C and C++"
|
# https://fedoraproject.org/wiki/Packaging "C and C++"
|
||||||
BuildRequires: gcc gcc-c++
|
BuildRequires: gcc gcc-c++
|
||||||
BuildRequires: procps autoconf bison flex
|
BuildRequires: procps autoconf bison flex
|
||||||
@ -218,6 +222,7 @@ BuildRequires: %{__python2}-devel
|
|||||||
%endif
|
%endif
|
||||||
%if !%{disable_python3}
|
%if !%{disable_python3}
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: python3-setuptools
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: readline-devel
|
BuildRequires: readline-devel
|
||||||
@ -252,7 +257,7 @@ BuildRequires: perl(ExtUtils::MakeMaker) perl(LWP::UserAgent) perl(JSON)
|
|||||||
BuildRequires: perl(LWP::UserAgent) perl(Time::HiRes) perl(Digest::MD5)
|
BuildRequires: perl(LWP::UserAgent) perl(Time::HiRes) perl(Digest::MD5)
|
||||||
BuildRequires: man %{_hostname_executable}
|
BuildRequires: man %{_hostname_executable}
|
||||||
%if !%{disable_systemd}
|
%if !%{disable_systemd}
|
||||||
BuildRequires: systemd-devel
|
BuildRequires: systemd-devel systemd-rpm-macros
|
||||||
%endif
|
%endif
|
||||||
%if !%{disable_qt}
|
%if !%{disable_qt}
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
@ -285,10 +290,13 @@ Requires: pcp-libs = %{version}-%{release}
|
|||||||
%global _confdir %{_sysconfdir}/pcp
|
%global _confdir %{_sysconfdir}/pcp
|
||||||
%global _logsdir %{_localstatedir}/log/pcp
|
%global _logsdir %{_localstatedir}/log/pcp
|
||||||
%global _pmnsdir %{_localstatedir}/lib/pcp/pmns
|
%global _pmnsdir %{_localstatedir}/lib/pcp/pmns
|
||||||
|
%global _pmnsexecdir %{_libexecdir}/pcp/pmns
|
||||||
%global _tempsdir %{_localstatedir}/lib/pcp/tmp
|
%global _tempsdir %{_localstatedir}/lib/pcp/tmp
|
||||||
%global _pmdasdir %{_localstatedir}/lib/pcp/pmdas
|
%global _pmdasdir %{_localstatedir}/lib/pcp/pmdas
|
||||||
|
%global _pmdasexecdir %{_libexecdir}/pcp/pmdas
|
||||||
%global _testsdir %{_localstatedir}/lib/pcp/testsuite
|
%global _testsdir %{_localstatedir}/lib/pcp/testsuite
|
||||||
%global _selinuxdir %{_localstatedir}/lib/pcp/selinux
|
%global _selinuxdir %{_localstatedir}/lib/pcp/selinux
|
||||||
|
%global _selinuxexecdir %{_libexecdir}/pcp/selinux
|
||||||
%global _logconfdir %{_localstatedir}/lib/pcp/config/pmlogconf
|
%global _logconfdir %{_localstatedir}/lib/pcp/config/pmlogconf
|
||||||
%global _ieconfdir %{_localstatedir}/lib/pcp/config/pmieconf
|
%global _ieconfdir %{_localstatedir}/lib/pcp/config/pmieconf
|
||||||
%global _tapsetdir %{_datadir}/systemtap/tapset
|
%global _tapsetdir %{_datadir}/systemtap/tapset
|
||||||
@ -310,7 +318,7 @@ Requires: pcp-libs = %{version}-%{release}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if !%{disable_systemd}
|
%if !%{disable_systemd}
|
||||||
%global _initddir %{_datadir}/pcp/lib
|
%global _initddir %{_libexecdir}/pcp/lib
|
||||||
%else
|
%else
|
||||||
%global _initddir %{_sysconfdir}/rc.d/init.d
|
%global _initddir %{_sysconfdir}/rc.d/init.d
|
||||||
%global _with_initd --with-rcdir=%{_initddir}
|
%global _with_initd --with-rcdir=%{_initddir}
|
||||||
@ -559,23 +567,6 @@ Requires: setools-console
|
|||||||
Quality assurance test suite for Performance Co-Pilot (PCP).
|
Quality assurance test suite for Performance Co-Pilot (PCP).
|
||||||
# end testsuite
|
# end testsuite
|
||||||
|
|
||||||
#
|
|
||||||
# pcp-manager
|
|
||||||
#
|
|
||||||
%package manager
|
|
||||||
License: GPLv2+
|
|
||||||
Summary: Performance Co-Pilot (PCP) manager daemon
|
|
||||||
URL: https://pcp.io
|
|
||||||
Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
|
|
||||||
|
|
||||||
%description manager
|
|
||||||
An optional daemon (pmmgr) that manages a collection of pmlogger and
|
|
||||||
pmie daemons, for a set of discovered local and remote hosts running
|
|
||||||
the performance metrics collection daemon (pmcd). It ensures these
|
|
||||||
daemons are running when appropriate, and manages their log rotation
|
|
||||||
needs. It is an alternative to the cron-based pmlogger/pmie service
|
|
||||||
scripts.
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# perl-PCP-PMDA. This is the PCP agent perl binding.
|
# perl-PCP-PMDA. This is the PCP agent perl binding.
|
||||||
#
|
#
|
||||||
@ -2216,11 +2207,9 @@ updated policy package.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# This package fails to build with LTO due to undefined symbols. LTO
|
# fix up build version
|
||||||
# was disabled in OpenSuSE as well, but with no real explanation why
|
_build=`echo %{release} | sed -e 's/\..*$//'`
|
||||||
# beyond the undefined symbols. It really shold be investigated further.
|
sed -i "/PACKAGE_BUILD/s/=[0-9]*/=$_build/" VERSION.pcp
|
||||||
# Disable LTO
|
|
||||||
%define _lto_cflags %{nil}
|
|
||||||
|
|
||||||
%if !%{disable_python2} && 0%{?default_python} != 3
|
%if !%{disable_python2} && 0%{?default_python} != 3
|
||||||
export PYTHON=python%{?default_python}
|
export PYTHON=python%{?default_python}
|
||||||
@ -2230,7 +2219,11 @@ make %{?_smp_mflags} default_pcp
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
rm -Rf $RPM_BUILD_ROOT
|
rm -Rf $RPM_BUILD_ROOT
|
||||||
export NO_CHOWN=true DIST_ROOT=$RPM_BUILD_ROOT
|
BACKDIR=`pwd`
|
||||||
|
NO_CHOWN=true
|
||||||
|
DIST_ROOT=$RPM_BUILD_ROOT
|
||||||
|
DIST_TMPFILES=$BACKDIR/install.tmpfiles
|
||||||
|
export NO_CHOWN DIST_ROOT DIST_TMPFILES
|
||||||
make install_pcp
|
make install_pcp
|
||||||
|
|
||||||
PCP_GUI='pmchart|pmconfirm|pmdumptext|pmmessage|pmquery|pmsnap|pmtime'
|
PCP_GUI='pmchart|pmconfirm|pmdumptext|pmmessage|pmquery|pmsnap|pmtime'
|
||||||
@ -2254,6 +2247,12 @@ rm -fr $RPM_BUILD_ROOT/%{_pmdasdir}/infiniband
|
|||||||
%if %{disable_mssql}
|
%if %{disable_mssql}
|
||||||
# remove pmdamssql on platforms lacking MSODBC driver packages.
|
# remove pmdamssql on platforms lacking MSODBC driver packages.
|
||||||
rm -fr $RPM_BUILD_ROOT/%{_pmdasdir}/mssql
|
rm -fr $RPM_BUILD_ROOT/%{_pmdasdir}/mssql
|
||||||
|
rm -fr $RPM_BUILD_ROOT/%{_pmdasexecdir}/mssql
|
||||||
|
rm -fr $RPM_BUILD_ROOT/%{_confdir}/mssql
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if %{disable_sdt}
|
||||||
|
rm -fr $RPM_BUILD_ROOT/%{_tapsetdir}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{disable_selinux}
|
%if %{disable_selinux}
|
||||||
@ -2284,92 +2283,39 @@ sed -i -e '/^# .*_LOCAL=1/s/^# //' $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/{pmc
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
# default chkconfig off (all RPM platforms)
|
# default chkconfig off (all RPM platforms)
|
||||||
for f in $RPM_BUILD_ROOT/%{_initddir}/{pcp,pmcd,pmlogger,pmie,pmmgr,pmproxy}; do
|
for f in $RPM_BUILD_ROOT/%{_initddir}/{pcp,pmcd,pmlogger,pmie,pmproxy}; do
|
||||||
test -f "$f" || continue
|
test -f "$f" || continue
|
||||||
sed -i -e '/^# chkconfig/s/:.*$/: - 95 05/' -e '/^# Default-Start:/s/:.*$/:/' $f
|
sed -i -e '/^# chkconfig/s/:.*$/: - 95 05/' -e '/^# Default-Start:/s/:.*$/:/' $f
|
||||||
done
|
done
|
||||||
|
|
||||||
# list of PMDAs in the base pkg
|
# list of PMDAs in the base pcp package
|
||||||
ls -1 $RPM_BUILD_ROOT/%{_pmdasdir} |\
|
for pmda in jbd2 kvm linux mmv pipe pmcd proc root xfs; do
|
||||||
grep -E -v '^simple|sample|trivial|txmon' |\
|
for alt in %{_pmdasdir} %{_pmdasexecdir} %{_confdir}; do
|
||||||
grep -E -v '^perfevent|perfalloc.1' |\
|
[ -d $RPM_BUILD_ROOT/$alt/$pmda ] && echo $alt/$pmda >>base_pmdas.list
|
||||||
grep -E -v '^ib$|^infiniband' |\
|
done
|
||||||
grep -E -v '^activemq' |\
|
done
|
||||||
grep -E -v '^bonding' |\
|
|
||||||
grep -E -v '^bind2' |\
|
|
||||||
grep -E -v '^dbping' |\
|
|
||||||
grep -E -v '^docker' |\
|
|
||||||
grep -E -v '^ds389log'|\
|
|
||||||
grep -E -v '^ds389' |\
|
|
||||||
grep -E -v '^elasticsearch' |\
|
|
||||||
grep -E -v '^gpfs' |\
|
|
||||||
grep -E -v '^gpsd' |\
|
|
||||||
grep -E -v '^lio' |\
|
|
||||||
grep -E -v '^lustre' |\
|
|
||||||
grep -E -v '^lustrecomm' |\
|
|
||||||
grep -E -v '^memcache' |\
|
|
||||||
grep -E -v '^mysql' |\
|
|
||||||
grep -E -v '^named' |\
|
|
||||||
grep -E -v '^netfilter' |\
|
|
||||||
grep -E -v '^news' |\
|
|
||||||
grep -E -v '^nfsclient' |\
|
|
||||||
grep -E -v '^nginx' |\
|
|
||||||
grep -E -v '^nutcracker' |\
|
|
||||||
grep -E -v '^oracle' |\
|
|
||||||
grep -E -v '^openmetrics' |\
|
|
||||||
grep -E -v '^pdns' |\
|
|
||||||
grep -E -v '^podman' |\
|
|
||||||
grep -E -v '^postfix' |\
|
|
||||||
grep -E -v '^postgresql' |\
|
|
||||||
grep -E -v '^redis' |\
|
|
||||||
grep -E -v '^rsyslog' |\
|
|
||||||
grep -E -v '^samba' |\
|
|
||||||
grep -E -v '^slurm' |\
|
|
||||||
grep -E -v '^snmp' |\
|
|
||||||
grep -E -v '^statsd' |\
|
|
||||||
grep -E -v '^vmware' |\
|
|
||||||
grep -E -v '^zimbra' |\
|
|
||||||
grep -E -v '^dm' |\
|
|
||||||
grep -E -v '^apache' |\
|
|
||||||
grep -E -v '^bash' |\
|
|
||||||
grep -E -v '^cifs' |\
|
|
||||||
grep -E -v '^cisco' |\
|
|
||||||
grep -E -v '^gfs2' |\
|
|
||||||
grep -E -v '^libvirt' |\
|
|
||||||
grep -E -v '^lmsensors' |\
|
|
||||||
grep -E -v '^logger' |\
|
|
||||||
grep -E -v '^mailq' |\
|
|
||||||
grep -E -v '^mounts' |\
|
|
||||||
grep -E -v '^mssql' |\
|
|
||||||
grep -E -v '^netcheck' |\
|
|
||||||
grep -E -v '^nvidia' |\
|
|
||||||
grep -E -v '^openvswitch' |\
|
|
||||||
grep -E -v '^rabbitmq' |\
|
|
||||||
grep -E -v '^roomtemp' |\
|
|
||||||
grep -E -v '^sendmail' |\
|
|
||||||
grep -E -v '^shping' |\
|
|
||||||
grep -E -v '^smart' |\
|
|
||||||
grep -E -v '^summary' |\
|
|
||||||
grep -E -v '^trace' |\
|
|
||||||
grep -E -v '^weblog' |\
|
|
||||||
grep -E -v '^rpm' |\
|
|
||||||
grep -E -v '^json' |\
|
|
||||||
grep -E -v '^mic' |\
|
|
||||||
grep -E -v '^bcc' |\
|
|
||||||
grep -E -v '^bpftrace' |\
|
|
||||||
grep -E -v '^gluster' |\
|
|
||||||
grep -E -v '^zswap' |\
|
|
||||||
grep -E -v '^unbound' |\
|
|
||||||
grep -E -v '^haproxy' |\
|
|
||||||
sed -e 's#^#'%{_pmdasdir}'\/#' >base_pmdas.list
|
|
||||||
|
|
||||||
# all base pcp package files except those split out into sub-packages
|
# list of conf directories in base pcp package
|
||||||
|
for conf in discover labels nssdb pmafm pmcd pmfind pmie pmieconf pmlogconf \
|
||||||
|
proc simple pipe linux pmlogger pmlogrewrite pmproxy pmsearch pmseries; do
|
||||||
|
for alt in %{_confdir} %{_localstatedir}/lib/pcp/config; do
|
||||||
|
replace=""; [ "$alt" = "%{_confdir}" ] && replace="%config(noreplace)"
|
||||||
|
[ -d $RPM_BUILD_ROOT/$alt/$conf ] && echo "$replace $alt/$conf" >>base_conf.list
|
||||||
|
done
|
||||||
|
done
|
||||||
|
|
||||||
|
# all base binary files except those split out into sub-packages
|
||||||
ls -1 $RPM_BUILD_ROOT/%{_bindir} |\
|
ls -1 $RPM_BUILD_ROOT/%{_bindir} |\
|
||||||
grep -E -v 'pmiostat|zabbix|zbxpcp|dstat|pmrep|pcp2csv' |\
|
grep -E -v 'pmiostat|zabbix|zbxpcp|dstat|pmrep|pcp2csv' |\
|
||||||
grep -E -v 'pcp2spark|pcp2graphite|pcp2influxdb|pcp2zabbix' |\
|
grep -E -v 'pcp2spark|pcp2graphite|pcp2influxdb|pcp2zabbix' |\
|
||||||
grep -E -v 'pcp2elasticsearch|pcp2json|pcp2xlsx|pcp2xml' |\
|
grep -E -v 'pcp2elasticsearch|pcp2json|pcp2xlsx|pcp2xml' |\
|
||||||
grep -E -v 'pmdbg|pmclient|pmerr|genpmda' |\
|
grep -E -v 'pmdbg|pmclient|pmerr|genpmda' |\
|
||||||
sed -e 's#^#'%{_bindir}'\/#' >base_bin.list
|
sed -e 's#^#'%{_bindir}'\/#' >base_bin.list
|
||||||
|
|
||||||
|
# all base pmns files
|
||||||
|
echo %{_pmnsdir} >>base_pmns.list
|
||||||
|
echo %{_pmnsexecdir} >>base_pmns.list
|
||||||
|
|
||||||
ls -1 $RPM_BUILD_ROOT/%{_bashcompdir} |\
|
ls -1 $RPM_BUILD_ROOT/%{_bashcompdir} |\
|
||||||
grep -E -v 'pcp2spark|pcp2graphite|pcp2influxdb|pcp2zabbix' |\
|
grep -E -v 'pcp2spark|pcp2graphite|pcp2influxdb|pcp2zabbix' |\
|
||||||
grep -E -v 'pcp2elasticsearch|pcp2json|pcp2xlsx|pcp2xml' |\
|
grep -E -v 'pcp2elasticsearch|pcp2json|pcp2xlsx|pcp2xml' |\
|
||||||
@ -2381,10 +2327,10 @@ sed -e 's#^#'%{_bashcompdir}'\/#' >base_bashcomp.list
|
|||||||
# so its also in pcp-system-tools.
|
# so its also in pcp-system-tools.
|
||||||
%if !%{disable_python2} || !%{disable_python3}
|
%if !%{disable_python2} || !%{disable_python3}
|
||||||
ls -1 $RPM_BUILD_ROOT/%{_bindir} |\
|
ls -1 $RPM_BUILD_ROOT/%{_bindir} |\
|
||||||
egrep -e 'pmiostat|pmrep|dstat|pcp2csv' |\
|
grep -E -e 'pmiostat|pmrep|dstat|pcp2csv' |\
|
||||||
sed -e 's#^#'%{_bindir}'\/#' >pcp-system-tools.list
|
sed -e 's#^#'%{_bindir}'\/#' >pcp-system-tools.list
|
||||||
ls -1 $RPM_BUILD_ROOT/%{_libexecdir}/pcp/bin |\
|
ls -1 $RPM_BUILD_ROOT/%{_libexecdir}/pcp/bin |\
|
||||||
egrep -e 'atop|dmcache|dstat|free|iostat|ipcs|lvmcache|mpstat' \
|
grep -E -e 'atop|dmcache|dstat|free|iostat|ipcs|lvmcache|mpstat' \
|
||||||
-e 'numastat|pidstat|shping|tapestat|uptime|verify' |\
|
-e 'numastat|pidstat|shping|tapestat|uptime|verify' |\
|
||||||
sed -e 's#^#'%{_libexecdir}/pcp/bin'\/#' >>pcp-system-tools.list
|
sed -e 's#^#'%{_libexecdir}/pcp/bin'\/#' >>pcp-system-tools.list
|
||||||
%endif
|
%endif
|
||||||
@ -2392,6 +2338,8 @@ ls -1 $RPM_BUILD_ROOT/%{_libexecdir}/pcp/bin |\
|
|||||||
%if !%{disable_selinux}
|
%if !%{disable_selinux}
|
||||||
ls -1 $RPM_BUILD_ROOT/%{_selinuxdir} |\
|
ls -1 $RPM_BUILD_ROOT/%{_selinuxdir} |\
|
||||||
sed -e 's#^#'%{_selinuxdir}'\/#' > pcp-selinux.list
|
sed -e 's#^#'%{_selinuxdir}'\/#' > pcp-selinux.list
|
||||||
|
ls -1 $RPM_BUILD_ROOT/%{_selinuxexecdir} |\
|
||||||
|
sed -e 's#^#'%{_selinuxexecdir}'\/#' >> pcp-selinux.list
|
||||||
ls -1 $RPM_BUILD_ROOT/%{_libexecdir}/pcp/bin |\
|
ls -1 $RPM_BUILD_ROOT/%{_libexecdir}/pcp/bin |\
|
||||||
grep -E 'selinux-setup' |\
|
grep -E 'selinux-setup' |\
|
||||||
sed -e 's#^#'%{_libexecdir}/pcp/bin'\/#' >> pcp-selinux.list
|
sed -e 's#^#'%{_libexecdir}/pcp/bin'\/#' >> pcp-selinux.list
|
||||||
@ -2403,7 +2351,10 @@ ls -1 $RPM_BUILD_ROOT/%{_libexecdir}/pcp/bin |\
|
|||||||
grep -E -v 'numastat|shping|tapestat|uptime|verify|selinux-setup' |\
|
grep -E -v 'numastat|shping|tapestat|uptime|verify|selinux-setup' |\
|
||||||
%endif
|
%endif
|
||||||
grep -E -v 'pmlogger_daily_report' |\
|
grep -E -v 'pmlogger_daily_report' |\
|
||||||
|
grep -E -v 'pmsnap' |\
|
||||||
sed -e 's#^#'%{_libexecdir}/pcp/bin'\/#' >base_exec.list
|
sed -e 's#^#'%{_libexecdir}/pcp/bin'\/#' >base_exec.list
|
||||||
|
echo %{_libexecdir}/pcp/lib >>base_exec.list
|
||||||
|
|
||||||
ls -1 $RPM_BUILD_ROOT/%{_booksdir} |\
|
ls -1 $RPM_BUILD_ROOT/%{_booksdir} |\
|
||||||
sed -e 's#^#'%{_booksdir}'\/#' > pcp-doc.list
|
sed -e 's#^#'%{_booksdir}'\/#' > pcp-doc.list
|
||||||
ls -1 $RPM_BUILD_ROOT/%{_mandir}/man1 |\
|
ls -1 $RPM_BUILD_ROOT/%{_mandir}/man1 |\
|
||||||
@ -2412,6 +2363,7 @@ ls -1 $RPM_BUILD_ROOT/%{_mandir}/man5 |\
|
|||||||
sed -e 's#^#'%{_mandir}'\/man5\/#' >>pcp-doc.list
|
sed -e 's#^#'%{_mandir}'\/man5\/#' >>pcp-doc.list
|
||||||
ls -1 $RPM_BUILD_ROOT/%{_datadir}/pcp/demos/tutorials |\
|
ls -1 $RPM_BUILD_ROOT/%{_datadir}/pcp/demos/tutorials |\
|
||||||
sed -e 's#^#'%{_datadir}/pcp/demos/tutorials'\/#' >>pcp-doc.list
|
sed -e 's#^#'%{_datadir}/pcp/demos/tutorials'\/#' >>pcp-doc.list
|
||||||
|
|
||||||
%if !%{disable_qt}
|
%if !%{disable_qt}
|
||||||
ls -1 $RPM_BUILD_ROOT/%{_pixmapdir} |\
|
ls -1 $RPM_BUILD_ROOT/%{_pixmapdir} |\
|
||||||
sed -e 's#^#'%{_pixmapdir}'\/#' > pcp-gui.list
|
sed -e 's#^#'%{_pixmapdir}'\/#' > pcp-gui.list
|
||||||
@ -2419,18 +2371,28 @@ ls -1 $RPM_BUILD_ROOT/%{_hicolordir} |\
|
|||||||
sed -e 's#^#'%{_hicolordir}'\/#' >> pcp-gui.list
|
sed -e 's#^#'%{_hicolordir}'\/#' >> pcp-gui.list
|
||||||
cat base_bin.list base_exec.list base_bashcomp.list |\
|
cat base_bin.list base_exec.list base_bashcomp.list |\
|
||||||
grep -E "$PCP_GUI" >> pcp-gui.list
|
grep -E "$PCP_GUI" >> pcp-gui.list
|
||||||
|
echo %{_confdir}/pmchart >>pcp-gui.list
|
||||||
|
echo %{_libexecdir}/pcp/bin/pmsnap >>pcp-gui.list
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
ls -1 $RPM_BUILD_ROOT/%{_logconfdir}/ |\
|
ls -1 $RPM_BUILD_ROOT/%{_logconfdir}/ |\
|
||||||
sed -e 's#^#'%{_logconfdir}'\/#' |\
|
sed -e 's#^#'%{_logconfdir}'\/#' |\
|
||||||
grep -E -v 'zeroconf' >pcp-logconf.list
|
grep -E -v 'zeroconf' >pcp-logconf.list
|
||||||
ls -1 $RPM_BUILD_ROOT/%{_ieconfdir}/ |\
|
ls -1 $RPM_BUILD_ROOT/%{_ieconfdir}/ |\
|
||||||
sed -e 's#^#'%{_ieconfdir}'\/#' |\
|
sed -e 's#^#'%{_ieconfdir}'\/#' |\
|
||||||
grep -E -v 'zeroconf' >pcp-ieconf.list
|
grep -E -v 'zeroconf' >pcp-ieconf.list
|
||||||
cat base_pmdas.list base_bin.list base_exec.list base_bashcomp.list \
|
|
||||||
pcp-logconf.list pcp-ieconf.list |\
|
# generate full base package file list
|
||||||
grep -E -v 'pmdaib|pmmgr|pmsnap|2pcp|pmdas/systemd|zeroconf' |\
|
cat base_pmdas.list base_conf.list base_bin.list base_exec.list base_bashcomp.list \
|
||||||
|
pcp-logconf.list pcp-ieconf.list base_pmns.list |\
|
||||||
|
grep -E -v 'pmdaib|pmsnap|2pcp|pmdas/systemd|zeroconf' |\
|
||||||
grep -E -v "$PCP_GUI|pixmaps|hicolor|pcp-doc|tutorials|selinux" |\
|
grep -E -v "$PCP_GUI|pixmaps|hicolor|pcp-doc|tutorials|selinux" |\
|
||||||
grep -E -v %{_confdir} | grep -E -v %{_logsdir} > base.list
|
grep -E -v %{_logsdir} > base.list
|
||||||
|
%if !%{disable_systemd}
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/%{_tmpfilesdir}
|
||||||
|
mv $DIST_TMPFILES $RPM_BUILD_ROOT/%{_tmpfilesdir}/pcp.conf
|
||||||
|
echo %{_tmpfilesdir}/pcp.conf >> base.list
|
||||||
|
%endif
|
||||||
|
|
||||||
# all devel pcp package files except those split out into sub packages
|
# all devel pcp package files except those split out into sub packages
|
||||||
ls -1 $RPM_BUILD_ROOT/%{_mandir}/man3 |\
|
ls -1 $RPM_BUILD_ROOT/%{_mandir}/man3 |\
|
||||||
@ -2440,6 +2402,10 @@ sed -e 's#^#'%{_datadir}'\/pcp\/demos\/#' | grep -E -v tutorials >> devel.list
|
|||||||
ls -1 $RPM_BUILD_ROOT/%{_bindir} |\
|
ls -1 $RPM_BUILD_ROOT/%{_bindir} |\
|
||||||
grep -E 'pmdbg|pmclient|pmerr|genpmda' |\
|
grep -E 'pmdbg|pmclient|pmerr|genpmda' |\
|
||||||
sed -e 's#^#'%{_bindir}'\/#' >>devel.list
|
sed -e 's#^#'%{_bindir}'\/#' >>devel.list
|
||||||
|
for pmda in sample simple trivial txmon; do
|
||||||
|
echo %{_libexecdir}/pcp/pmdas/$pmda >>devel.list
|
||||||
|
done
|
||||||
|
echo %{_confdir}/simple/simple.conf >>devel.list
|
||||||
|
|
||||||
%pre testsuite
|
%pre testsuite
|
||||||
test -d %{_testsdir} || mkdir -p -m 755 %{_testsdir}
|
test -d %{_testsdir} || mkdir -p -m 755 %{_testsdir}
|
||||||
@ -2472,18 +2438,6 @@ getent passwd pcp >/dev/null || \
|
|||||||
useradd -c "Performance Co-Pilot" -g pcp -d %{_localstatedir}/lib/pcp -M -r -s /sbin/nologin pcp
|
useradd -c "Performance Co-Pilot" -g pcp -d %{_localstatedir}/lib/pcp -M -r -s /sbin/nologin pcp
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%preun manager
|
|
||||||
if [ "$1" -eq 0 ]
|
|
||||||
then
|
|
||||||
%if !%{disable_systemd}
|
|
||||||
systemctl --no-reload disable pmmgr.service >/dev/null 2>&1
|
|
||||||
systemctl stop pmmgr.service >/dev/null 2>&1
|
|
||||||
%else
|
|
||||||
/sbin/service pmmgr stop >/dev/null 2>&1
|
|
||||||
/sbin/chkconfig --del pmmgr >/dev/null 2>&1
|
|
||||||
%endif
|
|
||||||
fi
|
|
||||||
|
|
||||||
%if !%{disable_rpm}
|
%if !%{disable_rpm}
|
||||||
%preun pmda-rpm
|
%preun pmda-rpm
|
||||||
%{pmda_remove "$1" "rpm"}
|
%{pmda_remove "$1" "rpm"}
|
||||||
@ -2759,15 +2713,6 @@ then
|
|||||||
rm -f "$PCP_PMNS_DIR/.NeedRebuild" >/dev/null 2>&1
|
rm -f "$PCP_PMNS_DIR/.NeedRebuild" >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%post manager
|
|
||||||
chown -R pcp:pcp %{_logsdir}/pmmgr 2>/dev/null
|
|
||||||
%if !%{disable_systemd}
|
|
||||||
systemctl condrestart pmmgr.service >/dev/null 2>&1
|
|
||||||
%else
|
|
||||||
/sbin/chkconfig --add pmmgr >/dev/null 2>&1
|
|
||||||
/sbin/service pmmgr condrestart
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%post zeroconf
|
%post zeroconf
|
||||||
PCP_PMDAS_DIR=%{_pmdasdir}
|
PCP_PMDAS_DIR=%{_pmdasdir}
|
||||||
PCP_SYSCONFIG_DIR=%{_sysconfdir}/sysconfig
|
PCP_SYSCONFIG_DIR=%{_sysconfdir}/sysconfig
|
||||||
@ -2814,12 +2759,14 @@ pmieconf -c enable dmthin
|
|||||||
|
|
||||||
%post
|
%post
|
||||||
PCP_PMNS_DIR=%{_pmnsdir}
|
PCP_PMNS_DIR=%{_pmnsdir}
|
||||||
|
PCP_LOG_DIR=%{_logsdir}
|
||||||
chown -R pcp:pcp %{_logsdir}/pmcd 2>/dev/null
|
chown -R pcp:pcp %{_logsdir}/pmcd 2>/dev/null
|
||||||
chown -R pcp:pcp %{_logsdir}/pmlogger 2>/dev/null
|
chown -R pcp:pcp %{_logsdir}/pmlogger 2>/dev/null
|
||||||
chown -R pcp:pcp %{_logsdir}/sa 2>/dev/null
|
chown -R pcp:pcp %{_logsdir}/sa 2>/dev/null
|
||||||
chown -R pcp:pcp %{_logsdir}/pmie 2>/dev/null
|
chown -R pcp:pcp %{_logsdir}/pmie 2>/dev/null
|
||||||
chown -R pcp:pcp %{_logsdir}/pmproxy 2>/dev/null
|
chown -R pcp:pcp %{_logsdir}/pmproxy 2>/dev/null
|
||||||
%{install_file "$PCP_PMNS_DIR" .NeedRebuild}
|
%{install_file "$PCP_PMNS_DIR" .NeedRebuild}
|
||||||
|
%{install_file "$PCP_LOG_DIR/pmlogger" .NeedRewrite}
|
||||||
%if !%{disable_systemd}
|
%if !%{disable_systemd}
|
||||||
%systemd_postun_with_restart pmcd.service
|
%systemd_postun_with_restart pmcd.service
|
||||||
%systemd_post pmcd.service
|
%systemd_post pmcd.service
|
||||||
@ -2856,8 +2803,8 @@ chown -R pcp:pcp %{_logsdir}/pmproxy 2>/dev/null
|
|||||||
|
|
||||||
%triggerun selinux -- container-selinux
|
%triggerun selinux -- container-selinux
|
||||||
%{selinux_handle_policy "$1" "pcpupstream-container"}
|
%{selinux_handle_policy "$1" "pcpupstream-container"}
|
||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files -f base.list
|
%files -f base.list
|
||||||
#
|
#
|
||||||
# Note: there are some headers (e.g. domain.h) and in a few cases some
|
# Note: there are some headers (e.g. domain.h) and in a few cases some
|
||||||
@ -2897,6 +2844,7 @@ chown -R pcp:pcp %{_logsdir}/pmproxy 2>/dev/null
|
|||||||
%attr(0775,pcp,pcp) %{_logsdir}/pmlogger
|
%attr(0775,pcp,pcp) %{_logsdir}/pmlogger
|
||||||
%attr(0775,pcp,pcp) %{_logsdir}/pmie
|
%attr(0775,pcp,pcp) %{_logsdir}/pmie
|
||||||
%attr(0775,pcp,pcp) %{_logsdir}/pmproxy
|
%attr(0775,pcp,pcp) %{_logsdir}/pmproxy
|
||||||
|
%attr(0775,pcp,pcp) %{_logsdir}/pmfind
|
||||||
%{_localstatedir}/lib/pcp/pmns
|
%{_localstatedir}/lib/pcp/pmns
|
||||||
%{_initddir}/pcp
|
%{_initddir}/pcp
|
||||||
%{_initddir}/pmcd
|
%{_initddir}/pmcd
|
||||||
@ -2912,20 +2860,16 @@ chown -R pcp:pcp %{_logsdir}/pmproxy 2>/dev/null
|
|||||||
# services and timers replacing the old cron scripts
|
# services and timers replacing the old cron scripts
|
||||||
%{_unitdir}/pmlogger_check.service
|
%{_unitdir}/pmlogger_check.service
|
||||||
%{_unitdir}/pmlogger_check.timer
|
%{_unitdir}/pmlogger_check.timer
|
||||||
%{_unitdir}/pmlogger_check.path
|
|
||||||
%{_unitdir}/pmlogger_daily.service
|
%{_unitdir}/pmlogger_daily.service
|
||||||
%{_unitdir}/pmlogger_daily.timer
|
%{_unitdir}/pmlogger_daily.timer
|
||||||
%{_unitdir}/pmlogger_daily-poll.service
|
%{_unitdir}/pmlogger_daily-poll.service
|
||||||
%{_unitdir}/pmlogger_daily-poll.timer
|
%{_unitdir}/pmlogger_daily-poll.timer
|
||||||
%{_unitdir}/pmie_check.timer
|
%{_unitdir}/pmie_check.timer
|
||||||
%{_unitdir}/pmie_check.path
|
|
||||||
%{_unitdir}/pmie_check.service
|
%{_unitdir}/pmie_check.service
|
||||||
%{_unitdir}/pmie_check.timer
|
%{_unitdir}/pmie_check.timer
|
||||||
%{_unitdir}/pmie_check.path
|
|
||||||
%{_unitdir}/pmie_daily.service
|
%{_unitdir}/pmie_daily.service
|
||||||
%{_unitdir}/pmie_daily.timer
|
%{_unitdir}/pmie_daily.timer
|
||||||
%{_unitdir}/pmfind.timer
|
%{_unitdir}/pmfind.timer
|
||||||
%{_unitdir}/pmfind.path
|
|
||||||
%config(noreplace) %{_sysconfdir}/sysconfig/pmie_timers
|
%config(noreplace) %{_sysconfdir}/sysconfig/pmie_timers
|
||||||
%config(noreplace) %{_sysconfdir}/sysconfig/pmlogger_timers
|
%config(noreplace) %{_sysconfdir}/sysconfig/pmlogger_timers
|
||||||
%else
|
%else
|
||||||
@ -2992,8 +2936,11 @@ chown -R pcp:pcp %{_logsdir}/pmproxy 2>/dev/null
|
|||||||
%else
|
%else
|
||||||
%config(noreplace) %{_sysconfdir}/cron.d/pcp-pmlogger-daily-report
|
%config(noreplace) %{_sysconfdir}/cron.d/pcp-pmlogger-daily-report
|
||||||
%endif
|
%endif
|
||||||
%{_ieconfdir}/zeroconf
|
%config(noreplace) %{_ieconfdir}/zeroconf
|
||||||
%{_logconfdir}/zeroconf
|
%config(noreplace) %{_logconfdir}/zeroconf
|
||||||
|
%config(noreplace) %{_confdir}/pmlogconf/zeroconf
|
||||||
|
%config(noreplace) %{_confdir}/pmieconf/zeroconf
|
||||||
|
%{_logsdir}/sa
|
||||||
|
|
||||||
#additional pmlogger config files
|
#additional pmlogger config files
|
||||||
|
|
||||||
@ -3002,6 +2949,8 @@ chown -R pcp:pcp %{_logsdir}/pmproxy 2>/dev/null
|
|||||||
%{_includedir}/pcp/builddefs
|
%{_includedir}/pcp/builddefs
|
||||||
%{_includedir}/pcp/buildrules
|
%{_includedir}/pcp/buildrules
|
||||||
%config %{_sysconfdir}/pcp.conf
|
%config %{_sysconfdir}/pcp.conf
|
||||||
|
%dir %{_confdir}/derived
|
||||||
|
%config %{_confdir}/derived/*
|
||||||
%dir %{_localstatedir}/lib/pcp/config/derived
|
%dir %{_localstatedir}/lib/pcp/config/derived
|
||||||
%config %{_localstatedir}/lib/pcp/config/derived/*
|
%config %{_localstatedir}/lib/pcp/config/derived/*
|
||||||
|
|
||||||
@ -3029,10 +2978,12 @@ chown -R pcp:pcp %{_logsdir}/pmproxy 2>/dev/null
|
|||||||
|
|
||||||
%files devel -f devel.list
|
%files devel -f devel.list
|
||||||
%{_datadir}/pcp/examples
|
%{_datadir}/pcp/examples
|
||||||
|
%dir %{_datadir}/pcp/demos
|
||||||
|
|
||||||
# PMDAs that ship src and are not for production use
|
# PMDAs that ship src and are not for production use
|
||||||
# straight out-of-the-box, for devel or QA use only.
|
# straight out-of-the-box, for devel or QA use only.
|
||||||
%{_pmdasdir}/simple
|
%{_pmdasdir}/simple
|
||||||
|
%config(noreplace) %{_confdir}/simple
|
||||||
%{_pmdasdir}/sample
|
%{_pmdasdir}/sample
|
||||||
%{_pmdasdir}/trivial
|
%{_pmdasdir}/trivial
|
||||||
%{_pmdasdir}/txmon
|
%{_pmdasdir}/txmon
|
||||||
@ -3041,16 +2992,6 @@ chown -R pcp:pcp %{_logsdir}/pmproxy 2>/dev/null
|
|||||||
%defattr(-,pcpqa,pcpqa)
|
%defattr(-,pcpqa,pcpqa)
|
||||||
%{_testsdir}
|
%{_testsdir}
|
||||||
|
|
||||||
%files manager
|
|
||||||
%{_initddir}/pmmgr
|
|
||||||
%if !%{disable_systemd}
|
|
||||||
%{_unitdir}/pmmgr.service
|
|
||||||
%endif
|
|
||||||
%{_libexecdir}/pcp/bin/pmmgr
|
|
||||||
%attr(0775,pcp,pcp) %{_logsdir}/pmmgr
|
|
||||||
%config(missingok,noreplace) %{_confdir}/pmmgr
|
|
||||||
%config(noreplace) %{_confdir}/pmmgr/pmmgr.options
|
|
||||||
|
|
||||||
%files import-sar2pcp
|
%files import-sar2pcp
|
||||||
%{_bindir}/sar2pcp
|
%{_bindir}/sar2pcp
|
||||||
|
|
||||||
@ -3069,168 +3010,232 @@ chown -R pcp:pcp %{_logsdir}/pmproxy 2>/dev/null
|
|||||||
%if !%{disable_podman}
|
%if !%{disable_podman}
|
||||||
%files pmda-podman
|
%files pmda-podman
|
||||||
%{_pmdasdir}/podman
|
%{_pmdasdir}/podman
|
||||||
|
%{_pmdasexecdir}/podman
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if !%{disable_statsd}
|
%if !%{disable_statsd}
|
||||||
%files pmda-statsd
|
%files pmda-statsd
|
||||||
%{_pmdasdir}/statsd
|
%{_pmdasdir}/statsd
|
||||||
|
%{_pmdasexecdir}/statsd
|
||||||
|
%{_confdir}/statsd
|
||||||
%config(noreplace) %{_pmdasdir}/statsd/pmdastatsd.ini
|
%config(noreplace) %{_pmdasdir}/statsd/pmdastatsd.ini
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if !%{disable_perfevent}
|
%if !%{disable_perfevent}
|
||||||
%files pmda-perfevent
|
%files pmda-perfevent
|
||||||
%{_pmdasdir}/perfevent
|
%{_pmdasdir}/perfevent
|
||||||
|
%{_pmdasexecdir}/perfevent
|
||||||
|
%{_confdir}/perfevent
|
||||||
%config(noreplace) %{_pmdasdir}/perfevent/perfevent.conf
|
%config(noreplace) %{_pmdasdir}/perfevent/perfevent.conf
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if !%{disable_infiniband}
|
%if !%{disable_infiniband}
|
||||||
%files pmda-infiniband
|
%files pmda-infiniband
|
||||||
%{_pmdasdir}/ib
|
|
||||||
%{_pmdasdir}/infiniband
|
%{_pmdasdir}/infiniband
|
||||||
|
%{_pmdasexecdir}/infiniband
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files pmda-activemq
|
%files pmda-activemq
|
||||||
%{_pmdasdir}/activemq
|
%{_pmdasdir}/activemq
|
||||||
|
%{_pmdasexecdir}/activemq
|
||||||
|
|
||||||
%files pmda-bonding
|
%files pmda-bonding
|
||||||
%{_pmdasdir}/bonding
|
%{_pmdasdir}/bonding
|
||||||
|
%{_pmdasexecdir}/bonding
|
||||||
|
|
||||||
%files pmda-bind2
|
%files pmda-bind2
|
||||||
%{_pmdasdir}/bind2
|
%{_pmdasdir}/bind2
|
||||||
|
%{_pmdasexecdir}/bind2
|
||||||
|
%{_confdir}/bind2
|
||||||
|
|
||||||
%files pmda-dbping
|
%files pmda-dbping
|
||||||
%{_pmdasdir}/dbping
|
%{_pmdasdir}/dbping
|
||||||
|
%{_pmdasexecdir}/dbping
|
||||||
|
|
||||||
%files pmda-ds389log
|
%files pmda-ds389log
|
||||||
%{_pmdasdir}/ds389log
|
%{_pmdasdir}/ds389log
|
||||||
|
%{_pmdasexecdir}/ds389log
|
||||||
|
|
||||||
%files pmda-ds389
|
%files pmda-ds389
|
||||||
%{_pmdasdir}/ds389
|
%{_pmdasdir}/ds389
|
||||||
|
%{_pmdasexecdir}/ds389
|
||||||
|
|
||||||
%files pmda-elasticsearch
|
%files pmda-elasticsearch
|
||||||
%{_pmdasdir}/elasticsearch
|
%{_pmdasdir}/elasticsearch
|
||||||
|
%{_pmdasexecdir}/elasticsearch
|
||||||
|
|
||||||
%files pmda-openvswitch
|
%files pmda-openvswitch
|
||||||
%{_pmdasdir}/openvswitch
|
%{_pmdasdir}/openvswitch
|
||||||
|
%{_pmdasexecdir}/openvswitch
|
||||||
|
|
||||||
%files pmda-rabbitmq
|
%files pmda-rabbitmq
|
||||||
%{_pmdasdir}/rabbitmq
|
%{_pmdasdir}/rabbitmq
|
||||||
|
%{_pmdasexecdir}/rabbitmq
|
||||||
|
%{_confdir}/rabbitmq
|
||||||
|
|
||||||
%files pmda-gpfs
|
%files pmda-gpfs
|
||||||
%{_pmdasdir}/gpfs
|
%{_pmdasdir}/gpfs
|
||||||
|
%{_pmdasexecdir}/gpfs
|
||||||
|
|
||||||
%files pmda-gpsd
|
%files pmda-gpsd
|
||||||
%{_pmdasdir}/gpsd
|
%{_pmdasdir}/gpsd
|
||||||
|
%{_pmdasexecdir}/gpsd
|
||||||
|
|
||||||
%files pmda-docker
|
%files pmda-docker
|
||||||
%{_pmdasdir}/docker
|
%{_pmdasdir}/docker
|
||||||
|
%{_pmdasexecdir}/docker
|
||||||
|
|
||||||
%files pmda-lio
|
%files pmda-lio
|
||||||
%{_pmdasdir}/lio
|
%{_pmdasdir}/lio
|
||||||
|
%{_pmdasexecdir}/lio
|
||||||
|
|
||||||
%files pmda-openmetrics
|
%files pmda-openmetrics
|
||||||
%{_pmdasdir}/openmetrics
|
%{_pmdasdir}/openmetrics
|
||||||
|
%{_pmdasexecdir}/openmetrics
|
||||||
|
%config(noreplace) %{_confdir}/openmetrics
|
||||||
|
|
||||||
%files pmda-lustre
|
%files pmda-lustre
|
||||||
%{_pmdasdir}/lustre
|
%{_pmdasdir}/lustre
|
||||||
|
%{_pmdasexecdir}/lustre
|
||||||
|
%config(noreplace) %{_confdir}/lustre
|
||||||
|
|
||||||
%files pmda-lustrecomm
|
%files pmda-lustrecomm
|
||||||
%{_pmdasdir}/lustrecomm
|
%{_pmdasdir}/lustrecomm
|
||||||
|
%{_pmdasexecdir}/lustrecomm
|
||||||
|
|
||||||
%files pmda-memcache
|
%files pmda-memcache
|
||||||
%{_pmdasdir}/memcache
|
%{_pmdasdir}/memcache
|
||||||
|
%{_pmdasexecdir}/memcache
|
||||||
|
|
||||||
%files pmda-mysql
|
%files pmda-mysql
|
||||||
%{_pmdasdir}/mysql
|
%{_pmdasdir}/mysql
|
||||||
|
%{_pmdasexecdir}/mysql
|
||||||
|
|
||||||
%files pmda-named
|
%files pmda-named
|
||||||
%{_pmdasdir}/named
|
%{_pmdasdir}/named
|
||||||
|
%{_pmdasexecdir}/named
|
||||||
|
|
||||||
%files pmda-netfilter
|
%files pmda-netfilter
|
||||||
%{_pmdasdir}/netfilter
|
%{_pmdasdir}/netfilter
|
||||||
|
%{_pmdasexecdir}/netfilter
|
||||||
|
|
||||||
%files pmda-news
|
%files pmda-news
|
||||||
%{_pmdasdir}/news
|
%{_pmdasdir}/news
|
||||||
|
%{_pmdasexecdir}/news
|
||||||
|
|
||||||
%files pmda-nginx
|
%files pmda-nginx
|
||||||
%{_pmdasdir}/nginx
|
%{_pmdasdir}/nginx
|
||||||
|
%{_pmdasexecdir}/nginx
|
||||||
|
%config(noreplace) %{_confdir}/nginx
|
||||||
|
|
||||||
%files pmda-nfsclient
|
%files pmda-nfsclient
|
||||||
%{_pmdasdir}/nfsclient
|
%{_pmdasdir}/nfsclient
|
||||||
|
%{_pmdasexecdir}/nfsclient
|
||||||
|
|
||||||
%if !%{disable_nutcracker}
|
%if !%{disable_nutcracker}
|
||||||
%files pmda-nutcracker
|
%files pmda-nutcracker
|
||||||
%{_pmdasdir}/nutcracker
|
%{_pmdasdir}/nutcracker
|
||||||
|
%{_pmdasexecdir}/nutcracker
|
||||||
|
%config(noreplace) %{_confdir}/nutcracker
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files pmda-oracle
|
%files pmda-oracle
|
||||||
%{_pmdasdir}/oracle
|
%{_pmdasdir}/oracle
|
||||||
|
%{_pmdasexecdir}/oracle
|
||||||
|
%config(noreplace) %{_confdir}/oracle
|
||||||
|
|
||||||
%files pmda-pdns
|
%files pmda-pdns
|
||||||
%{_pmdasdir}/pdns
|
%{_pmdasdir}/pdns
|
||||||
|
%{_pmdasexecdir}/pdns
|
||||||
|
|
||||||
%files pmda-postfix
|
%files pmda-postfix
|
||||||
%{_pmdasdir}/postfix
|
%{_pmdasdir}/postfix
|
||||||
|
%{_pmdasexecdir}/postfix
|
||||||
|
|
||||||
%files pmda-postgresql
|
%files pmda-postgresql
|
||||||
%{_pmdasdir}/postgresql
|
%{_pmdasdir}/postgresql
|
||||||
%config(noreplace) %{_pmdasdir}/postgresql/pmdapostgresql.conf
|
%{_pmdasexecdir}/postgresql
|
||||||
|
%dir %{_confdir}/postgresql
|
||||||
|
%config(noreplace) %{_confdir}/postgresql/pmdapostgresql.conf
|
||||||
|
|
||||||
%files pmda-redis
|
%files pmda-redis
|
||||||
%{_pmdasdir}/redis
|
%{_pmdasdir}/redis
|
||||||
|
%{_pmdasexecdir}/redis
|
||||||
|
%{_confdir}/redis
|
||||||
|
|
||||||
%files pmda-rsyslog
|
%files pmda-rsyslog
|
||||||
%{_pmdasdir}/rsyslog
|
%{_pmdasdir}/rsyslog
|
||||||
|
%{_pmdasexecdir}/rsyslog
|
||||||
|
|
||||||
%files pmda-samba
|
%files pmda-samba
|
||||||
%{_pmdasdir}/samba
|
%{_pmdasdir}/samba
|
||||||
|
%{_pmdasexecdir}/samba
|
||||||
|
|
||||||
%if !%{disable_snmp}
|
%if !%{disable_snmp}
|
||||||
%files pmda-snmp
|
%files pmda-snmp
|
||||||
%{_pmdasdir}/snmp
|
%{_pmdasdir}/snmp
|
||||||
|
%{_pmdasexecdir}/snmp
|
||||||
|
%{_confdir}/snmp
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files pmda-slurm
|
%files pmda-slurm
|
||||||
%{_pmdasdir}/slurm
|
%{_pmdasdir}/slurm
|
||||||
|
%{_pmdasexecdir}/slurm
|
||||||
|
|
||||||
%files pmda-vmware
|
%files pmda-vmware
|
||||||
%{_pmdasdir}/vmware
|
%{_pmdasdir}/vmware
|
||||||
|
%{_pmdasexecdir}/vmware
|
||||||
|
|
||||||
%files pmda-zimbra
|
%files pmda-zimbra
|
||||||
%{_pmdasdir}/zimbra
|
%{_pmdasdir}/zimbra
|
||||||
|
%{_pmdasexecdir}/zimbra
|
||||||
|
|
||||||
%files pmda-dm
|
%files pmda-dm
|
||||||
%{_pmdasdir}/dm
|
%{_pmdasdir}/dm
|
||||||
|
%{_pmdasexecdir}/dm
|
||||||
%{_ieconfdir}/dm
|
%{_ieconfdir}/dm
|
||||||
|
%dir %{_confdir}/pmieconf/dm
|
||||||
|
%config(noreplace) %{_confdir}/pmieconf/dm
|
||||||
|
|
||||||
%if !%{disable_bcc}
|
%if !%{disable_bcc}
|
||||||
%files pmda-bcc
|
%files pmda-bcc
|
||||||
%{_pmdasdir}/bcc
|
%{_pmdasdir}/bcc
|
||||||
|
%{_pmdasexecdir}/bcc
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if !%{disable_bpftrace}
|
%if !%{disable_bpftrace}
|
||||||
%files pmda-bpftrace
|
%files pmda-bpftrace
|
||||||
%{_pmdasdir}/bpftrace
|
%{_pmdasdir}/bpftrace
|
||||||
|
%{_pmdasexecdir}/bpftrace
|
||||||
|
%config(noreplace) %{_confdir}/bpftrace
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if !%{disable_python2} || !%{disable_python3}
|
%if !%{disable_python2} || !%{disable_python3}
|
||||||
%files pmda-gluster
|
%files pmda-gluster
|
||||||
%{_pmdasdir}/gluster
|
%{_pmdasdir}/gluster
|
||||||
|
%{_pmdasexecdir}/gluster
|
||||||
|
|
||||||
%files pmda-zswap
|
%files pmda-zswap
|
||||||
%{_pmdasdir}/zswap
|
%{_pmdasdir}/zswap
|
||||||
|
%{_pmdasexecdir}/zswap
|
||||||
|
|
||||||
%files pmda-unbound
|
%files pmda-unbound
|
||||||
%{_pmdasdir}/unbound
|
%{_pmdasdir}/unbound
|
||||||
|
%{_pmdasexecdir}/unbound
|
||||||
|
|
||||||
%files pmda-mic
|
%files pmda-mic
|
||||||
%{_pmdasdir}/mic
|
%{_pmdasdir}/mic
|
||||||
|
%{_pmdasexecdir}/mic
|
||||||
|
|
||||||
%files pmda-haproxy
|
%files pmda-haproxy
|
||||||
%{_pmdasdir}/haproxy
|
%{_pmdasdir}/haproxy
|
||||||
|
%{_pmdasexecdir}/haproxy
|
||||||
|
%{_confdir}/haproxy
|
||||||
|
|
||||||
%files pmda-libvirt
|
%files pmda-libvirt
|
||||||
%{_pmdasdir}/libvirt
|
%{_pmdasdir}/libvirt
|
||||||
|
%{_pmdasexecdir}/libvirt
|
||||||
|
%{_confdir}/libvirt
|
||||||
|
|
||||||
%files export-pcp2elasticsearch
|
%files export-pcp2elasticsearch
|
||||||
%{_bindir}/pcp2elasticsearch
|
%{_bindir}/pcp2elasticsearch
|
||||||
@ -3268,83 +3273,112 @@ chown -R pcp:pcp %{_logsdir}/pmproxy 2>/dev/null
|
|||||||
|
|
||||||
%files pmda-lmsensors
|
%files pmda-lmsensors
|
||||||
%{_pmdasdir}/lmsensors
|
%{_pmdasdir}/lmsensors
|
||||||
|
%{_pmdasexecdir}/lmsensors
|
||||||
|
|
||||||
%files pmda-netcheck
|
%files pmda-netcheck
|
||||||
%{_pmdasdir}/netcheck
|
%{_pmdasdir}/netcheck
|
||||||
|
%{_pmdasexecdir}/netcheck
|
||||||
|
%{_confdir}/netcheck
|
||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files export-zabbix-agent
|
%files export-zabbix-agent
|
||||||
%{_libdir}/zabbix
|
%{_libdir}/zabbix
|
||||||
%{_sysconfdir}/zabbix/zabbix_agentd.d/zbxpcp.conf
|
%dir %{_sysconfdir}/zabbix/zabbix_agentd.d
|
||||||
|
%config(noreplace) %{_sysconfdir}/zabbix/zabbix_agentd.d/zbxpcp.conf
|
||||||
|
|
||||||
%if !%{disable_mssql}
|
%if !%{disable_mssql}
|
||||||
%files pmda-mssql
|
%files pmda-mssql
|
||||||
%{_pmdasdir}/mssql
|
%{_pmdasdir}/mssql
|
||||||
|
%{_pmdasexecdir}/mssql
|
||||||
|
%config(noreplace) %{_confdir}/mssql
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if !%{disable_json}
|
%if !%{disable_json}
|
||||||
%files pmda-json
|
%files pmda-json
|
||||||
%{_pmdasdir}/json
|
%{_pmdasdir}/json
|
||||||
|
%{_pmdasexecdir}/json
|
||||||
|
%config(noreplace) %{_confdir}/json
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files pmda-apache
|
%files pmda-apache
|
||||||
%{_pmdasdir}/apache
|
%{_pmdasdir}/apache
|
||||||
|
%{_pmdasexecdir}/apache
|
||||||
|
|
||||||
%files pmda-bash
|
%files pmda-bash
|
||||||
%{_pmdasdir}/bash
|
%{_pmdasdir}/bash
|
||||||
|
%{_pmdasexecdir}/bash
|
||||||
|
|
||||||
%files pmda-cifs
|
%files pmda-cifs
|
||||||
%{_pmdasdir}/cifs
|
%{_pmdasdir}/cifs
|
||||||
|
%{_pmdasexecdir}/cifs
|
||||||
|
|
||||||
%files pmda-cisco
|
%files pmda-cisco
|
||||||
%{_pmdasdir}/cisco
|
%{_pmdasdir}/cisco
|
||||||
|
%{_pmdasexecdir}/cisco
|
||||||
|
|
||||||
%files pmda-gfs2
|
%files pmda-gfs2
|
||||||
%{_pmdasdir}/gfs2
|
%{_pmdasdir}/gfs2
|
||||||
|
%{_pmdasexecdir}/gfs2
|
||||||
|
|
||||||
%files pmda-logger
|
%files pmda-logger
|
||||||
%{_pmdasdir}/logger
|
%{_pmdasdir}/logger
|
||||||
|
%{_pmdasexecdir}/logger
|
||||||
|
|
||||||
%files pmda-mailq
|
%files pmda-mailq
|
||||||
%{_pmdasdir}/mailq
|
%{_pmdasdir}/mailq
|
||||||
|
%{_pmdasexecdir}/mailq
|
||||||
|
|
||||||
%files pmda-mounts
|
%files pmda-mounts
|
||||||
%{_pmdasdir}/mounts
|
%{_pmdasdir}/mounts
|
||||||
|
%{_pmdasexecdir}/mounts
|
||||||
|
%config(noreplace) %{_confdir}/mounts
|
||||||
|
|
||||||
%files pmda-nvidia-gpu
|
%files pmda-nvidia-gpu
|
||||||
%{_pmdasdir}/nvidia
|
%{_pmdasdir}/nvidia
|
||||||
|
%{_pmdasexecdir}/nvidia
|
||||||
|
|
||||||
%files pmda-roomtemp
|
%files pmda-roomtemp
|
||||||
%{_pmdasdir}/roomtemp
|
%{_pmdasdir}/roomtemp
|
||||||
|
%{_pmdasexecdir}/roomtemp
|
||||||
|
|
||||||
%if !%{disable_rpm}
|
%if !%{disable_rpm}
|
||||||
%files pmda-rpm
|
%files pmda-rpm
|
||||||
%{_pmdasdir}/rpm
|
%{_pmdasdir}/rpm
|
||||||
|
%{_pmdasexecdir}/rpm
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files pmda-sendmail
|
%files pmda-sendmail
|
||||||
%{_pmdasdir}/sendmail
|
%{_pmdasdir}/sendmail
|
||||||
|
%{_pmdasexecdir}/sendmail
|
||||||
|
|
||||||
%files pmda-shping
|
%files pmda-shping
|
||||||
%{_pmdasdir}/shping
|
%{_pmdasdir}/shping
|
||||||
|
%{_pmdasexecdir}/shping
|
||||||
|
%config(noreplace) %{_confdir}/shping
|
||||||
|
|
||||||
%files pmda-smart
|
%files pmda-smart
|
||||||
%{_pmdasdir}/smart
|
%{_pmdasdir}/smart
|
||||||
|
%{_pmdasexecdir}/smart
|
||||||
|
|
||||||
%files pmda-summary
|
%files pmda-summary
|
||||||
%{_pmdasdir}/summary
|
%{_pmdasdir}/summary
|
||||||
|
%{_pmdasexecdir}/summary
|
||||||
|
%config(noreplace) %{_confdir}/summary
|
||||||
|
|
||||||
%if !%{disable_systemd}
|
%if !%{disable_systemd}
|
||||||
%files pmda-systemd
|
%files pmda-systemd
|
||||||
%{_pmdasdir}/systemd
|
%{_pmdasdir}/systemd
|
||||||
|
%{_pmdasexecdir}/systemd
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files pmda-trace
|
%files pmda-trace
|
||||||
%{_pmdasdir}/trace
|
%{_pmdasdir}/trace
|
||||||
|
%{_pmdasexecdir}/trace
|
||||||
|
|
||||||
%files pmda-weblog
|
%files pmda-weblog
|
||||||
%{_pmdasdir}/weblog
|
%{_pmdasdir}/weblog
|
||||||
|
%{_pmdasexecdir}/weblog
|
||||||
|
|
||||||
%files -n perl-PCP-PMDA -f perl-pcp-pmda.list
|
%files -n perl-PCP-PMDA -f perl-pcp-pmda.list
|
||||||
|
|
||||||
@ -3371,14 +3405,18 @@ chown -R pcp:pcp %{_logsdir}/pmproxy 2>/dev/null
|
|||||||
%{_localstatedir}/lib/pcp/config/pmchart
|
%{_localstatedir}/lib/pcp/config/pmchart
|
||||||
%{_localstatedir}/lib/pcp/config/pmafm/pcp-gui
|
%{_localstatedir}/lib/pcp/config/pmafm/pcp-gui
|
||||||
%{_datadir}/applications/pmchart.desktop
|
%{_datadir}/applications/pmchart.desktop
|
||||||
|
%dir %{_pixmapdir}
|
||||||
%{_bashcompdir}/pmdumptext
|
%{_bashcompdir}/pmdumptext
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files doc -f pcp-doc.list
|
%files doc -f pcp-doc.list
|
||||||
|
%dir %{_booksdir}
|
||||||
|
%dir %{_datadir}/pcp/demos/tutorials
|
||||||
|
|
||||||
%if !%{disable_selinux}
|
%if !%{disable_selinux}
|
||||||
%files selinux -f pcp-selinux.list
|
%files selinux -f pcp-selinux.list
|
||||||
%dir %{_selinuxdir}
|
%dir %{_selinuxdir}
|
||||||
|
%dir %{_selinuxexecdir}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if !%{disable_python2} || !%{disable_python3}
|
%if !%{disable_python2} || !%{disable_python3}
|
||||||
@ -3391,6 +3429,11 @@ chown -R pcp:pcp %{_logsdir}/pmproxy 2>/dev/null
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Aug 08 2020 Mark Goodwin <mgoodwin@redhat.com> - 5.2.0-1
|
||||||
|
- rearrange installed /var file layouts extensively (BZ 1827441)
|
||||||
|
- pmproxy intermittently crashes at uv_timer_stop (BZ 1789312)
|
||||||
|
- Update to latest PCP sources.
|
||||||
|
|
||||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.1-4
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.1-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
@ -3401,13 +3444,9 @@ chown -R pcp:pcp %{_logsdir}/pmproxy 2>/dev/null
|
|||||||
- Perl 5.32 rebuild
|
- Perl 5.32 rebuild
|
||||||
|
|
||||||
* Fri May 29 2020 Mark Goodwin <mgoodwin@redhat.com> - 5.1.1-1
|
* Fri May 29 2020 Mark Goodwin <mgoodwin@redhat.com> - 5.1.1-1
|
||||||
- Rebuild to pick up changed HdrHistogram_c version (BZ 1831502)
|
|
||||||
- Existing configure macro in pcp-5.1.0 changelog was expanded (BZ 1833876)
|
|
||||||
- pmdakvm: handle kernel lockdown in integrity mode (BZ 1824297)
|
|
||||||
- Update to latest PCP sources.
|
- Update to latest PCP sources.
|
||||||
|
- Rebuild to pick up changed HdrHistogram_c version (BZ 1831502)
|
||||||
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 5.1.0-2
|
- pmdakvm: handle kernel lockdown in integrity mode (BZ 1824297)
|
||||||
- Rebuilt for Python 3.9
|
|
||||||
|
|
||||||
* Fri Apr 24 2020 Mark Goodwin <mgoodwin@redhat.com> - 5.1.0-1
|
* Fri Apr 24 2020 Mark Goodwin <mgoodwin@redhat.com> - 5.1.0-1
|
||||||
- pmdakvm: debugfs access is restricted (BZ 1824297)
|
- pmdakvm: debugfs access is restricted (BZ 1824297)
|
||||||
@ -3427,9 +3466,6 @@ chown -R pcp:pcp %{_logsdir}/pmproxy 2>/dev/null
|
|||||||
- Fix dstat sub-sample averaging (BZ 1780039)
|
- Fix dstat sub-sample averaging (BZ 1780039)
|
||||||
- Update to latest PCP sources.
|
- Update to latest PCP sources.
|
||||||
|
|
||||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.2-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Dec 11 2019 Nathan Scott <nathans@redhat.com> - 5.0.2-1
|
* Wed Dec 11 2019 Nathan Scott <nathans@redhat.com> - 5.0.2-1
|
||||||
- Resolve fresh install pmlogger timeout bug (BZ 1721223)
|
- Resolve fresh install pmlogger timeout bug (BZ 1721223)
|
||||||
- Fix dstat exception writing to a closed fd (BZ 1768619)
|
- Fix dstat exception writing to a closed fd (BZ 1768619)
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (pcp-5.1.1.src.tar.gz) = 9715a677aedea54acdb8a932044bcf1360b86f7737c964ab77dfa471f4caf202cbd3c93305ee3f8b88fd64235535931783df385d37de2b939d1762d1bfcf44da
|
SHA512 (pcp-5.2.0.src.tar.gz) = d02200e2a2685b9188f42271d29500e2c58161776e9e90fd8eb4bdcc0d170d309c908fc3695c63337aa4d0c3afc93e394f12e10b482f54aafa97ea582a9f9f0c
|
||||||
|
Loading…
Reference in New Issue
Block a user