gnu: Zabbix: Update to 5.4.10.

* gnu/packages/monitoring.scm (zabbix-agentd): Update to 5.4.10.
[source](snippet): Simplify fping substitution.
This commit is contained in:
Marius Bakke 2022-02-13 09:39:05 +01:00
parent ae0ba592ba
commit b1fb01e659
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -164,7 +164,7 @@ (define-public nagios
(define-public zabbix-agentd (define-public zabbix-agentd
(package (package
(name "zabbix-agentd") (name "zabbix-agentd")
(version "5.4.9") (version "5.4.10")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -172,13 +172,13 @@ (define-public zabbix-agentd
"https://cdn.zabbix.com/zabbix/sources/stable/" "https://cdn.zabbix.com/zabbix/sources/stable/"
(version-major+minor version) "/zabbix-" version ".tar.gz")) (version-major+minor version) "/zabbix-" version ".tar.gz"))
(sha256 (sha256
(base32 "0hf9qygjy4vyknsin6qmgpna6z4c4mdrglifgkpxbs3nvwl6cs0r")) (base32 "0xwqwmq811fgxl6j9a9527i55jcpq98gqvwcda8la9gj0rsiqas6"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
'(substitute* '("src/zabbix_proxy/proxy.c" '(substitute* '("src/zabbix_proxy/proxy.c"
"src/zabbix_server/server.c") "src/zabbix_server/server.c")
;; 'fping' must be setuid, so look for it in the usual location. ;; 'fping' must be setuid, so look for it in the usual location.
(("/usr/sbin/fping[[:digit:]]?") (("/usr/sbin/fping6?")
"/run/setuid-programs/fping"))))) "/run/setuid-programs/fping")))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments