aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Dykstra <dykstra.zachary@gmail.com>2023-12-28 02:47:53 +0000
committerAndrew J. Hesford <48421688+ahesford@users.noreply.github.com>2024-01-29 15:24:35 +0000
commitcde964184ed6a7d5b3b964fd52282ea6dd3a0d6d (patch)
tree0b851e061e5a5df41b1a074fef18ef833249b9b5
parent587c78b3681b60bc66160db6a8ed14cf347124fd (diff)
downloadvoid-packages-cde964184ed6a7d5b3b964fd52282ea6dd3a0d6d.tar
void-packages-cde964184ed6a7d5b3b964fd52282ea6dd3a0d6d.tar.gz
void-packages-cde964184ed6a7d5b3b964fd52282ea6dd3a0d6d.tar.bz2
void-packages-cde964184ed6a7d5b3b964fd52282ea6dd3a0d6d.tar.lz
void-packages-cde964184ed6a7d5b3b964fd52282ea6dd3a0d6d.tar.xz
void-packages-cde964184ed6a7d5b3b964fd52282ea6dd3a0d6d.tar.zst
void-packages-cde964184ed6a7d5b3b964fd52282ea6dd3a0d6d.zip
prometheus: update to 2.49.1.
-rw-r--r--srcpkgs/prometheus/template15
1 files changed, 8 insertions, 7 deletions
diff --git a/srcpkgs/prometheus/template b/srcpkgs/prometheus/template
index ca5a48fcee0..03db7348f2d 100644
--- a/srcpkgs/prometheus/template
+++ b/srcpkgs/prometheus/template
@@ -1,14 +1,15 @@
# Template file for 'prometheus'
pkgname=prometheus
-version=2.43.0
-revision=3
+version=2.49.1
+revision=1
build_style=go
go_import_path="github.com/prometheus/prometheus"
go_package="github.com/prometheus/prometheus/cmd/prometheus github.com/prometheus/prometheus/cmd/promtool"
-go_ldflags="-X ${go_import_path}/version.Version=${version}
- -X ${go_import_path}/version.Revision=${version}
- -X ${go_import_path}/version.Branch=${version}
- -X ${go_import_path}/version.BuildUser=VoidLinux"
+go_ldflags="-X github.com/prometheus/common/version.Version=${version}
+ -X github.com/prometheus/common/version.Revision=${version}
+ -X github.com/prometheus/common/version.Branch=${version}
+ -X github.com/prometheus/common/version.BuildDate=$(date --date "@$SOURCE_DATE_EPOCH" "+%Y%m%d-%H:%M:%S")
+ -X github.com/prometheus/common/version.BuildUser=VoidLinux"
go_build_tags="netgo,builtinassets"
hostmakedepends="yarn"
conf_files="/etc/prometheus/prometheus.yml"
@@ -18,7 +19,7 @@ license="Apache-2.0, MIT"
homepage="https://prometheus.io/"
changelog="https://raw.githubusercontent.com/prometheus/prometheus/master/CHANGELOG.md"
distfiles="https://github.com/prometheus/prometheus/archive/v${version}.tar.gz"
-checksum=0cd8860e5f10d0ecb35d20d23252ddc459e8319882dc163bf71b723e3bcafd71
+checksum=985d7f45ed3d16e23a30eae490c17911518fae96cba0245d493eb07097a10b3b
system_accounts="_prometheus"