From 6e161a5748d90ae3dc6da5da73df66a2183f339d Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Wed, 10 Mar 2010 18:59:11 +0000 Subject: Initial commit (bug #305781). (Portage version: 2.2_rc67/cvs/Linux i686) --- net-analyzer/iptraf-ng/ChangeLog | 10 +++++++ net-analyzer/iptraf-ng/iptraf-ng-1.0.1.ebuild | 40 +++++++++++++++++++++++++++ net-analyzer/iptraf-ng/metadata.xml | 8 ++++++ 3 files changed, 58 insertions(+) create mode 100644 net-analyzer/iptraf-ng/ChangeLog create mode 100644 net-analyzer/iptraf-ng/iptraf-ng-1.0.1.ebuild create mode 100644 net-analyzer/iptraf-ng/metadata.xml (limited to 'net-analyzer/iptraf-ng') diff --git a/net-analyzer/iptraf-ng/ChangeLog b/net-analyzer/iptraf-ng/ChangeLog new file mode 100644 index 000000000000..dcfe5f60447b --- /dev/null +++ b/net-analyzer/iptraf-ng/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-analyzer/iptraf-ng +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/iptraf-ng/ChangeLog,v 1.1 2010/03/10 18:59:11 jer Exp $ + +*iptraf-ng-1.0.1 (10 Mar 2010) + + 10 Mar 2010; Jeroen Roovers +iptraf-ng-1.0.1.ebuild, + +metadata.xml: + Initial commit (bug #305781). + diff --git a/net-analyzer/iptraf-ng/iptraf-ng-1.0.1.ebuild b/net-analyzer/iptraf-ng/iptraf-ng-1.0.1.ebuild new file mode 100644 index 000000000000..0752a6847be5 --- /dev/null +++ b/net-analyzer/iptraf-ng/iptraf-ng-1.0.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/iptraf-ng/iptraf-ng-1.0.1.ebuild,v 1.1 2010/03/10 18:59:11 jer Exp $ + +EAPI=2 + +inherit flag-o-matic + +DESCRIPTION="console-based network monitoring utility, fork off iptraf 3.0.0" +HOMEPAGE="https://fedorahosted.org/iptraf-ng/" +SRC_URI="https://fedorahosted.org/releases/i/p/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="unicode" + +DEPEND=" + !net-analyzer/iptraf + sys-libs/ncurses + unicode? ( sys-libs/ncurses[unicode] ) +" +RDEPEND="${DEPEND}" + +src_prepare() { + if use unicode; then + export ncurses_CFLAGS=$( ncursesw5-config --cflags ) + export ncurses_LIBS=$( ncursesw5-config --libs ) + else + export ncurses_CFLAGS=$( ncurses5-config --cflags ) + export ncurses_LIBS=$( ncurses5-config --libs ) + fi + export libpanel_CFLAGS="-I/usr/include" + export libpanel_LIBS="-lpanel" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + keepdir /var/{lib,run,log}/iptraf +} diff --git a/net-analyzer/iptraf-ng/metadata.xml b/net-analyzer/iptraf-ng/metadata.xml new file mode 100644 index 000000000000..1599ce69cc6f --- /dev/null +++ b/net-analyzer/iptraf-ng/metadata.xml @@ -0,0 +1,8 @@ + + + +netmon + + Interactive Colorful IP LAN Monitor, an active fork of iptraf + + -- cgit v1.2.3-65-gdbad