aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nrpe2
diff options
context:
space:
mode:
authorJosh Paetzel <jpaetzel@FreeBSD.org>2010-10-28 03:27:42 +0000
committerJosh Paetzel <jpaetzel@FreeBSD.org>2010-10-28 03:27:42 +0000
commit4bc7c8d1241b31266c3d0ec2fd8e3d9c7eaf5a85 (patch)
tree3640e33bee5082f5ac4125db7347f27eee18f672 /net-mgmt/nrpe2
parenta28e710be90384b968c2d64de401dcaae04105ff (diff)
downloadports-4bc7c8d1241b31266c3d0ec2fd8e3d9c7eaf5a85.tar.gz
ports-4bc7c8d1241b31266c3d0ec2fd8e3d9c7eaf5a85.zip
Notes
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