summaryrefslogtreecommitdiff
path: root/gnu/packages/monitoring.scm
diff options
context:
space:
mode:
authorIgnas Lapėnas <ignas@lapenas.dev>2025-06-26 11:57:10 +0300
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-07-07 10:08:00 +0100
commit94a8daf9acfb4ac9a08568e83353ee26006701d2 (patch)
tree4f807673c89c8e80e3bf8a5f63fb6e692eb2f858 /gnu/packages/monitoring.scm
parent98a3f273accd27ba25016fde8d06a51a0a70566e (diff)
gnu: zabbix-agentd: Update to 7.2.9.
Zabbix has changed the license to AGPLv3 starting from v7.0, see: <https://www.zabbix.com/license>. * gnu/packages/monitoring.scm (zabbix-agentd): Update to 7.2.9. [license]: Correct it. (zabbix-agent2) [patches]: Add zabbix-agent2-test-timezone-fix.patch fixing timezone to UTC for datetimes test. [native-inputs]: Remove go; add go-1.23. * gnu/packages/patches/zabbix-agent2-test-timezone-fix.patch: Add file. * gnu/local.mk (dist_patch_DATA): Register patch. Change-Id: Ia95e4debf340724a3fba4850380231b0da3fafd2
Diffstat (limited to 'gnu/packages/monitoring.scm')
-rw-r--r--gnu/packages/monitoring.scm12
1 files changed, 8 insertions, 4 deletions
diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm
index 6987d701c82..66b1a761d9c 100644
--- a/gnu/packages/monitoring.scm
+++ b/gnu/packages/monitoring.scm
@@ -179,7 +179,7 @@ etc. via a Web interface. Features include:
179(define-public zabbix-agentd 179(define-public zabbix-agentd
180 (package 180 (package
181 (name "zabbix-agentd") 181 (name "zabbix-agentd")
182 (version "6.0.14") 182 (version "7.2.9")
183 (source 183 (source
184 (origin 184 (origin
185 (method url-fetch) 185 (method url-fetch)
@@ -187,7 +187,7 @@ etc. via a Web interface. Features include:
187 "https://cdn.zabbix.com/zabbix/sources/stable/" 187 "https://cdn.zabbix.com/zabbix/sources/stable/"
188 (version-major+minor version) "/zabbix-" version ".tar.gz")) 188 (version-major+minor version) "/zabbix-" version ".tar.gz"))
189 (sha256 189 (sha256
190 (base32 "0n6fqa9vbhh2syxii7ds2x6dnplrgrj98by1zl0ij1wfbnbxa6k3")) 190 (base32 "1rq03lpkz5d04540xiywlzwjva7v0v6isgny8ajslbadv99f6g5a"))
191 (modules '((guix build utils))) 191 (modules '((guix build utils)))
192 (snippet 192 (snippet
193 '(substitute* '("src/zabbix_proxy/proxy.c" 193 '(substitute* '("src/zabbix_proxy/proxy.c"
@@ -212,7 +212,7 @@ etc. via a Web interface. Features include:
212 (synopsis "Distributed monitoring solution (client-side agent)") 212 (synopsis "Distributed monitoring solution (client-side agent)")
213 (description "This package provides a distributed monitoring 213 (description "This package provides a distributed monitoring
214solution (client-side agent)") 214solution (client-side agent)")
215 (license license:gpl2+) 215 (license license:agpl3)
216 (properties 216 (properties
217 '((release-monitoring-url . "https://www.zabbix.com/download_sources") 217 '((release-monitoring-url . "https://www.zabbix.com/download_sources")
218 (upstream-name . "zabbix"))))) 218 (upstream-name . "zabbix")))))
@@ -220,6 +220,10 @@ solution (client-side agent)")
220(define-public zabbix-agent2 220(define-public zabbix-agent2
221 (package/inherit zabbix-agentd 221 (package/inherit zabbix-agentd
222 (name "zabbix-agent2") 222 (name "zabbix-agent2")
223 (source
224 (origin
225 (inherit (package-source zabbix-agentd))
226 (patches (search-patches "zabbix-agent2-test-timezone-fix.patch"))))
223 (arguments 227 (arguments
224 (list #:configure-flags 228 (list #:configure-flags
225 #~(list "--disable-agent" 229 #~(list "--disable-agent"
@@ -239,7 +243,7 @@ solution (client-side agent)")
239 (lambda _ 243 (lambda _
240 (setenv "HOME" "/tmp")))))) 244 (setenv "HOME" "/tmp"))))))
241 (native-inputs 245 (native-inputs
242 (list go pkg-config)) 246 (list go-1.23 pkg-config))
243 (inputs 247 (inputs
244 (list openssl pcre2 zlib)))) 248 (list openssl pcre2 zlib))))
245 249