# 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} %define enable_fips_mode 1 %else %define enable_fips_mode 0 %endif %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} %global gomodulesmode GO111MODULE=auto %global gotestflags %{gotestflags} -tags=integration %global selinux_variants mls targeted Name: grafana Version: 10.2.6 Release: 6%{?dist} 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 # 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 # Intersection of go_arches and nodejs_arches ExclusiveArch: %{grafana_arches} BuildRequires: systemd BuildRequires: systemd-rpm-macros BuildRequires: golang 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} # 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 %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 %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 # 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 %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 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 %sysusers_create_compat %{SOURCE3} %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 %postun %systemd_postun_with_restart grafana-server.service %check # Test frontend %if %{compile_frontend} yarn run jest %endif # 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 # 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 * Fri Nov 8 2024 Sam Feifer 10.2.6-6 - Update selinux policy for the new valkey executable * Wed Jul 17 2024 Sam Feifer 10.2.6-4 - Resolve issue in selinux policy due to unification of bin and sbin * Wed Jul 17 2024 Sam Feifer 10.2.6-4 - Fixes CVE-2024-6104 * Wed Jun 26 2024 Sam Feifer 10.2.6-3 - Allow for mssql datasource in selinux policy * Thu Apr 18 2024 Sam Feifer 10.2.6-2 - Remove unused code under apsl-1.1 and apsl-1.2 licenses * Thu Mar 28 2024 Sam Feifer 10.2.6-1 - Rebase to grafana 10.2.6 - fixes CVE-2024-1313 * Wed Mar 20 2024 Sam Feifer 10.2.5-1 - Rebase to grafana 10.2.5 * Wed Mar 13 2024 Sam Feifer 10.2.3-2 - Fix grafana-cli issue introduced during rebase * Fri Mar 1 2024 Sam Feifer 10.2.3-1 - Rebase to grafana 10 * Sun Feb 11 2024 Maxwell G - 9.2.10-18 - Rebuild for golang 1.22.0 * Wed Jan 31 2024 Sam Feifer 9.2.10-17 - Allows for postgreSQL datasource in selinux policy - grafana-cli wrapper script now allows for the gid to be 0 * Wed Jan 24 2024 Fedora Release Engineering - 9.2.10-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 20 2024 Fedora Release Engineering - 9.2.10-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Dec 18 2023 Sam Feifer 9.2.10-14 - Fixes postgresql AVC denials * Fri Dec 15 2023 Sam Feifer 9.2.10-13 - Fixes coredump issue introduced by selinux - Patches out call to panic when trying to walk "/" directory * Thu Nov 30 2023 Sam Feifer - 9.2.10-12 - Fix another set of AVC denials found testing only on some architectures * Mon Nov 20 2023 Sam Feifer - 9.2.10-11 - Fix additional AVC denial found when testing on certain architectures * Wed Nov 15 2023 Sam Feifer - 9.2.10-10 - Fix additional AVC denial found when testing * Wed Nov 15 2023 Sam Feifer - 9.2.10-9 - Fix AVC denials found when testing - Stop commented out gotest macro from expanding * Thu Nov 9 2023 Sam Feifer - 9.2.10-8 - Hide relabeling messages from selinux when installing/uninstalling * Wed Nov 8 2023 Sam Feifer - 9.2.10-7 - Include the selinux policy in the main package rather than a separate package * Thu Oct 5 2023 Sam Feifer - 9.2.10-6 - Added 0010-skip-tests - Resolves problematic tests when building * Thu Sep 28 2023 Sam Feifer - 9.2.10-5 - Add SELinux policy for grafana * Sat Jul 22 2023 Carl George - 9.2.10-4 - resolve CVE-2023-3128 grafana: Remove Email Lookup from oauth integrations * Thu Jul 20 2023 Fedora Release Engineering - 9.2.10-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu May 18 2023 Stan Cox 9.2.10-2 - Update to 9.2.10 * Mon May 15 2023 Stan Cox 9.2.10-1 - Update to 9.2.10 * Thu Jan 19 2023 Fedora Release Engineering - 9.0.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Sep 21 2022 Andreas Gerstmayr 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) * Thu Sep 15 2022 Andreas Gerstmayr 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 * Wed Jul 27 2022 Andreas Gerstmayr 9.0.5-1 - update to 9.0.5 tagged upstream community sources, see CHANGELOG (rhbz#2107413) - 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 - 9.0.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jul 14 2022 Andreas Gerstmayr 9.0.2-3 - fix quoting in grafana-cli wrapper script (rhbz#2107046) * Wed Jul 13 2022 Andreas Gerstmayr 9.0.2-2 - use systemd-sysusers to create the Grafana user and group * Thu Jul 07 2022 Andreas Gerstmayr 9.0.2-1 - update to 9.0.2 tagged upstream community sources, see CHANGELOG * Wed Jun 29 2022 Andreas Gerstmayr 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 - 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 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 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 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 - 7.5.11-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jan 18 2022 Andreas Gerstmayr 7.5.11-3 - use HMAC-SHA-256 instead of SHA-1 to generate password reset tokens - update FIPS tests in check phase * Thu Dec 16 2021 Andreas Gerstmayr 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 * Mon Oct 11 2021 Andreas Gerstmayr 7.5.11-1 - update to 7.5.11 tagged upstream community sources, see CHANGELOG - resolve CVE-2021-39226 * Thu Sep 30 2021 Andreas Gerstmayr 7.5.10-1 - update to 7.5.10 tagged upstream community sources, see CHANGELOG * Mon Aug 16 2021 Andreas Gerstmayr 7.5.9-4 - rebuild to resolve CVE-2021-34558 * Thu Jul 22 2021 Fedora Release Engineering - 7.5.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Jul 08 2021 Andreas Gerstmayr 7.5.9-2 - remove unused dependency property-information - always include FIPS patch in SRPM * Fri Jun 25 2021 Andreas Gerstmayr 7.5.9-1 - update to 7.5.9 tagged upstream community sources, see CHANGELOG * Mon Jun 21 2021 Andreas Gerstmayr 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 7.5.7-2 - remove unused cryptographic implementations - use cryptographic functions from OpenSSL if FIPS mode is enabled * Tue May 25 2021 Andreas Gerstmayr 7.5.7-1 - update to 7.5.7 tagged upstream community sources, see CHANGELOG * Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 7.3.6-4 - Rebuilt for updated systemd-rpm-macros See https://pagure.io/fesco/issue/2583. * Tue Jan 26 2021 Fedora Release Engineering - 7.3.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Jan 22 2021 Andreas Gerstmayr 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 * Mon Dec 21 2020 Andreas Gerstmayr 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) * Wed Nov 25 2020 Andreas Gerstmayr 7.3.4-1 - update to 7.3.4 tagged upstream community sources, see CHANGELOG * Tue Nov 10 2020 Andreas Gerstmayr 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 - 7.1.1-2 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jul 30 2020 Andreas Gerstmayr 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 - 6.7.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jun 05 2020 Andreas Gerstmayr 6.7.4-1 - update to 6.7.4 tagged upstream community sources, see CHANGELOG - security fix for CVE-2020-13379 * Tue Apr 28 2020 Andreas Gerstmayr 6.7.3-1 - update to 6.7.3 tagged upstream community sources, see CHANGELOG - 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 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 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 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 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 6.2.5-1 - update to latest upstream community sources, see CHANGELOG * Thu Jul 25 2019 Fedora Release Engineering - 6.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Jun 07 2019 Mark Goodwin 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 6.2.1-1 - update to latest upstream community sources, see CHANGELOG * Fri May 24 2019 Mark Goodwin 6.2.0-1 - update to latest upstream community sources - drop a couple of patches * Wed May 08 2019 Mark Goodwin 6.1.6-2 - add conditional unbundle_vendor_sources macro * Tue Apr 30 2019 Mark Goodwin 6.1.6-1 - update to latest upstream stable release 6.1.6, see CHANGELOG - includes jQuery 3.4.0 security update * Wed Apr 24 2019 Mark Goodwin 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 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 6.1.0-1 - update to latest upstream stable release 6.1.0, see CHANGELOG * Thu Mar 21 2019 Mark Goodwin 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 6.0.1-3 - bump to latest upstream stable release 6.0.1-1 * Thu Mar 14 2019 Mark Goodwin 6.0.1-2 - unbundle and add BuildRequires for golang-github-rainycape-unidecode-devel * Thu Mar 07 2019 Mark Goodwin 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 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 5.4.3-10 - tweak spec for available and unavailable (bundled) golang packages * Wed Feb 20 2019 Xavier Bachelot 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 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 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 5.4.3-6 - further refinement following review by Xavier Bachelot * Tue Feb 05 2019 Mark Goodwin 5.4.3-5 - further refinement following review by Xavier Bachelot * Fri Feb 01 2019 Mark Goodwin 5.4.3-4 - further spec updates after packaging review - reworked post-install scriplets * Thu Jan 31 2019 Mark Goodwin 5.4.3-3 - tweak FHS patch, update spec after packaging review * Wed Jan 30 2019 Mark Goodwin 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 5.4.2-1 - update to v5.4.2 upstream community sources * Thu Oct 18 2018 Mark Goodwin 5.3.1-1 - update to v5.3.1 upstream community sources * Tue Oct 02 2018 Mark Goodwin 5.2.5-1 - native RPM spec build with current tagged v5.2.5 sources