mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- Install documentation (unless NOPORTDOCS is set, of course)
- Fix up pkg-* - take over MAINTAINER PR: 27047 Submitted by: Pete Fritchman <petef@databits.net> (new maintainer)
This commit is contained in:
parent
15fc00e2e1
commit
dcaed3972a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=42201
@ -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>
|
||||
|
@ -1 +1 @@
|
||||
A perl5 module for providing rudimentary access to SNMPv1 agents
|
||||
A perl5 module providing rudimentary access to SNMPv1 and v2 agents
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
@ -1 +1 @@
|
||||
A perl5 module for providing rudimentary access to SNMPv1 agents
|
||||
A perl5 module providing rudimentary access to SNMPv1 and v2 agents
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user