mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
- Add WITH_NAGMIN knob
- Utilize USE_MYSQL instead of explicit dependency - Bump PORTREVISION PR: 58950 Submitted by: Jim Shewmaker <jim@bluenotch.com> Approved by: maintainer
This commit is contained in:
parent
d47cf988c7
commit
c831ea620d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=94991
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user