@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME := zabbix
PKG_VERSION := 3.4.14
PKG_RELEASE := 4
PKG_RELEASE := 5
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_HASH := 7443873cc970672d3c884230d3aeb082f2d8afcc2b757506c2d684ffdd12d77e
@ -25,7 +25,9 @@ PKG_FIXUP:=autoreconf
PKG_CONFIG_DEPENDS := \
CONFIG_ZABBIX_GNUTLS \
CONFIG_ZABBIX_OPENSSL
CONFIG_ZABBIX_OPENSSL \
CONFIG_ZABBIX_MYSQL \
CONFIG_ZABBIX_POSTGRESQL
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / n l s . m k
@ -49,6 +51,22 @@ choice
e n d c h o i c e
e n d e f
d e f i n e P a c k a g e / z a b b i x - s e r v e r / c o n f i g
c o m m e n t "Database Software"
c h o i c e
prompt "Selected Database Software"
default ZABBIX_POSTGRESQL
config ZABBIX_MYSQL
bool "MySQL/MariaDB"
config ZABBIX_POSTGRESQL
bool "PostgreSQL"
e n d c h o i c e
e n d e f
d e f i n e P a c k a g e / z a b b i x / D e f a u l t
SECTION:= admin
CATEGORY:= Administration
@ -96,13 +114,13 @@ endef
d e f i n e P a c k a g e / z a b b i x - s e r v e r
$( call Package/zabbix/Default)
TITLE += server
DEPENDS += +pgsql-cli +libevent2
DEPENDS += +ZABBIX_POSTGRESQL:libpq +ZABBIX_MYSQL:libmariadbclient +libevent2
e n d e f
d e f i n e P a c k a g e / z a b b i x - p r o x y
$( call Package/zabbix/Default)
TITLE += proxy
DEPENDS += +pgsql-cli
DEPENDS += +ZABBIX_POSTGRESQL:libpq +ZABBIX_MYSQL:libmariadbclient
e n d e f
d e f i n e P a c k a g e / z a b b i x - e x t r a - m a c 8 0 2 1 1 / d e s c r i p t i o n
@ -129,7 +147,8 @@ CONFIGURE_ARGS+= \
--enable-proxy \
$( call autoconf_bool,CONFIG_IPV6,ipv6) \
--disable-java \
--with-postgresql \
$( if $( CONFIG_ZABBIX_MYSQL) ,--with-mysql) \
$( if $( CONFIG_ZABBIX_POSTGRESQL) ,--with-postgresql) \
--with-libevent= $( STAGING_DIR) /usr/include/libevent \
--with-libpcre= $( STAGING_DIR) /usr/include \
$( if $( CONFIG_ZABBIX_GNUTLS) ,--with-gnutls= " $( STAGING_DIR) /usr " ) \