mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
add-ons for netsaint and nagios
Add mysql/pgsql support to net/nagios PR: ports/48102 Submitted by: Krzysztof Stryjek <wtpooh@acn.waw.pl>
This commit is contained in:
parent
cd6a02cead
commit
2137dac725
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=78474
@ -37,6 +37,21 @@ CONFIGURE_ARGS= --with-command-user=nagios \
|
||||
--localstatedir=${PREFIX}/var/nagios \
|
||||
--prefix=${PREFIX}
|
||||
|
||||
.if defined(WITH_MYSQL)
|
||||
LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
|
||||
CONFIGURE_ARGS+=--with-mysql-lib=${LOCALBASE}/lib/mysql \
|
||||
--with-mysql-inc=${LOCALBASE}/include/mysql \
|
||||
--with-mysql-xdata
|
||||
.endif
|
||||
|
||||
.if defined(WITH_POSTGRES)
|
||||
POSTGRESQL_PORT?= databases/postgresql7
|
||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
||||
CONFIGURE_ARGS+=--with-pgsql-lib=${LOCALBASE}/pgsql \
|
||||
--with-pgsql-inc=${LOCALBASE}/pgsql \
|
||||
--with-pgsql-xdata
|
||||
.endif
|
||||
|
||||
INSTALL_TARGET= all install config install-config install-daemoninit install-commandmode
|
||||
|
||||
pre-fetch:
|
||||
|
@ -37,6 +37,21 @@ CONFIGURE_ARGS= --with-command-user=nagios \
|
||||
--localstatedir=${PREFIX}/var/nagios \
|
||||
--prefix=${PREFIX}
|
||||
|
||||
.if defined(WITH_MYSQL)
|
||||
LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
|
||||
CONFIGURE_ARGS+=--with-mysql-lib=${LOCALBASE}/lib/mysql \
|
||||
--with-mysql-inc=${LOCALBASE}/include/mysql \
|
||||
--with-mysql-xdata
|
||||
.endif
|
||||
|
||||
.if defined(WITH_POSTGRES)
|
||||
POSTGRESQL_PORT?= databases/postgresql7
|
||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
||||
CONFIGURE_ARGS+=--with-pgsql-lib=${LOCALBASE}/pgsql \
|
||||
--with-pgsql-inc=${LOCALBASE}/pgsql \
|
||||
--with-pgsql-xdata
|
||||
.endif
|
||||
|
||||
INSTALL_TARGET= all install config install-config install-daemoninit install-commandmode
|
||||
|
||||
pre-fetch:
|
||||
|
@ -37,6 +37,21 @@ CONFIGURE_ARGS= --with-command-user=nagios \
|
||||
--localstatedir=${PREFIX}/var/nagios \
|
||||
--prefix=${PREFIX}
|
||||
|
||||
.if defined(WITH_MYSQL)
|
||||
LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
|
||||
CONFIGURE_ARGS+=--with-mysql-lib=${LOCALBASE}/lib/mysql \
|
||||
--with-mysql-inc=${LOCALBASE}/include/mysql \
|
||||
--with-mysql-xdata
|
||||
.endif
|
||||
|
||||
.if defined(WITH_POSTGRES)
|
||||
POSTGRESQL_PORT?= databases/postgresql7
|
||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
||||
CONFIGURE_ARGS+=--with-pgsql-lib=${LOCALBASE}/pgsql \
|
||||
--with-pgsql-inc=${LOCALBASE}/pgsql \
|
||||
--with-pgsql-xdata
|
||||
.endif
|
||||
|
||||
INSTALL_TARGET= all install config install-config install-daemoninit install-commandmode
|
||||
|
||||
pre-fetch:
|
||||
|
@ -37,6 +37,21 @@ CONFIGURE_ARGS= --with-command-user=nagios \
|
||||
--localstatedir=${PREFIX}/var/nagios \
|
||||
--prefix=${PREFIX}
|
||||
|
||||
.if defined(WITH_MYSQL)
|
||||
LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
|
||||
CONFIGURE_ARGS+=--with-mysql-lib=${LOCALBASE}/lib/mysql \
|
||||
--with-mysql-inc=${LOCALBASE}/include/mysql \
|
||||
--with-mysql-xdata
|
||||
.endif
|
||||
|
||||
.if defined(WITH_POSTGRES)
|
||||
POSTGRESQL_PORT?= databases/postgresql7
|
||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
||||
CONFIGURE_ARGS+=--with-pgsql-lib=${LOCALBASE}/pgsql \
|
||||
--with-pgsql-inc=${LOCALBASE}/pgsql \
|
||||
--with-pgsql-xdata
|
||||
.endif
|
||||
|
||||
INSTALL_TARGET= all install config install-config install-daemoninit install-commandmode
|
||||
|
||||
pre-fetch:
|
||||
|
Loading…
Reference in New Issue
Block a user