summaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2000-07-06 20:55:29 +0000
committerWill Andrews <will@FreeBSD.org>2000-07-06 20:55:29 +0000
commite25cae493ed3a7df25ba40aa68050b6a0bae2479 (patch)
treed289215e48a0023be0b6ace98042b78d665874ba /net-mgmt
parentImport diff-mode.el, an Emacs major-mode for viewing/editing context diffs. (diff)
Add p5-Net-SNMP, a Perl interface to SNMP.
PR: 19743 Submitted by: Christopher N. Harrell <cnh@ivmg.net>
Notes
Notes: svn path=/head/; revision=30284
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/p5-Net-SNMP/Makefile26
-rw-r--r--net-mgmt/p5-Net-SNMP/distinfo1
-rw-r--r--net-mgmt/p5-Net-SNMP/pkg-comment1
-rw-r--r--net-mgmt/p5-Net-SNMP/pkg-descr8
-rw-r--r--net-mgmt/p5-Net-SNMP/pkg-plist6
-rw-r--r--net-mgmt/p5-Net-SNMP3/Makefile26
-rw-r--r--net-mgmt/p5-Net-SNMP3/distinfo1
-rw-r--r--net-mgmt/p5-Net-SNMP3/pkg-comment1
-rw-r--r--net-mgmt/p5-Net-SNMP3/pkg-descr8
-rw-r--r--net-mgmt/p5-Net-SNMP3/pkg-plist6
10 files changed, 84 insertions, 0 deletions
diff --git a/net-mgmt/p5-Net-SNMP/Makefile b/net-mgmt/p5-Net-SNMP/Makefile
new file mode 100644
index 000000000000..dc4b4b88fe18
--- /dev/null
+++ b/net-mgmt/p5-Net-SNMP/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: p5-Net-SNMP
+# Date created: 30 June 2000
+# Whom: Christopher N. Harrell <cnh@ivmg.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Net-SNMP
+PORTVERSION= 3.50
+CATEGORIES= net perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Net
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= ports@FreeBSD.org
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-3.5
+USE_PERL5= yes
+MAN3= Net::SNMP.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+do-configure:
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \
+ CC="${CC}" CCFLAGS="${CFLAGS}"
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/p5-Net-SNMP/distinfo b/net-mgmt/p5-Net-SNMP/distinfo
new file mode 100644
index 000000000000..94dc59a2b014
--- /dev/null
+++ b/net-mgmt/p5-Net-SNMP/distinfo
@@ -0,0 +1 @@
+MD5 (Net-SNMP-3.50.tar.gz) = 03b57f94c8d2fc2a37326924a5bb29a2
diff --git a/net-mgmt/p5-Net-SNMP/pkg-comment b/net-mgmt/p5-Net-SNMP/pkg-comment
new file mode 100644
index 000000000000..23cc30a9b8ef
--- /dev/null
+++ b/net-mgmt/p5-Net-SNMP/pkg-comment
@@ -0,0 +1 @@
+A perl module for SNMP... Net::SNMP
diff --git a/net-mgmt/p5-Net-SNMP/pkg-descr b/net-mgmt/p5-Net-SNMP/pkg-descr
new file mode 100644
index 000000000000..753a5e759c62
--- /dev/null
+++ b/net-mgmt/p5-Net-SNMP/pkg-descr
@@ -0,0 +1,8 @@
+The module Net::SNMP implements an object oriented
+interface to the Simple Network Management Protocol. Perl
+applications can use the module to retrieve or update
+information on a remote host using the SNMP protocol.
+Net::SNMP is implemented completely in Perl, requires no
+compiling, and uses only standard Perl modules. Both
+SNMPv1 and SNMPv2c (Community-Based SNMPv2) are supported
+by the module.
diff --git a/net-mgmt/p5-Net-SNMP/pkg-plist b/net-mgmt/p5-Net-SNMP/pkg-plist
new file mode 100644
index 000000000000..c50918a689ad
--- /dev/null
+++ b/net-mgmt/p5-Net-SNMP/pkg-plist
@@ -0,0 +1,6 @@
+lib/perl5/site_perl/%%PERL_VER%%/Net/SNMP.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SNMP/.packlist
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SNMP
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Net 2>/dev/null || true
diff --git a/net-mgmt/p5-Net-SNMP3/Makefile b/net-mgmt/p5-Net-SNMP3/Makefile
new file mode 100644
index 000000000000..dc4b4b88fe18
--- /dev/null
+++ b/net-mgmt/p5-Net-SNMP3/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: p5-Net-SNMP
+# Date created: 30 June 2000
+# Whom: Christopher N. Harrell <cnh@ivmg.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Net-SNMP
+PORTVERSION= 3.50
+CATEGORIES= net perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Net
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= ports@FreeBSD.org
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-3.5
+USE_PERL5= yes
+MAN3= Net::SNMP.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+do-configure:
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \
+ CC="${CC}" CCFLAGS="${CFLAGS}"
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/p5-Net-SNMP3/distinfo b/net-mgmt/p5-Net-SNMP3/distinfo
new file mode 100644
index 000000000000..94dc59a2b014
--- /dev/null
+++ b/net-mgmt/p5-Net-SNMP3/distinfo
@@ -0,0 +1 @@
+MD5 (Net-SNMP-3.50.tar.gz) = 03b57f94c8d2fc2a37326924a5bb29a2
diff --git a/net-mgmt/p5-Net-SNMP3/pkg-comment b/net-mgmt/p5-Net-SNMP3/pkg-comment
new file mode 100644
index 000000000000..23cc30a9b8ef
--- /dev/null
+++ b/net-mgmt/p5-Net-SNMP3/pkg-comment
@@ -0,0 +1 @@
+A perl module for SNMP... Net::SNMP
diff --git a/net-mgmt/p5-Net-SNMP3/pkg-descr b/net-mgmt/p5-Net-SNMP3/pkg-descr
new file mode 100644
index 000000000000..753a5e759c62
--- /dev/null
+++ b/net-mgmt/p5-Net-SNMP3/pkg-descr
@@ -0,0 +1,8 @@
+The module Net::SNMP implements an object oriented
+interface to the Simple Network Management Protocol. Perl
+applications can use the module to retrieve or update
+information on a remote host using the SNMP protocol.
+Net::SNMP is implemented completely in Perl, requires no
+compiling, and uses only standard Perl modules. Both
+SNMPv1 and SNMPv2c (Community-Based SNMPv2) are supported
+by the module.
diff --git a/net-mgmt/p5-Net-SNMP3/pkg-plist b/net-mgmt/p5-Net-SNMP3/pkg-plist
new file mode 100644
index 000000000000..c50918a689ad
--- /dev/null
+++ b/net-mgmt/p5-Net-SNMP3/pkg-plist
@@ -0,0 +1,6 @@
+lib/perl5/site_perl/%%PERL_VER%%/Net/SNMP.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SNMP/.packlist
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/SNMP
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Net 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Net 2>/dev/null || true