From 9a3a4753b564e8ca64718daa6beee129356b2bf3 Mon Sep 17 00:00:00 2001 From: Danny Rawlins Date: Fri, 9 Jan 2009 19:08:00 +1100 Subject: [PATCH] bmon: added from romster repo --- bmon/.footprint | 6 ++++++ bmon/.md5sum | 2 ++ bmon/Pkgfile | 20 ++++++++++++++++++++ bmon/bmon-2.1.0-gcc4.diff | 22 ++++++++++++++++++++++ 4 files changed, 50 insertions(+) create mode 100644 bmon/.footprint create mode 100644 bmon/.md5sum create mode 100644 bmon/Pkgfile create mode 100644 bmon/bmon-2.1.0-gcc4.diff diff --git a/bmon/.footprint b/bmon/.footprint new file mode 100644 index 000000000..e65064e4f --- /dev/null +++ b/bmon/.footprint @@ -0,0 +1,6 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/bmon +drwxr-xr-x root/root usr/man/ +drwxr-xr-x root/root usr/man/man1/ +-rw-r--r-- root/root usr/man/man1/bmon.1.gz diff --git a/bmon/.md5sum b/bmon/.md5sum new file mode 100644 index 000000000..384e79812 --- /dev/null +++ b/bmon/.md5sum @@ -0,0 +1,2 @@ +6b5f014b7739049db269b0d04eddcb63 bmon-2.1.0-gcc4.diff +3111a027907016c0902d67350c619df6 bmon-2.1.0.tar.gz diff --git a/bmon/Pkgfile b/bmon/Pkgfile new file mode 100644 index 000000000..7ac2162be --- /dev/null +++ b/bmon/Pkgfile @@ -0,0 +1,20 @@ +# Description: Network bandwidth monitor. +# URL: http://people.suug.ch/~tgr/bmon/ +# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au +# Packager: Jukka Heino, jukka dot heino at gmail dot com +# Depends on: ncurses + +name=bmon +version=2.1.0 +release=1 +source=(http://people.suug.ch/~tgr/bmon/files/bmon-$version.tar.gz \ + bmon-$version-gcc4.diff) + +build() { + cd bmon-$version + patch -p 1 -i ../bmon-$version-gcc4.diff + ./configure --prefix=/usr + make + make DESTDIR=$PKG install +} + diff --git a/bmon/bmon-2.1.0-gcc4.diff b/bmon/bmon-2.1.0-gcc4.diff new file mode 100644 index 000000000..433edf509 --- /dev/null +++ b/bmon/bmon-2.1.0-gcc4.diff @@ -0,0 +1,22 @@ +--- bmon-2.1.0.orig/src/out_xml_event.c 2005-04-05 12:01:33.000000000 -0300 ++++ bmon-2.1.0/src/out_xml_event.c 2005-09-09 17:56:07.000000000 -0300 +@@ -127,7 +127,7 @@ + .om_draw = xml_event_draw, + .om_set_opts = xml_event_set_opts, + .om_probe = xml_event_probe, +- .om_shutdown xml_event_shutdown, ++ .om_shutdown = xml_event_shutdown + }; + + static void __init xml_event_init(void) +--- bmon-2.1.0.orig/src/out_audio.c 2005-04-05 12:01:33.000000000 -0300 ++++ bmon-2.1.0/src/out_audio.c 2005-09-09 17:58:20.000000000 -0300 +@@ -141,7 +141,7 @@ + .om_draw = audio_draw, + .om_set_opts = audio_set_opts, + .om_probe = audio_probe, +- .om_shutdown audio_shutdown, ++ .om_shutdown = audio_shutdown + }; + + static void __init audio_init(void)