Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Aug 2015 16:10:24 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r394974 - head/net-mgmt/nagios4
Message-ID:  <201508211610.t7LGAOBI053948@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Fri Aug 21 16:10:23 2015
New Revision: 394974
URL: https://svnweb.freebsd.org/changeset/ports/394974

Log:
  Fixup perms on /usr/local/bin/nagios
  
  Reported by:	Joseph Mingrone on IRC
  Sponsored by:	Absolight

Modified:
  head/net-mgmt/nagios4/Makefile
  head/net-mgmt/nagios4/pkg-plist

Modified: head/net-mgmt/nagios4/Makefile
==============================================================================
--- head/net-mgmt/nagios4/Makefile	Fri Aug 21 16:04:40 2015	(r394973)
+++ head/net-mgmt/nagios4/Makefile	Fri Aug 21 16:10:23 2015	(r394974)
@@ -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

Modified: head/net-mgmt/nagios4/pkg-plist
==============================================================================
--- head/net-mgmt/nagios4/pkg-plist	Fri Aug 21 16:04:40 2015	(r394973)
+++ head/net-mgmt/nagios4/pkg-plist	Fri Aug 21 16:10:23 2015	(r394974)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508211610.t7LGAOBI053948>