forked from ports/contrib
bmon: added from romster repo
This commit is contained in:
parent
b6b26d5d05
commit
9a3a4753b5
6
bmon/.footprint
Normal file
6
bmon/.footprint
Normal file
@ -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
|
2
bmon/.md5sum
Normal file
2
bmon/.md5sum
Normal file
@ -0,0 +1,2 @@
|
||||
6b5f014b7739049db269b0d04eddcb63 bmon-2.1.0-gcc4.diff
|
||||
3111a027907016c0902d67350c619df6 bmon-2.1.0.tar.gz
|
20
bmon/Pkgfile
Normal file
20
bmon/Pkgfile
Normal file
@ -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
|
||||
}
|
||||
|
22
bmon/bmon-2.1.0-gcc4.diff
Normal file
22
bmon/bmon-2.1.0-gcc4.diff
Normal file
@ -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)
|
Loading…
x
Reference in New Issue
Block a user