summaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>1999-06-27 17:41:45 +0000
committerChris Piazza <cpiazza@FreeBSD.org>1999-06-27 17:41:45 +0000
commit2ac304566341695abc2950b64e1ea16f491e735a (patch)
treef5763ebb3a0f2b772f4725288e97f7952a2eba7e /net-mgmt
parentVersion upgrade: 1.19 -> 1.20 (diff)
Import of the SNMP_Session perl module. This module differs
from existing SNMP packages in that it is completely stand- alone. PR: 12231 Submitted by: Stephen J. Roznowski <sjr@home.net>
Notes
Notes: svn path=/head/; revision=19836
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/p5-SNMP_Session/Makefile21
-rw-r--r--net-mgmt/p5-SNMP_Session/distinfo1
-rw-r--r--net-mgmt/p5-SNMP_Session/pkg-comment1
-rw-r--r--net-mgmt/p5-SNMP_Session/pkg-descr16
-rw-r--r--net-mgmt/p5-SNMP_Session/pkg-plist5
5 files changed, 44 insertions, 0 deletions
diff --git a/net-mgmt/p5-SNMP_Session/Makefile b/net-mgmt/p5-SNMP_Session/Makefile
new file mode 100644
index 000000000000..8f20202d174b
--- /dev/null
+++ b/net-mgmt/p5-SNMP_Session/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for: p5-SNMP_Simple
+# Version required: 0.70
+# Date created: 13 June 1999
+# Whom: Stephen J. Roznowski <sjr@home.net>
+#
+# $Id$
+#
+
+DISTNAME= SNMP_Session-0.70
+PKGNAME= p5-SNMP_Session-0.70
+CATEGORIES= net perl5
+MASTER_SITES= ftp://ftp.switch.ch/software/sources/network/snmp/perl/
+
+MAINTAINER= ports@FreeBSD.ORG
+
+USE_PERL5= yes
+
+do-configure:
+ @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/p5-SNMP_Session/distinfo b/net-mgmt/p5-SNMP_Session/distinfo
new file mode 100644
index 000000000000..2f9b91e2a46f
--- /dev/null
+++ b/net-mgmt/p5-SNMP_Session/distinfo
@@ -0,0 +1 @@
+MD5 (SNMP_Session-0.70.tar.gz) = 9a38a84afffa8c03fa3e5f38dcac0186
diff --git a/net-mgmt/p5-SNMP_Session/pkg-comment b/net-mgmt/p5-SNMP_Session/pkg-comment
new file mode 100644
index 000000000000..e85f52bac626
--- /dev/null
+++ b/net-mgmt/p5-SNMP_Session/pkg-comment
@@ -0,0 +1 @@
+A perl5 module for providing rudimentary access to SNMPv1 agents
diff --git a/net-mgmt/p5-SNMP_Session/pkg-descr b/net-mgmt/p5-SNMP_Session/pkg-descr
new file mode 100644
index 000000000000..6bf0dc052143
--- /dev/null
+++ b/net-mgmt/p5-SNMP_Session/pkg-descr
@@ -0,0 +1,16 @@
+This archive contains Perl 5 modules SNMP_Session.pm and BER.pm,
+which, when used together, provide rudimentary access to remote SNMP
+(v1) agents.
+
+This module differs from existing SNMP packages in that it is
+completely stand-alone, i.e. you don't need to have another SNMP
+package such as CMU SNMP. It is also written entirely in Perl, so you
+don't have to compile any C modules. It uses the Perl 5 Socket.pm
+module and should therefore be very portable, even to non-Unix systems.
+
+The SNMP operations currently supported are "get", "get-next", and
+"set", as well as trap generation and reception.
+
+For an excellent example of the type of application this is useful
+for, see Tobias Oetiker's ``mrtg'' (Multi Router Traffic Grapher)
+tool.
diff --git a/net-mgmt/p5-SNMP_Session/pkg-plist b/net-mgmt/p5-SNMP_Session/pkg-plist
new file mode 100644
index 000000000000..cbb2f5d1003a
--- /dev/null
+++ b/net-mgmt/p5-SNMP_Session/pkg-plist
@@ -0,0 +1,5 @@
+lib/perl5/site_perl/%%PERL_VER%%/BER.pm
+lib/perl5/site_perl/%%PERL_VER%%/SNMP_Session.pm
+lib/perl5/site_perl/%%PERL_VER%%/SNMP_util.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SNMP_Session/.packlist
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SNMP_Session