net/tcptrace: minor Makefile fixes

- Trim Makefile header
- Remove leading article from COMMENT
- Add LICENSE (GPLv2)
- Use PLIST_FILES instead of pkg-plist
- NOPORTDOCS -> PORT_OPTIONS:MDOCS
- Rework pkg-descr

PR:		ports/179156
Submitted by:	nemysis <nemysis@gmx.ch>
Approved by:	culot / jpaetzel (mentors, implicit)
This commit is contained in:
William Grzybowski 2013-06-17 13:30:52 +00:00
parent f1429b91b1
commit 1e9d930012
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=321108
3 changed files with 28 additions and 59 deletions

View file

@ -1,9 +1,5 @@
# New ports collection makefile for: tcptrace
# Date created: 3 March 1997
# Whom: fenner
#
# Created by: fenner
# $FreeBSD$
#
PORTNAME= tcptrace
PORTVERSION= 6.6.7
@ -11,31 +7,35 @@ CATEGORIES= net ipv6
MASTER_SITES= http://www.tcptrace.org/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= A TCP dump file analysis tool
COMMENT= TCP dump file analysis tool
MAKE_JOBS_SAFE= yes
LICENSE= GPLv2
GNU_CONFIGURE= yes
ALL_TARGET= tcptrace
MAKE_JOBS_SAFE= yes
PLIST_FILES= bin/${PORTNAME} \
bin/xpl2gpl
MAN1= tcptrace.1
DOCFILES= ARGS CHANGES COPYING COPYRIGHT FAQ README README.mailing_list \
PORTDOCS= ARGS CHANGES FAQ README README.mailing_list \
README.modules README.tline_graphs README.tput_graphs \
README.version README.xpl2gpl THANKS WWW \
dot_tcptracerc
README.version README.xpl2gpl THANKS dot_tcptracerc
.include <bsd.port.options.mk>
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tcptrace ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/xpl2gpl ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/tcptrace.man ${PREFIX}/man/man1/tcptrace.1
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for file in ${DOCFILES}
${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man ${MAN1PREFIX}/man/man1/${PORTNAME}.1
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>

View file

@ -1,28 +1,15 @@
tcptrace a TCP dump file analysis tool written by Shawn Ostermann
at Ohio University. It is NOT a packet capture program. It reads
output dump files in the formats of several popular packet capturing
programs: tcpdump, snoop, etherpeek, and netm. It can also output
(ie, convert thus converting to) tcpdump format files.
tcptrace is a TCP connection analysis tool. It can tell you detailed
information about TCP connections by sifting through dump files.
The dump file formats supported are:
Standard tcpdump format (you need the pcap library)
Sun's snoop format
Macintosh Etherpeek format
HP/NetMetrix protocol analysis format
NS simulator output format
NetScout
NLANR Tsh Format
For each connection, it keeps track of elapsed time, bytes/segments
sent and received, retransmissions, round trip times, window
advertisements, throughput, etc. Its output format ranges from
Simple to Long to Very Detailed.
It can also produce three different types of graphs, as follows:
Time Sequence Graph
This is the format that Tim Shepard started using at MIT some
years ago. It shows segments sent and ACKs returned as a
function of time.
Instantaneous Throughput
This format shows the instantaneous (averaged over a few
segments) throughput of the connection as a function of time.
Round Trip Times
This format shows the round trip times for the ACKs as a
function of time.
The graphs produced are viewable only by Tim Shepard's wonderful
xplot program (in math/xplot).
To see the graphs, you'll also need Tim Shepard's xplot program,
available at http://www.xplot.org
WWW: http://www.tcptrace.org/

View file

@ -1,18 +0,0 @@
bin/tcptrace
bin/xpl2gpl
%%PORTDOCS%%%%DOCSDIR%%/ARGS
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT
%%PORTDOCS%%%%DOCSDIR%%/FAQ
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/README.mailing_list
%%PORTDOCS%%%%DOCSDIR%%/README.modules
%%PORTDOCS%%%%DOCSDIR%%/README.tline_graphs
%%PORTDOCS%%%%DOCSDIR%%/README.tput_graphs
%%PORTDOCS%%%%DOCSDIR%%/README.version
%%PORTDOCS%%%%DOCSDIR%%/README.xpl2gpl
%%PORTDOCS%%%%DOCSDIR%%/THANKS
%%PORTDOCS%%%%DOCSDIR%%/WWW
%%PORTDOCS%%%%DOCSDIR%%/dot_tcptracerc
%%PORTDOCS%%@dirrm %%DOCSDIR%%