Create proper default directory for pidfile

PR:	ports/151230
Submitted by:	Eric F Crist <ecrist@secure-computing.net>
Approved by:	Maintainer timeout
This commit is contained in:
Josh Paetzel 2010-10-28 03:27:42 +00:00
parent a28e710be9
commit 4bc7c8d124
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=263662
2 changed files with 3 additions and 1 deletions

View file

@ -7,7 +7,7 @@
PORTNAME= nrpe
DISTVERSION= 2.12
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= net-mgmt
MASTER_SITES= SF/nagios/${PORTNAME}-2.x/${PORTNAME}-${PORTVERSION}
@ -83,6 +83,7 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/nrpe ${PREFIX}/sbin/nrpe2
${INSTALL_PROGRAM} ${WRKSRC}/src/check_nrpe ${PREFIX}/libexec/nagios/check_nrpe2
${INSTALL_DATA} ${WRKSRC}/sample-config/nrpe.cfg ${PREFIX}/etc/nrpe.cfg-sample
${MKDIR} ${NAGIOSDIR}
post-install:
@${SH} ${PKGINSTALL} ${DISTNAME} POST-INSTALL

View file

@ -1,4 +1,5 @@
etc/nrpe.cfg-sample
libexec/nagios/check_nrpe2
sbin/nrpe2
@unexec rmdir /var/spool/nagios 2>/dev/null || true
@unexec rmdir %%NAGIOSDIR%% 2>/dev/null || true