summaryrefslogtreecommitdiff
path: root/net/p5-SNMP_Session
diff options
context:
space:
mode:
authorjtb <jtb>2001-02-27 21:09:53 +0000
committerjtb <jtb>2001-02-27 21:09:53 +0000
commitbf4a70092ba847649c99b8ac567b55485b81b303 (patch)
tree03f087631021b6aa28e0fa6df7fed9233fb857d1 /net/p5-SNMP_Session
parent03253885d616f8c8f046a8ee44e3a22aed128ab8 (diff)
downloadpkgsrc-bf4a70092ba847649c99b8ac567b55485b81b303.tar.gz
Initial import of p5-SNMP_Session:
perl5 module providing rudimentary access to remote SNMP agents Package provided by Jeff Rizzo (riz@boogers.sf.ca.us) in PR 9089. Updated to latest version and modified slightly by me.
Diffstat (limited to 'net/p5-SNMP_Session')
-rw-r--r--net/p5-SNMP_Session/Makefile21
-rw-r--r--net/p5-SNMP_Session/files/md53
-rw-r--r--net/p5-SNMP_Session/pkg/DESCR12
-rw-r--r--net/p5-SNMP_Session/pkg/PLIST2
4 files changed, 38 insertions, 0 deletions
diff --git a/net/p5-SNMP_Session/Makefile b/net/p5-SNMP_Session/Makefile
new file mode 100644
index 00000000000..0f8a60a4e11
--- /dev/null
+++ b/net/p5-SNMP_Session/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/02/27 21:09:53 jtb Exp $
+
+DISTNAME= SNMP_Session-0.83
+PKGNAME= p5-SNMP_Session-0.83
+CATEGORIES= net perl5
+MASTER_SITES= ftp://ftp.switch.ch/software/sources/network/snmp/perl/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.switch.ch/misc/leinen/snmp/perl/
+COMMENT= perl5 module providing rudimentary access to remote SNMP agents
+
+USE_PERL5= # defined
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/SNMP_Session/.packlist
+
+do-configure:
+ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl Makefile.PL
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/README ${PERL5_SITELIB}/README.SNMP_Session
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/p5-SNMP_Session/files/md5 b/net/p5-SNMP_Session/files/md5
new file mode 100644
index 00000000000..2235821aa07
--- /dev/null
+++ b/net/p5-SNMP_Session/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2001/02/27 21:09:53 jtb Exp $
+
+MD5 (SNMP_Session-0.83.tar.gz) = d18ce3007d6b4f1cfd523c122c0653c9
diff --git a/net/p5-SNMP_Session/pkg/DESCR b/net/p5-SNMP_Session/pkg/DESCR
new file mode 100644
index 00000000000..68e16cd8d8a
--- /dev/null
+++ b/net/p5-SNMP_Session/pkg/DESCR
@@ -0,0 +1,12 @@
+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: <URL:http://www.ee.ethz.ch/~oetiker/webtools/mrtg/mrtg.html>
diff --git a/net/p5-SNMP_Session/pkg/PLIST b/net/p5-SNMP_Session/pkg/PLIST
new file mode 100644
index 00000000000..9a6442736bf
--- /dev/null
+++ b/net/p5-SNMP_Session/pkg/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/02/27 21:09:53 jtb Exp $
+${PERL5_SITELIB}/README.SNMP_Session