summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorfenner <fenner@FreeBSD.org>1999-09-08 23:41:06 +0000
committerfenner <fenner@FreeBSD.org>1999-09-08 23:41:06 +0000
commit0a463b0129382f2e3b143505c8f3f5a967c9ee0d (patch)
tree018c1b71d7a17671619c7b0a595558936b2e7306 /net
parent55425369f2b39eb7e8a9883f870f7825384b7765 (diff)
downloadFreeBSD-ports-0a463b0129382f2e3b143505c8f3f5a967c9ee0d.zip
FreeBSD-ports-0a463b0129382f2e3b143505c8f3f5a967c9ee0d.tar.gz
A helper library for p5-SNMP, including walk functions.
Diffstat (limited to 'net')
-rw-r--r--net/p5-SNMP-Util/Makefile27
-rw-r--r--net/p5-SNMP-Util/distinfo1
-rw-r--r--net/p5-SNMP-Util/files/patch-aa24
-rw-r--r--net/p5-SNMP-Util/pkg-comment1
-rw-r--r--net/p5-SNMP-Util/pkg-descr3
-rw-r--r--net/p5-SNMP-Util/pkg-plist4
6 files changed, 60 insertions, 0 deletions
diff --git a/net/p5-SNMP-Util/Makefile b/net/p5-SNMP-Util/Makefile
new file mode 100644
index 0000000..f419852
--- /dev/null
+++ b/net/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/p5-SNMP-Util/distinfo b/net/p5-SNMP-Util/distinfo
new file mode 100644
index 0000000..50212b2
--- /dev/null
+++ b/net/p5-SNMP-Util/distinfo
@@ -0,0 +1 @@
+MD5 (SNMP-Util-1.6.tar.gz) = a7fab959fe6eef8c9044a21f7859b024
diff --git a/net/p5-SNMP-Util/files/patch-aa b/net/p5-SNMP-Util/files/patch-aa
new file mode 100644
index 0000000..1ada2f2
--- /dev/null
+++ b/net/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/p5-SNMP-Util/pkg-comment b/net/p5-SNMP-Util/pkg-comment
new file mode 100644
index 0000000..94b7a93
--- /dev/null
+++ b/net/p5-SNMP-Util/pkg-comment
@@ -0,0 +1 @@
+Perl modules to perform SNMP set,get,walk,next,walk_hash etc
diff --git a/net/p5-SNMP-Util/pkg-descr b/net/p5-SNMP-Util/pkg-descr
new file mode 100644
index 0000000..0e94a34
--- /dev/null
+++ b/net/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/p5-SNMP-Util/pkg-plist b/net/p5-SNMP-Util/pkg-plist
new file mode 100644
index 0000000..2bd9951
--- /dev/null
+++ b/net/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
OpenPOWER on IntegriCloud