ports/52824: New port: net/braa
Kirill Ponomarew
ponomarew at oberon.net
Sat May 31 19:30:11 UTC 2003
>Number: 52824
>Category: ports
>Synopsis: New port: net/braa
>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: Sat May 31 12:30:09 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Kirill Ponomarew
>Release: FreeBSD 4.8-STABLE i386
>Organization:
Oberon.net
>Environment:
>Description:
New port: net/braa
Braa is a tool for making SNMP queries. It is able to query
hundreds or thousands of hosts simultaneously, while being
completely single-threaded.
>How-To-Repeat:
>Fix:
# 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:
#
# net/braa
# net/braa/Makefile
# net/braa/distinfo
# net/braa/pkg-descr
# net/braa/pkg-plist
#
echo c - net/braa
mkdir -p net/braa > /dev/null 2>&1
echo x - net/braa/Makefile
sed 's/^X//' >net/braa/Makefile << 'END-of-net/braa/Makefile'
X# New ports collection makefile for: braa
X# Date created: 31.05.2003
X# Whom: Kirill Ponomarew <ponomarew at oberon.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME= braa
XPORTVERSION= 0.3
XCATEGORIES= net
XMASTER_SITES= http://s-tech.elsat.net.pl/braa/
X
XMAINTAINER= ponomarew at oberon.net
XCOMMENT= Tool for making SNMP queries
X
XLIB_DEPENDS= netsnmp.5:${PORTSDIR}/net/net-snmp
X
XUSE_REINPLACE= yes
X
Xpost-patch:
X.for file in Makefile
X @${REINPLACE_CMD} -e \
X 's|CFLAGS =|CFLAGS?=${CFLAGS}|g ; \
X s|LDFLAGS =|LDFLAGS?=${LDFLAGS}|g ; \
X s|gcc|${CC}|g ; \
X s|strip $$(OUT)||g' ${WRKSRC}/${file}
X.endfor
X
Xdo-install:
X ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \
X ${PREFIX}/bin/
X
Xpost-install:
X.for i in ${PORTNAME}
X ${STRIP_CMD} ${PREFIX}/bin/${i}
X.endfor
X.if !defined(NOPORTDOCS)
X ${MKDIR} ${DOCSDIR}
X.for i in README
X ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-net/braa/Makefile
echo x - net/braa/distinfo
sed 's/^X//' >net/braa/distinfo << 'END-of-net/braa/distinfo'
XMD5 (braa-0.3.tar.gz) = ca5ef39f17f90d5bd37bfe03dd07d22c
END-of-net/braa/distinfo
echo x - net/braa/pkg-descr
sed 's/^X//' >net/braa/pkg-descr << 'END-of-net/braa/pkg-descr'
XBraa is a tool for making SNMP queries. It is able to query
Xhundreds or thousands of hosts simultaneously, while being
Xcompletely single-threaded. It does not need any SNMP
Xlibraries, as it is equipped with its own SNMP engine. However,
Xit's good to have a complete SNMP package including
X"snmptranslate" installed somewhere, because for speed reasons,
Xthere is no ASN.1 parser in Braa, and all the SNMP OIDs need to
Xbe specified numerically.
X
XWWW: http://s-tech.elsat.net.pl/braa/
END-of-net/braa/pkg-descr
echo x - net/braa/pkg-plist
sed 's/^X//' >net/braa/pkg-plist << 'END-of-net/braa/pkg-plist'
Xbin/braa
X%%PORTDOCS%%share/doc/braa/README
X at dirrm share/doc/braa
END-of-net/braa/pkg-plist
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list