mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
net-mgmt/zabbix6-server: Enable SSH by default
Enable SSH-based checks by default as it's usable for many scenarion. Also make SNMP checks optional, retaining default ON and clean up the required PHP extension a bit as per Zabbix manual. PR: 269992 PR: 270012 PR: 270013
This commit is contained in:
parent
b76c437779
commit
7c39d5d75e
@ -1,4 +1,5 @@
|
||||
PORTNAME= zabbix6
|
||||
PORTREVISION= 0
|
||||
CATEGORIES= net-mgmt
|
||||
PKGNAMESUFFIX= -agent
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
PORTNAME= zabbix6
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net-mgmt
|
||||
PKGNAMESUFFIX= -frontend${PHP_PKGNAMESUFFIX}
|
||||
|
||||
USES+= php:web,flavors
|
||||
USE_PHP= bcmath ctype dom fileinfo filter gd gettext hash json ldap \
|
||||
mbstring openssl pcre session simplexml snmp sockets xml \
|
||||
USE_PHP= bcmath ctype gd gettext mbstring session sockets xml \
|
||||
xmlreader xmlwriter
|
||||
IGNORE_WITH_PHP= 82
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
PORTNAME= zabbix6
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net-mgmt
|
||||
PKGNAMESUFFIX= -proxy
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
PORTNAME= zabbix6
|
||||
DISTVERSION= 6.0.13
|
||||
PORTREVISION?= 1
|
||||
CATEGORIES= net-mgmt
|
||||
MASTER_SITES= https://cdn.zabbix.com/zabbix/sources/stable/${DISTVERSION:R}/
|
||||
PKGNAMESUFFIX?= -server
|
||||
@ -71,16 +72,12 @@ PCRE2_LIB_DEPENDS= libpcre2-8.so:devel/pcre2
|
||||
PCRE2_CONFIGURE_WITH= libpcre2
|
||||
|
||||
.if ${ZABBIX_BUILD} != "agent"
|
||||
LIB_DEPENDS+= libnetsnmp.so:net-mgmt/net-snmp
|
||||
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
CONFIGURE_ARGS+= --with-net-snmp
|
||||
|
||||
OPTIONS_DEFAULT+= CURL FPING IPMI IPV6 LIBXML2 MYSQL OPENSSL UNIXODBC
|
||||
OPTIONS_DEFINE= CURL FPING IPMI IPV6 LDAP LIBXML2 NMAP SSH UNIXODBC
|
||||
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_SINGLE+= DB SSL
|
||||
OPTIONS_SINGLE_DB= MDB5 MDB6 MYSQL MYSQLDV ORACLE PGSQL
|
||||
.if ${ZABBIX_BUILD} == "proxy"
|
||||
@ -93,6 +90,7 @@ FPING_DESC= Build/install fping for ping checks
|
||||
IPMI_DESC= Support for IPMI checks
|
||||
LDAP_DESC= Support for LDAP server checks
|
||||
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)
|
||||
@ -126,6 +124,9 @@ ORACLE_CONFIGURE_WITH= oracle
|
||||
PGSQL_CONFIGURE_WITH= postgresql
|
||||
PGSQL_USES+= pgsql
|
||||
|
||||
SNMP_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp
|
||||
SNMP_CONFIGURE_WITH= net-snmp
|
||||
|
||||
SQLITE_CONFIGURE_WITH= sqlite3
|
||||
SQLITE_USES+= sqlite:3
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user