Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jan 2019 20:34:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 234831] net-mgmt/zabbix34-agent libcurl support
Message-ID:  <bug-234831-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234831

            Bug ID: 234831
           Summary: net-mgmt/zabbix34-agent libcurl support
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: mg@fork.pl
                CC: pg@pakhom.spb.ru
             Flags: maintainer-feedback?(pg@pakhom.spb.ru)
                CC: pg@pakhom.spb.ru

the zabbix agentd doesn't enable curl option (this causes removal of https
checks).

The message one can see is:
Support for HTTPS check was not compiled in.

The problem probably affects other zabbix agent versions too.

I successfully patched Makefiles for zabbix34-agent and zabbix34-server (ma=
ster
port) but I'm not sure if it's the right thing to do with master/slave port=
s.


agent:

--- Makefile.orig       2019-01-10 15:15:54.828171000 +0100
+++ Makefile    2019-01-10 15:16:10.502148000 +0100
@@ -8,7 +8,7 @@
 MASTERDIR=3D     ${.CURDIR}/../zabbix34-server
 PLIST=3D         ${PKGDIR}/pkg-plist.agent

-OPTIONS_DEFINE=3D                IPV6
+OPTIONS_DEFINE=3D                IPV6 CURL
 OPTIONS_DEFAULT=3D       OPENSSL

 .include "${MASTERDIR}/Makefile"


server:

--- Makefile.orig       2019-01-10 21:25:44.617241000 +0100
+++ Makefile    2019-01-10 15:22:39.515339000 +0100
@@ -124,6 +124,9 @@
 .elif ${ZABBIX_BUILD} =3D=3D "agent"
 OPTIONS_SINGLE=3D        SSL
 OPTIONS_SINGLE_SSL=3D    OPENSSL GNUTLS
+CURL_DESC=3D      Support for web monitoring
+CURL_CONFIGURE_WITH=3D    libcurl
+CURL_LIB_DEPENDS=3D   libcurl.so:ftp/curl
 .endif # if ${ZABBIX_BUILD} !=3D "agent" && ${ZABBIX_BUILD} !=3D "java"

 IPV6_CONFIGURE_ENABLE=3D ipv6

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-234831-7788>