aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/braa
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/braa')
-rw-r--r--net-mgmt/braa/Makefile44
-rw-r--r--net-mgmt/braa/distinfo1
-rw-r--r--net-mgmt/braa/pkg-descr10
-rw-r--r--net-mgmt/braa/pkg-plist3
4 files changed, 58 insertions, 0 deletions
diff --git a/net-mgmt/braa/Makefile b/net-mgmt/braa/Makefile
new file mode 100644
index 000000000000..a27733f46ecb
--- /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 000000000000..8627d9f0d09f
--- /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 000000000000..dc5a22ede74b
--- /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 000000000000..14d601cf37a1
--- /dev/null
+++ b/net-mgmt/braa/pkg-plist
@@ -0,0 +1,3 @@
+bin/braa
+%%PORTDOCS%%share/doc/braa/README
+@dirrm share/doc/braa