mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
net/tcpsplit: Update to 0.3
- Convert REINPLACE_CMD to patch file - Reformat pkg-descr - Take maintainership Changes: https://www.icir.org/mallman/software/tcpsplit/ChangeLog
This commit is contained in:
parent
2e5e4cf245
commit
ec598fd9c8
4 changed files with 25 additions and 20 deletions
|
@ -1,28 +1,18 @@
|
||||||
PORTNAME= tcpsplit
|
PORTNAME= tcpsplit
|
||||||
PORTVERSION= 0.2
|
PORTVERSION= 0.3
|
||||||
CATEGORIES= net
|
CATEGORIES= net
|
||||||
MASTER_SITES= http://www.icir.org/mallman/software/tcpsplit/
|
MASTER_SITES= http://www.icir.org/mallman/software/tcpsplit/
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= sunpoet@FreeBSD.org
|
||||||
COMMENT= Breaks a libpcap trace along TCP connection boundaries
|
COMMENT= Break a libpcap trace along TCP connection boundaries
|
||||||
WWW= https://www.icir.org/mallman/software/tcpsplit/
|
WWW= https://www.icir.org/mallman/software/tcpsplit/
|
||||||
|
|
||||||
LICENSE= MIT
|
LICENSE= MIT
|
||||||
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
|
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
|
||||||
|
|
||||||
PLIST_FILES= bin/tcpsplit
|
PLIST_FILES= bin/tcpsplit
|
||||||
PORTDOCS= README
|
|
||||||
|
|
||||||
OPTIONS_DEFINE= DOCS
|
|
||||||
|
|
||||||
post-patch:
|
|
||||||
@${REINPLACE_CMD} -E '/^(CC|CFLAGS|INC|LD)/d' ${WRKSRC}/Makefile
|
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/tcpsplit ${STAGEDIR}${PREFIX}/bin
|
${INSTALL_PROGRAM} ${WRKSRC}/tcpsplit ${STAGEDIR}${PREFIX}/bin
|
||||||
|
|
||||||
do-install-DOCS-on:
|
|
||||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
||||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
SHA256 (tcpsplit-0.2.tar.gz) = 885a6609d04eb35f31f1c6f06a0b9afd88776d85dec0caa33a86cef3f3c09d1d
|
TIMESTAMP = 1742070270
|
||||||
SIZE (tcpsplit-0.2.tar.gz) = 6685
|
SHA256 (tcpsplit-0.3.tar.gz) = 9ba0a12d294fa4ccc8cad8d9662126f01b436ced48642c3fb2520121943f5cf5
|
||||||
|
SIZE (tcpsplit-0.3.tar.gz) = 7207
|
||||||
|
|
14
net/tcpsplit/files/patch-Makefile
Normal file
14
net/tcpsplit/files/patch-Makefile
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
--- Makefile.orig 2025-03-06 20:45:25 UTC
|
||||||
|
+++ Makefile
|
||||||
|
@@ -32,11 +32,6 @@ VERSION=0.3
|
||||||
|
|
||||||
|
VERSION=0.3
|
||||||
|
|
||||||
|
-CC=gcc
|
||||||
|
-INC=-Ilib/include
|
||||||
|
-CFLAGS=-g -Wall -Werror $(INC) $(OTHER)
|
||||||
|
-LD=gcc
|
||||||
|
-LDFLAGS=$(CFLAGS)
|
||||||
|
LIBS=-lpcap
|
||||||
|
|
||||||
|
OBJS=balancer.o ipa_db.o tcpsplit.o
|
|
@ -1,5 +1,5 @@
|
||||||
The tcpsplit utility breaks a single libpcap packet trace into some number
|
The tcpsplit utility breaks a single libpcap packet trace into some number of
|
||||||
of sub-traces, breaking the trace along TCP connection boundaries so that
|
sub-traces, breaking the trace along TCP connection boundaries so that a TCP
|
||||||
a TCP connection doesn't end up split across two sub-traces. This is useful
|
connection doesn't end up split across two sub-traces. This is useful for making
|
||||||
for making large trace files tractable for in-depth analysis and for
|
large trace files tractable for in-depth analysis and for subsetting a trace for
|
||||||
subsetting a trace for developing analysis on only part of a trace.
|
developing analysis on only part of a trace.
|
||||||
|
|
Loading…
Add table
Reference in a new issue