summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-05-28 09:19:12 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-05-28 09:19:12 +0000
commitbfe4783315a8ea37a1838c1d1cc9c6d11ebe2e4f (patch)
tree9b60f30aea8f3a94d35075a2cd0153da2edfa0dc /main
parent9a672085db7ff87e63f21ad4b6c5c770d57c90d9 (diff)
downloadaports-bfe4783315a8ea37a1838c1d1cc9c6d11ebe2e4f.tar.bz2
aports-bfe4783315a8ea37a1838c1d1cc9c6d11ebe2e4f.tar.xz
main/zabbix: mark the different database variants as conflicting
fixes #2967
Diffstat (limited to 'main')
-rw-r--r--main/zabbix/APKBUILD10
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"