summaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/telegraf/Makefile5
-rw-r--r--net-mgmt/telegraf/distinfo10
-rw-r--r--net-mgmt/telegraf/files/patch-config_config.go18
-rw-r--r--net-mgmt/victoria-logs/Makefile7
-rw-r--r--net-mgmt/victoria-logs/distinfo10
-rw-r--r--net-mgmt/victoria-logs/pkg-plist4
6 files changed, 39 insertions, 15 deletions
diff --git a/net-mgmt/telegraf/Makefile b/net-mgmt/telegraf/Makefile
index 68b721ce7ffe..af91620f22f9 100644
--- a/net-mgmt/telegraf/Makefile
+++ b/net-mgmt/telegraf/Makefile
@@ -1,6 +1,6 @@
PORTNAME= telegraf
DISTVERSIONPREFIX=v
-DISTVERSION= 1.34.2
+DISTVERSION= 1.34.3
CATEGORIES= net-mgmt
MAINTAINER= girgen@FreeBSD.org
@@ -35,6 +35,9 @@ GROUPS= ${TELEGRAF_GROUP}
TELEGRAF_LOGDIR=/var/log/${PORTNAME}
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/config/config.go
+
post-install:
${MKDIR} ${STAGEDIR}${TELEGRAF_LOGDIR}
diff --git a/net-mgmt/telegraf/distinfo b/net-mgmt/telegraf/distinfo
index d36d63ceba8e..a01e86bb1876 100644
--- a/net-mgmt/telegraf/distinfo
+++ b/net-mgmt/telegraf/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1744714785
-SHA256 (go/net-mgmt_telegraf/telegraf-v1.34.2/v1.34.2.mod) = cc8644deb9eb449241d909b0d0dc8ca9d19943863bfe84d683c123511957a360
-SIZE (go/net-mgmt_telegraf/telegraf-v1.34.2/v1.34.2.mod) = 27169
-SHA256 (go/net-mgmt_telegraf/telegraf-v1.34.2/v1.34.2.zip) = 6eb4ae787983b612c4b85018c8c57d225d95bc202ae51209f019763906076d4d
-SIZE (go/net-mgmt_telegraf/telegraf-v1.34.2/v1.34.2.zip) = 7051054
+TIMESTAMP = 1746522044
+SHA256 (go/net-mgmt_telegraf/telegraf-v1.34.3/v1.34.3.mod) = 495fb5a3b430b68bf92d257e615c839a6ba7b713ad160e0f86d4d15e072f2044
+SIZE (go/net-mgmt_telegraf/telegraf-v1.34.3/v1.34.3.mod) = 27383
+SHA256 (go/net-mgmt_telegraf/telegraf-v1.34.3/v1.34.3.zip) = 66739fe2f568a3c2aa7bc2f28250804afbc9de75ec4321f6528a8bde8f86dfbd
+SIZE (go/net-mgmt_telegraf/telegraf-v1.34.3/v1.34.3.zip) = 7055291
diff --git a/net-mgmt/telegraf/files/patch-config_config.go b/net-mgmt/telegraf/files/patch-config_config.go
new file mode 100644
index 000000000000..a6f1c04b7722
--- /dev/null
+++ b/net-mgmt/telegraf/files/patch-config_config.go
@@ -0,0 +1,18 @@
+--- config/config.go.orig 2025-05-06 11:09:55.069815000 +0000
++++ config/config.go 2025-05-06 11:10:17.098859000 +0000
+@@ -481,12 +481,12 @@
+ // Try to find a default config file at these locations (in order):
+ // 1. $TELEGRAF_CONFIG_PATH
+ // 2. $HOME/.telegraf/telegraf.conf
+-// 3. /etc/telegraf/telegraf.conf and /etc/telegraf/telegraf.d/*.conf
++// 3. /usr/local/etc/telegraf/telegraf.conf and /etc/telegraf/telegraf.d/*.conf
+ func GetDefaultConfigPath() ([]string, error) {
+ envfile := os.Getenv("TELEGRAF_CONFIG_PATH")
+ homefile := os.ExpandEnv("${HOME}/.telegraf/telegraf.conf")
+- etcfile := "/etc/telegraf/telegraf.conf"
+- etcfolder := "/etc/telegraf/telegraf.d"
++ etcfile := "/usr/local/etc/telegraf/telegraf.conf"
++ etcfolder := "/usr/local/etc/telegraf/telegraf.d"
+
+ if runtime.GOOS == "windows" {
+ programFiles := os.Getenv("ProgramFiles")
diff --git a/net-mgmt/victoria-logs/Makefile b/net-mgmt/victoria-logs/Makefile
index ce6fb376db76..6bc1e48d85ba 100644
--- a/net-mgmt/victoria-logs/Makefile
+++ b/net-mgmt/victoria-logs/Makefile
@@ -1,8 +1,7 @@
PORTNAME= victoria-logs
-PORTVERSION= 1.6.1
+PORTVERSION= 1.22.2
DISTVERSIONPREFIX= v
DISTVERSIONSUFFIX=-victorialogs
-PORTREVISION= 4
CATEGORIES= net-mgmt
MAINTAINER= samm@FreeBSD.org
@@ -12,7 +11,7 @@ WWW= https://victoriametrics.com/products/victorialogs/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= gmake go:modules,1.23,no_targets
+USES= gmake go:modules,1.24,no_targets
GO_MODULE= github.com/VictoriaMetrics/VictoriaMetrics
USE_RC_SUBR?= ${PORTNAME}
@@ -45,7 +44,7 @@ do-install:
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${MV} ${INSTALL_WRKSRC}/docs/VictoriaLogs/* ${STAGEDIR}${DOCSDIR}
+ ${MV} ${INSTALL_WRKSRC}/docs/victorialogs/* ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/net-mgmt/victoria-logs/distinfo b/net-mgmt/victoria-logs/distinfo
index 1b8c81c080d2..f4c08f3feab9 100644
--- a/net-mgmt/victoria-logs/distinfo
+++ b/net-mgmt/victoria-logs/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1737383453
-SHA256 (go/net-mgmt_victoria-logs/victoria-logs-v1.6.1-victorialogs/v1.6.1-victorialogs.mod) = 09f2568ecde63a6934f520c0eadea2e2eca88329442946c47530d7603c2c3958
-SIZE (go/net-mgmt_victoria-logs/victoria-logs-v1.6.1-victorialogs/v1.6.1-victorialogs.mod) = 7467
-SHA256 (go/net-mgmt_victoria-logs/victoria-logs-v1.6.1-victorialogs/v1.6.1-victorialogs.zip) = cf620e1b4ee35ebf3304330c29c9316f07df5169bc004b7b01f67d80117b6a12
-SIZE (go/net-mgmt_victoria-logs/victoria-logs-v1.6.1-victorialogs/v1.6.1-victorialogs.zip) = 28196342
+TIMESTAMP = 1747034754
+SHA256 (go/net-mgmt_victoria-logs/victoria-logs-v1.22.2-victorialogs/v1.22.2-victorialogs.mod) = f103a20d30b5726bcb969047f9a07f076feb2d7c78ee8eb1c5294b52e6607cc6
+SIZE (go/net-mgmt_victoria-logs/victoria-logs-v1.22.2-victorialogs/v1.22.2-victorialogs.mod) = 10105
+SHA256 (go/net-mgmt_victoria-logs/victoria-logs-v1.22.2-victorialogs/v1.22.2-victorialogs.zip) = 956e7e63b0a2919305857fddd83689f53b9418a5f069a4cff80f03c6c16cd709
+SIZE (go/net-mgmt_victoria-logs/victoria-logs-v1.22.2-victorialogs/v1.22.2-victorialogs.zip) = 23257843
diff --git a/net-mgmt/victoria-logs/pkg-plist b/net-mgmt/victoria-logs/pkg-plist
index 5e071f892184..e71442959561 100644
--- a/net-mgmt/victoria-logs/pkg-plist
+++ b/net-mgmt/victoria-logs/pkg-plist
@@ -31,4 +31,8 @@ bin/vlogscli
%%PORTDOCS%%%%DOCSDIR%%/vmalert.md
%%PORTDOCS%%%%DOCSDIR%%/vmalert_victorialogs.excalidraw
%%PORTDOCS%%%%DOCSDIR%%/vmalert_victorialogs.webp
+%%PORTDOCS%%%%DOCSDIR%%/cluster.md
+%%PORTDOCS%%%%DOCSDIR%%/logql-to-logsql.md
+%%PORTDOCS%%%%DOCSDIR%%/sql-to-logsql.md
+
@dir(%%VICTORIA_USER%%,%%VICTORIA_GROUP%%,750) %%VICTORIA_DATA%%