[PATCH] community/prometheus: upgrade to 2.32.0
Export this patch
---
community/prometheus/APKBUILD | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/community/prometheus/APKBUILD b/community/prometheus/APKBUILD
index ed84ec0b8c..2eed1db49f 100644
--- a/community/prometheus/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=prometheus
-pkgver=2.31.2
+pkgver=2.32.0
pkgrel=0
pkgdesc="The Prometheus monitoring system and time series database"
url="https://github.com/prometheus/prometheus"
@@ -20,6 +20,11 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/prometheus/prometheus/archiv
# 2.27.1-r0:
# - CVE-2021-29622
+prepare() {
+ # Disable linter: https://github.com/prometheus/prometheus/issues/10020
+ sed -i web/ui/react-app/package.json -e 's/eslint --fix/true/g'
+}
+
build() {
cd "$builddir"/web/ui/react-app
yarn --frozen-lockfile
@@ -88,7 +93,7 @@ package() {
}
sha512sums="
-14c33d20a8a42ca3210e70e070bee9acbe97fc7c9c5d709daa00e220953840792e57c5d9bff9dfe0505cb91d3f6573c9f23cfe97ee6545f26601e4217ddc789a prometheus-2.31.2.tar.gz
+1b0fbef255d412ae7add8575b71270a1dd0f8f3f64dae5db2d06f4237a5498468997d4978678c4c6ae90893218c8b4243b5f89f0e22af5521edcfa32e37efb8a prometheus-2.32.0.tar.gz
eb0cebe41782f90079f367832f7c9efa18b99df410506b65b2e0b11fa05f8f2956f68c0fca836664729d50b85fc969a96e99e1d32012fe3c655cddc0b16a7561 prometheus.initd
24b34e586238d5b331639aa5c43b6a927692f251af2cea2787335eab30d2fc7d46975059595db4697ae0dc1d35b5e23cfc4e4b2e424442c209a05283ca22a239 prometheus.confd
"
--
2.34.1