freebsd-ports/net-mgmt/check_snmp_pkgvuln/Makefile
Tim Bishop d0cf5432ab - Add net-mgmt/check_snmp_pkgvuln
check_snmp_pkgvuln is a Nagios plugin that detects hosts that are running
  vulnerable ports based on the database of security vulnerabilities
  provided by portaudit.  The plugin communicates with the host via SNMP
  using the HOST-RESOURCES-MIB::hrSWInstalledName MIB.

  WWW: http://www.cultdeadsheep.org/~clement/

Approved by:	clement (mentor)
2005-12-05 21:34:11 +00:00

38 lines
935 B
Makefile

# New ports collection makefile for: check_snmp_pkgvuln
# Date created: 2 November 2005
# Whom: Jarrod Sayers <jarrod@netleader.com.au>
#
# $FreeBSD$
#
PORTNAME= check_snmp_pkgvuln
PORTVERSION= 0.01
CATEGORIES= net-mgmt
MASTER_SITES= http://www.cultdeadsheep.org/~clement/FreeBSD/nagios/
PKGNAMEPREFIX= nagios-
PKGNAMESUFFIX= -plugin
DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= jarrod@netleader.com.au
COMMENT= Security vulnerability plugin for Nagios
RUN_DEPENDS= snmpwalk:${PORTSDIR}/net-mgmt/net-snmp \
portaudit:${PORTSDIR}/security/portaudit
NAGIOS_PLUGIN_DIR?= libexec/nagios
NO_WRKSUBDIR= yes
USE_REINPLACE= yes
PLIST_SUB= NAGIOS_PLUGIN_DIR=${NAGIOS_PLUGIN_DIR}
post-patch:
${REINPLACE_CMD} -e 's|/usr/local/|${PREFIX}/|' ${WRKSRC}/${PORTNAME}
do-build:
do-install:
@${MKDIR} ${PREFIX}/${NAGIOS_PLUGIN_DIR}
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/${NAGIOS_PLUGIN_DIR}
.include <bsd.port.mk>