summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/nagios-plugins/Makefile9
-rw-r--r--net/nagios-plugins/PLIST3
2 files changed, 9 insertions, 3 deletions
diff --git a/net/nagios-plugins/Makefile b/net/nagios-plugins/Makefile
index 4fba6cc09ba..3d9ccf8ced4 100644
--- a/net/nagios-plugins/Makefile
+++ b/net/nagios-plugins/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.15 2008/06/08 14:08:47 tonnerre Exp $
+# $NetBSD: Makefile,v 1.16 2009/01/13 17:11:33 shattered Exp $
#
CATEGORIES= net sysutils
MAINTAINER= tonnerre@NetBSD.org
-PKGREVISION= 1
+PKGREVISION= 2
HOMEPAGE= http://sourceforge.net/projects/nagiosplug/
COMMENT= Nagios plugins
@@ -20,6 +20,11 @@ CONFIGURE_ARGS+= --without-pgsql --without-mysql \
SPECIAL_PERMS+= ${PREFIX}/libexec/nagios/check_icmp ${REAL_ROOT_USER} ${NAGIOS_GROUP} 4550
+PLIST_VARS+= linux
+.if ${OPSYS} == "Linux"
+PLIST.linux= yes
+.endif
+
.if ${OPSYS} == "NetBSD"
CONFIGURE_ARGS+= --with-df-command="/bin/df -Pklt nokernfs,procfs,fdesc"
.endif
diff --git a/net/nagios-plugins/PLIST b/net/nagios-plugins/PLIST
index 2f92f612986..39ef3b4d446 100644
--- a/net/nagios-plugins/PLIST
+++ b/net/nagios-plugins/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2008/05/27 21:22:03 tonnerre Exp $
+@comment $NetBSD: PLIST,v 1.4 2009/01/13 17:11:33 shattered Exp $
libexec/nagios/check_by_ssh
libexec/nagios/check_clamd
libexec/nagios/check_dhcp
@@ -10,6 +10,7 @@ libexec/nagios/check_file_age
libexec/nagios/check_ftp
libexec/nagios/check_http
libexec/nagios/check_icmp
+${PLIST.linux}libexec/nagios/check_ide_smart
libexec/nagios/check_imap
libexec/nagios/check_ircd
libexec/nagios/check_jabber