summaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/nagios/Makefile8
-rw-r--r--net-mgmt/nagios2/Makefile8
2 files changed, 14 insertions, 2 deletions
diff --git a/net-mgmt/nagios/Makefile b/net-mgmt/nagios/Makefile
index 03f277a5a0f2..51e1ac7b1fad 100644
--- a/net-mgmt/nagios/Makefile
+++ b/net-mgmt/nagios/Makefile
@@ -7,12 +7,13 @@
PORTNAME= nagios
PORTVERSION= 2.0.b4
+PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=nagios
DISTNAME= nagios-2.0b4
-MAINTAINER= blaz@si.FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= Extremely powerful network monitoring system
LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd
@@ -32,6 +33,9 @@ NAGIOSUSER?= nagios
NAGIOSGROUP?= nagios
NAGIOSDIR?= /var/spool/nagios
+NAGIOSHTMURL?= /nagios
+NAGIOSCGIURL?= ${NAGIOSHTMURL}/cgi-bin
+
.include <bsd.port.pre.mk>
CPPFLAGS= -I${LOCALBASE}/include -fPIC
@@ -43,6 +47,8 @@ CONFIGURE_ARGS= --with-command-user=${NAGIOSUSER} \
--with-command-group=www \
--with-nagios-user=${NAGIOSUSER} \
--with-nagios-group=${NAGIOSGROUP} \
+ --with-htmurl=${NAGIOSHTMURL} \
+ --with-cgiurl=${NAGIOSCGIURL} \
--sbindir=${PREFIX}/share/nagios/cgi-bin \
--libexecdir=${PREFIX}/libexec/nagios \
--datadir=${PREFIX}/share/nagios \
diff --git a/net-mgmt/nagios2/Makefile b/net-mgmt/nagios2/Makefile
index 03f277a5a0f2..51e1ac7b1fad 100644
--- a/net-mgmt/nagios2/Makefile
+++ b/net-mgmt/nagios2/Makefile
@@ -7,12 +7,13 @@
PORTNAME= nagios
PORTVERSION= 2.0.b4
+PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=nagios
DISTNAME= nagios-2.0b4
-MAINTAINER= blaz@si.FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= Extremely powerful network monitoring system
LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd
@@ -32,6 +33,9 @@ NAGIOSUSER?= nagios
NAGIOSGROUP?= nagios
NAGIOSDIR?= /var/spool/nagios
+NAGIOSHTMURL?= /nagios
+NAGIOSCGIURL?= ${NAGIOSHTMURL}/cgi-bin
+
.include <bsd.port.pre.mk>
CPPFLAGS= -I${LOCALBASE}/include -fPIC
@@ -43,6 +47,8 @@ CONFIGURE_ARGS= --with-command-user=${NAGIOSUSER} \
--with-command-group=www \
--with-nagios-user=${NAGIOSUSER} \
--with-nagios-group=${NAGIOSGROUP} \
+ --with-htmurl=${NAGIOSHTMURL} \
+ --with-cgiurl=${NAGIOSCGIURL} \
--sbindir=${PREFIX}/share/nagios/cgi-bin \
--libexecdir=${PREFIX}/libexec/nagios \
--datadir=${PREFIX}/share/nagios \