Github messages for voidlinux
 help / color / mirror / Atom feed
From: MeganerdNL <MeganerdNL@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] grafana: update to 10.0.3
Date: Sun, 30 Jul 2023 11:13:17 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-45322@inbox.vuxu.org> (raw)

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

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

https://github.com/MeganerdNL/void-packages grafana-10.0.3
https://github.com/void-linux/void-packages/pull/45322

grafana: update to 10.0.3
#### 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-glibc)
- I built this PR locally for these architectures:
   - armv6l-glibc

Grafana is on a rather old version on Void Linux - the 8 series.
Going to the 9 series has no breaking changes as far as I can see.
Going to the 10 series has some: https://grafana.com/docs/grafana/latest/breaking-changes/breaking-changes-v10-0/ but nothing too fancy imho.

One notable change is a new executable _grafana_ which will deprecate _grafana-cli_ **and** _grafana-server_. For now they are included all 3 for compatibility.


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

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

From c11c399b93af926780a2fce8a80faac36814cb51 Mon Sep 17 00:00:00 2001
From: MeganerdNL <meganerd@meganerd.nl>
Date: Sat, 29 Jul 2023 14:15:41 +0200
Subject: [PATCH] grafana: update to 10.0.3

---
 srcpkgs/grafana/files/grafana/run |  3 +--
 srcpkgs/grafana/template          | 10 +++++-----
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/grafana/files/grafana/run b/srcpkgs/grafana/files/grafana/run
index f1d961e83f484..70113906b4b97 100755
--- a/srcpkgs/grafana/files/grafana/run
+++ b/srcpkgs/grafana/files/grafana/run
@@ -1,4 +1,3 @@
 #!/bin/sh
 exec 2>&1
-
-exec chpst -u _grafana:_grafana grafana-server -homepath /usr/share/grafana/ -config /etc/grafana/grafana.ini 2>&1
+exec chpst -u _grafana:_grafana grafana server -homepath /usr/share/grafana/ -config /etc/grafana/grafana.ini 2>&1
diff --git a/srcpkgs/grafana/template b/srcpkgs/grafana/template
index 4f1340bcca407..75db1925d8285 100644
--- a/srcpkgs/grafana/template
+++ b/srcpkgs/grafana/template
@@ -1,10 +1,10 @@
 # Template file for 'grafana'
 pkgname=grafana
-version=8.5.24
+version=10.0.3
 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"
+go_package="${go_import_path}/pkg/cmd/grafana-cli ${go_import_path}/pkg/cmd/grafana-server ${go_import_path}/pkg/cmd/grafana"
 hostmakedepends="tar make"
 short_desc="Open platform for beautiful analytics and monitoring"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
@@ -12,8 +12,8 @@ license="Apache-2.0"
 homepage="https://grafana.com"
 distfiles="https://dl.grafana.com/oss/release/grafana-${version}.linux-amd64.tar.gz
 https://github.com/grafana/grafana/archive/v${version}.tar.gz"
-checksum="ff088012f356bcece24e5c89f924fed83a3b63736ec2cc9bc2a66341bf8fe00c
-9332fea516f617e6f9b418f28154f4f8f162c2abb3b739cc6ae7fedac21ddc41"
+checksum="daeb7eee1327b6d407cdaaf1a234ec9d8e2ae5a6d085e0fd3d8c606214eb6032
+9c1a1e3a9133abe4140aabad0d968f43ec2b3b14309f0dff80da367220bf58ff"
 
 system_accounts="_grafana"
 _grafana_homedir="/var/lib/grafana"
@@ -35,7 +35,7 @@ pre_build() {
 do_install() {
 	# only install grafana binaries - GOPATH/bin contains eg. wire used at
 	# buildtime, which we don't want in the package
-	for f in ${GOPATH}/bin/grafana-* ${GOPATH}/bin/*/grafana-*; do
+	for f in ${GOPATH}/bin/grafana* ${GOPATH}/bin/*/grafana*; do
 		if [ -f "$f" ] && [ -x "$f" ]; then
 			vbin "$f"
 		fi

             reply	other threads:[~2023-07-30  9:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-30  9:13 MeganerdNL [this message]
2023-08-05 14:11 ` MeganerdNL
2023-08-07 12:37 ` TinfoilSubmarine
2023-08-07 13:35 ` TinfoilSubmarine
2023-08-09 20:26 ` [PR PATCH] [Merged]: " Duncaen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-45322@inbox.vuxu.org \
    --to=meganerdnl@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).