From d64871cacbb9e8969375d99bb57280306163dca5 Mon Sep 17 00:00:00 2001 From: Bill Fenner Date: Wed, 8 Sep 1999 23:41:06 +0000 Subject: A helper library for p5-SNMP, including walk functions. --- net/p5-SNMP-Util/Makefile | 27 +++++++++++++++++++++++++++ net/p5-SNMP-Util/distinfo | 1 + net/p5-SNMP-Util/files/patch-aa | 24 ++++++++++++++++++++++++ net/p5-SNMP-Util/pkg-comment | 1 + net/p5-SNMP-Util/pkg-descr | 3 +++ net/p5-SNMP-Util/pkg-plist | 4 ++++ 6 files changed, 60 insertions(+) create mode 100644 net/p5-SNMP-Util/Makefile create mode 100644 net/p5-SNMP-Util/distinfo create mode 100644 net/p5-SNMP-Util/files/patch-aa create mode 100644 net/p5-SNMP-Util/pkg-comment create mode 100644 net/p5-SNMP-Util/pkg-descr create mode 100644 net/p5-SNMP-Util/pkg-plist (limited to 'net') diff --git a/net/p5-SNMP-Util/Makefile b/net/p5-SNMP-Util/Makefile new file mode 100644 index 000000000000..f419852773ab --- /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 +# +# $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 diff --git a/net/p5-SNMP-Util/distinfo b/net/p5-SNMP-Util/distinfo new file mode 100644 index 000000000000..50212b275c8d --- /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 000000000000..1ada2f247c76 --- /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 = ); +- +-print "Enter the SNMP community string: "; +-chomp($community = ); +- +-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 000000000000..94b7a9342c00 --- /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 000000000000..0e94a34f7fc0 --- /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 000000000000..2bd9951c387f --- /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 -- cgit v1.2.3