diff options
author | Jeroen Roovers <jer@gentoo.org> | 2010-03-10 18:59:11 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2010-03-10 18:59:11 +0000 |
commit | 6e161a5748d90ae3dc6da5da73df66a2183f339d (patch) | |
tree | 2d3863d57fbdc8f33c7feb14a9c1af1b2f52888b /net-analyzer/iptraf-ng | |
parent | Version bump. (diff) | |
download | gentoo-2-6e161a5748d90ae3dc6da5da73df66a2183f339d.tar.gz gentoo-2-6e161a5748d90ae3dc6da5da73df66a2183f339d.tar.bz2 gentoo-2-6e161a5748d90ae3dc6da5da73df66a2183f339d.zip |
Initial commit (bug #305781).
(Portage version: 2.2_rc67/cvs/Linux i686)
Diffstat (limited to 'net-analyzer/iptraf-ng')
-rw-r--r-- | net-analyzer/iptraf-ng/ChangeLog | 10 | ||||
-rw-r--r-- | net-analyzer/iptraf-ng/iptraf-ng-1.0.1.ebuild | 40 | ||||
-rw-r--r-- | net-analyzer/iptraf-ng/metadata.xml | 8 |
3 files changed, 58 insertions, 0 deletions
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 <jer@gentoo.org> +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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>netmon</herd> +<longdescription> + Interactive Colorful IP LAN Monitor, an active fork of iptraf +</longdescription> +</pkgmetadata> |