dc1f97b45e
check_snmp calls snmpget without '-c' parameter, which is mandatory with NetSNMP 5.x. Add '-c' to the command line to make it work with both NetSNMP 4.x and 5.x. check_by_ssh dumps core with called without -C, also usage help output does not document -C and -v. check_ssh plugin incorrectly parses the SSH banner. check_ntp does not work with NTP v2. Add -n option to be able to select NTP version. Submitted by: David Douthitt <n9ubh@callsign.net>, Jens Trzaska <jt@barfoos.de> (check_snmp) via maintainer
41 lines
999 B
Makefile
41 lines
999 B
Makefile
# New ports collection makefile for: netsaint-plugins
|
|
# Date created: Wed 12 Jul 2000
|
|
# Whom: will
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= netsaint-plugins
|
|
PORTVERSION= 1.2.9.4
|
|
PORTREVISION= 1
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= netsaintplug
|
|
DISTNAME= ${PORTNAME}-1.2.9-4
|
|
|
|
MAINTAINER= blaz@si.FreeBSD.org
|
|
|
|
USE_SUBMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --sbindir=${PREFIX}/share/netsaint/sbin \
|
|
--libexecdir=${PREFIX}/libexec/netsaint \
|
|
--datadir=${PREFIX}/share/netsaint \
|
|
--sysconfdir=${PREFIX}/etc/netsaint \
|
|
--localstatedir=${PREFIX}/var/netsaint
|
|
CONFIGURE_ENV= LOCALBASE=${LOCALBASE}
|
|
SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \
|
|
MKDIR="${MKDIR}"
|
|
USE_AUTOMAKE= yes
|
|
USE_GMAKE= yes
|
|
|
|
pre-fetch:
|
|
@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure
|
|
|
|
.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
|
|
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
|
|
.endif
|
|
|
|
post-clean:
|
|
@${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc
|
|
|
|
.include <bsd.port.mk>
|