pkgsrc-WIP-changes archive

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

zabbix50-proxy: Add support for IPMI



Module Name:	pkgsrc-wip
Committed By:	Juraj Lutter <otis%NetBSD.org@localhost>
Pushed By:	otis
Date:		Wed Oct 7 20:08:32 2020 +0000
Changeset:	ef72196fd4588e65b8d7d494083f8db1542728c3

Modified Files:
	zabbix50-proxy/options.mk

Log Message:
zabbix50-proxy: Add support for IPMI

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

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

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

diffs:
diff --git a/zabbix50-proxy/options.mk b/zabbix50-proxy/options.mk
index 8ad543cb65..ea6a59f113 100644
--- a/zabbix50-proxy/options.mk
+++ b/zabbix50-proxy/options.mk
@@ -1,10 +1,10 @@
 # $NetBSD$
 
 PKG_OPTIONS_VAR=		PKG_OPTIONS.zabbix50-proxy
-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 sqlite3
-PKG_SUGGESTED_OPTIONS+=		libssh2 snmp pgsql
+PKG_SUGGESTED_OPTIONS+=		ipmi libssh2 pgsql snmp
 
 .if empty(MISSING_FEATURES:Minet6)
 PKG_SUGGESTED_OPTIONS+=		inet6
@@ -51,3 +51,8 @@ CONFIGURE_ARGS+=	--with-sqlite3=${BUILDLINK_PREFIX.sqlite3}
 .include "../../databases/sqlite3/buildlink3.mk"
 ZABBIX_DB_TYPE=		sqlite3
 .endif
+
+.if !empty(PKG_OPTIONS:Mipmi)
+CONFIGURE_ARGS+=	--with-openipmi=${LOCALBASE}
+.include "../../devel/OpenIPMI/buildlink3.mk"
+.endif


Home | Main Index | Thread Index | Old Index