Sunday, October 31, 2021

[update] sysutils/loki 2.3.0

Index: Makefile
===================================================================
RCS file: /cvs/ports/sysutils/loki/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile 8 Mar 2021 13:59:27 -0000 1.4
+++ Makefile 31 Oct 2021 16:40:40 -0000
@@ -4,14 +4,13 @@

GH_ACCOUNT = grafana
GH_PROJECT = loki
-GH_TAGNAME = v2.1.0
-REVISION = 0
+GH_TAGNAME = v2.3.0

CATEGORIES = sysutils

HOMEPAGE = https://grafana.com/oss/loki/

-# Apache 2.0
+# AGPLv3 + some bits Apache 2.0
PERMIT_PACKAGE = Yes

MODULES = lang/go
@@ -21,7 +20,7 @@

do-build:
cd ${WRKSRC} && ${MODGO_CMD} build ${MODGO_FLAGS} -o bin/loki ./cmd/loki
- cd ${WRKSRC} && ${MODGO_CMD} build ${MODGO_FLAGS} -o bin/promtail ./cmd/promtail
+ cd ${WRKSRC} && ${MODGO_CMD} build ${MODGO_FLAGS} -o bin/promtail ./clients/cmd/promtail
cd ${WRKSRC} && ${MODGO_CMD} build ${MODGO_FLAGS} -o bin/logcli ./cmd/logcli
cd ${WRKSRC} && ${MODGO_CMD} build ${MODGO_FLAGS} -o bin/loki-canary ./cmd/loki-canary

@@ -32,7 +31,7 @@
${PREFIX}/share/examples/loki
${INSTALL_PROGRAM} ${WRKSRC}/bin/promtail ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/promtail
- ${INSTALL_DATA} ${WRKSRC}/cmd/promtail/promtail-local-config.yaml \
+ ${INSTALL_DATA} ${WRKSRC}/clients/cmd/promtail/promtail-local-config.yaml \
${PREFIX}/share/examples/promtail
${INSTALL_PROGRAM} ${WRKSRC}/bin/logcli ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/bin/loki-canary ${PREFIX}/bin
Index: distinfo
===================================================================
RCS file: /cvs/ports/sysutils/loki/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo 7 Mar 2021 17:54:50 -0000 1.3
+++ distinfo 31 Oct 2021 16:40:40 -0000
@@ -1,2 +1,2 @@
-SHA256 (loki-2.1.0.tar.gz) = zszE5CpxWMoLxJkDo/vjHIzVX4X1C6yKi7qYQ7T4zW8=
-SIZE (loki-2.1.0.tar.gz) = 23316117
+SHA256 (loki-2.3.0.tar.gz) = xxF0ovu3thg8uE/DpeMoy0J2pJXHwL6OxTw3fsA2NIk=
+SIZE (loki-2.3.0.tar.gz) = 26005884
Index: patches/patch-cmd_loki_loki-local-config_yaml
===================================================================
RCS file: /cvs/ports/sysutils/loki/patches/patch-cmd_loki_loki-local-config_yaml,v
retrieving revision 1.2
diff -u -r1.2 patch-cmd_loki_loki-local-config_yaml
--- patches/patch-cmd_loki_loki-local-config_yaml 7 Mar 2021 17:54:50 -0000 1.2
+++ patches/patch-cmd_loki_loki-local-config_yaml 31 Oct 2021 16:40:40 -0000
@@ -3,7 +3,7 @@
Index: cmd/loki/loki-local-config.yaml
--- cmd/loki/loki-local-config.yaml.orig
+++ cmd/loki/loki-local-config.yaml
-@@ -29,15 +29,15 @@ schema_config:
+@@ -33,15 +33,15 @@ schema_config:

storage_config:
boltdb_shipper:
Index: patches/patch-cmd_promtail_promtail-local-config_yaml
===================================================================
RCS file: /cvs/ports/sysutils/loki/patches/patch-cmd_promtail_promtail-local-config_yaml,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 patch-cmd_promtail_promtail-local-config_yaml
--- patches/patch-cmd_promtail_promtail-local-config_yaml 7 Mar 2020 10:12:55 -0000 1.1.1.1
+++ patches/patch-cmd_promtail_promtail-local-config_yaml 31 Oct 2021 16:40:40 -0000
@@ -1,8 +1,8 @@
$OpenBSD: patch-cmd_promtail_promtail-local-config_yaml,v 1.1.1.1 2020/03/07 10:12:55 sthen Exp $

-Index: cmd/promtail/promtail-local-config.yaml
---- cmd/promtail/promtail-local-config.yaml.orig
-+++ cmd/promtail/promtail-local-config.yaml
+Index: clients/cmd/promtail/promtail-local-config.yaml
+--- clients/cmd/promtail/promtail-local-config.yaml.orig
++++ clients/cmd/promtail/promtail-local-config.yaml
@@ -3,16 +3,16 @@ server:
grpc_listen_port: 0

hi,

following telegraf and influxdb,
https://github.com/grafana/loki/releases got a new 2.3.0 release. I dont
use it on OpenBSD, so feedback definitely welcome. Builds fine :)

Landry

No comments:

Post a Comment