aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorfeld <feld@FreeBSD.org>2017-06-10 06:04:52 +0800
committerfeld <feld@FreeBSD.org>2017-06-10 06:04:52 +0800
commitdc81f153ca35c00911b3aba261894d9297a4c70d (patch)
treebc6e5af41249cb7f8670700146186d4b6611d4a3 /net-mgmt
parent99c92ebc7dbdcaf26153609d3a98cecce53d8573 (diff)
downloadfreebsd-ports-gnome-dc81f153ca35c00911b3aba261894d9297a4c70d.tar.gz
freebsd-ports-gnome-dc81f153ca35c00911b3aba261894d9297a4c70d.tar.zst
freebsd-ports-gnome-dc81f153ca35c00911b3aba261894d9297a4c70d.zip
net-mgmt/zabbix*-server: Update CONFLICTS
Rework conflicts to correctly match the other zabbix packages. PR: 208025
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/zabbix2-server/Makefile6
-rw-r--r--net-mgmt/zabbix22-server/Makefile2
-rw-r--r--net-mgmt/zabbix3-server/Makefile2
-rw-r--r--net-mgmt/zabbix32-server/Makefile2
4 files changed, 4 insertions, 8 deletions
diff --git a/net-mgmt/zabbix2-server/Makefile b/net-mgmt/zabbix2-server/Makefile
index f9af9a062460..55f76554a9ef 100644
--- a/net-mgmt/zabbix2-server/Makefile
+++ b/net-mgmt/zabbix2-server/Makefile
@@ -20,11 +20,7 @@ LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp
LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp
-CONFLICTS= ${PKGBASE}-1.[0-8]*
-
-.if ${PKGNAMESUFFIX} != "-agent"
-CONFLICTS+= ${PORTNAME}-1.[0-8]*
-.endif
+CONFLICTS= zabbix[0-9][0-9]${PKGNAMESUFFIX}-[0-9]* zabbix[0-13-9]${PKGNAMESUFFIX}-[0-9]*
ZABBIX_BUILD= ${PKGNAMESUFFIX:S/^-//}
diff --git a/net-mgmt/zabbix22-server/Makefile b/net-mgmt/zabbix22-server/Makefile
index eab07ddd9b63..7eb2049674f9 100644
--- a/net-mgmt/zabbix22-server/Makefile
+++ b/net-mgmt/zabbix22-server/Makefile
@@ -15,7 +15,7 @@ LICENSE= GPLv2
LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp
-CONFLICTS= zabbix2${PKGNAMESUFFIX}-[0-9]* zabbix24${PKGNAMESUFFIX}[0-9]* zabbix3${PKGNAMESUFFIX}-[0-9]*
+CONFLICTS= zabbix[0-13-9][0-13-9]${PKGNAMESUFFIX}-[0-9]* zabbix[0-9]${PKGNAMESUFFIX}-[0-9]*
ZABBIX_BUILD= ${PKGNAMESUFFIX:S/^-//}
diff --git a/net-mgmt/zabbix3-server/Makefile b/net-mgmt/zabbix3-server/Makefile
index 3d601fca05ce..9e0c859c2142 100644
--- a/net-mgmt/zabbix3-server/Makefile
+++ b/net-mgmt/zabbix3-server/Makefile
@@ -14,7 +14,7 @@ COMMENT= Enterprise-class open source distributed monitoring (${PKGNAMESUFFIX:S/
LICENSE= GPLv2
-CONFLICTS= zabbix2${PKGNAMESUFFIX}-[0-9]* zabbix22${PKGNAMESUFFIX}-[0-9]* zabbix24${PKGNAMESUFFIX}-[0-9]* zabbix32${PKGNAMESUFFIX}-[0-9]*
+CONFLICTS= zabbix[0-9][0-9]${PKGNAMESUFFIX}-[0-9]* zabbix[0-24-9]${PKGNAMESUFFIX}-[0-9]*
IGNORE_WITH_MYSQL= 41
diff --git a/net-mgmt/zabbix32-server/Makefile b/net-mgmt/zabbix32-server/Makefile
index d59636563775..2eb67b8a1600 100644
--- a/net-mgmt/zabbix32-server/Makefile
+++ b/net-mgmt/zabbix32-server/Makefile
@@ -14,7 +14,7 @@ COMMENT= Enterprise-class open source distributed monitoring (${PKGNAMESUFFIX:S/
LICENSE= GPLv2
-CONFLICTS= zabbix2${PKGNAMESUFFIX}-[0-9]* zabbix22${PKGNAMESUFFIX}-[0-9]* zabbix24${PKGNAMESUFFIX}-[0-9]* zabbix3${PKGNAMESUFFIX}-[0-9]*
+CONFLICTS= zabbix[0-24-9][0-13-9]${PKGNAMESUFFIX}-[0-9]* zabbix[0-9]${PKGNAMESUFFIX}-[0-9]*
IGNORE_WITH_MYSQL= 41