Update of /cvsroot/leaf/src/bering-uclibc/apps/iftop
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv4704
Added Files:
buildtool.cfg buildtool.mk iftop-0.17.tar.gz
Log Message:
new small package iftop to display bandwith usage
--- NEW FILE: iftop-0.17.tar.gz ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: buildtool.cfg ---
<File buildtool.mk>
Server = cvs-sourceforge
Revision = HEAD
Directory = iftop
</File>
<File iftop-0.17.tar.gz>
Server = cvs-sourceforge
Revision = HEAD
envname = IFTOP_SOURCE
Directory = iftop
</File>
<Package>
<iftop>
Version = 0.17
Revision = 1
Help <<EOF
iftop: display bandwidth usage on an interface
iftop does for network usage what top(1) does for CPU usage.
It listens to network traffic on a named interface and displays
a table of current bandwidth usage by pairs of hosts.
Homepage: http://www.ex-parrot.com/~pdw/iftop
Requires: ncurses.lrp, libpcap.lrp
LEAF package by __PACKAGER__, __BUILDDATE__
EOF
<Permissions>
Files = 644
Directories = 755
</Permissions>
<Owner>
Files = root:root
Directories = root:root
</Owner>
<Contents>
<File>
Source = usr/sbin/iftop
Filename = usr/sbin/iftop
Type = binary
Permissions = 755
</File>
</Contents>
</iftop>
</Package>
--- NEW FILE: buildtool.mk ---
#makefile for iftop
include $(MASTERMAKEFILE)
IFTOP_DIR:=iftop-0.17
IFTOP_TARGET_DIR:=$(BT_BUILD_DIR)/iftop
CFLAGS = -Os -Wall
$(IFTOP_DIR)/.source:
zcat $(IFTOP_SOURCE) | tar -xvf -
touch $(IFTOP_DIR)/.source
$(IFTOP_DIR)/.configured: $(IFTOP_DIR)/.source
(cd $(IFTOP_DIR); \
CFLAGS="-Os -Wall" CC=$(TARGET_CC) \
./configure --prefix=$(IFTOP_TARGET_DIR) );
touch $(IFTOP_DIR)/.configured
$(IFTOP_DIR)/.build: $(IFTOP_DIR)/.configured
$(MAKE) -C $(IFTOP_DIR) CFLAGS="-Os -Wall" CC=$(TARGET_CC)
-$(BT_STRIP) $(BT_STRIP_BINOPTS) $(IFTOP_DIR)/iftop
mkdir -p $(IFTOP_TARGET_DIR)/usr/sbin
cp -a $(IFTOP_DIR)/iftop $(IFTOP_TARGET_DIR)/usr/sbin
cp -a -f $(IFTOP_TARGET_DIR)/* $(BT_STAGING_DIR)
touch $(IFTOP_DIR)/.build
source: $(IFTOP_DIR)/.source
build: $(IFTOP_DIR)/.build
clean:
-rm $(IFTOP_DIR)/.build
-rm $(IFTOP_DIR)/.configured
-rm $(IFTOP_TARGET_DIR)/usr/bin/iftop
srcclean:
rm -rf $(IFTOP_DIR)
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
leaf-cvs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-cvs-commits