pkgsrc-WIP-changes archive

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

zabbix50-proxy: Re-enable ipmi and fix PLIST for build with SQL DB



Module Name:	pkgsrc-wip
Committed By:	Juraj Lutter <otis%NetBSD.org@localhost>
Pushed By:	otis
Date:		Tue Nov 3 22:04:54 2020 +0000
Changeset:	97f21f8f12818a2ffcc1ef385be80ccd3b459b21

Modified Files:
	zabbix50-proxy/PLIST
	zabbix50-proxy/options.mk

Log Message:
zabbix50-proxy: Re-enable ipmi and fix PLIST for build with SQL DB

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

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

diffstat:
 zabbix50-proxy/PLIST      | 2 +-
 zabbix50-proxy/options.mk | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diffs:
diff --git a/zabbix50-proxy/PLIST b/zabbix50-proxy/PLIST
index 595287ed8c..6df1e5dc41 100644
--- a/zabbix50-proxy/PLIST
+++ b/zabbix50-proxy/PLIST
@@ -3,7 +3,7 @@ bin/zabbix_proxy_js
 man/man8/zabbix_proxy.8
 sbin/zabbix_proxy
 share/examples/${PKGBASE}/zabbix_proxy.conf
-${PLIST.pgsql}share/${PKGBASE}/double.sql
+${PLIST.sqldb}share/${PKGBASE}/double.sql
 share/${PKGBASE}/schema.sql
 ${PLIST.pgsql}share/${PKGBASE}/timescaledb.sql
 @pkgdir share/${PKGBASE}/externalscripts
diff --git a/zabbix50-proxy/options.mk b/zabbix50-proxy/options.mk
index 157f546562..7acd2a1f9d 100644
--- a/zabbix50-proxy/options.mk
+++ b/zabbix50-proxy/options.mk
@@ -13,6 +13,7 @@ PKG_SUGGESTED_OPTIONS+=		inet6
 .include "../../mk/bsd.options.mk"
 
 PLIST_VARS+=		pgsql
+PLIST_VARS+=		sqldb
 
 .if !empty(PKG_OPTIONS:Minet6)
 CONFIGURE_ARGS+=	--enable-ipv6
@@ -32,6 +33,7 @@ CONFIGURE_ARGS+=	--with-ssh2=${BUILDLINK_PREFIX.libssh2}
 CONFIGURE_ARGS+=	--with-mysql
 .include "../../mk/mysql.buildlink3.mk"
 ZABBIX_DB_TYPE=		mysql
+PLIST.sqldb=		yes
 .endif
 
 .if !empty(PKG_OPTIONS:Msnmp)
@@ -44,6 +46,7 @@ CONFIGURE_ARGS+=	--with-postgresql
 .include "../../mk/pgsql.buildlink3.mk"
 ZABBIX_DB_TYPE=		postgresql
 PLIST.pgsql=		yes
+PLIST.sqldb=		yes
 .endif
 
 .if !empty(PKG_OPTIONS:Msqlite3)


Home | Main Index | Thread Index | Old Index