Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] grafana: update to 7.3.8 & fix baked-in version.
@ 2021-12-26 14:10 lotheac
  2022-01-11  7:18 ` lotheac
                   ` (20 more replies)
  0 siblings, 21 replies; 22+ messages in thread
From: lotheac @ 2021-12-26 14:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 604 bytes --]

There is a new pull request by lotheac against master on the void-packages repository

https://github.com/lotheac/void-packages grafana-7.3.8
https://github.com/void-linux/void-packages/pull/34705

grafana: update to 7.3.8 & fix baked-in version.
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64 (musl)

7.4.0 and newer require node >= 14.0, so 7.3.8 is the highest we can go with a trivial update.


A patch file from https://github.com/void-linux/void-packages/pull/34705.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-grafana-7.3.8-34705.patch --]
[-- Type: text/x-diff, Size: 1468 bytes --]

From 7d5abb43a37f62e0a26c8a7ca8c882f53433873e Mon Sep 17 00:00:00 2001
From: Lauri Tirkkonen <lauri@hacktheplanet.fi>
Date: Sun, 26 Dec 2021 15:08:01 +0200
Subject: [PATCH] grafana: update to 7.3.8 & fix baked-in version.

---
 srcpkgs/grafana/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/grafana/template b/srcpkgs/grafana/template
index ce65acaf7850..46dae2a1ee05 100644
--- a/srcpkgs/grafana/template
+++ b/srcpkgs/grafana/template
@@ -1,7 +1,7 @@
 # Template file for 'grafana'
 pkgname=grafana
-version=7.1.5
-revision=2
+version=7.3.8
+revision=1
 build_style=go
 go_import_path=github.com/grafana/grafana
 go_package="${go_import_path}/pkg/cmd/grafana-cli ${go_import_path}/pkg/cmd/grafana-server"
@@ -11,7 +11,7 @@ maintainer="Michael Aldridge <maldridge@voidlinux.org>"
 license="Apache-2.0"
 homepage="https://grafana.com"
 distfiles="https://github.com/grafana/grafana/archive/v${version}.tar.gz"
-checksum=7ae69011674a5b6a792e8ec84c93e8be9d50ad2e995cc63f3508d0b2e7acb754
+checksum=1944e3ec965d1098a0b7b46539d66ca349b51d983775296dcef3f15a8b7aff26
 
 system_accounts="_grafana"
 _grafana_homedir="/var/lib/grafana"
@@ -19,6 +19,8 @@ make_dirs="/var/log/grafana 0755 _grafana _grafana"
 
 conf_files="/etc/grafana/grafana.ini"
 
+go_ldflags="-w -X main.version=${version}"
+
 case "$XBPS_TARGET_MACHINE" in
 	i686*) broken="yarn can't be built for i686" ;;
 	ppc*) broken="fails to build v8 in a dependency" ;;

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2022-01-13  5:09 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-26 14:10 [PR PATCH] grafana: update to 7.3.8 & fix baked-in version lotheac
2022-01-11  7:18 ` lotheac
2022-01-11  7:20 ` the-maldridge
2022-01-11  7:22 ` lotheac
2022-01-11  7:24 ` the-maldridge
2022-01-11  7:40 ` lotheac
2022-01-11  7:41 ` the-maldridge
2022-01-11  9:35 ` [PR PATCH] [Updated] " lotheac
2022-01-11  9:37 ` grafana: update to 8.3.3 lotheac
2022-01-11 10:00 ` lotheac
2022-01-11 16:00 ` [PR PATCH] [Updated] " lotheac
2022-01-11 16:02 ` lotheac
2022-01-11 16:16 ` the-maldridge
2022-01-11 16:58 ` [PR PATCH] [Updated] " lotheac
2022-01-11 17:00 ` lotheac
2022-01-11 17:04 ` lotheac
2022-01-11 17:24 ` [PR PATCH] [Updated] " lotheac
2022-01-11 17:25 ` lotheac
2022-01-12  2:06 ` the-maldridge
2022-01-12  6:01 ` [PR PATCH] [Updated] " lotheac
2022-01-12  6:02 ` lotheac
2022-01-13  5:09 ` [PR PATCH] [Closed]: " the-maldridge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).