[Bug 234831] net-mgmt/zabbix34-agent libcurl support

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jan 10 20:34:45 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234831

            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 at FreeBSD.org
          Reporter: mg at fork.pl
                CC: pg at pakhom.spb.ru
             Flags: maintainer-feedback?(pg at pakhom.spb.ru)
                CC: pg at 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 (master
port) but I'm not sure if it's the right thing to do with master/slave ports.


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=     ${.CURDIR}/../zabbix34-server
 PLIST=         ${PKGDIR}/pkg-plist.agent

-OPTIONS_DEFINE=                IPV6
+OPTIONS_DEFINE=                IPV6 CURL
 OPTIONS_DEFAULT=       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} == "agent"
 OPTIONS_SINGLE=        SSL
 OPTIONS_SINGLE_SSL=    OPENSSL GNUTLS
+CURL_DESC=      Support for web monitoring
+CURL_CONFIGURE_WITH=    libcurl
+CURL_LIB_DEPENDS=   libcurl.so:ftp/curl
 .endif # if ${ZABBIX_BUILD} != "agent" && ${ZABBIX_BUILD} != "java"

 IPV6_CONFIGURE_ENABLE= ipv6

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


More information about the freebsd-ports-bugs mailing list