Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263326 - net-analyser/bwmon has typo in help screen
Summary: net-analyser/bwmon has typo in help screen
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-22 00:17 UTC by Olliver Schinagl
Modified: 2012-09-30 08:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
fix typo's in help print (typo_help.patch,690 bytes, patch)
2009-03-22 00:18 UTC, Olliver Schinagl
Details | Diff
patch to ebuild to use the aforementioned patch (bwmon-1.3-r1.ebuild.patch,870 bytes, patch)
2009-03-22 00:18 UTC, Olliver Schinagl
Details | Diff
bwmon-1.3-r1.ebuild.patch (bwmon-1.3-r1.ebuild.patch,770 bytes, patch)
2009-03-22 15:24 UTC, Olliver Schinagl
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Olliver Schinagl 2009-03-22 00:17:25 UTC
When using bwmon -h it prints a help list stating that -a is to list bit or byte usage. -a is actually used already and the package really expects -b, which would make perfect sense anyway. Find attached a patch and ebuild that fix this.

Reproducible: Always
Comment 1 Olliver Schinagl 2009-03-22 00:18:23 UTC
Created attachment 185815 [details, diff]
fix typo's in help print
Comment 2 Olliver Schinagl 2009-03-22 00:18:50 UTC
Created attachment 185816 [details, diff]
patch to ebuild to use the aforementioned patch
Comment 3 Olliver Schinagl 2009-03-22 00:21:05 UTC
I've also informed upstream and linked to this bugreport.
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-22 06:49:04 UTC
Please attach diffs when you did changes to an ebuild. That would be much more
handy for our devs.
Comment 5 Olliver Schinagl 2009-03-22 15:17:34 UTC
Comment on attachment 185816 [details, diff]
patch to ebuild to use the aforementioned patch

diff -u bwmon-1.3.ebuild bwmon-1.3-r1.ebuild 
--- bwmon-1.3.ebuild	2007-07-02 17:05:55.000000000 +0200
+++ bwmon-1.3-r1.ebuild	2009-03-22 16:16:04.000000000 +0100
@@ -2,6 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/bwmon/bwmon-1.3.ebuild,v 1.17 2007/07/02 14:36:59 peper Exp $
 
+inherit eutils
+
 DESCRIPTION="Simple ncurses bandwidth monitor"
 HOMEPAGE="http://bwmon.sourceforge.net/"
 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
@@ -17,6 +19,7 @@
 src_unpack() {
 	unpack ${A}
 	cd ${S}
+	epatch "${FILESDIR}/typo_help.patch"
 	sed -i -e "s:/usr/local/bin:\$\{DESTDIR\}usr/bin:" \
 	    Makefile
 	sed -i -e "s:CFLAGS =:CFLAGS = ${CFLAGS}:" \
Comment 6 Olliver Schinagl 2009-03-22 15:24:00 UTC
Created attachment 185880 [details, diff]
bwmon-1.3-r1.ebuild.patch
Comment 7 Sergey Popov gentoo-dev 2012-09-30 08:16:04 UTC
+  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