pkgsrc/net/nagios-plugins/Makefile
bouyer bd9341f349 Update nagios-plugins and nagios-plugin-{ldap,pgsql,mysql,radius,snmp}
to 1.4.13. Approved by tonnerre@

main CHANGES since 1.4.11:
- lots of bug fixes
- Added ./check_nt -v INSTANCES to count number of instances (Alessandro Ren)
- New check_icmp -s option to specify the source IP address
- check_dns now sorts addresses for testing results for more than one
  returned IP (Matthias Urlichs)
- check_disk should now work with large file systems (2TB+) on all archs
  that supports it
- check_ntp_peer now checks for the LI_ALARM flag
- check_procs now accepts --ereg-argument-array for a regular expression
  match to the argument array
- check_dig can now pass arguments to dig by using -A/--dig-arguments
- check_dns now allow to repeat -a to match multiple possibly returned address
  (common with load balancers)
- check_mysql and check_radius now try clearing password in processlist
  just like check_mysql_query
- check_mysql and check_mysql_query now support sockets explicitely
  (-s, --socket)
- negate now has the ability to replace the status text as well
  (-s, --substitute)
- Added performance data to check_ping (Christian Schneemann)
- On non-skipped stderr, check_by_ssh now returns UNKNOWN or worse
  (result from command) instead of always UNKNOWN.
- check_dig now returns CRITICAL instead of WARNING when no answer section
  is found
- check_procs now captures stderr in external command and adds to plugin output
- check_snmp now only prints perfdata for non numeric values (#1867716)
- check_icmp now supports packet size modification
- check_http -e now accepts a comma-delimited list of expected status
  codes (Sven Nierlein)
- check_ntp_peer/check_ntp_time used to show port in --help but ignored
  the argument - now implemented
2009-03-24 19:54:53 +00:00

44 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.17 2009/03/24 19:54:54 bouyer Exp $
#
CATEGORIES= net sysutils
MAINTAINER= tonnerre@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/nagiosplug/
COMMENT= Nagios plugins
.include "../../net/nagios-plugins/Makefile.common"
.include "../../mk/bsd.prefs.mk"
USE_TOOLS+= perl:run
CONFIGURE_ARGS+= --without-pgsql --without-mysql \
--without-smbclient-command --without-snmpget-command \
--without-snmpgetnext-command --without-fping-command
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
# required to enable large file support on Solaris
.if ${OPSYS} == "SunOS"
CPPFLAGS_LFS!= getconf LFS_CFLAGS
MAKE_ENV+= CPPFLAGS_LFS=${CPPFLAGS_LFS:Q}
.endif
LIBS.SunOS+= -lm
.if !exists(/usr/bin/ssh)
DEPENDS+= {ssh{,6}-[0-9]*,openssh-[0-9]*}:../../security/openssh
.endif
.include "../../security/openssl/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"