diff options
author | Jeroen Roovers <jer@gentoo.org> | 2010-08-28 15:52:56 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2010-08-28 15:52:56 +0000 |
commit | dc83a6e28d84fea7d5ba6652b71e08c5858b2f15 (patch) | |
tree | dc094a367cf29281e6e2c714a7b0a1988219b709 /net-analyzer/angst | |
parent | Automated update of use.local.desc (diff) | |
download | gentoo-2-dc83a6e28d84fea7d5ba6652b71e08c5858b2f15.tar.gz gentoo-2-dc83a6e28d84fea7d5ba6652b71e08c5858b2f15.tar.bz2 gentoo-2-dc83a6e28d84fea7d5ba6652b71e08c5858b2f15.zip |
Respect LDFLAGS (bug #334975). Respect CC.
(Portage version: 2.2_rc69/cvs/Linux i686)
Diffstat (limited to 'net-analyzer/angst')
-rw-r--r-- | net-analyzer/angst/ChangeLog | 9 | ||||
-rw-r--r-- | net-analyzer/angst/angst-0.4b-r2.ebuild | 43 |
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 +} |