aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nagios4
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-08-21 16:10:23 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-08-21 16:10:23 +0000
commit85a18f316d8d1bceea1e1d3957fec4a53e8021fc (patch)
tree54705e63eb443c6295022b2a6e83084b83611b74 /net-mgmt/nagios4
parent8f40997de1d8b89ee8d84930ac7624c59c9cc59f (diff)
downloadports-85a18f316d8d1bceea1e1d3957fec4a53e8021fc.tar.gz
ports-85a18f316d8d1bceea1e1d3957fec4a53e8021fc.zip
Notes
Diffstat (limited to 'net-mgmt/nagios4')
-rw-r--r--net-mgmt/nagios4/Makefile4
-rw-r--r--net-mgmt/nagios4/pkg-plist4
2 files changed, 6 insertions, 2 deletions
diff --git a/net-mgmt/nagios4/Makefile b/net-mgmt/nagios4/Makefile
index 2749038da89c..88467f8c4c4a 100644
--- a/net-mgmt/nagios4/Makefile
+++ b/net-mgmt/nagios4/Makefile
@@ -3,6 +3,7 @@
PORTNAME= nagios
PORTVERSION= 4.1.1
+PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-4.x/${PORTNAME}-${PORTVERSION}
PKGNAMESUFFIX= 4
@@ -85,6 +86,8 @@ OPTIONS_SUB=
NANOSLEEP_CONFIGURE_ENABLE= nanosleep
+.if !defined(MAKING_PATCHES)
+# make clean patch makepatch MAKING_PATCHES=
post-patch:
${REINPLACE_CMD} -e 's/\<77\([0-7]\)\>/75\1/g; s/\<66\([0-7]\)\>/64\1/; /chmod/d; \
/\.cfg$$/s/$$/-sample/' \
@@ -93,6 +96,7 @@ post-patch:
post-patch-UNHANDLED_HACK-on:
${REINPLACE_CMD} -e 's#;serviceprops=42\&#;serviceprops=10\&#g' -e \
's#;hostprops=42\"#;hostprops=10\"#g' ${WRKSRC}/html/side.php
+.endif
post-install:
@${RMDIR} ${STAGEDIR}${PREFIX}/libexec/nagios
diff --git a/net-mgmt/nagios4/pkg-plist b/net-mgmt/nagios4/pkg-plist
index a12856aefa18..2b443a5dbf0d 100644
--- a/net-mgmt/nagios4/pkg-plist
+++ b/net-mgmt/nagios4/pkg-plist
@@ -1,5 +1,5 @@
-bin/nagios
-bin/nagiostats
+@(,%%NAGIOSGROUP%%,755) bin/nagios
+@(,%%NAGIOSGROUP%%,755) bin/nagiostats
%%ETCDIR%%/cgi.cfg-sample
%%ETCDIR%%/nagios.cfg-sample
%%ETCDIR%%/objects/commands.cfg-sample