freebsd-ports/net-mgmt/p5-FusionInventory-Agent-Task-NetDiscovery/Makefile
Martin Wilke a11c70c3dc This module scans your networks to get informations from devices with SNMP
protocol:
 - networking devices discovery within an IP range
 - network switch, printer and router analyse
 - relation between computer / printer / switch port
 - identify unknown MAC addresses
 - report printer cartridge and ounter status
 - support management of SNMP versions v1, v2, v3

The plugin depends on FusionInventory for GLPI. OCS Inventory can't use this
plugin.

WWW: http://search.cpan.org/dist/FusionInventory-Agent-Task-NetDiscovery/

PR:		ports/165713
Submitted by:	Emil Smolenski <am@raisa.eu.org>
2013-02-18 00:20:53 +00:00

39 lines
1.1 KiB
Makefile

# Created by: Emil Smolenski <am@raisa.eu.org>
# $FreeBSD$
PORTNAME= FusionInventory-Agent-Task-NetDiscovery
PORTVERSION= 1.5
CATEGORIES= net-mgmt
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:FUSINV
PKGNAMEPREFIX= p5-
MAINTAINER= am@raisa.eu.org
COMMENT= Network discovery support for FusionInventory Agent
LICENSE= GPLv2
BUILD_DEPENDS= p5-FusionInventory-Agent>=0:${PORTSDIR}/net-mgmt/p5-FusionInventory-Agent \
p5-Net-IP>=0:${PORTSDIR}/net-mgmt/p5-Net-IP \
p5-Net-NBName>=0:${PORTSDIR}/net/p5-Net-NBName \
p5-Net-SNMP>=0:${PORTSDIR}/net-mgmt/p5-Net-SNMP \
p5-Parallel-ForkManager>=0:${PORTSDIR}/devel/p5-Parallel-ForkManager \
p5-XML-Simple>=0:${PORTSDIR}/textproc/p5-XML-Simple \
p5-XML-TreePP>=0:${PORTSDIR}/textproc/p5-XML-TreePP
RUN_DEPENDS:= ${BUILD_DEPENDS}
MAN3= FusionInventory::Agent::Task::NetDiscovery.3
PERL_CONFIGURE= yes
.include <bsd.port.pre.mk>
post-patch:
${RM} ${WRKSRC}/lib/FusionInventory/Agent/Task/NetDiscovery.pm.orig
.if ${PERL_LEVEL} < 501000
BUILD_DEPENDS+= p5-IO-Compress>=0:${PORTSDIR}/archivers/p5-IO-Compress
RUN_DEPENDS+= p5-IO-Compress>=0:${PORTSDIR}/archivers/p5-IO-Compress
.endif
.include <bsd.port.post.mk>