ports/57674: [NEW PORT] net/p5-Net-SNMP3: Net::SNMP for pre-5.6 perl
Lars Thegler
lars at thegler.dk
Mon Oct 6 20:10:16 UTC 2003
>Number: 57674
>Category: ports
>Synopsis: [NEW PORT] net/p5-Net-SNMP3: Net::SNMP for pre-5.6 perl
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Oct 06 13:10:14 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Lars Thegler
>Release: FreeBSD 4.9-RC i386
>Organization:
>Environment:
System: FreeBSD lap0134.cc.cybercity.dk 4.9-RC FreeBSD 4.9-RC #1: Mon Oct 6 08:42:13 GMT
>Description:
This is an older version of Net::SNMP, which
works well with Perl < 5.6.
Maybe do a repocopy of net/p5-Net-SNMP first?
Generated with FreeBSD Port Tools 0.26
>How-To-Repeat:
>Fix:
--- p5-Net-SNMP3-3.65.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# p5-Net-SNMP3
# p5-Net-SNMP3/distinfo
# p5-Net-SNMP3/Makefile
# p5-Net-SNMP3/pkg-plist
# p5-Net-SNMP3/pkg-descr
#
echo c - p5-Net-SNMP3
mkdir -p p5-Net-SNMP3 > /dev/null 2>&1
echo x - p5-Net-SNMP3/distinfo
sed 's/^X//' >p5-Net-SNMP3/distinfo << 'END-of-p5-Net-SNMP3/distinfo'
XMD5 (Net-SNMP-3.65.tar.gz) = bbb32dbac9901a09ef67df57db3a7b9f
END-of-p5-Net-SNMP3/distinfo
echo x - p5-Net-SNMP3/Makefile
sed 's/^X//' >p5-Net-SNMP3/Makefile << 'END-of-p5-Net-SNMP3/Makefile'
X# New ports collection makefile for: p5-Net-SNMP3
X# Date created: 2 oct 2003
X# Whom: Lars Thegler <lars at thegler.dk>
X#
X# $FreeBSD$
X#
X
XPORTNAME= Net-SNMP3
XPORTVERSION= 3.65
XCATEGORIES= net perl5
X#MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
X#MASTER_SITE_SUBDIR= Net
XMASTER_SITES= ${MASTER_SITE_LOCAL}
XMASTER_SITE_SUBDIR= krion
XPKGNAMEPREFIX= p5-
XDISTNAME= Net-SNMP-${PORTVERSION}
X
XMAINTAINER= lars at thegler.dk
XCOMMENT= Net::SNMP for pre-5.6 perl
X
XPERL_CONFIGURE= yes
X
XMAN3= Net::SNMP.3
X
X.include <bsd.port.pre.mk>
X
X.if ${PERL_LEVEL} >= 500600
XIGNORE= This port is only for pre-5.6 perl. Install net/p5-Net-SNMP instead.
X.endif
X
X.include <bsd.port.post.mk>
END-of-p5-Net-SNMP3/Makefile
echo x - p5-Net-SNMP3/pkg-plist
sed 's/^X//' >p5-Net-SNMP3/pkg-plist << 'END-of-p5-Net-SNMP3/pkg-plist'
X%%SITE_PERL%%/Net/SNMP.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SNMP/.packlist
X at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SNMP
X at unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net 2>/dev/null || true
X at unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Net 2>/dev/null || true
X at unexec rmdir %D/%%SITE_PERL%%/Net 2>/dev/null || true
END-of-p5-Net-SNMP3/pkg-plist
echo x - p5-Net-SNMP3/pkg-descr
sed 's/^X//' >p5-Net-SNMP3/pkg-descr << 'END-of-p5-Net-SNMP3/pkg-descr'
XThe module Net::SNMP implements an object oriented
Xinterface to the Simple Network Management Protocol. Perl
Xapplications can use the module to retrieve or update
Xinformation on a remote host using the SNMP protocol.
XNet::SNMP is implemented completely in Perl, requires no
Xcompiling, and uses only standard Perl modules. Both
XSNMPv1 and SNMPv2c (Community-Based SNMPv2) are supported
Xby the module.
END-of-p5-Net-SNMP3/pkg-descr
exit
--- p5-Net-SNMP3-3.65.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list