aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/nagios2/Makefile
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-04-07 09:16:37 +0800
committeredwin <edwin@FreeBSD.org>2003-04-07 09:16:37 +0800
commit26c9f937dfdab938c3e7624a88c82bdcdc9a7f30 (patch)
tree01f45134b81b18862dca6fe54f47d1acdfe86d42 /net-mgmt/nagios2/Makefile
parent498ea6c3e1c39cc3b70d3f53df127c9d8783ce4a (diff)
downloadfreebsd-ports-gnome-26c9f937dfdab938c3e7624a88c82bdcdc9a7f30.tar.gz
freebsd-ports-gnome-26c9f937dfdab938c3e7624a88c82bdcdc9a7f30.tar.zst
freebsd-ports-gnome-26c9f937dfdab938c3e7624a88c82bdcdc9a7f30.zip
MAINTAINER UPDATE: net/nagios
- move nagios workfile directory from /usr/local/var/nagios to /var/spool/nagios. /usr/local is read-only on some NFS booted systems. - remove scripts/checkps, everybody should have a working /bin/ps by now. - add new switches WITH_MYSQL and WITH_PGSQL which enable support for putting configuration files into a MySQL or PostgreSQL database, based on a patch submitted in PR 48102 by Krzysztof Stryjek <wtp@mud.pl> PR: ports/48988 Submitted by: Blaz Zupan <blaz@si.FreeBSD.org>
Diffstat (limited to 'net-mgmt/nagios2/Makefile')
-rw-r--r--net-mgmt/nagios2/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/net-mgmt/nagios2/Makefile b/net-mgmt/nagios2/Makefile
index a22f55280c09..39430cd5a9c0 100644
--- a/net-mgmt/nagios2/Makefile
+++ b/net-mgmt/nagios2/Makefile
@@ -7,10 +7,10 @@
PORTNAME= nagios
PORTVERSION= 1.0
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=nagios
-DISTNAME= nagios-1.0
MAINTAINER= blaz@si.FreeBSD.org
COMMENT= Extremely powerful network monitoring system
@@ -34,7 +34,7 @@ CONFIGURE_ARGS= --with-command-user=nagios \
--libexecdir=${PREFIX}/libexec/nagios \
--datadir=${PREFIX}/share/nagios \
--sysconfdir=${PREFIX}/etc/nagios \
- --localstatedir=${PREFIX}/var/nagios \
+ --localstatedir=/var/spool/nagios \
--prefix=${PREFIX}
.if defined(WITH_MYSQL)
@@ -45,8 +45,7 @@ CONFIGURE_ARGS+=--with-mysql-lib=${LOCALBASE}/lib/mysql \
.endif
.if defined(WITH_POSTGRES)
-POSTGRESQL_PORT?= databases/postgresql7
-LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
+LIB_DEPENDS+= pq.3:${PORTSDIR}/databases/postgresql7
CONFIGURE_ARGS+=--with-pgsql-lib=${LOCALBASE}/pgsql \
--with-pgsql-inc=${LOCALBASE}/pgsql \
--with-pgsql-xdata
@@ -54,9 +53,6 @@ CONFIGURE_ARGS+=--with-pgsql-lib=${LOCALBASE}/pgsql \
INSTALL_TARGET= all install config install-config install-daemoninit install-commandmode
-pre-fetch:
- @${SH} ${SCRIPTDIR}/checkps
-
pre-install:
@PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL