aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-mgmt/nagios-plugins/Makefile11
-rw-r--r--net-mgmt/nagios-plugins/distinfo6
-rw-r--r--net-mgmt/nagios-plugins/pkg-plist3
3 files changed, 15 insertions, 5 deletions
diff --git a/net-mgmt/nagios-plugins/Makefile b/net-mgmt/nagios-plugins/Makefile
index 0d8478384ab4..58eea7515d01 100644
--- a/net-mgmt/nagios-plugins/Makefile
+++ b/net-mgmt/nagios-plugins/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= nagios-plugins
-PORTVERSION= 1.4.8
+PORTVERSION= 1.4.9
PORTEPOCH= 1
CATEGORIES= net-mgmt
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
@@ -49,7 +49,7 @@ CONFIGURE_ARGS= --with-nagios-user=${NAGIOSUSER} \
--with-cgiurl=${NAGIOSCGIURL} \
--sbindir=${PREFIX}/${NAGIOSWWWDIR}/cgi-bin \
--libexecdir=${PREFIX}/libexec/nagios \
- --datadir=${PREFIX}/share/nagios \
+ --datadir=${PREFIX}/share \
--sysconfdir=${PREFIX}/etc/nagios \
--localstatedir=${NAGIOSDIR} \
--prefix=${PREFIX}
@@ -129,6 +129,13 @@ PLIST_SUB+= SUB_LDAP=""
PLIST_SUB+= SUB_LDAP="@comment "
.endif
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
+.else
+PLIST_SUB+= NLS=""
+.endif
+
post-patch:
.for file in check_by_ssh.c check_disk.c check_http.c check_mrtgtraf.c \
check_nagios.c check_pgsql.c check_snmp.c check_ssh.c check_swap.c \
diff --git a/net-mgmt/nagios-plugins/distinfo b/net-mgmt/nagios-plugins/distinfo
index 0e45cc1e6b57..3645a3dbdd10 100644
--- a/net-mgmt/nagios-plugins/distinfo
+++ b/net-mgmt/nagios-plugins/distinfo
@@ -1,3 +1,3 @@
-MD5 (nagios-plugins-1.4.8.tar.gz) = ab16f99f8bd8a9b2897d003d3ba7024e
-SHA256 (nagios-plugins-1.4.8.tar.gz) = ce59972199049e587f2ee078888beb3824a6612d75a8efc9feaafe64d6ee83ef
-SIZE (nagios-plugins-1.4.8.tar.gz) = 1356563
+MD5 (nagios-plugins-1.4.9.tar.gz) = 6e617e95cadeedd92870cdbd2f13726c
+SHA256 (nagios-plugins-1.4.9.tar.gz) = 93cf5dadfb092d7c4d600a713bbef75d37141edb4d18ac3bc3c0d1c09f4b7fe2
+SIZE (nagios-plugins-1.4.9.tar.gz) = 1370263
diff --git a/net-mgmt/nagios-plugins/pkg-plist b/net-mgmt/nagios-plugins/pkg-plist
index cc4a5285c06f..ca60dde6f94c 100644
--- a/net-mgmt/nagios-plugins/pkg-plist
+++ b/net-mgmt/nagios-plugins/pkg-plist
@@ -2,6 +2,7 @@ libexec/nagios/check_apt
libexec/nagios/check_breeze
libexec/nagios/check_by_ssh
libexec/nagios/check_clamd
+libexec/nagios/check_cluster
libexec/nagios/check_dhcp
libexec/nagios/check_dig
libexec/nagios/check_disk
@@ -63,4 +64,6 @@ libexec/nagios/negate
libexec/nagios/urlize
libexec/nagios/utils.pm
libexec/nagios/utils.sh
+%%NLS%%share/locale/fr/LC_MESSAGES/nagios-plugins.mo
+%%NLS%%share/locale/de/LC_MESSAGES/nagios-plugins.mo
@dirrmtry libexec/nagios