[oe] [PATCH] Add bwm-ng 0.6: lightweight network and disk bandwidth monitor

Michael Smith msmith at cbnco.com
Mon Jun 8 02:52:51 UTC 2009


Signed-off-by: Michael Smith <msmith at cbnco.com>
---
 conf/checksums.ini           |    4 ++++
 recipes/bwm-ng/bwm-ng_0.6.bb |   16 ++++++++++++++++
 2 files changed, 20 insertions(+), 0 deletions(-)
 create mode 100644 recipes/bwm-ng/bwm-ng_0.6.bb

diff --git a/conf/checksums.ini b/conf/checksums.ini
index c3c83c3..62f5a77 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -3234,6 +3234,10 @@ sha256=c94dbfa293cbc61b8571d025e90fd1f06a34f8d4e5b11a59856bfc1f13014de3
 md5=b9d77c57bda2e019207a1874d9bb4dea
 sha256=c94dbfa293cbc61b8571d025e90fd1f06a34f8d4e5b11a59856bfc1f13014de3
 
+[http://downloads.sourceforge.net/bwmng/bwm-ng-0.6.tar.gz]
+md5=d3a02484fb7946371bfb4e10927cebfb
+sha256=c1134358e268329d438b0996399003b0f0b966034fb4b5b138761c2f3c62ffdd
+
 [http://downloads.sourceforge.net/bwmon/bwmon-1.3.tar.gz]
 md5=53c44b73aa67d5e0282adfe928f3ba44
 sha256=624381208d0faae6c123bc6198a59d6c4316cd4fffb1ba5aca206374f5a42df6
diff --git a/recipes/bwm-ng/bwm-ng_0.6.bb b/recipes/bwm-ng/bwm-ng_0.6.bb
new file mode 100644
index 0000000..5a28162
--- /dev/null
+++ b/recipes/bwm-ng/bwm-ng_0.6.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = "Lightweight console network and disk bandwidth monitor"
+LICENSE = "GPLv2"
+DEPENDS = "ncurses"
+PR = "r0"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/bwmng/bwm-ng-${PV}.tar.gz"
+
+inherit autotools
+
+# Use /proc/net/dev and /proc/diskstats rather than full libstatgrab.
+# Disable netstat -i parser as it's not compatible with busybox netstat.
+EXTRA_OECONF = " \
+    --with-procnetdev --with-diskstats \
+    --with-libstatgrab=no \
+    --with-netstatlinux=no \
+"
-- 
1.6.3





More information about the Openembedded-devel mailing list