summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2013-01-02 13:32:41 +0000
committerJeroen Roovers <jer@gentoo.org>2013-01-02 13:32:41 +0000
commit422f6d9fd9fccdba4339ea6577d0712c1e7e52f1 (patch)
tree3929b169f62ca82c4e061114d7f8d8380bbb6273
parentStable for x86, wrt bug #449734 (diff)
downloadgentoo-2-422f6d9fd9fccdba4339ea6577d0712c1e7e52f1.tar.gz
gentoo-2-422f6d9fd9fccdba4339ea6577d0712c1e7e52f1.tar.bz2
gentoo-2-422f6d9fd9fccdba4339ea6577d0712c1e7e52f1.zip
Rename rvnamed,iptraf{,-ng} in man pages.
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key A792A613)
-rw-r--r--net-analyzer/iptraf-ng/ChangeLog9
-rw-r--r--net-analyzer/iptraf-ng/iptraf-ng-1.1.3.1-r2.ebuild57
2 files changed, 64 insertions, 2 deletions
diff --git a/net-analyzer/iptraf-ng/ChangeLog b/net-analyzer/iptraf-ng/ChangeLog
index ce3ba413d1ba..d05e6137195c 100644
--- a/net-analyzer/iptraf-ng/ChangeLog
+++ b/net-analyzer/iptraf-ng/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/iptraf-ng
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/iptraf-ng/ChangeLog,v 1.51 2012/12/19 03:17:47 jer Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/iptraf-ng/ChangeLog,v 1.52 2013/01/02 13:32:41 jer Exp $
+
+*iptraf-ng-1.1.3.1-r2 (02 Jan 2013)
+
+ 02 Jan 2013; Jeroen Roovers <jer@gentoo.org> +iptraf-ng-1.1.3.1-r2.ebuild:
+ Rename rvnamed,iptraf{,-ng} in man pages.
19 Dec 2012; Jeroen Roovers <jer@gentoo.org> -iptraf-ng-1.1.3.1.ebuild:
Old.
diff --git a/net-analyzer/iptraf-ng/iptraf-ng-1.1.3.1-r2.ebuild b/net-analyzer/iptraf-ng/iptraf-ng-1.1.3.1-r2.ebuild
new file mode 100644
index 000000000000..38a86df0d32a
--- /dev/null
+++ b/net-analyzer/iptraf-ng/iptraf-ng-1.1.3.1-r2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2013 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.1.3.1-r2.ebuild,v 1.1 2013/01/02 13:32:41 jer Exp $
+
+EAPI=4
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A console-based network monitoring utility"
+HOMEPAGE="http://fedorahosted.org/iptraf-ng/"
+SRC_URI="http://fedorahosted.org/releases/${PN:0:1}/${PN:1:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2 doc? ( FDL-1.1 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="doc"
+
+RESTRICT="test"
+
+RDEPEND=">=sys-libs/ncurses-5.7-r7"
+DEPEND="${RDEPEND}
+ virtual/os-headers
+ !net-analyzer/iptraf"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-kernel-v3.5-kill-off-token-ring-support.patch
+
+ sed -i \
+ -e '/^CC =/d' \
+ -e '/^CFLAGS/s:= -g -O2:+= :' \
+ -e '/^LDFLAGS =/d' \
+ -e 's|$(QUIET_[[:alpha:]]*)||g' \
+ Makefile || die
+ sed -i \
+ -e 's|IPTRAF|&-NG|g' \
+ -e 's|IPTraf|&-NG|g' \
+ -e 's|iptraf|&-ng|g' \
+ -e 's|rvnamed|&-ng|g' \
+ -e 's|RVNAMED|&-NG|g' \
+ src/*.8 || die
+}
+
+src_configure() { :; }
+
+src_compile() {
+ tc-export CC
+ emake
+}
+
+src_install() {
+ dosbin {iptraf,rvnamed}-ng
+
+ doman src/*.8
+ dodoc AUTHORS CHANGES FAQ README* RELEASE-NOTES
+ use doc && dohtml -a gif,html,png -r Documentation/*
+
+ keepdir /var/{lib,log,lock}/iptraf-ng #376157
+}