ports/52649: New port: net/iftop

Kirill Ponomarew ponomarew at oberon.net
Sat May 24 17:00:30 UTC 2003


>Number:         52649
>Category:       ports
>Synopsis:       New port: net/iftop
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 24 10:00:26 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Kirill Ponomarew
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
Oberon.net 
>Environment:
 
        
>Description:
New port: net/iftop

iftop provides real-time bandwidth usage information 
on a specified interface, listed by host pairs.

>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	net/iftop
#	net/iftop/Makefile
#	net/iftop/distinfo
#	net/iftop/pkg-descr
#	net/iftop/pkg-plist
#
echo c - net/iftop
mkdir -p net/iftop > /dev/null 2>&1
echo x - net/iftop/Makefile
sed 's/^X//' >net/iftop/Makefile << 'END-of-net/iftop/Makefile'
X# New ports collection makefile for: 	iftop
X# Date created:       			24 May 2003
X# Whom:					Kirill Ponomarew <ponomarew at oberon.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	iftop
XPORTVERSION=	0.12
XCATEGORIES=	net
XMASTER_SITES=	http://www.ex-parrot.com/~pdw/iftop/download/
X
XMAINTAINER=	ponomarew at oberon.net
XCOMMENT=	Network utility for real-time bandwidth usage information
X
XMAN8=		iftop.8
X
XGNU_CONFIGURE=	yes
XUSE_REINPLACE=	yes
XDOC_FILES=	README \
X		COPYING \
X		INSTALL \
X		TODO
X
X.include <bsd.port.pre.mk>
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
X		 ${WRKSRC}/configure
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
X	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${PREFIX}/man/man8/
X
Xpost-install:
X.ifndef (NOPORTDOCS)
X	@${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
X.for doc in ${DOC_FILES}
X	@${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.post.mk>
END-of-net/iftop/Makefile
echo x - net/iftop/distinfo
sed 's/^X//' >net/iftop/distinfo << 'END-of-net/iftop/distinfo'
XMD5 (iftop-0.12.tar.gz) = 5bebdc96f775420c314f037182c3a993
END-of-net/iftop/distinfo
echo x - net/iftop/pkg-descr
sed 's/^X//' >net/iftop/pkg-descr << 'END-of-net/iftop/pkg-descr'
Xiftop provides real-time bandwidth usage information on a
Xspecified interface, listed by host pairs.
X
XWWW: http://www.ex-parrot.com/~pdw/iftop/
END-of-net/iftop/pkg-descr
echo x - net/iftop/pkg-plist
sed 's/^X//' >net/iftop/pkg-plist << 'END-of-net/iftop/pkg-plist'
Xbin/iftop
X%%PORTDOCS%%%%DOCSDIR%%/COPYING
X%%PORTDOCS%%%%DOCSDIR%%/INSTALL
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/TODO
X at dirrm %%PORTDOCS%%%%DOCSDIR%%
END-of-net/iftop/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list