summaryrefslogtreecommitdiffstats
path: root/net-mgmt/nagios12/Makefile
diff options
context:
space:
mode:
authormharo <mharo@FreeBSD.org>2001-04-03 22:07:20 +0000
committermharo <mharo@FreeBSD.org>2001-04-03 22:07:20 +0000
commit72ebd45c11c66da2d61045d6130f8c0999b2ba57 (patch)
treef0bae11ba3dda3363352408bef8b6a63fc08ffef /net-mgmt/nagios12/Makefile
parentfdc939f67dccdbf2641b9930310b516af05fe21c (diff)
downloadFreeBSD-ports-72ebd45c11c66da2d61045d6130f8c0999b2ba57.zip
FreeBSD-ports-72ebd45c11c66da2d61045d6130f8c0999b2ba57.tar.gz
- update to netsaint 0.0.7b3
- install configuration files with .dist suffix so that users configuration files are not deleted on package removal - create ${PREFIX}/var/netsaint/rw directory needed for correct operation of CGI script - fix netsaint.log file permission problem - depend on netsaint-plugins port PR: 26328 Submitted by: maintainer
Diffstat (limited to 'net-mgmt/nagios12/Makefile')
-rw-r--r--net-mgmt/nagios12/Makefile19
1 files changed, 12 insertions, 7 deletions
diff --git a/net-mgmt/nagios12/Makefile b/net-mgmt/nagios12/Makefile
index 7e331c5..dc57265 100644
--- a/net-mgmt/nagios12/Makefile
+++ b/net-mgmt/nagios12/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= netsaint
-PORTVERSION= 0.0.7b2
+PORTVERSION= 0.0.7b3
CATEGORIES= net
MASTER_SITES= http://netsaint.sourceforge.net/download/
@@ -14,18 +14,23 @@ MAINTAINER= blaz@amis.net
LIB_DEPENDS= gd.2:${PORTSDIR}/graphics/gd \
gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
-# no run depends due to circular reference
-#RUN_DEPENDS= ${LOCALBASE}/libexec/netsaint/check_netsaint:${PORTSDIR}/net/netsaint-plugins
+RUN_DEPENDS= ${LOCALBASE}/libexec/netsaint/check_netsaint:${PORTSDIR}/net/netsaint-plugins
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -lgd -lgnugetopt"
-CONFIGURE_ARGS= --with-command-user=root \
- --with-command-grp=wheel \
+CONFIGURE_ARGS= --with-command-user=nobody \
+ --with-command-grp=nogroup \
--with-netsaint-user=netsaint \
- --with-netsaint-grp=netsaint
-INSTALL_TARGET= all install config install-config install-daemoninit
+ --with-netsaint-grp=netsaint \
+ --sbindir=${PREFIX}/share/netsaint/sbin \
+ --libexecdir=${PREFIX}/libexec/netsaint \
+ --datadir=${PREFIX}/share/netsaint \
+ --sysconfdir=${PREFIX}/etc/netsaint \
+ --localstatedir=${PREFIX}/var/netsaint
+
+INSTALL_TARGET= all install config install-config install-daemoninit install-commandmode
pre-fetch:
@${SH} ${SCRIPTDIR}/checkps
OpenPOWER on IntegriCloud