aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/nrpe2
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/nrpe2')
-rw-r--r--net-mgmt/nrpe2/Makefile3
-rw-r--r--net-mgmt/nrpe2/pkg-plist1
2 files changed, 3 insertions, 1 deletions
diff --git a/net-mgmt/nrpe2/Makefile b/net-mgmt/nrpe2/Makefile
index bdb980de2659..7b00f01c1f0e 100644
--- a/net-mgmt/nrpe2/Makefile
+++ b/net-mgmt/nrpe2/Makefile
@@ -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
diff --git a/net-mgmt/nrpe2/pkg-plist b/net-mgmt/nrpe2/pkg-plist
index cd9fa760324b..797a99c527ab 100644
--- a/net-mgmt/nrpe2/pkg-plist
+++ b/net-mgmt/nrpe2/pkg-plist
@@ -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