summaryrefslogtreecommitdiff
path: root/net/tcptrace
diff options
context:
space:
mode:
Diffstat (limited to 'net/tcptrace')
-rw-r--r--net/tcptrace/Makefile41
-rw-r--r--net/tcptrace/distinfo2
-rw-r--r--net/tcptrace/files/patch-tcpdump.c.diff17
-rw-r--r--net/tcptrace/files/patch-tcpdump.h.diff34
-rw-r--r--net/tcptrace/files/patch-tcptrace.h.diff13
-rw-r--r--net/tcptrace/pkg-descr15
6 files changed, 0 insertions, 122 deletions
diff --git a/net/tcptrace/Makefile b/net/tcptrace/Makefile
deleted file mode 100644
index ac922cc9d2ce..000000000000
--- a/net/tcptrace/Makefile
+++ /dev/null
@@ -1,41 +0,0 @@
-# Created by: fenner
-# $FreeBSD$
-
-PORTNAME= tcptrace
-PORTVERSION= 6.6.7
-CATEGORIES= net
-MASTER_SITES= http://www.tcptrace.org/download/
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= TCP dump file analysis tool
-
-LICENSE= GPLv2+
-LICENSE_FILE= ${WRKSRC}/COPYING
-
-BROKEN= unfetchable
-DEPRECATED= Unfetchable, unmaintained
-EXPIRATION_DATE= 2019-10-16
-
-GNU_CONFIGURE= yes
-ALL_TARGET= tcptrace
-
-PLIST_FILES= bin/${PORTNAME} \
- bin/xpl2gpl \
- man/man1/tcptrace.1.gz
-
-PORTDOCS= ARGS CHANGES FAQ README README.mailing_list \
- README.modules README.tline_graphs README.tput_graphs \
- README.version README.xpl2gpl THANKS dot_tcptracerc
-
-OPTIONS_DEFINE= DOCS
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/tcptrace ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/xpl2gpl ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man ${STAGEDIR}${MAN1PREFIX}/man/man1/${PORTNAME}.1
-
-do-install-DOCS-on:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
-
-.include <bsd.port.mk>
diff --git a/net/tcptrace/distinfo b/net/tcptrace/distinfo
deleted file mode 100644
index c2d87907266b..000000000000
--- a/net/tcptrace/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (tcptrace-6.6.7.tar.gz) = 63380a4051933ca08979476a9dfc6f959308bc9f60d45255202e388eb56910bd
-SIZE (tcptrace-6.6.7.tar.gz) = 3773308
diff --git a/net/tcptrace/files/patch-tcpdump.c.diff b/net/tcptrace/files/patch-tcpdump.c.diff
deleted file mode 100644
index 6741840aaa4f..000000000000
--- a/net/tcptrace/files/patch-tcpdump.c.diff
+++ /dev/null
@@ -1,17 +0,0 @@
---- tcpdump.c.orig Thu May 5 18:41:30 2005
-+++ tcpdump.c Thu May 5 18:41:53 2005
-@@ -112,10 +112,13 @@
- /* for some reason, the windows version of tcpdump is using */
- /* this. It looks just like ethernet to me */
- case PCAP_DLT_EN10MB:
-- offset = find_ip_eth(buf); /* Here we check if we are dealing with Straight Ethernet encapsulation or PPPoE */
-+ offset = find_ip_eth(buf); /* Here we check if we are dealing with Straight Ethernet encapsulation, PPPoE or .1q VLAN encapsulation */
- memcpy(&eth_header, buf, EH_SIZE); /* save ether header */
- switch (offset)
- {
-+ case EH_SIZE + ETHER_VLAN_ENCAP_LEN:
-+ memcpy(&eth_header.ether_type, buf+EH_SIZE+2, 2);
-+ /* FALLTHROUGH */
- case EH_SIZE: /* straight Ethernet encapsulation */
- memcpy((char *)ip_buf,buf+offset,iplen-offset);
- callback_plast = ip_buf+iplen-offset-1;
diff --git a/net/tcptrace/files/patch-tcpdump.h.diff b/net/tcptrace/files/patch-tcpdump.h.diff
deleted file mode 100644
index f64859705096..000000000000
--- a/net/tcptrace/files/patch-tcpdump.h.diff
+++ /dev/null
@@ -1,34 +0,0 @@
---- tcpdump.h.orig Thu May 5 18:41:37 2005
-+++ tcpdump.h Thu May 5 18:41:53 2005
-@@ -179,7 +179,7 @@
- }
-
- /* This function determine the offset for the IP packet in an Ethernet frame */
--/* We handle two cases : straight Ethernet encapsulation or PPPoE encapsulation */
-+/* We handle three cases : straight Ethernet, PPPoE, or .1q VLAN encapsulation */
- /* Written by Yann Samama (ysamama@nortelnetworks.com) on july 18th, 2003 */
- static int find_ip_eth(char* buf)
- {
-@@ -192,16 +192,19 @@
- switch (eth_proto_type)
- {
- case ETHERTYPE_IPV6: /* it's pure IPv6 over ethernet */
-- offset = 14;
-- break;
-+ /* FALLTHROUGH */
- case ETHERTYPE_IP: /* it's pure IPv4 over ethernet */
-- offset = 14;
-+ offset = sizeof(struct ether_header);
- break;
- case ETHERTYPE_PPPOE_SESSION: /* it's a PPPoE session */
- memcpy(&ppp_proto_type, buf+20, 2);
- ppp_proto_type = ntohs(ppp_proto_type);
- if (ppp_proto_type == 0x0021) /* it's IP over PPPoE */
- offset = PPPOE_SIZE;
-+ break;
-+ case ETHERTYPE_VLAN:
-+ offset = sizeof(struct ether_header) +
-+ ETHER_VLAN_ENCAP_LEN;
- break;
- default: /* well, this is not an IP packet */
- offset = -1;
diff --git a/net/tcptrace/files/patch-tcptrace.h.diff b/net/tcptrace/files/patch-tcptrace.h.diff
deleted file mode 100644
index 8c3a44487abb..000000000000
--- a/net/tcptrace/files/patch-tcptrace.h.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- tcptrace.h.orig Thu May 5 18:41:47 2005
-+++ tcptrace.h Thu May 5 18:41:53 2005
-@@ -1182,6 +1182,10 @@
- #define ETHERTYPE_VLAN 0x8100
- #endif /* 802.1Q Virtual LAN */
-
-+#ifndef ETHER_VLAN_ENCAP_LEN
-+#define ETHER_VLAN_ENCAP_LEN 4
-+#endif /* 802.1Q tag header length */
-+
- /* support for PPPoE encapsulation added by Yann Samama (ysamama@nortelnetworks.com)*/
- #ifndef ETHERTYPE_PPPOE_SESSION
- #define ETHERTYPE_PPPOE_SESSION 0x8864
diff --git a/net/tcptrace/pkg-descr b/net/tcptrace/pkg-descr
deleted file mode 100644
index 34e364fe651a..000000000000
--- a/net/tcptrace/pkg-descr
+++ /dev/null
@@ -1,15 +0,0 @@
-tcptrace is a TCP connection analysis tool. It can tell you detailed
-information about TCP connections by sifting through dump files.
-The dump file formats supported are:
- Standard tcpdump format (you need the pcap library)
- Sun's snoop format
- Macintosh Etherpeek format
- HP/NetMetrix protocol analysis format
- NS simulator output format
- NetScout
- NLANR Tsh Format
-
-To see the graphs, you'll also need Tim Shepard's xplot program,
-available at http://www.xplot.org
-
-WWW: http://www.tcptrace.org/