# -*- 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
PortGroup active_variants 1.1
maintainers {eborisch @eborisch} openmaintainer
license_noconflict openssl
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.
set zver [regsub -all {[^\d]} ${subport} {}]
version $VERSIONS(${zver})
distname zabbix-${version}
https://www.zabbix.com/download_sources
homepage http://www.zabbix.com/
sourceforge:project/zabbix/ZABBIX%20Latest%20Stable/${version} \
sourceforge:project/zabbix/ZABBIX%20Release%20Candidates/${version}
dist_subdir zabbix${zver}
livecheck.regex "zabbix-(4\.0\.\[0-9\]+).tar.gz"
rmd160 8bdf1912a0b180080fe746ca9f90608c2445f55f \
sha256 6b76424f750d213fe60b41440539e1dd9e2676d532a07cb2e93807c35cefed45 \
livecheck.regex "zabbix-(4\.2\.\[0-9\]+).tar.gz"
rmd160 6108c446e0c92c7388b7eaf31b9fd628b15c06e4 \
sha256 57dbc2a95a09581b5196d2abc86ee1aaf65f3c909d6b4bc53d260dc4dd69b9c6 \
livecheck.regex "zabbix-(4\.4\.\[0-9\]+).tar.gz"
rmd160 12b4c8da56fa1e1c4b30bc8145b09231ccd0c29a \
sha256 0bf74e597dd41a558305fe17a2b1ed6fe2d77044b87696a92e4227fbf315564a \
patchfiles log_and_pid_locations.patch
subport zabbix42 {conflicts zabbix4 zabbix44}
subport zabbix44 {conflicts zabbix4 zabbix42}
subport zabbix4-agent {conflicts zabbix42-agent zabbix44-agent}
subport zabbix42-agent {conflicts zabbix4-agent zabbix44-agent}
subport zabbix44-agent {conflicts zabbix4-agent zabbix42-agent}
subport zabbix4-frontend {conflicts zabbix42-frontend \
subport zabbix42-frontend {conflicts zabbix4-frontend \
subport zabbix44-frontend {conflicts zabbix4-frontend \
proc isFlavor {desc subp} {
if {[string first ${desc} ${subp}] >= 0} {
configure.args --bindir=${prefix}/bin/zabbix \