diff --git a/net/netdude/Makefile b/net/netdude/Makefile new file mode 100644 index 00000000000..272a2b0fa7d --- /dev/null +++ b/net/netdude/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2005/05/27 23:51:07 mjc Exp $ + + SUBDIR += netdude + SUBDIR += plugins + +.include diff --git a/net/netdude/netdude/Makefile b/net/netdude/netdude/Makefile new file mode 100644 index 00000000000..73f49fccace --- /dev/null +++ b/net/netdude/netdude/Makefile @@ -0,0 +1,32 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2005/05/27 23:51:07 mjc Exp $ + +COMMENT= "network traffic visualization and editing tool" + +DISTNAME= netdude-0.4.6 +CATEGORIES= net +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=netdude/} + +HOMEPAGE= http://netdude.sourceforge.net/ + +MAINTAINER= Markus Friedl \ + Michael Coulter + +# BSD +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MODULES= devel/gettext + +LIB_DEPENDS= netdude::net/libnetdude/libnetdude \ + pcapnav::net/libpcapnav \ + glib.1,gmodule.1::devel/glib \ + gdk,gtk::x11/gtk+ + +WANTLIB= Xi X11 m c Xext pcap + +CONFIGURE_STYLE= gnu +CONFIGURE_ARGS+= --disable-gtk-doc --with-html-dir=${PREFIX}/share/doc/netdude + +.include diff --git a/net/netdude/netdude/distinfo b/net/netdude/netdude/distinfo new file mode 100644 index 00000000000..e14bf4c4e3d --- /dev/null +++ b/net/netdude/netdude/distinfo @@ -0,0 +1,4 @@ +MD5 (netdude-0.4.6.tar.gz) = db4f36c484c57f856a73d5019714b7b0 +RMD160 (netdude-0.4.6.tar.gz) = 21b8bd8d5d24de197ca0fc92d3d0cbc4f73efd02 +SHA1 (netdude-0.4.6.tar.gz) = 4020d4280f83aa5b68ea7fdf45257ee7aa57e94f +SIZE (netdude-0.4.6.tar.gz) = 1159507 diff --git a/net/netdude/netdude/patches/patch-pixmaps_Makefile_in b/net/netdude/netdude/patches/patch-pixmaps_Makefile_in new file mode 100644 index 00000000000..f622d22003e --- /dev/null +++ b/net/netdude/netdude/patches/patch-pixmaps_Makefile_in @@ -0,0 +1,12 @@ +$OpenBSD: patch-pixmaps_Makefile_in,v 1.1.1.1 2005/05/27 23:51:07 mjc Exp $ +--- pixmaps/Makefile.in.orig Wed Jul 21 22:12:04 2004 ++++ pixmaps/Makefile.in Wed Jul 21 22:12:17 2004 +@@ -117,7 +117,7 @@ lndtool = @lndtool@ + version_major = @version_major@ + version_minor = @version_minor@ + +-pixmapsdir = $(pkgdatadir)/$(version_major)/pixmaps ++pixmapsdir = $(pkgdatadir)/pixmaps + + pixmaps_DATA = \ + incomplete.xpm \ diff --git a/net/netdude/netdude/patches/patch-plugins_BPF-Filter_Makefile_in b/net/netdude/netdude/patches/patch-plugins_BPF-Filter_Makefile_in new file mode 100644 index 00000000000..3ca7a868b01 --- /dev/null +++ b/net/netdude/netdude/patches/patch-plugins_BPF-Filter_Makefile_in @@ -0,0 +1,12 @@ +$OpenBSD: patch-plugins_BPF-Filter_Makefile_in,v 1.1.1.1 2005/05/27 23:51:07 mjc Exp $ +--- plugins/BPF-Filter/Makefile.in.orig Wed Jul 21 22:11:08 2004 ++++ plugins/BPF-Filter/Makefile.in Wed Jul 21 22:11:20 2004 +@@ -129,7 +129,7 @@ LIBS = + LDFLAGS = -L$(top_srcdir)/src + INCLUDES = @gtk_cflags@ @LIBNETDUDE_CFLAGS@ -I$(top_srcdir) $(intl_includes) -I$(top_srcdir)/libltdl -I$(top_srcdir)/src -W -Wall + +-pkgdir = $(pkgdatadir)/$(version_major)/plugins ++pkgdir = $(pkgdatadir)/plugins + + pkg_LTLIBRARIES = nd_bpf.la + diff --git a/net/netdude/netdude/patches/patch-plugins_ChecksumFix_Makefile_in b/net/netdude/netdude/patches/patch-plugins_ChecksumFix_Makefile_in new file mode 100644 index 00000000000..aea75b83ec0 --- /dev/null +++ b/net/netdude/netdude/patches/patch-plugins_ChecksumFix_Makefile_in @@ -0,0 +1,12 @@ +$OpenBSD: patch-plugins_ChecksumFix_Makefile_in,v 1.1.1.1 2005/05/27 23:51:07 mjc Exp $ +--- plugins/ChecksumFix/Makefile.in.orig Wed Jul 21 22:11:37 2004 ++++ plugins/ChecksumFix/Makefile.in Wed Jul 21 22:11:51 2004 +@@ -129,7 +129,7 @@ LIBS = + LDFLAGS = -L$(top_srcdir)/src + INCLUDES = @gtk_cflags@ @LIBNETDUDE_CFLAGS@ -I$(top_srcdir) $(intl_includes) -I$(top_srcdir)/libltdl -I$(top_srcdir)/src -W -Wall + +-pkgdir = $(pkgdatadir)/$(version_major)/plugins ++pkgdir = $(pkgdatadir)/plugins + + pkg_LTLIBRARIES = nd_cksumfix.la + diff --git a/net/netdude/netdude/patches/patch-protocols_arp_Makefile_in b/net/netdude/netdude/patches/patch-protocols_arp_Makefile_in new file mode 100644 index 00000000000..0a56bf0576b --- /dev/null +++ b/net/netdude/netdude/patches/patch-protocols_arp_Makefile_in @@ -0,0 +1,21 @@ +$OpenBSD: patch-protocols_arp_Makefile_in,v 1.1.1.1 2005/05/27 23:51:07 mjc Exp $ +--- protocols/arp/Makefile.in.orig Wed Jul 21 22:12:37 2004 ++++ protocols/arp/Makefile.in Wed Jul 21 22:13:02 2004 +@@ -64,7 +64,7 @@ host_triplet = @host@ + EXEEXT = @EXEEXT@ + OBJEXT = @OBJEXT@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +-pkgincludedir = $(includedir)/netdude/$(version_major)/protocols/arp ++pkgincludedir = $(includedir)/netdude/protocols/arp + AMTAR = @AMTAR@ + AS = @AS@ + AWK = @AWK@ +@@ -128,7 +128,7 @@ INCLUDES = @gtk_cflags@ @LIBNETDUDE_CFLA + $(intl_includes) -I$(top_srcdir)/libltdl -I$(top_srcdir)/src -W -Wall + + +-pkgdir = $(pkgdatadir)/$(version_major)/protocols ++pkgdir = $(pkgdatadir)/protocols + + pkg_LTLIBRARIES = nd_arp.la + diff --git a/net/netdude/netdude/patches/patch-protocols_ether_Makefile_in b/net/netdude/netdude/patches/patch-protocols_ether_Makefile_in new file mode 100644 index 00000000000..bed9b0b6652 --- /dev/null +++ b/net/netdude/netdude/patches/patch-protocols_ether_Makefile_in @@ -0,0 +1,21 @@ +$OpenBSD: patch-protocols_ether_Makefile_in,v 1.1.1.1 2005/05/27 23:51:07 mjc Exp $ +--- protocols/ether/Makefile.in.orig Wed Jul 21 22:13:13 2004 ++++ protocols/ether/Makefile.in Wed Jul 21 22:13:28 2004 +@@ -64,7 +64,7 @@ host_triplet = @host@ + EXEEXT = @EXEEXT@ + OBJEXT = @OBJEXT@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +-pkgincludedir = $(includedir)/netdude/$(version_major)/protocols/ether ++pkgincludedir = $(includedir)/netdude/protocols/ether + AMTAR = @AMTAR@ + AS = @AS@ + AWK = @AWK@ +@@ -130,7 +130,7 @@ INCLUDES = @gtk_cflags@ @LIBNETDUDE_CFLA + $(intl_includes) -I$(top_srcdir)/libltdl -I$(top_srcdir)/src -W -Wall + + +-pkgdir = $(pkgdatadir)/$(version_major)/protocols ++pkgdir = $(pkgdatadir)/protocols + + pkg_LTLIBRARIES = nd_ethernet.la + diff --git a/net/netdude/netdude/patches/patch-protocols_fddi_Makefile_in b/net/netdude/netdude/patches/patch-protocols_fddi_Makefile_in new file mode 100644 index 00000000000..6f702a8ed0f --- /dev/null +++ b/net/netdude/netdude/patches/patch-protocols_fddi_Makefile_in @@ -0,0 +1,21 @@ +$OpenBSD: patch-protocols_fddi_Makefile_in,v 1.1.1.1 2005/05/27 23:51:07 mjc Exp $ +--- protocols/fddi/Makefile.in.orig Wed Jul 21 22:13:38 2004 ++++ protocols/fddi/Makefile.in Wed Jul 21 22:13:51 2004 +@@ -64,7 +64,7 @@ host_triplet = @host@ + EXEEXT = @EXEEXT@ + OBJEXT = @OBJEXT@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +-pkgincludedir = $(includedir)/netdude/$(version_major)/protocols/fddi ++pkgincludedir = $(includedir)/netdude/protocols/fddi + AMTAR = @AMTAR@ + AS = @AS@ + AWK = @AWK@ +@@ -128,7 +128,7 @@ INCLUDES = @gtk_cflags@ @LIBNETDUDE_CFLA + $(intl_includes) -I$(top_srcdir)/libltdl -I$(top_srcdir)/src -W -Wall + + +-pkgdir = $(pkgdatadir)/$(version_major)/protocols ++pkgdir = $(pkgdatadir)/protocols + + pkg_LTLIBRARIES = nd_fddi.la + diff --git a/net/netdude/netdude/patches/patch-protocols_icmp_Makefile_in b/net/netdude/netdude/patches/patch-protocols_icmp_Makefile_in new file mode 100644 index 00000000000..94c255e9d6a --- /dev/null +++ b/net/netdude/netdude/patches/patch-protocols_icmp_Makefile_in @@ -0,0 +1,21 @@ +$OpenBSD: patch-protocols_icmp_Makefile_in,v 1.1.1.1 2005/05/27 23:51:07 mjc Exp $ +--- protocols/icmp/Makefile.in.orig Wed Jul 21 22:14:00 2004 ++++ protocols/icmp/Makefile.in Wed Jul 21 22:14:21 2004 +@@ -64,7 +64,7 @@ host_triplet = @host@ + EXEEXT = @EXEEXT@ + OBJEXT = @OBJEXT@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +-pkgincludedir = $(includedir)/netdude/$(version_major)/protocols/icmp ++pkgincludedir = $(includedir)/netdude/protocols/icmp + AMTAR = @AMTAR@ + AS = @AS@ + AWK = @AWK@ +@@ -128,7 +128,7 @@ INCLUDES = @gtk_cflags@ @LIBNETDUDE_CFLA + $(intl_includes) -I$(top_srcdir)/libltdl -I$(top_srcdir)/src -W -Wall + + +-pkgdir = $(pkgdatadir)/$(version_major)/protocols ++pkgdir = $(pkgdatadir)/protocols + + pkg_LTLIBRARIES = nd_icmp.la + diff --git a/net/netdude/netdude/patches/patch-protocols_ip_Makefile_in b/net/netdude/netdude/patches/patch-protocols_ip_Makefile_in new file mode 100644 index 00000000000..34c66808b16 --- /dev/null +++ b/net/netdude/netdude/patches/patch-protocols_ip_Makefile_in @@ -0,0 +1,21 @@ +$OpenBSD: patch-protocols_ip_Makefile_in,v 1.1.1.1 2005/05/27 23:51:07 mjc Exp $ +--- protocols/ip/Makefile.in.orig Wed Jul 21 22:14:27 2004 ++++ protocols/ip/Makefile.in Wed Jul 21 22:14:40 2004 +@@ -64,7 +64,7 @@ host_triplet = @host@ + EXEEXT = @EXEEXT@ + OBJEXT = @OBJEXT@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +-pkgincludedir = $(includedir)/netdude/$(version_major)/protocols/ip ++pkgincludedir = $(includedir)/netdude/protocols/ip + AMTAR = @AMTAR@ + AS = @AS@ + AWK = @AWK@ +@@ -130,7 +130,7 @@ INCLUDES = @gtk_cflags@ @LIBNETDUDE_CFLA + $(intl_includes) -I$(top_srcdir)/libltdl -I$(top_srcdir)/src -W -Wall + + +-pkgdir = $(pkgdatadir)/$(version_major)/protocols ++pkgdir = $(pkgdatadir)/protocols + + pkg_LTLIBRARIES = nd_ip.la + diff --git a/net/netdude/netdude/patches/patch-protocols_linux-sll_Makefile_in b/net/netdude/netdude/patches/patch-protocols_linux-sll_Makefile_in new file mode 100644 index 00000000000..32de0ae6933 --- /dev/null +++ b/net/netdude/netdude/patches/patch-protocols_linux-sll_Makefile_in @@ -0,0 +1,21 @@ +$OpenBSD: patch-protocols_linux-sll_Makefile_in,v 1.1.1.1 2005/05/27 23:51:07 mjc Exp $ +--- protocols/linux-sll/Makefile.in.orig Wed Jul 21 22:14:49 2004 ++++ protocols/linux-sll/Makefile.in Wed Jul 21 22:14:59 2004 +@@ -64,7 +64,7 @@ host_triplet = @host@ + EXEEXT = @EXEEXT@ + OBJEXT = @OBJEXT@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +-pkgincludedir = $(includedir)/netdude/$(version_major)/protocols/linux-sll ++pkgincludedir = $(includedir)/netdude/protocols/linux-sll + AMTAR = @AMTAR@ + AS = @AS@ + AWK = @AWK@ +@@ -128,7 +128,7 @@ INCLUDES = @gtk_cflags@ @LIBNETDUDE_CFLA + $(intl_includes) -I$(top_srcdir)/libltdl -I$(top_srcdir)/src -W -Wall + + +-pkgdir = $(pkgdatadir)/$(version_major)/protocols ++pkgdir = $(pkgdatadir)/protocols + + pkg_LTLIBRARIES = nd_sll.la + diff --git a/net/netdude/netdude/patches/patch-protocols_snap_Makefile_in b/net/netdude/netdude/patches/patch-protocols_snap_Makefile_in new file mode 100644 index 00000000000..557bb020f61 --- /dev/null +++ b/net/netdude/netdude/patches/patch-protocols_snap_Makefile_in @@ -0,0 +1,21 @@ +$OpenBSD: patch-protocols_snap_Makefile_in,v 1.1.1.1 2005/05/27 23:51:07 mjc Exp $ +--- protocols/snap/Makefile.in.orig Wed Jul 21 22:15:06 2004 ++++ protocols/snap/Makefile.in Wed Jul 21 22:15:16 2004 +@@ -64,7 +64,7 @@ host_triplet = @host@ + EXEEXT = @EXEEXT@ + OBJEXT = @OBJEXT@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +-pkgincludedir = $(includedir)/netdude/$(version_major)/protocols/snap ++pkgincludedir = $(includedir)/netdude/protocols/snap + AMTAR = @AMTAR@ + AS = @AS@ + AWK = @AWK@ +@@ -128,7 +128,7 @@ INCLUDES = @gtk_cflags@ @LIBNETDUDE_CFLA + $(intl_includes) -I$(top_srcdir)/libltdl -I$(top_srcdir)/src -W -Wall + + +-pkgdir = $(pkgdatadir)/$(version_major)/protocols ++pkgdir = $(pkgdatadir)/protocols + + pkg_LTLIBRARIES = nd_snap.la + diff --git a/net/netdude/netdude/patches/patch-protocols_tcp_Makefile_in b/net/netdude/netdude/patches/patch-protocols_tcp_Makefile_in new file mode 100644 index 00000000000..fcdf3259a75 --- /dev/null +++ b/net/netdude/netdude/patches/patch-protocols_tcp_Makefile_in @@ -0,0 +1,21 @@ +$OpenBSD: patch-protocols_tcp_Makefile_in,v 1.1.1.1 2005/05/27 23:51:07 mjc Exp $ +--- protocols/tcp/Makefile.in.orig Wed Jul 21 22:15:23 2004 ++++ protocols/tcp/Makefile.in Wed Jul 21 22:15:33 2004 +@@ -64,7 +64,7 @@ host_triplet = @host@ + EXEEXT = @EXEEXT@ + OBJEXT = @OBJEXT@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +-pkgincludedir = $(includedir)/netdude/$(version_major)/protocols/tcp ++pkgincludedir = $(includedir)/netdude/protocols/tcp + AMTAR = @AMTAR@ + AS = @AS@ + AWK = @AWK@ +@@ -128,7 +128,7 @@ INCLUDES = @gtk_cflags@ @LIBNETDUDE_CFLA + $(intl_includes) -I$(top_srcdir)/libltdl -I$(top_srcdir)/src -W -Wall + + +-pkgdir = $(pkgdatadir)/$(version_major)/protocols ++pkgdir = $(pkgdatadir)/protocols + + pkg_LTLIBRARIES = nd_tcp.la + diff --git a/net/netdude/netdude/patches/patch-protocols_udp_Makefile_in b/net/netdude/netdude/patches/patch-protocols_udp_Makefile_in new file mode 100644 index 00000000000..4d768f4e02b --- /dev/null +++ b/net/netdude/netdude/patches/patch-protocols_udp_Makefile_in @@ -0,0 +1,21 @@ +$OpenBSD: patch-protocols_udp_Makefile_in,v 1.1.1.1 2005/05/27 23:51:07 mjc Exp $ +--- protocols/udp/Makefile.in.orig Wed Jul 21 22:15:41 2004 ++++ protocols/udp/Makefile.in Wed Jul 21 22:15:52 2004 +@@ -64,7 +64,7 @@ host_triplet = @host@ + EXEEXT = @EXEEXT@ + OBJEXT = @OBJEXT@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +-pkgincludedir = $(includedir)/netdude/$(version_major)/protocols/udp ++pkgincludedir = $(includedir)/netdude/protocols/udp + AMTAR = @AMTAR@ + AS = @AS@ + AWK = @AWK@ +@@ -128,7 +128,7 @@ INCLUDES = @gtk_cflags@ @LIBNETDUDE_CFLA + $(intl_includes) -I$(top_srcdir)/libltdl -I$(top_srcdir)/src -W -Wall + + +-pkgdir = $(pkgdatadir)/$(version_major)/protocols ++pkgdir = $(pkgdatadir)/protocols + + pkg_LTLIBRARIES = nd_udp.la + diff --git a/net/netdude/netdude/patches/patch-src_Makefile_in b/net/netdude/netdude/patches/patch-src_Makefile_in new file mode 100644 index 00000000000..21f8902f334 --- /dev/null +++ b/net/netdude/netdude/patches/patch-src_Makefile_in @@ -0,0 +1,30 @@ +$OpenBSD: patch-src_Makefile_in,v 1.1.1.1 2005/05/27 23:51:07 mjc Exp $ +--- src/Makefile.in.orig Sun Apr 18 15:33:41 2004 ++++ src/Makefile.in Thu Oct 14 16:31:36 2004 +@@ -65,7 +65,7 @@ EXEEXT = @EXEEXT@ + OBJEXT = @OBJEXT@ + PATH_SEPARATOR = @PATH_SEPARATOR@ + +-pkgincludedir = $(includedir)/netdude/$(version_major) ++pkgincludedir = $(includedir)/netdude + AMTAR = @AMTAR@ + AS = @AS@ + AWK = @AWK@ +@@ -475,7 +475,7 @@ info-am: + + install-data-am: install-pkgincludeHEADERS + +-install-exec-am: install-binPROGRAMS install-exec-local ++install-exec-am: install-binPROGRAMS + + install-info: install-info-am + +@@ -517,7 +517,7 @@ install-binPROGRAMS: $(bin_PROGRAMS) + if test -f $$p \ + || test -f $$p1 \ + ; then \ +- f=`echo $$p1|sed '$(transform);s/$$/$(version_major)$(EXEEXT)/'`; \ ++ f=`echo $$p1|sed '$(transform);s/$$//'`; \ + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \ + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \ + else :; fi; \ diff --git a/net/netdude/netdude/patches/patch-src_nd_main_c b/net/netdude/netdude/patches/patch-src_nd_main_c new file mode 100644 index 00000000000..a2d16b0066e --- /dev/null +++ b/net/netdude/netdude/patches/patch-src_nd_main_c @@ -0,0 +1,34 @@ +$OpenBSD: patch-src_nd_main_c,v 1.1.1.1 2005/05/27 23:51:07 mjc Exp $ +--- src/nd_main.c.orig Wed Dec 1 14:27:06 2004 ++++ src/nd_main.c Wed Dec 1 14:29:58 2004 +@@ -154,14 +154,14 @@ main_runtime_options_read(int argc, char + } + else if (!strcmp(argv[i], "--include-dir")) + { +- printf("%s\n", PACKAGE_INCLUDE_DIR"/netdude/"VERSION_MAJOR); ++ printf("%s\n", PACKAGE_INCLUDE_DIR"/netdude/"); + exit(0); + } + else if (!strcmp(argv[i], "--cflags")) + { + printf("%s %s -I%s\n", + LIBNETDUDE_CFLAGS, GTK_CFLAGS, +- PACKAGE_INCLUDE_DIR"/netdude/"VERSION_MAJOR); ++ PACKAGE_INCLUDE_DIR"/netdude/"); + exit(0); + } + else if (!strcmp(argv[i], "--proto-dir")) +@@ -472,7 +472,7 @@ main (int argc, char *argv[]) + gtk_set_locale (); + gtk_init (&argc, &argv); + +- add_pixmap_directory (PACKAGE_DATA_DIR "/" VERSION_MAJOR "/pixmaps"); ++ add_pixmap_directory (PACKAGE_DATA_DIR "/pixmaps"); + add_pixmap_directory (PACKAGE_SOURCE_DIR "/pixmaps"); + + /* +@@ -531,4 +531,3 @@ main (int argc, char *argv[]) + + return 0; + } +- diff --git a/net/netdude/netdude/patches/patch-src_nd_prefs_c b/net/netdude/netdude/patches/patch-src_nd_prefs_c new file mode 100644 index 00000000000..2e1598ee985 --- /dev/null +++ b/net/netdude/netdude/patches/patch-src_nd_prefs_c @@ -0,0 +1,47 @@ +$OpenBSD: patch-src_nd_prefs_c,v 1.1.1.1 2005/05/27 23:51:07 mjc Exp $ +--- src/nd_prefs.c.orig Wed Dec 1 14:30:14 2004 ++++ src/nd_prefs.c Wed Dec 1 14:31:13 2004 +@@ -81,8 +81,8 @@ nd_prefs_get_plugin_dir_global(void) + if (dir[0] != 0) + return dir; + +- g_snprintf(dir, MAXPATHLEN, "%s/%s/plugins", +- PACKAGE_DATA_DIR, VERSION_MAJOR); ++ g_snprintf(dir, MAXPATHLEN, "%s/plugins", ++ PACKAGE_DATA_DIR); + + return dir; + } +@@ -96,8 +96,8 @@ nd_prefs_get_plugin_dir_user(void) + if (dir[0] != 0) + return dir; + +- g_snprintf(dir, MAXPATHLEN, "%s/%s/plugins", +- libnd_prefs_get_netdude_dir(), VERSION_MAJOR); ++ g_snprintf(dir, MAXPATHLEN, "%s/plugins", ++ libnd_prefs_get_netdude_dir()); + + return dir; + } +@@ -111,8 +111,8 @@ nd_prefs_get_proto_dir_global(void) + if (dir[0] != 0) + return dir; + +- g_snprintf(dir, MAXPATHLEN, "%s/%s/protocols", +- PACKAGE_DATA_DIR, VERSION_MAJOR); ++ g_snprintf(dir, MAXPATHLEN, "%s/protocols", ++ PACKAGE_DATA_DIR); + + return dir; + } +@@ -126,8 +126,8 @@ nd_prefs_get_proto_dir_user(void) + if (dir[0] != 0) + return dir; + +- g_snprintf(dir, MAXPATHLEN, "%s/%s/protocols", +- libnd_prefs_get_netdude_dir(), VERSION_MAJOR); ++ g_snprintf(dir, MAXPATHLEN, "%s/protocols", ++ libnd_prefs_get_netdude_dir()); + + return dir; + } diff --git a/net/netdude/netdude/pkg/DESCR b/net/netdude/netdude/pkg/DESCR new file mode 100644 index 00000000000..47e36cc833c --- /dev/null +++ b/net/netdude/netdude/pkg/DESCR @@ -0,0 +1,3 @@ +Netdude is an extendable GUI tool to visually inspect, display, filter +and modify tcpdump trace files of arbitrary size, as produced using +tcpdump's -w option. diff --git a/net/netdude/netdude/pkg/PFRAG.shared b/net/netdude/netdude/pkg/PFRAG.shared new file mode 100644 index 00000000000..e525c74563f --- /dev/null +++ b/net/netdude/netdude/pkg/PFRAG.shared @@ -0,0 +1,12 @@ +@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2005/05/27 23:51:07 mjc Exp $ +share/netdude/plugins/nd_bpf.so +share/netdude/plugins/nd_cksumfix.so +share/netdude/protocols/nd_arp.so +share/netdude/protocols/nd_ethernet.so +share/netdude/protocols/nd_fddi.so +share/netdude/protocols/nd_icmp.so +share/netdude/protocols/nd_ip.so +share/netdude/protocols/nd_sll.so +share/netdude/protocols/nd_snap.so +share/netdude/protocols/nd_tcp.so +share/netdude/protocols/nd_udp.so diff --git a/net/netdude/netdude/pkg/PLIST b/net/netdude/netdude/pkg/PLIST new file mode 100644 index 00000000000..090e3916cf9 --- /dev/null +++ b/net/netdude/netdude/pkg/PLIST @@ -0,0 +1,178 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2005/05/27 23:51:07 mjc Exp $ +%%SHARED%% +bin/netdude +include/netdude/ +include/netdude/nd.h +include/netdude/nd_clipboard.h +include/netdude/nd_debug.h +include/netdude/nd_dialog.h +include/netdude/nd_fam.h +include/netdude/nd_filter_gui.h +include/netdude/nd_gettext.h +include/netdude/nd_globals.h +include/netdude/nd_gui.h +include/netdude/nd_info_dialog.h +include/netdude/nd_macros.h +include/netdude/nd_main.h +include/netdude/nd_packet.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_raw_protocol.h +include/netdude/nd_recent.h +include/netdude/nd_timestamp.h +include/netdude/nd_tp.h +include/netdude/nd_tpm_gui.h +include/netdude/nd_trace.h +include/netdude/nd_trace_area_gui.h +include/netdude/nd_trace_registry.h +include/netdude/nd_types.h +include/netdude/protocols/ +include/netdude/protocols/fddi/ +include/netdude/protocols/snap/ +include/netdude/protocols/snap/nd_snap.h +@man man/man1/netdude.1 +share/doc/netdude/ +share/doc/netdude/netdude/ +share/doc/netdude/netdude/a5220.html +share/doc/netdude/netdude/a5222.html +share/doc/netdude/netdude/a5223.html +share/doc/netdude/netdude/a5225.html +share/doc/netdude/netdude/a5228.html +share/doc/netdude/netdude/a5229.html +share/doc/netdude/netdude/a5230.html +share/doc/netdude/netdude/a5240.html +share/doc/netdude/netdude/a5241.html +share/doc/netdude/netdude/a5242.html +share/doc/netdude/netdude/a5243.html +share/doc/netdude/netdude/a5244.html +share/doc/netdude/netdude/a5246.html +share/doc/netdude/netdude/api.html +share/doc/netdude/netdude/b5232.html +share/doc/netdude/netdude/b5234.html +share/doc/netdude/netdude/b5235.html +share/doc/netdude/netdude/b5237.html +share/doc/netdude/netdude/b5240.html +share/doc/netdude/netdude/b5241.html +share/doc/netdude/netdude/b5242.html +share/doc/netdude/netdude/b5252.html +share/doc/netdude/netdude/b5253.html +share/doc/netdude/netdude/b5254.html +share/doc/netdude/netdude/b5255.html +share/doc/netdude/netdude/b5256.html +share/doc/netdude/netdude/b5258.html +share/doc/netdude/netdude/c101.html +share/doc/netdude/netdude/c102.html +share/doc/netdude/netdude/c20.html +share/doc/netdude/netdude/c261.html +share/doc/netdude/netdude/c267.html +share/doc/netdude/netdude/c270.html +share/doc/netdude/netdude/c289.html +share/doc/netdude/netdude/c293.html +share/doc/netdude/netdude/c295.html +share/doc/netdude/netdude/c296.html +share/doc/netdude/netdude/c298.html +share/doc/netdude/netdude/c301.html +share/doc/netdude/netdude/c302.html +share/doc/netdude/netdude/c313.html +share/doc/netdude/netdude/c314.html +share/doc/netdude/netdude/c317.html +share/doc/netdude/netdude/c448.html +share/doc/netdude/netdude/c61.html +share/doc/netdude/netdude/c67.html +share/doc/netdude/netdude/c69.html +share/doc/netdude/netdude/c70.html +share/doc/netdude/netdude/c89.html +share/doc/netdude/netdude/c93.html +share/doc/netdude/netdude/c95.html +share/doc/netdude/netdude/c96.html +share/doc/netdude/netdude/images/ +share/doc/netdude/netdude/images/about_menu.gif +share/doc/netdude/netdude/images/arch.png +share/doc/netdude/netdude/images/ascii_editor.png +share/doc/netdude/netdude/images/caution.gif +share/doc/netdude/netdude/images/exit.gif +share/doc/netdude/netdude/images/filter_applied.png +share/doc/netdude/netdude/images/filter_apply.gif +share/doc/netdude/netdude/images/filters.gif +share/doc/netdude/netdude/images/hex_editor.png +share/doc/netdude/netdude/images/info.gif +share/doc/netdude/netdude/images/logo.gif +share/doc/netdude/netdude/images/main_window.png +share/doc/netdude/netdude/images/navigation.gif +share/doc/netdude/netdude/images/note.gif +share/doc/netdude/netdude/images/plugin_menu.gif +share/doc/netdude/netdude/images/preferences.gif +share/doc/netdude/netdude/images/trace_areas.png +share/doc/netdude/netdude/images/warning.gif +share/doc/netdude/netdude/index.html +share/doc/netdude/netdude/index.sgml +share/doc/netdude/netdude/netdude-gtkhex.html +share/doc/netdude/netdude/netdude-nd-clipboard.html +share/doc/netdude/netdude/netdude-nd-debug.html +share/doc/netdude/netdude/netdude-nd-dialog.html +share/doc/netdude/netdude/netdude-nd-fam.html +share/doc/netdude/netdude/netdude-nd-filter-gui.html +share/doc/netdude/netdude/netdude-nd-filter-registry.html +share/doc/netdude/netdude/netdude-nd-gettext.html +share/doc/netdude/netdude/netdude-nd-globals.html +share/doc/netdude/netdude/netdude-nd-gui.html +share/doc/netdude/netdude/netdude-nd-info-dialog.html +share/doc/netdude/netdude/netdude-nd-macros.html +share/doc/netdude/netdude/netdude-nd-main.html +share/doc/netdude/netdude/netdude-nd-packet-iterator.html +share/doc/netdude/netdude/netdude-nd-packet.html +share/doc/netdude/netdude/netdude-nd-plugin.html +share/doc/netdude/netdude/netdude-nd-prefs.html +share/doc/netdude/netdude/netdude-nd-protocol-inst.html +share/doc/netdude/netdude/netdude-nd-protocol-plugin.html +share/doc/netdude/netdude/netdude-nd-protocol.html +share/doc/netdude/netdude/netdude-nd-raw-protocol.html +share/doc/netdude/netdude/netdude-nd-recent.html +share/doc/netdude/netdude/netdude-nd-timestamp.html +share/doc/netdude/netdude/netdude-nd-tp.html +share/doc/netdude/netdude/netdude-nd-tpm-gui.html +share/doc/netdude/netdude/netdude-nd-tpm.html +share/doc/netdude/netdude/netdude-nd-trace-area-gui.html +share/doc/netdude/netdude/netdude-nd-trace-registry.html +share/doc/netdude/netdude/netdude-nd-trace.html +share/doc/netdude/netdude/stylesheet.css +share/netdude/ +share/netdude/pixmaps/ +share/netdude/pixmaps/apply_to_all.xpm +share/netdude/pixmaps/apply_to_part.xpm +share/netdude/pixmaps/apply_to_sel.xpm +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/ +share/netdude/plugins/nd_bpf.a +share/netdude/plugins/nd_bpf.la +share/netdude/plugins/nd_cksumfix.a +share/netdude/plugins/nd_cksumfix.la +share/netdude/protocols/ +share/netdude/protocols/nd_arp.a +share/netdude/protocols/nd_arp.la +share/netdude/protocols/nd_ethernet.a +share/netdude/protocols/nd_ethernet.la +share/netdude/protocols/nd_fddi.a +share/netdude/protocols/nd_fddi.la +share/netdude/protocols/nd_icmp.a +share/netdude/protocols/nd_icmp.la +share/netdude/protocols/nd_ip.a +share/netdude/protocols/nd_ip.la +share/netdude/protocols/nd_sll.a +share/netdude/protocols/nd_sll.la +share/netdude/protocols/nd_snap.a +share/netdude/protocols/nd_snap.la +share/netdude/protocols/nd_tcp.a +share/netdude/protocols/nd_tcp.la +share/netdude/protocols/nd_udp.a +share/netdude/protocols/nd_udp.la diff --git a/net/netdude/plugins/Makefile b/net/netdude/plugins/Makefile new file mode 100644 index 00000000000..dbb21d871d3 --- /dev/null +++ b/net/netdude/plugins/Makefile @@ -0,0 +1,5 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2005/05/27 23:51:07 mjc Exp $ + + SUBDIR += traffic-analyzer + +.include diff --git a/net/netdude/plugins/traffic-analyzer/Makefile b/net/netdude/plugins/traffic-analyzer/Makefile new file mode 100644 index 00000000000..aa6fd90ed69 --- /dev/null +++ b/net/netdude/plugins/traffic-analyzer/Makefile @@ -0,0 +1,25 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2005/05/27 23:51:07 mjc Exp $ + +COMMENT= "netdude plugin providing traffic analysis" + +DISTNAME= netdude-traffic-analyzer-plugin-0.3 +CATEGORIES= net +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=netdude/} + +HOMEPAGE= http://netdude.sourceforge.net/ + +MAINTAINER= Markus Friedl \ + Michael Coulter + +BUILD_DEPENDS= ::net/libnetdude/traffic-analyzer \ + ::net/netdude/netdude + +# BSD +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +CONFIGURE_STYLE= gnu + +.include diff --git a/net/netdude/plugins/traffic-analyzer/distinfo b/net/netdude/plugins/traffic-analyzer/distinfo new file mode 100644 index 00000000000..9da266da928 --- /dev/null +++ b/net/netdude/plugins/traffic-analyzer/distinfo @@ -0,0 +1,3 @@ +MD5 (netdude-traffic-analyzer-plugin-0.3.tar.gz) = 8ac8e13e9e556149ab3efc5df4d38bed +RMD160 (netdude-traffic-analyzer-plugin-0.3.tar.gz) = 0e0aa1c717c26b8d515163366669b93a72f168ed +SHA1 (netdude-traffic-analyzer-plugin-0.3.tar.gz) = 5c9a43c6c359f057fd744c26c13bb033eb848de9 diff --git a/net/netdude/plugins/traffic-analyzer/patches/patch-src_callbacks_c b/net/netdude/plugins/traffic-analyzer/patches/patch-src_callbacks_c new file mode 100644 index 00000000000..e5bd7734ec9 --- /dev/null +++ b/net/netdude/plugins/traffic-analyzer/patches/patch-src_callbacks_c @@ -0,0 +1,11 @@ +$OpenBSD: patch-src_callbacks_c,v 1.1.1.1 2005/05/27 23:51:07 mjc Exp $ +--- src/callbacks.c.orig Thu May 26 13:12:46 2005 ++++ src/callbacks.c Thu May 26 13:13:02 2005 +@@ -26,6 +26,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE + # include + #endif + ++#include + #include + #include + #include diff --git a/net/netdude/plugins/traffic-analyzer/patches/patch-src_nd_ta_c b/net/netdude/plugins/traffic-analyzer/patches/patch-src_nd_ta_c new file mode 100644 index 00000000000..973f4a0d9e4 --- /dev/null +++ b/net/netdude/plugins/traffic-analyzer/patches/patch-src_nd_ta_c @@ -0,0 +1,15 @@ +$OpenBSD: patch-src_nd_ta_c,v 1.1.1.1 2005/05/27 23:51:07 mjc Exp $ +--- src/nd_ta.c.orig Thu May 26 13:07:47 2005 ++++ src/nd_ta.c Thu May 26 13:07:59 2005 +@@ -22,10 +22,10 @@ IN AN ACTION OF CONTRACT, TORT OR OTHERW + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + */ ++#include + #include + #include + #include +-#include + #include + #include + diff --git a/net/netdude/plugins/traffic-analyzer/pkg/DESCR b/net/netdude/plugins/traffic-analyzer/pkg/DESCR new file mode 100644 index 00000000000..2a8fff59c49 --- /dev/null +++ b/net/netdude/plugins/traffic-analyzer/pkg/DESCR @@ -0,0 +1,3 @@ +This plugin provides a front-end for libnetdude's traffic analuzer +plugin. The plugin scans traces and collects simple traffic statistics +like IP protocol usage and TCP payload distributions. diff --git a/net/netdude/plugins/traffic-analyzer/pkg/PFRAG.shared b/net/netdude/plugins/traffic-analyzer/pkg/PFRAG.shared new file mode 100644 index 00000000000..11ad4f0e314 --- /dev/null +++ b/net/netdude/plugins/traffic-analyzer/pkg/PFRAG.shared @@ -0,0 +1,2 @@ +@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2005/05/27 23:51:07 mjc Exp $ +share/netdude/plugins/nd_ta.so diff --git a/net/netdude/plugins/traffic-analyzer/pkg/PLIST b/net/netdude/plugins/traffic-analyzer/pkg/PLIST new file mode 100644 index 00000000000..118976ebfab --- /dev/null +++ b/net/netdude/plugins/traffic-analyzer/pkg/PLIST @@ -0,0 +1,6 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2005/05/27 23:51:07 mjc Exp $ +%%SHARED%% +share/netdude/ +share/netdude/plugins/ +share/netdude/plugins/nd_ta.a +share/netdude/plugins/nd_ta.la