aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Kolobov <sergei@FreeBSD.org>2003-12-04 13:53:29 +0000
committerSergei Kolobov <sergei@FreeBSD.org>2003-12-04 13:53:29 +0000
commitc831ea620d160c2e79f7e7da2c68ff992f864e1d (patch)
treedabb74cb7695ab0b4f540704ade5403d871cdd2e
parentd47cf988c7b59b27c2e460246a9c6b6ade2e5ffc (diff)
downloadports-c831ea620d160c2e79f7e7da2c68ff992f864e1d.tar.gz
ports-c831ea620d160c2e79f7e7da2c68ff992f864e1d.zip
Notes
-rw-r--r--net-mgmt/nagios/Makefile16
-rw-r--r--net-mgmt/nagios12/Makefile16
-rw-r--r--net-mgmt/nagios2/Makefile16
-rw-r--r--net/nagios/Makefile16
4 files changed, 48 insertions, 16 deletions
diff --git a/net-mgmt/nagios/Makefile b/net-mgmt/nagios/Makefile
index 16d762142ebe..8f95cbd5cf39 100644
--- a/net-mgmt/nagios/Makefile
+++ b/net-mgmt/nagios/Makefile
@@ -7,7 +7,7 @@
PORTNAME= nagios
PORTVERSION= 1.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=nagios
@@ -52,13 +52,21 @@ INCGD= -I${LOCALBASE}/include
LIBGD= -lgd
.endif
-.if defined(WITH_MYSQL)
-LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
-CONFIGURE_ARGS+=--with-mysql-lib=${LOCALBASE}/lib/mysql \
+.if defined(WITH_MYSQL)||defined(WITH_NAGMIN)
+USE_MYSQL= yes
+CONFIGURE_ARGS+= --with-mysql-lib=${LOCALBASE}/lib/mysql \
--with-mysql-inc=${LOCALBASE}/include/mysql \
--with-mysql-xdata
.endif
+.if defined(WITH_NAGMIN)
+RUN_DEPENDS+= nagmin:${PORTSDIR}/sysutils/nagmin
+CONFIGURE_ARGS+= --with-myqsl-comments \
+ --with-mysql-downtime \
+ --with-mysql-retention \
+ --with-mysql-status
+.endif
+
.if defined(NAGIOS_FILE_PERFDATA)
CONFIGURE_ARGS+=--with-file-perfdata
.endif
diff --git a/net-mgmt/nagios12/Makefile b/net-mgmt/nagios12/Makefile
index 16d762142ebe..8f95cbd5cf39 100644
--- a/net-mgmt/nagios12/Makefile
+++ b/net-mgmt/nagios12/Makefile
@@ -7,7 +7,7 @@
PORTNAME= nagios
PORTVERSION= 1.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=nagios
@@ -52,13 +52,21 @@ INCGD= -I${LOCALBASE}/include
LIBGD= -lgd
.endif
-.if defined(WITH_MYSQL)
-LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
-CONFIGURE_ARGS+=--with-mysql-lib=${LOCALBASE}/lib/mysql \
+.if defined(WITH_MYSQL)||defined(WITH_NAGMIN)
+USE_MYSQL= yes
+CONFIGURE_ARGS+= --with-mysql-lib=${LOCALBASE}/lib/mysql \
--with-mysql-inc=${LOCALBASE}/include/mysql \
--with-mysql-xdata
.endif
+.if defined(WITH_NAGMIN)
+RUN_DEPENDS+= nagmin:${PORTSDIR}/sysutils/nagmin
+CONFIGURE_ARGS+= --with-myqsl-comments \
+ --with-mysql-downtime \
+ --with-mysql-retention \
+ --with-mysql-status
+.endif
+
.if defined(NAGIOS_FILE_PERFDATA)
CONFIGURE_ARGS+=--with-file-perfdata
.endif
diff --git a/net-mgmt/nagios2/Makefile b/net-mgmt/nagios2/Makefile
index 16d762142ebe..8f95cbd5cf39 100644
--- a/net-mgmt/nagios2/Makefile
+++ b/net-mgmt/nagios2/Makefile
@@ -7,7 +7,7 @@
PORTNAME= nagios
PORTVERSION= 1.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=nagios
@@ -52,13 +52,21 @@ INCGD= -I${LOCALBASE}/include
LIBGD= -lgd
.endif
-.if defined(WITH_MYSQL)
-LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
-CONFIGURE_ARGS+=--with-mysql-lib=${LOCALBASE}/lib/mysql \
+.if defined(WITH_MYSQL)||defined(WITH_NAGMIN)
+USE_MYSQL= yes
+CONFIGURE_ARGS+= --with-mysql-lib=${LOCALBASE}/lib/mysql \
--with-mysql-inc=${LOCALBASE}/include/mysql \
--with-mysql-xdata
.endif
+.if defined(WITH_NAGMIN)
+RUN_DEPENDS+= nagmin:${PORTSDIR}/sysutils/nagmin
+CONFIGURE_ARGS+= --with-myqsl-comments \
+ --with-mysql-downtime \
+ --with-mysql-retention \
+ --with-mysql-status
+.endif
+
.if defined(NAGIOS_FILE_PERFDATA)
CONFIGURE_ARGS+=--with-file-perfdata
.endif
diff --git a/net/nagios/Makefile b/net/nagios/Makefile
index 16d762142ebe..8f95cbd5cf39 100644
--- a/net/nagios/Makefile
+++ b/net/nagios/Makefile
@@ -7,7 +7,7 @@
PORTNAME= nagios
PORTVERSION= 1.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=nagios
@@ -52,13 +52,21 @@ INCGD= -I${LOCALBASE}/include
LIBGD= -lgd
.endif
-.if defined(WITH_MYSQL)
-LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
-CONFIGURE_ARGS+=--with-mysql-lib=${LOCALBASE}/lib/mysql \
+.if defined(WITH_MYSQL)||defined(WITH_NAGMIN)
+USE_MYSQL= yes
+CONFIGURE_ARGS+= --with-mysql-lib=${LOCALBASE}/lib/mysql \
--with-mysql-inc=${LOCALBASE}/include/mysql \
--with-mysql-xdata
.endif
+.if defined(WITH_NAGMIN)
+RUN_DEPENDS+= nagmin:${PORTSDIR}/sysutils/nagmin
+CONFIGURE_ARGS+= --with-myqsl-comments \
+ --with-mysql-downtime \
+ --with-mysql-retention \
+ --with-mysql-status
+.endif
+
.if defined(NAGIOS_FILE_PERFDATA)
CONFIGURE_ARGS+=--with-file-perfdata
.endif