From owner-svn-ports-all@FreeBSD.ORG Mon Feb 18 00:20:54 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EABE7B49; Mon, 18 Feb 2013 00:20:54 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id CD25CF7E; Mon, 18 Feb 2013 00:20:54 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r1I0Kswh036534; Mon, 18 Feb 2013 00:20:54 GMT (envelope-from miwi@svn.freebsd.org) Received: (from miwi@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r1I0KrLO036524; Mon, 18 Feb 2013 00:20:53 GMT (envelope-from miwi@svn.freebsd.org) Message-Id: <201302180020.r1I0KrLO036524@svn.freebsd.org> From: Martin Wilke Date: Mon, 18 Feb 2013 00:20:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r312462 - in head/net-mgmt: . p5-FusionInventory-Agent-Task-NetDiscovery p5-FusionInventory-Agent-Task-NetDiscovery/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Feb 2013 00:20:55 -0000 Author: miwi Date: Mon Feb 18 00:20:53 2013 New Revision: 312462 URL: http://svnweb.freebsd.org/changeset/ports/312462 Log: 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 Added: head/net-mgmt/p5-FusionInventory-Agent-Task-NetDiscovery/ head/net-mgmt/p5-FusionInventory-Agent-Task-NetDiscovery/Makefile (contents, props changed) head/net-mgmt/p5-FusionInventory-Agent-Task-NetDiscovery/distinfo (contents, props changed) head/net-mgmt/p5-FusionInventory-Agent-Task-NetDiscovery/files/ head/net-mgmt/p5-FusionInventory-Agent-Task-NetDiscovery/files/patch-lib-FusionInventory-Agent-Task-NetDiscovery.pm (contents, props changed) head/net-mgmt/p5-FusionInventory-Agent-Task-NetDiscovery/pkg-descr (contents, props changed) head/net-mgmt/p5-FusionInventory-Agent-Task-NetDiscovery/pkg-plist (contents, props changed) Modified: head/net-mgmt/Makefile Modified: head/net-mgmt/Makefile ============================================================================== --- head/net-mgmt/Makefile Mon Feb 18 00:19:43 2013 (r312461) +++ head/net-mgmt/Makefile Mon Feb 18 00:20:53 2013 (r312462) @@ -201,6 +201,7 @@ SUBDIR += p5-Cisco-Reconfig SUBDIR += p5-Data-Validate-IP SUBDIR += p5-FusionInventory-Agent + SUBDIR += p5-FusionInventory-Agent-Task-NetDiscovery SUBDIR += p5-FusionInventory-Agent-Task-SNMPQuery SUBDIR += p5-GRNOC-TL1 SUBDIR += p5-MRTG-Parse Added: head/net-mgmt/p5-FusionInventory-Agent-Task-NetDiscovery/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/p5-FusionInventory-Agent-Task-NetDiscovery/Makefile Mon Feb 18 00:20:53 2013 (r312462) @@ -0,0 +1,39 @@ +# Created by: Emil Smolenski +# $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 + +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 Added: head/net-mgmt/p5-FusionInventory-Agent-Task-NetDiscovery/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/p5-FusionInventory-Agent-Task-NetDiscovery/distinfo Mon Feb 18 00:20:53 2013 (r312462) @@ -0,0 +1,2 @@ +SHA256 (FusionInventory-Agent-Task-NetDiscovery-1.5.tar.gz) = ed1c07f41ef1f769d8396c9ba33de6b3dac32e0b7cf4cf35ce436f2642d74985 +SIZE (FusionInventory-Agent-Task-NetDiscovery-1.5.tar.gz) = 66587 Added: head/net-mgmt/p5-FusionInventory-Agent-Task-NetDiscovery/files/patch-lib-FusionInventory-Agent-Task-NetDiscovery.pm ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/p5-FusionInventory-Agent-Task-NetDiscovery/files/patch-lib-FusionInventory-Agent-Task-NetDiscovery.pm Mon Feb 18 00:20:53 2013 (r312462) @@ -0,0 +1,11 @@ +--- lib/FusionInventory/Agent/Task/NetDiscovery.pm 2011-05-05 13:42:10.000000000 +0200 ++++ lib/FusionInventory/Agent/Task/NetDiscovery.pm 2012-02-14 16:04:54.652712095 +0100 +@@ -41,7 +41,7 @@ + + $s .= $_ foreach @_; + +- return unless $s =~ /Nmap version (\S+) /; ++ return unless $s =~ /Nmap version (\d*\.?\d+)/; + + return $1; + } Added: head/net-mgmt/p5-FusionInventory-Agent-Task-NetDiscovery/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/p5-FusionInventory-Agent-Task-NetDiscovery/pkg-descr Mon Feb 18 00:20:53 2013 (r312462) @@ -0,0 +1,13 @@ +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/ Added: head/net-mgmt/p5-FusionInventory-Agent-Task-NetDiscovery/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/p5-FusionInventory-Agent-Task-NetDiscovery/pkg-plist Mon Feb 18 00:20:53 2013 (r312462) @@ -0,0 +1,25 @@ +%%SITE_PERL%%/FusionInventory/Agent/Task/NetDiscovery.pm +%%SITE_PERL%%/FusionInventory/Agent/Task/NetDiscovery/Dico.pm +%%SITE_PERL%%/FusionInventory/Agent/Task/NetDiscovery/Manufacturer/Alcatel.pm +%%SITE_PERL%%/FusionInventory/Agent/Task/NetDiscovery/Manufacturer/Axis.pm +%%SITE_PERL%%/FusionInventory/Agent/Task/NetDiscovery/Manufacturer/Ddwrt.pm +%%SITE_PERL%%/FusionInventory/Agent/Task/NetDiscovery/Manufacturer/Dell.pm +%%SITE_PERL%%/FusionInventory/Agent/Task/NetDiscovery/Manufacturer/Epson.pm +%%SITE_PERL%%/FusionInventory/Agent/Task/NetDiscovery/Manufacturer/HewlettPackard.pm +%%SITE_PERL%%/FusionInventory/Agent/Task/NetDiscovery/Manufacturer/Kyocera.pm +%%SITE_PERL%%/FusionInventory/Agent/Task/NetDiscovery/Manufacturer/Ricoh.pm +%%SITE_PERL%%/FusionInventory/Agent/Task/NetDiscovery/Manufacturer/Samsung.pm +%%SITE_PERL%%/FusionInventory/Agent/Task/NetDiscovery/Manufacturer/Wyse.pm +%%SITE_PERL%%/FusionInventory/Agent/Task/NetDiscovery/Manufacturer/Zebranet.pm +%%SITE_PERL%%/mach/auto/FusionInventory/Agent/Task/NetDiscovery/.packlist +@dirrm %%SITE_PERL%%/mach/auto/FusionInventory/Agent/Task/NetDiscovery +@dirrmtry %%SITE_PERL%%/mach/auto/FusionInventory/Agent/Task +@dirrmtry %%SITE_PERL%%/mach/auto/FusionInventory/Agent +@dirrmtry %%SITE_PERL%%/mach/auto/FusionInventory +@dirrmtry %%SITE_PERL%%/mach/auto +@dirrmtry %%SITE_PERL%%/mach +@dirrm %%SITE_PERL%%/FusionInventory/Agent/Task/NetDiscovery/Manufacturer +@dirrm %%SITE_PERL%%/FusionInventory/Agent/Task/NetDiscovery +@dirrmtry %%SITE_PERL%%/FusionInventory/Agent/Task +@dirrmtry %%SITE_PERL%%/FusionInventory/Agent +@dirrmtry %%SITE_PERL%%/FusionInventory