9804c24b93
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. Handy for answering the question "why is our ADSL link so slow?" from maintainer Girish Venkatachalam with small tweaks ok landry, merdely, kili
30 lines
639 B
Makefile
30 lines
639 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2008/04/04 22:12:46 sthen Exp $
|
|
|
|
COMMENT = display bandwidth usage on an inteface
|
|
|
|
DISTNAME = iftop-0.17
|
|
CATEGORIES = net
|
|
|
|
HOMEPAGE = http://www.ex-parrot.com/~pdw/iftop/
|
|
|
|
MAINTAINER = Girish Venkatachalam <girish1729@gmail.com>
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
WANTLIB = c curses m pcap pthread
|
|
|
|
MASTER_SITES = ${HOMEPAGE}download/
|
|
|
|
CONFIGURE_STYLE = gnu dest
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/iftop ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/iftop.8 ${PREFIX}/man/man8
|
|
|
|
NO_REGRESS = Yes
|
|
|
|
.include <bsd.port.mk>
|