summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/braa/ChangeLog10
-rw-r--r--net-analyzer/braa/Manifest13
-rw-r--r--net-analyzer/braa/braa-0.8-r1.ebuild30
-rw-r--r--net-analyzer/braa/files/braa-0.8-gentoo.diff37
-rw-r--r--net-analyzer/braa/files/digest-braa-0.8-r11
5 files changed, 80 insertions, 11 deletions
diff --git a/net-analyzer/braa/ChangeLog b/net-analyzer/braa/ChangeLog
index 4ded63051e38..d8151d46bace 100644
--- a/net-analyzer/braa/ChangeLog
+++ b/net-analyzer/braa/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for net-analyzer/braa
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/braa/ChangeLog,v 1.7 2005/04/12 02:32:56 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/braa/ChangeLog,v 1.8 2005/09/09 02:31:27 vanquirius Exp $
+
+*braa-0.8-r1 (09 Sep 2005)
+
+ 09 Sep 2005; Marcelo Goes <vanquirius@gentoo.org>
+ +files/braa-0.8-gentoo.diff, +braa-0.8-r1.ebuild:
+ Add patch to deal with hardcoded CFLAGS, LDFLAGS and cc in the Makefile and
+ change port from u_int16_t to u_int32_t so that comparison in
+ bapp_rangesplit_query() is not always false in queries.c.
12 Apr 2005; Jason Wever <weeve@gentoo.org> braa-0.8.ebuild:
Added ~sparc keyword.
diff --git a/net-analyzer/braa/Manifest b/net-analyzer/braa/Manifest
index 7a58bfc03b53..919f5a5217af 100644
--- a/net-analyzer/braa/Manifest
+++ b/net-analyzer/braa/Manifest
@@ -1,14 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+MD5 cb7fd058088e8ada077c4fae77d34212 braa-0.8-r1.ebuild 635
MD5 6c0b02ebd5da12249bf3053de93782b2 braa-0.8.ebuild 563
MD5 b2b24d30df8e8a75966f54c8ec4d292e ChangeLog 897
MD5 637389da071d8ee0c0292695525bc29f metadata.xml 160
+MD5 3dceca0c74ebee97a9cf56e902c9ccdd files/braa-0.8-gentoo.diff 1015
MD5 ef175c4afbfced9ee759a46a35c6a1db files/digest-braa-0.8 59
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDIMsJV3J2n04EauwRAm+hAJ95T10NALyNkyaiIAiioUZLQK9jSACfdhWB
-5I+Dn2iAM5/wUUtaR/U+uoE=
-=sdau
------END PGP SIGNATURE-----
+MD5 ef175c4afbfced9ee759a46a35c6a1db files/digest-braa-0.8-r1 59
diff --git a/net-analyzer/braa/braa-0.8-r1.ebuild b/net-analyzer/braa/braa-0.8-r1.ebuild
new file mode 100644
index 000000000000..0d96a1f3d466
--- /dev/null
+++ b/net-analyzer/braa/braa-0.8-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/braa/braa-0.8-r1.ebuild,v 1.1 2005/09/09 02:31:27 vanquirius Exp $
+
+inherit toolchain-funcs eutils
+
+DESCRIPTION="Quick and dirty mass SNMP scanner"
+HOMEPAGE="http://s-tech.elsat.net.pl/braa/"
+SRC_URI="${HOMEPAGE}/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~ppc ~sparc"
+IUSE=""
+
+DEPEND="virtual/libc"
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${P}-gentoo.diff
+}
+
+src_compile() {
+ export CC="$(tc-getCC)"
+ emake || die
+}
+
+src_install() {
+ dobin braa
+ dodoc README
+}
diff --git a/net-analyzer/braa/files/braa-0.8-gentoo.diff b/net-analyzer/braa/files/braa-0.8-gentoo.diff
new file mode 100644
index 000000000000..4772cfe016ca
--- /dev/null
+++ b/net-analyzer/braa/files/braa-0.8-gentoo.diff
@@ -0,0 +1,37 @@
+diff --exclude='*~' -Naur braa-0.8.orig/Makefile braa-0.8/Makefile
+--- braa-0.8.orig/Makefile 2005-09-08 23:02:28.000000000 -0300
++++ braa-0.8/Makefile 2005-09-08 23:23:24.000000000 -0300
+@@ -4,8 +4,6 @@
+ ###################################################################
+
+ # Linux, FreeBSD, OpenBSD
+-CFLAGS =
+-LDFLAGS =
+
+ # Solaris / SPARC
+ # CFLAGS = -DSOLARIS_SPARC
+@@ -24,9 +22,9 @@
+ LIBS =
+
+ all: ${OBJECTS}
+- cc $(OBJECTS) -o $(OUT) $(LDFLAGS) $(LIBS)
++ $(CC) $(OBJECTS) -o $(OUT) $(LDFLAGS) $(LIBS)
+ strip $(OUT)
+
+ clean:
+ rm -rf $(OBJECTS) $(OUT)
+-
+\ No newline at end of file
++
+diff --exclude='*~' -Naur braa-0.8.orig/queries.c braa-0.8/queries.c
+--- braa-0.8.orig/queries.c 2005-09-08 23:02:28.000000000 -0300
++++ braa-0.8/queries.c 2005-09-08 23:11:44.000000000 -0300
+@@ -43,7 +43,7 @@
+ * nxqry;
+ struct query_hostrange * hr, * prev;
+ u_int32_t hostrange_start, hostrange_end;
+- u_int16_t port = 161;
++ u_int32_t port = 161;
+ struct in_addr ina;
+
+ assert(string = strdup(string));
diff --git a/net-analyzer/braa/files/digest-braa-0.8-r1 b/net-analyzer/braa/files/digest-braa-0.8-r1
new file mode 100644
index 000000000000..61b97ba3ee1c
--- /dev/null
+++ b/net-analyzer/braa/files/digest-braa-0.8-r1
@@ -0,0 +1 @@
+MD5 2d71d83817404343434c7996ed09f88a braa-0.8.tar.gz 39532