guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/23: gnu: zabbix-agentd: Enable TLS support.


From: guix-commits
Subject: 01/23: gnu: zabbix-agentd: Enable TLS support.
Date: Thu, 27 Oct 2022 13:47:01 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 593548f063e270ad2796c181ef1e8f614067a266
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Wed Oct 26 16:17:48 2022 +0200

    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.
---
 gnu/packages/monitoring.scm | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm
index 51ead2fe9b..1ff36b025b 100644
--- a/gnu/packages/monitoring.scm
+++ b/gnu/packages/monitoring.scm
@@ -188,12 +188,17 @@ etc. via a Web interface.  Features include:
             "/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 @@ solution (client-side agent)")
                         (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 @@ solution (client-side agent)")
      (modify-inputs (package-inputs zabbix-agentd)
        (prepend curl
                 libevent
-                gnutls
                 net-snmp
                 postgresql
                 zlib)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]