summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjlam <jlam>2001-09-26 05:49:31 +0000
committerjlam <jlam>2001-09-26 05:49:31 +0000
commit6251c9a5db274c1893fb3e83a28c0e8ea86072e5 (patch)
treec59648d6e931c648fb1346c608ce5dd85c6263ee /net
parent81fd8843a7d7e47deb7a4a7597558f3d8c0807b1 (diff)
downloadpkgsrc-6251c9a5db274c1893fb3e83a28c0e8ea86072e5.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')
-rw-r--r--net/tcpslice/Makefile16
-rw-r--r--net/tcpslice/distinfo5
-rw-r--r--net/tcpslice/patches/patch-aa26
-rw-r--r--net/tcpslice/pkg/DESCR3
-rw-r--r--net/tcpslice/pkg/PLIST3
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