Index: head/net-mgmt/iftop/Makefile =================================================================== --- head/net-mgmt/iftop/Makefile (revision 137044) +++ head/net-mgmt/iftop/Makefile (revision 137045) @@ -1,44 +1,43 @@ # New ports collection makefile for: iftop # Date created: 24 May 2003 # Whom: Kirill Ponomarew # # $FreeBSD$ # PORTNAME= iftop PORTVERSION= 0.16 +PORTREVISION= 1 CATEGORIES= net-mgmt -MASTER_SITES= http://www.ex-parrot.com/~pdw/iftop/download/ \ - http://voodoo.oberon.net/ +MASTER_SITES= http://www.ex-parrot.com/~pdw/iftop/download/ -MAINTAINER= ports@FreeBSD.org -COMMENT= Network utility for real-time bandwidth usage information +MAINTAINER= vd@datamax.bg +COMMENT= Display bandwidth usage on an interface by host GNU_CONFIGURE= yes CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ARGS= --with-resolver=netdb_1thread USE_REINPLACE= yes MAN8= iftop.8 +.if !defined(NOPORTDOCS) PORTDOCS= README +.endif PLIST_FILES= bin/iftop -.include - post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \ ${WRKSRC}/configure do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${MANPREFIX}/man/man8 + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${MAN8PREFIX}/man/man8 post-install: -.ifndef (NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for i in README - @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} -.endfor +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif -.include +.include Property changes on: head/net-mgmt/iftop/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.13 \ No newline at end of property +1.14 \ No newline at end of property Index: head/net-mgmt/iftop/pkg-descr =================================================================== --- head/net-mgmt/iftop/pkg-descr (revision 137044) +++ head/net-mgmt/iftop/pkg-descr (revision 137045) @@ -1,4 +1,13 @@ -iftop provides real-time bandwidth usage information on a -specified interface, listed by host pairs. +iftop listens to network traffic on a named interface, or +on the first interface it can find which looks like an +external interface if none is specified, and displays a +table of current bandwidth usage by pairs of hosts. iftop +must be run with sufficient permissions to monitor all +network traffic on the interface; see pcap(3) for more +information, but on most systems this means that it must +be run as root. WWW: http://www.ex-parrot.com/~pdw/iftop/ + +- Vasil Dimov +vd@datamax.bg Property changes on: head/net-mgmt/iftop/pkg-descr ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property