gnu: zabbix-agentd: Enable TLS support.
* gnu/packages/monitoring.scm (zabbix-agentd)[arguments]: Pass "--with-gnutls" in #:configure-flags. [inputs]: Add GNUTLS. (zabbix-server): Inherit these changes.
This commit is contained in:
parent
176a501360
commit
593548f063
1 changed files with 8 additions and 6 deletions
|
@ -188,12 +188,17 @@ (define-public zabbix-agentd
|
|||
"/run/setuid-programs/fping")))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:configure-flags
|
||||
'("--enable-agent" "--enable-ipv6" "--with-libpcre2")))
|
||||
(list #:configure-flags
|
||||
#~(list "--enable-agent"
|
||||
"--enable-ipv6"
|
||||
"--with-libpcre2"
|
||||
"--with-gnutls"
|
||||
(string-append "--with-gnutls="
|
||||
(assoc-ref %build-inputs "gnutls")))))
|
||||
(native-inputs
|
||||
(list pkg-config))
|
||||
(inputs
|
||||
(list pcre2))
|
||||
(list gnutls pcre2))
|
||||
(home-page "https://www.zabbix.com/")
|
||||
(synopsis "Distributed monitoring solution (client-side agent)")
|
||||
(description "This package provides a distributed monitoring
|
||||
|
@ -239,8 +244,6 @@ (define-public zabbix-server
|
|||
(string-append "--with-libevent="
|
||||
(assoc-ref %build-inputs "libevent"))
|
||||
"--with-net-snmp"
|
||||
(string-append "--with-gnutls="
|
||||
(assoc-ref %build-inputs "gnutls"))
|
||||
"--with-libcurl"
|
||||
(string-append "--with-zlib="
|
||||
(assoc-ref %build-inputs "zlib")))
|
||||
|
@ -249,7 +252,6 @@ (define-public zabbix-server
|
|||
(modify-inputs (package-inputs zabbix-agentd)
|
||||
(prepend curl
|
||||
libevent
|
||||
gnutls
|
||||
net-snmp
|
||||
postgresql
|
||||
zlib)))
|
||||
|
|
Loading…
Reference in a new issue