diff options
Diffstat (limited to 'net-mgmt/nagios4')
-rw-r--r-- | net-mgmt/nagios4/Makefile | 4 | ||||
-rw-r--r-- | net-mgmt/nagios4/pkg-plist | 4 |
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 |