diff options
author | fenner <fenner@FreeBSD.org> | 1999-09-09 07:41:06 +0800 |
---|---|---|
committer | fenner <fenner@FreeBSD.org> | 1999-09-09 07:41:06 +0800 |
commit | 0a463b0129382f2e3b143505c8f3f5a967c9ee0d (patch) | |
tree | 018c1b71d7a17671619c7b0a595558936b2e7306 | |
parent | 55425369f2b39eb7e8a9883f870f7825384b7765 (diff) | |
download | freebsd-ports-gnome-0a463b0129382f2e3b143505c8f3f5a967c9ee0d.tar.gz freebsd-ports-gnome-0a463b0129382f2e3b143505c8f3f5a967c9ee0d.tar.zst freebsd-ports-gnome-0a463b0129382f2e3b143505c8f3f5a967c9ee0d.zip |
A helper library for p5-SNMP, including walk functions.
-rw-r--r-- | net-mgmt/p5-SNMP-Util/Makefile | 27 | ||||
-rw-r--r-- | net-mgmt/p5-SNMP-Util/distinfo | 1 | ||||
-rw-r--r-- | net-mgmt/p5-SNMP-Util/files/patch-aa | 24 | ||||
-rw-r--r-- | net-mgmt/p5-SNMP-Util/pkg-comment | 1 | ||||
-rw-r--r-- | net-mgmt/p5-SNMP-Util/pkg-descr | 3 | ||||
-rw-r--r-- | net-mgmt/p5-SNMP-Util/pkg-plist | 4 | ||||
-rw-r--r-- | net/p5-SNMP-Util/Makefile | 27 | ||||
-rw-r--r-- | net/p5-SNMP-Util/distinfo | 1 | ||||
-rw-r--r-- | net/p5-SNMP-Util/files/patch-aa | 24 | ||||
-rw-r--r-- | net/p5-SNMP-Util/pkg-comment | 1 | ||||
-rw-r--r-- | net/p5-SNMP-Util/pkg-descr | 3 | ||||
-rw-r--r-- | net/p5-SNMP-Util/pkg-plist | 4 |
12 files changed, 120 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 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 <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 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 = <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 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 |