grafana/grafana.spec

1331 lines
59 KiB
RPMSpec
Raw Normal View History

2022-06-22 17:13:29 +00:00
# Specify if the frontend will be compiled as part of the build or
# is attached as a webpack tarball (in case of an unsuitable nodejs version on the build system)
%define compile_frontend 0
%if 0%{?rhel}
2022-06-22 17:13:29 +00:00
%define enable_fips_mode 1
%else
%define enable_fips_mode 0
%endif
2019-04-29 20:55:24 +00:00
%global grafana_arches %{lua: go_arches = {}
for arch in rpm.expand("%{go_arches}"):gmatch("%S+") do
go_arches[arch] = 1
end
for arch in rpm.expand("%{nodejs_arches}"):gmatch("%S+") do
if go_arches[arch] then
print(arch .. " ")
end
end}
2022-06-22 17:13:29 +00:00
%global gomodulesmode GO111MODULE=auto
2022-07-27 10:43:28 +00:00
%global gotestflags %{gotestflags} -tags=integration
2023-09-28 16:30:08 +00:00
%global selinux_variants mls targeted
2019-04-29 20:55:24 +00:00
Name: grafana
2023-05-18 11:08:23 +00:00
Version: 9.2.10
2023-11-15 16:48:55 +00:00
Release: 9%{?dist}
2019-04-29 20:55:24 +00:00
Summary: Metrics dashboard and graph editor
2023-07-25 15:38:46 +00:00
License: AGPL-3.0-only
2019-04-29 20:55:24 +00:00
URL: https://grafana.org
# Source0 contains the tagged upstream sources
Source0: https://github.com/grafana/grafana/archive/v%{version}/%{name}-%{version}.tar.gz
2020-11-25 17:55:36 +00:00
# Source1 contains the bundled Go and Node.js dependencies
2021-08-16 13:29:29 +00:00
# Note: In case there were no changes to this tarball, the NVR of this tarball
2021-09-30 12:16:39 +00:00
# lags behind the NVR of this package.
2022-06-22 17:13:29 +00:00
Source1: grafana-vendor-%{version}-1.tar.xz
2019-04-29 20:55:24 +00:00
2020-11-25 17:55:36 +00:00
%if %{compile_frontend} == 0
# Source2 contains the precompiled frontend
2021-08-16 13:29:29 +00:00
# Note: In case there were no changes to this tarball, the NVR of this tarball
2021-09-30 12:16:39 +00:00
# lags behind the NVR of this package.
2022-06-22 17:13:29 +00:00
Source2: grafana-webpack-%{version}-1.tar.gz
%endif
# Source3 contains the systemd-sysusers configuration
Source3: grafana.sysusers
# Source4 contains the script to create the vendor and webpack bundles
Source4: create_bundles.sh
2019-04-29 20:55:24 +00:00
# Source5 contains the script to build the frontend
Source5: build_frontend.sh
# Source6 contains the script to generate the list of bundled nodejs packages
Source6: list_bundled_nodejs_packages.py
# Source7 contains the script to create the vendor and webpack bundles in a container
Source7: create_bundles_in_container.sh
2023-09-28 16:30:08 +00:00
# Source8 - Source10 contain the grafana-selinux policy
Source8: grafana.te
Source9: grafana.fc
Source10: grafana.if
2022-07-06 10:57:30 +00:00
# Patches affecting the source tarball
2022-06-22 17:13:29 +00:00
Patch1: 0001-update-grafana-cli-script-with-distro-specific-paths.patch
Patch2: 0002-add-manpages.patch
Patch3: 0003-update-default-configuration.patch
2022-07-06 10:57:30 +00:00
Patch4: 0004-remove-unused-backend-dependencies.patch
Patch5: 0005-remove-unused-frontend-crypto.patch
2023-05-18 11:08:23 +00:00
Patch6: 0006-skip-marketplace-plugin-install-test.patch
Patch7: 0007-fix-alert-test.patch
Patch8: 0008-graphite-functions-xss.patch
Patch9: 0009-redact-weak-ciphers.patch
# https://github.com/grafana/grafana/commit/bae86dbeb0ad68a205454e98e76985dc393183d4
2023-10-05 15:55:46 +00:00
Patch10: 0010-skip-tests.patch
Patch11: 0011-remove-email-lookup.patch
2022-07-06 10:57:30 +00:00
# Patches affecting the vendor tarball
Patch1001: 1001-vendor-patch-removed-backend-crypto.patch
Patch1002: 1002-vendor-use-pbkdf2-from-OpenSSL.patch
Patch1003: 1003-vendor-skip-goldenfiles-tests.patch
2019-04-29 20:55:24 +00:00
# Intersection of go_arches and nodejs_arches
ExclusiveArch: %{grafana_arches}
2022-06-22 17:13:29 +00:00
BuildRequires: systemd
BuildRequires: systemd-rpm-macros
2022-06-22 17:13:29 +00:00
BuildRequires: golang >= 1.17
BuildRequires: go-srpm-macros
2020-11-25 17:55:36 +00:00
BuildRequires: go-rpm-macros
2020-11-25 17:55:36 +00:00
%if %{compile_frontend}
2022-06-22 17:13:29 +00:00
BuildRequires: nodejs >= 1:16
BuildRequires: yarnpkg
2020-11-25 17:55:36 +00:00
%endif
%if %{enable_fips_mode}
BuildRequires: openssl-devel
%endif
2019-04-29 20:55:24 +00:00
%global GRAFANA_USER %{name}
%global GRAFANA_GROUP %{name}
# grafana-server service daemon uses systemd
%{?systemd_requires}
Requires(pre): shadow-utils
2022-06-22 17:13:29 +00:00
# Grafana queries the mime database (through mime.TypeByExtension, in a unit test and at runtime)
BuildRequires: shared-mime-info
Requires: shared-mime-info
%if 0%{?fedora} >= 35 || 0%{?rhel} >= 8
# This ensures that the grafana-selinux package and all its dependencies are
# not pulled into containers and other systems that do not use SELinux
Requires: (grafana-selinux = %{version}-%{release} if selinux-policy-targeted)
%else
Requires: grafana-selinux = %{version}-%{release}
%endif
2020-11-25 17:55:36 +00:00
%if 0%{?fedora} || 0%{?rhel} > 7
Recommends: grafana-pcp
%endif
Obsoletes: grafana-cloudwatch < 7.3.6-1
Obsoletes: grafana-elasticsearch < 7.3.6-1
Obsoletes: grafana-azure-monitor < 7.3.6-1
Obsoletes: grafana-graphite < 7.3.6-1
Obsoletes: grafana-influxdb < 7.3.6-1
Obsoletes: grafana-loki < 7.3.6-1
Obsoletes: grafana-mssql < 7.3.6-1
Obsoletes: grafana-mysql < 7.3.6-1
Obsoletes: grafana-opentsdb < 7.3.6-1
Obsoletes: grafana-postgres < 7.3.6-1
Obsoletes: grafana-prometheus < 7.3.6-1
Obsoletes: grafana-stackdriver < 7.3.6-1
Provides: grafana-cloudwatch = 7.3.6-1
Provides: grafana-elasticsearch = 7.3.6-1
Provides: grafana-azure-monitor = 7.3.6-1
Provides: grafana-graphite = 7.3.6-1
Provides: grafana-influxdb = 7.3.6-1
Provides: grafana-loki = 7.3.6-1
Provides: grafana-mssql = 7.3.6-1
Provides: grafana-mysql = 7.3.6-1
Provides: grafana-opentsdb = 7.3.6-1
Provides: grafana-postgres = 7.3.6-1
Provides: grafana-prometheus = 7.3.6-1
Provides: grafana-stackdriver = 7.3.6-1
2020-07-30 15:52:28 +00:00
# vendored golang and node.js build dependencies
2020-11-10 19:22:40 +00:00
# this is for security purposes, if nodejs-foo ever needs an update,
# affected packages can be easily identified.
2020-07-30 15:52:28 +00:00
# Note: generated by the Makefile (see README.md)
2022-07-06 10:57:30 +00:00
Provides: bundled(golang(cloud.google.com/go/storage)) = 1.21.0
Provides: bundled(golang(cuelang.org/go)) = 0.4.3
2022-06-22 17:13:29 +00:00
Provides: bundled(golang(github.com/Azure/azure-sdk-for-go)) = 59.3.0+incompatible
Provides: bundled(golang(github.com/Azure/go-autorest/autorest)) = 0.11.22
2023-05-18 11:08:23 +00:00
Provides: bundled(golang(github.com/BurntSushi/toml)) = 1.1.0
2022-06-22 17:13:29 +00:00
Provides: bundled(golang(github.com/Masterminds/semver)) = 1.5.0
2020-07-30 15:52:28 +00:00
Provides: bundled(golang(github.com/VividCortex/mysqlerr)) = 0.0.0-20170204212430.6c6b55f8796f
2023-05-18 11:08:23 +00:00
Provides: bundled(golang(github.com/aws/aws-sdk-go)) = 1.44.109
Provides: bundled(golang(github.com/beevik/etree)) = 1.1.0
2023-05-18 11:08:23 +00:00
Provides: bundled(golang(github.com/benbjohnson/clock)) = 1.3.0
Provides: bundled(golang(github.com/bradfitz/gomemcache)) = 0.0.0-20190913173617.a41fca850d0b
2023-05-18 11:08:23 +00:00
Provides: bundled(golang(github.com/centrifugal/centrifuge)) = 0.25.0
2022-06-22 17:13:29 +00:00
Provides: bundled(golang(github.com/cortexproject/cortex)) = 1.10.1-0.20211014125347.85c378182d0d
2020-07-30 15:52:28 +00:00
Provides: bundled(golang(github.com/davecgh/go-spew)) = 1.1.1
2022-07-06 10:57:30 +00:00
Provides: bundled(golang(github.com/denisenkom/go-mssqldb)) = 0.12.0
2022-06-22 17:13:29 +00:00
Provides: bundled(golang(github.com/dop251/goja)) = 0.0.0-20210804101310.32956a348b49
2022-07-06 10:57:30 +00:00
Provides: bundled(golang(github.com/fatih/color)) = 1.13.0
Provides: bundled(golang(github.com/gchaincl/sqlhooks)) = 1.3.0
2022-07-06 10:57:30 +00:00
Provides: bundled(golang(github.com/getsentry/sentry-go)) = 0.13.0
2023-05-18 11:08:23 +00:00
Provides: bundled(golang(github.com/go-git/go-git/v5)) = 5.4.2
2022-07-27 10:43:28 +00:00
Provides: bundled(golang(github.com/go-kit/kit)) = 0.11.0
2023-05-18 11:08:23 +00:00
Provides: bundled(golang(github.com/go-openapi/strfmt)) = 0.21.3
2022-06-22 17:13:29 +00:00
Provides: bundled(golang(github.com/go-redis/redis/v8)) = 8.11.4
2021-05-20 14:57:43 +00:00
Provides: bundled(golang(github.com/go-sourcemap/sourcemap)) = 2.1.3+incompatible
2022-06-22 17:13:29 +00:00
Provides: bundled(golang(github.com/go-sql-driver/mysql)) = 1.6.0
2023-05-18 11:08:23 +00:00
Provides: bundled(golang(github.com/go-stack/stack)) = 1.8.1
2020-07-30 15:52:28 +00:00
Provides: bundled(golang(github.com/gobwas/glob)) = 0.2.3
2022-06-22 17:13:29 +00:00
Provides: bundled(golang(github.com/gogo/protobuf)) = 1.3.2
Provides: bundled(golang(github.com/golang/mock)) = 1.6.0
Provides: bundled(golang(github.com/golang/snappy)) = 0.0.4
2022-07-06 10:57:30 +00:00
Provides: bundled(golang(github.com/google/go-cmp)) = 0.5.8
2022-06-22 17:13:29 +00:00
Provides: bundled(golang(github.com/google/uuid)) = 1.3.0
Provides: bundled(golang(github.com/google/wire)) = 0.5.0
2023-05-18 11:08:23 +00:00
Provides: bundled(golang(github.com/gorilla/websocket)) = 1.5.0
Provides: bundled(golang(github.com/gosimple/slug)) = 1.12.0
Provides: bundled(golang(github.com/grafana/cuetsy)) = 0.0.4-0.20220714174355.ebd987fdab27
Provides: bundled(golang(github.com/grafana/grafana-aws-sdk)) = 0.10.8
2022-07-27 10:43:28 +00:00
Provides: bundled(golang(github.com/grafana/grafana-azure-sdk-go)) = 1.3.0
2023-05-18 11:08:23 +00:00
Provides: bundled(golang(github.com/grafana/grafana-plugin-sdk-go)) = 0.139.0
Provides: bundled(golang(github.com/grafana/thema)) = 0.0.0-20220817114012.ebeee841c104
2022-06-22 17:13:29 +00:00
Provides: bundled(golang(github.com/grpc-ecosystem/go-grpc-middleware)) = 1.3.0
2022-07-06 10:57:30 +00:00
Provides: bundled(golang(github.com/hashicorp/go-hclog)) = 1.0.0
2022-06-22 17:13:29 +00:00
Provides: bundled(golang(github.com/hashicorp/go-plugin)) = 1.4.3
Provides: bundled(golang(github.com/hashicorp/go-version)) = 1.3.0
Provides: bundled(golang(github.com/influxdata/influxdb-client-go/v2)) = 2.6.0
Provides: bundled(golang(github.com/influxdata/line-protocol)) = 0.0.0-20210311194329.9aa0e372d097
2021-05-20 14:57:43 +00:00
Provides: bundled(golang(github.com/jmespath/go-jmespath)) = 0.4.0
Provides: bundled(golang(github.com/json-iterator/go)) = 1.1.12
2022-06-22 17:13:29 +00:00
Provides: bundled(golang(github.com/lib/pq)) = 1.10.4
2021-05-20 14:57:43 +00:00
Provides: bundled(golang(github.com/linkedin/goavro/v2)) = 2.10.0
2022-06-22 17:13:29 +00:00
Provides: bundled(golang(github.com/m3db/prometheus_remote_client_golang)) = 0.4.4
2022-07-06 10:57:30 +00:00
Provides: bundled(golang(github.com/magefile/mage)) = 1.13.0
Provides: bundled(golang(github.com/mattn/go-isatty)) = 0.0.14
2023-05-18 11:08:23 +00:00
Provides: bundled(golang(github.com/mattn/go-sqlite3)) = 1.14.16
Provides: bundled(golang(github.com/matttproud/golang_protobuf_extensions)) = 1.0.2
Provides: bundled(golang(github.com/mwitkow/go-conntrack)) = 0.0.0-20190716064945.2f068394615f
2022-06-22 17:13:29 +00:00
Provides: bundled(golang(github.com/ohler55/ojg)) = 1.12.9
Provides: bundled(golang(github.com/opentracing/opentracing-go)) = 1.2.0
2020-07-30 15:52:28 +00:00
Provides: bundled(golang(github.com/patrickmn/go-cache)) = 2.1.0+incompatible
Provides: bundled(golang(github.com/pkg/errors)) = 0.9.1
2023-05-18 11:08:23 +00:00
Provides: bundled(golang(github.com/prometheus/alertmanager)) = 0.24.1-0.20221003101219.ae510d09c048
Provides: bundled(golang(github.com/prometheus/client_golang)) = 1.13.1
Provides: bundled(golang(github.com/prometheus/client_model)) = 0.2.0
2023-05-18 11:08:23 +00:00
Provides: bundled(golang(github.com/prometheus/common)) = 0.37.0
2022-06-22 17:13:29 +00:00
Provides: bundled(golang(github.com/prometheus/prometheus)) = 1.8.2-0.20211011171444.354d8d2ecfac
2021-05-20 14:57:43 +00:00
Provides: bundled(golang(github.com/robfig/cron/v3)) = 3.0.1
2022-06-22 17:13:29 +00:00
Provides: bundled(golang(github.com/russellhaering/goxmldsig)) = 1.1.1
2023-05-18 11:08:23 +00:00
Provides: bundled(golang(github.com/stretchr/testify)) = 1.8.0
2020-07-30 15:52:28 +00:00
Provides: bundled(golang(github.com/teris-io/shortid)) = 0.0.0-20171029131806.771a37caa5cf
2022-06-22 17:13:29 +00:00
Provides: bundled(golang(github.com/ua-parser/uap-go)) = 0.0.0-20211112212520.00c877edfe0f
Provides: bundled(golang(github.com/uber/jaeger-client-go)) = 2.29.1+incompatible
2021-05-20 14:57:43 +00:00
Provides: bundled(golang(github.com/urfave/cli/v2)) = 2.3.0
2022-06-22 17:13:29 +00:00
Provides: bundled(golang(github.com/vectordotdev/go-datemath)) = 0.1.1-0.20220323213446.f3954d0b18ae
2020-07-30 15:52:28 +00:00
Provides: bundled(golang(github.com/xorcare/pointer)) = 1.1.0
2023-05-18 11:08:23 +00:00
Provides: bundled(golang(github.com/yalue/merged_fs)) = 1.2.2
2020-07-30 15:52:28 +00:00
Provides: bundled(golang(github.com/yudai/gojsondiff)) = 1.0.0
2022-06-22 17:13:29 +00:00
Provides: bundled(golang(go.opentelemetry.io/collector)) = 0.31.0
Provides: bundled(golang(go.opentelemetry.io/collector/model)) = 0.31.0
2022-07-06 10:57:30 +00:00
Provides: bundled(golang(go.opentelemetry.io/otel)) = 1.6.3
2022-06-22 17:13:29 +00:00
Provides: bundled(golang(go.opentelemetry.io/otel/exporters/jaeger)) = 1.0.0
2022-07-06 10:57:30 +00:00
Provides: bundled(golang(go.opentelemetry.io/otel/sdk)) = 1.6.3
Provides: bundled(golang(go.opentelemetry.io/otel/trace)) = 1.6.3
2023-05-18 11:08:23 +00:00
Provides: bundled(golang(golang.org/x/crypto)) = 0.0.0-20220622213112.05595931fe9d
Provides: bundled(golang(golang.org/x/exp)) = 0.0.0-20220613132600.b0d781184e0d
Provides: bundled(golang(golang.org/x/oauth2)) = 0.0.0-20220608161450.d0670ef3b1eb
Provides: bundled(golang(golang.org/x/sync)) = 0.0.0-20220722155255.886fb9371eb4
Provides: bundled(golang(golang.org/x/time)) = 0.0.0-20220609170525.579cf78fd858
Provides: bundled(golang(golang.org/x/tools)) = 0.1.12
Provides: bundled(golang(gonum.org/v1/gonum)) = 0.11.0
2022-07-06 10:57:30 +00:00
Provides: bundled(golang(google.golang.org/api)) = 0.74.0
Provides: bundled(golang(google.golang.org/grpc)) = 1.45.0
2023-05-18 11:08:23 +00:00
Provides: bundled(golang(google.golang.org/protobuf)) = 1.28.1
2022-07-06 10:57:30 +00:00
Provides: bundled(golang(gopkg.in/ini.v1)) = 1.66.2
2022-06-22 17:13:29 +00:00
Provides: bundled(golang(gopkg.in/ldap.v3)) = 3.1.0
2020-07-30 15:52:28 +00:00
Provides: bundled(golang(gopkg.in/mail.v2)) = 2.3.1
2021-05-20 14:57:43 +00:00
Provides: bundled(golang(gopkg.in/square/go-jose.v2)) = 2.5.1
Provides: bundled(golang(gopkg.in/yaml.v2)) = 2.4.0
2022-07-06 10:57:30 +00:00
Provides: bundled(golang(gopkg.in/yaml.v3)) = 3.0.1
2022-06-22 17:13:29 +00:00
Provides: bundled(golang(xorm.io/builder)) = 0.3.6
2020-07-30 15:52:28 +00:00
Provides: bundled(golang(xorm.io/core)) = 0.7.3
2021-05-20 14:57:43 +00:00
Provides: bundled(golang(xorm.io/xorm)) = 0.8.2
2022-06-22 17:13:29 +00:00
Provides: bundled(golang(github.com/andybalholm/brotli)) = 1.0.3
2023-05-18 11:08:23 +00:00
Provides: bundled(golang(github.com/deepmap/oapi-codegen)) = 1.10.1
Provides: bundled(golang(github.com/go-kit/log)) = 0.2.1
Provides: bundled(golang(github.com/go-openapi/loads)) = 0.21.2
Provides: bundled(golang(github.com/golang/protobuf)) = 1.5.2
2022-07-06 10:57:30 +00:00
Provides: bundled(golang(github.com/googleapis/gax-go/v2)) = 2.2.0
2022-06-22 17:13:29 +00:00
Provides: bundled(golang(github.com/grafana/grafana-google-sdk-go)) = 0.0.0-20211104130251.b190293eaf58
2023-05-18 11:08:23 +00:00
Provides: bundled(golang(github.com/hashicorp/go-multierror)) = 1.1.1
Provides: bundled(golang(github.com/segmentio/encoding)) = 0.3.5
2022-06-22 17:13:29 +00:00
Provides: bundled(golang(go.uber.org/atomic)) = 1.9.0
2023-05-18 11:08:23 +00:00
Provides: bundled(golang(golang.org/x/text)) = 0.4.0
2022-07-06 10:57:30 +00:00
Provides: bundled(golang(google.golang.org/genproto)) = 0.0.0-20220421151946.72621c1f0bd3
Provides: bundled(golang(cloud.google.com/go/kms)) = 1.4.0
2022-06-22 17:13:29 +00:00
Provides: bundled(golang(github.com/Azure/azure-sdk-for-go/sdk/azidentity)) = 0.13.2
Provides: bundled(golang(github.com/Azure/azure-sdk-for-go/sdk/keyvault/azkeys)) = 0.4.0
Provides: bundled(golang(github.com/Azure/go-autorest/autorest/adal)) = 0.9.17
2022-07-06 10:57:30 +00:00
Provides: bundled(golang(github.com/armon/go-radix)) = 1.0.0
Provides: bundled(golang(github.com/blugelabs/bluge)) = 0.1.9
2023-05-18 11:08:23 +00:00
Provides: bundled(golang(github.com/blugelabs/bluge_segment_api)) = 0.2.0
Provides: bundled(golang(github.com/dlmiddlecote/sqlstats)) = 1.0.2
Provides: bundled(golang(github.com/drone/drone-cli)) = 1.5.0
Provides: bundled(golang(github.com/getkin/kin-openapi)) = 0.94.0
2022-06-22 17:13:29 +00:00
Provides: bundled(golang(github.com/golang-migrate/migrate/v4)) = 4.7.0
2023-05-18 11:08:23 +00:00
Provides: bundled(golang(github.com/google/go-github/v45)) = 45.2.0
2022-06-22 17:13:29 +00:00
Provides: bundled(golang(github.com/grafana/dskit)) = 0.0.0-20211011144203.3a88ec0b675f
2023-05-18 11:08:23 +00:00
Provides: bundled(golang(github.com/jmoiron/sqlx)) = 1.3.5
Provides: bundled(golang(github.com/urfave/cli)) = 1.22.5
2022-07-06 10:57:30 +00:00
Provides: bundled(golang(go.etcd.io/etcd/api/v3)) = 3.5.4
2023-05-18 11:08:23 +00:00
Provides: bundled(golang(go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc)) = 0.31.0
2022-07-06 10:57:30 +00:00
Provides: bundled(golang(go.opentelemetry.io/contrib/propagators/jaeger)) = 1.6.0
Provides: bundled(golang(go.opentelemetry.io/otel/exporters/otlp/otlptrace)) = 1.6.3
Provides: bundled(golang(go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc)) = 1.6.3
Provides: bundled(golang(gocloud.dev)) = 0.25.0
2023-05-18 11:08:23 +00:00
Provides: bundled(golang(github.com/wk8/go-ordered-map)) = 1.0.0
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(@babel/core)) = 7.12.9
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(@babel/plugin-proposal-class-properties)) = 7.16.7
Provides: bundled(npm(@babel/plugin-proposal-nullish-coalescing-operator)) = 7.16.7
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(@babel/plugin-proposal-object-rest-spread)) = 7.12.1
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(@babel/plugin-proposal-optional-chaining)) = 7.16.7
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(@babel/plugin-syntax-dynamic-import)) = 7.8.3
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(@babel/plugin-transform-react-constant-elements)) = 7.18.9
Provides: bundled(npm(@babel/plugin-transform-runtime)) = 7.18.10
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(@babel/plugin-transform-typescript)) = 7.16.7
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(@babel/preset-env)) = 7.16.11
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(@babel/preset-react)) = 7.16.7
Provides: bundled(npm(@babel/preset-typescript)) = 7.16.7
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(@babel/runtime)) = 7.15.4
Provides: bundled(npm(@betterer/betterer)) = 5.4.0
Provides: bundled(npm(@betterer/cli)) = 5.4.0
Provides: bundled(npm(@betterer/eslint)) = 5.4.0
Provides: bundled(npm(@betterer/regexp)) = 5.4.0
Provides: bundled(npm(@braintree/sanitize-url)) = 6.0.0
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(@cypress/webpack-preprocessor)) = 5.12.0
Provides: bundled(npm(@daybrush/utils)) = 1.6.0
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(@emotion/css)) = 10.0.27
Provides: bundled(npm(@emotion/eslint-plugin)) = 11.7.0
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(@emotion/react)) = 11.9.0
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(@grafana/agent-core)) = 0.4.0
Provides: bundled(npm(@grafana/agent-web)) = 0.4.0
Provides: bundled(npm(@grafana/aws-sdk)) = 0.0.37
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(@grafana/data)) = 0.0.0-use.local
Provides: bundled(npm(@grafana/e2e)) = 0.0.0-use.local
Provides: bundled(npm(@grafana/e2e-selectors)) = 0.0.0-use.local
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(@grafana/eslint-config)) = 5.0.0
Provides: bundled(npm(@grafana/experimental)) = 1.0.1
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(@grafana/google-sdk)) = 0.0.3
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(@grafana/lezer-logql)) = 0.1.0
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(@grafana/runtime)) = 0.0.0-use.local
Provides: bundled(npm(@grafana/schema)) = 0.0.0-use.local
Provides: bundled(npm(@grafana/toolkit)) = 0.0.0-use.local
Provides: bundled(npm(@grafana/tsconfig)) = 1.2.0rc1
Provides: bundled(npm(@grafana/ui)) = 0.0.0-use.local
Provides: bundled(npm(@jaegertracing/jaeger-ui-components)) = 0.0.0-use.local
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(@jest/core)) = 27.5.1
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(@kusto/monaco-kusto)) = 5.2.0
Provides: bundled(npm(@lezer/common)) = 1.0.0
Provides: bundled(npm(@lezer/highlight)) = 1.0.0
Provides: bundled(npm(@lezer/lr)) = 1.2.3
Provides: bundled(npm(@lingui/cli)) = 3.14.0
Provides: bundled(npm(@lingui/core)) = 3.14.0
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(@lingui/macro)) = 3.12.1
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(@lingui/react)) = 3.14.0
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(@mdx-js/react)) = 1.6.22
Provides: bundled(npm(@mochajs/json-file-reporter)) = 1.3.0
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(@monaco-editor/react)) = 4.4.5
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(@opentelemetry/api)) = 1.1.0
Provides: bundled(npm(@opentelemetry/exporter-collector)) = 0.25.0
Provides: bundled(npm(@opentelemetry/semantic-conventions)) = 0.25.0
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(@pmmmwh/react-refresh-webpack-plugin)) = 0.5.7
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(@popperjs/core)) = 2.11.2
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(@prometheus-io/lezer-promql)) = 0.37.0
Provides: bundled(npm(@react-aria/button)) = 3.6.1
Provides: bundled(npm(@react-aria/dialog)) = 3.3.1
Provides: bundled(npm(@react-aria/focus)) = 3.8.0
Provides: bundled(npm(@react-aria/interactions)) = 3.11.0
Provides: bundled(npm(@react-aria/menu)) = 3.6.1
Provides: bundled(npm(@react-aria/overlays)) = 3.10.1
Provides: bundled(npm(@react-aria/utils)) = 3.13.1
Provides: bundled(npm(@react-stately/collections)) = 3.4.1
Provides: bundled(npm(@react-stately/menu)) = 3.4.1
Provides: bundled(npm(@react-stately/tree)) = 3.3.1
Provides: bundled(npm(@react-types/button)) = 3.6.1
Provides: bundled(npm(@react-types/menu)) = 3.7.1
Provides: bundled(npm(@react-types/overlays)) = 3.6.1
Provides: bundled(npm(@react-types/shared)) = 3.13.1
Provides: bundled(npm(@reduxjs/toolkit)) = 1.8.5
Provides: bundled(npm(@rollup/plugin-commonjs)) = 22.0.1
Provides: bundled(npm(@rollup/plugin-json)) = 4.1.0
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(@rollup/plugin-node-resolve)) = 13.3.0
Provides: bundled(npm(@rtsao/plugin-proposal-class-properties)) = 7.0.1-patch.1
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(@sentry/browser)) = 6.19.7
Provides: bundled(npm(@sentry/types)) = 6.19.7
Provides: bundled(npm(@sentry/utils)) = 6.19.7
Provides: bundled(npm(@storybook/addon-a11y)) = 6.4.21
Provides: bundled(npm(@storybook/addon-actions)) = 6.4.21
Provides: bundled(npm(@storybook/addon-docs)) = 6.4.21
Provides: bundled(npm(@storybook/addon-essentials)) = 6.4.21
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(@storybook/addon-knobs)) = 6.4.0
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(@storybook/addon-storysource)) = 6.4.21
Provides: bundled(npm(@storybook/addons)) = 6.4.21
Provides: bundled(npm(@storybook/api)) = 6.4.21
Provides: bundled(npm(@storybook/builder-webpack5)) = 6.4.21
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(@storybook/client-api)) = 6.4.21
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(@storybook/components)) = 6.4.21
Provides: bundled(npm(@storybook/core-events)) = 6.4.21
Provides: bundled(npm(@storybook/manager-webpack5)) = 6.4.21
Provides: bundled(npm(@storybook/react)) = 6.4.21
Provides: bundled(npm(@storybook/theming)) = 6.4.21
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(@swc/core)) = 1.3.1
Provides: bundled(npm(@swc/helpers)) = 0.4.3
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(@testing-library/dom)) = 8.13.0
Provides: bundled(npm(@testing-library/jest-dom)) = 5.16.4
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(@testing-library/react)) = 12.1.4
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(@testing-library/react-hooks)) = 8.0.1
Provides: bundled(npm(@testing-library/user-event)) = 14.4.3
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(@types/angular)) = 1.8.3
Provides: bundled(npm(@types/angular-route)) = 1.7.2
Provides: bundled(npm(@types/chrome-remote-interface)) = 0.31.4
Provides: bundled(npm(@types/classnames)) = 2.3.0
Provides: bundled(npm(@types/command-exists)) = 1.2.0
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(@types/common-tags)) = 1.8.1
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(@types/d3)) = 7.4.0
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(@types/d3-force)) = 2.1.4
Provides: bundled(npm(@types/d3-interpolate)) = 1.4.2
Provides: bundled(npm(@types/d3-scale-chromatic)) = 1.3.1
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(@types/debounce-promise)) = 3.1.4
Provides: bundled(npm(@types/deep-freeze)) = 0.1.2
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(@types/dompurify)) = 2.4.0
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(@types/enzyme)) = 3.10.10
Provides: bundled(npm(@types/enzyme-adapter-react-16)) = 1.0.6
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(@types/eslint)) = 7.28.2
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(@types/file-saver)) = 2.0.5
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(@types/fs-extra)) = 9.0.13
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(@types/google.analytics)) = 0.0.42
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(@types/gtag.js)) = 0.0.11
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(@types/history)) = 4.7.9
Provides: bundled(npm(@types/hoist-non-react-statics)) = 3.3.1
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(@types/inquirer)) = 8.2.1
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(@types/is-hotkey)) = 0.1.7
Provides: bundled(npm(@types/jest)) = 26.0.15
Provides: bundled(npm(@types/jquery)) = 3.5.14
Provides: bundled(npm(@types/js-yaml)) = 4.0.5
Provides: bundled(npm(@types/jsurl)) = 1.2.30
Provides: bundled(npm(@types/lingui__macro)) = 3.0.0
Provides: bundled(npm(@types/lodash)) = 4.14.149
Provides: bundled(npm(@types/logfmt)) = 1.2.2
Provides: bundled(npm(@types/marked)) = 4.0.3
Provides: bundled(npm(@types/mock-raf)) = 1.0.3
Provides: bundled(npm(@types/mousetrap)) = 1.6.9
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(@types/node)) = 14.17.32
Provides: bundled(npm(@types/ol-ext)) = 2.3.0
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(@types/papaparse)) = 5.3.2
Provides: bundled(npm(@types/pluralize)) = 0.0.29
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(@types/prettier)) = 2.4.2
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(@types/prismjs)) = 1.26.0
Provides: bundled(npm(@types/prop-types)) = 15.7.4
Provides: bundled(npm(@types/rc-time-picker)) = 3.4.1
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(@types/rc-tree)) = 3.0.0
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(@types/react)) = 17.0.30
Provides: bundled(npm(@types/react-beautiful-dnd)) = 13.1.2
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(@types/react-calendar)) = 3.5.1
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(@types/react-color)) = 3.0.6
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(@types/react-dev-utils)) = 9.0.10
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(@types/react-dom)) = 17.0.10
Provides: bundled(npm(@types/react-grid-layout)) = 1.3.2
Provides: bundled(npm(@types/react-highlight-words)) = 0.16.4
Provides: bundled(npm(@types/react-icons)) = 2.2.7
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(@types/react-redux)) = 7.1.20
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(@types/react-resizable)) = 3.0.2
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(@types/react-router-dom)) = 5.3.3
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(@types/react-table)) = 7.7.12
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(@types/react-test-renderer)) = 17.0.1
Provides: bundled(npm(@types/react-transition-group)) = 4.4.4
Provides: bundled(npm(@types/react-virtualized-auto-sizer)) = 1.0.1
Provides: bundled(npm(@types/react-window)) = 1.8.5
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(@types/react-window-infinite-loader)) = 1.0.6
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(@types/redux-mock-store)) = 1.0.3
Provides: bundled(npm(@types/reselect)) = 2.2.0
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(@types/rimraf)) = 3.0.2
Provides: bundled(npm(@types/semver)) = 7.3.9
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(@types/sinon)) = 10.0.13
2022-09-21 11:28:25 +00:00
Provides: bundled(npm(@types/slate)) = 0.47.9
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(@types/slate-plain-serializer)) = 0.7.2
2022-09-21 11:28:25 +00:00
Provides: bundled(npm(@types/slate-react)) = 0.22.9
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(@types/systemjs)) = 0.20.8
Provides: bundled(npm(@types/testing-library__jest-dom)) = 5.14.1
Provides: bundled(npm(@types/testing-library__react-hooks)) = 3.4.1
Provides: bundled(npm(@types/tinycolor2)) = 1.4.3
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(@types/tmp)) = 0.2.3
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(@types/uuid)) = 8.3.4
Provides: bundled(npm(@types/webpack-env)) = 1.16.3
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(@typescript-eslint/eslint-plugin)) = 5.16.0
Provides: bundled(npm(@typescript-eslint/parser)) = 5.16.0
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(@visx/event)) = 2.6.0
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(@visx/gradient)) = 2.10.0
Provides: bundled(npm(@visx/group)) = 2.10.0
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(@visx/scale)) = 2.2.2
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(@visx/shape)) = 2.12.2
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(@visx/tooltip)) = 2.10.0
Provides: bundled(npm(@welldone-software/why-did-you-render)) = 7.0.1
Provides: bundled(npm(@wojtekmaj/enzyme-adapter-react-17)) = 0.6.7
Provides: bundled(npm(angular)) = 1.8.3
Provides: bundled(npm(angular-bindonce)) = 0.3.1
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(angular-route)) = 1.8.3
Provides: bundled(npm(angular-sanitize)) = 1.8.3
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(ansicolor)) = 1.1.100
Provides: bundled(npm(app)) = 0.0.0-use.local
Provides: bundled(npm(autoprefixer)) = 9.8.8
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(axios)) = 0.25.0
Provides: bundled(npm(babel-jest)) = 27.5.1
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(babel-loader)) = 8.2.5
Provides: bundled(npm(babel-plugin-angularjs-annotate)) = 0.10.0
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(babel-plugin-macros)) = 2.8.0
Provides: bundled(npm(baron)) = 3.0.3
Provides: bundled(npm(blink-diff)) = 1.0.13
Provides: bundled(npm(brace)) = 0.11.1
Provides: bundled(npm(calculate-size)) = 1.1.1
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(centrifuge)) = 3.0.1
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(chalk)) = 2.4.2
Provides: bundled(npm(chance)) = 1.1.8
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(chrome-remote-interface)) = 0.31.3
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(classnames)) = 2.3.1
Provides: bundled(npm(combokeys)) = 3.0.1
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(comlink)) = 4.3.1
Provides: bundled(npm(command-exists)) = 1.2.9
Provides: bundled(npm(commander)) = 2.11.0
Provides: bundled(npm(common-tags)) = 1.8.0
Provides: bundled(npm(copy-to-clipboard)) = 3.3.1
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(copy-webpack-plugin)) = 9.0.1
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(core-js)) = 2.6.12
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(css-loader)) = 5.2.7
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(css-minimizer-webpack-plugin)) = 3.4.1
Provides: bundled(npm(csstype)) = 2.6.18
Provides: bundled(npm(cypress)) = 9.5.1
Provides: bundled(npm(cypress-file-upload)) = 5.0.8
Provides: bundled(npm(d3)) = 5.15.0
2021-05-20 14:57:43 +00:00
Provides: bundled(npm(d3-force)) = 1.2.1
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(d3-interpolate)) = 1.4.0
Provides: bundled(npm(d3-scale-chromatic)) = 1.5.0
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(dangerously-set-html-content)) = 1.0.9
Provides: bundled(npm(date-fns)) = 2.25.0
2021-05-20 14:57:43 +00:00
Provides: bundled(npm(debounce-promise)) = 3.1.2
Provides: bundled(npm(deep-freeze)) = 0.0.1
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(devtools-protocol)) = 0.0.927104
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(dompurify)) = 2.3.8
Provides: bundled(npm(emotion)) = 10.0.27
Provides: bundled(npm(enzyme)) = 3.11.0
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(enzyme-to-json)) = 3.6.2
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(esbuild)) = 0.15.7
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(eslint)) = 8.11.0
Provides: bundled(npm(eslint-config-prettier)) = 8.5.0
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(eslint-plugin-import)) = 2.26.0
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(eslint-plugin-jest)) = 26.6.0
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(eslint-plugin-jsdoc)) = 38.0.6
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(eslint-plugin-jsx-a11y)) = 6.6.1
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(eslint-plugin-lodash)) = 7.4.0
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(eslint-plugin-react)) = 7.29.4
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(eslint-plugin-react-hooks)) = 4.3.0
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(eslint-webpack-plugin)) = 3.2.0
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(eventemitter3)) = 4.0.7
Provides: bundled(npm(execa)) = 1.0.0
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(expose-loader)) = 4.0.0
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(fast-deep-equal)) = 3.1.3
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(fast-json-patch)) = 3.1.1
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(fast_array_intersect)) = 1.1.0
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(file-saver)) = 2.0.5
Provides: bundled(npm(fork-ts-checker-webpack-plugin)) = 4.1.6
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(framework-utils)) = 1.1.0
Provides: bundled(npm(fs-extra)) = 0.30.0
Provides: bundled(npm(fuzzy)) = 0.1.3
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(glob)) = 7.1.4
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(globby)) = 9.2.0
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(history)) = 4.10.1
Provides: bundled(npm(hoist-non-react-statics)) = 3.3.2
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(html-loader)) = 3.1.0
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(html-webpack-plugin)) = 5.5.0
Provides: bundled(npm(http-server)) = 14.1.1
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(husky)) = 8.0.1
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(immer)) = 9.0.7
Provides: bundled(npm(immutable)) = 3.8.2
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(inquirer)) = 7.3.3
Provides: bundled(npm(is-hotkey)) = 0.1.4
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(jest)) = 27.5.1
Provides: bundled(npm(jest-canvas-mock)) = 2.3.1
Provides: bundled(npm(jest-date-mock)) = 1.0.8
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(jest-environment-jsdom)) = 27.5.1
Provides: bundled(npm(jest-fail-on-console)) = 2.4.2
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(jest-junit)) = 13.1.0
Provides: bundled(npm(jest-matcher-utils)) = 27.5.1
Provides: bundled(npm(jquery)) = 3.5.1
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(js-yaml)) = 3.14.1
Provides: bundled(npm(json-markup)) = 1.1.3
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(json-source-map)) = 0.6.1
Provides: bundled(npm(jsurl)) = 0.1.5
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(kbar)) = 0.1.0b36
Provides: bundled(npm(lerna)) = 5.2.0
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(less)) = 4.1.2
Provides: bundled(npm(less-loader)) = 10.2.0
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(lint-staged)) = 13.0.3
Provides: bundled(npm(lodash)) = 4.17.21
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(logfmt)) = 1.3.2
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(lru-cache)) = 6.0.0
Provides: bundled(npm(lru-memoize)) = 1.1.0
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(marked)) = 4.1.0
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(md5-file)) = 5.0.0
Provides: bundled(npm(memoize-one)) = 4.0.3
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(mini-css-extract-plugin)) = 2.6.0
Provides: bundled(npm(mocha)) = 10.0.0
Provides: bundled(npm(mock-raf)) = 1.0.1
2022-09-15 14:11:11 +00:00
Provides: bundled(npm(moment)) = 2.29.4
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(moment-timezone)) = 0.5.35
Provides: bundled(npm(monaco-editor)) = 0.34.0
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(monaco-promql)) = 1.7.4
Provides: bundled(npm(mousetrap)) = 1.6.5
Provides: bundled(npm(mousetrap-global-bind)) = 1.1.0
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(moveable)) = 0.35.4
Provides: bundled(npm(msw)) = 0.48.1
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(mutationobserver-shim)) = 0.3.7
Provides: bundled(npm(ngtemplate-loader)) = 2.1.0
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(node-notifier)) = 10.0.1
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(ol)) = 6.15.1
Provides: bundled(npm(ol-ext)) = 3.2.28
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(ora)) = 5.4.1
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(papaparse)) = 5.3.1
Provides: bundled(npm(pixelmatch)) = 5.2.1
Provides: bundled(npm(pluralize)) = 8.0.0
Provides: bundled(npm(pngjs)) = 2.3.1
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(postcss)) = 7.0.39
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(postcss-flexbugs-fixes)) = 4.2.1
Provides: bundled(npm(postcss-loader)) = 4.3.0
Provides: bundled(npm(postcss-preset-env)) = 7.4.3
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(postcss-reporter)) = 7.0.5
Provides: bundled(npm(postcss-scss)) = 4.0.2
Provides: bundled(npm(prettier)) = 2.3.0
Provides: bundled(npm(prismjs)) = 1.27.0
Provides: bundled(npm(process)) = 0.11.10
Provides: bundled(npm(prop-types)) = 15.7.2
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(raw-loader)) = 4.0.2
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(rc-cascader)) = 3.6.1
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(rc-drawer)) = 4.4.3
Provides: bundled(npm(rc-slider)) = 9.7.5
Provides: bundled(npm(rc-time-picker)) = 3.7.3
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(rc-tree)) = 5.6.5
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(re-resizable)) = 6.9.9
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(react)) = 17.0.1
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(react-awesome-query-builder)) = 5.1.2
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(react-beautiful-dnd)) = 13.1.0
Provides: bundled(npm(react-calendar)) = 3.7.0
Provides: bundled(npm(react-colorful)) = 5.5.1
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(react-custom-scrollbars-2)) = 4.5.0
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(react-dev-utils)) = 12.0.0
Provides: bundled(npm(react-diff-viewer)) = 3.1.1
Provides: bundled(npm(react-dom)) = 17.0.1
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(react-draggable)) = 4.4.4
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(react-dropzone)) = 14.2.2
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(react-grid-layout)) = 1.3.4
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(react-highlight-words)) = 0.18.0
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(react-hook-form)) = 7.5.3
Provides: bundled(npm(react-icons)) = 2.2.7
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(react-inlinesvg)) = 3.0.0
Provides: bundled(npm(react-moveable)) = 0.38.4
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(react-popper)) = 2.2.5
Provides: bundled(npm(react-popper-tooltip)) = 3.1.1
Provides: bundled(npm(react-redux)) = 7.2.6
Provides: bundled(npm(react-refresh)) = 0.11.0
Provides: bundled(npm(react-resizable)) = 3.0.4
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(react-reverse-portal)) = 2.1.1
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(react-router-dom)) = 5.3.0
Provides: bundled(npm(react-select)) = 3.2.0
Provides: bundled(npm(react-select-event)) = 5.3.0
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(react-simple-compat)) = 1.2.2
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(react-split-pane)) = 0.1.92
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(react-table)) = 7.8.0
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(react-test-renderer)) = 17.0.2
Provides: bundled(npm(react-transition-group)) = 4.4.2
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(react-use)) = 17.4.0
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(react-virtualized-auto-sizer)) = 1.0.6
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(react-window)) = 1.8.7
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(react-window-infinite-loader)) = 1.0.8
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(redux)) = 4.1.1
Provides: bundled(npm(redux-mock-store)) = 1.5.4
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(redux-thunk)) = 2.4.1
Provides: bundled(npm(regenerator-runtime)) = 0.11.1
Provides: bundled(npm(replace-in-file-webpack-plugin)) = 1.0.6
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(reselect)) = 4.1.0
Provides: bundled(npm(resolve-as-bin)) = 2.1.0
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(rimraf)) = 2.7.1
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(rollup)) = 2.77.2
Provides: bundled(npm(rollup-plugin-dts)) = 4.2.2
Provides: bundled(npm(rollup-plugin-esbuild)) = 4.9.1
Provides: bundled(npm(rollup-plugin-node-externals)) = 4.1.0
Provides: bundled(npm(rollup-plugin-sourcemaps)) = 0.6.3
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(rollup-plugin-svg-import)) = 1.6.0
Provides: bundled(npm(rollup-plugin-terser)) = 7.0.2
Provides: bundled(npm(rst2html)) = 1.0.4
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(rudder-sdk-js)) = 2.13.0
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(rxjs)) = 6.6.7
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(sass)) = 1.50.1
Provides: bundled(npm(sass-loader)) = 12.6.0
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(selecto)) = 1.19.1
Provides: bundled(npm(semver)) = 5.7.1
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(simple-git)) = 3.7.1
Provides: bundled(npm(sinon)) = 14.0.0
2022-09-21 11:28:25 +00:00
Provides: bundled(npm(slate)) = 0.47.9
Provides: bundled(npm(slate-plain-serializer)) = 0.7.11
Provides: bundled(npm(slate-react)) = 0.22.10
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(sql-formatter-plus)) = 1.3.6
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(storybook-dark-mode)) = 1.1.0
Provides: bundled(npm(style-loader)) = 1.3.0
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(stylelint)) = 14.9.1
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(stylelint-config-prettier)) = 9.0.3
Provides: bundled(npm(stylelint-config-sass-guidelines)) = 9.0.1
Provides: bundled(npm(symbol-observable)) = 4.0.0
Provides: bundled(npm(systemjs)) = 0.20.19
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(terser-webpack-plugin)) = 4.2.3
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(test)) = 0.0.0-use.local
Provides: bundled(npm(testing-library-selector)) = 0.2.1
Provides: bundled(npm(tether-drop)) = 1.5.0
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(tinycolor2)) = 1.4.2
Provides: bundled(npm(tracelib)) = 1.0.1
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(ts-jest)) = 27.1.3
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(ts-loader)) = 8.4.0
2022-07-06 10:57:30 +00:00
Provides: bundled(npm(ts-node)) = 9.1.1
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(tslib)) = 1.14.1
Provides: bundled(npm(tween-functions)) = 1.2.0
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(typescript)) = 4.6.4
2022-07-27 10:43:28 +00:00
Provides: bundled(npm(uplot)) = 1.6.22
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(uuid)) = 3.4.0
Provides: bundled(npm(vendor)) = 0.0.0-use.local
2021-05-20 14:57:43 +00:00
Provides: bundled(npm(visjs-network)) = 4.25.0
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(wait-on)) = 6.0.1
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(webpack)) = 5.72.0
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(webpack-bundle-analyzer)) = 4.5.0
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(webpack-cli)) = 4.10.0
Provides: bundled(npm(webpack-dev-server)) = 4.9.3
Provides: bundled(npm(webpack-filter-warnings-plugin)) = 1.2.1
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(webpack-manifest-plugin)) = 5.0.0
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(webpack-merge)) = 5.8.0
Provides: bundled(npm(whatwg-fetch)) = 3.6.2
2023-05-18 11:08:23 +00:00
Provides: bundled(npm(xss)) = 1.0.13
2022-06-22 17:13:29 +00:00
Provides: bundled(npm(yaml)) = 1.10.2
2019-04-29 20:55:24 +00:00
%description
Grafana is an open source, feature rich metrics dashboard and graph editor for
Graphite, InfluxDB & OpenTSDB.
2023-09-28 16:30:08 +00:00
# SELinux package
%package selinux
Summary: SELinux policy module supporting grafana
BuildRequires: checkpolicy, selinux-policy-devel, selinux-policy-targeted
2023-09-28 16:30:08 +00:00
%if "%{_selinux_policy_version}" != ""
Requires: selinux-policy >= %{_selinux_policy_version}
%endif
Requires: %{name} = %{version}-%{release}
Requires: selinux-policy-targeted
2023-09-28 16:30:08 +00:00
Requires(post): /usr/sbin/semodule, /usr/sbin/semanage, /sbin/restorecon, /sbin/fixfiles, grafana
Requires(postun): /usr/sbin/semodule, /usr/sbin/semanage, /sbin/restorecon, /sbin/fixfiles, /sbin/service, grafana
%description selinux
SELinux policy module supporting grafana
2019-04-29 20:55:24 +00:00
%prep
%setup -q -T -D -b 0
%setup -q -T -D -b 1
%if %{compile_frontend} == 0
# remove bundled plugins source, otherwise they'll get merged
# with the compiled bundled plugins when extracting the webpack
rm -r plugins-bundled
2020-07-30 15:52:28 +00:00
%setup -q -T -D -b 2
2020-11-25 17:55:36 +00:00
%endif
2020-07-30 15:52:28 +00:00
2023-09-28 16:30:08 +00:00
# SELinux policy
mkdir SELinux
cp -p %{SOURCE8} %{SOURCE9} %{SOURCE10} SELinux
2023-05-18 11:08:23 +00:00
%patch -P 1 -p1
%patch -P 2 -p1
%patch -P 3 -p1
%patch -P 4 -p1
%patch -P 5 -p1
%patch -P 6 -p1
%patch -P 7 -p1
%patch -P 8 -p1
%patch -P 9 -p1
%patch -P 10 -p1
2023-10-05 15:55:46 +00:00
%patch -P 11 -p1
2023-05-18 11:08:23 +00:00
%patch -P 1001 -p1
2022-07-06 10:57:30 +00:00
%if %{enable_fips_mode}
2023-05-18 11:08:23 +00:00
%patch -P 1002 -p1
2022-07-06 10:57:30 +00:00
%endif
%ifarch s390x i686 armv7hl
2023-05-18 11:08:23 +00:00
%patch -P 1003 -p1
2022-07-06 10:57:30 +00:00
%endif
2019-04-29 20:55:24 +00:00
%build
# Build the frontend
%if %{compile_frontend}
%{SOURCE5}
%endif
# Build the backend
# see grafana-X.Y.Z/pkg/build/cmd.go
2020-04-28 12:01:56 +00:00
export LDFLAGS="-X main.version=%{version} -X main.buildstamp=${SOURCE_DATE_EPOCH}"
%if %{enable_fips_mode}
export GOEXPERIMENT=boringcrypto
%endif
for cmd in grafana-cli grafana-server; do
2020-07-30 15:52:28 +00:00
%gobuild -o %{_builddir}/bin/${cmd} ./pkg/cmd/${cmd}
done
2019-04-29 20:55:24 +00:00
2023-09-28 16:30:08 +00:00
# SELinux policy
cd SELinux
for selinuxvariant in %{selinux_variants}
do
make NAME=${selinuxvariant} -f /usr/share/selinux/devel/Makefile
mv grafana.pp grafana.pp.${selinuxvariant}
make NAME=${selinuxvariant} -f /usr/share/selinux/devel/Makefile clean
done
cd -
2020-11-25 17:55:36 +00:00
%install
# dirs, shared files, public html, webpack
2019-04-29 20:55:24 +00:00
install -d %{buildroot}%{_sbindir}
install -d %{buildroot}%{_datadir}/%{name}
install -d %{buildroot}%{_libexecdir}/%{name}
2020-07-30 15:52:28 +00:00
cp -a conf public plugins-bundled %{buildroot}%{_datadir}/%{name}
2023-05-18 11:08:23 +00:00
rm -f %{buildroot}%{_datadir}/%{name}/public/img/icons/.gitignore
rm -f %{buildroot}%{_datadir}/%{name}/public/lib/.gitignore
2019-04-29 20:55:24 +00:00
# wrappers
install -p -m 755 packaging/wrappers/grafana-cli %{buildroot}%{_sbindir}/%{name}-cli
# binaries
2020-07-30 15:52:28 +00:00
install -p -m 755 %{_builddir}/bin/%{name}-server %{buildroot}%{_sbindir}
install -p -m 755 %{_builddir}/bin/%{name}-cli %{buildroot}%{_libexecdir}/%{name}
2019-04-29 20:55:24 +00:00
# man pages
install -d %{buildroot}%{_mandir}/man1
install -p -m 644 docs/man/man1/* %{buildroot}%{_mandir}/man1
# config dirs
install -d %{buildroot}%{_sysconfdir}/%{name}
2020-07-30 15:52:28 +00:00
install -d %{buildroot}%{_sysconfdir}/%{name}/provisioning
2022-07-06 10:57:30 +00:00
install -d %{buildroot}%{_sysconfdir}/%{name}/provisioning/access-control
2020-07-30 15:52:28 +00:00
install -d %{buildroot}%{_sysconfdir}/%{name}/provisioning/dashboards
install -d %{buildroot}%{_sysconfdir}/%{name}/provisioning/datasources
install -d %{buildroot}%{_sysconfdir}/%{name}/provisioning/notifiers
install -d %{buildroot}%{_sysconfdir}/%{name}/provisioning/plugins
2019-04-29 20:55:24 +00:00
install -d %{buildroot}%{_sysconfdir}/sysconfig
# config defaults
2022-06-22 17:13:29 +00:00
install -p -m 640 conf/sample.ini %{buildroot}%{_sysconfdir}/%{name}/grafana.ini
install -p -m 640 conf/ldap.toml %{buildroot}%{_sysconfdir}/%{name}/ldap.toml
2022-06-22 17:13:29 +00:00
install -p -m 644 conf/defaults.ini %{buildroot}%{_datadir}/%{name}/conf/defaults.ini
install -p -m 644 conf/sample.ini %{buildroot}%{_datadir}/%{name}/conf/sample.ini
2019-04-29 20:55:24 +00:00
install -p -m 644 packaging/rpm/sysconfig/grafana-server \
%{buildroot}%{_sysconfdir}/sysconfig/grafana-server
# config database directory and plugins
install -d -m 750 %{buildroot}%{_sharedstatedir}/%{name}
2019-04-29 20:55:24 +00:00
install -d -m 755 %{buildroot}%{_sharedstatedir}/%{name}/plugins
# log directory
install -d %{buildroot}%{_localstatedir}/log/%{name}
# systemd service files
install -d %{buildroot}%{_unitdir} # only needed for manual rpmbuilds
install -p -m 644 packaging/rpm/systemd/grafana-server.service \
%{buildroot}%{_unitdir}
# daemon run pid file config for using tmpfs
install -d %{buildroot}%{_tmpfilesdir}
echo "d %{_rundir}/%{name} 0755 %{GRAFANA_USER} %{GRAFANA_GROUP} -" \
> %{buildroot}%{_tmpfilesdir}/%{name}.conf
# systemd-sysusers configuration
install -p -m 644 -D %{SOURCE3} %{buildroot}%{_sysusersdir}/%{name}.conf
2023-09-28 16:30:08 +00:00
# SELinux policy
cd SELinux
for selinuxvariant in %{selinux_variants}
do
install -d %{buildroot}%{_datadir}/selinux/${selinuxvariant}
install -p -m 644 grafana.pp.${selinuxvariant} \
%{buildroot}%{_datadir}/selinux/${selinuxvariant}/grafana.pp
done
cd -
2019-04-29 20:55:24 +00:00
%pre
%sysusers_create_compat %{SOURCE3}
2019-04-29 20:55:24 +00:00
%preun
%systemd_preun grafana-server.service
%post
%systemd_post grafana-server.service
# create grafana.db with secure permissions on new installations
# otherwise grafana-server is creating grafana.db on first start
# with world-readable permissions, which may leak encrypted datasource
# passwords to all users (if the secret_key in grafana.ini was not changed)
# https://bugzilla.redhat.com/show_bug.cgi?id=1805472
if [ "$1" = 1 ] && [ ! -f %{_sharedstatedir}/%{name}/grafana.db ]; then
touch %{_sharedstatedir}/%{name}/grafana.db
fi
# apply secure permissions to grafana.db if it exists
# (may not exist on upgrades, because users can choose between sqlite/mysql/postgres)
if [ -f %{_sharedstatedir}/%{name}/grafana.db ]; then
chown %{GRAFANA_USER}:%{GRAFANA_GROUP} %{_sharedstatedir}/%{name}/grafana.db
chmod 640 %{_sharedstatedir}/%{name}/grafana.db
fi
2019-04-29 20:55:24 +00:00
# required for upgrades
chmod 640 %{_sysconfdir}/%{name}/grafana.ini
chmod 640 %{_sysconfdir}/%{name}/ldap.toml
2019-04-29 20:55:24 +00:00
%postun
%systemd_postun_with_restart grafana-server.service
%check
2020-11-25 17:55:36 +00:00
# Test frontend
%if %{compile_frontend}
yarn run jest
%endif
2020-11-25 17:55:36 +00:00
# Test backend
# in setting_test.go there is a unit test which checks if 10 days are 240 hours
# which is usually true except if the daylight saving time change falls into the last 10 days, then it's either 239 or 241 hours...
# let's set the time zone to a time zone without daylight saving time
export TZ=GMT
%if %{enable_fips_mode}
export GOEXPERIMENT=boringcrypto
%endif
2023-05-18 15:05:15 +00:00
# comment out temporarily while intermittent ngalert tests are investigated
2023-11-15 17:42:52 +00:00
# % gotest ./pkg/...
2019-04-29 20:55:24 +00:00
2023-05-18 15:05:15 +00:00
# %if %{enable_fips_mode}
# OPENSSL_FORCE_FIPS_MODE=1 GOLANG_FIPS=1 go test -v ./pkg/util -run TestEncryption
# %endif
2019-04-29 20:55:24 +00:00
%files
# binaries and wrappers
2019-04-29 20:55:24 +00:00
%{_sbindir}/%{name}-server
%{_sbindir}/%{name}-cli
%{_libexecdir}/%{name}
2019-04-29 20:55:24 +00:00
# config files
%config(noreplace) %{_sysconfdir}/sysconfig/grafana-server
2019-04-29 20:55:24 +00:00
%dir %{_sysconfdir}/%{name}
2020-07-30 15:52:28 +00:00
%attr(0755, root, %{GRAFANA_GROUP}) %dir %{_sysconfdir}/%{name}/provisioning
2022-07-06 10:57:30 +00:00
%attr(0755, root, %{GRAFANA_GROUP}) %dir %{_sysconfdir}/%{name}/provisioning/access-control
2020-07-30 15:52:28 +00:00
%attr(0755, root, %{GRAFANA_GROUP}) %dir %{_sysconfdir}/%{name}/provisioning/dashboards
%attr(0750, root, %{GRAFANA_GROUP}) %dir %{_sysconfdir}/%{name}/provisioning/datasources
2020-07-30 15:52:28 +00:00
%attr(0755, root, %{GRAFANA_GROUP}) %dir %{_sysconfdir}/%{name}/provisioning/notifiers
%attr(0755, root, %{GRAFANA_GROUP}) %dir %{_sysconfdir}/%{name}/provisioning/plugins
%attr(0640, root, %{GRAFANA_GROUP}) %config(noreplace) %{_sysconfdir}/%{name}/grafana.ini
%attr(0640, root, %{GRAFANA_GROUP}) %config(noreplace) %{_sysconfdir}/%{name}/ldap.toml
2019-04-29 20:55:24 +00:00
# config database directory and plugins
2020-07-30 15:52:28 +00:00
%attr(0750, %{GRAFANA_USER}, %{GRAFANA_GROUP}) %dir %{_sharedstatedir}/%{name}
%attr(-, %{GRAFANA_USER}, %{GRAFANA_GROUP}) %dir %{_sharedstatedir}/%{name}/plugins
2019-04-29 20:55:24 +00:00
2020-07-30 15:52:28 +00:00
# shared directory and all files therein
%{_datadir}/%{name}
2019-04-29 20:55:24 +00:00
# systemd service file
%{_unitdir}/grafana-server.service
# Grafana configuration to dynamically create /run/grafana/grafana.pid on tmpfs
%{_tmpfilesdir}/%{name}.conf
# systemd-sysusers configuration file
%{_sysusersdir}/%{name}.conf
2019-04-29 20:55:24 +00:00
# log directory - grafana.log is created by grafana-server, and it does it's own log rotation
%attr(0755, %{GRAFANA_USER}, %{GRAFANA_GROUP}) %dir %{_localstatedir}/log/%{name}
# man pages for grafana binaries
%{_mandir}/man1/%{name}-server.1*
%{_mandir}/man1/%{name}-cli.1*
# other docs and license
2022-07-06 10:57:30 +00:00
%license LICENSE LICENSING.md NOTICE.md
%doc CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md GOVERNANCE.md HALL_OF_FAME.md ISSUE_TRIAGE.md MAINTAINERS.md
2020-07-30 15:52:28 +00:00
%doc PLUGIN_DEV.md README.md ROADMAP.md SECURITY.md SUPPORT.md UPGRADING_DEPENDENCIES.md WORKFLOW.md
2023-09-28 16:30:08 +00:00
# SELinux policy
%post selinux
for selinuxvariant in %{selinux_variants}
do
/usr/sbin/semodule -s ${selinuxvariant} -i \
%{_datadir}/selinux/${selinuxvariant}/grafana.pp &> /dev/null || :
done
/sbin/restorecon -RvF /usr/sbin/grafana-* &> /dev/null || :
/sbin/restorecon -RvF /etc/grafana &> /dev/null || :
/sbin/restorecon -RvF /var/log/grafana &> /dev/null || :
/sbin/restorecon -RvF /var/lib/grafana &> /dev/null || :
/sbin/restorecon -RvF /usr/libexec/grafana-pcp &> /dev/null || :
/usr/sbin/semanage port -a -t grafana_port_t -p tcp 3000 &> /dev/null || :
2023-09-28 16:30:08 +00:00
%postun selinux
if [ $1 -eq 0 ] ; then
/usr/sbin/semanage port -d -p tcp 3000 &> /dev/null || :
2023-09-28 16:30:08 +00:00
for selinuxvariant in %{selinux_variants}
do
/usr/sbin/semodule -s ${selinuxvariant} -r grafana &> /dev/null || :
done
/sbin/restorecon -RvF /usr/sbin/grafana-* &> /dev/null || :
/sbin/restorecon -RvF /etc/grafana &> /dev/null || :
/sbin/restorecon -RvF /var/log/grafana &> /dev/null || :
/sbin/restorecon -RvF /var/lib/grafana &> /dev/null || :
/sbin/restorecon -RvF /usr/libexec/grafana-pcp &> /dev/null || :
2023-09-28 16:30:08 +00:00
fi
%files selinux
%defattr(-,root,root,0755)
%doc SELinux/*
%{_datadir}/selinux/*/grafana.pp
2019-04-29 20:55:24 +00:00
%changelog
2023-11-15 17:42:52 +00:00
* Wed Nov 15 2023 Sam Feifer <sfeifer@redhat.com> - 9.2.10-9
2023-11-15 16:48:55 +00:00
- Fix AVC denials found when testing
2023-11-15 17:42:52 +00:00
- Stop commented out gotest macro from expanding
2023-11-15 16:48:55 +00:00
* Thu Nov 9 2023 Sam Feifer <sfeifer@redhat.com> - 9.2.10-8
- Hide relabeling messages from selinux when installing/uninstalling
* Wed Nov 8 2023 Sam Feifer <sfeifer@redhat.com> - 9.2.10-7
- Include the selinux policy in the main package rather than a separate package
2023-10-05 15:55:46 +00:00
* Thu Oct 5 2023 Sam Feifer <sfeifer@redhat.com> - 9.2.10-6
- Added 0010-skip-tests
- Resolves problematic tests when building
2023-09-28 16:30:08 +00:00
* Thu Sep 28 2023 Sam Feifer <sfeifer@redhat.com> - 9.2.10-5
- Add SELinux policy for grafana
* Sat Jul 22 2023 Carl George <carl@redhat.com> - 9.2.10-4
- resolve CVE-2023-3128 grafana: Remove Email Lookup from oauth integrations
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 9.2.10-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
2023-05-18 15:05:15 +00:00
* Thu May 18 2023 Stan Cox <scox@redhat.com> 9.2.10-2
- Update to 9.2.10
* Mon May 15 2023 Stan Cox <scox@redhat.com> 9.2.10-1
2023-05-18 11:08:23 +00:00
- Update to 9.2.10
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
2022-09-21 11:28:25 +00:00
* Wed Sep 21 2022 Andreas Gerstmayr <agerstmayr@redhat.com> 9.0.9-1
- update to 9.0.9 tagged upstream community sources, see CHANGELOG
- resolve CVE-2022-35957 grafana: Escalation from admin to server admin when auth proxy is used (rhbz#2128565)
2022-09-15 14:11:11 +00:00
* Thu Sep 15 2022 Andreas Gerstmayr <agerstmayr@redhat.com> 9.0.8-1
- update to 9.0.8 tagged upstream community sources, see CHANGELOG
- do not list /usr/share/grafana/conf twice
- drop makefile in favor of create_bundles.sh script
- sync provides/obsoletes with CentOS versions
- drop husky patch
2022-07-27 10:43:28 +00:00
* Wed Jul 27 2022 Andreas Gerstmayr <agerstmayr@redhat.com> 9.0.5-1
2022-09-15 14:11:11 +00:00
- update to 9.0.5 tagged upstream community sources, see CHANGELOG (rhbz#2107413)
2022-07-27 10:43:28 +00:00
- run integration tests in check phase
- remove conditional around go-rpm-macros
- resolve CVE-2022-31107 grafana: OAuth account takeover (rhbz#2107435)
- resolve CVE-2022-31097 grafana: stored XSS vulnerability (rhbz#2107436)
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Jul 14 2022 Andreas Gerstmayr <agerstmayr@redhat.com> 9.0.2-3
- fix quoting in grafana-cli wrapper script (rhbz#2107046)
* Wed Jul 13 2022 Andreas Gerstmayr <agerstmayr@redhat.com> 9.0.2-2
- use systemd-sysusers to create the Grafana user and group
2022-07-06 10:57:30 +00:00
* Thu Jul 07 2022 Andreas Gerstmayr <agerstmayr@redhat.com> 9.0.2-1
- update to 9.0.2 tagged upstream community sources, see CHANGELOG
2022-06-22 17:13:29 +00:00
* Wed Jun 29 2022 Andreas Gerstmayr <agerstmayr@redhat.com> 8.5.6-1
- update to 8.5.6 tagged upstream community sources, see CHANGELOG
- updated license to AGPLv3
- place commented sample config file in /etc/grafana/grafana.ini
- enable Go modules in build process
- adapt Node.js bundling to yarn v3 and Zero Install feature
* Sun Jun 19 2022 Robert-André Mauchin <zebob.m@gmail.com> - 7.5.15-3
- Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191,
CVE-2022-29526, CVE-2022-30629
* Mon Apr 11 2022 Andreas Gerstmayr <agerstmayr@redhat.com> 7.5.15-2
- use clamp-mtime when generating the vendor and webpack tarballs,
to preserve past timestamps but still keep reproducibility
- round tarball mtime timestamp to midnight, to match SOURCE_DATE_EPOCH
* Fri Apr 08 2022 Andreas Gerstmayr <agerstmayr@redhat.com> 7.5.15-1
- update to 7.5.15 tagged upstream community sources, see CHANGELOG
- resolve CVE-2022-21673 grafana: Forward OAuth Identity Token can allow users to access some data sources
- resolve CVE-2022-21702 grafana: XSS vulnerability in data source handling
- resolve CVE-2022-21703 grafana: CSRF vulnerability can lead to privilege escalation
- resolve CVE-2022-21713 grafana: IDOR vulnerability can lead to information disclosure
- resolve CVE-2021-23648 sanitize-url: XSS
- resolve CVE-2022-21698 prometheus/client_golang: Denial of service using InstrumentHandlerCounter
- declare Node.js dependencies of subpackages
- make vendor and webpack tarballs reproducible
* Fri Jan 28 2022 Andreas Gerstmayr <agerstmayr@redhat.com> 7.5.13-1
- update to 7.5.13 tagged upstream community sources, see CHANGELOG
- support Go 1.18
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 7.5.11-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Tue Jan 18 2022 Andreas Gerstmayr <agerstmayr@redhat.com> 7.5.11-3
- use HMAC-SHA-256 instead of SHA-1 to generate password reset tokens
- update FIPS tests in check phase
2021-12-16 15:01:01 +00:00
* Thu Dec 16 2021 Andreas Gerstmayr <agerstmayr@redhat.com> 7.5.11-2
- resolve CVE-2021-44716 golang: net/http: limit growth of header canonicalization cache
- resolve CVE-2021-43813 grafana: directory traversal vulnerability for *.md files
2021-10-11 13:31:16 +00:00
* Mon Oct 11 2021 Andreas Gerstmayr <agerstmayr@redhat.com> 7.5.11-1
- update to 7.5.11 tagged upstream community sources, see CHANGELOG
- resolve CVE-2021-39226
2021-09-30 12:16:39 +00:00
* Thu Sep 30 2021 Andreas Gerstmayr <agerstmayr@redhat.com> 7.5.10-1
- update to 7.5.10 tagged upstream community sources, see CHANGELOG
2021-08-16 13:29:29 +00:00
* Mon Aug 16 2021 Andreas Gerstmayr <agerstmayr@redhat.com> 7.5.9-4
- rebuild to resolve CVE-2021-34558
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 7.5.9-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Thu Jul 08 2021 Andreas Gerstmayr <agerstmayr@redhat.com> 7.5.9-2
- remove unused dependency property-information
- always include FIPS patch in SRPM
2021-06-25 15:04:37 +00:00
* Fri Jun 25 2021 Andreas Gerstmayr <agerstmayr@redhat.com> 7.5.9-1
- update to 7.5.9 tagged upstream community sources, see CHANGELOG
* Mon Jun 21 2021 Andreas Gerstmayr <agerstmayr@redhat.com> 7.5.8-1
- update to 7.5.8 tagged upstream community sources, see CHANGELOG
- remove unused dependencies selfsigned, http-signature and gofpdf
* Fri Jun 11 2021 Andreas Gerstmayr <agerstmayr@redhat.com> 7.5.7-2
- remove unused cryptographic implementations
- use cryptographic functions from OpenSSL if FIPS mode is enabled
2021-05-20 14:57:43 +00:00
* Tue May 25 2021 Andreas Gerstmayr <agerstmayr@redhat.com> 7.5.7-1
- update to 7.5.7 tagged upstream community sources, see CHANGELOG
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 7.3.6-4
- Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 7.3.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Fri Jan 22 2021 Andreas Gerstmayr <agerstmayr@redhat.com> 7.3.6-2
- change working dir to $GRAFANA_HOME in grafana-cli wrapper (fixes Red Hat BZ #1916083)
- add pcp-redis-datasource to allow_loading_unsigned_plugins config option
2020-12-21 18:42:28 +00:00
* Mon Dec 21 2020 Andreas Gerstmayr <agerstmayr@redhat.com> 7.3.6-1
- update to 7.3.6 tagged upstream community sources, see CHANGELOG
- remove dependency on SAML (not supported in the open source version of Grafana)
2020-11-25 17:55:36 +00:00
* Wed Nov 25 2020 Andreas Gerstmayr <agerstmayr@redhat.com> 7.3.4-1
- update to 7.3.4 tagged upstream community sources, see CHANGELOG
* Tue Nov 10 2020 Andreas Gerstmayr <agerstmayr@redhat.com> 7.3.1-1
- update to 7.3.1 tagged upstream community sources, see CHANGELOG
- optionally bundle node.js dependencies and build and test frontend as part of the specfile
- change default provisioning path to /etc/grafana/provisioning (changed in version 7.1.1-1)
- resolve https://bugzilla.redhat.com/show_bug.cgi?id=1843170
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.1.1-2
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2020-07-30 15:52:28 +00:00
* Thu Jul 30 2020 Andreas Gerstmayr <agerstmayr@redhat.com> 7.1.1-1
- update to 7.1.1 tagged upstream community sources, see CHANGELOG
- merge all datasources into main grafana package
- bundle golang dependencies
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.7.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jun 05 2020 Andreas Gerstmayr <agerstmayr@redhat.com> 6.7.4-1
- update to 6.7.4 tagged upstream community sources, see CHANGELOG
- security fix for CVE-2020-13379
2020-04-28 12:01:56 +00:00
* Tue Apr 28 2020 Andreas Gerstmayr <agerstmayr@redhat.com> 6.7.3-1
- update to 6.7.3 tagged upstream community sources, see CHANGELOG
2020-04-28 12:01:56 +00:00
- add scripts to list Go dependencies and bundled npmjs dependencies
- set Grafana version in Grafana UI and grafana-cli --version
- declare README.md as documentation of datasource plugins
- create grafana.db on first installation (fixes RH BZ #1805472)
- change permissions of /var/lib/grafana to 750 (CVE-2020-12458)
- change permissions of /var/lib/grafana/grafana.db to 640 and
user/group grafana:grafana (CVE-2020-12458)
- change permissions of grafana.ini and ldap.toml to 640 (CVE-2020-12459)
* Wed Feb 26 2020 Mark Goodwin <mgoodwin@redhat.com> 6.6.2-1
- added patch0 to set the version string correctly
- removed patch 004-xerrors.patch, it's now upstream
- added several patches for golang vendored vrs build dep differences
- added patch to move grafana-cli binary to libexec dir
- update to 6.6.2 tagged upstream community sources, see CHANGELOG
* Wed Nov 20 2019 Mark Goodwin <mgoodwin@redhat.com> 6.3.6-1
- add weak depenency on grafana-pcp
- add patch to mute shellcheck SC1090 for grafana-cli
- update to 6.3.6 upstream community sources, see CHANGELOG
* Thu Sep 05 2019 Mark Goodwin <mgoodwin@redhat.com> 6.3.5-1
- drop uaparser patch now it's upstream
- add xerrors patch, see https://github.com/golang/go/issues/32246
- use vendor sources on rawhide until modules are fully supported
- update to latest upstream community sources, see CHANGELOG
* Fri Aug 30 2019 Mark Goodwin <mgoodwin@redhat.com> 6.3.4-1
- include fix for CVE-2019-15043
- add patch for uaparser on 32bit systems
- update to latest upstream community sources, see CHANGELOG
* Wed Jul 31 2019 Mark Goodwin <mgoodwin@redhat.com> 6.2.5-1
- update to latest upstream community sources, see CHANGELOG
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.2.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Jun 07 2019 Mark Goodwin <mgoodwin@redhat.com> 6.2.2-1
- split out some datasource plugins to sub-packages
- update to latest upstream community sources, see CHANGELOG
* Wed Jun 05 2019 Mark Goodwin <mgoodwin@redhat.com> 6.2.1-1
- update to latest upstream community sources, see CHANGELOG
* Fri May 24 2019 Mark Goodwin <mgoodwin@redhat.com> 6.2.0-1
- update to latest upstream community sources
- drop a couple of patches
* Wed May 08 2019 Mark Goodwin <mgoodwin@redhat.com> 6.1.6-2
- add conditional unbundle_vendor_sources macro
2019-04-30 02:20:34 +00:00
* Tue Apr 30 2019 Mark Goodwin <mgoodwin@redhat.com> 6.1.6-1
- update to latest upstream stable release 6.1.6, see CHANGELOG
- includes jQuery 3.4.0 security update
2019-04-29 20:55:24 +00:00
* Wed Apr 24 2019 Mark Goodwin <mgoodwin@redhat.com> 6.1.4-1
- update to latest upstream stable release 6.1.4, see CHANGELOG
- use gobuild and gochecks macros, eliminate arch symlinks
- re-enable grafana-debugsource package
- fix GRAFANA_GROUP typo
- fix more modes for brp-mangle-shebangs
- vendor source unbundling now done in prep after patches
- remove all rhel and fedora conditional guff
* Tue Apr 16 2019 Mark Goodwin <mgoodwin@redhat.com> 6.1.3-1
- update to latest upstream stable release 6.1.3, see CHANGELOG
- unbundle all vendor sources, replace with BuildRequires, see
the long list of blocker BZs linked to BZ#1670656
- BuildRequires go-plugin >= v1.0.0 for grpc_broker (thanks eclipseo)
- tweak make_webpack to no longer use grunt, switch to prod build
- add ExclusiveArch lua script (thanks quantum.analyst)
- move db directory and plugins to /var/lib/grafana
- split out into 6 patches, ready for upstream PRs
- add check to run go tests for gating checks
* Thu Apr 04 2019 Mark Goodwin <mgoodwin@redhat.com> 6.1.0-1
- update to latest upstream stable release 6.1.0, see CHANGELOG
* Thu Mar 21 2019 Mark Goodwin <mgoodwin@redhat.com> 6.0.2-1
- bump to latest upstream stable release 6.0.2-1
- unbundle almost all remaining vendor code, see linked blockers in BZ#1670656
* Fri Mar 15 2019 Mark Goodwin <mgoodwin@redhat.com> 6.0.1-3
- bump to latest upstream stable release 6.0.1-1
* Thu Mar 14 2019 Mark Goodwin <mgoodwin@redhat.com> 6.0.1-2
- unbundle and add BuildRequires for golang-github-rainycape-unidecode-devel
* Thu Mar 07 2019 Mark Goodwin <mgoodwin@redhat.com> 6.0.1-1
- update to v6.0.1 upstream sources, tweak distro config, re-do patch
- simplify make_webpack.sh script (Elliott Sales de Andrade)
- vendor/github.com/go-ldap is now gone, so don't unbundle it
* Thu Mar 07 2019 Mark Goodwin <mgoodwin@redhat.com> 5.4.3-11
- tweak after latest feedback, bump to 5.4.3-11 (BZ 1670656)
- build debuginfo package again
- unbundle BuildRequires for golang-github-hashicorp-version-devel
- remove some unneeded development files
- remove macros from changelog and other rpmlint tweaks
* Fri Feb 22 2019 Mark Goodwin <mgoodwin@redhat.com> 5.4.3-10
- tweak spec for available and unavailable (bundled) golang packages
* Wed Feb 20 2019 Xavier Bachelot <xavier@bachelot.org> 5.4.3-9
- Remove extraneous slash (cosmetic)
- Create directories just before moving stuff in them
- Truncate long lines
- Group all golang stuff
- Simplify BuildRequires/bundled Provides
- Sort BuildRequires/bundled Provides
- Fix bundled go packages Provides
* Fri Feb 15 2019 Mark Goodwin <mgoodwin@redhat.com> 5.4.3-8
- add BuildRequires (and unbundle) vendor sources available in Fedora
- declare Provides for remaining (bundled) vendor go sources
- do not attempt to unbundle anything on RHEL < 7 or Fedora < 28
* Thu Feb 07 2019 Mark Goodwin <mgoodwin@redhat.com> 5.4.3-7
- further refinement for spec doc section from Xavier Bachelot
- disable debug_package to avoid empty debugsourcefiles.list
* Wed Feb 06 2019 Mark Goodwin <mgoodwin@redhat.com> 5.4.3-6
- further refinement following review by Xavier Bachelot
* Tue Feb 05 2019 Mark Goodwin <mgoodwin@redhat.com> 5.4.3-5
- further refinement following review by Xavier Bachelot
* Fri Feb 01 2019 Mark Goodwin <mgoodwin@redhat.com> 5.4.3-4
- further spec updates after packaging review
- reworked post-install scriplets
* Thu Jan 31 2019 Mark Goodwin <mgoodwin@redhat.com> 5.4.3-3
- tweak FHS patch, update spec after packaging review
* Wed Jan 30 2019 Mark Goodwin <mgoodwin@redhat.com> 5.4.3-2
- add patch to be standard FHS compliant, remove phantomjs
- update to v5.4.3 upstream community sources
* Wed Jan 09 2019 Mark Goodwin <mgoodwin@redhat.com> 5.4.2-1
- update to v5.4.2 upstream community sources
* Thu Oct 18 2018 Mark Goodwin <mgoodwin@redhat.com> 5.3.1-1
- update to v5.3.1 upstream community sources
* Tue Oct 02 2018 Mark Goodwin <mgoodwin@redhat.com> 5.2.5-1
- native RPM spec build with current tagged v5.2.5 sources