aboutsummaryrefslogtreecommitdiff
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
parentba490fd4b8c7afd4979e6533d26895f6a64bdc72 (diff)
downloadports-67d827c92d2ae4a1b300c637a36713f88486edad.tar.gz
ports-67d827c92d2ae4a1b300c637a36713f88486edad.zip
Notes
-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
-rw-r--r--net/Makefile1
-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
9 files changed, 117 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
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