sysutils/loki: update to 2.6.1

changelogs:
https://github.com/grafana/loki/releases/tag/v2.6.1
https://github.com/grafana/loki/releases/tag/v2.6.0
https://github.com/grafana/loki/releases/tag/v2.5.0

with feedback (thanks!) and OK, landry@ and sthen@
This commit is contained in:
lraab 2022-09-13 22:17:00 +00:00
parent 2206a80000
commit 240e2d38ce
7 changed files with 34 additions and 23 deletions

View File

@ -1,12 +1,16 @@
COMMENT = like Prometheus, but for logs
COMMENT-main = like Prometheus, but for logs
COMMENT-promtail = tails log files and pushes them to Loki
GH_ACCOUNT = grafana
GH_PROJECT = loki
GH_TAGNAME = v2.4.2
GH_TAGNAME = v2.6.1
CATEGORIES = sysutils
HOMEPAGE = https://grafana.com/oss/loki/
MASTER_SITES = https://ports.lucasraab.me/
MULTI_PACKAGES = -main -promtail
# AGPLv3 + some bits Apache 2.0
PERMIT_PACKAGE = Yes

View File

@ -1,2 +1,2 @@
SHA256 (loki-2.4.2.tar.gz) = 725af867fa3bece6ccd46e0722eb68fe72462b15faa15c8ada609b5b2a476b07
SIZE (loki-2.4.2.tar.gz) = 26148143
SHA256 (loki-2.6.1.tar.gz) = q3H2KQo+NGHL+yOOdZAOGGzo77X7CVuVOIfu1Sd+4zk=
SIZE (loki-2.6.1.tar.gz) = 29338323

View File

@ -1,6 +1,7 @@
Index: cmd/loki/loki-local-config.yaml
--- cmd/loki/loki-local-config.yaml.orig
+++ cmd/loki/loki-local-config.yaml
@@ -5,11 +5,11 @@
@@ -5,11 +5,11 @@ server:
grpc_listen_port: 9096
common:

View File

@ -0,0 +1 @@
agent which tails log files and pushes them to Loki

View File

@ -1,13 +1,11 @@
@pkgpath sysutils/loki
@newgroup _loki:848
@newuser _loki:848:848:daemon:Loki Daemon:/var/empty:/sbin/nologin
@extraunexec rm -rf /var/loki/
@extraunexec rm -rf /var/promtail/
@rcscript ${RCDIR}/loki
@rcscript ${RCDIR}/promtail
@bin bin/logcli
@bin bin/loki
@bin bin/loki-canary
@bin bin/promtail
share/examples/loki/
@mode 0755
@owner root
@ -20,21 +18,7 @@ share/examples/loki/loki-local-config.yaml
@mode 0640
@group _loki
@sample ${SYSCONFDIR}/loki/loki-config.yaml
@mode
@group
share/examples/promtail/
@mode 0755
@owner root
@group _loki
@sample ${SYSCONFDIR}/promtail/
@mode
@owner
@group
share/examples/promtail/promtail-local-config.yaml
@mode 0640
@group _loki
@sample ${SYSCONFDIR}/promtail/promtail-config.yaml
@mode 0750
@owner _loki
@group
@sample /var/loki/
@sample /var/promtail/

View File

@ -0,0 +1,21 @@
@conflict loki-<=2.4.2
@newgroup _loki:848
@newuser _loki:848:848:daemon:Loki Daemon:/var/empty:/sbin/nologin
@extraunexec rm -rf /var/promtail/
@rcscript ${RCDIR}/promtail
@bin bin/promtail
share/examples/promtail/
@mode 0755
@owner root
@group _loki
@sample ${SYSCONFDIR}/promtail/
@mode
@owner
@group
share/examples/promtail/promtail-local-config.yaml
@mode 0640
@group _loki
@sample ${SYSCONFDIR}/promtail/promtail-config.yaml
@mode 0750
@owner _loki
@sample /var/promtail/