summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2012-09-30 08:13:07 +0000
committerSergey Popov <pinkbyte@gentoo.org>2012-09-30 08:13:07 +0000
commitc318e9886a877b6c22319fa23da22fe1555f65bb (patch)
tree004215ad7b58a0025271429d679f15549fa26d4f /net-analyzer/bwmon
parentRemove useless doecho function (diff)
downloadgentoo-2-c318e9886a877b6c22319fa23da22fe1555f65bb.tar.gz
gentoo-2-c318e9886a877b6c22319fa23da22fe1555f65bb.tar.bz2
gentoo-2-c318e9886a877b6c22319fa23da22fe1555f65bb.zip
Add typo fix patch for help output wrt bug #263326
(Portage version: 2.2.0_alpha132/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/bwmon')
-rw-r--r--net-analyzer/bwmon/ChangeLog6
-rw-r--r--net-analyzer/bwmon/bwmon-1.3-r1.ebuild6
-rw-r--r--net-analyzer/bwmon/files/bwmon-1.3-typo-fix.patch12
3 files changed, 21 insertions, 3 deletions
diff --git a/net-analyzer/bwmon/ChangeLog b/net-analyzer/bwmon/ChangeLog
index 89a59c98700c..ee31d1e61a9b 100644
--- a/net-analyzer/bwmon/ChangeLog
+++ b/net-analyzer/bwmon/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-analyzer/bwmon
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/bwmon/ChangeLog,v 1.18 2012/09/30 07:56:14 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/bwmon/ChangeLog,v 1.19 2012/09/30 08:13:06 pinkbyte Exp $
+
+ 30 Sep 2012; Sergey Popov <pinkbyte@gentoo.org> bwmon-1.3-r1.ebuild,
+ +files/bwmon-1.3-typo-fix.patch:
+ Add typo fix patch for help output wrt bug #263326
30 Sep 2012; Sergey Popov <pinkbyte@gentoo.org> bwmon-1.3-r1.ebuild:
Remove useless doecho function
diff --git a/net-analyzer/bwmon/bwmon-1.3-r1.ebuild b/net-analyzer/bwmon/bwmon-1.3-r1.ebuild
index cc91d1d55391..7ce3300ad51c 100644
--- a/net-analyzer/bwmon/bwmon-1.3-r1.ebuild
+++ b/net-analyzer/bwmon/bwmon-1.3-r1.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/bwmon/bwmon-1.3-r1.ebuild,v 1.2 2012/09/30 07:56:14 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/bwmon/bwmon-1.3-r1.ebuild,v 1.3 2012/09/30 08:13:06 pinkbyte Exp $
EAPI="4"
-inherit toolchain-funcs flag-o-matic
+inherit eutils flag-o-matic toolchain-funcs
DESCRIPTION="Simple ncurses bandwidth monitor"
HOMEPAGE="http://bwmon.sourceforge.net/"
@@ -27,6 +27,8 @@ src_prepare() {
# Respect LDFLAGS
sed -i '/^LDFLAGS/s:LDFLAGS:LIBS:' src/Makefile || die 'sed on LDFLAGS failed'
sed -i 's:$(CC) $(LDFLAGS) -o ../$@ $(OBJS):$(CC) $(CFLAGS) $(LDFLAGS) -o ../$@ $(OBJS) $(LIBS):' src/Makefile || die 'sed on compilation string failed'
+ # Fix a typo in help wrt bug #263326
+ epatch "${FILESDIR}"/${P}-typo-fix.patch
}
src_compile() {
diff --git a/net-analyzer/bwmon/files/bwmon-1.3-typo-fix.patch b/net-analyzer/bwmon/files/bwmon-1.3-typo-fix.patch
new file mode 100644
index 000000000000..4fa0be43b133
--- /dev/null
+++ b/net-analyzer/bwmon/files/bwmon-1.3-typo-fix.patch
@@ -0,0 +1,12 @@
+diff -u bwmon-1.3/src/bwmon.c.orig bwmon-1.3/src/bwmon.c
+--- bwmon-1.3/src/bwmon.c.orig 2009-03-22 00:51:12.000000000 +0100
++++ bwmon-1.3/src/bwmon.c 2009-03-22 00:54:13.000000000 +0100
+@@ -36,7 +36,7 @@
+ "by Kimmo Nupponen (kimmoon@users.sourceforge.net)\n"
+ "$Date: 2012/09/30 08:13:07 $\n\n"
+ "usage: %s [-b] [-h] [-a] [-m] [-u seconds]\n"
+- "\t-a Print bandwidth utiliasation in Kbytes rather than Kbits. The default\n"
++ "\t-b Print bandwidth utilisation in KBytes rather than Kbits. The default\n"
+ "\t is to use Kbits\n"
+ "\t-a Print also average bandwidth since last boot per interface\n"
+ "\t-m Print maximum bandwidth since launch of this utility\n"