Update to latest community sources

This commit is contained in:
Mark Goodwin 2018-11-16 18:45:57 +11:00
parent 49e94dce57
commit d2b18f587f
2 changed files with 227 additions and 170 deletions

393
pcp.spec
View File

@ -1,5 +1,5 @@
Name: pcp Name: pcp
Version: 4.1.3 Version: 4.2.0
Release: 1%{?dist} Release: 1%{?dist}
Summary: System-level performance monitoring and performance management Summary: System-level performance monitoring and performance management
License: GPLv2+ and LGPLv2.1+ and CC-BY License: GPLv2+ and LGPLv2.1+ and CC-BY
@ -46,6 +46,13 @@ Source4: %{github}/pcp-webapp-blinkenlights/archive/1.0.1/pcp-webapp-blinkenligh
%endif %endif
%endif %endif
# libvarlink and pmdapodman
%if 0%{?fedora} >= 28 || 0%{?rhel} >= 7
%global disable_podman 0
%else
%global disable_podman 1
%endif
%global disable_microhttpd 0 %global disable_microhttpd 0
%global disable_webapps 0 %global disable_webapps 0
%global disable_cairo 0 %global disable_cairo 0
@ -179,7 +186,7 @@ Conflicts: librapi
Obsoletes: pcp-pmda-kvm Obsoletes: pcp-pmda-kvm
Provides: pcp-pmda-kvm Provides: pcp-pmda-kvm
# https://fedoraproject.org/wiki/Packaging:C_and_C%2B%2B # 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
BuildRequires: nss-devel BuildRequires: nss-devel
@ -203,6 +210,9 @@ BuildRequires: cyrus-sasl-devel
%if !%{disable_papi} %if !%{disable_papi}
BuildRequires: papi-devel BuildRequires: papi-devel
%endif %endif
%if !%{disable_podman}
BuildRequires: libvarlink-devel
%endif
%if !%{disable_perfevent} %if !%{disable_perfevent}
BuildRequires: libpfm-devel >= 4 BuildRequires: libpfm-devel >= 4
%endif %endif
@ -238,7 +248,7 @@ BuildRequires: qt5-qtsvg-devel
%endif %endif
%endif %endif
Requires: bash bc bzip2 gawk gcc sed grep findutils which Requires: bash xz gawk sed grep findutils which
Requires: pcp-libs = %{version}-%{release} Requires: pcp-libs = %{version}-%{release}
%if !%{disable_selinux} %if !%{disable_selinux}
Requires: pcp-selinux = %{version}-%{release} Requires: pcp-selinux = %{version}-%{release}
@ -252,7 +262,7 @@ Obsoletes: pcp-gui-debuginfo
Obsoletes: pcp-pmda-nvidia Obsoletes: pcp-pmda-nvidia
# Obsoletes for distros that already have single install pmda's with compat package # Obsoletes for distros that already have single install pmda's with compat package
Obsoletes: pcp-compat Obsoletes: pcp-compat pcp-collector pcp-monitor
Requires: pcp-libs = %{version}-%{release} Requires: pcp-libs = %{version}-%{release}
@ -314,6 +324,12 @@ Requires: pcp-libs = %{version}-%{release}
%global _with_perfevent --with-perfevent=yes %global _with_perfevent --with-perfevent=yes
%endif %endif
%if %{disable_podman}
%global _with_podman --with-podman=no
%else
%global _with_podman --with-podman=yes
%endif
%if %{disable_bcc} %if %{disable_bcc}
%global _with_bcc --with-pmdabcc=no %global _with_bcc --with-pmdabcc=no
%else %else
@ -449,9 +465,55 @@ Requires: pcp-libs = %{version}-%{release}
Requires: pcp-libs-devel = %{version}-%{release} Requires: pcp-libs-devel = %{version}-%{release}
Requires: pcp-devel = %{version}-%{release} Requires: pcp-devel = %{version}-%{release}
Obsoletes: pcp-gui-testsuite Obsoletes: pcp-gui-testsuite
# The following are inherited from pcp-collector and pcp-monitor,
# both of which are now obsoleted by the base pcp package
Requires: pcp-pmda-activemq pcp-pmda-bonding pcp-pmda-dbping pcp-pmda-ds389 pcp-pmda-ds389log
Requires: pcp-pmda-elasticsearch pcp-pmda-gpfs pcp-pmda-gpsd pcp-pmda-lustre
Requires: pcp-pmda-memcache pcp-pmda-mysql pcp-pmda-named pcp-pmda-netfilter pcp-pmda-news
Requires: pcp-pmda-nginx pcp-pmda-nfsclient pcp-pmda-pdns pcp-pmda-postfix pcp-pmda-postgresql pcp-pmda-oracle
Requires: pcp-pmda-samba pcp-pmda-slurm pcp-pmda-vmware pcp-pmda-zimbra
Requires: pcp-pmda-dm pcp-pmda-apache
Requires: pcp-pmda-bash pcp-pmda-cisco pcp-pmda-gfs2 pcp-pmda-mailq pcp-pmda-mounts
Requires: pcp-pmda-nvidia-gpu pcp-pmda-roomtemp pcp-pmda-sendmail pcp-pmda-shping pcp-pmda-smart
Requires: pcp-pmda-lustrecomm pcp-pmda-logger pcp-pmda-docker pcp-pmda-bind2
%if !%{disable_podman}
Requires: pcp-pmda-podman
%endif
%if !%{disable_nutcracker}
Requires: pcp-pmda-nutcracker
%endif
%if !%{disable_bcc}
Requires: pcp-pmda-bcc
%endif
%if !%{disable_python2} || !%{disable_python3}
Requires: pcp-pmda-gluster pcp-pmda-zswap pcp-pmda-unbound pcp-pmda-mic
Requires: pcp-pmda-libvirt pcp-pmda-lio pcp-pmda-prometheus pcp-pmda-haproxy
Requires: pcp-pmda-lmsensors
%endif
%if !%{disable_snmp}
Requires: pcp-pmda-snmp
%endif
%if !%{disable_json}
Requires: pcp-pmda-json
%endif
%if !%{disable_rpm}
Requires: pcp-pmda-rpm
%endif
Requires: pcp-pmda-summary pcp-pmda-trace pcp-pmda-weblog
%if !%{disable_microhttpd}
Requires: pcp-webapi
%endif
%if !%{disable_python2} || !%{disable_python3}
Requires: pcp-system-tools
%endif
%if !%{disable_qt}
Requires: pcp-gui
%endif
Requires: bc gcc gzip bzip2
%description testsuite %description testsuite
Quality assurance test suite for Performance Co-Pilot (PCP). Quality assurance test suite for Performance Co-Pilot (PCP).
# end testsuite
# #
# pcp-manager # pcp-manager
@ -745,12 +807,12 @@ URL: https://pcp.io
Requires: pcp-libs >= %{version}-%{release} Requires: pcp-libs >= %{version}-%{release}
%if !%{disable_python3} %if !%{disable_python3}
Requires: python3-pcp = %{version}-%{release} Requires: python3-pcp = %{version}-%{release}
Requires: python3-elasticsearch Requires: python3-requests
BuildRequires: python3-elasticsearch BuildRequires: python3-requests
%else %else
Requires: %{__python2}-pcp = %{version}-%{release} Requires: %{__python2}-pcp = %{version}-%{release}
Requires: %{__python2}-elasticsearch Requires: %{__python2}-requests
BuildRequires: %{__python2}-elasticsearch BuildRequires: %{__python2}-requests
%endif %endif
%description export-pcp2elasticsearch %description export-pcp2elasticsearch
@ -916,6 +978,24 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting hardware counters statistics through PAPI (Performance API). collecting hardware counters statistics through PAPI (Performance API).
%endif %endif
%if !%{disable_podman}
#
# pcp-pmda-podman
#
%package pmda-podman
License: GPLv2+
Group: Applications/System
Summary: Performance Co-Pilot (PCP) metrics for podman containers
URL: https://pcp.io
Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
Requires: libvarlink
BuildRequires: libvarlink-devel
%description pmda-podman
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting podman container and pod statistics through libvarlink.
%endif
%if !%{disable_perfevent} %if !%{disable_perfevent}
# #
# pcp-pmda-perfevent # pcp-pmda-perfevent
@ -1085,22 +1165,6 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics from a 389 Directory Server log. collecting metrics from a 389 Directory Server log.
#end pcp-pmda-ds389log #end pcp-pmda-ds389log
#
# pcp-pmda-elasticsearch
#
%package pmda-elasticsearch
License: GPLv2+
Group: Applications/System
Summary: Performance Co-Pilot (PCP) metrics for Elasticsearch
URL: https://pcp.io
Requires: perl-PCP-PMDA = %{version}-%{release}
Requires: perl(LWP::UserAgent)
BuildRequires: perl(LWP::UserAgent)
%description pmda-elasticsearch
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics about Elasticsearch.
#end pcp-pmda-elasticsearch
# #
# pcp-pmda-gpfs # pcp-pmda-gpfs
@ -1271,21 +1335,6 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics about the Nginx Webserver. collecting metrics about the Nginx Webserver.
#end pcp-pmda-nginx #end pcp-pmda-nginx
#
# pcp-pmda-nfsclient
#
%package pmda-nfsclient
License: GPLv2+
Group: Applications/System
Summary: Performance Co-Pilot (PCP) metrics for NFS Clients
URL: https://pcp.io
Requires: perl-PCP-PMDA = %{version}-%{release}
%description pmda-nfsclient
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics for NFS Clients.
#end pcp-pmda-nfsclient
# #
# pcp-pmda-oracle # pcp-pmda-oracle
# #
@ -1345,30 +1394,6 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics about the Postfix (MTA). collecting metrics about the Postfix (MTA).
#end pcp-pmda-postfix #end pcp-pmda-postfix
#
# pcp-pmda-postgresql
#
%package pmda-postgresql
License: GPLv2+
Group: Applications/System
Summary: Performance Co-Pilot (PCP) metrics for PostgreSQL
URL: https://pcp.io
%if !%{disable_python3}
Requires: python3-pcp
Requires: python3-psycopg2
BuildRequires: python3-psycopg2
%else
Requires: %{__python2}-pcp
Requires: %{__python2}-psycopg2
BuildRequires: %{__python2}-psycopg2
%endif
%description pmda-postgresql
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics about the PostgreSQL database.
#end pcp-pmda-postgresql
# #
# pcp-pmda-rsyslog # pcp-pmda-rsyslog
# #
@ -1474,6 +1499,7 @@ Group: Applications/System
Summary: Performance Co-Pilot (PCP) metrics for the Device Mapper Cache and Thin Client Summary: Performance Co-Pilot (PCP) metrics for the Device Mapper Cache and Thin Client
URL: https://pcp.io URL: https://pcp.io
Requires: pcp-libs = %{version}-%{release} Requires: pcp-libs = %{version}-%{release}
BuildRequires: device-mapper-devel
%description pmda-dm %description pmda-dm
This package contains the PCP Performance Metrics Domain Agent (PMDA) for This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics about the Device Mapper Cache and Thin Client. collecting metrics about the Device Mapper Cache and Thin Client.
@ -1516,6 +1542,46 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics about the gluster filesystem. collecting metrics about the gluster filesystem.
# end pcp-pmda-gluster # end pcp-pmda-gluster
#
# pcp-pmda-nfsclient
#
%package pmda-nfsclient
License: GPLv2+
Group: Applications/System
Summary: Performance Co-Pilot (PCP) metrics for NFS Clients
URL: https://pcp.io
%if !%{disable_python3}
Requires: python3-pcp
%else
Requires: %{__python2}-pcp
%endif
%description pmda-nfsclient
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics for NFS Clients.
#end pcp-pmda-nfsclient
#
# pcp-pmda-postgresql
#
%package pmda-postgresql
License: GPLv2+
Group: Applications/System
Summary: Performance Co-Pilot (PCP) metrics for PostgreSQL
URL: https://pcp.io
%if !%{disable_python3}
Requires: python3-pcp
Requires: python3-psycopg2
BuildRequires: python3-psycopg2
%else
Requires: %{__python2}-pcp
Requires: %{__python2}-psycopg2
BuildRequires: %{__python2}-psycopg2
%endif
%description pmda-postgresql
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics about the PostgreSQL database.
#end pcp-pmda-postgresql
# #
# pcp-pmda-zswap # pcp-pmda-zswap
# #
@ -1618,6 +1684,28 @@ extracting virtualisation statistics from libvirt about behaviour of guest
and hypervisor machines. and hypervisor machines.
# end pcp-pmda-libvirt # end pcp-pmda-libvirt
#
# pcp-pmda-elasticsearch
#
%package pmda-elasticsearch
License: GPLv2+
Group: Applications/System
Summary: Performance Co-Pilot (PCP) metrics for Elasticsearch
URL: https://pcp.io
%if !%{disable_python3}
Requires: python3-pcp
Requires: python3-urllib3
BuildRequires: python3-urllib3
%else
Requires: %{__python2}-pcp
Requires: %{__python2}-urllib3
BuildRequires: %{__python2}-urllib3
%endif
%description pmda-elasticsearch
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics about Elasticsearch.
#end pcp-pmda-elasticsearch
# #
# pcp-pmda-lio # pcp-pmda-lio
# #
@ -1667,6 +1755,27 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) for
extracting statistics from programs instrumented as Prometheus endpoints. extracting statistics from programs instrumented as Prometheus endpoints.
#end pcp-pmda-prometheus #end pcp-pmda-prometheus
#
# pcp-pmda-lmsensors
#
%package pmda-lmsensors
License: GPLv2+
Group: Applications/System
Summary: Performance Co-Pilot (PCP) metrics for hardware sensors
URL: https://pcp.io
Requires: pcp-libs = %{version}-%{release}
%if !%{disable_python3}
Requires: python3-pcp
%else
Requires: %{__python2}-pcp
%endif
# rewritten in python, so there is no longer a debuginfo package
Obsoletes: pcp-pmda-lmsensors-debuginfo
%description pmda-lmsensors
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics about the Linux hardware monitoring sensors.
# end pcp-pmda-lmsensors
%endif # !%{disable_python2} || !%{disable_python3} %endif # !%{disable_python2} || !%{disable_python3}
%if !%{disable_json} %if !%{disable_json}
@ -1764,20 +1873,6 @@ This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics about the Global Filesystem v2. collecting metrics about the Global Filesystem v2.
# end pcp-pmda-gfs2 # end pcp-pmda-gfs2
#
# pcp-pmda-lmsensors
#
%package pmda-lmsensors
License: GPLv2+
Group: Applications/System
Summary: Performance Co-Pilot (PCP) metrics for hardware sensors
URL: https://pcp.io
Requires: pcp-libs = %{version}-%{release}
%description pmda-lmsensors
This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics about the Linux hardware monitoring sensors.
# end pcp-pmda-lmsensors
# #
# pcp-pmda-logger # pcp-pmda-logger
# #
@ -1974,68 +2069,6 @@ collecting metrics about web server logs.
# end pcp-pmda-weblog # end pcp-pmda-weblog
# end C pmdas # end C pmdas
# pcp-collector metapackage
%package collector
License: GPLv2+
Group: Applications/System
Summary: Performance Co-Pilot (PCP) Collection meta Package
URL: https://pcp.io
Requires: pcp-pmda-activemq pcp-pmda-bonding pcp-pmda-dbping pcp-pmda-ds389 pcp-pmda-ds389log
Requires: pcp-pmda-elasticsearch pcp-pmda-gpfs pcp-pmda-gpsd pcp-pmda-lustre
Requires: pcp-pmda-memcache pcp-pmda-mysql pcp-pmda-named pcp-pmda-netfilter pcp-pmda-news
Requires: pcp-pmda-nginx pcp-pmda-nfsclient pcp-pmda-pdns pcp-pmda-postfix pcp-pmda-postgresql pcp-pmda-oracle
Requires: pcp-pmda-samba pcp-pmda-slurm pcp-pmda-vmware pcp-pmda-zimbra
Requires: pcp-pmda-dm pcp-pmda-apache
Requires: pcp-pmda-bash pcp-pmda-cisco pcp-pmda-gfs2 pcp-pmda-lmsensors pcp-pmda-mailq pcp-pmda-mounts
Requires: pcp-pmda-nvidia-gpu pcp-pmda-roomtemp pcp-pmda-sendmail pcp-pmda-shping pcp-pmda-smart
Requires: pcp-pmda-lustrecomm pcp-pmda-logger pcp-pmda-docker pcp-pmda-bind2
%if !%{disable_nutcracker}
Requires: pcp-pmda-nutcracker
%endif
%if !%{disable_bcc}
Requires: pcp-pmda-bcc
%endif
%if !%{disable_python2} || !%{disable_python3}
Requires: pcp-pmda-gluster pcp-pmda-zswap pcp-pmda-unbound pcp-pmda-mic
Requires: pcp-pmda-libvirt pcp-pmda-lio pcp-pmda-prometheus pcp-pmda-haproxy
%endif
%if !%{disable_snmp}
Requires: pcp-pmda-snmp
%endif
%if !%{disable_json}
Requires: pcp-pmda-json
%endif
%if !%{disable_rpm}
Requires: pcp-pmda-rpm
%endif
Requires: pcp-pmda-summary pcp-pmda-trace pcp-pmda-weblog
%description collector
This meta-package installs the PCP metric collection dependencies. This
includes the vast majority of packages used to collect PCP metrics. The
pcp-collector package also automatically enables and starts the pmcd and
pmlogger services.
# collector
# pcp-monitor metapackage
%package monitor
License: GPLv2+
Group: Applications/System
Summary: Performance Co-Pilot (PCP) Monitoring meta Package
URL: https://pcp.io
%if !%{disable_microhttpd}
Requires: pcp-webapi
%endif
%if !%{disable_python2} || !%{disable_python3}
Requires: pcp-system-tools
%endif
%if !%{disable_qt}
Requires: pcp-gui
%endif
%description monitor
This meta-package contains the PCP performance monitoring dependencies. This
includes a large number of packages for analysing PCP metrics in various ways.
# monitor
%package zeroconf %package zeroconf
License: GPLv2+ License: GPLv2+
Group: Applications/System Group: Applications/System
@ -2112,8 +2145,10 @@ Requires: %{__python2}-pcp = %{version}-%{release}
%endif %endif
Requires: pcp-libs = %{version}-%{release} Requires: pcp-libs = %{version}-%{release}
%if !%{disable_dstat} %if !%{disable_dstat}
Obsoletes: dstat # https://fedoraproject.org/wiki/Packaging:Guidelines "Renaming/Replacing Existing Packages"
Provides: dstat = %{version}-%{release}
Provides: /usr/bin/dstat Provides: /usr/bin/dstat
Obsoletes: dstat <= 0.7.3-5
%endif %endif
%description system-tools %description system-tools
@ -2203,7 +2238,7 @@ updated policy package.
%if !%{disable_python2} && 0%{?default_python} != 3 %if !%{disable_python2} && 0%{?default_python} != 3
export PYTHON=python%{?default_python} export PYTHON=python%{?default_python}
%endif %endif
%configure %{?_with_initd} %{?_with_doc} %{?_with_dstat} %{?_with_ib} %{?_with_papi} %{?_with_perfevent} %{?_with_bcc} %{?_with_json} %{?_with_snmp} %{?_with_nutcracker} %{?_with_webapps} %{?_with_python2} %configure %{?_with_initd} %{?_with_doc} %{?_with_dstat} %{?_with_ib} %{?_with_papi} %{?_with_podman} %{?_with_perfevent} %{?_with_bcc} %{?_with_json} %{?_with_snmp} %{?_with_nutcracker} %{?_with_webapps} %{?_with_python2}
make %{?_smp_mflags} default_pcp make %{?_smp_mflags} default_pcp
%install %install
@ -2305,6 +2340,7 @@ ls -1 $RPM_BUILD_ROOT/%{_pmdasdir} |\
grep -E -v '^oracle' |\ grep -E -v '^oracle' |\
grep -E -v '^papi' |\ grep -E -v '^papi' |\
grep -E -v '^pdns' |\ grep -E -v '^pdns' |\
grep -E -v '^podman' |\
grep -E -v '^postfix' |\ grep -E -v '^postfix' |\
grep -E -v '^postgresql' |\ grep -E -v '^postgresql' |\
grep -E -v '^redis' |\ grep -E -v '^redis' |\
@ -2422,6 +2458,19 @@ exit 0
%post testsuite %post testsuite
chown -R pcpqa:pcpqa %{_testsdir} 2>/dev/null chown -R pcpqa:pcpqa %{_testsdir} 2>/dev/null
%if 0%{?rhel}
%if !%{disable_systemd}
systemctl restart pmcd >/dev/null 2>&1
systemctl restart pmlogger >/dev/null 2>&1
systemctl enable pmcd >/dev/null 2>&1
systemctl enable pmlogger >/dev/null 2>&1
%else
/sbin/chkconfig --add pmcd >/dev/null 2>&1
/sbin/chkconfig --add pmlogger >/dev/null 2>&1
/sbin/service pmcd condrestart
/sbin/service pmlogger condrestart
%endif
%endif
exit 0 exit 0
%pre %pre
@ -2531,6 +2580,11 @@ fi
%{pmda_remove "$1" "perfevent"} %{pmda_remove "$1" "perfevent"}
%endif #preun pmda-perfevent %endif #preun pmda-perfevent
%if !%{disable_podman}
%preun pmda-podman
%{pmda_remove "$1" "podman"}
%endif #preun pmda-podman
%if !%{disable_json} %if !%{disable_json}
%preun pmda-json %preun pmda-json
%{pmda_remove "$1" "json"} %{pmda_remove "$1" "json"}
@ -2662,6 +2716,10 @@ fi
%preun pmda-libvirt %preun pmda-libvirt
%{pmda_remove "$1" "libvirt"} %{pmda_remove "$1" "libvirt"}
%preun pmda-lmsensors
%{pmda_remove "$1" "lmsensors"}
%endif # !%{disable_python[2,3]} %endif # !%{disable_python[2,3]}
%preun pmda-apache %preun pmda-apache
@ -2679,9 +2737,6 @@ fi
%preun pmda-gfs2 %preun pmda-gfs2
%{pmda_remove "$1" "gfs2"} %{pmda_remove "$1" "gfs2"}
%preun pmda-lmsensors
%{pmda_remove "$1" "lmsensors"}
%preun pmda-logger %preun pmda-logger
%{pmda_remove "$1" "logger"} %{pmda_remove "$1" "logger"}
@ -2765,21 +2820,6 @@ chown -R pcp:pcp %{_logsdir}/pmmgr 2>/dev/null
/sbin/service pmmgr condrestart /sbin/service pmmgr condrestart
%endif %endif
%post collector
%if 0%{?rhel}
%if !%{disable_systemd}
systemctl restart pmcd >/dev/null 2>&1
systemctl restart pmlogger >/dev/null 2>&1
systemctl enable pmcd >/dev/null 2>&1
systemctl enable pmlogger >/dev/null 2>&1
%else
/sbin/chkconfig --add pmcd >/dev/null 2>&1
/sbin/chkconfig --add pmlogger >/dev/null 2>&1
/sbin/service pmcd condrestart
/sbin/service pmlogger condrestart
%endif
%endif
%post zeroconf %post zeroconf
PCP_PMDAS_DIR=%{_pmdasdir} PCP_PMDAS_DIR=%{_pmdasdir}
PCP_SYSCONFIG_DIR=%{_sysconfdir}/sysconfig PCP_SYSCONFIG_DIR=%{_sysconfdir}/sysconfig
@ -2966,12 +3006,6 @@ cd
%{tapsetdir}/pmcd.stp %{tapsetdir}/pmcd.stp
%endif %endif
%files monitor
#empty
%files collector
#empty
%files zeroconf %files zeroconf
%{_libexecdir}/pcp/bin/pmlogger_daily_report %{_libexecdir}/pcp/bin/pmlogger_daily_report
%config(noreplace) %{_sysconfdir}/cron.d/pcp-pmlogger-daily-report %config(noreplace) %{_sysconfdir}/cron.d/pcp-pmlogger-daily-report
@ -3098,6 +3132,11 @@ cd
%{_pmdasdir}/papi %{_pmdasdir}/papi
%endif %endif
%if !%{disable_podman}
%files pmda-podman
%{_pmdasdir}/podman
%endif
%if !%{disable_perfevent} %if !%{disable_perfevent}
%files pmda-perfevent %files pmda-perfevent
%{_pmdasdir}/perfevent %{_pmdasdir}/perfevent
@ -3267,6 +3306,10 @@ cd
%files export-pcp2zabbix %files export-pcp2zabbix
%{_bindir}/pcp2zabbix %{_bindir}/pcp2zabbix
%files pmda-lmsensors
%{_pmdasdir}/lmsensors
%endif # !%{disable_python2} || !%{disable_python3} %endif # !%{disable_python2} || !%{disable_python3}
%files export-zabbix-agent %files export-zabbix-agent
@ -3293,9 +3336,6 @@ cd
%files pmda-gfs2 %files pmda-gfs2
%{_pmdasdir}/gfs2 %{_pmdasdir}/gfs2
%files pmda-lmsensors
%{_pmdasdir}/lmsensors
%files pmda-logger %files pmda-logger
%{_pmdasdir}/logger %{_pmdasdir}/logger
@ -3381,6 +3421,23 @@ cd
%endif %endif
%changelog %changelog
* Fri Nov 16 2018 Mark Goodwin <mgoodwin@redhat.com> - 4.2.0-1
- Resolves dstat packaging issues (BZ 1640912)
- Resolves dstat cursor positioning problem (BZ 1640913)
- Resolve a signal handling issue in dstat shutdown (BZ 1648552)
- Rename variable named await in python code (BZ 1633367)
- New conditionally-built pcp-pmda-podman sub-package.
- SELinux is preventing pmdalinux from 'unix_read' accesses on the shared memory labeled gpsd_t
(BZ 1626487)
- SELinux is preventing ps from 'search' accesses on the directory .cache
(BZ 1634205, BZ 1635522)
- SELinux is preventing ps from 'sys_ptrace' accesses on the cap_userns Unknown
(BZ 1635394)
- PCP SELinux AVCs (BZ 1633211)
- SELinux is preventing pmdalinux from 'search' accesses on the directory spider
(BZ 1647843)
- Update to latest PCP sources.
* Fri Sep 21 2018 Nathan Scott <nathans@redhat.com> - 4.1.3-1 * Fri Sep 21 2018 Nathan Scott <nathans@redhat.com> - 4.1.3-1
- Update to latest PCP sources. - Update to latest PCP sources.

View File

@ -1,5 +1,5 @@
SHA512 (pcp-4.1.3.src.tar.gz) = 0d5478d7df9b098c247992a92a27e18750ac37e33726d80d12ca94e29ae7c6991bcd785036d03494e1d0383e03e2fa8b299c22fc41fc4f519d476f80a7fd66ad SHA512 (pcp-4.2.0.src.tar.gz) = e19015cfa495e6ecb47b6c4a6b4286adc2ea01a2d96e9f24efa0469ee87d8f57a733ed0a80bd49b49f5155169dc19542601f5f1d62057773eca70d76ff0e904c
SHA512 (pcp-webapp-blinkenlights-1.0.1.tar.gz) = dadf0bc0742a3344a75f8f304851762572ddc9a5c7c66fd085adcabb70f9e7a9b2c9b6095a8fb358f6a6c64dbf41cf245e2da74a60b8120880f314b6ed3d271c SHA512 (pcp-webapp-blinkenlights-1.0.1.tar.gz) = dadf0bc0742a3344a75f8f304851762572ddc9a5c7c66fd085adcabb70f9e7a9b2c9b6095a8fb358f6a6c64dbf41cf245e2da74a60b8120880f314b6ed3d271c
SHA512 (pcp-webapp-grafana-1.9.1-2.tar.gz) = abd0f360b057853d343e506e352a37d16f78bbae6760124ecdfab0e43ffcf3b31404311f1fe5c962e8abdbf2ad8699df3f27e2920f03f1a10bca3c0e01179e21
SHA512 (pcp-webapp-graphite-0.9.10.tar.gz) = f716e5145e5d39b54be02e39202c51bdd1158d56fa16185a591c0f54fb376a637653f0c13aa9c5ad5700fc62d0c71163e94b9fa689fabe3e6de4ddf19fa827fa SHA512 (pcp-webapp-graphite-0.9.10.tar.gz) = f716e5145e5d39b54be02e39202c51bdd1158d56fa16185a591c0f54fb376a637653f0c13aa9c5ad5700fc62d0c71163e94b9fa689fabe3e6de4ddf19fa827fa
SHA512 (pcp-webapp-grafana-1.9.1-2.tar.gz) = abd0f360b057853d343e506e352a37d16f78bbae6760124ecdfab0e43ffcf3b31404311f1fe5c962e8abdbf2ad8699df3f27e2920f03f1a10bca3c0e01179e21
SHA512 (pcp-webapp-vector-1.3.1-1.tar.gz) = b1463d4da3727f130752699dd433e997212c19241ac440df389c1153e468ace840b7d5f43a37b2173e4eee4f4a807338a3c40cc9635801e626c1530baf46e289 SHA512 (pcp-webapp-vector-1.3.1-1.tar.gz) = b1463d4da3727f130752699dd433e997212c19241ac440df389c1153e468ace840b7d5f43a37b2173e4eee4f4a807338a3c40cc9635801e626c1530baf46e289