diff options
Diffstat (limited to 'net-mgmt/zabbix72-server/Makefile')
-rw-r--r-- | net-mgmt/zabbix72-server/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/net-mgmt/zabbix72-server/Makefile b/net-mgmt/zabbix72-server/Makefile index bfe2fb3b89bc..5f59f9db1d4e 100644 --- a/net-mgmt/zabbix72-server/Makefile +++ b/net-mgmt/zabbix72-server/Makefile @@ -1,5 +1,5 @@ PORTNAME= zabbix72 -DISTVERSION= 7.2.6 +DISTVERSION= 7.2.8 PORTREVISION?= 0 CATEGORIES= net-mgmt MASTER_SITES= https://cdn.zabbix.com/zabbix/sources/stable/${DISTVERSION:R}/ @@ -19,19 +19,22 @@ CONFLICTS_INSTALL= zabbix[0-9]${PKGNAMESUFFIX} \ ZABBIX_BUILD= ${PKGNAMESUFFIX:S/^-//:S/-$//} .if ${ZABBIX_BUILD} != "frontend" # frontend only needs the version/distribution settings +USES= iconv pkgconfig .if ${ZABBIX_BUILD} != "agent" CONFIGURE_ARGS+= --cache-file=${WRKSRC}/config.cache \ --with-libevent=${LOCALBASE} \ --with-libxml2 LIB_DEPENDS+= libevent.so:devel/libevent USE_RC_SUBR= zabbix_${ZABBIX_BUILD} +# -server and -proxy depends on libxml2 +.if ${ZABBIX_BUILD} != "java" +USES+= gnome +USE_GNOME= libxml2 +.endif .else USE_RC_SUBR= zabbix_${ZABBIX_BUILD}d .endif -USES= gnome iconv pkgconfig -USE_GNOME= libxml2 - USERS= zabbix GROUPS= zabbix @@ -78,8 +81,8 @@ CPPFLAGS+= -I${LOCALBASE}/include SUB_FILES= pkg-message -OPTIONS_DEFAULT+= CURL FPING IPMI IPV6 LIBXML2 MYSQL OPENSSL SNMP SSH UNIXODBC -OPTIONS_DEFINE= CURL FPING IPMI IPV6 LDAP LIBXML2 NMAP SNMP SSH UNIXODBC +OPTIONS_DEFAULT+= CURL FPING IPMI IPV6 MYSQL OPENSSL SNMP SSH UNIXODBC +OPTIONS_DEFINE= CURL FPING IPMI IPV6 LDAP NMAP SNMP SSH UNIXODBC OPTIONS_SINGLE+= DB SSL OPTIONS_SINGLE_DB= MDB5 MDB6 MYSQL MYSQLDV PGSQL .if ${ZABBIX_BUILD} == "proxy" @@ -95,7 +98,6 @@ NMAP_DESC= Build/install nmap for o/s detection SNMP_DESC= Support for SNMP checks SSH_DESC= Support for SSH-based checks UNIXODBC_DESC= Support for database checks via ODBC -LIBXML2_DESC= Support for libxml2 (required by monitoring VMware) MYSQL_DESC= MySQL 8.0 database support MYSQLDV_DESC= MYSQL DEFAULT_VERSIONS= (poudriere) |