summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/angst')
-rw-r--r--net-analyzer/angst/ChangeLog9
-rw-r--r--net-analyzer/angst/angst-0.4b-r2.ebuild43
2 files changed, 50 insertions, 2 deletions
diff --git a/net-analyzer/angst/ChangeLog b/net-analyzer/angst/ChangeLog
index bcd181515e70..90964b03be1a 100644
--- a/net-analyzer/angst/ChangeLog
+++ b/net-analyzer/angst/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/angst
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/angst/ChangeLog,v 1.9 2007/02/19 12:38:00 jokey Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/angst/ChangeLog,v 1.10 2010/08/28 15:52:56 jer Exp $
+
+*angst-0.4b-r2 (28 Aug 2010)
+
+ 28 Aug 2010; Jeroen Roovers <jer@gentoo.org> +angst-0.4b-r2.ebuild:
+ Respect LDFLAGS (bug #334975). Respect CC.
19 Feb 2007; Markus Ullmann <jokey@gentoo.org> ChangeLog:
Redigest for Manifest2
diff --git a/net-analyzer/angst/angst-0.4b-r2.ebuild b/net-analyzer/angst/angst-0.4b-r2.ebuild
new file mode 100644
index 000000000000..08d52ad3abb4
--- /dev/null
+++ b/net-analyzer/angst/angst-0.4b-r2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/angst/angst-0.4b-r2.ebuild,v 1.1 2010/08/28 15:52:56 jer Exp $
+
+EAPI="2"
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="an active sniffer that provides methods for aggressive sniffing on switched LANs"
+HOMEPAGE="http://angst.sourceforge.net/"
+SRC_URI="http://angst.sourceforge.net/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+IUSE=""
+
+DEPEND="net-libs/libpcap
+ <net-libs/libnet-1.1
+ >=net-libs/libnet-1.0.2a-r3"
+
+src_prepare() {
+cp -av Makefile.linux{,.orig}
+ epatch ${FILESDIR}/${PV}-libnet-1.0.patch
+ sed -i Makefile.linux \
+ -e 's|^CC =|CC ?=|g' \
+ -e '/ -o angst /s|$(OBJS)|$(LDFLAGS) &|g' \
+ || die "sed Makefile.linux"
+}
+
+src_compile() {
+ emake \
+ CFLAGS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}" \
+ CC="$(tc-getCC)" \
+ -f Makefile.linux || die
+}
+
+src_install() {
+ dosbin angst
+ doman angst.8
+ dodoc README LICENSE TODO ChangeLog
+}