diff options
author | jlam <jlam@pkgsrc.org> | 2001-09-26 05:49:31 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-09-26 05:49:31 +0000 |
commit | 3ef98c60905ae5c8a26170cc7192983fd5cd551e (patch) | |
tree | c59648d6e931c648fb1346c608ce5dd85c6263ee /net/tcpslice | |
parent | 11b3206fa194f60d51ea66ccb4d92f30314f8557 (diff) | |
download | pkgsrc-3ef98c60905ae5c8a26170cc7192983fd5cd551e.tar.gz |
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 <seb@pbox.org>.
Diffstat (limited to 'net/tcpslice')
-rw-r--r-- | net/tcpslice/Makefile | 16 | ||||
-rw-r--r-- | net/tcpslice/distinfo | 5 | ||||
-rw-r--r-- | net/tcpslice/patches/patch-aa | 26 | ||||
-rw-r--r-- | net/tcpslice/pkg/DESCR | 3 | ||||
-rw-r--r-- | net/tcpslice/pkg/PLIST | 3 |
5 files changed, 53 insertions, 0 deletions
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 |