mirror of
https://gitlab.univ-nantes.fr/glicid-public/guix-glicid.git
synced 2025-07-11 21:29:59 +02:00
feat: bump zabbix-{server,agent2,agentd} 6.0 LTS to 6.0.40
feat: adding zabbix-next-{server,agent2,agentd} 7.0 LTS at 7.0.14
This commit is contained in:
parent
26befaf149
commit
cab50d626b
1 changed files with 60 additions and 2 deletions
|
@ -2,11 +2,12 @@
|
|||
#:use-module (guix packages)
|
||||
#:use-module (guix utils)
|
||||
#:use-module (gnu packages)
|
||||
#:use-module (gnu packages golang)
|
||||
#:use-module ((gnu packages monitoring) #:prefix gnu:)
|
||||
#:use-module (guix download))
|
||||
|
||||
(define %zabbix-version "6.0.38")
|
||||
(define %zabbix-hash "07xd3jsqgbmkb5c4p7w2rbk6zzgcpnbs5dgvca0m5f16kpjrhizp")
|
||||
(define %zabbix-version "6.0.40")
|
||||
(define %zabbix-hash "1b9kbckk733wqk3dr8y6zpnn2dz2k8a2nfgqmgbz0y7z712p8nh6")
|
||||
|
||||
(define-public zabbix-agentd
|
||||
(package
|
||||
|
@ -51,3 +52,60 @@
|
|||
(snippet
|
||||
'(substitute* '("src/zabbix_proxy/proxy.c" "src/zabbix_server/server.c")
|
||||
(("/usr/sbin/fping6?") "/run/setuid-programs/fping")))))))
|
||||
|
||||
(define %zabbix-next-version "7.0.14")
|
||||
(define %zabbix-next-hash "1zxnxp8zmbncg2lfh3blx13i3p5zcfma5cglbka5v873v7p592zy")
|
||||
|
||||
(define-public zabbix-next-agentd
|
||||
(package
|
||||
(inherit gnu:zabbix-agentd)
|
||||
(version %zabbix-next-version)
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://cdn.zabbix.com/zabbix/sources/stable/" (version-major+minor version) "/zabbix-" version ".tar.gz"))
|
||||
(sha256 (base32 %zabbix-next-hash))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
'(substitute* '("src/zabbix_proxy/proxy.c" "src/zabbix_server/server.c")
|
||||
(("/usr/sbin/fping6?") "/run/setuid-programs/fping")))))))
|
||||
|
||||
|
||||
(define-public zabbix-next-agent2
|
||||
(package
|
||||
(inherit gnu:zabbix-agent2)
|
||||
(version %zabbix-next-version)
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://cdn.zabbix.com/zabbix/sources/stable/" (version-major+minor version) "/zabbix-" version ".tar.gz"))
|
||||
(sha256 (base32 %zabbix-next-hash))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
'(begin
|
||||
(substitute* '("src/zabbix_proxy/proxy.c" "src/zabbix_server/server.c")
|
||||
(("/usr/sbin/fping6?") "/run/setuid-programs/fping"))
|
||||
(substitute* "src/go/plugins/system/sw/sw_test.go"
|
||||
(("Tue Oct 18 16:34:23 2022") "Tue Oct 18 13:34:23 2022")
|
||||
(("Wed Nov 23 13:55:55 2022") "Wed Nov 23 11:55:55 2022")
|
||||
(("Thu Jun 16 23:30:12 2022") "Thu Jun 16 20:30:12 2022")
|
||||
(("Mon Aug 8 23:23:59 2022") "Mon Aug 8 20:23:59 2022")
|
||||
(("Tue Aug 10 06:12:12 2021") "Tue Aug 10 03:12:12 2021")
|
||||
(("Fri Sep 2 15:32:22 2022") "Fri Sep 2 12:32:22 2022"))))))
|
||||
(native-inputs `(("go" ,go-1.23)
|
||||
,@(package-native-inputs gnu:zabbix-agent2)))))
|
||||
|
||||
|
||||
(define-public zabbix-next-server
|
||||
(package
|
||||
(inherit gnu:zabbix-server)
|
||||
(version %zabbix-next-version)
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://cdn.zabbix.com/zabbix/sources/stable/" (version-major+minor version) "/zabbix-" version ".tar.gz"))
|
||||
(sha256 (base32 %zabbix-next-hash))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
'(substitute* '("src/zabbix_proxy/proxy.c" "src/zabbix_server/server.c")
|
||||
(("/usr/sbin/fping6?") "/run/setuid-programs/fping")))))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue