summaryrefslogtreecommitdiff
path: root/net/tcpslice
diff options
context:
space:
mode:
authorScott Mace <smace@FreeBSD.org>2002-04-15 17:27:05 +0000
committerScott Mace <smace@FreeBSD.org>2002-04-15 17:27:05 +0000
commit06ad01b02cf801d5ef6f180f5d19056c200f869e (patch)
treea80c7de34eaca4d6fbcbc79b92473e6b9b754574 /net/tcpslice
parentGC tons of useless msgfmt:... in BUILD_DEPENDS, when libintl already in (diff)
add tcpslice 1.2a1
A tool for extracting portions of pcap files
Notes
Notes: svn path=/head/; revision=57722
Diffstat (limited to 'net/tcpslice')
-rw-r--r--net/tcpslice/Makefile19
-rw-r--r--net/tcpslice/distinfo1
-rw-r--r--net/tcpslice/files/patch-aa37
-rw-r--r--net/tcpslice/pkg-comment1
-rw-r--r--net/tcpslice/pkg-descr10
-rw-r--r--net/tcpslice/pkg-plist1
6 files changed, 69 insertions, 0 deletions
diff --git a/net/tcpslice/Makefile b/net/tcpslice/Makefile
new file mode 100644
index 000000000000..7229857d703d
--- /dev/null
+++ b/net/tcpslice/Makefile
@@ -0,0 +1,19 @@
+# New ports collection makefile for: tcpslice
+# Date created: 15 April 2002
+# Whom: smace@freebsd.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= tcpslice
+PORTVERSION= 1.2a1
+CATEGORIES= net
+MASTER_SITES= ftp://ftp.ee.lbl.gov/
+
+MAINTAINER= smace@freebsd.org
+
+MAN1= tcpslice.1
+
+GNU_CONFIGURE= yes
+
+.include <bsd.port.mk>
diff --git a/net/tcpslice/distinfo b/net/tcpslice/distinfo
new file mode 100644
index 000000000000..9c1b4224f4e0
--- /dev/null
+++ b/net/tcpslice/distinfo
@@ -0,0 +1 @@
+MD5 (tcpslice-1.2a1.tar.gz) = 37d78ae883df2d8b42766b413a2088f1
diff --git a/net/tcpslice/files/patch-aa b/net/tcpslice/files/patch-aa
new file mode 100644
index 000000000000..d36da724b8c3
--- /dev/null
+++ b/net/tcpslice/files/patch-aa
@@ -0,0 +1,37 @@
+--- Makefile.in.orig Mon Apr 15 12:07:52 2002
++++ Makefile.in Mon Apr 15 12:12:07 2002
+@@ -27,9 +27,9 @@
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ # Pathname of directory to install the binary
+-BINDEST = @sbindir@
++BINDIR = @bindir@
+ # Pathname of directory to install the man page
+-MANDEST = @mandir@
++MANDIR = @mandir@
+
+ # VPATH
+ srcdir = @srcdir@
+@@ -55,6 +55,8 @@
+ LIBS = @LIBS@
+
+ INSTALL = @INSTALL@
++INSTALL_PROGRAM=@INSTALL_PROGRAM@
++INSTALL_DATA=@INSTALL_DATA@
+
+ # 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
+@@ -97,11 +99,8 @@
+ sed -e 's/.*/char version[] = "&";/' $(srcdir)/VERSION > $@
+
+ install: force
+- $(INSTALL) -m 555 -o bin -g bin tcpslice $(DESTDIR)$(BINDEST)
+-
+-install-man: force
+- $(INSTALL) -m 444 -o bin -g bin $(srcdir)/$(PROG).1 \
+- $(DESTDIR)$(MANDEST)/man1
++ $(INSTALL_PROGRAM) -m 755 tcpslice $(DESTDIR)$(BINDIR)
++ $(INSTALL_DATA) tcpslice.1 $(DESTDIR)$(MANDIR)/man1
+
+ lint: $(GENSRC) force
+ lint -hbxn $(SRC) | \
diff --git a/net/tcpslice/pkg-comment b/net/tcpslice/pkg-comment
new file mode 100644
index 000000000000..c846c238ec8a
--- /dev/null
+++ b/net/tcpslice/pkg-comment
@@ -0,0 +1 @@
+A tool for extracting portions of pcap files
diff --git a/net/tcpslice/pkg-descr b/net/tcpslice/pkg-descr
new file mode 100644
index 000000000000..95054ba73b7f
--- /dev/null
+++ b/net/tcpslice/pkg-descr
@@ -0,0 +1,10 @@
+TCPSLICE 1.1
+Lawrence Berkeley National Laboratory
+Network Research Group
+tcpdump@ee.lbl.gov
+ftp://ftp.ee.lbl.gov/tcpslice.tar.Z
+
+This directory contains source code for tcpslice, a tool for extracting
+portions of packet trace files generated using tcpdump's -w flag. The
+original distribution is available via anonymous ftp to ftp.ee.lbl.gov,
+in tcpslice.tar.Z.
diff --git a/net/tcpslice/pkg-plist b/net/tcpslice/pkg-plist
new file mode 100644
index 000000000000..26b305de9e0f
--- /dev/null
+++ b/net/tcpslice/pkg-plist
@@ -0,0 +1 @@
+bin/tcpslice