diff options
-rw-r--r-- | net-mgmt/braa/Makefile | 44 | ||||
-rw-r--r-- | net-mgmt/braa/distinfo | 1 | ||||
-rw-r--r-- | net-mgmt/braa/pkg-descr | 10 | ||||
-rw-r--r-- | net-mgmt/braa/pkg-plist | 3 | ||||
-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 |
9 files changed, 117 insertions, 0 deletions
diff --git a/net-mgmt/braa/Makefile b/net-mgmt/braa/Makefile new file mode 100644 index 0000000..a27733f --- /dev/null +++ b/net-mgmt/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-mgmt/braa/distinfo b/net-mgmt/braa/distinfo new file mode 100644 index 0000000..8627d9f --- /dev/null +++ b/net-mgmt/braa/distinfo @@ -0,0 +1 @@ +MD5 (braa-0.3.tar.gz) = ca5ef39f17f90d5bd37bfe03dd07d22c diff --git a/net-mgmt/braa/pkg-descr b/net-mgmt/braa/pkg-descr new file mode 100644 index 0000000..dc5a22e --- /dev/null +++ b/net-mgmt/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-mgmt/braa/pkg-plist b/net-mgmt/braa/pkg-plist new file mode 100644 index 0000000..14d601c --- /dev/null +++ b/net-mgmt/braa/pkg-plist @@ -0,0 +1,3 @@ +bin/braa +%%PORTDOCS%%share/doc/braa/README +@dirrm share/doc/braa diff --git a/net/Makefile b/net/Makefile index 60dded1..7abc043 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 0000000..a27733f --- /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 0000000..8627d9f --- /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 0000000..dc5a22e --- /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 0000000..14d601c --- /dev/null +++ b/net/braa/pkg-plist @@ -0,0 +1,3 @@ +bin/braa +%%PORTDOCS%%share/doc/braa/README +@dirrm share/doc/braa |