# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
maintainers {eborisch @eborisch} openmaintainer
description An open source application and network monitor
long_description Zabbix is the ultimate open source availability and \
performance monitoring solution. Zabbix offers advanced \
monitoring, alerting, and visualization features today \
which are missing in other monitoring systems, even some \
of the best commercial ones.
distname zabbix-${version}
livecheck.regex "Stable\/(3\[0-9.\]+)\/"
http://sourceforge.net/projects/zabbix/files/ZABBIX%20Latest%20Stable/
homepage http://www.zabbix.com/
sourceforge:project/zabbix/ZABBIX%20Latest%20Stable/${version} \
sourceforge:project/zabbix/ZABBIX%20Release%20Candidates/${version}
rmd160 fe8664e5f3a1830ef4671f10778b2e4c44fcc70d \
sha256 054cc603a3f7fb4b3ebd51d001afa2f0e4356d1086331e6067057bc51e32f1a9 \
patchfiles log_and_pid_locations.patch
configure.args --bindir=${prefix}/bin/zabbix \
--sbindir=${prefix}/sbin/zabbix \
--libexecdir=${prefix}/libexec/zabbix \
--datadir=${prefix}/share/zabbix \
--sysconfdir=${prefix}/etc/zabbix3 \
--localstatedir=${prefix}/var/zabbix \
--with-gnutls=${prefix} \
--with-libevent=${prefix} \
configure.ldflags-append -lresolv
depends_lib-append port:libiconv \
if { ${name} ne ${subport} } {
startupitem.name zabbix3-agentd
${prefix}/sbin/zabbix/zabbix_agentd \
-c ${prefix}/etc/zabbix3/zabbix_agentd.conf
startupitem.pidfile auto ${prefix}/var/run/zabbix/zabbix_agentd.pid
startupitem.logfile ${prefix}/var/log/zabbix/zabbix_agentd.launch
configure.args-append --enable-agent
${destroot}${prefix}/etc/zabbix3/zabbix_agentd.conf.d \
${destroot}${prefix}/var/run/zabbix3 \
${destroot}${prefix}/var/log/zabbix3
depends_lib-append port:curl \
depends_run-append port:fping \
configure.args-append --enable-server \
--with-libcurl=${prefix}/bin/curl-config \