summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>2013-01-14 14:47:38 +0000
committerbouyer <bouyer@pkgsrc.org>2013-01-14 14:47:38 +0000
commit1e055c7bb0a58681e3057f536f7b56525f29ebc3 (patch)
tree06ecaf59d6b523591894a12baa5998eb394dcbf9 /net
parent7e39e3a435cc244bb1edbd0fe38566ff227815bf (diff)
downloadpkgsrc-1e055c7bb0a58681e3057f536f7b56525f29ebc3.tar.gz
Import FusionInventory-Agent-Task-Network 2.2.7
This plugin for the agent provides two tasks that were previously distributed separatly: * the NetDiscovery task allows the agent to scan the network to find remote devices, through nmap, NetBios or SNMP, and to identify them * the NetInventory task allows the agent to extract various informations from a remote device through SNMP protocol
Diffstat (limited to 'net')
-rw-r--r--net/p5-FusionInventory-Agent-Task-Network/DESCR7
-rw-r--r--net/p5-FusionInventory-Agent-Task-Network/Makefile24
-rw-r--r--net/p5-FusionInventory-Agent-Task-Network/PLIST37
-rw-r--r--net/p5-FusionInventory-Agent-Task-Network/distinfo6
-rw-r--r--net/p5-FusionInventory-Agent-Task-Network/patches/patch-Makefile.PL24
5 files changed, 98 insertions, 0 deletions
diff --git a/net/p5-FusionInventory-Agent-Task-Network/DESCR b/net/p5-FusionInventory-Agent-Task-Network/DESCR
new file mode 100644
index 00000000000..6f6a564f565
--- /dev/null
+++ b/net/p5-FusionInventory-Agent-Task-Network/DESCR
@@ -0,0 +1,7 @@
+This plugin for the agent provides two tasks that were previously distributed
+separatly:
+
+* the NetDiscovery task allows the agent to scan the network to find remote
+ devices, through nmap, NetBios or SNMP, and to identify them
+* the NetInventory task allows the agent to extract various informations from
+ a remote device through SNMP protocol
diff --git a/net/p5-FusionInventory-Agent-Task-Network/Makefile b/net/p5-FusionInventory-Agent-Task-Network/Makefile
new file mode 100644
index 00000000000..4c93a3814bd
--- /dev/null
+++ b/net/p5-FusionInventory-Agent-Task-Network/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2013/01/14 14:47:38 bouyer Exp $
+#
+
+DISTNAME= FusionInventory-Agent-Task-Network-1.0.2
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= net perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/G/GR/GROUSSE/}
+
+MAINTAINER= bouyer@NetBSD.org
+HOMEPAGE= http://search.cpan.org/~grousse/FusionInventory-Agent-Task-Network-1.0.2/
+COMMENT= FusionInventory agent network tasks
+LICENSE= gnu-gpl-v2
+
+DEPENDS+= p5-FusionInventory-Agent-[0-9]*:../../net/p5-FusionInventory-Agent
+DEPENDS+= p5-Net-SNMP-[0-9]*:../../net/p5-Net-SNMP
+DEPENDS+= p5-Clone-[0-9]*:../../devel/p5-Clone
+DEPENDS+= p5-Test-Compile-[0-9]*:../../devel/p5-Test-Compile
+
+PERL5_MODULE_TYPE= Module::Install::Bundled
+
+MAKE_PARAMS+= PREFIX=${PREFIX}
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/p5-FusionInventory-Agent-Task-Network/PLIST b/net/p5-FusionInventory-Agent-Task-Network/PLIST
new file mode 100644
index 00000000000..c7672cebc78
--- /dev/null
+++ b/net/p5-FusionInventory-Agent-Task-Network/PLIST
@@ -0,0 +1,37 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2013/01/14 14:47:38 bouyer Exp $
+bin/fusioninventory-netinventory
+bin/fusioninventory-netdiscovery
+man/man1/fusioninventory-netinventory.1
+man/man1/fusioninventory-netdiscovery.1
+man/man3/FusionInventory::Agent::Task::NetDiscovery.3
+man/man3/FusionInventory::Agent::Manufacturer::Nortel.3
+man/man3/FusionInventory::Agent::Manufacturer.3
+man/man3/FusionInventory::Agent::SNMP::Mock.3
+man/man3/FusionInventory::Agent::SNMP.3
+man/man3/FusionInventory::Agent::Manufacturer::Juniper.3
+man/man3/FusionInventory::Agent::Task::NetInventory.3
+man/man3/FusionInventory::Agent::SNMP::Live.3
+man/man3/FusionInventory::Agent::Manufacturer::3Com.3
+man/man3/FusionInventory::Agent::Manufacturer::Cisco.3
+man/man3/FusionInventory::Agent::Task::NetDiscovery::Dictionary.3
+man/man3/FusionInventory::Agent::Threads.3
+man/man3/FusionInventory::Agent::Tools::SNMP.3
+share/fusioninventory/lib/FusionInventory/Agent/Manufacturer/Nortel.pm
+share/fusioninventory/lib/FusionInventory/Agent/Manufacturer/Alcatel.pm
+share/fusioninventory/lib/FusionInventory/Agent/Manufacturer/HewlettPackard.pm
+share/fusioninventory/lib/FusionInventory/Agent/Manufacturer/3Com.pm
+share/fusioninventory/lib/FusionInventory/Agent/Manufacturer/Wyse.pm
+share/fusioninventory/lib/FusionInventory/Agent/Manufacturer/Cisco.pm
+share/fusioninventory/lib/FusionInventory/Agent/Manufacturer/Juniper.pm
+share/fusioninventory/lib/FusionInventory/Agent/Manufacturer/Zebranet.pm
+share/fusioninventory/lib/FusionInventory/Agent/Manufacturer/Kyocera.pm
+share/fusioninventory/lib/FusionInventory/Agent/Manufacturer/Axis.pm
+share/fusioninventory/lib/FusionInventory/Agent/SNMP/Mock.pm
+share/fusioninventory/lib/FusionInventory/Agent/SNMP/Live.pm
+share/fusioninventory/lib/FusionInventory/Agent/Task/NetDiscovery/Dictionary.pm
+share/fusioninventory/lib/FusionInventory/Agent/Task/NetDiscovery.pm
+share/fusioninventory/lib/FusionInventory/Agent/Task/NetInventory.pm
+share/fusioninventory/lib/FusionInventory/Agent/Tools/SNMP.pm
+share/fusioninventory/lib/FusionInventory/Agent/Manufacturer.pm
+share/fusioninventory/lib/FusionInventory/Agent/SNMP.pm
+share/fusioninventory/lib/FusionInventory/Agent/Threads.pm
diff --git a/net/p5-FusionInventory-Agent-Task-Network/distinfo b/net/p5-FusionInventory-Agent-Task-Network/distinfo
new file mode 100644
index 00000000000..8df17140720
--- /dev/null
+++ b/net/p5-FusionInventory-Agent-Task-Network/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2013/01/14 14:47:38 bouyer Exp $
+
+SHA1 (FusionInventory-Agent-Task-Network-1.0.2.tar.gz) = 79bb8473932db319fa40265b976756eefcff53d1
+RMD160 (FusionInventory-Agent-Task-Network-1.0.2.tar.gz) = 2ca68144a58f2a7a5e88b95ec2b6815a5ed8fdf7
+Size (FusionInventory-Agent-Task-Network-1.0.2.tar.gz) = 398046 bytes
+SHA1 (patch-Makefile.PL) = 98c92e20eef237567d8e1e458440e6788c25f9f4
diff --git a/net/p5-FusionInventory-Agent-Task-Network/patches/patch-Makefile.PL b/net/p5-FusionInventory-Agent-Task-Network/patches/patch-Makefile.PL
new file mode 100644
index 00000000000..8550ce2afd4
--- /dev/null
+++ b/net/p5-FusionInventory-Agent-Task-Network/patches/patch-Makefile.PL
@@ -0,0 +1,24 @@
+$NetBSD: patch-Makefile.PL,v 1.1.1.1 2013/01/14 14:47:38 bouyer Exp $
+Fix man pages path
+
+--- Makefile.PL.orig 2013-01-14 13:47:29.000000000 +0100
++++ Makefile.PL 2013-01-14 13:47:45.000000000 +0100
+@@ -83,12 +83,12 @@
+ INSTALLLIB => '$(DATADIR)/lib',
+ INSTALLSITELIB => '$(DATADIR)/lib',
+ INSTALLVENDORLIB => '$(DATADIR)/lib',
+- INSTALLMAN1DIR => '$(PREFIX)/share/man/man1',
+- INSTALLSITEMAN1DIR => '$(PREFIX)/share/man/man1',
+- INSTALLVENDORMAN1DIR => '$(PREFIX)/share/man/man1',
+- INSTALLMAN3DIR => '$(PREFIX)/share/man/man3',
+- INSTALLSITEMAN3DIR => '$(PREFIX)/share/man/man3',
+- INSTALLVENDORMAN3DIR => '$(PREFIX)/share/man/man3',
++ INSTALLMAN1DIR => '$(PREFIX)/man/man1',
++ INSTALLSITEMAN1DIR => '$(PREFIX)/man/man1',
++ INSTALLVENDORMAN1DIR => '$(PREFIX)/man/man1',
++ INSTALLMAN3DIR => '$(PREFIX)/man/man3',
++ INSTALLSITEMAN3DIR => '$(PREFIX)/man/man3',
++ INSTALLVENDORMAN3DIR => '$(PREFIX)/man/man3',
+ DATADIR => '$(PREFIX)/share/fusioninventory',
+ FULLPERLRUN => '$(FULLPERL) -I$(DATADIR)/lib'
+ );