diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-10-13 14:11:31 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-10-13 14:11:31 +0000 |
commit | 5403f7761fa32166a5273796afb0a0935dcbc5ef (patch) | |
tree | dc9366a4c53410dcf469bc50d867505b01c46be7 /net/netdude | |
parent | 803aa91504645cae858cb25dd16a1d8d28f82676 (diff) | |
download | FreeBSD-ports-5403f7761fa32166a5273796afb0a0935dcbc5ef.zip FreeBSD-ports-5403f7761fa32166a5273796afb0a0935dcbc5ef.tar.gz |
add netdude 0.3.1
NETwork DUmp data Displayer and Editor for tcpdump tracefiles
Diffstat (limited to 'net/netdude')
25 files changed, 739 insertions, 0 deletions
diff --git a/net/netdude/Makefile b/net/netdude/Makefile new file mode 100644 index 0000000..a38f46e --- /dev/null +++ b/net/netdude/Makefile @@ -0,0 +1,45 @@ +# ex:ts=8 +# New ports collection makefile for: netdude +# Date created: Dec 27, 2001 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= netdude +PORTVERSION= 0.3.1 +CATEGORIES= net +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= ports@FreeBSD.org + +LIB_DEPENDS= intl:${PORTSDIR}/devel/gettext \ + iconv:${PORTSDIR}/converters/libiconv \ + ltdl:${PORTSDIR}/devel/libtool + +USE_REINPLACE= yes +USE_GNOMENG= yes +USE_GNOME= glib12 gtk12 +USE_LIBTOOL= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib -lltdl" +USE_GMAKE= yes + +MAN1= netdude.1 + +post-patch: + @${REINPLACE_CMD} -e "s|gtk-config|${GTK_CONFIG}|g" \ + -e "s|glib-config|${GLIB_CONFIG}|g" ${WRKSRC}/configure +.for file in nd_icmp.c nd_icmp.h nd_icmp_callbacks.c + @${REINPLACE_CMD} -e "s|struct icmphdr|struct icmp|g" \ + ${WRKSRC}/protocols/icmp/${file} +.endfor + @${REINPLACE_CMD} -e "s|->type|->icmp_type|g" \ + -e "s|->code|->icmp_code|g" \ + -e "s|->checksum|->icmp_cksum|g" \ + -e "s|->un.echo.id|->icmp_id|g" \ + -e "s|->un.echo.sequence|->icmp_seq|g" \ + ${WRKSRC}/protocols/icmp/nd_icmp.c + +.include <bsd.port.mk> diff --git a/net/netdude/distinfo b/net/netdude/distinfo new file mode 100644 index 0000000..3770894 --- /dev/null +++ b/net/netdude/distinfo @@ -0,0 +1 @@ +MD5 (netdude-0.3.1.tar.gz) = 8b4ad4acdc285b071267be84b801ceb2 diff --git a/net/netdude/files/patch-Makfile.in b/net/netdude/files/patch-Makfile.in new file mode 100644 index 0000000..fafa3cf --- /dev/null +++ b/net/netdude/files/patch-Makfile.in @@ -0,0 +1,11 @@ +--- Makefile.in.orig Fri Oct 11 23:49:30 2002 ++++ Makefile.in Fri Oct 11 23:49:41 2002 +@@ -106,7 +106,7 @@ + install_sh = @install_sh@ + td = @td@ + +-SUBDIRS = libltdl src plugins protocols intl po pixmaps doc ++SUBDIRS = src plugins protocols intl po pixmaps doc + + MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess \ + config.h.in config.sub configure install-sh \ diff --git a/net/netdude/files/patch-configure b/net/netdude/files/patch-configure new file mode 100644 index 0000000..ac3f42a --- /dev/null +++ b/net/netdude/files/patch-configure @@ -0,0 +1,20 @@ +--- configure.orig Fri Oct 11 23:43:36 2002 ++++ configure Fri Oct 11 23:44:16 2002 +@@ -418,7 +418,7 @@ + PACKAGE_BUGREPORT= + + ac_unique_file="src/nd.h" +-ac_subdirs_all="$ac_subdirs_all libltdl" ++ac_subdirs_all="$ac_subdirs_all" + # Factoring default headers for most tests. + ac_includes_default="\ + #include <stdio.h> +@@ -2634,7 +2634,7 @@ + + + +-subdirs="$subdirs libltdl" ++subdirs="$subdirs" + + + diff --git a/net/netdude/files/patch-nd.h b/net/netdude/files/patch-nd.h new file mode 100644 index 0000000..9d7931c --- /dev/null +++ b/net/netdude/files/patch-nd.h @@ -0,0 +1,10 @@ +--- src/nd.h.orig Sat Oct 12 00:03:36 2002 ++++ src/nd.h Sat Oct 12 00:03:59 2002 +@@ -31,6 +31,7 @@ + #ifdef LINUX + #define __FAVOR_BSD + #endif ++#include <sys/types.h> + #include <netinet/in_systm.h> + #include <netinet/in.h> + diff --git a/net/netdude/files/patch-nd_arp.c b/net/netdude/files/patch-nd_arp.c new file mode 100644 index 0000000..d927d6c --- /dev/null +++ b/net/netdude/files/patch-nd_arp.c @@ -0,0 +1,10 @@ +--- protocols/arp/nd_arp.c.orig Sat Oct 12 00:15:36 2002 ++++ protocols/arp/nd_arp.c Sat Oct 12 00:15:47 2002 +@@ -23,6 +23,7 @@ + + */ + ++#include <sys/types.h> + #include <sys/socket.h> + #include <netinet/in.h> + #include <arpa/inet.h> diff --git a/net/netdude/files/patch-nd_arp.h b/net/netdude/files/patch-nd_arp.h new file mode 100644 index 0000000..4c5c4f2 --- /dev/null +++ b/net/netdude/files/patch-nd_arp.h @@ -0,0 +1,10 @@ +--- protocols/arp/nd_arp.h.orig Sat Oct 12 00:17:24 2002 ++++ protocols/arp/nd_arp.h Sat Oct 12 00:17:38 2002 +@@ -26,6 +26,7 @@ + #ifndef __nd_arp_h + #define __nd_arp_h + ++#include <sys/socket.h> + #include <net/ethernet.h> + #include <net/if_arp.h> + diff --git a/net/netdude/files/patch-nd_ether.c b/net/netdude/files/patch-nd_ether.c new file mode 100644 index 0000000..8b73bdc --- /dev/null +++ b/net/netdude/files/patch-nd_ether.c @@ -0,0 +1,10 @@ +--- protocols/ether/nd_ether.c.orig Sat Oct 12 00:18:53 2002 ++++ protocols/ether/nd_ether.c Sat Oct 12 00:19:07 2002 +@@ -23,6 +23,7 @@ + + */ + ++#include <sys/types.h> + #include <net/ethernet.h> + + #include <netdude/nd_debug.h> diff --git a/net/netdude/files/patch-nd_ether_callbacks.c b/net/netdude/files/patch-nd_ether_callbacks.c new file mode 100644 index 0000000..988c816 --- /dev/null +++ b/net/netdude/files/patch-nd_ether_callbacks.c @@ -0,0 +1,28 @@ +--- protocols/ether/nd_ether_callbacks.c.orig Sat Oct 12 00:20:26 2002 ++++ protocols/ether/nd_ether_callbacks.c Sat Oct 12 00:23:48 2002 +@@ -22,6 +22,7 @@ + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + */ ++#include <sys/types.h> + #include <net/ethernet.h> + #include <netdude/nd.h> + #include <netdude/nd_debug.h> +@@ -54,7 +55,7 @@ + if (!eh) + continue; + +- memcpy(eh->ether_shost, address, ETH_ALEN); ++ memcpy(eh->ether_shost, address, ETHER_ADDR_LEN); + nd_packet_modified_at_index(nd_pit_get(&pit), nd_pit_get_index(&pit)); + } + +@@ -84,7 +85,7 @@ + if (!eh) + continue; + +- memcpy(eh->ether_dhost, address, ETH_ALEN); ++ memcpy(eh->ether_dhost, address, ETHER_ADDR_LEN); + nd_packet_modified_at_index(nd_pit_get(&pit), nd_pit_get_index(&pit)); + } + diff --git a/net/netdude/files/patch-nd_fddi.h b/net/netdude/files/patch-nd_fddi.h new file mode 100644 index 0000000..2f01d6c --- /dev/null +++ b/net/netdude/files/patch-nd_fddi.h @@ -0,0 +1,11 @@ +--- protocols/fddi/nd_fddi.h.orig Sat Oct 12 00:25:59 2002 ++++ protocols/fddi/nd_fddi.h Sat Oct 12 00:26:10 2002 +@@ -26,7 +26,7 @@ + #ifndef __nd_fddi_h + #define __nd_fddi_h + +-#include <netinet/if_fddi.h> ++#include <net/fddi.h> + + #include <netdude/nd_gettext.h> + #include <netdude/nd_packet.h> diff --git a/net/netdude/files/patch-nd_fddi_callbacks.c b/net/netdude/files/patch-nd_fddi_callbacks.c new file mode 100644 index 0000000..95a7a0d --- /dev/null +++ b/net/netdude/files/patch-nd_fddi_callbacks.c @@ -0,0 +1,29 @@ +--- protocols/fddi/nd_fddi_callbacks.c.orig Sat Oct 12 00:29:27 2002 ++++ protocols/fddi/nd_fddi_callbacks.c Sat Oct 12 00:33:10 2002 +@@ -22,8 +22,6 @@ + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + */ +-#include <netinet/if_fddi.h> +- + #include <netdude/nd_debug.h> + #include <netdude/nd_macros.h> + #include <netdude/nd_gui.h> +@@ -73,7 +71,7 @@ + if (!fh) + continue; + +- memcpy(fh->fddi_dhost, address, FDDI_K_ALEN); ++ memcpy(fh->fddi_dhost, address, FDDI_ADDR_LEN); + nd_packet_modified_at_index(nd_pit_get(&pit), nd_pit_get_index(&pit)); + } + +@@ -119,7 +117,7 @@ + if (!fh) + continue; + +- memcpy(fh->fddi_shost, address, FDDI_K_ALEN); ++ memcpy(fh->fddi_shost, address, FDDI_ADDR_LEN); + nd_packet_modified_at_index(nd_pit_get(&pit), nd_pit_get_index(&pit)); + } + diff --git a/net/netdude/files/patch-nd_icmp.c b/net/netdude/files/patch-nd_icmp.c new file mode 100644 index 0000000..befb45b --- /dev/null +++ b/net/netdude/files/patch-nd_icmp.c @@ -0,0 +1,10 @@ +--- protocols/icmp/nd_icmp.c.orig Fri Sep 20 02:41:19 2002 ++++ protocols/icmp/nd_icmp.c Sun Oct 13 12:00:17 2002 +@@ -22,6 +22,7 @@ + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + */ ++#include <sys/types.h> + #include <sys/socket.h> + #include <netinet/in.h> + #include <arpa/inet.h> diff --git a/net/netdude/files/patch-nd_icmp.h b/net/netdude/files/patch-nd_icmp.h new file mode 100644 index 0000000..5bd94fb --- /dev/null +++ b/net/netdude/files/patch-nd_icmp.h @@ -0,0 +1,49 @@ +--- protocols/icmp/nd_icmp.h.orig Sun Oct 13 12:45:27 2002 ++++ protocols/icmp/nd_icmp.h Sun Oct 13 12:45:40 2002 +@@ -30,8 +30,46 @@ + #include <netdude/nd_types.h> + + #include <netinet/in.h> ++#include <netinet/ip.h> + #include <netinet/ip_icmp.h> + ++#ifdef __FreeBSD__ ++#define ICMP_DEST_UNREACH ICMP_UNREACH ++#define ICMP_SOURCE_QUENCH ICMP_SOURCEQUENCH ++#define ICMP_TIME_EXCEEDED ICMP_TIMXCEED ++#define ICMP_PARAMETERPROB ICMP_PARAMPROB ++#define ICMP_TIMESTAMP ICMP_TSTAMP ++#define ICMP_TIMESTAMPREPLY ICMP_TSTAMPREPLY ++#define ICMP_INFO_REQUEST ICMP_IREQ ++#define ICMP_INFO_REPLY ICMP_IREQREPLY ++#define ICMP_ADDRESS ICMP_MASKREQ ++#define ICMP_ADDRESSREPLY ICMP_MASKREPLY ++ ++#define ICMP_NET_UNREACH ICMP_UNREACH_NET ++#define ICMP_HOST_UNREACH ICMP_UNREACH_HOST ++#define ICMP_PROT_UNREACH ICMP_UNREACH_PROTOCOL ++#define ICMP_PORT_UNREACH ICMP_UNREACH_PORT ++#define ICMP_FRAG_NEEDED ICMP_UNREACH_NEEDFRAG ++#define ICMP_SR_FAILED ICMP_UNREACH_SRCFAIL ++#define ICMP_NET_UNKNOWN ICMP_UNREACH_NET_UNKNOWN ++#define ICMP_HOST_UNKNOWN ICMP_UNREACH_HOST_UNKNOWN ++#define ICMP_HOST_ISOLATED ICMP_UNREACH_ISOLATED ++#define ICMP_NET_ANO ICMP_UNREACH_NET_PROHIB ++#define ICMP_HOST_ANO ICMP_UNREACH_HOST_PROHIB ++#define ICMP_NET_UNR_TOS ICMP_UNREACH_TOSNET ++#define ICMP_HOST_UNR_TOS ICMP_UNREACH_TOSHOST ++#define ICMP_PKT_FILTERED ICMP_UNREACH_FILTER_PROHIB ++#define ICMP_PREC_VIOLATION ICMP_UNREACH_HOST_PRECEDENCE ++#define ICMP_PREC_CUTOFF ICMP_UNREACH_PRECEDENCE_CUTOFF ++ ++#define ICMP_REDIR_NET ICMP_REDIRECT_NET ++#define ICMP_REDIR_HOST ICMP_REDIRECT_HOST ++#define ICMP_REDIR_NETTOS ICMP_REDIRECT_TOSNET ++#define ICMP_REDIR_HOSTTOS ICMP_REDIRECT_TOSHOST ++ ++#define ICMP_EXC_TTL ICMP_TIMXCEED_INTRANS ++#define ICMP_EXC_FRAGTIME ICMP_TIMXCEED_REASS ++#endif + + /* ICMP packet structure -- using our own for the funky stuff ... */ + diff --git a/net/netdude/files/patch-nd_icmp_callbacks.c b/net/netdude/files/patch-nd_icmp_callbacks.c new file mode 100644 index 0000000..12dbee0 --- /dev/null +++ b/net/netdude/files/patch-nd_icmp_callbacks.c @@ -0,0 +1,179 @@ +--- protocols/icmp/nd_icmp_callbacks.c.orig Fri Sep 20 02:40:51 2002 ++++ protocols/icmp/nd_icmp_callbacks.c Sun Oct 13 20:52:27 2002 +@@ -63,7 +63,7 @@ + + struct icmphdr *icmphdr = (struct icmphdr *) header; + +- switch (icmphdr->type) ++ switch (icmphdr->icmp_type) + { + case ICMP_DEST_UNREACH: + if (!unreach_menu) +@@ -82,7 +82,7 @@ + + nd_dialog_number(_("Enter ICMP code:"), + ND_BASE_DEC, +- icmphdr->code, ++ icmphdr->icmp_code, + 255, + (ND_NumberCallback) nd_icmp_code_value_cb, + NULL, +@@ -107,7 +107,7 @@ + if (!icmphdr) + continue; + +- icmphdr->checksum = htons(value); ++ icmphdr->icmp_cksum = htons(value); + nd_packet_modified_at_index(nd_pit_get(&pit), nd_pit_get_index(&pit)); + } + +@@ -125,7 +125,7 @@ + + nd_dialog_number(_("Enter ICMP checksum:"), + ND_BASE_HEX, +- ntohs(icmphdr->checksum), 65535, ++ ntohs(icmphdr->icmp_cksum), 65535, + icmp_sum_ok_cb, + NULL, + packet, data); +@@ -145,7 +145,7 @@ + if (!icmphdr) + continue; + +- switch (icmphdr->type) ++ switch (icmphdr->icmp_type) + { + case ICMP_ECHO: + case ICMP_ECHOREPLY: +@@ -161,7 +161,7 @@ + continue; + } + +- icmphdr->un.echo.id = htons(value); ++ icmphdr->icmp_id = htons(value); + nd_packet_modified_at_index(nd_pit_get(&pit), nd_pit_get_index(&pit)); + } + +@@ -179,7 +179,7 @@ + + nd_dialog_number(_("Enter ICMP identifier:"), + ND_BASE_DEC, +- ntohs(icmphdr->un.echo.id), ++ ntohs(icmphdr->icmp_id), + 65535, + (ND_NumberCallback) icmp_id_ok_cb, + NULL, +@@ -202,7 +202,7 @@ + if (!icmphdr) + continue; + +- switch (icmphdr->type) ++ switch (icmphdr->icmp_type) + { + case ICMP_ECHO: + case ICMP_ECHOREPLY: +@@ -218,7 +218,7 @@ + continue; + } + +- icmphdr->un.echo.sequence = htons(value); ++ icmphdr->icmp_seq = htons(value); + nd_packet_modified_at_index(nd_pit_get(&pit), nd_pit_get_index(&pit)); + } + +@@ -236,7 +236,7 @@ + + nd_dialog_number(_("Enter ICMP sequence number:"), + ND_BASE_DEC, +- ntohs(icmphdr->un.echo.sequence), ++ ntohs(icmphdr->icmp_seq), + 65535, + (ND_NumberCallback) icmp_seq_ok_cb, + NULL, +@@ -425,7 +425,7 @@ + if (!icmphdr) + continue; + +- icmphdr->un.gateway = htonl(value); ++ icmphdr->icmp_gwaddr.s_addr = htonl(value); + nd_packet_modified_at_index(nd_pit_get(&pit), nd_pit_get_index(&pit)); + } + +@@ -441,12 +441,12 @@ + { + struct icmphdr *icmphdr = (struct icmphdr *) header; + +- if (!nd_icmp_header_is_error(icmphdr) && icmphdr->type != 10) ++ if (!nd_icmp_header_is_error(icmphdr) && icmphdr->icmp_type != 10) + return; + + nd_dialog_number(_("Enter 32-bit ICMP data:"), + ND_BASE_DEC, +- ntohl(icmphdr->un.gateway), (guint) -1, ++ ntohl(icmphdr->icmp_gwaddr.s_addr), (guint) -1, + icmp_error_ok_cb, + NULL, packet, data); + } +@@ -589,7 +589,7 @@ + continue; + + icmphdr = (struct icmphdr *) data; +- if (icmphdr->type != 9) ++ if (icmphdr->icmp_type != 9) + continue; + + memcpy(data + 8 + entry_num * 8, address, sizeof(guchar) * 4); +@@ -634,7 +634,7 @@ + continue; + + icmphdr = (struct icmphdr *) data; +- if (icmphdr->type != 9) ++ if (icmphdr->icmp_type != 9) + continue; + + memcpy(data + 12 + entry_num * 8, &val, sizeof(guint32)); +@@ -684,7 +684,7 @@ + if (!icmphdr) + continue; + +- icmphdr->type = value; ++ icmphdr->icmp_type = value; + nd_packet_init(packet); + nd_packet_modified_at_index(nd_pit_get(&pit), nd_pit_get_index(&pit)); + } +@@ -703,7 +703,7 @@ + + nd_dialog_number(_("Enter ICMP type:"), + ND_BASE_DEC, +- icmphdr->type, ++ icmphdr->icmp_type, + 255, + (ND_NumberCallback) nd_icmp_type_value_cb, + NULL, +@@ -728,7 +728,7 @@ + if (!icmphdr) + continue; + +- icmphdr->code = value; ++ icmphdr->icmp_code = value; + nd_packet_modified_at_index(nd_pit_get(&pit), nd_pit_get_index(&pit)); + } + +@@ -746,7 +746,7 @@ + + nd_dialog_number(_("Enter ICMP code:"), + ND_BASE_DEC, +- icmphdr->code, ++ icmphdr->icmp_code, + 255, + (ND_NumberCallback) nd_icmp_code_value_cb, + NULL, +@@ -774,7 +774,7 @@ + + if (!nd_icmp_csum_correct(nd_pit_get(&pit), &correct_sum)) + { +- icmphdr->checksum = correct_sum; ++ icmphdr->icmp_cksum = correct_sum; + nd_packet_modified_at_index(nd_pit_get(&pit), nd_pit_get_index(&pit)); + } + } diff --git a/net/netdude/files/patch-nd_ip.c b/net/netdude/files/patch-nd_ip.c new file mode 100644 index 0000000..1825226 --- /dev/null +++ b/net/netdude/files/patch-nd_ip.c @@ -0,0 +1,11 @@ +--- protocols/ip/nd_ip.c.orig Sun Oct 13 21:33:19 2002 ++++ protocols/ip/nd_ip.c Sun Oct 13 21:34:05 2002 +@@ -102,7 +102,7 @@ + { N_("Low delay"), N_("Minimize delay"), IPTOS_LOWDELAY, nd_ip_tos_value_cb }, + { N_("Throughput"), N_("Maximize throughput"), IPTOS_THROUGHPUT, nd_ip_tos_value_cb }, + { N_("Reliability"), N_("Maximize reliability"), IPTOS_RELIABILITY, nd_ip_tos_value_cb }, +- { N_("Low cost"), N_("Minimize cost"), IPTOS_LOWCOST, nd_ip_tos_value_cb }, ++ { N_("Low cost"), N_("Minimize cost"), IPTOS_MINCOST, nd_ip_tos_value_cb }, + { N_("None"), N_("Clear all bits"), 0, nd_ip_tos_value_cb }, + { N_("Custom"), N_("Custom ToS value"), -1, nd_ip_tos_custom_cb }, + { NULL, NULL, 0, NULL} diff --git a/net/netdude/files/patch-nd_ip_callbacks.c b/net/netdude/files/patch-nd_ip_callbacks.c new file mode 100644 index 0000000..8b3078a --- /dev/null +++ b/net/netdude/files/patch-nd_ip_callbacks.c @@ -0,0 +1,10 @@ +--- protocols/ip/nd_ip_callbacks.c.orig Sun Oct 13 21:35:01 2002 ++++ protocols/ip/nd_ip_callbacks.c Sun Oct 13 21:35:31 2002 +@@ -26,6 +26,7 @@ + #ifdef LINUX + #define __FAVOR_BSD + #endif ++#include <sys/types.h> + #include <netinet/in_systm.h> + #include <netinet/in.h> + #include <netinet/ip.h> diff --git a/net/netdude/files/patch-nd_misc.c b/net/netdude/files/patch-nd_misc.c new file mode 100644 index 0000000..2390944 --- /dev/null +++ b/net/netdude/files/patch-nd_misc.c @@ -0,0 +1,10 @@ +--- src/nd_misc.c.orig Sat Oct 12 00:00:02 2002 ++++ src/nd_misc.c Sat Oct 12 00:00:19 2002 +@@ -37,6 +37,7 @@ + #include <sys/types.h> + #include <sys/stat.h> + #include <sys/ioctl.h> ++#include <sys/socket.h> + #include <net/if.h> + + #include <netdude/nd.h> diff --git a/net/netdude/files/patch-nd_misc.h b/net/netdude/files/patch-nd_misc.h new file mode 100644 index 0000000..03d3583 --- /dev/null +++ b/net/netdude/files/patch-nd_misc.h @@ -0,0 +1,10 @@ +--- src/nd_misc.h.orig Fri Oct 11 23:55:05 2002 ++++ src/nd_misc.h Fri Oct 11 23:55:41 2002 +@@ -27,6 +27,7 @@ + #define __nd_misc_h + + #include <stdlib.h> ++#include <sys/socket.h> + #include <net/if.h> + #include <gtk/gtk.h> + #include <netdude/nd_protocol.h> diff --git a/net/netdude/files/patch-nd_snap.c b/net/netdude/files/patch-nd_snap.c new file mode 100644 index 0000000..2253d80 --- /dev/null +++ b/net/netdude/files/patch-nd_snap.c @@ -0,0 +1,10 @@ +--- protocols/snap/nd_snap.c.orig Sun Oct 13 21:40:25 2002 ++++ protocols/snap/nd_snap.c Sun Oct 13 21:41:10 2002 +@@ -26,6 +26,7 @@ + # include <config.h> + #endif + ++#include <sys/types.h> + #include <net/ethernet.h> + + #include <netdude/nd_debug.h> diff --git a/net/netdude/files/patch-nd_tcb.c b/net/netdude/files/patch-nd_tcb.c new file mode 100644 index 0000000..0f00495 --- /dev/null +++ b/net/netdude/files/patch-nd_tcb.c @@ -0,0 +1,19 @@ +--- protocols/tcp/nd_tcb.c.orig Sun Oct 13 21:42:08 2002 ++++ protocols/tcp/nd_tcb.c Sun Oct 13 21:45:35 2002 +@@ -26,13 +26,15 @@ + # include <config.h> + #endif + ++#include <sys/types.h> ++#include <netinet/in_systm.h> ++#include <netinet/in.h> + #include <netinet/ip.h> + + #include <string.h> + #include <unistd.h> + #include <stdlib.h> + #include <stdio.h> +-#include <sys/types.h> + #include <glib.h> + + #include <netdude/nd.h> diff --git a/net/netdude/files/patch-nd_udp.c b/net/netdude/files/patch-nd_udp.c new file mode 100644 index 0000000..c0d9fe5 --- /dev/null +++ b/net/netdude/files/patch-nd_udp.c @@ -0,0 +1,13 @@ +--- protocols/udp/nd_udp.c.orig Sun Oct 13 21:47:40 2002 ++++ protocols/udp/nd_udp.c Sun Oct 13 21:49:50 2002 +@@ -26,6 +26,10 @@ + # include <config.h> + #endif + ++#include <sys/types.h> ++#include <netinet/in_systm.h> ++#include <netinet/in.h> ++#include <netinet/ip_var.h> + #include <netinet/ip.h> + + #include <netdude/nd_debug.h> diff --git a/net/netdude/files/patch-src::Makefile.in b/net/netdude/files/patch-src::Makefile.in new file mode 100644 index 0000000..fc8cada --- /dev/null +++ b/net/netdude/files/patch-src::Makefile.in @@ -0,0 +1,19 @@ +--- src/Makefile.in.orig Sat Oct 12 00:09:46 2002 ++++ src/Makefile.in Sat Oct 12 00:10:15 2002 +@@ -177,7 +177,7 @@ + gtkhex.c gtkhex.h + + +-netdude_LDADD = $(top_builddir)/libltdl/libltdlc.la @gtk_libs@ @glib_libs@ ++netdude_LDADD = @gtk_libs@ @glib_libs@ + subdir = src + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + CONFIG_HEADER = $(top_builddir)/config.h +@@ -197,7 +197,6 @@ + nd_trace_registry.$(OBJEXT) callbacks.$(OBJEXT) \ + interface.$(OBJEXT) support.$(OBJEXT) gtkhex.$(OBJEXT) + netdude_OBJECTS = $(am_netdude_OBJECTS) +-netdude_DEPENDENCIES = $(top_builddir)/libltdl/libltdlc.la + netdude_LDFLAGS = + + DEFS = @DEFS@ diff --git a/net/netdude/pkg-comment b/net/netdude/pkg-comment new file mode 100644 index 0000000..d40e65d --- /dev/null +++ b/net/netdude/pkg-comment @@ -0,0 +1 @@ +NETwork DUmp data Displayer and Editor for tcpdump tracefiles diff --git a/net/netdude/pkg-descr b/net/netdude/pkg-descr new file mode 100644 index 0000000..1e78063 --- /dev/null +++ b/net/netdude/pkg-descr @@ -0,0 +1,5 @@ +Netdude is the NETwork DUmp data Displayer and Editor for tcpdump tracefiles. +It is a GUI-based tool that allows you to make detailed changes to packets in +tcpdump tracefiles. + +WWW: http://netdude.sourceforge.net/ diff --git a/net/netdude/pkg-plist b/net/netdude/pkg-plist new file mode 100644 index 0000000..4c534ce --- /dev/null +++ b/net/netdude/pkg-plist @@ -0,0 +1,208 @@ +bin/netdude +include/netdude/nd.h +include/netdude/nd_capture.h +include/netdude/nd_clipboard.h +include/netdude/nd_crc_32.h +include/netdude/nd_debug.h +include/netdude/nd_dialog.h +include/netdude/nd_gettext.h +include/netdude/nd_globals.h +include/netdude/nd_gui.h +include/netdude/nd_macros.h +include/netdude/nd_main.h +include/netdude/nd_misc.h +include/netdude/nd_null_protocol.h +include/netdude/nd_packet.h +include/netdude/nd_packet_iterator.h +include/netdude/nd_plugin.h +include/netdude/nd_prefs.h +include/netdude/nd_protocol.h +include/netdude/nd_protocol_inst.h +include/netdude/nd_protocol_plugin.h +include/netdude/nd_protocol_registry.h +include/netdude/nd_raw_protocol.h +include/netdude/nd_recent.h +include/netdude/nd_tcpdump.h +include/netdude/nd_timestamp.h +include/netdude/nd_trace.h +include/netdude/nd_trace_registry.h +include/netdude/nd_types.h +include/netdude/protocols/snap/nd_proto_snap.h +@dirrm include/netdude/protocols/fddi +@dirrm include/netdude/protocols/snap +@dirrm include/netdude/protocols +@dirrm include/netdude +share/gtk-doc/html/netdude/a6190.html +share/gtk-doc/html/netdude/a6191.html +share/gtk-doc/html/netdude/a6219.html +share/gtk-doc/html/netdude/a6226.html +share/gtk-doc/html/netdude/a6247.html +share/gtk-doc/html/netdude/a6248.html +share/gtk-doc/html/netdude/a6249.html +share/gtk-doc/html/netdude/a6255.html +share/gtk-doc/html/netdude/a6283.html +share/gtk-doc/html/netdude/a6286.html +share/gtk-doc/html/netdude/a6306.html +share/gtk-doc/html/netdude/a6350.html +share/gtk-doc/html/netdude/a6371.html +share/gtk-doc/html/netdude/a6388.html +share/gtk-doc/html/netdude/a6477.html +share/gtk-doc/html/netdude/a6478.html +share/gtk-doc/html/netdude/a6493.html +share/gtk-doc/html/netdude/a6517.html +share/gtk-doc/html/netdude/a6518.html +share/gtk-doc/html/netdude/a6541.html +share/gtk-doc/html/netdude/a6563.html +share/gtk-doc/html/netdude/a6627.html +share/gtk-doc/html/netdude/about.html +share/gtk-doc/html/netdude/api.html +share/gtk-doc/html/netdude/b6238.html +share/gtk-doc/html/netdude/b6259.html +share/gtk-doc/html/netdude/b6260.html +share/gtk-doc/html/netdude/b6261.html +share/gtk-doc/html/netdude/b6267.html +share/gtk-doc/html/netdude/b6295.html +share/gtk-doc/html/netdude/b6298.html +share/gtk-doc/html/netdude/b6318.html +share/gtk-doc/html/netdude/b6362.html +share/gtk-doc/html/netdude/b6383.html +share/gtk-doc/html/netdude/b6400.html +share/gtk-doc/html/netdude/b6489.html +share/gtk-doc/html/netdude/b6490.html +share/gtk-doc/html/netdude/b6505.html +share/gtk-doc/html/netdude/b6529.html +share/gtk-doc/html/netdude/b6530.html +share/gtk-doc/html/netdude/b6553.html +share/gtk-doc/html/netdude/b6575.html +share/gtk-doc/html/netdude/b6639.html +share/gtk-doc/html/netdude/c152.html +share/gtk-doc/html/netdude/c153.html +share/gtk-doc/html/netdude/c16.html +share/gtk-doc/html/netdude/c160.html +share/gtk-doc/html/netdude/c161.html +share/gtk-doc/html/netdude/c180.html +share/gtk-doc/html/netdude/c181.html +share/gtk-doc/html/netdude/c189.html +share/gtk-doc/html/netdude/c207.html +share/gtk-doc/html/netdude/c208.html +share/gtk-doc/html/netdude/c70.html +share/gtk-doc/html/netdude/c71.html +share/gtk-doc/html/netdude/images/about_menu.gif +share/gtk-doc/html/netdude/images/ascii_editor.gif +share/gtk-doc/html/netdude/images/capture.gif +share/gtk-doc/html/netdude/images/caution.gif +share/gtk-doc/html/netdude/images/exit.gif +share/gtk-doc/html/netdude/images/hex_editor.gif +share/gtk-doc/html/netdude/images/logo.gif +share/gtk-doc/html/netdude/images/main_window.gif +share/gtk-doc/html/netdude/images/note.gif +share/gtk-doc/html/netdude/images/plugin_menu.gif +share/gtk-doc/html/netdude/images/preferences.gif +share/gtk-doc/html/netdude/images/warning.gif +share/gtk-doc/html/netdude/index.html +share/gtk-doc/html/netdude/index.sgml +share/gtk-doc/html/netdude/netdude-gtkhex.html +share/gtk-doc/html/netdude/netdude-nd-capture.html +share/gtk-doc/html/netdude/netdude-nd-clipboard.html +share/gtk-doc/html/netdude/netdude-nd-crc-32.html +share/gtk-doc/html/netdude/netdude-nd-debug.html +share/gtk-doc/html/netdude/netdude-nd-dialog.html +share/gtk-doc/html/netdude/netdude-nd-gettext.html +share/gtk-doc/html/netdude/netdude-nd-globals.html +share/gtk-doc/html/netdude/netdude-nd-gui.html +share/gtk-doc/html/netdude/netdude-nd-macros.html +share/gtk-doc/html/netdude/netdude-nd-main.html +share/gtk-doc/html/netdude/netdude-nd-misc.html +share/gtk-doc/html/netdude/netdude-nd-null-protocol.html +share/gtk-doc/html/netdude/netdude-nd-packet-iterator.html +share/gtk-doc/html/netdude/netdude-nd-packet.html +share/gtk-doc/html/netdude/netdude-nd-plugin.html +share/gtk-doc/html/netdude/netdude-nd-prefs.html +share/gtk-doc/html/netdude/netdude-nd-protocol-plugin.html +share/gtk-doc/html/netdude/netdude-nd-protocol-registry.html +share/gtk-doc/html/netdude/netdude-nd-protocol.html +share/gtk-doc/html/netdude/netdude-nd-raw-protocol.html +share/gtk-doc/html/netdude/netdude-nd-recent.html +share/gtk-doc/html/netdude/netdude-nd-tcpdump.html +share/gtk-doc/html/netdude/netdude-nd-trace-registry.html +share/gtk-doc/html/netdude/netdude-nd-trace.html +share/gtk-doc/html/netdude/netdude-nd.html +share/gtk-doc/html/netdude/stylesheet.css +share/gtk-doc/html/netdude/x101.html +share/gtk-doc/html/netdude/x102.html +share/gtk-doc/html/netdude/x111.html +share/gtk-doc/html/netdude/x112.html +share/gtk-doc/html/netdude/x125.html +share/gtk-doc/html/netdude/x126.html +share/gtk-doc/html/netdude/x141.html +share/gtk-doc/html/netdude/x142.html +share/gtk-doc/html/netdude/x157.html +share/gtk-doc/html/netdude/x158.html +share/gtk-doc/html/netdude/x169.html +share/gtk-doc/html/netdude/x170.html +share/gtk-doc/html/netdude/x180.html +share/gtk-doc/html/netdude/x181.html +share/gtk-doc/html/netdude/x186.html +share/gtk-doc/html/netdude/x193.html +share/gtk-doc/html/netdude/x214.html +share/gtk-doc/html/netdude/x215.html +share/gtk-doc/html/netdude/x216.html +share/gtk-doc/html/netdude/x222.html +share/gtk-doc/html/netdude/x250.html +share/gtk-doc/html/netdude/x252.html +share/gtk-doc/html/netdude/x253.html +share/gtk-doc/html/netdude/x279.html +share/gtk-doc/html/netdude/x280.html +share/gtk-doc/html/netdude/x65.html +share/gtk-doc/html/netdude/x90.html +share/gtk-doc/html/netdude/x91.html +@dirrm share/gtk-doc/html/netdude/images +@dirrm share/gtk-doc/html/netdude +@unexec rmdir %D/share/gtk-doc/html 2>/dev/null || true +@unexec rmdir %D/share/gtk-doc 2>/dev/null || true +share/locale/de/LC_MESSAGES/netdude.mo +share/netdude/pixmaps/delete.xpm +share/netdude/pixmaps/delete_okay.xpm +share/netdude/pixmaps/exclamation.xpm +share/netdude/pixmaps/incomplete.xpm +share/netdude/pixmaps/netdude-icon.png +share/netdude/pixmaps/netdude_small.xpm +share/netdude/pixmaps/netdude_splash.xpm +share/netdude/pixmaps/question.xpm +share/netdude/plugins/nd_cksumfix.a +share/netdude/plugins/nd_cksumfix.la +share/netdude/plugins/nd_cksumfix.so +share/netdude/plugins/nd_dummyplugin.a +share/netdude/plugins/nd_dummyplugin.la +share/netdude/plugins/nd_dummyplugin.so +share/netdude/protocols/nd_arp.a +share/netdude/protocols/nd_arp.la +share/netdude/protocols/nd_arp.so +share/netdude/protocols/nd_ethernet.a +share/netdude/protocols/nd_ethernet.la +share/netdude/protocols/nd_ethernet.so +share/netdude/protocols/nd_fddi.a +share/netdude/protocols/nd_fddi.la +share/netdude/protocols/nd_fddi.so +share/netdude/protocols/nd_icmp.a +share/netdude/protocols/nd_icmp.la +share/netdude/protocols/nd_icmp.so +share/netdude/protocols/nd_ip.a +share/netdude/protocols/nd_ip.la +share/netdude/protocols/nd_ip.so +share/netdude/protocols/nd_sll.a +share/netdude/protocols/nd_sll.la +share/netdude/protocols/nd_sll.so +share/netdude/protocols/nd_snap.a +share/netdude/protocols/nd_snap.la +share/netdude/protocols/nd_snap.so +share/netdude/protocols/nd_tcp.a +share/netdude/protocols/nd_tcp.la +share/netdude/protocols/nd_tcp.so +share/netdude/protocols/nd_udp.a +share/netdude/protocols/nd_udp.la +share/netdude/protocols/nd_udp.so +@dirrm share/netdude/pixmaps +@dirrm share/netdude/plugins +@dirrm share/netdude/protocols +@dirrm share/netdude |