diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/zabbix/APKBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/main/zabbix/APKBUILD b/main/zabbix/APKBUILD index 94bcf2132..05ec690fa 100644 --- a/main/zabbix/APKBUILD +++ b/main/zabbix/APKBUILD @@ -3,7 +3,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=zabbix pkgver=2.2.3 -pkgrel=1 +pkgrel=2 pkgdesc="Enterprise-class open source distributed monitoring" url="http://www.zabbix.com" arch="all" @@ -126,7 +126,7 @@ setup() { _do_db() { pkgdesc="Zabbix server with $1 database support" - depends=$pkgname + depends="$pkgname $2" local i= mkdir -p "$subpkgdir"/usr/sbin mv "$_builddir-$1"/src/zabbix_server/zabbix_server \ @@ -144,9 +144,9 @@ _do_db() { return 0 } -pgsql() { _do_db postgresql; } -mysql() { _do_db mysql; } -sqlite() { _do_db sqlite3; } +pgsql() { _do_db postgresql "!$pkgname-mysql !$pkgname-sqlite";} +mysql() { _do_db mysql "!$pkgname-pgsql !$pkgname-sqlite";} +sqlite(){ _do_db sqlite3 "!$pkgname-pgsql !$pkgname-mysql";} utils() { pkgdesc="Zabbix client utilities" |