diff options
author | fjoe <fjoe@FreeBSD.org> | 2003-06-03 00:14:30 +0800 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2003-06-03 00:14:30 +0800 |
commit | 38d0ad1d50d12978768856b4d1b7de0efdeb8d36 (patch) | |
tree | 2f65b07d7db1803d15219f074c4570468cbddc77 /net | |
parent | 7411d6faf3052da07231f5852fdeff8ebae6d211 (diff) | |
download | freebsd-ports-gnome-38d0ad1d50d12978768856b4d1b7de0efdeb8d36.tar.gz freebsd-ports-gnome-38d0ad1d50d12978768856b4d1b7de0efdeb8d36.tar.zst freebsd-ports-gnome-38d0ad1d50d12978768856b4d1b7de0efdeb8d36.zip |
New port: braa
Tool for making SNMP queries.
PR: 52824
Submitted by: Kirill Ponomarew
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/braa/Makefile | 44 | ||||
-rw-r--r-- | net/braa/distinfo | 1 | ||||
-rw-r--r-- | net/braa/pkg-descr | 10 | ||||
-rw-r--r-- | net/braa/pkg-plist | 3 |
5 files changed, 59 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 60dded19fa44..7abc0437895b 100644 --- a/net/Makefile +++ b/net/Makefile @@ -46,6 +46,7 @@ SUBDIR += boclient SUBDIR += bounce SUBDIR += bpft + SUBDIR += braa SUBDIR += bsd-airtools SUBDIR += bsdproxy SUBDIR += cap diff --git a/net/braa/Makefile b/net/braa/Makefile new file mode 100644 index 000000000000..a27733f46ecb --- /dev/null +++ b/net/braa/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: braa +# Date created: 31.05.2003 +# Whom: Kirill Ponomarew <ponomarew@oberon.net> +# +# $FreeBSD$ +# + +PORTNAME= braa +PORTVERSION= 0.3 +CATEGORIES= net +MASTER_SITES= http://s-tech.elsat.net.pl/braa/ + +MAINTAINER= ponomarew@oberon.net +COMMENT= Tool for making SNMP queries + +LIB_DEPENDS= netsnmp.5:${PORTSDIR}/net/net-snmp + +USE_REINPLACE= yes + +post-patch: +.for file in Makefile + @${REINPLACE_CMD} -e \ + 's|CFLAGS =|CFLAGS?=${CFLAGS}|g ; \ + s|LDFLAGS =|LDFLAGS?=${LDFLAGS}|g ; \ + s|gcc|${CC}|g ; \ + s|strip $$(OUT)||g' ${WRKSRC}/${file} +.endfor + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \ + ${PREFIX}/bin/ + +post-install: +.for i in ${PORTNAME} + ${STRIP_CMD} ${PREFIX}/bin/${i} +.endfor +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for i in README + ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.mk> diff --git a/net/braa/distinfo b/net/braa/distinfo new file mode 100644 index 000000000000..8627d9f0d09f --- /dev/null +++ b/net/braa/distinfo @@ -0,0 +1 @@ +MD5 (braa-0.3.tar.gz) = ca5ef39f17f90d5bd37bfe03dd07d22c diff --git a/net/braa/pkg-descr b/net/braa/pkg-descr new file mode 100644 index 000000000000..dc5a22ede74b --- /dev/null +++ b/net/braa/pkg-descr @@ -0,0 +1,10 @@ +Braa is a tool for making SNMP queries. It is able to query +hundreds or thousands of hosts simultaneously, while being +completely single-threaded. It does not need any SNMP +libraries, as it is equipped with its own SNMP engine. However, +it's good to have a complete SNMP package including +"snmptranslate" installed somewhere, because for speed reasons, +there is no ASN.1 parser in Braa, and all the SNMP OIDs need to +be specified numerically. + +WWW: http://s-tech.elsat.net.pl/braa/ diff --git a/net/braa/pkg-plist b/net/braa/pkg-plist new file mode 100644 index 000000000000..14d601cf37a1 --- /dev/null +++ b/net/braa/pkg-plist @@ -0,0 +1,3 @@ +bin/braa +%%PORTDOCS%%share/doc/braa/README +@dirrm share/doc/braa |