Bug 177441 - [NEW PORT] net/tcpsplit: Breaks a libpcap trace along TCP connection boundaries
Summary: [NEW PORT] net/tcpsplit: Breaks a libpcap trace along TCP connection boundaries
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Antoine Brodin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-28 14:00 UTC by lars
Modified: 2013-05-03 21:52 UTC (History)
1 user (show)

See Also:


Attachments
.shar (1.73 KB, text/plain)
2013-03-28 14:00 UTC, lars
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description lars 2013-03-28 14:00:02 UTC
The tcpsplit utility breaks a single libpcap packet trace into some number
of sub-traces, breaking the trace along TCP connection boundaries so that
a TCP connection doesn't end up split across two sub-traces. This is useful
for making large trace files tractable for in-depth analysis and for
subsetting a trace for developing analysis on only part of a trace.

WWW: http://www.icir.org/mallman/software/tcpsplit/

Generated with FreeBSD Port Tools 0.99_7 (mode: new)
Comment 1 lars 2013-04-03 10:32:31 UTC
Please use the .shar below; it fixes compilation when clang is the =
default compiler.

Lars

SEND-PR: -*- send-pr -*-
To: FreeBSD-gnats-submit@freebsd.org
From: Lars Eggert <lars@eggert.org>
Cc:=20
X-send-pr-version: 3.113
X-GNATS-Notify:=20


>Submitter-Id:	current-users
>Originator:	Lars Eggert
>Organization:=09
>Confidential:	no=20
>Synopsis:	[NEW PORT] net/tcpsplit: Breaks a libpcap trace along =
TCP connection boundaries
>Severity:	non-critical
SEND-PR: 	[ non-critical | serious | critical ]=20
>Priority:	low
SEND-PR: 	[ low | medium | high ]
>Category:	ports=20
SEND-PR: <choose from the list of categories below (one line)>
SEND-PR: advocacy  alpha     amd64     arm       bin       conf
SEND-PR: docs      gnu       i386      ia64      java      kern
SEND-PR: misc      ports     powerpc   sparc64   standards sun4v
SEND-PR: threads   usb       www
>Class:		change-request
SEND-PR: [ sw-bug | doc-bug | change-request | update | =
maintainer-update ]
>Release:	FreeBSD 9.1-STABLE amd64
>Environment:
System: FreeBSD stanley.muccbc.hq.netapp.com 9.1-STABLE FreeBSD =
9.1-STABLE #6: Tue Mar 26 11:23:59 CET 2013
>Description:
The tcpsplit utility breaks a single libpcap packet trace into some =
number
of sub-traces, breaking the trace along TCP connection boundaries so =
that
a TCP connection doesn't end up split across two sub-traces. This is =
useful
for making large trace files tractable for in-depth analysis and for
subsetting a trace for developing analysis on only part of a trace.

WWW: http://www.icir.org/mallman/software/tcpsplit/

Generated with FreeBSD Port Tools 0.99_7 (mode: new)
>How-To-Repeat:
>Fix:

--- .shar begins here ---
# 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:
#
#	tcpsplit
#	tcpsplit/pkg-descr
#	tcpsplit/Makefile
#	tcpsplit/distinfo
#
echo c - tcpsplit
mkdir -p tcpsplit > /dev/null 2>&1
echo x - tcpsplit/pkg-descr
sed 's/^X//' >tcpsplit/pkg-descr << 'e3d9e747b715ad9adee730b0c9b7c9d8'
XThe tcpsplit utility breaks a single libpcap packet trace into some =
number
Xof sub-traces, breaking the trace along TCP connection boundaries so =
that
Xa TCP connection doesn't end up split across two sub-traces. This is =
useful
Xfor making large trace files tractable for in-depth analysis and for
Xsubsetting a trace for developing analysis on only part of a trace.
X
XWWW: http://www.icir.org/mallman/software/tcpsplit/
e3d9e747b715ad9adee730b0c9b7c9d8
echo x - tcpsplit/Makefile
sed 's/^X//' >tcpsplit/Makefile << '04eaeb5a82899896bba800e2eaaff909'
X# Created by: Lars Eggert <lars@eggert.org>
X# $FreeBSD$
X
XPORTNAME=3D	tcpsplit
XPORTVERSION=3D	0.2
XCATEGORIES=3D	net
XMASTER_SITES=3D	http://www.icir.org/mallman/software/tcpsplit/
X
XMAINTAINER=3D	lars@eggert.org
XCOMMENT=3D	Breaks a libpcap trace along TCP connection boundaries
X
XPLIST_FILES=3D	bin/tcpsplit
X
X.include <bsd.port.pre.mk>
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|gcc|cc|; s|-Werror ||' =
${WRKSRC}/Makefile
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/tcpsplit ${PREFIX}/bin
X
X.include <bsd.port.post.mk>
04eaeb5a82899896bba800e2eaaff909
echo x - tcpsplit/distinfo
sed 's/^X//' >tcpsplit/distinfo << '0e0bfc7b75ea07393a67bd9b28fe31fc'
XSHA256 (tcpsplit-0.2.tar.gz) =3D =
885a6609d04eb35f31f1c6f06a0b9afd88776d85dec0caa33a86cef3f3c09d1d
XSIZE (tcpsplit-0.2.tar.gz) =3D 6685
0e0bfc7b75ea07393a67bd9b28fe31fc
exit
--- .shar ends here ---
Comment 2 Antoine Brodin freebsd_committer freebsd_triage 2013-04-30 19:11:35 UTC
Responsible Changed
From-To: freebsd-ports-bugs->antoine

Take.
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-05-03 21:40:12 UTC
Author: antoine
Date: Fri May  3 20:39:58 2013
New Revision: 317242
URL: http://svnweb.freebsd.org/changeset/ports/317242

Log:
  New port: tcpsplit
  Breaks a libpcap trace along TCP connection boundaries
  WWW: http://www.icir.org/mallman/software/tcpsplit/
  
  PR:		ports/177441
  Submitted by:	Lars Eggert
  Approved by:	eadler (mentor)

Added:
  head/net/tcpsplit/
  head/net/tcpsplit/Makefile   (contents, props changed)
  head/net/tcpsplit/distinfo   (contents, props changed)
  head/net/tcpsplit/pkg-descr   (contents, props changed)
Modified:
  head/net/Makefile

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Fri May  3 20:39:02 2013	(r317241)
+++ head/net/Makefile	Fri May  3 20:39:58 2013	(r317242)
@@ -1149,6 +1149,7 @@
     SUBDIR += tcpsg
     SUBDIR += tcpshow
     SUBDIR += tcpslice
+    SUBDIR += tcpsplit
     SUBDIR += tcpstat
     SUBDIR += tcptrace
     SUBDIR += tcptraceroute

Added: head/net/tcpsplit/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/tcpsplit/Makefile	Fri May  3 20:39:58 2013	(r317242)
@@ -0,0 +1,29 @@
+# Created by: Lars Eggert <lars@eggert.org>
+# $FreeBSD$
+
+PORTNAME=	tcpsplit
+PORTVERSION=	0.2
+CATEGORIES=	net
+MASTER_SITES=	http://www.icir.org/mallman/software/tcpsplit/
+
+MAINTAINER=	lars@eggert.org
+COMMENT=	Breaks a libpcap trace along TCP connection boundaries
+
+LICENSE=	MIT
+
+PLIST_FILES=	bin/tcpsplit
+PORTDOCS=	README
+
+post-patch:
+	@${REINPLACE_CMD} -E '/^(CC|CFLAGS|INC|LD)/d' ${WRKSRC}/Makefile
+
+.include <bsd.port.options.mk>
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/tcpsplit ${PREFIX}/bin
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>

Added: head/net/tcpsplit/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/tcpsplit/distinfo	Fri May  3 20:39:58 2013	(r317242)
@@ -0,0 +1,2 @@
+SHA256 (tcpsplit-0.2.tar.gz) = 885a6609d04eb35f31f1c6f06a0b9afd88776d85dec0caa33a86cef3f3c09d1d
+SIZE (tcpsplit-0.2.tar.gz) = 6685

Added: head/net/tcpsplit/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/tcpsplit/pkg-descr	Fri May  3 20:39:58 2013	(r317242)
@@ -0,0 +1,7 @@
+The tcpsplit utility breaks a single libpcap packet trace into some number
+of sub-traces, breaking the trace along TCP connection boundaries so that
+a TCP connection doesn't end up split across two sub-traces. This is useful
+for making large trace files tractable for in-depth analysis and for
+subsetting a trace for developing analysis on only part of a trace.
+
+WWW: http://www.icir.org/mallman/software/tcpsplit/
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Antoine Brodin freebsd_committer freebsd_triage 2013-05-03 21:51:22 UTC
State Changed
From-To: open->closed

New port added, thanks!