aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/monitoring-plugins
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2019-03-12 16:11:14 +0000
committerMathieu Arnold <mat@FreeBSD.org>2019-03-12 16:11:14 +0000
commit824242b8cc2f4a2c506f3b9b3d1f17d958e0be90 (patch)
treea8d3957841bd205e8f8902bae6fa40c7d40703b5 /net-mgmt/monitoring-plugins
parent8a8f62383b7dd938c04ef0a63933b2274d0241be (diff)
downloadports-824242b8cc2f4a2c506f3b9b3d1f17d958e0be90.tar.gz
ports-824242b8cc2f4a2c506f3b9b3d1f17d958e0be90.zip
Notes
Diffstat (limited to 'net-mgmt/monitoring-plugins')
-rw-r--r--net-mgmt/monitoring-plugins/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/net-mgmt/monitoring-plugins/Makefile b/net-mgmt/monitoring-plugins/Makefile
index 8316c1bc0e66..fb17b8decd64 100644
--- a/net-mgmt/monitoring-plugins/Makefile
+++ b/net-mgmt/monitoring-plugins/Makefile
@@ -18,9 +18,11 @@ CONFLICTS_INSTALL= nagios-plugins-*
USES= charsetfix gmake perl5 libtool ssl
USE_SUBMAKE= yes
+BIND_VERS=11 12 14
+
OPTIONS_DEFINE= QSTAT FPING NETSNMP RADIUS MYSQL PGSQL LDAP IPV6 NLS DBI EXTRAOPTS SSH_PORTABLE
OPTIONS_SINGLE= DNS
-OPTIONS_SINGLE_DNS= DNS_BASE DNS_BINDTOOLS DNS_BIND911
+OPTIONS_SINGLE_DNS= DNS_BASE DNS_BINDTOOLS ${BIND_VERS:S/^/DNS_BIND9/}
OPTIONS_DEFAULT=EXTRAOPTS DNS_BASE
OPTIONS_SUB= yes
@@ -39,7 +41,9 @@ DNS_DESC= Configuration of check_dig and check_dns (see help)
DNS_BASE_DESC= >= 10 means drill for check_dig and no check_dns
DNS_BINDTOOLS_DESC= Use dig and nslookup from dns/bind-tools
-DNS_BIND911_DESC= Use dig and nslookup from dns/bind911
+.for v in ${BIND_VERS}
+DNS_BIND9${v}_DESC= Use dig and nslookup from dns/bind9${v}
+.endfor
EXTRAOPTS_CONFIGURE_ENABLE= extra-opts
@@ -113,9 +117,11 @@ DBI_CONFIGURE_WITH= dbi
DNS_BINDTOOLS_BUILD_DEPENDS= ${LOCALBASE}/bin/dig:dns/bind-tools
DNS_BINDTOOLS_CONFIGURE_ON= --with-dig-command=${LOCALBASE}/bin/dig \
--with-nslookup-command=${LOCALBASE}/bin/nslookup
-DNS_BIND911_BUILD_DEPENDS= ${LOCALBASE}/bin/dig:dns/bind911
-DNS_BIND911_CONFIGURE_ON= --with-dig-command=${LOCALBASE}/bin/dig \
+.for v in ${BIND_VERS}
+DNS_BIND9${v}_BUILD_DEPENDS= ${LOCALBASE}/bin/dig:dns/bind9${v}
+DNS_BIND9${v}_CONFIGURE_ON= --with-dig-command=${LOCALBASE}/bin/dig \
--with-nslookup-command=${LOCALBASE}/bin/nslookup
+.endfor
SSH_PORTABLE_BUILD_DEPENDS= ${LOCALBASE}/bin/ssh:security/openssh-portable
SSH_PORTABLE_RUN_DEPENDS:= ${SSH_PORTABLE_BUILD_DEPENDS}