summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2011-12-19 02:11:16 +0000
committerJeroen Roovers <jer@gentoo.org>2011-12-19 02:11:16 +0000
commit655e36ba2880b07686e04aca1514e250d7aa8c9f (patch)
treeb0e5c4f519a3672fbc6b6ff28d8436676290cbb5 /net-analyzer/nast
parentppc stable (bug 391863) (diff)
downloadgentoo-2-655e36ba2880b07686e04aca1514e250d7aa8c9f.tar.gz
gentoo-2-655e36ba2880b07686e04aca1514e250d7aa8c9f.tar.bz2
gentoo-2-655e36ba2880b07686e04aca1514e250d7aa8c9f.zip
Fix building with net-libs/libpcap[-static-libs] (bug #395115).
(Portage version: 2.2.0_alpha81/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/nast')
-rw-r--r--net-analyzer/nast/ChangeLog9
-rw-r--r--net-analyzer/nast/nast-0.2.0-r1.ebuild35
2 files changed, 42 insertions, 2 deletions
diff --git a/net-analyzer/nast/ChangeLog b/net-analyzer/nast/ChangeLog
index b1ed55bdc453..65fd84d76a80 100644
--- a/net-analyzer/nast/ChangeLog
+++ b/net-analyzer/nast/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/nast
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nast/ChangeLog,v 1.10 2008/05/04 10:22:24 pva Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nast/ChangeLog,v 1.11 2011/12/19 02:11:16 jer Exp $
+
+*nast-0.2.0-r1 (19 Dec 2011)
+
+ 19 Dec 2011; Jeroen Roovers <jer@gentoo.org> +nast-0.2.0-r1.ebuild:
+ Fix building with net-libs/libpcap[-static-libs] (bug #395115).
04 May 2008; Peter Volkov <pva@gentoo.org> nast-0.2.0.ebuild:
Use berlios mirror://, bug #218657, thank Gilles Dartiguelongue for
diff --git a/net-analyzer/nast/nast-0.2.0-r1.ebuild b/net-analyzer/nast/nast-0.2.0-r1.ebuild
new file mode 100644
index 000000000000..20e5395e34b1
--- /dev/null
+++ b/net-analyzer/nast/nast-0.2.0-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nast/nast-0.2.0-r1.ebuild,v 1.1 2011/12/19 02:11:16 jer Exp $
+
+EAPI="4"
+
+inherit autotools
+
+DESCRIPTION="NAST - Network Analyzer Sniffer Tool"
+HOMEPAGE="http://nast.berlios.de/"
+SRC_URI="mirror://berlios/nast/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="ncurses"
+
+DEPEND=">=net-libs/libnet-1.1.1
+ net-libs/libpcap
+ ncurses? ( >=sys-libs/ncurses-5.4 )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ sed -i configure.ac -e 's|\.a|.so|g' || die
+ eautoreconf
+}
+
+src_compile() {
+ emake CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ dosbin nast
+ doman nast.8
+ dodoc AUTHORS BUGS CREDITS ChangeLog NCURSES_README README TODO
+}