1 Star 0 Fork 18

李恬/grafana

forked from src-openEuler/grafana 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
grafana.spec 48.42 KB
一键复制 编辑 原始数据 按行查看 历史
wk333 提交于 2024-09-29 11:19 +08:00 . Fix CVE-2024-8118
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059
%if ! 0%{?gobuild:1}
%define gobuild(o:) GO111MODULE=auto go build -buildmode pie -compiler gc -tags="rpm_crashtraceback ${GO_BUILDTAGS-${BUILDTAGS-}}" -a -v -x -ldflags "${GO_LDFLAGS-${LDFLAGS-}} -B 0x$(echo "%{name}-%{version}-%{release}-${SOURCE_DATE_EPOCH:-}" | sha1sum | cut -d ' ' -f1) -compressdwarf=false -linkmode=external -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld '" %{?**};
%endif
%if ! 0%{?gotest:1}
%define gotest() GO111MODULE=off go test -buildmode pie -compiler gc -ldflags "${GO_LDFLAGS-${LDFLAGS-}} -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld '" %{?**};
%endif
# 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
%define enable_fips_mode 0
%global gomodulesmode GO111MODULE=auto
%global gotestflags %{gotestflags} -tags=integration
%global selinux_variants mls targeted
Name: grafana
Version: 10.2.6
Release: 3
Summary: Metrics dashboard and graph editor
License: AGPL-3.0-only
URL: https://grafana.org
# Source0 contains the tagged upstream sources
Source0: https://github.com/grafana/grafana/archive/v%{version}/%{name}-%{version}.tar.gz
# Source1 contains the bundled Go and Node.js dependencies
# Note: In case there were no changes to this tarball, the NVR of this tarball
# lags behind the NVR of this package.
Source1: grafana-vendor-%{version}-2.tar.xz
%if %{compile_frontend} == 0
# Source2 contains the precompiled frontend
# Note: In case there were no changes to this tarball, the NVR of this tarball
# lags behind the NVR of this package.
Source2: grafana-webpack-%{version}-2.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
# 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
# Source8 - Source10 contain the grafana-selinux policy
Source8: grafana.te
Source9: grafana.fc
Source10: grafana.if
# Patches affecting the source tarball
Patch1: 0001-update-grafana-cli-script-with-distro-specific-paths.patch
Patch2: 0002-add-manpages.patch
Patch3: 0003-update-default-configuration.patch
Patch4: 0004-remove-unused-backend-dependencies.patch
Patch5: 0005-remove-unused-frontend-crypto.patch
Patch6: 0006-skip-marketplace-plugin-install-test.patch
Patch7: 0007-redact-weak-ciphers.patch
Patch8: 0008-replace-faulty-slices-sort.patch
Patch9: 0009-update-wrappers-and-systemd-with-distro-paths.patch
# https://github.com/grafana/grafana/commit/bae86dbeb0ad68a205454e98e76985dc393183d4
Patch10: 0010-remove-bcrypt-references.patch
Patch11: CVE-2024-8118.patch
# 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
Patch1004: 1004-vendor-Redacted-Url-in-logs.patch
BuildRequires: systemd
BuildRequires: golang >= 1.21
BuildRequires: go-srpm-macros
#BuildRequires: go-rpm-macros
%if %{compile_frontend}
BuildRequires: nodejs >= 1:16
BuildRequires: yarnpkg
%endif
%if %{enable_fips_mode}
BuildRequires: openssl-devel
%endif
%global GRAFANA_USER %{name}
%global GRAFANA_GROUP %{name}
%global GRAFANA_HOME %{_datadir}/%{name}
# grafana-server service daemon uses systemd
%{?systemd_requires}
Requires(pre): shadow-utils
# Grafana queries the mime database (through mime.TypeByExtension, in a unit test and at runtime)
BuildRequires: shared-mime-info
Requires: shared-mime-info
# 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)
Recommends: grafana-pcp
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
# vendored golang and node.js build dependencies
# this is for security purposes, if nodejs-foo ever needs an update,
# affected packages can be easily identified.
# Note: generated by the Makefile (see README.md)
Provides: bundled(golang(cloud.google.com/go/storage)) = 1.30.1
Provides: bundled(golang(cuelang.org/go)) = 0.6.0-0.dev
Provides: bundled(golang(github.com/Azure/azure-sdk-for-go)) = 65.0.0+incompatible
Provides: bundled(golang(github.com/Azure/go-autorest/autorest)) = 0.11.28
Provides: bundled(golang(github.com/BurntSushi/toml)) = 1.3.2
Provides: bundled(golang(github.com/Masterminds/semver)) = 1.5.0
Provides: bundled(golang(github.com/VividCortex/mysqlerr)) = 0.0.0-20170204212430.6c6b55f8796f
Provides: bundled(golang(github.com/aws/aws-sdk-go)) = 1.44.325
Provides: bundled(golang(github.com/beevik/etree)) = 1.2.0
Provides: bundled(golang(github.com/benbjohnson/clock)) = 1.3.5
Provides: bundled(golang(github.com/blang/semver/v4)) = 4.0.0
Provides: bundled(golang(github.com/bradfitz/gomemcache)) = 0.0.0-20190913173617.a41fca850d0b
Provides: bundled(golang(github.com/centrifugal/centrifuge)) = 0.30.2
Provides: bundled(golang(github.com/fatih/color)) = 1.15.0
Provides: bundled(golang(github.com/gchaincl/sqlhooks)) = 1.3.0
Provides: bundled(golang(github.com/go-ldap/ldap/v3)) = 3.4.4
Provides: bundled(golang(github.com/go-openapi/strfmt)) = 0.21.7
Provides: bundled(golang(github.com/go-redis/redis/v8)) = 8.11.5
Provides: bundled(golang(github.com/go-sourcemap/sourcemap)) = 2.1.3+incompatible
Provides: bundled(golang(github.com/go-sql-driver/mysql)) = 1.7.1
Provides: bundled(golang(github.com/go-stack/stack)) = 1.8.1
Provides: bundled(golang(github.com/gobwas/glob)) = 0.2.3
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
Provides: bundled(golang(github.com/google/go-cmp)) = 0.6.0
Provides: bundled(golang(github.com/google/uuid)) = 1.4.0
Provides: bundled(golang(github.com/google/wire)) = 0.5.0
Provides: bundled(golang(github.com/gorilla/websocket)) = 1.5.0
Provides: bundled(golang(github.com/grafana/alerting)) = 0.0.0-20231101090315.bf12694896a8
Provides: bundled(golang(github.com/grafana/cuetsy)) = 0.1.11
Provides: bundled(golang(github.com/grafana/grafana-aws-sdk)) = 0.19.1
Provides: bundled(golang(github.com/grafana/grafana-azure-sdk-go)) = 1.9.0
Provides: bundled(golang(github.com/grafana/grafana-plugin-sdk-go)) = 0.196.0
Provides: bundled(golang(github.com/grpc-ecosystem/go-grpc-middleware)) = 1.4.0
Provides: bundled(golang(github.com/hashicorp/go-hclog)) = 1.5.0
Provides: bundled(golang(github.com/hashicorp/go-plugin)) = 1.6.0
Provides: bundled(golang(github.com/hashicorp/go-version)) = 1.6.0
Provides: bundled(golang(github.com/hashicorp/hcl/v2)) = 2.17.0
Provides: bundled(golang(github.com/influxdata/influxdb-client-go/v2)) = 2.12.3
Provides: bundled(golang(github.com/influxdata/line-protocol)) = 0.0.0-20210311194329.9aa0e372d097
Provides: bundled(golang(github.com/jmespath/go-jmespath)) = 0.4.0
Provides: bundled(golang(github.com/json-iterator/go)) = 1.1.12
Provides: bundled(golang(github.com/lib/pq)) = 1.10.9
Provides: bundled(golang(github.com/linkedin/goavro/v2)) = 2.10.0
Provides: bundled(golang(github.com/m3db/prometheus_remote_client_golang)) = 0.4.4
Provides: bundled(golang(github.com/magefile/mage)) = 1.15.0
Provides: bundled(golang(github.com/mattn/go-isatty)) = 0.0.18
Provides: bundled(golang(github.com/mattn/go-sqlite3)) = 1.14.19
Provides: bundled(golang(github.com/matttproud/golang_protobuf_extensions)) = 1.0.4
Provides: bundled(golang(github.com/mwitkow/go-conntrack)) = 0.0.0-20190716064945.2f068394615f
Provides: bundled(golang(github.com/patrickmn/go-cache)) = 2.1.0+incompatible
Provides: bundled(golang(github.com/prometheus/alertmanager)) = 0.25.0
Provides: bundled(golang(github.com/prometheus/client_golang)) = 1.17.0
Provides: bundled(golang(github.com/prometheus/client_model)) = 0.5.0
Provides: bundled(golang(github.com/prometheus/common)) = 0.45.0
Provides: bundled(golang(github.com/prometheus/prometheus)) = 1.8.2-0.20221021121301.51a44e6657c3
Provides: bundled(golang(github.com/robfig/cron/v3)) = 3.0.1
Provides: bundled(golang(github.com/russellhaering/goxmldsig)) = 1.4.0
Provides: bundled(golang(github.com/stretchr/testify)) = 1.8.4
Provides: bundled(golang(github.com/teris-io/shortid)) = 0.0.0-20171029131806.771a37caa5cf
Provides: bundled(golang(github.com/ua-parser/uap-go)) = 0.0.0-20211112212520.00c877edfe0f
Provides: bundled(golang(github.com/urfave/cli/v2)) = 2.25.0
Provides: bundled(golang(github.com/vectordotdev/go-datemath)) = 0.1.1-0.20220323213446.f3954d0b18ae
Provides: bundled(golang(github.com/yalue/merged_fs)) = 1.2.2
Provides: bundled(golang(github.com/yudai/gojsondiff)) = 1.0.0
Provides: bundled(golang(go.opentelemetry.io/collector/pdata)) = 1.0.0-rc8
Provides: bundled(golang(go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace)) = 0.46.1
Provides: bundled(golang(go.opentelemetry.io/otel/exporters/jaeger)) = 1.10.0
Provides: bundled(golang(go.opentelemetry.io/otel/sdk)) = 1.21.0
Provides: bundled(golang(go.opentelemetry.io/otel/trace)) = 1.21.0
Provides: bundled(golang(golang.org/x/crypto)) = 0.17.0
Provides: bundled(golang(golang.org/x/exp)) = 0.0.0-20230321023759.10a507213a29
Provides: bundled(golang(golang.org/x/net)) = 0.19.0
Provides: bundled(golang(golang.org/x/oauth2)) = 0.15.0
Provides: bundled(golang(golang.org/x/sync)) = 0.4.0
Provides: bundled(golang(golang.org/x/time)) = 0.3.0
Provides: bundled(golang(golang.org/x/tools)) = 0.13.0
Provides: bundled(golang(gonum.org/v1/gonum)) = 0.12.0
Provides: bundled(golang(google.golang.org/api)) = 0.148.0
Provides: bundled(golang(google.golang.org/grpc)) = 1.59.0
Provides: bundled(golang(google.golang.org/protobuf)) = 1.31.0
Provides: bundled(golang(gopkg.in/ini.v1)) = 1.67.0
Provides: bundled(golang(gopkg.in/mail.v2)) = 2.3.1
Provides: bundled(golang(gopkg.in/yaml.v3)) = 3.0.1
Provides: bundled(golang(xorm.io/builder)) = 0.3.6
Provides: bundled(golang(xorm.io/core)) = 0.7.3
Provides: bundled(golang(xorm.io/xorm)) = 0.8.2
Provides: bundled(golang(github.com/andybalholm/brotli)) = 1.0.4
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/go-openapi/runtime)) = 0.26.0
Provides: bundled(golang(github.com/golang-jwt/jwt/v4)) = 4.5.0
Provides: bundled(golang(github.com/golang/protobuf)) = 1.5.3
Provides: bundled(golang(github.com/googleapis/gax-go/v2)) = 2.12.0
Provides: bundled(golang(github.com/gorilla/mux)) = 1.8.0
Provides: bundled(golang(github.com/grafana/grafana-google-sdk-go)) = 0.1.0
Provides: bundled(golang(github.com/hashicorp/go-multierror)) = 1.1.1
Provides: bundled(golang(github.com/modern-go/reflect2)) = 1.0.2
Provides: bundled(golang(github.com/olekukonko/tablewriter)) = 0.0.5
Provides: bundled(golang(go.uber.org/atomic)) = 1.11.0
Provides: bundled(golang(golang.org/x/text)) = 0.14.0
Provides: bundled(golang(google.golang.org/genproto)) = 0.0.0-20231012201019.e917dd12ba7a
Provides: bundled(golang(cloud.google.com/go/kms)) = 1.15.2
Provides: bundled(golang(github.com/Azure/azure-sdk-for-go/sdk/azidentity)) = 1.3.0
Provides: bundled(golang(github.com/Azure/azure-sdk-for-go/sdk/keyvault/azkeys)) = 0.9.0
Provides: bundled(golang(github.com/Azure/azure-storage-blob-go)) = 0.15.0
Provides: bundled(golang(github.com/Azure/go-autorest/autorest/adal)) = 0.9.22
Provides: bundled(golang(github.com/armon/go-radix)) = 1.0.0
Provides: bundled(golang(github.com/blugelabs/bluge)) = 0.1.9
Provides: bundled(golang(github.com/blugelabs/bluge_segment_api)) = 0.2.0
Provides: bundled(golang(github.com/bufbuild/connect-go)) = 1.10.0
Provides: bundled(golang(github.com/dlmiddlecote/sqlstats)) = 1.0.2
Provides: bundled(golang(github.com/drone/drone-cli)) = 1.6.1
Provides: bundled(golang(github.com/getkin/kin-openapi)) = 0.120.0
Provides: bundled(golang(github.com/golang-migrate/migrate/v4)) = 4.7.0
Provides: bundled(golang(github.com/google/go-github)) = 17.0.0+incompatible
Provides: bundled(golang(github.com/google/go-github/v45)) = 45.2.0
Provides: bundled(golang(github.com/grafana/codejen)) = 0.0.3
Provides: bundled(golang(github.com/grafana/dskit)) = 0.0.0-20230706162620.5081d8ed53e6
Provides: bundled(golang(github.com/huandu/xstrings)) = 1.3.1
Provides: bundled(golang(github.com/jmoiron/sqlx)) = 1.3.5
Provides: bundled(golang(github.com/matryer/is)) = 1.4.0
Provides: bundled(golang(github.com/urfave/cli)) = 1.22.14
Provides: bundled(golang(go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc)) = 0.46.1
Provides: bundled(golang(go.opentelemetry.io/contrib/propagators/jaeger)) = 1.21.1
Provides: bundled(golang(go.opentelemetry.io/otel/exporters/otlp/otlptrace)) = 1.21.0
Provides: bundled(golang(go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc)) = 1.21.0
Provides: bundled(golang(gocloud.dev)) = 0.25.0
Provides: bundled(golang(buf.build/gen/go/parca-dev/parca/bufbuild/connect-go)) = 1.4.1-20221222094228.8b1d3d0f62e6.1
Provides: bundled(golang(buf.build/gen/go/parca-dev/parca/protocolbuffers/go)) = 1.28.1-20221222094228.8b1d3d0f62e6.4
Provides: bundled(golang(github.com/Masterminds/semver/v3)) = 3.1.1
Provides: bundled(golang(github.com/alicebob/miniredis/v2)) = 2.30.1
Provides: bundled(golang(github.com/dave/dst)) = 0.27.2
Provides: bundled(golang(github.com/go-jose/go-jose/v3)) = 3.0.1
Provides: bundled(golang(github.com/grafana/dataplane/examples)) = 0.0.1
Provides: bundled(golang(github.com/grafana/dataplane/sdata)) = 0.0.6
Provides: bundled(golang(github.com/grafana/kindsys)) = 0.0.0-20230508162304.452481b63482
Provides: bundled(golang(github.com/grafana/tempo)) = 1.5.1-0.20230524121406.1dc1bfe7085b
Provides: bundled(golang(github.com/grafana/thema)) = 0.0.0-20230712153715.375c1b45f3ed
Provides: bundled(golang(github.com/microsoft/go-mssqldb)) = 1.5.0
Provides: bundled(golang(github.com/ory/fosite)) = 0.44.1-0.20230317114349.45a6785cc54f
Provides: bundled(golang(github.com/redis/go-redis/v9)) = 9.0.2
Provides: bundled(golang(github.com/weaveworks/common)) = 0.0.0-20230511094633.334485600903
Provides: bundled(golang(github.com/xeipuuv/gojsonpointer)) = 0.0.0-20180127040702.4e3ac2762d5f
Provides: bundled(golang(go.opentelemetry.io/contrib/samplers/jaegerremote)) = 0.15.1
Provides: bundled(golang(golang.org/x/mod)) = 0.12.0
Provides: bundled(golang(gopkg.in/square/go-jose.v2)) = 2.6.0
Provides: bundled(golang(k8s.io/utils)) = 0.0.0-20230406110748.d93618cff8a2
Provides: bundled(golang(github.com/spf13/cobra)) = 1.7.0
Provides: bundled(golang(go.opentelemetry.io/otel)) = 1.21.0
Provides: bundled(golang(k8s.io/apimachinery)) = 0.28.3
Provides: bundled(golang(k8s.io/apiserver)) = 0.28.3
Provides: bundled(golang(k8s.io/client-go)) = 0.28.3
Provides: bundled(golang(k8s.io/component-base)) = 0.28.3
Provides: bundled(golang(k8s.io/klog/v2)) = 2.100.1
Provides: bundled(golang(k8s.io/kube-openapi)) = 0.0.0-20230717233707.2695361300d9
Provides: bundled(golang(github.com/bwmarrin/snowflake)) = 0.3.0
Provides: bundled(golang(github.com/mitchellh/mapstructure)) = 1.5.0
Provides: bundled(golang(sigs.k8s.io/yaml)) = 1.3.0
Provides: bundled(golang(filippo.io/age)) = 1.1.1
Provides: bundled(golang(github.com/Masterminds/sprig/v3)) = 3.2.2
Provides: bundled(golang(github.com/ProtonMail/go-crypto)) = 0.0.0-20230828082145.3c4c8a2d2371
Provides: bundled(golang(github.com/docker/docker)) = 23.0.4+incompatible
Provides: bundled(golang(github.com/go-logr/logr)) = 1.3.0
Provides: bundled(golang(github.com/hmarr/codeowners)) = 1.1.2
Provides: bundled(golang(github.com/wk8/go-ordered-map)) = 1.0.0
Provides: bundled(golang(github.com/xlab/treeprint)) = 1.2.0
Provides: bundled(npm(@babel/core)) = 7.23.2
Provides: bundled(npm(@babel/plugin-proposal-class-properties)) = 7.18.6
Provides: bundled(npm(@babel/plugin-proposal-nullish-coalescing-operator)) = 7.18.6
Provides: bundled(npm(@babel/plugin-proposal-object-rest-spread)) = 7.20.7
Provides: bundled(npm(@babel/plugin-proposal-optional-chaining)) = 7.21.0
Provides: bundled(npm(@babel/plugin-syntax-dynamic-import)) = 7.8.3
Provides: bundled(npm(@babel/plugin-transform-react-constant-elements)) = 7.22.5
Provides: bundled(npm(@babel/plugin-transform-runtime)) = 7.23.2
Provides: bundled(npm(@babel/plugin-transform-typescript)) = 7.22.9
Provides: bundled(npm(@babel/preset-env)) = 7.23.2
Provides: bundled(npm(@babel/preset-react)) = 7.22.5
Provides: bundled(npm(@babel/preset-typescript)) = 7.23.2
Provides: bundled(npm(@babel/runtime)) = 7.23.2
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.2
Provides: bundled(npm(@cypress/webpack-preprocessor)) = 5.17.1
Provides: bundled(npm(@daybrush/utils)) = 1.13.0
Provides: bundled(npm(@emotion/css)) = 11.11.2
Provides: bundled(npm(@emotion/eslint-plugin)) = 11.11.0
Provides: bundled(npm(@emotion/react)) = 11.11.1
Provides: bundled(npm(@fingerprintjs/fingerprintjs)) = 3.4.2
Provides: bundled(npm(@glideapps/glide-data-grid)) = 5.2.1
Provides: bundled(npm(@grafana/aws-sdk)) = 0.3.1
Provides: bundled(npm(@grafana/e2e-selectors)) = 10.0.2
Provides: bundled(npm(@grafana/eslint-config)) = 6.0.1
Provides: bundled(npm(@grafana/experimental)) = 1.7.0
Provides: bundled(npm(@grafana/faro-core)) = 1.2.1
Provides: bundled(npm(@grafana/faro-web-sdk)) = 1.2.1
Provides: bundled(npm(@grafana/google-sdk)) = 0.1.1
Provides: bundled(npm(@grafana/lezer-logql)) = 0.2.2
Provides: bundled(npm(@grafana/lezer-traceql)) = 0.0.11
Provides: bundled(npm(@grafana/monaco-logql)) = 0.0.7
Provides: bundled(npm(@grafana/scenes)) = 1.27.0
Provides: bundled(npm(@grafana/tsconfig)) = 1.2.0rc1
Provides: bundled(npm(@kusto/monaco-kusto)) = 7.7.0
Provides: bundled(npm(@leeoniya/ufuzzy)) = 1.0.8
Provides: bundled(npm(@lezer/common)) = 1.0.2
Provides: bundled(npm(@lezer/highlight)) = 1.1.3
Provides: bundled(npm(@lezer/lr)) = 1.3.3
Provides: bundled(npm(@locker/near-membrane-dom)) = 0.13.3
Provides: bundled(npm(@locker/near-membrane-shared)) = 0.13.3
Provides: bundled(npm(@locker/near-membrane-shared-dom)) = 0.13.3
Provides: bundled(npm(@mochajs/json-file-reporter)) = 1.3.0
Provides: bundled(npm(@monaco-editor/react)) = 4.6.0
Provides: bundled(npm(@opentelemetry/api)) = 1.6.0
Provides: bundled(npm(@opentelemetry/exporter-collector)) = 0.25.0
Provides: bundled(npm(@opentelemetry/semantic-conventions)) = 0.25.0
Provides: bundled(npm(@pmmmwh/react-refresh-webpack-plugin)) = 0.5.10
Provides: bundled(npm(@popperjs/core)) = 2.11.8
Provides: bundled(npm(@prometheus-io/lezer-promql)) = 0.37.0
Provides: bundled(npm(@react-aria/button)) = 3.8.0
Provides: bundled(npm(@react-aria/dialog)) = 3.5.3
Provides: bundled(npm(@react-aria/focus)) = 3.13.0
Provides: bundled(npm(@react-aria/interactions)) = 3.16.0
Provides: bundled(npm(@react-aria/menu)) = 3.10.0
Provides: bundled(npm(@react-aria/overlays)) = 3.15.0
Provides: bundled(npm(@react-aria/utils)) = 3.18.0
Provides: bundled(npm(@react-awesome-query-builder/core)) = 6.4.1
Provides: bundled(npm(@react-awesome-query-builder/ui)) = 6.4.1
Provides: bundled(npm(@react-stately/collections)) = 3.9.0
Provides: bundled(npm(@react-stately/menu)) = 3.5.3
Provides: bundled(npm(@react-stately/tree)) = 3.7.0
Provides: bundled(npm(@react-types/button)) = 3.9.0
Provides: bundled(npm(@react-types/menu)) = 3.9.2
Provides: bundled(npm(@react-types/overlays)) = 3.8.0
Provides: bundled(npm(@react-types/shared)) = 3.21.0
Provides: bundled(npm(@reduxjs/toolkit)) = 1.9.5
Provides: bundled(npm(@remix-run/router)) = 1.5.0
Provides: bundled(npm(@rollup/plugin-commonjs)) = 25.0.2
Provides: bundled(npm(@rollup/plugin-json)) = 6.0.0
Provides: bundled(npm(@rollup/plugin-node-resolve)) = 15.2.3
Provides: bundled(npm(@storybook/addon-a11y)) = 7.4.5
Provides: bundled(npm(@storybook/addon-actions)) = 7.4.5
Provides: bundled(npm(@storybook/addon-docs)) = 7.4.5
Provides: bundled(npm(@storybook/addon-essentials)) = 7.4.5
Provides: bundled(npm(@storybook/addon-storysource)) = 7.4.5
Provides: bundled(npm(@storybook/api)) = 7.4.5
Provides: bundled(npm(@storybook/blocks)) = 7.4.5
Provides: bundled(npm(@storybook/client-api)) = 7.4.5
Provides: bundled(npm(@storybook/components)) = 7.4.5
Provides: bundled(npm(@storybook/core-events)) = 7.4.5
Provides: bundled(npm(@storybook/mdx2-csf)) = 1.1.0
Provides: bundled(npm(@storybook/preset-scss)) = 1.0.3
Provides: bundled(npm(@storybook/react)) = 7.4.5
Provides: bundled(npm(@storybook/react-webpack5)) = 7.4.5
Provides: bundled(npm(@storybook/theming)) = 7.4.5
Provides: bundled(npm(@swc/core)) = 1.3.38
Provides: bundled(npm(@swc/helpers)) = 0.4.14
Provides: bundled(npm(@testing-library/dom)) = 9.3.3
Provides: bundled(npm(@testing-library/jest-dom)) = 6.1.2
Provides: bundled(npm(@testing-library/react)) = 14.0.0
Provides: bundled(npm(@testing-library/react-hooks)) = 8.0.1
Provides: bundled(npm(@testing-library/user-event)) = 14.5.1
Provides: bundled(npm(@types/angular)) = 1.8.5
Provides: bundled(npm(@types/angular-route)) = 1.7.3
Provides: bundled(npm(@types/chance)) = 1.1.3
Provides: bundled(npm(@types/chrome-remote-interface)) = 0.31.10
Provides: bundled(npm(@types/common-tags)) = 1.8.1
Provides: bundled(npm(@types/d3)) = 7.4.0
Provides: bundled(npm(@types/d3-force)) = 3.0.4
Provides: bundled(npm(@types/d3-interpolate)) = 3.0.1
Provides: bundled(npm(@types/d3-scale-chromatic)) = 3.0.0
Provides: bundled(npm(@types/debounce-promise)) = 3.1.6
Provides: bundled(npm(@types/diff)) = 5.0.5
Provides: bundled(npm(@types/dompurify)) = 2.4.0
Provides: bundled(npm(@types/eslint)) = 8.44.0
Provides: bundled(npm(@types/file-saver)) = 2.0.5
Provides: bundled(npm(@types/glob)) = 7.2.0
Provides: bundled(npm(@types/google.analytics)) = 0.0.42
Provides: bundled(npm(@types/gtag.js)) = 0.0.12
Provides: bundled(npm(@types/history)) = 4.7.11
Provides: bundled(npm(@types/hoist-non-react-statics)) = 3.3.1
Provides: bundled(npm(@types/is-hotkey)) = 0.1.7
Provides: bundled(npm(@types/jest)) = 26.0.15
Provides: bundled(npm(@types/jquery)) = 3.5.16
Provides: bundled(npm(@types/js-yaml)) = 4.0.5
Provides: bundled(npm(@types/jsurl)) = 1.2.30
Provides: bundled(npm(@types/lodash)) = 4.14.195
Provides: bundled(npm(@types/logfmt)) = 1.2.3
Provides: bundled(npm(@types/lucene)) = 2.1.4
Provides: bundled(npm(@types/marked)) = 5.0.1
Provides: bundled(npm(@types/mock-raf)) = 1.0.3
Provides: bundled(npm(@types/mousetrap)) = 1.6.11
Provides: bundled(npm(@types/node)) = 14.18.36
Provides: bundled(npm(@types/node-forge)) = 1.3.2
Provides: bundled(npm(@types/ol-ext)) = 3.2.0
Provides: bundled(npm(@types/papaparse)) = 5.3.7
Provides: bundled(npm(@types/pluralize)) = 0.0.30
Provides: bundled(npm(@types/prismjs)) = 1.26.0
Provides: bundled(npm(@types/react)) = 18.0.28
Provides: bundled(npm(@types/react-beautiful-dnd)) = 13.1.4
Provides: bundled(npm(@types/react-calendar)) = 3.9.0
Provides: bundled(npm(@types/react-color)) = 3.0.6
Provides: bundled(npm(@types/react-dom)) = 18.2.7
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-resizable)) = 3.0.4
Provides: bundled(npm(@types/react-router-dom)) = 5.3.3
Provides: bundled(npm(@types/react-table)) = 7.7.14
Provides: bundled(npm(@types/react-test-renderer)) = 18.0.0
Provides: bundled(npm(@types/react-transition-group)) = 4.4.6
Provides: bundled(npm(@types/react-virtualized-auto-sizer)) = 1.0.1
Provides: bundled(npm(@types/react-window)) = 1.8.5
Provides: bundled(npm(@types/react-window-infinite-loader)) = 1.0.6
Provides: bundled(npm(@types/redux-mock-store)) = 1.0.3
Provides: bundled(npm(@types/semver)) = 7.5.0
Provides: bundled(npm(@types/slate)) = 0.47.11
Provides: bundled(npm(@types/slate-plain-serializer)) = 0.7.2
Provides: bundled(npm(@types/slate-react)) = 0.22.9
Provides: bundled(npm(@types/string-hash)) = 1.1.1
Provides: bundled(npm(@types/systemjs)) = 6.13.1
Provides: bundled(npm(@types/testing-library__jest-dom)) = 5.14.8
Provides: bundled(npm(@types/tinycolor2)) = 1.4.3
Provides: bundled(npm(@types/trusted-types)) = 2.0.3
Provides: bundled(npm(@types/uuid)) = 8.3.4
Provides: bundled(npm(@types/webpack-assets-manifest)) = 5.1.4
Provides: bundled(npm(@types/webpack-env)) = 1.18.1
Provides: bundled(npm(@types/yargs)) = 15.0.14
Provides: bundled(npm(@typescript-eslint/eslint-plugin)) = 5.42.0
Provides: bundled(npm(@typescript-eslint/parser)) = 5.42.0
Provides: bundled(npm(@typescript-eslint/types)) = 5.42.0
Provides: bundled(npm(@typescript-eslint/utils)) = 5.42.0
Provides: bundled(npm(@visx/event)) = 3.3.0
Provides: bundled(npm(@visx/gradient)) = 3.3.0
Provides: bundled(npm(@visx/group)) = 3.3.0
Provides: bundled(npm(@visx/scale)) = 3.3.0
Provides: bundled(npm(@visx/shape)) = 3.3.0
Provides: bundled(npm(@visx/tooltip)) = 3.3.0
Provides: bundled(npm(@welldone-software/why-did-you-render)) = 7.0.1
Provides: bundled(npm(angular)) = 1.8.3
Provides: bundled(npm(angular-bindonce)) = 0.3.1
Provides: bundled(npm(angular-route)) = 1.8.3
Provides: bundled(npm(angular-sanitize)) = 1.8.3
Provides: bundled(npm(ansicolor)) = 1.1.100
Provides: bundled(npm(autoprefixer)) = 10.4.14
Provides: bundled(npm(babel-jest)) = 29.6.4
Provides: bundled(npm(babel-loader)) = 9.1.3
Provides: bundled(npm(babel-plugin-angularjs-annotate)) = 0.10.0
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(blob-polyfill)) = 7.0.20220408
Provides: bundled(npm(brace)) = 0.11.1
Provides: bundled(npm(browserslist)) = 4.22.0
Provides: bundled(npm(calculate-size)) = 1.1.1
Provides: bundled(npm(centrifuge)) = 4.0.1
Provides: bundled(npm(chance)) = 1.1.11
Provides: bundled(npm(chrome-remote-interface)) = 0.33.0
Provides: bundled(npm(classnames)) = 2.3.2
Provides: bundled(npm(codeowners)) = 5.1.1
Provides: bundled(npm(combokeys)) = 3.0.1
Provides: bundled(npm(comlink)) = 4.4.1
Provides: bundled(npm(commander)) = 2.11.0
Provides: bundled(npm(common-tags)) = 1.8.2
Provides: bundled(npm(copy-webpack-plugin)) = 11.0.0
Provides: bundled(npm(core-js)) = 2.6.12
Provides: bundled(npm(css-loader)) = 6.8.1
Provides: bundled(npm(css-minimizer-webpack-plugin)) = 5.0.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)) = 7.8.5
Provides: bundled(npm(d3-force)) = 3.0.0
Provides: bundled(npm(d3-interpolate)) = 3.0.1
Provides: bundled(npm(d3-scale-chromatic)) = 3.0.0
Provides: bundled(npm(dangerously-set-html-content)) = 1.0.9
Provides: bundled(npm(date-fns)) = 2.30.0
Provides: bundled(npm(debounce-promise)) = 3.1.2
Provides: bundled(npm(devtools-protocol)) = 0.0.927104
Provides: bundled(npm(diff)) = 4.0.2
Provides: bundled(npm(dompurify)) = 2.4.5
Provides: bundled(npm(emotion)) = 10.0.27
Provides: bundled(npm(esbuild)) = 0.17.19
Provides: bundled(npm(esbuild-loader)) = 3.0.1
Provides: bundled(npm(esbuild-plugin-browserslist)) = 0.8.1
Provides: bundled(npm(eslint)) = 8.42.0
Provides: bundled(npm(eslint-config-prettier)) = 8.8.0
Provides: bundled(npm(eslint-plugin-import)) = 2.27.5
Provides: bundled(npm(eslint-plugin-jest)) = 27.6.0
Provides: bundled(npm(eslint-plugin-jsdoc)) = 46.2.6
Provides: bundled(npm(eslint-plugin-jsx-a11y)) = 6.7.1
Provides: bundled(npm(eslint-plugin-lodash)) = 7.4.0
Provides: bundled(npm(eslint-plugin-react)) = 7.32.2
Provides: bundled(npm(eslint-plugin-react-hooks)) = 4.6.0
Provides: bundled(npm(eslint-webpack-plugin)) = 4.0.0
Provides: bundled(npm(eventemitter3)) = 4.0.7
Provides: bundled(npm(execa)) = 4.1.0
Provides: bundled(npm(expose-loader)) = 4.1.0
Provides: bundled(npm(fast-deep-equal)) = 3.1.3
Provides: bundled(npm(fast-json-patch)) = 3.1.1
Provides: bundled(npm(fast_array_intersect)) = 1.1.0
Provides: bundled(npm(file-saver)) = 2.0.5
Provides: bundled(npm(fork-ts-checker-webpack-plugin)) = 8.0.0
Provides: bundled(npm(framework-utils)) = 1.1.0
Provides: bundled(npm(glob)) = 7.1.4
Provides: bundled(npm(history)) = 4.10.1
Provides: bundled(npm(hoist-non-react-statics)) = 3.3.2
Provides: bundled(npm(html-loader)) = 4.2.0
Provides: bundled(npm(html-webpack-plugin)) = 5.5.3
Provides: bundled(npm(http-server)) = 14.1.1
Provides: bundled(npm(i18next)) = 21.9.2
Provides: bundled(npm(i18next-browser-languagedetector)) = 7.0.2
Provides: bundled(npm(i18next-parser)) = 6.6.0
Provides: bundled(npm(immer)) = 9.0.21
Provides: bundled(npm(immutable)) = 3.8.2
Provides: bundled(npm(is-hotkey)) = 0.1.4
Provides: bundled(npm(jest)) = 29.3.1
Provides: bundled(npm(jest-canvas-mock)) = 2.5.2
Provides: bundled(npm(jest-date-mock)) = 1.0.8
Provides: bundled(npm(jest-environment-jsdom)) = 29.3.1
Provides: bundled(npm(jest-fail-on-console)) = 3.1.1
Provides: bundled(npm(jest-junit)) = 16.0.0
Provides: bundled(npm(jest-matcher-utils)) = 29.6.4
Provides: bundled(npm(jquery)) = 3.7.0
Provides: bundled(npm(js-yaml)) = 3.14.1
Provides: bundled(npm(json-markup)) = 1.1.4
Provides: bundled(npm(json-source-map)) = 0.6.1
Provides: bundled(npm(jsurl)) = 0.1.5
Provides: bundled(npm(kbar)) = 0.1.0b44
Provides: bundled(npm(lerna)) = 7.4.1
Provides: bundled(npm(lodash)) = 4.17.21
Provides: bundled(npm(logfmt)) = 1.3.2
Provides: bundled(npm(lru-cache)) = 5.1.1
Provides: bundled(npm(lru-memoize)) = 1.1.0
Provides: bundled(npm(lucene)) = 2.1.1
Provides: bundled(npm(marked)) = 5.1.1
Provides: bundled(npm(marked-mangle)) = 1.1.0
Provides: bundled(npm(memoize-one)) = 4.0.3
Provides: bundled(npm(micro-memoize)) = 4.1.2
Provides: bundled(npm(mini-css-extract-plugin)) = 2.7.6
Provides: bundled(npm(ml-regression-polynomial)) = 3.0.0
Provides: bundled(npm(ml-regression-simple-linear)) = 3.0.0
Provides: bundled(npm(mocha)) = 10.2.0
Provides: bundled(npm(mock-raf)) = 1.0.1
Provides: bundled(npm(moment)) = 2.29.4
Provides: bundled(npm(moment-timezone)) = 0.5.43
Provides: bundled(npm(monaco-editor)) = 0.34.0
Provides: bundled(npm(monaco-promql)) = 1.7.4
Provides: bundled(npm(mousetrap)) = 1.6.5
Provides: bundled(npm(mousetrap-global-bind)) = 1.1.0
Provides: bundled(npm(moveable)) = 0.43.1
Provides: bundled(npm(msw)) = 1.3.2
Provides: bundled(npm(mutationobserver-shim)) = 0.3.7
Provides: bundled(npm(ngtemplate-loader)) = 2.1.0
Provides: bundled(npm(node-forge)) = 1.3.1
Provides: bundled(npm(node-notifier)) = 10.0.1
Provides: bundled(npm(ol)) = 7.4.0
Provides: bundled(npm(ol-ext)) = 4.0.10
Provides: bundled(npm(papaparse)) = 5.4.1
Provides: bundled(npm(pluralize)) = 8.0.0
Provides: bundled(npm(postcss)) = 8.4.31
Provides: bundled(npm(postcss-loader)) = 7.3.3
Provides: bundled(npm(postcss-reporter)) = 7.0.5
Provides: bundled(npm(postcss-scss)) = 4.0.6
Provides: bundled(npm(prettier)) = 2.8.7
Provides: bundled(npm(prismjs)) = 1.27.0
Provides: bundled(npm(process)) = 0.11.10
Provides: bundled(npm(prop-types)) = 15.8.1
Provides: bundled(npm(pseudoizer)) = 0.1.0
Provides: bundled(npm(rc-cascader)) = 3.20.0
Provides: bundled(npm(rc-drawer)) = 6.5.2
Provides: bundled(npm(rc-slider)) = 10.3.1
Provides: bundled(npm(rc-time-picker)) = 3.7.3
Provides: bundled(npm(rc-tooltip)) = 6.1.1
Provides: bundled(npm(rc-tree)) = 5.8.0
Provides: bundled(npm(re-resizable)) = 6.9.9
Provides: bundled(npm(react)) = 18.2.0
Provides: bundled(npm(react-beautiful-dnd)) = 13.1.1
Provides: bundled(npm(react-calendar)) = 4.6.0
Provides: bundled(npm(react-colorful)) = 5.6.1
Provides: bundled(npm(react-custom-scrollbars-2)) = 4.5.0
Provides: bundled(npm(react-diff-viewer)) = 3.1.1
Provides: bundled(npm(react-dom)) = 18.2.0
Provides: bundled(npm(react-draggable)) = 4.4.5
Provides: bundled(npm(react-dropzone)) = 14.2.3
Provides: bundled(npm(react-grid-layout)) = 1.3.4
Provides: bundled(npm(react-highlight-words)) = 0.20.0
Provides: bundled(npm(react-hook-form)) = 7.5.3
Provides: bundled(npm(react-i18next)) = 12.0.0
Provides: bundled(npm(react-inlinesvg)) = 3.0.2
Provides: bundled(npm(react-loading-skeleton)) = 3.3.1
Provides: bundled(npm(react-moveable)) = 0.46.1
Provides: bundled(npm(react-popper)) = 2.3.0
Provides: bundled(npm(react-popper-tooltip)) = 4.4.2
Provides: bundled(npm(react-redux)) = 7.2.8
Provides: bundled(npm(react-refresh)) = 0.11.0
Provides: bundled(npm(react-resizable)) = 3.0.5
Provides: bundled(npm(react-responsive-carousel)) = 3.2.23
Provides: bundled(npm(react-router-dom)) = 5.3.3
Provides: bundled(npm(react-router-dom-v5-compat)) = 6.10.0
Provides: bundled(npm(react-select)) = 5.7.4
Provides: bundled(npm(react-select-event)) = 5.5.1
Provides: bundled(npm(react-simple-compat)) = 1.2.3
Provides: bundled(npm(react-split-pane)) = 0.1.92
Provides: bundled(npm(react-table)) = 7.8.0
Provides: bundled(npm(react-test-renderer)) = 18.2.0
Provides: bundled(npm(react-transition-group)) = 4.4.5
Provides: bundled(npm(react-use)) = 17.4.0
Provides: bundled(npm(react-virtual)) = 2.10.4
Provides: bundled(npm(react-virtualized-auto-sizer)) = 1.0.7
Provides: bundled(npm(react-window)) = 1.8.9
Provides: bundled(npm(react-window-infinite-loader)) = 1.0.9
Provides: bundled(npm(redux)) = 4.2.1
Provides: bundled(npm(redux-mock-store)) = 1.5.4
Provides: bundled(npm(redux-thunk)) = 2.4.2
Provides: bundled(npm(regenerator-runtime)) = 0.11.1
Provides: bundled(npm(replace-in-file-webpack-plugin)) = 1.0.6
Provides: bundled(npm(reselect)) = 4.1.8
Provides: bundled(npm(resolve-bin)) = 1.0.1
Provides: bundled(npm(rimraf)) = 2.6.3
Provides: bundled(npm(rollup)) = 2.79.1
Provides: bundled(npm(rollup-plugin-copy)) = 3.5.0
Provides: bundled(npm(rollup-plugin-dts)) = 5.3.0
Provides: bundled(npm(rollup-plugin-esbuild)) = 5.0.0
Provides: bundled(npm(rollup-plugin-node-externals)) = 5.0.2
Provides: bundled(npm(rollup-plugin-sourcemaps)) = 0.6.3
Provides: bundled(npm(rollup-plugin-terser)) = 7.0.2
Provides: bundled(npm(rudder-sdk-js)) = 2.43.0
Provides: bundled(npm(rxjs)) = 7.8.1
Provides: bundled(npm(sass)) = 1.69.4
Provides: bundled(npm(sass-loader)) = 13.3.2
Provides: bundled(npm(selecto)) = 1.26.0
Provides: bundled(npm(semver)) = 5.7.2
Provides: bundled(npm(slate)) = 0.47.9
Provides: bundled(npm(slate-plain-serializer)) = 0.7.13
Provides: bundled(npm(slate-react)) = 0.22.10
Provides: bundled(npm(sql-formatter-plus)) = 1.3.6
Provides: bundled(npm(storybook)) = 7.4.5
Provides: bundled(npm(storybook-addon-turbo-build)) = 2.0.1
Provides: bundled(npm(storybook-dark-mode)) = 3.0.1
Provides: bundled(npm(string-hash)) = 1.1.3
Provides: bundled(npm(style-loader)) = 3.3.3
Provides: bundled(npm(stylelint)) = 15.11.0
Provides: bundled(npm(stylelint-config-prettier)) = 9.0.5
Provides: bundled(npm(stylelint-config-sass-guidelines)) = 10.0.0
Provides: bundled(npm(swc-loader)) = 0.2.3
Provides: bundled(npm(symbol-observable)) = 4.0.0
Provides: bundled(npm(systemjs)) = 6.14.2
Provides: bundled(npm(systemjs-cjs-extra)) = 0.2.0
Provides: bundled(npm(terser-webpack-plugin)) = 5.3.9
Provides: bundled(npm(testing-library-selector)) = 0.3.1
Provides: bundled(npm(tether-drop)) = 1.5.0
Provides: bundled(npm(tinycolor2)) = 1.6.0
Provides: bundled(npm(tracelib)) = 1.0.1
Provides: bundled(npm(ts-jest)) = 29.0.5
Provides: bundled(npm(ts-loader)) = 8.4.0
Provides: bundled(npm(ts-node)) = 10.9.1
Provides: bundled(npm(tslib)) = 1.14.1
Provides: bundled(npm(tween-functions)) = 1.2.0
Provides: bundled(npm(typescript)) = 4.8.4
Provides: bundled(npm(uplot)) = 1.6.27
Provides: bundled(npm(uuid)) = 3.4.0
Provides: bundled(npm(visjs-network)) = 4.25.0
Provides: bundled(npm(webpack)) = 5.76.0
Provides: bundled(npm(webpack-assets-manifest)) = 5.1.0
Provides: bundled(npm(webpack-bundle-analyzer)) = 4.9.0
Provides: bundled(npm(webpack-cli)) = 5.1.4
Provides: bundled(npm(webpack-dev-server)) = 4.15.1
Provides: bundled(npm(webpack-manifest-plugin)) = 5.0.0
Provides: bundled(npm(webpack-merge)) = 5.9.0
Provides: bundled(npm(whatwg-fetch)) = 3.6.2
Provides: bundled(npm(xlsx)) = 0.19.1
Provides: bundled(npm(xss)) = 1.0.14
Provides: bundled(npm(yaml)) = 1.10.2
Provides: bundled(npm(yargs)) = 16.2.0
%description
Grafana is an open source, feature rich metrics dashboard and graph editor for
Graphite, InfluxDB & OpenTSDB.
# SELinux package
%package selinux
Summary: SELinux policy module supporting grafana
BuildRequires: checkpolicy, selinux-policy-devel, selinux-policy-targeted
%if "%{_selinux_policy_version}" != ""
Requires: selinux-policy >= %{_selinux_policy_version}
%endif
Requires: %{name} = %{version}-%{release}
Requires: selinux-policy-targeted
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
%prep
rm -rf %{_builddir}/%{name}-%{version}
%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
%setup -q -T -D -b 2
%endif
# SELinux policy
mkdir SELinux
cp -p %{SOURCE8} %{SOURCE9} %{SOURCE10} SELinux
%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
%patch -P 11 -p1
%patch -P 1001 -p1
%if %{enable_fips_mode}
%patch -P 1002 -p1
%endif
%ifarch s390x i686 armv7hl
%patch -P 1003 -p1
%endif
%patch -P 1004 -p1
%build
# Build the frontend
%if %{compile_frontend}
%{SOURCE5}
%endif
# Build the backend
# see grafana-X.Y.Z/pkg/build/cmd.go
export LDFLAGS="-X main.version=%{version} -X main.buildstamp=${SOURCE_DATE_EPOCH}"
%if %{enable_fips_mode}
export GOEXPERIMENT=boringcrypto
%endif
for cmd in grafana grafana-cli grafana-server; do
%gobuild -o %{_builddir}/bin/${cmd} ./pkg/cmd/${cmd}
done
# 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 -
%install
# dirs, shared files, public html, webpack
install -d %{buildroot}%{_sbindir}
install -d %{buildroot}%{_datadir}/%{name}
install -d %{buildroot}%{_libexecdir}/%{name}
cp -a conf public plugins-bundled %{buildroot}%{_datadir}/%{name}
rm -f %{buildroot}%{_datadir}/%{name}/public/img/icons/.gitignore
rm -f %{buildroot}%{_datadir}/%{name}/public/lib/.gitignore
# wrappers
install -p -m 755 packaging/wrappers/grafana-cli %{buildroot}%{_sbindir}/%{name}-cli
install -p -m 755 packaging/wrappers/grafana %{buildroot}%{_sbindir}/%{name}
install -p -m 755 packaging/wrappers/grafana-server %{buildroot}%{_sbindir}/%{name}-server
# binaries
install -p -m 755 %{_builddir}/bin/%{name}-server %{buildroot}%{_sbindir}
install -p -m 755 %{_builddir}/bin/%{name}-cli %{buildroot}%{_libexecdir}/%{name}
install -p -m 755 %{_builddir}/bin/%{name} %{buildroot}%{_sbindir}
install -p -m 755 %{_builddir}/bin/%{name} %{buildroot}%{_libexecdir}/%{name}
# man pages
install -d %{buildroot}%{_mandir}/man1
install -p -m 644 docs/man/man1/* %{buildroot}%{_mandir}/man1
# config dirs
install -d %{buildroot}%{_sysconfdir}/%{name}
install -d %{buildroot}%{_sysconfdir}/%{name}/provisioning
install -d %{buildroot}%{_sysconfdir}/%{name}/provisioning/access-control
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
install -d %{buildroot}%{_sysconfdir}/sysconfig
# config defaults
install -p -m 640 conf/sample.ini %{buildroot}%{_sysconfdir}/%{name}/grafana.ini
install -p -m 640 conf/ldap.toml %{buildroot}%{_sysconfdir}/%{name}/ldap.toml
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
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}
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
# 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 -
%pre
getent group %{GRAFANA_GROUP} >/dev/null || groupadd -r %{GRAFANA_GROUP}
getent passwd %{GRAFANA_USER} >/dev/null || \
useradd -r -g %{GRAFANA_GROUP} -d %{GRAFANA_HOME} -s /sbin/nologin \
-c "%{GRAFANA_USER} user account" %{GRAFANA_USER}
exit 0
%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
# required for upgrades
chmod 640 %{_sysconfdir}/%{name}/grafana.ini
chmod 640 %{_sysconfdir}/%{name}/ldap.toml
mkdir -p /etc/grafana/provisioning/alerting
%postun
%systemd_postun_with_restart grafana-server.service
rm -rf /etc/grafana/provisioning/alerting
%check
# Test frontend
%if %{compile_frontend}
yarn run jest
%endif
# 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
# comment out temporarily while intermittent ngalert tests are investigated
# %gotest ./pkg/...
# %if %{enable_fips_mode}
# OPENSSL_FORCE_FIPS_MODE=1 GOLANG_FIPS=1 go test -v ./pkg/util -run TestEncryption
# %endif
%files
# binaries and wrappers
%{_sbindir}/%{name}-server
%{_sbindir}/%{name}-cli
%{_sbindir}/%{name}
%{_libexecdir}/%{name}
# config files
%config(noreplace) %{_sysconfdir}/sysconfig/grafana-server
%dir %{_sysconfdir}/%{name}
%attr(0755, root, %{GRAFANA_GROUP}) %dir %{_sysconfdir}/%{name}/provisioning
%attr(0755, root, %{GRAFANA_GROUP}) %dir %{_sysconfdir}/%{name}/provisioning/access-control
%attr(0755, root, %{GRAFANA_GROUP}) %dir %{_sysconfdir}/%{name}/provisioning/dashboards
%attr(0750, root, %{GRAFANA_GROUP}) %dir %{_sysconfdir}/%{name}/provisioning/datasources
%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
# config database directory and plugins
%attr(0750, %{GRAFANA_USER}, %{GRAFANA_GROUP}) %dir %{_sharedstatedir}/%{name}
%attr(-, %{GRAFANA_USER}, %{GRAFANA_GROUP}) %dir %{_sharedstatedir}/%{name}/plugins
# shared directory and all files therein
%{_datadir}/%{name}
# 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
# 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
%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
%doc README.md ROADMAP.md SECURITY.md SUPPORT.md UPGRADING_DEPENDENCIES.md WORKFLOW.md
# 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 /usr/bin/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 || :
%postun selinux
if [ $1 -eq 0 ] ; then
/usr/sbin/semanage port -d -p tcp 3000 &> /dev/null || :
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 /usr/bin/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 || :
fi
%files selinux
%defattr(-,root,root,0755)
%doc SELinux/*
%{_datadir}/selinux/*/grafana.pp
%changelog
* Sun Sep 29 2024 wangkai <13474090681@163.com> - 10.2.6-3
- Fix CVE-2024-8118
* Mon Aug 26 2024 Ge Wang <wang__ge@126.com> - 10.2.6-2
- Create directory for alerting provisioning files
* Tue Aug 13 2024 wangkai <13474090681@163.com> - 10.2.6-1
- Update to 10.2.6
* Mon Jan 22 2024 yaoxin <yao_xin001@hoperun.com> - 7.5.15-6
- Rebuild for golang cves: CVE-2023-39325 and CVE-2022-32148
* Thu Jul 13 2023 Wenlong Zhang<zhangwenlong@loongson.cn> - 7.5.15-5
- add loong64 support for grafana
* Thu Apr 13 2023 wangkai <13474090681@163.com> - 7.5.15-4
- Fix gtime_test
* Wed Aug 17 2022 yaoxin <yaoxin30@h-partners.com> - 7.5.15-3
- Fix CVE-2022-31107
* Mon Jun 6 2022 yaoxin <yaoxin30@h-partners.com> - 7.5.15-2
- Fix CVE-2022-29170
* Fri May 6 2022 yaoxin <yaoxin30@h-partners.com> - 7.5.15-1
- Update to 7.5.15 for fix CVE-2022-21703,CVE-2022-21713
* Thu Jan 27 2022 wangkai <wangkai385@huawei.com> 7.5.11-4
- Fix CVE-2022-21673
* Wed Dec 15 2021 wangkai <wangkai385@huawei.com> 7.5.11-3
- Fix CVE-2021-43813
* Wed Nov 17 2021 wangkai <wangkai385@huawei.com> 7.5.11-2
- Update Patch Source Provides
* Fri Nov 12 2021 wangkai <wangkai385@huawei.com> 7.5.11-1
- Upgrade to 7.5.11 for fix CVE-2021-39226
* Fri Sep 3 2021 Python_Bot <Python_Bot@openeuler.org> 7.3.6-1
- Init Package
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/litian_code/grafana.git
git@gitee.com:litian_code/grafana.git
litian_code
grafana
grafana
master

搜索帮助