From 6251c9a5db274c1893fb3e83a28c0e8ea86072e5 Mon Sep 17 00:00:00 2001 From: jlam Date: Wed, 26 Sep 2001 05:49:31 +0000 Subject: net/tcpslice - tool for extracting portions of tcpdump's packet trace files Tcpslice extract pieces of and/or merge together packet trace files generated using tcpdump's -w flag. Tcpslice uses libpcap, a system-independent interface for user-level packet capture. Provided in pkg/13926 by Stoned Elipot . --- net/tcpslice/Makefile | 16 ++++++++++++++++ net/tcpslice/distinfo | 5 +++++ net/tcpslice/patches/patch-aa | 26 ++++++++++++++++++++++++++ net/tcpslice/pkg/DESCR | 3 +++ net/tcpslice/pkg/PLIST | 3 +++ 5 files changed, 53 insertions(+) create mode 100644 net/tcpslice/Makefile create mode 100644 net/tcpslice/distinfo create mode 100644 net/tcpslice/patches/patch-aa create mode 100644 net/tcpslice/pkg/DESCR create mode 100644 net/tcpslice/pkg/PLIST (limited to 'net') diff --git a/net/tcpslice/Makefile b/net/tcpslice/Makefile new file mode 100644 index 00000000000..a1878de2f98 --- /dev/null +++ b/net/tcpslice/Makefile @@ -0,0 +1,16 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/09/26 05:49:31 jlam Exp $ + +DISTNAME= tcpslice-1.2a1 +PKGNAME= tcpslice-1.2.0.1 +CATEGORIES= net +MASTER_SITES= ftp://ftp.ee.lbl.gov/ + +MAINTAINER= seb@pbox.org +COMMENT= tool for extracting portions of tcpdump's packet trace files + +USE_BUILDLINK_ONLY= YES +GNU_CONFIGURE= YES +INSTALL_TARGET= install install-man + +.include "../../net/libpcap/buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/net/tcpslice/distinfo b/net/tcpslice/distinfo new file mode 100644 index 00000000000..8db77d277e8 --- /dev/null +++ b/net/tcpslice/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/09/26 05:49:31 jlam Exp $ + +SHA1 (tcpslice-1.2a1.tar.gz) = ff954089339d375ffa780a10a5df8d6033515126 +Size (tcpslice-1.2a1.tar.gz) = 59286 bytes +SHA1 (patch-aa) = 05c59300a87d049bb67596e19527f61ea0d77b1c diff --git a/net/tcpslice/patches/patch-aa b/net/tcpslice/patches/patch-aa new file mode 100644 index 00000000000..e2649bedd1f --- /dev/null +++ b/net/tcpslice/patches/patch-aa @@ -0,0 +1,26 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/09/26 05:49:31 jlam Exp $ + +--- Makefile.in.orig Sun Sep 10 10:54:27 2000 ++++ Makefile.in +@@ -56,6 +56,9 @@ + + INSTALL = @INSTALL@ + ++INSTALL_PROGRAM_DIR = $(BSD_INSTALL_PROGRAM_DIR) ++INSTALL_MAN_DIR = $(BSD_INSTALL_MAN_DIR) ++ + # Explicitly define compilation rule since SunOS 4's make doesn't like gcc. + # Also, gcc does not remove the .o before forking 'as', which can be a + # problem if you don't own the file but can write to the directory. +@@ -97,9 +100,11 @@ + sed -e 's/.*/char version[] = "&";/' $(srcdir)/VERSION > $@ + + install: force ++ -$(INSTALL_PROGRAM_DIR) $(DESTDIR)$(BINDEST) + $(INSTALL) -m 555 -o bin -g bin tcpslice $(DESTDIR)$(BINDEST) + + install-man: force ++ $(INSTALL_MAN_DIR) $(DESTDIR)$(MANDEST)/man1 + $(INSTALL) -m 444 -o bin -g bin $(srcdir)/$(PROG).1 \ + $(DESTDIR)$(MANDEST)/man1 + diff --git a/net/tcpslice/pkg/DESCR b/net/tcpslice/pkg/DESCR new file mode 100644 index 00000000000..804cabc63e8 --- /dev/null +++ b/net/tcpslice/pkg/DESCR @@ -0,0 +1,3 @@ +Tcpslice extract pieces of and/or merge together packet trace files generated +using tcpdump's -w flag. Tcpslice uses libpcap, a system-independent interface +for user-level packet capture. diff --git a/net/tcpslice/pkg/PLIST b/net/tcpslice/pkg/PLIST new file mode 100644 index 00000000000..efd79310080 --- /dev/null +++ b/net/tcpslice/pkg/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/09/26 05:49:31 jlam Exp $ +sbin/tcpslice +man/man1/tcpslice.1 -- cgit v1.2.3