perl-net-snmp: new package
authorThomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Thu, 12 Jul 2018 21:00:52 +0000 (23:00 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 16 Jul 2018 11:30:37 +0000 (13:30 +0200)
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
DEVELOPERS
package/Config.in
package/perl-net-snmp/Config.in [new file with mode: 0644]
package/perl-net-snmp/perl-net-snmp.hash [new file with mode: 0644]
package/perl-net-snmp/perl-net-snmp.mk [new file with mode: 0644]

index 4c6eaffb099589cfe7e844c1f29d609a0e33697f..df88e516dbb34b3c92e56a89dbcd1f25912a1a0d 100644 (file)
@@ -1928,6 +1928,7 @@ F:        package/perl-digest-md5/
 F:     package/perl-mime-base64-urlsafe/
 F:     package/perl-mojolicious-plugin-authentication/
 F:     package/perl-net-ping/
+F:     package/perl-net-snmp/
 F:     package/pigz/
 F:     support/scripts/size-stats
 F:     utils/size-stats-compare
index ace997cdb85baa0ec70109015d9be59d34fe00aa..302a01c0e7eca9b9ad0ebe07f6415295c0f1ce23 100644 (file)
@@ -701,6 +701,7 @@ menu "Perl libraries/modules"
        source "package/perl-net-dns/Config.in"
        source "package/perl-net-http/Config.in"
        source "package/perl-net-ping/Config.in"
+       source "package/perl-net-snmp/Config.in"
        source "package/perl-net-ssleay/Config.in"
        source "package/perl-netaddr-ip/Config.in"
        source "package/perl-path-tiny/Config.in"
diff --git a/package/perl-net-snmp/Config.in b/package/perl-net-snmp/Config.in
new file mode 100644 (file)
index 0000000..e509292
--- /dev/null
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PERL_NET_SNMP
+       bool "perl-net-snmp"
+       help
+         Object oriented interface to SNMP
+
+         https://metacpan.org/release/Net-SNMP
diff --git a/package/perl-net-snmp/perl-net-snmp.hash b/package/perl-net-snmp/perl-net-snmp.hash
new file mode 100644 (file)
index 0000000..0b162e6
--- /dev/null
@@ -0,0 +1,6 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    6137f04f9942d703f66179f890e3d096 Net-SNMP-v6.0.1.tar.gz
+sha256 14c37bc1cbb3f3cdc7d6c13e0f27a859f14cdcfd5ea54a0467a88bc259b0b741 Net-SNMP-v6.0.1.tar.gz
+
+# computed by scancpan
+sha256 a038159be54a2807dc48e2b946514d59fceab6737d5461d93d55297a98e6e24e LICENSE
diff --git a/package/perl-net-snmp/perl-net-snmp.mk b/package/perl-net-snmp/perl-net-snmp.mk
new file mode 100644 (file)
index 0000000..a9daa13
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# perl-net-snmp
+#
+################################################################################
+
+PERL_NET_SNMP_VERSION = v6.0.1
+PERL_NET_SNMP_SOURCE = Net-SNMP-$(PERL_NET_SNMP_VERSION).tar.gz
+PERL_NET_SNMP_SITE = $(BR2_CPAN_MIRROR)/authors/id/D/DT/DTOWN
+PERL_NET_SNMP_DEPENDENCIES = host-perl-module-build
+PERL_NET_SNMP_LICENSE = Artistic or GPL-1.0+
+PERL_NET_SNMP_LICENSE_FILES = LICENSE
+
+$(eval $(perl-package))