aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nagios-openldap-plugins
diff options
context:
space:
mode:
authorRyan Steinmetz <zi@FreeBSD.org>2014-03-13 16:14:48 +0000
committerRyan Steinmetz <zi@FreeBSD.org>2014-03-13 16:14:48 +0000
commit30516996da6b2d56f43fb4d08090134897211051 (patch)
tree96dbb2d56061dc48bfe0fa8c486aef72887ed243 /net-mgmt/nagios-openldap-plugins
parent62ef31db615ddc3281afd0dddf1fde3202266e54 (diff)
downloadports-30516996da6b2d56f43fb4d08090134897211051.tar.gz
ports-30516996da6b2d56f43fb4d08090134897211051.zip
Notes
Diffstat (limited to 'net-mgmt/nagios-openldap-plugins')
-rw-r--r--net-mgmt/nagios-openldap-plugins/Makefile16
-rw-r--r--net-mgmt/nagios-openldap-plugins/distinfo4
2 files changed, 8 insertions, 12 deletions
diff --git a/net-mgmt/nagios-openldap-plugins/Makefile b/net-mgmt/nagios-openldap-plugins/Makefile
index 7a04dbe57202..a91422faf015 100644
--- a/net-mgmt/nagios-openldap-plugins/Makefile
+++ b/net-mgmt/nagios-openldap-plugins/Makefile
@@ -2,9 +2,9 @@
# $FreeBSD$
PORTNAME= openldap-plugins
-PORTVERSION= 0.3
+PORTVERSION= 0.5
CATEGORIES= net-mgmt
-MASTER_SITES= http://tools.ltb-project.org/attachments/download/152/ \
+MASTER_SITES= http://tools.ltb-project.org/attachments/download/629/ \
http://mirrors.rit.edu/zi/
PKGNAMEPREFIX= nagios-
DISTNAME= ltb-project-nagios-plugins-${PORTVERSION}
@@ -24,8 +24,10 @@ NO_BUILD= yes
USES= perl5
USE_PERL5= run
-PLIST_FILES= libexec/nagios/check_ldap_dn.pl \
+PLIST_FILES= libexec/nagios/check_berkeleydb_locks.pl \
+ libexec/nagios/check_ldap_dn.pl \
libexec/nagios/check_ldap_query.pl \
+ libexec/nagios/check_ldap_monitor.pl \
libexec/nagios/check_ldap_slurpd_status.pl \
libexec/nagios/check_ldap_syncrepl_status.pl \
libexec/nagios/check_ldap_time.pl \
@@ -34,7 +36,6 @@ PLIST_DIRSTRY= libexec/nagios
WRKSRC= ${WRKDIR}/${DISTNAME}
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|/etc/init.d/|${LOCALBASE}/etc/rc.d/|g' \
-e 's|/var/run/slapd|/var/run/openldap|g' \
@@ -44,11 +45,6 @@ post-patch:
do-install:
@${MKDIR} ${PREFIX}/libexec/nagios
- ${INSTALL_SCRIPT} ${WRKSRC}/check_ldap_dn.pl ${PREFIX}/libexec/nagios/
- ${INSTALL_SCRIPT} ${WRKSRC}/check_ldap_query.pl ${PREFIX}/libexec/nagios/
- ${INSTALL_SCRIPT} ${WRKSRC}/check_ldap_slurpd_status.pl ${PREFIX}/libexec/nagios/
- ${INSTALL_SCRIPT} ${WRKSRC}/check_ldap_syncrepl_status.pl ${PREFIX}/libexec/nagios/
- ${INSTALL_SCRIPT} ${WRKSRC}/check_ldap_time.pl ${PREFIX}/libexec/nagios/
- ${INSTALL_SCRIPT} ${WRKSRC}/restart_slapd.sh ${PREFIX}/libexec/nagios/
+ @(cd ${WRKSRC} && ${COPYTREE_BIN} . ${STAGEDIR}${PREFIX}/libexec/nagios/)
.include <bsd.port.mk>
diff --git a/net-mgmt/nagios-openldap-plugins/distinfo b/net-mgmt/nagios-openldap-plugins/distinfo
index 75a71d293fe5..242fb771db5f 100644
--- a/net-mgmt/nagios-openldap-plugins/distinfo
+++ b/net-mgmt/nagios-openldap-plugins/distinfo
@@ -1,2 +1,2 @@
-SHA256 (ltb-project-nagios-plugins-0.3.tar.gz) = 515745c2793a7352794e2c254ff1d33b1877c410bbffd3d899ca0082ef35e30a
-SIZE (ltb-project-nagios-plugins-0.3.tar.gz) = 13124
+SHA256 (ltb-project-nagios-plugins-0.5.tar.gz) = 310dc8bc99345e88bbcbc67f1bf64a956b2b3ce573832f448271b811f2e396fe
+SIZE (ltb-project-nagios-plugins-0.5.tar.gz) = 16391