|
|
|
@ -16,20 +16,20 @@ end}
|
|
|
|
|
|
|
|
|
|
Name: grafana-pcp
|
|
|
|
|
Version: 5.1.1
|
|
|
|
|
Release: 9%{?dist}
|
|
|
|
|
Release: 10%{?dist}
|
|
|
|
|
Summary: Performance Co-Pilot Grafana Plugin
|
|
|
|
|
License: ASL 2.0
|
|
|
|
|
License: Apache-2.0
|
|
|
|
|
URL: https://github.com/performancecopilot/grafana-pcp
|
|
|
|
|
|
|
|
|
|
Source0: https://github.com/performancecopilot/grafana-pcp/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
Source1: grafana-pcp-vendor-%{version}-8.tar.xz
|
|
|
|
|
Source1: grafana-pcp-vendor-%{version}-1.tar.xz
|
|
|
|
|
# Note: In case there were no changes to this tarball, the NVR of this tarball
|
|
|
|
|
# lags behind the NVR of this package.
|
|
|
|
|
%if %{compile_frontend} == 0
|
|
|
|
|
# Source2 contains the precompiled frontend and dashboards
|
|
|
|
|
# Note: In case there were no changes to this tarball, the NVR of this tarball
|
|
|
|
|
# lags behind the NVR of this package.
|
|
|
|
|
Source2: grafana-pcp-webpack-%{version}-8.tar.gz
|
|
|
|
|
Source2: grafana-pcp-webpack-%{version}-1.tar.gz
|
|
|
|
|
%endif
|
|
|
|
|
Source3: create_bundles.sh
|
|
|
|
|
Source4: build_frontend.sh
|
|
|
|
@ -37,7 +37,6 @@ Source5: list_bundled_nodejs_packages.py
|
|
|
|
|
Source6: create_bundles_in_container.sh
|
|
|
|
|
|
|
|
|
|
Patch1: 0001-remove-unused-frontend-crypto.patch
|
|
|
|
|
Patch2: 0002-add-uwsgi-dashboard.patch
|
|
|
|
|
|
|
|
|
|
# Intersection of go_arches and nodejs_arches
|
|
|
|
|
ExclusiveArch: %{grafanapcp_arches}
|
|
|
|
@ -52,13 +51,17 @@ BuildRequires: make, nodejs >= 1:14, yarnpkg, golang-github-google-jsonnet
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global plugin_dir %{_sharedstatedir}/grafana/plugins/performancecopilot-pcp-app
|
|
|
|
|
%global install_dir %{_datadir}/performancecopilot-pcp-app
|
|
|
|
|
%global install_dir %{_libexecdir}/grafana-pcp
|
|
|
|
|
|
|
|
|
|
# grafana-pcp requires systemd-tmpfiles
|
|
|
|
|
%{?systemd_requires}
|
|
|
|
|
Requires: grafana >= 9.0.9
|
|
|
|
|
Suggests: pcp >= 5.2.2
|
|
|
|
|
%if 0%{?rhel} > 9 || 0%{?fedora} > 39
|
|
|
|
|
Suggests: valkey
|
|
|
|
|
%else
|
|
|
|
|
Suggests: redis >= 5.0.0
|
|
|
|
|
%endif
|
|
|
|
|
Suggests: bpftrace >= 0.9.2
|
|
|
|
|
|
|
|
|
|
# Obsolete old webapps
|
|
|
|
@ -131,8 +134,8 @@ bpftrace scripts from pmdabpftrace(1), as well as several dashboards.
|
|
|
|
|
%setup -q -T -D -b 2
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%patch -P 1 -p1
|
|
|
|
|
%patch -P 2 -p1
|
|
|
|
|
%patch -P1 -p1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
# Build frontend data sources
|
|
|
|
@ -191,61 +194,77 @@ yarn test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Sep 27 2024 Sam Feifer <sfeifer@redhat.com> - 5.1.1-9
|
|
|
|
|
- Resolves: RHEL-57932
|
|
|
|
|
* Tue Nov 26 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 5.1.1-10
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
* Tue Jul 2 2024 Joe Orton <jorton@redhat.com> - 5.1.1-10
|
|
|
|
|
- switch Suggests: redis to valkey (RHEL-45646)
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 5.1.1-9
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jun 18 2024 Sam Feifer <sfeifer@redhat.com> - 5.1.1-8
|
|
|
|
|
- bump release for c10s rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jul 8 2024 Sam Feifer <sfeifer@redhat.com> - 5.1.1-8
|
|
|
|
|
- Add a premade uwsgi dashboard for the vector datasource
|
|
|
|
|
* Sun Feb 11 2024 Maxwell G <maxwell@gtmx.me> - 5.1.1-7
|
|
|
|
|
- Rebuild for golang 1.22.0
|
|
|
|
|
|
|
|
|
|
* Tue May 7 2024 Sam Feifer <sfeifer@redhat.com> 5.1.1-3
|
|
|
|
|
- bump release number
|
|
|
|
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.1-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon May 6 2024 Sam Feifer <sfeifer@redhat.com> 5.1.1-2
|
|
|
|
|
- fix CVE-2024-1394
|
|
|
|
|
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.1-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Sep 13 2023 Sam Feifer <sfeifer@redhat.com> 5.1.1-4
|
|
|
|
|
- Move location of plugin from /usr/share/... to /usr/libexec/... because there is a binary executable
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Oct 27 2022 Andreas Gerstmayr <agerstmayr@redhat.com> 5.1.1-1
|
|
|
|
|
- update to 5.1.1 tagged upstream community sources, see CHANGELOG
|
|
|
|
|
- resolve CVE-2022-27664 golang: net/http: handle server errors after sending GOAWAY
|
|
|
|
|
|
|
|
|
|
* Mon Sep 19 2022 Andreas Gerstmayr <agerstmayr@redhat.com> 5.0.0-4
|
|
|
|
|
- update to 5.0.0 tagged upstream community sources, see CHANGELOG
|
|
|
|
|
- install plugin in /usr/share and create symlink from /var using
|
|
|
|
|
systemd-tmpfiles to work on rpm-ostree based distributions
|
|
|
|
|
- revert the breaking change (change of internal plugin IDs) of upstream v5.0.0,
|
|
|
|
|
- drop makefile in favor of create_bundles.sh script
|
|
|
|
|
- replace plugin id patch with sed to catch future usages of the new
|
|
|
|
|
upstream plugin ids
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 08 2022 Andreas Gerstmayr <agerstmayr@redhat.com> 5.0.0-2
|
|
|
|
|
- bump required Grafana version to 8.5.6
|
|
|
|
|
|
|
|
|
|
* Thu Jul 07 2022 Andreas Gerstmayr <agerstmayr@redhat.com> 5.0.0-1
|
|
|
|
|
- update to 5.0.0 tagged upstream community sources, see CHANGELOG
|
|
|
|
|
- reverted the breaking change (change of internal plugin IDs) of upstream v5.0.0,
|
|
|
|
|
i.e. there are no breaking changes when performing this upgrade
|
|
|
|
|
- enable Go modules in build process
|
|
|
|
|
- make vendor and webpack tarballs reproducible
|
|
|
|
|
- drop makefile in favor of create_bundles.sh script
|
|
|
|
|
|
|
|
|
|
* Wed Aug 24 2022 Andreas Gerstmayr <agerstmayr@redhat.com> 3.2.0-3
|
|
|
|
|
- bump NVR
|
|
|
|
|
* Sat Jun 18 2022 Robert-André Mauchin <zebob.m@gmail.com> - 3.2.0-3
|
|
|
|
|
- Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191,
|
|
|
|
|
CVE-2022-29526, CVE-2022-30629
|
|
|
|
|
|
|
|
|
|
* Thu Aug 11 2022 Andreas Gerstmayr <agerstmayr@redhat.com> 3.2.0-2
|
|
|
|
|
- resolve CVE-2022-1705 golang: net/http: improper sanitization of Transfer-Encoding header
|
|
|
|
|
- resolve CVE-2022-32148 golang: net/http/httputil: NewSingleHostReverseProxy - omit X-Forwarded-For not working
|
|
|
|
|
- resolve CVE-2022-30631 golang: compress/gzip: stack exhaustion in Reader.Read
|
|
|
|
|
- resolve CVE-2022-30630 golang: io/fs: stack exhaustion in Glob
|
|
|
|
|
- resolve CVE-2022-30632 golang: path/filepath: stack exhaustion in Glob
|
|
|
|
|
- resolve CVE-2022-30635 golang: encoding/gob: stack exhaustion in Decoder.Decode
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Nov 12 2021 Andreas Gerstmayr <agerstmayr@redhat.com> 3.2.0-1
|
|
|
|
|
- update to 3.2.0 tagged upstream community sources, see CHANGELOG
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.1.0-2
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jun 25 2021 Andreas Gerstmayr <agerstmayr@redhat.com> 3.1.0-1
|
|
|
|
|
- update to 3.1.0 tagged upstream community sources, see CHANGELOG
|
|
|
|
|
- remove unused cryptographic implementations
|
|
|
|
|
|
|
|
|
|
* Tue Jun 22 2021 Mohan Boddu <mboddu@redhat.com> - 3.0.2-4
|
|
|
|
|
- Rebuilt for RHEL 9 BETA for openssl 3.0
|
|
|
|
|
Related: rhbz#1971065
|
|
|
|
|
|
|
|
|
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 3.0.2-3
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|