Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Mar 2012 14:30:54 GMT
From:      Emil Smolenski <am@raisa.eu.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/165713: New port: net-mgmt/p5-FusionInventory-Agent-Task-NetDiscovery Network discovery support for FusionInventory Agent
Message-ID:  <201203051430.q25EUsD9036357@red.freebsd.org>
Resent-Message-ID: <201203051440.q25EeCqB036892@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         165713
>Category:       ports
>Synopsis:       New port: net-mgmt/p5-FusionInventory-Agent-Task-NetDiscovery Network discovery support for FusionInventory Agent
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 05 14:40:12 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Emil Smolenski
>Release:        8.2-STABLE
>Organization:
>Environment:
>Description:
FusionInventory-Agent-Task-NetDiscovery module for FusionInventory-Agent.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-FusionInventory-Agent-Task-NetDiscovery
#	p5-FusionInventory-Agent-Task-NetDiscovery/files
#	p5-FusionInventory-Agent-Task-NetDiscovery/files/patch-lib-FusionInventory-Agent-Task-NetDiscovery.pm
#	p5-FusionInventory-Agent-Task-NetDiscovery/pkg-descr
#	p5-FusionInventory-Agent-Task-NetDiscovery/Makefile
#	p5-FusionInventory-Agent-Task-NetDiscovery/distinfo
#	p5-FusionInventory-Agent-Task-NetDiscovery/pkg-plist
#
echo c - p5-FusionInventory-Agent-Task-NetDiscovery
mkdir -p p5-FusionInventory-Agent-Task-NetDiscovery > /dev/null 2>&1
echo c - p5-FusionInventory-Agent-Task-NetDiscovery/files
mkdir -p p5-FusionInventory-Agent-Task-NetDiscovery/files > /dev/null 2>&1
echo x - p5-FusionInventory-Agent-Task-NetDiscovery/files/patch-lib-FusionInventory-Agent-Task-NetDiscovery.pm
sed 's/^X//' >p5-FusionInventory-Agent-Task-NetDiscovery/files/patch-lib-FusionInventory-Agent-Task-NetDiscovery.pm << 'd0045980ed348b2e0a2cc6998d737029'
X--- lib/FusionInventory/Agent/Task/NetDiscovery.pm	2011-05-05 13:42:10.000000000 +0200
X+++ lib/FusionInventory/Agent/Task/NetDiscovery.pm	2012-02-14 16:04:54.652712095 +0100
X@@ -41,7 +41,7 @@
X 
X     $s .= $_ foreach @_;
X 
X-    return unless $s =~ /Nmap version (\S+) /;
X+    return unless $s =~ /Nmap version (\d*\.?\d+)/;
X 
X     return $1;
X }
d0045980ed348b2e0a2cc6998d737029
echo x - p5-FusionInventory-Agent-Task-NetDiscovery/pkg-descr
sed 's/^X//' >p5-FusionInventory-Agent-Task-NetDiscovery/pkg-descr << '40c3cf549b6ff55ac7f406d6040598cb'
XThis module scans your networks to get informations from devices with SNMP
Xprotocol:
X - networking devices discovery within an IP range
X - network switch, printer and router analyse
X - relation between computer / printer / switch port
X - identify unknown MAC addresses
X - report printer cartridge and ounter status
X - support management of SNMP versions v1, v2, v3
X
XThe plugin depends on FusionInventory for GLPI. OCS Inventory can't use this
Xplugin.
X
XWWW: http://search.cpan.org/dist/FusionInventory-Agent-Task-NetDiscovery/
40c3cf549b6ff55ac7f406d6040598cb
echo x - p5-FusionInventory-Agent-Task-NetDiscovery/Makefile
sed 's/^X//' >p5-FusionInventory-Agent-Task-NetDiscovery/Makefile << 'dbf92d7dde2f3d08277d58ae63cd0749'
X# New ports collection makefile for:	p5-FusionInventory-Agent-Task-NetDiscovery
X# Date created:		2012-02-13
X# Whom:			Emil Smolenski <am@raisa.eu.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	FusionInventory-Agent-Task-NetDiscovery
XPORTVERSION=	1.5
XCATEGORIES=	net-mgmt
XMASTER_SITES=	CPAN
XMASTER_SITE_SUBDIR=	CPAN:FUSINV
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	am@raisa.eu.org
XCOMMENT=	Network discovery support for FusionInventory Agent
X
XLICENSE=	GPLv2
X
XBUILD_DEPENDS=	p5-FusionInventory-Agent>=0:${PORTSDIR}/net-mgmt/p5-FusionInventory-Agent \
X		p5-Net-IP>=0:${PORTSDIR}/net-mgmt/p5-Net-IP \
X		p5-Net-NBName>=0:${PORTSDIR}/net/p5-Net-NBName \
X		p5-Net-SNMP>=0:${PORTSDIR}/net-mgmt/p5-Net-SNMP \
X		p5-Parallel-ForkManager>=0:${PORTSDIR}/devel/p5-Parallel-ForkManager \
X		p5-XML-Simple>=0:${PORTSDIR}/textproc/p5-XML-Simple \
X		p5-XML-TreePP>=0:${PORTSDIR}/textproc/p5-XML-TreePP
XRUN_DEPENDS:=	${BUILD_DEPENDS}
X
XMAN3=		FusionInventory::Agent::Task::NetDiscovery.3
X
XPERL_CONFIGURE=	yes
X
X.include <bsd.port.pre.mk>
X
X.if ${PERL_LEVEL} < 501000
XBUILD_DEPENDS+=	p5-IO-Compress>=0:${PORTSDIR}/archivers/p5-IO-Compress
XRUN_DEPENDS+=	p5-IO-Compress>=0:${PORTSDIR}/archivers/p5-IO-Compress
X.endif
X
X.include <bsd.port.post.mk>
dbf92d7dde2f3d08277d58ae63cd0749
echo x - p5-FusionInventory-Agent-Task-NetDiscovery/distinfo
sed 's/^X//' >p5-FusionInventory-Agent-Task-NetDiscovery/distinfo << '794bfe0f50d17a2bd152760499f74a1a'
XSHA256 (FusionInventory-Agent-Task-NetDiscovery-1.5.tar.gz) = ed1c07f41ef1f769d8396c9ba33de6b3dac32e0b7cf4cf35ce436f2642d74985
XSIZE (FusionInventory-Agent-Task-NetDiscovery-1.5.tar.gz) = 66587
794bfe0f50d17a2bd152760499f74a1a
echo x - p5-FusionInventory-Agent-Task-NetDiscovery/pkg-plist
sed 's/^X//' >p5-FusionInventory-Agent-Task-NetDiscovery/pkg-plist << '01b1640226df795bffa2baf84894b4d5'
X%%SITE_PERL%%/FusionInventory/Agent/Task/NetDiscovery.pm
X%%SITE_PERL%%/FusionInventory/Agent/Task/NetDiscovery/Dico.pm
X%%SITE_PERL%%/FusionInventory/Agent/Task/NetDiscovery/Manufacturer/Alcatel.pm
X%%SITE_PERL%%/FusionInventory/Agent/Task/NetDiscovery/Manufacturer/Axis.pm
X%%SITE_PERL%%/FusionInventory/Agent/Task/NetDiscovery/Manufacturer/Ddwrt.pm
X%%SITE_PERL%%/FusionInventory/Agent/Task/NetDiscovery/Manufacturer/Dell.pm
X%%SITE_PERL%%/FusionInventory/Agent/Task/NetDiscovery/Manufacturer/Epson.pm
X%%SITE_PERL%%/FusionInventory/Agent/Task/NetDiscovery/Manufacturer/HewlettPackard.pm
X%%SITE_PERL%%/FusionInventory/Agent/Task/NetDiscovery/Manufacturer/Kyocera.pm
X%%SITE_PERL%%/FusionInventory/Agent/Task/NetDiscovery/Manufacturer/Ricoh.pm
X%%SITE_PERL%%/FusionInventory/Agent/Task/NetDiscovery/Manufacturer/Samsung.pm
X%%SITE_PERL%%/FusionInventory/Agent/Task/NetDiscovery/Manufacturer/Wyse.pm
X%%SITE_PERL%%/FusionInventory/Agent/Task/NetDiscovery/Manufacturer/Zebranet.pm
X%%SITE_PERL%%/mach/auto/FusionInventory/Agent/Task/NetDiscovery/.packlist
X@dirrm %%SITE_PERL%%/mach/auto/FusionInventory/Agent/Task/NetDiscovery
X@dirrmtry %%SITE_PERL%%/mach/auto/FusionInventory/Agent/Task
X@dirrmtry %%SITE_PERL%%/mach/auto/FusionInventory/Agent
X@dirrmtry %%SITE_PERL%%/mach/auto/FusionInventory
X@dirrmtry %%SITE_PERL%%/mach/auto
X@dirrmtry %%SITE_PERL%%/mach
X@dirrm %%SITE_PERL%%/FusionInventory/Agent/Task/NetDiscovery/Manufacturer
X@dirrm %%SITE_PERL%%/FusionInventory/Agent/Task/NetDiscovery
X@dirrmtry %%SITE_PERL%%/FusionInventory/Agent/Task
X@dirrmtry %%SITE_PERL%%/FusionInventory/Agent
X@dirrmtry %%SITE_PERL%%/FusionInventory
01b1640226df795bffa2baf84894b4d5
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203051430.q25EUsD9036357>