summaryrefslogtreecommitdiff
path: root/net/braa
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2003-06-02 16:14:30 +0000
committerMax Khon <fjoe@FreeBSD.org>2003-06-02 16:14:30 +0000
commit67d827c92d2ae4a1b300c637a36713f88486edad (patch)
treeb58bdf6de14e914223574fe7b5062d0d98315eca /net/braa
parentAdd entry for java/netbeans (restrictive copyright). (diff)
New port: braa
Tool for making SNMP queries. PR: 52824 Submitted by: Kirill Ponomarew
Notes
Notes: svn path=/head/; revision=82024
Diffstat (limited to 'net/braa')
-rw-r--r--net/braa/Makefile44
-rw-r--r--net/braa/distinfo1
-rw-r--r--net/braa/pkg-descr10
-rw-r--r--net/braa/pkg-plist3
4 files changed, 58 insertions, 0 deletions
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