diff options
author | mich <mich@FreeBSD.org> | 2003-08-22 21:38:56 +0800 |
---|---|---|
committer | mich <mich@FreeBSD.org> | 2003-08-22 21:38:56 +0800 |
commit | 2387c843537a775e6daad43131091512891257cb (patch) | |
tree | 068ce2fe70207ca39851fd0078e994d90230a0f8 /net-mgmt | |
parent | 2f896e634d3f455dfa3c95313ed78fa80392ada8 (diff) | |
download | freebsd-ports-gnome-2387c843537a775e6daad43131091512891257cb.tar.gz freebsd-ports-gnome-2387c843537a775e6daad43131091512891257cb.tar.zst freebsd-ports-gnome-2387c843537a775e6daad43131091512891257cb.zip |
New port: A traffic analysis command-line utility
Approved by: roberto (mentor)
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/rate/Makefile | 32 | ||||
-rw-r--r-- | net-mgmt/rate/distinfo | 1 | ||||
-rw-r--r-- | net-mgmt/rate/pkg-descr | 15 | ||||
-rw-r--r-- | net-mgmt/rate/pkg-plist | 1 |
4 files changed, 49 insertions, 0 deletions
diff --git a/net-mgmt/rate/Makefile b/net-mgmt/rate/Makefile new file mode 100644 index 000000000000..244c7e9292a6 --- /dev/null +++ b/net-mgmt/rate/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: rate +# Date created: Thu Aug 21 18:12:35 GMT 2003 +# Whom: mich@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= rate +PORTVERSION= 0.9 +CATEGORIES= net +MASTER_SITES= http://s-tech.elsat.net.pl/bmtools/ + +MAINTAINER= mich@FreeBSD.org +COMMENT= A traffic analysis command-line utility + +USE_REINPLACE= YES +LDFLAGS+= -lcompat +CFLAGS+= -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH + +post-patch: + @${REINPLACE_CMD} -e \ + 's|^CFLAGS.*$$|CFLAGS=${CFLAGS}|g ; \ + s|^LDFLAGS.*$$|LDFLAGS=${LDFLAGS}|g ; \ + s|gcc|${CC}|g' ${WRKSRC}/Makefile + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/rate ${PREFIX}/bin/rate + ${INSTALL_MAN} ${WRKSRC}/doc/rate.1 ${PREFIX}/man/man1 + +MAN1= rate.1 + +.include <bsd.port.mk> diff --git a/net-mgmt/rate/distinfo b/net-mgmt/rate/distinfo new file mode 100644 index 000000000000..e0c72293fb78 --- /dev/null +++ b/net-mgmt/rate/distinfo @@ -0,0 +1 @@ +MD5 (rate-0.9.tar.gz) = 5689ff8b6e0bb8f78dec9184623c5800 diff --git a/net-mgmt/rate/pkg-descr b/net-mgmt/rate/pkg-descr new file mode 100644 index 000000000000..3a8b1a5a505c --- /dev/null +++ b/net-mgmt/rate/pkg-descr @@ -0,0 +1,15 @@ +Rate is a swiss-army-knife command-line traffic analysis tool, designed +to help a network administrator to see what is happening at a router at +the moment. Unlike tcpdump(1), rate uses statistical and stream-oriented +methods, and will never produce an output stream at a speed beyond human +perception. The output is less accurate, however. Rate features four +different operating modes, designed to perform the following tasks: +estimating overall traffic rates, determining nodes generating the +highest traffic, determining connections and flows generating the highest +traffic and extracting strings from packets. + +WWW: http://s-tech.elsat.net.pl/ +AUTHOR: <mtg@elsat.net.pl> + +- Michael L. Hostbaek + mich@FreeBSD.org diff --git a/net-mgmt/rate/pkg-plist b/net-mgmt/rate/pkg-plist new file mode 100644 index 000000000000..275a305a4032 --- /dev/null +++ b/net-mgmt/rate/pkg-plist @@ -0,0 +1 @@ +bin/rate |