pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

zabbix50-server: Add IPMI support



Module Name:	pkgsrc-wip
Committed By:	Juraj Lutter <otis%NetBSD.org@localhost>
Pushed By:	otis
Date:		Wed Oct 7 19:50:12 2020 +0000
Changeset:	c4f79e89fa26656f651593865dc4b8df357bb41c

Modified Files:
	zabbix50-server/options.mk

Log Message:
zabbix50-server: Add IPMI support

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c4f79e89fa26656f651593865dc4b8df357bb41c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 zabbix50-server/options.mk | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diffs:
diff --git a/zabbix50-server/options.mk b/zabbix50-server/options.mk
index 5ca44d5a3d..aec368fd03 100644
--- a/zabbix50-server/options.mk
+++ b/zabbix50-server/options.mk
@@ -1,10 +1,10 @@
 # $NetBSD$
 
 PKG_OPTIONS_VAR=		PKG_OPTIONS.zabbix50-server
-PKG_SUPPORTED_OPTIONS+=		inet6 libssh libssh2 snmp
+PKG_SUPPORTED_OPTIONS+=		inet6 ipmi libssh libssh2 snmp
 PKG_OPTIONS_OPTIONAL_GROUPS=	database
 PKG_OPTIONS_GROUP.database=	mysql pgsql
-PKG_SUGGESTED_OPTIONS+=		libssh2 snmp pgsql
+PKG_SUGGESTED_OPTIONS+=		ipmi libssh2 pgsql snmp
 
 .if empty(MISSING_FEATURES:Minet6)
 PKG_SUGGESTED_OPTIONS+=		inet6
@@ -45,3 +45,8 @@ CONFIGURE_ARGS+=	--with-postgresql
 ZABBIX_DB_TYPE=		postgresql
 PLIST.pgsql=		yes
 .endif
+
+.if !empty(PKG_OPTIONS:Mipmi)
+CONFIGURE_ARGS+=	--with-openipmi=${LOCALBASE}
+.include "../../devel/OpenIPMI/buildlink3.mk"
+.endif


Home | Main Index | Thread Index | Old Index