svn commit: r320625 - in head/net/tcpflow: . files

Antoine Brodin antoine at FreeBSD.org
Tue Jun 11 18:41:46 UTC 2013


Author: antoine
Date: Tue Jun 11 18:41:45 2013
New Revision: 320625
URL: http://svnweb.freebsd.org/changeset/ports/320625

Log:
  - Update tcpflow to 1.4.0b1
  - Trim Makefile header
  - Maintain
  - Add LICENSE and install DOCS
  - Update pkg-descr

Deleted:
  head/net/tcpflow/files/
Modified:
  head/net/tcpflow/Makefile
  head/net/tcpflow/distinfo
  head/net/tcpflow/pkg-descr

Modified: head/net/tcpflow/Makefile
==============================================================================
--- head/net/tcpflow/Makefile	Tue Jun 11 18:36:56 2013	(r320624)
+++ head/net/tcpflow/Makefile	Tue Jun 11 18:41:45 2013	(r320625)
@@ -1,23 +1,36 @@
-# New ports collection makefile for:	tcpflow
-# Date created:		20 August 1999
-# Whom:			Jose M. Alcaide <jose at we.lc.ehu.es>
-#
+# Created by: Jose M. Alcaide <jose at we.lc.ehu.es>
 # $FreeBSD$
-#
 
 PORTNAME=	tcpflow
-PORTVERSION=	0.21
-PORTREVISION=	1
+DISTVERSION=	1.4.0b1
 CATEGORIES=	net
-MASTER_SITES=	http://www.circlemud.org/pub/jelson/tcpflow/
+MASTER_SITES=	http://www.digitalcorpora.org/downloads/${PORTNAME}/
 
-MAINTAINER=	ports at FreeBSD.org
-COMMENT=	A tool for capturing data transmitted as part of TCP connections
+MAINTAINER=	antoine at FreeBSD.org
+COMMENT=	Program that captures data transmitted as part of TCP connections
 
-HAS_CONFIGURE=	yes
-USE_AUTOTOOLS=	automake14
+LICENSE=	GPLv3
+
+BUILD_DEPENDS=	${LOCALBASE}/include/boost/icl/interval.hpp:${PORTSDIR}/devel/boost-libs
+LIB_DEPENDS=	cairo:${PORTSDIR}/graphics/cairo
+
+GNU_CONFIGURE=	yes
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
 
 MAN1=		tcpflow.1
 PLIST_FILES=	bin/tcpflow
 
+OPTIONS_DEFINE=	DOCS
+
+PORTDOCS=	AUTHORS ChangeLog NEWS README
+
+.include <bsd.port.options.mk>
+
+post-install:
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
+.endif
+
 .include <bsd.port.mk>

Modified: head/net/tcpflow/distinfo
==============================================================================
--- head/net/tcpflow/distinfo	Tue Jun 11 18:36:56 2013	(r320624)
+++ head/net/tcpflow/distinfo	Tue Jun 11 18:41:45 2013	(r320625)
@@ -1,2 +1,2 @@
-SHA256 (tcpflow-0.21.tar.gz) = 16928bd9721c0de685b66365d320bcd52a97a4edf0e1087654ad8db379d19469
-SIZE (tcpflow-0.21.tar.gz) = 79369
+SHA256 (tcpflow-1.4.0b1.tar.gz) = 4d7a9e2dc7cd8637837a6af61a05825a1285333a23264333bccf5d01c8aed29d
+SIZE (tcpflow-1.4.0b1.tar.gz) = 428714

Modified: head/net/tcpflow/pkg-descr
==============================================================================
--- head/net/tcpflow/pkg-descr	Tue Jun 11 18:36:56 2013	(r320624)
+++ head/net/tcpflow/pkg-descr	Tue Jun 11 18:41:45 2013	(r320625)
@@ -1,18 +1,8 @@
 tcpflow is a program that captures data transmitted as part of TCP
-connections (flows), and stores it in a way that is convenient for
-protocol analysis or debugging.  A program like 'tcpdump' only shows a
-summary of packets seen on the wire, but usually doesn't store the
-data that's actually being transmitted.  In contrast, tcpflow
-reconstructs the actual data streams and stores each flow in a
-separate file for later analysis.
+connections (flows), and stores the data in a way that is convenient
+for protocol analysis and debugging.  Each TCP flow is stored in its
+own file. Thus, the typical TCP flow will be stored in two files, one
+for each direction. tcpflow can also process stored 'tcpdump' packet
+flows.
 
-tcpflow understands sequence numbers and will correctly reconstruct
-data streams regardless of retransmissions or out-of-order delivery.
-However, it currently does not understand IP fragments; flows
-containing IP fragments will not be recorded properly.
-
-Note: this port includes a small patch that adds the capability of
-      reading the packets from a tcpdump(1) capture file, using
-      a new option (-r).
-
-WWW: http://www.circlemud.org/~jelson/software/tcpflow/
+WWW: https://github.com/simsong/tcpflow


More information about the svn-ports-head mailing list