diff options
author | Michael Haro <mharo@FreeBSD.org> | 2001-05-03 08:41:58 +0000 |
---|---|---|
committer | Michael Haro <mharo@FreeBSD.org> | 2001-05-03 08:41:58 +0000 |
commit | dcaed3972abfbdf032c3c9457442449b1e010a42 (patch) | |
tree | b2d28a1ca9fdf0877bae4a210b93379ba92f3cef /net-mgmt | |
parent | 15fc00e2e1016294c953204f8b16650f3edadbc1 (diff) | |
download | ports-dcaed3972abfbdf032c3c9457442449b1e010a42.tar.gz ports-dcaed3972abfbdf032c3c9457442449b1e010a42.zip |
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/p5-SNMP_Session/Makefile | 13 | ||||
-rw-r--r-- | net-mgmt/p5-SNMP_Session/pkg-comment | 2 | ||||
-rw-r--r-- | net-mgmt/p5-SNMP_Session/pkg-descr | 13 | ||||
-rw-r--r-- | net-mgmt/p5-SNMP_Session/pkg-plist | 2 |
4 files changed, 20 insertions, 10 deletions
diff --git a/net-mgmt/p5-SNMP_Session/Makefile b/net-mgmt/p5-SNMP_Session/Makefile index 18467d482485..174d316d7896 100644 --- a/net-mgmt/p5-SNMP_Session/Makefile +++ b/net-mgmt/p5-SNMP_Session/Makefile @@ -11,11 +11,18 @@ CATEGORIES= net perl5 MASTER_SITES= ftp://ftp.switch.ch/software/sources/network/snmp/perl/ PKGNAMEPREFIX= p5- -MAINTAINER= ports@FreeBSD.org +MAINTAINER= petef@databits.net PERL_CONFIGURE= yes -pre-install: - ${PERL} -pi -e "s:/usr/local:${PREFIX}:g" ${WRKSRC}/Makefile; +post-configure: + @${PERL} -pi -e "s:/usr/local:${PREFIX}:g" ${WRKSRC}/Makefile; + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${PREFIX}/share/doc/p5-SNMP_Session + ${INSTALL_DATA} ${WRKSRC}/README.SNMP_util \ + ${PREFIX}/share/doc/p5-SNMP_Session +.endif .include <bsd.port.mk> diff --git a/net-mgmt/p5-SNMP_Session/pkg-comment b/net-mgmt/p5-SNMP_Session/pkg-comment index e85f52bac626..382d3f9bcee1 100644 --- a/net-mgmt/p5-SNMP_Session/pkg-comment +++ b/net-mgmt/p5-SNMP_Session/pkg-comment @@ -1 +1 @@ -A perl5 module for providing rudimentary access to SNMPv1 agents +A perl5 module providing rudimentary access to SNMPv1 and v2 agents diff --git a/net-mgmt/p5-SNMP_Session/pkg-descr b/net-mgmt/p5-SNMP_Session/pkg-descr index 6bf0dc052143..3f1b28f1c719 100644 --- a/net-mgmt/p5-SNMP_Session/pkg-descr +++ b/net-mgmt/p5-SNMP_Session/pkg-descr @@ -1,6 +1,6 @@ This archive contains Perl 5 modules SNMP_Session.pm and BER.pm, which, when used together, provide rudimentary access to remote SNMP -(v1) agents. +(v1 and v2) 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 @@ -8,9 +8,10 @@ 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. +The SNMP operations currently supported are "get", "get-next", "get-bulk" +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. +WWW: http://www.switch.ch/misc/leinen/snmp/perl/ + +- Pete +petef@databits.net diff --git a/net-mgmt/p5-SNMP_Session/pkg-plist b/net-mgmt/p5-SNMP_Session/pkg-plist index cbb2f5d1003a..d62f483b28de 100644 --- a/net-mgmt/p5-SNMP_Session/pkg-plist +++ b/net-mgmt/p5-SNMP_Session/pkg-plist @@ -2,4 +2,6 @@ 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 +%%PORTDOCS%%share/doc/p5-SNMP_Session/README.SNMP_util @dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/SNMP_Session +%%PORTDOCS%%@dirrm share/doc/p5-SNMP_Session |