summaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-07-06 20:55:29 +0000
committerwill <will@FreeBSD.org>2000-07-06 20:55:29 +0000
commit38e0dadc4f13d97451f0bf70d333566b30c05112 (patch)
tree39612736d4f4054f034a5827883d6befb1535b29 /net-mgmt
parent9a0059db0e52e3aaf1cdf76ee4d2082c4fe061cc (diff)
downloadFreeBSD-ports-38e0dadc4f13d97451f0bf70d333566b30c05112.zip
FreeBSD-ports-38e0dadc4f13d97451f0bf70d333566b30c05112.tar.gz
Add p5-Net-SNMP, a Perl interface to SNMP.
PR: 19743 Submitted by: Christopher N. Harrell <cnh@ivmg.net>
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 0000000..dc4b4b8
--- /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 0000000..94dc59a
--- /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 0000000..23cc30a
--- /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 0000000..753a5e7
--- /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 0000000..c50918a
--- /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 0000000..dc4b4b8
--- /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 0000000..94dc59a
--- /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 0000000..23cc30a
--- /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 0000000..753a5e7
--- /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 0000000..c50918a
--- /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
OpenPOWER on IntegriCloud