summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2011-04-19 20:51:43 +0000
committerJeroen Roovers <jer@gentoo.org>2011-04-19 20:51:43 +0000
commit72d4cb5f1fd19f9e0b0f8f6fa9e4454daa1cca6c (patch)
treec77eed7bdf8b0f9d88bf02118c53439594e7d39a /net-analyzer
parentVersion bump. Optional switching of some features produces bogus make files. ... (diff)
downloadgentoo-2-72d4cb5f1fd19f9e0b0f8f6fa9e4454daa1cca6c.tar.gz
gentoo-2-72d4cb5f1fd19f9e0b0f8f6fa9e4454daa1cca6c.tar.bz2
gentoo-2-72d4cb5f1fd19f9e0b0f8f6fa9e4454daa1cca6c.zip
Version bump thanks to euscan. Fix version in executable.
(Portage version: 2.2.0_alpha30/cvs/Linux i686)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/braa/ChangeLog10
-rw-r--r--net-analyzer/braa/braa-0.82.ebuild26
-rw-r--r--net-analyzer/braa/files/braa-0.8-gentoo.diff2
3 files changed, 35 insertions, 3 deletions
diff --git a/net-analyzer/braa/ChangeLog b/net-analyzer/braa/ChangeLog
index d21fdf3a2496..d7e64b298387 100644
--- a/net-analyzer/braa/ChangeLog
+++ b/net-analyzer/braa/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/braa
-# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/braa/ChangeLog,v 1.15 2009/01/15 16:56:40 jer Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/braa/ChangeLog,v 1.16 2011/04/19 20:51:43 jer Exp $
+
+*braa-0.82 (19 Apr 2011)
+
+ 19 Apr 2011; Jeroen Roovers <jer@gentoo.org> files/braa-0.8-gentoo.diff,
+ +braa-0.82.ebuild:
+ Version bump thanks to euscan. Fix version in executable.
15 Jan 2009; Jeroen Roovers <jer@gentoo.org> files/braa-0.8-gentoo.diff:
Fix patch to include directory.
diff --git a/net-analyzer/braa/braa-0.82.ebuild b/net-analyzer/braa/braa-0.82.ebuild
new file mode 100644
index 000000000000..26fa225ae252
--- /dev/null
+++ b/net-analyzer/braa/braa-0.82.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/braa/braa-0.82.ebuild,v 1.1 2011/04/19 20:51:43 jer Exp $
+
+EAPI="3"
+
+inherit toolchain-funcs eutils
+
+DESCRIPTION="Quick and dirty mass SNMP scanner"
+HOMEPAGE="http://s-tech.elsat.net.pl/braa/"
+SRC_URI="http://s-tech.elsat.net.pl/braa/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.8-gentoo.diff
+ sed -i braa.c -e 's|0.81|0.82|g' || die
+ tc-export CC
+}
+
+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
index 526dc321b5d4..ba1db6af321a 100644
--- a/net-analyzer/braa/files/braa-0.8-gentoo.diff
+++ b/net-analyzer/braa/files/braa-0.8-gentoo.diff
@@ -15,7 +15,7 @@
all: ${OBJECTS}
- cc $(OBJECTS) -o $(OUT) $(LDFLAGS) $(LIBS)
- strip $(OUT)
-+ $(CC) $(OBJECTS) -o $(OUT) $(LDFLAGS) $(LIBS)
++ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJECTS) -o $(OUT) $(LIBS)
clean:
rm -rf $(OBJECTS) $(OUT)