import grafana-7.5.11-1.el8
This commit is contained in:
parent
fae044a3e7
commit
959709c4bb
6
.gitignore
vendored
6
.gitignore
vendored
@ -1,3 +1,3 @@
|
|||||||
SOURCES/grafana-7.5.10.tar.gz
|
SOURCES/grafana-7.5.11.tar.gz
|
||||||
SOURCES/grafana-vendor-7.5.10-1.tar.xz
|
SOURCES/grafana-vendor-7.5.11-1.tar.xz
|
||||||
SOURCES/grafana-webpack-7.5.10-1.tar.gz
|
SOURCES/grafana-webpack-7.5.11-1.tar.gz
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
bb531789cb0dd0d3c9a2494a5924c64d12194d2f SOURCES/grafana-7.5.10.tar.gz
|
cd7bfb63dd91361c1bc9c46d1f889b1f54f7758a SOURCES/grafana-7.5.11.tar.gz
|
||||||
804c0d639055608f3788ea84b6f94bca9fe8f1ca SOURCES/grafana-vendor-7.5.10-1.tar.xz
|
d55ac0b3a8fb3a0ce772442923e2ca3cba1af78f SOURCES/grafana-vendor-7.5.11-1.tar.xz
|
||||||
8b52042f89703513945aa2086e5838cc425533c7 SOURCES/grafana-webpack-7.5.10-1.tar.gz
|
db79c330e9a56dac2cdcae9b7c07c86112a66237 SOURCES/grafana-webpack-7.5.11-1.tar.gz
|
||||||
|
@ -4,7 +4,7 @@ index 0000000000..7ac2af882c
|
|||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/docs/man/man1/grafana-cli.1
|
+++ b/docs/man/man1/grafana-cli.1
|
||||||
@@ -0,0 +1,60 @@
|
@@ -0,0 +1,60 @@
|
||||||
+.TH GRAFANA "1" "September 2021" "Grafana cli version 7.5.10" "User Commands"
|
+.TH GRAFANA "1" "October 2021" "Grafana cli version 7.5.11" "User Commands"
|
||||||
+.SH NAME
|
+.SH NAME
|
||||||
+grafana-cli \- command line administration for the Grafana metrics dashboard and graph editor
|
+grafana-cli \- command line administration for the Grafana metrics dashboard and graph editor
|
||||||
+.SH DESCRIPTION
|
+.SH DESCRIPTION
|
||||||
@ -70,7 +70,7 @@ index 0000000000..c616268b31
|
|||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/docs/man/man1/grafana-server.1
|
+++ b/docs/man/man1/grafana-server.1
|
||||||
@@ -0,0 +1,72 @@
|
@@ -0,0 +1,72 @@
|
||||||
+.TH VERSION "1" "September 2021" "Version 7.5.10" "User Commands"
|
+.TH VERSION "1" "October 2021" "Version 7.5.11" "User Commands"
|
||||||
+.SH NAME
|
+.SH NAME
|
||||||
+grafana-server \- back-end server for the Grafana metrics dashboard and graph editor
|
+grafana-server \- back-end server for the Grafana metrics dashboard and graph editor
|
||||||
+.SH DESCRIPTION
|
+.SH DESCRIPTION
|
||||||
|
@ -8,10 +8,17 @@ SOURCE_TAR := $(NAME)-$(VERSION).tar.gz
|
|||||||
VENDOR_TAR := $(RPM_NAME)-vendor-$(VERSION)-$(RELEASE).tar.xz
|
VENDOR_TAR := $(RPM_NAME)-vendor-$(VERSION)-$(RELEASE).tar.xz
|
||||||
WEBPACK_TAR := $(RPM_NAME)-webpack-$(VERSION)-$(RELEASE).tar.gz
|
WEBPACK_TAR := $(RPM_NAME)-webpack-$(VERSION)-$(RELEASE).tar.gz
|
||||||
|
|
||||||
ALL_PATCHES := $(sort $(wildcard *.patch))
|
# patches which must be applied before creating the vendor tarball, for example:
|
||||||
VENDOR_PATCHES := $(sort $(wildcard *.vendor.patch))
|
# - changes in dependency versions
|
||||||
COND_PATCHES := $(sort $(wildcard *.cond.patch))
|
# - changes in Go module imports (which affect the vendored Go modules)
|
||||||
REGULAR_PATCHES := $(filter-out $(VENDOR_PATCHES) $(COND_PATCHES),$(ALL_PATCHES))
|
PATCHES_PRE_VENDOR := \
|
||||||
|
005-remove-unused-dependencies.patch \
|
||||||
|
008-remove-unused-frontend-crypto.patch
|
||||||
|
|
||||||
|
# patches which must be applied before creating the webpack, for example:
|
||||||
|
# - changes in Node.js sources or vendored dependencies
|
||||||
|
PATCHES_PRE_WEBPACK :=
|
||||||
|
|
||||||
|
|
||||||
all: $(SOURCE_TAR) $(VENDOR_TAR) $(WEBPACK_TAR)
|
all: $(SOURCE_TAR) $(VENDOR_TAR) $(WEBPACK_TAR)
|
||||||
|
|
||||||
@ -19,11 +26,12 @@ $(SOURCE_TAR):
|
|||||||
spectool -g $(RPM_NAME).spec
|
spectool -g $(RPM_NAME).spec
|
||||||
|
|
||||||
$(VENDOR_TAR): $(SOURCE_TAR)
|
$(VENDOR_TAR): $(SOURCE_TAR)
|
||||||
|
# start with a clean state
|
||||||
rm -rf $(SOURCE_DIR)
|
rm -rf $(SOURCE_DIR)
|
||||||
tar xf $(SOURCE_TAR)
|
tar xf $(SOURCE_TAR)
|
||||||
|
|
||||||
# Patches to apply before vendoring
|
# Patches to apply before vendoring
|
||||||
for patch in $(REGULAR_PATCHES); do echo applying $$patch ...; patch -d $(SOURCE_DIR) -p1 --fuzz=0 < $$patch; done
|
for patch in $(PATCHES_PRE_VENDOR); do echo applying $$patch ...; patch -d $(SOURCE_DIR) -p1 --fuzz=0 < $$patch; done
|
||||||
|
|
||||||
# Go
|
# Go
|
||||||
cd $(SOURCE_DIR) && go mod vendor -v
|
cd $(SOURCE_DIR) && go mod vendor -v
|
||||||
@ -46,15 +54,20 @@ $(VENDOR_TAR): $(SOURCE_TAR)
|
|||||||
rm -r $(SOURCE_DIR)/node_modules/visjs-network/examples
|
rm -r $(SOURCE_DIR)/node_modules/visjs-network/examples
|
||||||
./list_bundled_nodejs_packages.py $(SOURCE_DIR) >> $@.manifest
|
./list_bundled_nodejs_packages.py $(SOURCE_DIR) >> $@.manifest
|
||||||
|
|
||||||
# Patches to apply after vendoring
|
|
||||||
for patch in $(VENDOR_PATCHES); do echo applying $$patch ...; patch -d $(SOURCE_DIR) -p1 --fuzz=0 < $$patch; done
|
|
||||||
|
|
||||||
# Create tarball
|
# Create tarball
|
||||||
time XZ_OPT=-9 tar cJf $@ \
|
XZ_OPT=-9 time -p tar cJf $@ \
|
||||||
$(SOURCE_DIR)/vendor \
|
$(SOURCE_DIR)/vendor \
|
||||||
$$(find $(SOURCE_DIR) -type d -name "node_modules" -prune)
|
$$(find $(SOURCE_DIR) -type d -name "node_modules" -prune)
|
||||||
|
|
||||||
$(WEBPACK_TAR): $(VENDOR_TAR)
|
$(WEBPACK_TAR): $(VENDOR_TAR)
|
||||||
|
# start with a clean state
|
||||||
|
rm -rf $(SOURCE_DIR)
|
||||||
|
tar xf $(SOURCE_TAR)
|
||||||
|
tar xf $(VENDOR_TAR)
|
||||||
|
|
||||||
|
# Patches to apply before creating the webpack
|
||||||
|
for patch in $(PATCHES_PRE_WEBPACK); do echo applying $$patch ...; patch -d $(SOURCE_DIR) -p1 --fuzz=0 < $$patch; done
|
||||||
|
|
||||||
cd $(SOURCE_DIR) && \
|
cd $(SOURCE_DIR) && \
|
||||||
../build_frontend.sh
|
../build_frontend.sh
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ end}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: grafana
|
Name: grafana
|
||||||
Version: 7.5.10
|
Version: 7.5.11
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Metrics dashboard and graph editor
|
Summary: Metrics dashboard and graph editor
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
@ -85,11 +85,11 @@ Patch8: 008-remove-unused-frontend-crypto.patch
|
|||||||
# The Makefile removes a few files with crypto implementations
|
# The Makefile removes a few files with crypto implementations
|
||||||
# from the vendor tarball, which are not used in Grafana.
|
# from the vendor tarball, which are not used in Grafana.
|
||||||
# This patch removes all references to the deleted files.
|
# This patch removes all references to the deleted files.
|
||||||
Patch9: 009-patch-unused-backend-crypto.vendor.patch
|
Patch9: 009-patch-unused-backend-crypto.patch
|
||||||
|
|
||||||
# This patch modifies the x/crypto/pbkdf2 function to use OpenSSL
|
# This patch modifies the x/crypto/pbkdf2 function to use OpenSSL
|
||||||
# if FIPS mode is enabled.
|
# if FIPS mode is enabled.
|
||||||
Patch10: 010-fips.cond.patch
|
Patch10: 010-fips.patch
|
||||||
|
|
||||||
# Intersection of go_arches and nodejs_arches
|
# Intersection of go_arches and nodejs_arches
|
||||||
ExclusiveArch: %{grafana_arches}
|
ExclusiveArch: %{grafana_arches}
|
||||||
@ -485,6 +485,7 @@ rm -r plugins-bundled
|
|||||||
%patch5 -p1
|
%patch5 -p1
|
||||||
%patch6 -p1
|
%patch6 -p1
|
||||||
%patch8 -p1
|
%patch8 -p1
|
||||||
|
%patch9 -p1
|
||||||
%if %{enable_fips_mode}
|
%if %{enable_fips_mode}
|
||||||
%patch10 -p1
|
%patch10 -p1
|
||||||
%endif
|
%endif
|
||||||
@ -615,6 +616,10 @@ export GOPATH=%{_builddir}
|
|||||||
# let's set the time zone to a time zone without daylight saving time
|
# let's set the time zone to a time zone without daylight saving time
|
||||||
export TZ=GMT
|
export TZ=GMT
|
||||||
|
|
||||||
|
# GO111MODULE=on automatically skips vendored macaron sources in pkg/macaron
|
||||||
|
# GO111MODULE=off doesn't skip them, and fails with an error due to the canoncial import path
|
||||||
|
rm -r pkg/macaron
|
||||||
|
|
||||||
%gotest ./pkg/...
|
%gotest ./pkg/...
|
||||||
|
|
||||||
%if %{enable_fips_mode}
|
%if %{enable_fips_mode}
|
||||||
@ -666,6 +671,10 @@ GOLANG_FIPS=1 go test -v ./pkg/util -run TestEncryption
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Oct 11 2021 Andreas Gerstmayr <agerstmayr@redhat.com> 7.5.11-1
|
||||||
|
- update to 7.5.11 tagged upstream community sources, see CHANGELOG
|
||||||
|
- resolve CVE-2021-39226
|
||||||
|
|
||||||
* Thu Sep 30 2021 Andreas Gerstmayr <agerstmayr@redhat.com> 7.5.10-1
|
* Thu Sep 30 2021 Andreas Gerstmayr <agerstmayr@redhat.com> 7.5.10-1
|
||||||
- update to 7.5.10 tagged upstream community sources, see CHANGELOG
|
- update to 7.5.10 tagged upstream community sources, see CHANGELOG
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user