summaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorBill Fenner <fenner@FreeBSD.org>1999-09-08 23:41:06 +0000
committerBill Fenner <fenner@FreeBSD.org>1999-09-08 23:41:06 +0000
commitd64871cacbb9e8969375d99bb57280306163dca5 (patch)
treec5b186bcc7483fbc2f49745dd9e2b87801faa246 /net-mgmt
parentErr, this program links with qt, not qt2.. duh (diff)
A helper library for p5-SNMP, including walk functions.
Notes
Notes: svn path=/head/; revision=21443
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/p5-SNMP-Util/Makefile27
-rw-r--r--net-mgmt/p5-SNMP-Util/distinfo1
-rw-r--r--net-mgmt/p5-SNMP-Util/files/patch-aa24
-rw-r--r--net-mgmt/p5-SNMP-Util/pkg-comment1
-rw-r--r--net-mgmt/p5-SNMP-Util/pkg-descr3
-rw-r--r--net-mgmt/p5-SNMP-Util/pkg-plist4
6 files changed, 60 insertions, 0 deletions
diff --git a/net-mgmt/p5-SNMP-Util/Makefile b/net-mgmt/p5-SNMP-Util/Makefile
new file mode 100644
index 000000000000..f419852773ab
--- /dev/null
+++ b/net-mgmt/p5-SNMP-Util/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: p5-SNMP-Util
+# Version required: 1.6
+# Date created: September 7 1999
+# Whom: Bill Fenner <fenner@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+DISTNAME= SNMP-Util-1.6
+PKGNAME= p5-SNMP-Util-1.6
+CATEGORIES= net perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= SNMP
+
+MAINTAINER= fenner@FreeBSD.org
+
+RUN_DEPENDS= ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/SNMP.pm:${PORTSDIR}/net/p5-SNMP
+
+USE_PERL5= YES
+
+MAN3= SNMP::Util.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+do-configure:
+ @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/p5-SNMP-Util/distinfo b/net-mgmt/p5-SNMP-Util/distinfo
new file mode 100644
index 000000000000..50212b275c8d
--- /dev/null
+++ b/net-mgmt/p5-SNMP-Util/distinfo
@@ -0,0 +1 @@
+MD5 (SNMP-Util-1.6.tar.gz) = a7fab959fe6eef8c9044a21f7859b024
diff --git a/net-mgmt/p5-SNMP-Util/files/patch-aa b/net-mgmt/p5-SNMP-Util/files/patch-aa
new file mode 100644
index 000000000000..1ada2f247c76
--- /dev/null
+++ b/net-mgmt/p5-SNMP-Util/files/patch-aa
@@ -0,0 +1,24 @@
+--- Makefile.PL.orig Tue Sep 7 15:26:45 1999
++++ Makefile.PL Tue Sep 7 15:27:02 1999
+@@ -12,21 +12,6 @@
+ print "ok\n";
+ }
+
+-$FILE = new FileHandle;
+-open($FILE,">t/snmp.data");
+-
+-print "\nEnter the IP address of the Device: ";
+-chomp($IP = <stdin>);
+-
+-print "Enter the SNMP community string: ";
+-chomp($community = <stdin>);
+-
+-print $FILE "IP = $IP\n";
+-print $FILE "community = $community\n";
+-
+-close $FILE;
+-
+-
+ # See lib/ExtUtils/MakeMaker.pm for details of how to influence
+ # the contents of the Makefile that is written.
+ WriteMakefile(
diff --git a/net-mgmt/p5-SNMP-Util/pkg-comment b/net-mgmt/p5-SNMP-Util/pkg-comment
new file mode 100644
index 000000000000..94b7a9342c00
--- /dev/null
+++ b/net-mgmt/p5-SNMP-Util/pkg-comment
@@ -0,0 +1 @@
+Perl modules to perform SNMP set,get,walk,next,walk_hash etc
diff --git a/net-mgmt/p5-SNMP-Util/pkg-descr b/net-mgmt/p5-SNMP-Util/pkg-descr
new file mode 100644
index 000000000000..0e94a34f7fc0
--- /dev/null
+++ b/net-mgmt/p5-SNMP-Util/pkg-descr
@@ -0,0 +1,3 @@
+This Perl library is a set of utilities for configuring and monitoring
+SNMP based devices. This library requires the UCD port of SNMP and the
+SNMP.pm module written by Joe Marzot.
diff --git a/net-mgmt/p5-SNMP-Util/pkg-plist b/net-mgmt/p5-SNMP-Util/pkg-plist
new file mode 100644
index 000000000000..2bd9951c387f
--- /dev/null
+++ b/net-mgmt/p5-SNMP-Util/pkg-plist
@@ -0,0 +1,4 @@
+lib/perl5/site_perl/%%PERL_VER%%/SNMP/Util.pm
+lib/perl5/site_perl/%%PERL_VER%%/SNMP/Util_env.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SNMP/Util/.packlist
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SNMP/Util